@momo-webplatform/mobase 0.2.40 → 0.2.42

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/esm/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import*as vt from"react";import*as ee from"@radix-ui/react-accordion";import{ChevronDownIcon as tn}from"@heroicons/react/20/solid";import*as Ur from"react";import{twMerge as qr}from"tailwind-merge";var we={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 Yo={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 ut=[{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"}],lo=[{Name:"App Store",Image:"https://homepage.momocdn.net/img/momo-upload-api-210724113855-637627235353131497.jpg",Link:"https://itunes.apple.com/vn/app/id918751511?utm_source=website-momo&amp;utm_medium=download&amp;utm_campaign=momo-1dong"},{Name:"Google Play",Image:"https://homepage.momocdn.net/img/momo-upload-api-210724113959-637627235994410679.jpg",Link:"https://play.google.com/store/apps/details?id=com.mservice.momotransfer&utm_source=website-momo&utm_medium=download&utm_campaign=momo-1dong"}];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"}};import{useEffect as Xr,useLayoutEffect as Zr,useState as Kr}from"react";import Yr from"ua-parser-js";function r(...e){return qr(e)}var mo=()=>{if(!(typeof window>"u"))return!!navigator?.userAgent?.includes(process.env.NEXT_PUBLIC_REACT_APP_MOMO_APP_USER_AGENT||"")},Jr=()=>Yr().device.type==="mobile",en=typeof window<"u"?Zr:Xr,Jo=()=>{let[e,t]=Kr(!1);return en(()=>{t(Jr()||mo())},[]),e};import{jsx as it,jsxs as on}from"react/jsx-runtime";var Ve=vt.forwardRef(({className:e,...t},o)=>it(ee.Root,{ref:o,...t}));Ve.displayName="AccordionRoot";var Oe=vt.forwardRef(({className:e,...t},o)=>it(ee.Item,{ref:o,className:r("border-b border-gray-200",e),...t}));Oe.displayName="AccordionItem";var We=vt.forwardRef(({className:e,children:t,...o},a)=>it(ee.Header,{className:"flex",children:on(ee.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,it(tn,{className:" h-5 w-5 shrink-0 transition-transform duration-200 ml-1"})]})}));We.displayName=ee.Trigger.displayName;var Ge=vt.forwardRef(({className:e,children:t,...o},a)=>it(ee.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:it("div",{className:r("pb-4 pt-0 text-gray-900 ",e),children:t})}));Ge.displayName=ee.Content.displayName;import{useState as fn}from"react";import*as ta from"react";import{Slot as nn}from"@radix-ui/react-slot";import{cva as sn}from"class-variance-authority";import{jsx as te,jsxs as rn}from"react/jsx-runtime";var an=({className:e})=>rn("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"none",className:`${e}`,children:[te("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"}),te("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"}),te("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"}),te("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"}),te("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"}),te("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"}),te("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"}),te("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"}),te("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"}),te("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"}),te("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"}),te("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"})]}),ea=an;import{Fragment as mn,jsx as co,jsxs as ln}from"react/jsx-runtime";var pe=sn("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"}}),oe=ta.forwardRef(({className:e,variant:t="primary",size:o="default",asChild:a=!1,isLoading:i=!1,isDisabled:n=!1,...s},m)=>{let p=a?nn:"button",d=r(pe({variant:t,size:o,className:e}),{"cursor-wait":i});return co(mn,{children:a?co(p,{className:d,type:"button",disabled:n,ref:m,...s,children:s.children}):ln(p,{className:d,type:"button",disabled:n,ref:m,...s,children:[i&&co(ea,{className:`${o==="default"||o==="sm"?"w-4 h-4":"w-5 h-5"} animate-spin-loading mr-2`}),s.children]})})});oe.displayName="Button";import*as bt from"react";import*as L from"@radix-ui/react-dialog";import{XMarkIcon as cn}from"@heroicons/react/16/solid";import{jsx as Ne,jsxs as po}from"react/jsx-runtime";var $e=L.Root,go=L.Trigger,oa=L.Portal,pn=L.Close,fo=bt.forwardRef(({className:e,...t},o)=>Ne(L.Overlay,{ref:o,className:r("fixed inset-0 z-50 bg-black/60 !duration-300 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}));fo.displayName=L.Overlay.displayName;var De=bt.forwardRef(({className:e,positionRightCloseBtn:t,hideCloseBtn:o=!1,size:a="md",position:i="center",height:n="auto",isFull:s=!1,children:m,...p},d)=>{let f={base:"fixed z-50 flex bg-white shadow-lg sm:rounded-xl bg-white text-gray-900 w-full max-w-[calc(-64px_+_100vw)] max-h-[calc(-64px_+_100vh)] flex-col",center:"left-[50%] top-[50%] translate-x-[-50%] translate-y-[-50%] duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] rounded-xl",bottom:"!duration-300 bottom-0 sm:bottom-1/2 left-1/2 rounded-t-xl sm:translate-y-1/2 data-[state=closed]:animate-out -translate-x-1/2 data-[state=open]:animate-in data-[state=open]:slide-in-from-left-1/2 ease-in-out data-[state=open]:slide-in-from-bottom-2/3 data-[state=closed]:slide-out-to-bottom-2/3 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 max-w-full max-h-[calc(-32px_+_100vh)] sm:max-h-[calc(-64px_+_100vh)] sm:max-w-[calc(-64px_+_100vw)]",left:"!duration-300 max-h-screen !h-full rounded-r-xl sm:rounded-l-none top-0 data-[state=open]:animate-in data-[state=open]:slide-in-from-left data-[state=closed]:animate-out data-[state=closed]:slide-out-to-left ease-in-out",right:"!duration-300 !h-full rounded-l-xl sm:rounded-r-none max-h-screen top-0 right-0 data-[state=open]:animate-in data-[state=open]:slide-in-from-right data-[state=closed]:animate-out data-[state=closed]:slide-out-to-right ease-in-out"},T={sm:"w-80 sm:w-80",md:"w-[512px] sm:w-[512px]",lg:"w-[672px] sm:w-[672px]",xl:"w-[1024px] sm:-[1024px]"},B={auto:"h-auto sm:h-auto",small:"h-[480px] sm:h-[480px]",large:"h-[640px] sm:h-[640px]",full:"h-full"},G=[f.base,f[i],T[a],B[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 po(oa,{children:[Ne(fo,{}),po(L.Content,{ref:d,className:r(...G),...p,children:[m,!o&&po(L.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:[Ne(cn,{className:"h-5 w-5 text-gray-700"}),Ne("span",{className:"sr-only",children:"Close"})]})]})]})});De.displayName=L.Content.displayName;var aa=({className:e,...t})=>Ne("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});aa.displayName="DialogHeader";var Ht=({className:e,isCondensed:t=!1,...o})=>Ne("div",{className:r("dialog-body p-6 flex-1 overflow-y-auto",t&&"p-5",e),...o});Ht.displayName="DialogBody";var ia=({className:e,isDivider:t=!0,...o})=>Ne("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});ia.displayName="DialogFooter";var ra=bt.forwardRef(({className:e,...t},o)=>Ne(L.Title,{ref:o,className:r("text-base font-semibold line-clamp-1 max-w-full",e),...t}));ra.displayName=L.Title.displayName;var na=bt.forwardRef(({className:e,...t},o)=>Ne(L.Description,{ref:o,className:r("text-sm text-gray-700",e),...t}));na.displayName=L.Description.displayName;import{QRCodeSVG as dn}from"qrcode.react";import{Fragment as uo,jsx as v,jsxs as Q}from"react/jsx-runtime";var gn=({img:e="",children:t,isQrForAll:o})=>Q(uo,{children:[v("div",{className:"qrcode__scan__container",children:Q("div",{className:"qrcode__scan",children:[v("div",{className:"qrcode__gradient",children:v("img",{alt:"step 1",className:"img-fluid",src:"https://homepage.momocdn.net/jk/momo2020/img/qrcode/qrcode-gradient.png"})}),v("div",{className:"qrcode__border",children:v("img",{alt:"step 2",className:"img-fluid",src:"https://homepage.momocdn.net/jk/momo2020/img/qrcode/border-qrcode.svg"})}),v("div",{className:"qrcode__image p-4",children:e?v("img",{alt:"step 3",className:"img-fluid d-block mx-auto",src:e,loading:"lazy"}):t})]})}),v("div",{className:"mt-4 text-sm text-white",children:o?Q(uo,{children:[v("img",{src:"https://homepage.momocdn.net/img/momo-upload-api-231211171009-638379114093056419.png",width:255,height:32,className:"mx-auto",alt:"QR all"}),v("div",{className:"mt-3",children:"Nh\u1EADn ti\u1EC1n t\u1EEB m\u1ECDi V\xED \u0110i\u1EC7n T\u1EED v\xE0 Ng\xE2n H\xE0ng"})]}):Q(uo,{children:[v("svg",{xmlns:"http://www.w3.org/2000/svg",className:"mr-1 inline h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:v("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 4v1m6 11h2m-6 0h-2v4m0-11v3m0 0h.01M12 12h4.01M16 20h4M4 12h4m12 0h.01M5 8h2a1 1 0 001-1V5a1 1 0 00-1-1H5a1 1 0 00-1 1v2a1 1 0 001 1zm12 0h2a1 1 0 001-1V5a1 1 0 00-1-1h-2a1 1 0 00-1 1v2a1 1 0 001 1zM5 20h2a1 1 0 001-1v-2a1 1 0 00-1-1H5a1 1 0 00-1 1v2a1 1 0 001 1z"})}),"S\u1EED d\u1EE5ng App MoMo ho\u1EB7c",v("br",{}),"\u1EE9ng d\u1EE5ng Camera h\u1ED7 tr\u1EE3 QR code \u0111\u1EC3 qu\xE9t m\xE3."]})}),v("style",{children:`
1
+ import*as Ct from"react";import*as te from"@radix-ui/react-accordion";import{ChevronDownIcon as Vn}from"@heroicons/react/20/solid";import*as An from"react";import{twMerge as Ln}from"tailwind-merge";var Ce={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 ha={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 Pt=[{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"}],To=[{Name:"App Store",Image:"https://homepage.momocdn.net/img/momo-upload-api-210724113855-637627235353131497.jpg",Link:"https://itunes.apple.com/vn/app/id918751511?utm_source=website-momo&amp;utm_medium=download&amp;utm_campaign=momo-1dong"},{Name:"Google Play",Image:"https://homepage.momocdn.net/img/momo-upload-api-210724113959-637627235994410679.jpg",Link:"https://play.google.com/store/apps/details?id=com.mservice.momotransfer&utm_source=website-momo&utm_medium=download&utm_campaign=momo-1dong"}];var W={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"}};import{useEffect as En,useLayoutEffect as Fn,useState as _n}from"react";import Hn from"ua-parser-js";function r(...e){return Ln(e)}var ko=()=>{if(!(typeof window>"u"))return!!navigator?.userAgent?.includes(process.env.NEXT_PUBLIC_REACT_APP_MOMO_APP_USER_AGENT||"")},zn=()=>Hn().device.type==="mobile",Bn=typeof window<"u"?Fn:En,ya=()=>{let[e,t]=_n(!1);return Bn(()=>{t(zn()||ko())},[]),e};import{jsx as mt,jsxs as On}from"react/jsx-runtime";var je=Ct.forwardRef(({className:e,...t},o)=>mt(te.Root,{ref:o,...t}));je.displayName="AccordionRoot";var Qe=Ct.forwardRef(({className:e,...t},o)=>mt(te.Item,{ref:o,className:r("border-b border-gray-200",e),...t}));Qe.displayName="AccordionItem";var Ue=Ct.forwardRef(({className:e,children:t,...o},a)=>mt(te.Header,{className:"flex",children:On(te.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,mt(Vn,{className:" h-5 w-5 shrink-0 transition-transform duration-200 ml-1"})]})}));Ue.displayName=te.Trigger.displayName;var Xe=Ct.forwardRef(({className:e,children:t,...o},a)=>mt(te.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:mt("div",{className:r("pb-4 pt-0 text-gray-900 ",e),children:t})}));Xe.displayName=te.Content.displayName;import{useState as Yn}from"react";import*as Na from"react";import{Slot as Wn}from"@radix-ui/react-slot";import{cva as jn}from"class-variance-authority";import{jsx as oe,jsxs as $n}from"react/jsx-runtime";var Gn=({className:e})=>$n("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"none",className:`${e}`,children:[oe("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"}),oe("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"}),oe("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"}),oe("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"}),oe("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"}),oe("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"}),oe("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"}),oe("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"}),oe("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"}),oe("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"}),oe("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"}),oe("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"})]}),wa=Gn;import{Fragment as Un,jsx as So,jsxs as Qn}from"react/jsx-runtime";var ge=jn("inline-flex items-center justify-center whitespace-nowrap rounded-lg text-sm font-bold transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed border border-transparent",{variants:{variant:{primary:"bg-pink-500 text-white hover:bg-pink-600 disabled:bg-pink-300",secondary:"bg-white text-gray-900 hover:bg-gray-100 disabled:text-gray-400 disabled:bg-white border-gray-300",outline:"border-pink-500 text-pink-500 bg-white hover:bg-pink-50 disabled:bg-white disabled:border-pink-300 disabled:text-pink-300",tonal:"bg-pink-100 text-pink-500 hover:bg-pink-200 disabled:bg-gray-200 disabled:text-gray-400",danger:"bg-red-500 text-white hover:bg-red-600 disabled:bg-red-300",transparent:"text-gray-900 bg-transparent hover:bg-gray-100 disabled:text-gray-400 disabled:bg-transparent"},size:{default:"text-sm h-10 px-4",sm:"h-8 px-3 text-sm rounded-md",lg:"h-12 px-4 text-base"}},defaultVariants:{variant:"primary",size:"default"}}),ae=Na.forwardRef(({className:e,variant:t="primary",size:o="default",asChild:a=!1,isLoading:i=!1,isDisabled:n=!1,...s},l)=>{let d=a?Wn:"button",p=r(ge({variant:t,size:o,className:e}),{"cursor-wait":i});return So(Un,{children:a?So(d,{className:p,type:"button",disabled:n,ref:l,...s,children:s.children}):Qn(d,{className:p,type:"button",disabled:n,ref:l,...s,children:[i&&So(wa,{className:`${o==="default"||o==="sm"?"w-4 h-4":"w-5 h-5"} animate-spin-loading mr-2`}),s.children]})})});ae.displayName="Button";import*as Rt from"react";import*as A from"@radix-ui/react-dialog";import{XMarkIcon as Xn}from"@heroicons/react/16/solid";import{jsx as Re,jsxs as Do}from"react/jsx-runtime";var qe=A.Root,Io=A.Trigger,Pa=A.Portal,qn=A.Close,Mo=Rt.forwardRef(({className:e,...t},o)=>Re(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}));Mo.displayName=A.Overlay.displayName;var Ae=Rt.forwardRef(({className:e,positionRightCloseBtn:t,hideCloseBtn:o=!1,size:a="md",position:i="center",height:n="auto",isFull:s=!1,children:l,...d},p)=>{let f={base:"fixed z-50 flex bg-white shadow-lg sm:rounded-xl bg-white text-gray-900 w-full max-w-[calc(-64px_+_100vw)] max-h-[calc(-64px_+_100vh)] flex-col",center:"left-[50%] top-[50%] translate-x-[-50%] translate-y-[-50%] duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] rounded-xl",bottom:"!duration-300 bottom-0 sm:bottom-1/2 left-1/2 rounded-t-xl sm:translate-y-1/2 data-[state=closed]:animate-out -translate-x-1/2 data-[state=open]:animate-in data-[state=open]:slide-in-from-left-1/2 ease-in-out data-[state=open]:slide-in-from-bottom-2/3 data-[state=closed]:slide-out-to-bottom-2/3 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 max-w-full max-h-[calc(-32px_+_100vh)] sm:max-h-[calc(-64px_+_100vh)] sm:max-w-[calc(-64px_+_100vw)]",left:"!duration-300 max-h-screen !h-full rounded-r-xl sm:rounded-l-none top-0 data-[state=open]:animate-in data-[state=open]:slide-in-from-left data-[state=closed]:animate-out data-[state=closed]:slide-out-to-left ease-in-out",right:"!duration-300 !h-full rounded-l-xl sm:rounded-r-none max-h-screen top-0 right-0 data-[state=open]:animate-in data-[state=open]:slide-in-from-right data-[state=closed]:animate-out data-[state=closed]:slide-out-to-right ease-in-out"},v={sm:"w-80 sm:w-80",md:"w-[512px] sm:w-[512px]",lg:"w-[672px] sm:w-[672px]",xl:"w-[1024px] sm:-[1024px]"},N={auto:"h-auto sm:h-auto",small:"h-[480px] sm:h-[480px]",large:"h-[640px] sm:h-[640px]",full:"h-full"},M=[f.base,f[i],v[a],N[n],s&&"h-full max-h-screen max-w-full w-full rounded-none sm:rounded-xl sm:max-h-[calc(-64px_+_100vh)]",e];return Do(Pa,{children:[Re(Mo,{}),Do(A.Content,{ref:p,className:r(...M),...d,children:[l,!o&&Do(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:[Re(Xn,{className:"h-5 w-5 text-gray-700"}),Re("span",{className:"sr-only",children:"Close"})]})]})]})});Ae.displayName=A.Content.displayName;var Ca=({className:e,...t})=>Re("div",{className:r("dialog-header py-2 md:py-4 h-12 md:h-16 px-10 md:px-12 items-center justify-center flex border-b border-gray-200 w-full shrink-0",e),...t});Ca.displayName="DialogHeader";var Ut=({className:e,isCondensed:t=!1,...o})=>Re("div",{className:r("dialog-body p-6 flex-1 overflow-y-auto",t&&"p-5",e),...o});Ut.displayName="DialogBody";var Ra=({className:e,isDivider:t=!0,...o})=>Re("div",{className:r("dialog-footer flex sm:flex-row justify-center [&>*]:basis-1/2 [&>*]:sm:basis-auto sm:justify-end space-x-2 px-6 pb-4 shrink-0",t&&"border-gray-200 border-t py-4",e),...o});Ra.displayName="DialogFooter";var Ta=Rt.forwardRef(({className:e,...t},o)=>Re(A.Title,{ref:o,className:r("text-base font-semibold line-clamp-1 max-w-full",e),...t}));Ta.displayName=A.Title.displayName;var ka=Rt.forwardRef(({className:e,...t},o)=>Re(A.Description,{ref:o,className:r("text-sm text-gray-700",e),...t}));ka.displayName=A.Description.displayName;import{QRCodeSVG as Zn}from"qrcode.react";import{Fragment as Ao,jsx as x,jsxs as j}from"react/jsx-runtime";var Kn=({img:e="",children:t,isQrForAll:o})=>j(Ao,{children:[x("div",{className:"qrcode__scan__container",children:j("div",{className:"qrcode__scan",children:[x("div",{className:"qrcode__gradient",children:x("img",{alt:"step 1",className:"img-fluid",src:"https://homepage.momocdn.net/jk/momo2020/img/qrcode/qrcode-gradient.png"})}),x("div",{className:"qrcode__border",children:x("img",{alt:"step 2",className:"img-fluid",src:"https://homepage.momocdn.net/jk/momo2020/img/qrcode/border-qrcode.svg"})}),x("div",{className:"qrcode__image p-4",children:e?x("img",{alt:"step 3",className:"img-fluid d-block mx-auto",src:e,loading:"lazy"}):t})]})}),x("div",{className:"mt-4 text-sm text-white",children:o?j(Ao,{children:[x("img",{src:"https://homepage.momocdn.net/img/momo-upload-api-231211171009-638379114093056419.png",width:255,height:32,className:"mx-auto",alt:"QR all"}),x("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(Ao,{children:[x("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:x("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",x("br",{}),"\u1EE9ng d\u1EE5ng Camera h\u1ED7 tr\u1EE3 QR code \u0111\u1EC3 qu\xE9t m\xE3."]})}),x("style",{children:`
2
2
  .qrcode__scan__container {
3
3
  padding: 15px;
4
4
  background-color: white;
@@ -67,7 +67,7 @@ import*as vt from"react";import*as ee 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:m=!1,...p})=>v($e,{...p,children:v(De,{className:r("md:max-w-2xl lg:max-w-3xl h-auto md:max-h-screen max-h-screen overflow-hidden [&>button>svg]:text-white border-0",e),size:"xl",positionRightCloseBtn:!0,children:v(Ht,{className:"p-0",children:Q("div",{className:"flex flex-row flex-wrap",children:[v("div",{className:"w-full flex-none md:w-5/12 hidden sm:block",children:t||Q("div",{className:"px-5 text-sm py-8 grid grid-cols-1 gap-y-6",children:[Q("div",{className:"flex flex-nowrap items-center",children:[v("div",{className:"flex-none",children:v("img",{className:"w-20",loading:"lazy",src:"https://homepage.momocdn.net/images/s/momo-upload-api-200917091602-637359309621891617.png",alt:"Step 1"})}),Q("div",{className:"flex-1 pl-4",children:[v("div",{className:"step font-semibold text-gray-800 ",children:"B\u01B0\u1EDBc 1 :"}),v("div",{className:"mt-1 text-gray-500 ",children:m?"M\u1EDF app MoMo ho\u1EB7c \u1EE9ng d\u1EE5ng ng\xE2n h\xE0ng/v\xED \u0111i\u1EC7n t\u1EED ch\u1EA5p nh\u1EADn m\xE3 v\u1EA1ch t\u1EEB QR \u0110a N\u0103ng":"M\u1EDF \u1EE9ng d\u1EE5ng camera m\u1EB7c \u0111\u1ECBnh ho\u1EB7c \u1EE9ng d\u1EE5ng h\u1ED7 tr\u1EE3 QR code c\u1EE7a b\u1EA1n"})]})]}),Q("div",{className:"flex flex-nowrap items-center",children:[v("div",{className:"flex-none",children:v("img",{className:"w-20 ",loading:"lazy",src:"https://homepage.momocdn.net/images/s/momo-upload-api-200917091443-637359308837905996.png",alt:"Step 2"})}),Q("div",{className:"flex-1 pl-4",children:[v("div",{className:"step font-semibold text-gray-800 ",children:"B\u01B0\u1EDBc 2 :"}),v("div",{className:"mt-1 text-gray-500 ",children:"Qu\xE9t m\xE3 QR Code theo h\xECnh b\xEAn ph\u1EA3i"})]})]}),Q("div",{className:"flex flex-nowrap items-center",children:[v("div",{className:"flex-none",children:v("img",{className:"w-20 ",loading:"lazy",src:"https://homepage.momocdn.net/images/s/momo-upload-api-200917090146-637359301062519803.png",alt:"Step 3"})}),Q("div",{className:"flex-1 pl-4",children:[v("div",{className:"step font-semibold text-gray-800 ",children:"B\u01B0\u1EDBc 3 :"}),Q("div",{className:"mt-1 text-gray-500 ",children:["B\u1EA5m v\xE0o th\xF4ng b\xE1o hi\u1EC3n th\u1ECB \u0111\u1EC3 t\u1EA3i \u1EE9ng d\u1EE5ng ho\u1EB7c"," ",a||"Truy c\u1EADp ngay"]})]})]})]})}),v("div",{className:"flex w-full items-center justify-center md:w-7/12 h-auto",style:{background:"url(https://homepage.momocdn.net/jk/momo2020/img/intro/qrcode-pattern.png) 10px 10px no-repeat,linear-gradient(to top,#c1177c,#e11b90)"},children:Q("div",{className:"px-5 py-10 text-center",children:[o&&v("h4",{className:"mb-5 text-base font-semibold text-white",children:o}),Q("div",{className:"relative",children:[m&&v("div",{className:"absolute -top-2 left-1/2 z-[5] -translate-x-1/2",children:v("img",{src:"https://homepage.momocdn.net/fileuploads/svg/momo-file-231211170324.svg",alt:"Title QR all"})}),v(gn,{img:i,isQrForAll:m,children:n&&v(dn,{value:n,size:215,imageSettings:{src:`${s||"https://homepage.momocdn.net/pwa/images/logoMomox50.png"}`,height:50,width:50,excavate:!0},level:"H"})})]})]})})]})})})});import{Fragment as un,jsx as Ft,jsxs as vn}from"react/jsx-runtime";var vo=({action:e,newTab:t,offset:o,dialogQrProps:a,className:i,children:n,...s})=>{let[m,p]=fn(!1),d=Jo(),f=mo()||typeof window<"u"&&window.location.search.includes("view=app"),T=!!a?.qrLink,B=()=>{let P=T?a?.qrLink:e;return typeof P=="string"?P.trim():""},G=()=>{let P=B();!P&&typeof e!="function"||(typeof e=="function"?e():window.open(P,t?"_blank":"_self"))},N=(P,A=0)=>{let ze=document.querySelector(P);if(!ze)return;let Be=ze.getBoundingClientRect().top+window.scrollY-A;window.scrollTo({top:Be,behavior:"smooth"})},w=()=>{typeof e=="string"&&e.startsWith("#")?N(e,o):G()},V=()=>vn(un,{children:[Ft(oe,{...s,className:i,onClick:()=>p(!0),"data-name":"button-action-with-qr",children:n}),Ft(je,{...a,open:m,onOpenChange:()=>p(!1),qrLink:a?.qrLink||""})]});return T?d||f?a?.isQrForAll?V():Ft(oe,{...s,className:i,onClick:G,"data-name":"button-action-with-qr",children:n}):V():Ft(oe,{...s,onClick:w,className:r("cursor-pointer",i),"data-name":"button-action-without-qr",rel:"noreferrer",children:n})};import*as rt from"react";import{ChevronRightIcon as bn,DotsHorizontalIcon as hn}from"@radix-ui/react-icons";import{Slot as xn}from"@radix-ui/react-slot";import{jsx as Pe,jsxs as yn}from"react/jsx-runtime";var sa=rt.forwardRef(({className:e,...t},o)=>Pe("nav",{ref:o,"aria-label":"breadcrumb",className:r("",e),...t}));sa.displayName="Breadcrumb";var la=rt.forwardRef(({className:e,...t},o)=>Pe("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}));la.displayName="BreadcrumbList";var ma=rt.forwardRef(({className:e,...t},o)=>Pe("li",{ref:o,className:r("shrink-0 text-gray-900 hover:text-pink-500",e),...t}));ma.displayName="BreadcrumbItem";var ca=rt.forwardRef(({asChild:e,className:t,...o},a)=>Pe(e?xn:"a",{ref:a,className:r("transition-colors hover:text-foreground",t),...o}));ca.displayName="BreadcrumbLink";var pa=rt.forwardRef(({className:e,...t},o)=>Pe("span",{ref:o,role:"link","aria-disabled":"true","aria-current":"page",className:r("text-sm text-gray-500",e),...t}));pa.displayName="BreadcrumbPage";var da=({children:e,className:t,...o})=>Pe("li",{role:"presentation","aria-hidden":"true",className:r("text-gray-900",t),...o,children:e??Pe(bn,{className:"w-2 h-2"})});da.displayName="BreadcrumbSeparator";var ga=({className:e,...t})=>yn("span",{role:"presentation","aria-hidden":"true",className:r("flex h-5 w-5 items-center justify-center",e),...t,children:[Pe(hn,{className:"w-4 h-4 text-gray-900"}),Pe("span",{className:"sr-only",children:"More"})]});ga.displayName="BreadcrumbElipssis";import*as Bt from"react";import{enUS as Cn,vi as Rn}from"date-fns/locale";import{DayPicker as Tn}from"react-day-picker";import{ChevronLeft as kn,ChevronRight as Sn}from"lucide-react";import Dn from"lunisolar";import*as fa from"react";import*as ht from"@radix-ui/react-checkbox";import{CheckIcon as wn}from"@heroicons/react/16/solid";import{cva as ua}from"class-variance-authority";import{jsx as bo}from"react/jsx-runtime";var Nn=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"}}),Pn=ua("",{variants:{size:{medium:"h-4 w-4",large:"w-5 h-5"}},defaultVariants:{size:"medium"}}),zt=fa.forwardRef(({className:e,size:t,...o},a)=>bo(ht.Root,{ref:a,className:r(Nn({size:t}),e),...o,children:bo(ht.Indicator,{className:r("flex items-center justify-center text-current"),children:bo(wn,{className:r(Pn({size:t}))})})}));zt.displayName=ht.Root.displayName;import{Fragment as En,jsx as de,jsxs as ho}from"react/jsx-runtime";var An=({date:e,cusContent:t})=>{let o=null;return o=Dn(e).lunar,ho(En,{children:[t?t(e):e.getDate(),o&&de("span",{className:"text-[8px] absolute top-1 right-0.5 leading-none text-gray-700 group-aria-selected:text-white group-aria-selected/mid:!text-gray-700 luna-date hidden group-[.show-luna]:block ",children:o.day})]})},Mn={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 In({isShow:e,setIsShow:t,lang:o}){let a=Bt.useId();return de("div",{className:"w-full p-3 pt-0",children:ho("div",{className:"flex items-center space-x-2 border-t border-gray-100 pt-3 cursor-pointer",children:[de(zt,{checked:e,id:`check-show-luna-${a}`,onCheckedChange:i=>{typeof i=="boolean"&&t(i)}}),de("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 Ln=e=>e.getDay()===0||e.getDay()===6;function Vt({className:e,classNames:t,showOutsideDays:o=!1,enableLunaDate:a=!1,lang:i="vi",cusContentDay:n,...s}){let[m,p]=Bt.useState(!0);return de(Tn,{locale:i==="vi"?Rn:Cn,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(pe({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",day:r(pe({variant:"transparent"}),"h-11 w-11 text-center text-sm p-0 aria-selected:opacity-100 aria-selected:bg-pink-500 aria-selected:text-white [&.day-range-end.day-range-start]:rounded-md focus-within:relative focus-within:z-20 font-semibold relative group",a&&m&&"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:"!text-gray-900 !bg-pink-50 !rounded-none group/mid",day_hidden:"invisible",...t},modifiers:{weekend:Ln},modifiersClassNames:{weekend:"text-red-600"},components:{IconLeft:()=>de(kn,{className:"h-6 w-6"}),IconRight:()=>de(Sn,{className:"h-6 w-6"}),DayContent:d=>de(An,{date:d.date,cusContent:n}),Months:({children:d})=>ho("div",{className:"w-full",children:[de("div",{className:r("flex flex-col sm:flex-row months-wrapper"),children:d}),a&&de(In,{isShow:m,setIsShow:p,lang:i})]})},formatters:i==="vi"?Mn:{},...s})}Vt.displayName="Calendar";import*as E from"react";import zn from"embla-carousel-react";import{ChevronLeftIcon as Bn,ChevronRightIcon as Vn}from"@heroicons/react/16/solid";import*as va from"react";import{Slot as _n}from"@radix-ui/react-slot";import{cva as Hn}from"class-variance-authority";import{jsx as Fn}from"react/jsx-runtime";var Qe=Hn("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"}}),se=va.forwardRef(({className:e,variant:t="primary",size:o="default",asChild:a=!1,isDisabled:i=!1,...n},s)=>{let m=a?_n:"button",p=r(Qe({variant:t,size:o,className:e}));return Fn(m,{className:p,disabled:i,ref:s,...n,children:n.children})});se.displayName="IconButton";import{jsx as Ce,jsxs as Pa}from"react/jsx-runtime";var ba=E.createContext(null);function Ot(){let e=E.useContext(ba);if(!e)throw new Error("useCarousel must be used within a <Carousel />");return e}var ha=E.forwardRef(({orientation:e="horizontal",opts:t,setApi:o,plugins:a,className:i,children:n,...s},m)=>{let[p,d]=zn({...t,axis:e==="horizontal"?"x":"y"},a),[f,T]=E.useState(!1),[B,G]=E.useState(!1),N=E.useCallback(P=>{P&&(T(P.canScrollPrev()),G(P.canScrollNext()))},[]),w=E.useCallback(()=>{d?.scrollPrev()},[d]),V=E.useCallback(()=>{d?.scrollNext()},[d]),$=E.useCallback(P=>{P.key==="ArrowLeft"?(P.preventDefault(),w()):P.key==="ArrowRight"&&(P.preventDefault(),V())},[w,V]);return E.useEffect(()=>{!d||!o||o(d)},[d,o]),E.useEffect(()=>{if(d)return N(d),d.on("reInit",N),d.on("select",N),()=>{d?.off("select",N)}},[d,N]),Ce(ba.Provider,{value:{carouselRef:p,api:d,opts:t,orientation:e||(t?.axis==="y"?"vertical":"horizontal"),scrollPrev:w,scrollNext:V,canScrollPrev:f,canScrollNext:B},children:Ce("div",{ref:m,onKeyDownCapture:$,className:r("relative",i),role:"region","aria-roledescription":"carousel",...s,children:n})})});ha.displayName="Carousel";var xa=E.forwardRef(({className:e,...t},o)=>{let{carouselRef:a,orientation:i}=Ot();return Ce("div",{ref:a,className:"overflow-hidden",children:Ce("div",{ref:o,className:r("flex",i==="horizontal"?"-ml-4":"-mt-4 flex-col",e),...t})})});xa.displayName="CarouselContent";var ya=E.forwardRef(({className:e,...t},o)=>{let{orientation:a}=Ot();return Ce("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})});ya.displayName="CarouselItem";var wa=E.forwardRef(({className:e,variant:t="secondary",size:o="default",...a},i)=>{let{orientation:n,scrollPrev:s,canScrollPrev:m}=Ot();return Pa(se,{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:!m,onClick:s,...a,children:[Ce(Bn,{className:"h-4 w-4"}),Ce("span",{className:"sr-only",children:"Previous slide"})]})});wa.displayName="CarouselPrevious";var Na=E.forwardRef(({className:e,variant:t="secondary",size:o="default",...a},i)=>{let{orientation:n,scrollNext:s,canScrollNext:m}=Ot();return Pa(se,{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:!m,onClick:s,...a,children:[Ce(Vn,{className:"h-4 w-4"}),Ce("span",{className:"sr-only",children:"Next slide"})]})});Na.displayName="CarouselNext";import*as Ra from"react";import*as Re from"@radix-ui/react-popover";import{jsx as Ca}from"react/jsx-runtime";var xt=Re.Root,yt=Re.Trigger,nt=Ra.forwardRef(({className:e,align:t="center",sideOffset:o=4,...a},i)=>Ca(Re.Portal,{children:Ca(Re.Content,{ref:i,align:t,sideOffset:o,className:r("z-50 w-72 rounded-md border border-gray-200 bg-white p-4 sm:p-5 text-gray-900 shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...a})}));nt.displayName=Re.Content.displayName;import{format as Wt}from"date-fns";import{Calendar as On}from"lucide-react";import{QuestionMarkCircleIcon as Wn,XCircleIcon as Gn}from"@heroicons/react/16/solid";import{Fragment as Ta,jsx as ge,jsxs as wt}from"react/jsx-runtime";var $n=({label:e,placeholder:t="Select a value",size:o=1,message:a,isError:i,disabled:n,dateFormat:s="dd/MM/yyyy",buttonProps:m,popoverProps:p,calendarProps:d})=>{let f=d?.selected||null;return wt("div",{children:[wt(xt,{...p,children:[ge(yt,{asChild:!0,children:wt(oe,{variant:"secondary",className:r("w-full justify-between text-left text-sm font-normal h-11 text-gray-900 overflow-visible hover:ring-1 focus:ring-1 hover:ring-gray-400 focus:ring-gray-400 [&[data-state=open]]:border-pink-500 [&[data-state=open]]:ring-pink-500 [&[data-state=open]]:ring-1 relative disabled:bg-gray-50 disabled:border-gray-200 disabled:pointer-events-none disabled:text-gray-500",o===2&&"h-12 text-base",(!f||!(f instanceof Date)&&typeof f=="object"&&(!("from"in f)||!f.from))&&"text-gray-500",i&&"border-red-500 ring-red-500 ring-1"),disabled:n,...m,children:[ge("span",{className:"line-clamp-1 flex-1",children:f instanceof Date?Wt(f,s):f&&typeof f=="object"&&"from"in f&&"to"in f?ge(Ta,{children:f.from?f.to?wt(Ta,{children:[Wt(f.from,s)," -"," ",Wt(f.to,s)]}):Wt(f.from,s):t}):t}),e&&ge("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}),ge(On,{className:"ml-2 h-4 w-4 text-gray-500 flex-none"})]})}),ge(nt,{className:"w-auto !p-0 border-none",children:ge(Vt,{...d})})]}),a&&wt("div",{className:"mobase-text-input-message flex space-x-1 items-center mt-0.5",children:[i?ge(Gn,{width:16,height:16,className:"text-red-500"}):ge(Wn,{width:16,height:16,className:"text-gray-500"}),ge("span",{className:r(i?"text-red-500":"text-gray-500",o===2?"text-sm":"text-xs"),children:a})]})]})};import*as Ue from"react";import*as C from"@radix-ui/react-alert-dialog";import{jsx as Te,jsxs as Un}from"react/jsx-runtime";var jn=C.Root,Qn=C.Trigger,ka=C.Portal,xo=Ue.forwardRef(({className:e,...t},o)=>Te(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}));xo.displayName=C.Overlay.displayName;var Sa=Ue.forwardRef(({className:e,...t},o)=>Un(ka,{children:[Te(xo,{}),Te(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})]}));Sa.displayName=C.Content.displayName;var Da=({className:e,...t})=>Te("div",{className:r("flex flex-col space-y-2 text-left",e),...t});Da.displayName="AlertDialogHeader";var Aa=({className:e,...t})=>Te("div",{className:r("flex flex-row justify-end space-x-4",e),...t});Aa.displayName="AlertDialogFooter";var Ma=Ue.forwardRef(({className:e,...t},o)=>Te(C.Title,{ref:o,className:r("text-lg text-gray-900 font-semibold",e),...t}));Ma.displayName=C.Title.displayName;var Ia=Ue.forwardRef(({className:e,...t},o)=>Te(C.Description,{ref:o,className:r("text-sm text-muted-foreground",e),...t}));Ia.displayName=C.Description.displayName;var La=Ue.forwardRef(({className:e,...t},o)=>Te(C.Action,{ref:o,className:r(pe({variant:"primary"}),"",e),...t}));La.displayName=C.Action.displayName;var Ea=Ue.forwardRef(({className:e,...t},o)=>Te(C.Cancel,{ref:o,className:r(pe({variant:"secondary"}),e),...t}));Ea.displayName=C.Cancel.displayName;import{createContext as qn,useContext as _a}from"react";import{jsx as Nt}from"react/jsx-runtime";var yo=qn({align:"center"}),wo=({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 Nt("div",{className:r("mb-1 font-semibold",n[e],s[t],o&&"truncate",a),children:i})},No=({tagHeading:e="h2",size:t="small",color:o="pink",isTruncated:a=!1,className:i,children:n})=>{let s=e,m={regular:"text-gray-900",pink:"text-pink-500",white:"text-white"},p={small:"lg:text-3xl text-2xl",large:"lg:text-4xl md:text-3xl text-2xl"},{align:d}=_a(yo);return Nt(s,{className:r("font-bold max-w-4xl",d==="center"?"mx-auto":d==="right"?"ml-auto":"",m[o],p[t],a&&"truncate",i),children:n})},Po=({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"},m={small:"md:text-base text-sm",large:"md:text-lg text-base"},p={none:"",spacingX:"mt-2",spacingM:"mt-3",spacingL:"mt-4",spacingXl:"mt-5",spacing2Xl:"mt-6"},{align:d}=_a(yo);return Nt("div",{className:r(d==="center"?"mx-auto max-w-3xl":d==="right"?"max-w-4xl ml-auto":"max-w-4xl",s[e],m[t],p[o],a&&"truncate",i),children:n})},Co=({className:e,align:t="center",children:o})=>Nt("div",{className:r("mb-5 md:mb-8",{left:"text-left",center:"text-center",right:"text-right"}[t],e),children:Nt(yo.Provider,{value:{align:t},children:o})});import{ChevronLeft as Xn,ChevronRight as Zn}from"lucide-react";import{Fragment as Kn,jsx as ae,jsxs as Ha}from"react/jsx-runtime";function Fa({current:e,total:t,onChange:o}){let a=i=>ae("li",{children:ae("button",{className:r(Qe({variant:e===i?"outline":"secondary",size:"sm"})),onClick:()=>o(i),children:i})},i);return ae("nav",{role:"navigation","aria-label":"pagination",className:r("mx-auto flex w-full justify-center"),children:Ha("ul",{className:r("flex flex-row flex-wrap items-center gap-2"),children:[t>1&&ae("li",{children:ae("button",{className:r(Qe({variant:"secondary",size:"sm"})),disabled:e===1,onClick:()=>e>1&&o(e-1),children:ae(Xn,{className:"h-4 w-4"})})}),t<=6?Array(t).fill(0).map((i,n)=>a(n+1)):Ha(Kn,{children:[a(1),e===1&&[a(2),a(3)],e>3&&ae("li",{children:ae("button",{className:r(Qe({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&&ae("button",{className:r(Qe({variant:"secondary",size:"sm"})),disabled:e===1,onClick:()=>o(e+3),children:"..."}),a(t)]}),t>1&&ae("li",{children:ae("button",{className:r(Qe({variant:"secondary",size:"sm"})),disabled:e===t,onClick:()=>e<t&&o(e+1),children:ae(Zn,{className:"h-4 w-4"})})})]})})}import*as Gt from"react";import*as le from"@radix-ui/react-tabs";import{jsx as To}from"react/jsx-runtime";var Ro=le.Root,$t=Gt.forwardRef(({className:e,size:t="sm",isDivider:o=!1,...a},i)=>To(le.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}));$t.displayName=le.List.displayName;var jt=Gt.forwardRef(({className:e,...t},o)=>To(le.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}));jt.displayName=le.Trigger.displayName;var Qt=Gt.forwardRef(({className:e,...t},o)=>To(le.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}));Qt.displayName=le.Content.displayName;import{forwardRef as Yn}from"react";import{QuestionMarkCircleIcon as Jn}from"@heroicons/react/24/outline";import{XCircleIcon as es}from"@heroicons/react/24/solid";import{jsx as st,jsxs as za}from"react/jsx-runtime";var ts=Yn(({disabled:e,isError:t,message:o,label:a,className:i,inputClassName:n,size:s,rows:m=3,...p},d)=>za("div",{className:r("relative",i,t&&"mobase-text-area-error"),children:[a&&st("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}),st("textarea",{disabled:e,ref:d,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:m,...p}),o&&za("div",{className:"mobase-text-area-message flex space-x-1 items-center mt-0.5",children:[t?st(es,{width:16,height:16,className:"text-red-500"}):st(Jn,{width:16,height:16,className:"text-gray-500"}),st("span",{className:r("text-gray-500 ",s===2?"text-sm":"text-xs"),children:o})]}),st("style",{children:`
70
+ `})]}),Ze=({className:e,children:t,title:o,shortTitle:a,qrImage:i,qrLink:n,logoQr:s,isQrForAll:l=!1,...d})=>x(qe,{...d,children:x(Ae,{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:x(Ut,{className:"p-0",children:j("div",{className:"flex flex-row flex-wrap",children:[x("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:[x("div",{className:"flex-none",children:x("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:[x("div",{className:"step font-semibold text-gray-800 ",children:"B\u01B0\u1EDBc 1 :"}),x("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:[x("div",{className:"flex-none",children:x("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:[x("div",{className:"step font-semibold text-gray-800 ",children:"B\u01B0\u1EDBc 2 :"}),x("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:[x("div",{className:"flex-none",children:x("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:[x("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"]})]})]})]})}),x("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&&x("h4",{className:"mb-5 text-base font-semibold text-white",children:o}),j("div",{className:"relative",children:[l&&x("div",{className:"absolute -top-2 left-1/2 z-[5] -translate-x-1/2",children:x("img",{src:"https://homepage.momocdn.net/fileuploads/svg/momo-file-231211170324.svg",alt:"Title QR all"})}),x(Kn,{img:i,isQrForAll:l,children:n&&x(Zn,{value:n,size:215,imageSettings:{src:`${s||"https://homepage.momocdn.net/pwa/images/logoMomox50.png"}`,height:50,width:50,excavate:!0},level:"H"})})]})]})})]})})})});import{Fragment as Jn,jsx as Xt,jsxs as es}from"react/jsx-runtime";var Tt=({action:e,newTab:t,offset:o,dialogQrProps:a,className:i,children:n,...s})=>{let[l,d]=Yn(!1),p=ya(),f=ko()||typeof window<"u"&&window.location.search.includes("view=app"),v=!!a?.qrLink,N=()=>{let C=v?a?.qrLink:e;return typeof C=="string"?C.trim():""},M=()=>{let C=N();!C&&typeof e!="function"||(typeof e=="function"?e():window.open(C,t?"_blank":"_self"))},H=(C,S=0)=>{let $e=document.querySelector(C);if(!$e)return;let We=$e.getBoundingClientRect().top+window.scrollY-S;window.scrollTo({top:We,behavior:"smooth"})},z=()=>{typeof e=="string"&&e.startsWith("#")?H(e,o):M()},$=()=>es(Jn,{children:[Xt(ae,{...s,className:i,onClick:()=>d(!0),"data-name":"button-action-with-qr",children:n}),Xt(Ze,{...a,open:l,onOpenChange:()=>d(!1),qrLink:a?.qrLink||""})]});return v?p||f?a?.isQrForAll?$():Xt(ae,{...s,className:i,onClick:M,"data-name":"button-action-with-qr",children:n}):$():Xt(ae,{...s,onClick:z,className:r("cursor-pointer",i),"data-name":"button-action-without-qr",rel:"noreferrer",children:n})};import*as ct from"react";import{ChevronRightIcon as ts,DotsHorizontalIcon as os}from"@radix-ui/react-icons";import{Slot as as}from"@radix-ui/react-slot";import{jsx as Te,jsxs as is}from"react/jsx-runtime";var Sa=ct.forwardRef(({className:e,...t},o)=>Te("nav",{ref:o,"aria-label":"breadcrumb",className:r("",e),...t}));Sa.displayName="Breadcrumb";var Da=ct.forwardRef(({className:e,...t},o)=>Te("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}));Da.displayName="BreadcrumbList";var Ia=ct.forwardRef(({className:e,...t},o)=>Te("li",{ref:o,className:r("shrink-0 text-gray-900 hover:text-pink-500",e),...t}));Ia.displayName="BreadcrumbItem";var Ma=ct.forwardRef(({asChild:e,className:t,...o},a)=>Te(e?as:"a",{ref:a,className:r("transition-colors hover:text-foreground",t),...o}));Ma.displayName="BreadcrumbLink";var Aa=ct.forwardRef(({className:e,...t},o)=>Te("span",{ref:o,role:"link","aria-disabled":"true","aria-current":"page",className:r("text-sm text-gray-500",e),...t}));Aa.displayName="BreadcrumbPage";var La=({children:e,className:t,...o})=>Te("li",{role:"presentation","aria-hidden":"true",className:r("text-gray-900",t),...o,children:e??Te(ts,{className:"w-2 h-2"})});La.displayName="BreadcrumbSeparator";var Ea=({className:e,...t})=>is("span",{role:"presentation","aria-hidden":"true",className:r("flex h-5 w-5 items-center justify-center",e),...t,children:[Te(os,{className:"w-4 h-4 text-gray-900"}),Te("span",{className:"sr-only",children:"More"})]});Ea.displayName="BreadcrumbElipssis";import*as Zt from"react";import{enUS as ls,vi as ms}from"date-fns/locale";import{DayPicker as cs}from"react-day-picker";import{ChevronLeft as ds,ChevronRight as ps}from"lucide-react";import fs from"lunisolar";import*as Fa from"react";import*as kt from"@radix-ui/react-checkbox";import{CheckIcon as rs}from"@heroicons/react/16/solid";import{cva as _a}from"class-variance-authority";import{jsx as Lo}from"react/jsx-runtime";var ns=_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"}}),ss=_a("",{variants:{size:{medium:"h-4 w-4",large:"w-5 h-5"}},defaultVariants:{size:"medium"}}),qt=Fa.forwardRef(({className:e,size:t,...o},a)=>Lo(kt.Root,{ref:a,className:r(ns({size:t}),e),...o,children:Lo(kt.Indicator,{className:r("flex items-center justify-center text-current"),children:Lo(rs,{className:r(ss({size:t}))})})}));qt.displayName=kt.Root.displayName;import{Fragment as bs,jsx as ue,jsxs as Eo}from"react/jsx-runtime";var gs=({date:e,cusContent:t})=>{let o=null;return o=fs(e).lunar,Eo(bs,{children:[t?t(e):e.getDate(),o&&ue("span",{className:"text-[8px] absolute top-1 right-0.5 leading-none text-gray-700 group-aria-selected:text-white group-aria-selected/mid:!text-gray-700 luna-date hidden group-[.show-luna]:block ",children:o.day})]})},us={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 vs({isShow:e,setIsShow:t,lang:o}){let a=Zt.useId();return ue("div",{className:"w-full p-3 pt-0",children:Eo("div",{className:"flex items-center space-x-2 border-t border-gray-100 pt-3 cursor-pointer",children:[ue(qt,{checked:e,id:`check-show-luna-${a}`,onCheckedChange:i=>{typeof i=="boolean"&&t(i)}}),ue("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 xs=e=>e.getDay()===0||e.getDay()===6;function Kt({className:e,classNames:t,showOutsideDays:o=!1,enableLunaDate:a=!1,lang:i="vi",cusContentDay:n,...s}){let[l,d]=Zt.useState(!0);return ue(cs,{locale:i==="vi"?ms:ls,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(ge({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",day:r(ge({variant:"transparent"}),"h-11 w-11 text-center text-sm p-0 aria-selected:opacity-100 aria-selected:bg-pink-500 aria-selected: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:"!text-gray-900 !bg-pink-50 !rounded-none group/mid",day_hidden:"invisible",...t},modifiers:{weekend:xs},modifiersClassNames:{weekend:"text-red-600"},components:{IconLeft:()=>ue(ds,{className:"h-6 w-6"}),IconRight:()=>ue(ps,{className:"h-6 w-6"}),DayContent:p=>ue(gs,{date:p.date,cusContent:n}),Months:({children:p})=>Eo("div",{className:"w-full",children:[ue("div",{className:r("flex flex-col sm:flex-row months-wrapper"),children:p}),a&&ue(vs,{isShow:l,setIsShow:d,lang:i})]})},formatters:i==="vi"?us:{},...s})}Kt.displayName="Calendar";import*as L from"react";import Ns from"embla-carousel-react";import{ChevronLeftIcon as Ps,ChevronRightIcon as Cs}from"@heroicons/react/16/solid";import*as Ha from"react";import{Slot as hs}from"@radix-ui/react-slot";import{cva as ys}from"class-variance-authority";import{jsx as ws}from"react/jsx-runtime";var Ke=ys("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"}}),Le=Ha.forwardRef(({className:e,variant:t="primary",size:o="default",asChild:a=!1,isDisabled:i=!1,...n},s)=>{let l=a?hs:"button",d=r(Ke({variant:t,size:o,className:e}));return ws(l,{className:d,disabled:i,ref:s,...n,children:n.children})});Le.displayName="IconButton";import{jsx as ke,jsxs as Ba}from"react/jsx-runtime";var za=L.createContext(null);function Yt(){let e=L.useContext(za);if(!e)throw new Error("useCarousel must be used within a <Carousel />");return e}var Jt=L.forwardRef(({orientation:e="horizontal",opts:t,setApi:o,plugins:a,className:i,children:n,...s},l)=>{let[d,p]=Ns({...t,axis:e==="horizontal"?"x":"y"},a),[f,v]=L.useState(!1),[N,M]=L.useState(!1),H=L.useCallback(C=>{C&&(v(C.canScrollPrev()),M(C.canScrollNext()))},[]),z=L.useCallback(()=>{p?.scrollPrev()},[p]),$=L.useCallback(()=>{p?.scrollNext()},[p]),ce=L.useCallback(C=>{C.key==="ArrowLeft"?(C.preventDefault(),z()):C.key==="ArrowRight"&&(C.preventDefault(),$())},[z,$]);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]),ke(za.Provider,{value:{carouselRef:d,api:p,opts:t,orientation:e||(t?.axis==="y"?"vertical":"horizontal"),scrollPrev:z,scrollNext:$,canScrollPrev:f,canScrollNext:N},children:ke("div",{ref:l,onKeyDownCapture:ce,className:r("relative",i),role:"region","aria-roledescription":"carousel",...s,children:n})})});Jt.displayName="Carousel";var eo=L.forwardRef(({className:e,...t},o)=>{let{carouselRef:a,orientation:i}=Yt();return ke("div",{ref:a,className:"overflow-hidden",children:ke("div",{ref:o,className:r("flex",i==="horizontal"?"-ml-4":"-mt-4 flex-col",e),...t})})});eo.displayName="CarouselContent";var to=L.forwardRef(({className:e,...t},o)=>{let{orientation:a}=Yt();return ke("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})});to.displayName="CarouselItem";var oo=L.forwardRef(({className:e,variant:t="secondary",size:o="default",...a},i)=>{let{orientation:n,scrollPrev:s,canScrollPrev:l}=Yt();return Ba(Le,{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:[ke(Ps,{className:"h-6 w-6"}),ke("span",{className:"sr-only",children:"Previous slide"})]})});oo.displayName="CarouselPrevious";var ao=L.forwardRef(({className:e,variant:t="secondary",size:o="default",...a},i)=>{let{orientation:n,scrollNext:s,canScrollNext:l}=Yt();return Ba(Le,{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:[ke(Cs,{className:"h-6 w-6"}),ke("span",{className:"sr-only",children:"Next slide"})]})});ao.displayName="CarouselNext";import*as Oa from"react";import*as Se from"@radix-ui/react-popover";import{jsx as Va}from"react/jsx-runtime";var St=Se.Root,Dt=Se.Trigger,dt=Oa.forwardRef(({className:e,align:t="center",sideOffset:o=4,...a},i)=>Va(Se.Portal,{children:Va(Se.Content,{ref:i,align:t,sideOffset:o,className:r("z-50 w-72 rounded-md border border-gray-200 bg-white p-4 sm:p-5 text-gray-900 shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...a})}));dt.displayName=Se.Content.displayName;import{format as io}from"date-fns";import{Calendar as Rs}from"lucide-react";import{QuestionMarkCircleIcon as Ts,XCircleIcon as ks}from"@heroicons/react/16/solid";import{Fragment as Ga,jsx as ve,jsxs as It}from"react/jsx-runtime";var Ss=({label:e,placeholder:t="Select a value",size:o=1,message:a,isError:i,disabled:n,dateFormat:s="dd/MM/yyyy",buttonProps:l,popoverProps:d,calendarProps:p})=>{let f=p?.selected||null;return It("div",{children:[It(St,{...d,children:[ve(Dt,{asChild:!0,children:It(ae,{variant:"secondary",className:r("w-full justify-between text-left text-sm font-normal h-11 text-gray-900 overflow-visible hover:ring-1 focus:ring-1 hover:ring-gray-400 focus:ring-gray-400 [&[data-state=open]]:border-pink-500 [&[data-state=open]]:ring-pink-500 [&[data-state=open]]:ring-1 relative disabled:bg-gray-50 disabled:border-gray-200 disabled:pointer-events-none disabled:text-gray-500",o===2&&"h-12 text-base",(!f||!(f instanceof Date)&&typeof f=="object"&&(!("from"in f)||!f.from))&&"text-gray-500",i&&"border-red-500 ring-red-500 ring-1"),disabled:n,...l,children:[ve("span",{className:"line-clamp-1 flex-1",children:f instanceof Date?io(f,s):f&&typeof f=="object"&&"from"in f&&"to"in f?ve(Ga,{children:f.from?f.to?It(Ga,{children:[io(f.from,s)," -"," ",io(f.to,s)]}):io(f.from,s):t}):t}),e&&ve("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}),ve(Rs,{className:"ml-2 h-4 w-4 text-gray-500 flex-none"})]})}),ve(dt,{className:"w-auto !p-0 border-none",children:ve(Kt,{...p})})]}),a&&It("div",{className:"mobase-text-input-message flex space-x-1 items-center mt-0.5",children:[i?ve(ks,{width:16,height:16,className:"text-red-500"}):ve(Ts,{width:16,height:16,className:"text-gray-500"}),ve("span",{className:r(i?"text-red-500":"text-gray-500",o===2?"text-sm":"text-xs"),children:a})]})]})};import*as Ye from"react";import*as R from"@radix-ui/react-alert-dialog";import{jsx as De,jsxs as Ms}from"react/jsx-runtime";var Ds=R.Root,Is=R.Trigger,$a=R.Portal,Fo=Ye.forwardRef(({className:e,...t},o)=>De(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}));Fo.displayName=R.Overlay.displayName;var Wa=Ye.forwardRef(({className:e,...t},o)=>Ms($a,{children:[De(Fo,{}),De(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})]}));Wa.displayName=R.Content.displayName;var ja=({className:e,...t})=>De("div",{className:r("flex flex-col space-y-2 text-left",e),...t});ja.displayName="AlertDialogHeader";var Qa=({className:e,...t})=>De("div",{className:r("flex flex-row justify-end space-x-4",e),...t});Qa.displayName="AlertDialogFooter";var Ua=Ye.forwardRef(({className:e,...t},o)=>De(R.Title,{ref:o,className:r("text-lg text-gray-900 font-semibold",e),...t}));Ua.displayName=R.Title.displayName;var Xa=Ye.forwardRef(({className:e,...t},o)=>De(R.Description,{ref:o,className:r("text-sm text-muted-foreground",e),...t}));Xa.displayName=R.Description.displayName;var qa=Ye.forwardRef(({className:e,...t},o)=>De(R.Action,{ref:o,className:r(ge({variant:"primary"}),"",e),...t}));qa.displayName=R.Action.displayName;var Za=Ye.forwardRef(({className:e,...t},o)=>De(R.Cancel,{ref:o,className:r(ge({variant:"secondary"}),e),...t}));Za.displayName=R.Cancel.displayName;import{createContext as As,useContext as Ka}from"react";import{jsx as Mt}from"react/jsx-runtime";var _o=As({align:"center"}),Ho=({color:e="pink",size:t="small",isTruncated:o=!1,className:a,children:i})=>{let n={regular:"text-gray-900",pink:"text-pink-500",white:"text-white"},s={small:"text-sm",large:"text-lg"};return Mt("div",{className:r("mb-1 font-semibold",n[e],s[t],o&&"truncate",a),children:i})},zo=({tagHeading:e="h2",size:t="small",color:o="pink",isTruncated:a=!1,className:i,children:n})=>{let s=e,l={regular:"text-gray-900",pink:"text-pink-500",white:"text-white"},d={small:"lg:text-3xl text-2xl",large:"lg:text-4xl md:text-3xl text-2xl"},{align:p}=Ka(_o);return Mt(s,{className:r("font-bold max-w-4xl",p==="center"?"mx-auto":p==="right"?"ml-auto":"",l[o],d[t],a&&"truncate",i),children:n})},Bo=({color:e="regular",size:t="small",marginTop:o="spacingX",isTruncated:a=!1,className:i,children:n})=>{let s={regular:"text-gray-500",white:"text-white/80"},l={small:"md:text-base text-sm",large:"md:text-lg text-base"},d={none:"",spacingX:"mt-2",spacingM:"mt-3",spacingL:"mt-4",spacingXl:"mt-5",spacing2Xl:"mt-6"},{align:p}=Ka(_o);return Mt("div",{className:r(p==="center"?"mx-auto max-w-3xl":p==="right"?"max-w-4xl ml-auto":"max-w-4xl",s[e],l[t],d[o],a&&"truncate",i),children:n})},Vo=({className:e,align:t="center",children:o})=>Mt("div",{className:r("mb-5 md:mb-8",{left:"text-left",center:"text-center",right:"text-right"}[t],e),children:Mt(_o.Provider,{value:{align:t},children:o})});import{ChevronLeft as Ls,ChevronRight as Es}from"lucide-react";import{Fragment as Fs,jsx as ie,jsxs as Ya}from"react/jsx-runtime";function Ja({current:e,total:t,onChange:o}){let a=i=>ie("li",{children:ie("button",{className:r(Ke({variant:e===i?"outline":"secondary",size:"sm"})),onClick:()=>o(i),children:i})},i);return ie("nav",{role:"navigation","aria-label":"pagination",className:r("mx-auto flex w-full justify-center"),children:Ya("ul",{className:r("flex flex-row flex-wrap items-center gap-2"),children:[t>1&&ie("li",{children:ie("button",{className:r(Ke({variant:"secondary",size:"sm"})),disabled:e===1,onClick:()=>e>1&&o(e-1),children:ie(Ls,{className:"h-4 w-4"})})}),t<=6?Array(t).fill(0).map((i,n)=>a(n+1)):Ya(Fs,{children:[a(1),e===1&&[a(2),a(3)],e>3&&ie("li",{children:ie("button",{className:r(Ke({variant:"secondary",size:"sm"})),disabled:e===1,onClick:()=>o(e-3),children:"..."})}),e>2&&e!==1&&e!==t&&a(e-1),e>1&&e<t&&a(e),e<t-1&&e!==1&&a(e+1),e===t&&[a(t-2),a(t-1)],e<t-2&&e!==t&&ie("button",{className:r(Ke({variant:"secondary",size:"sm"})),disabled:e===1,onClick:()=>o(e+3),children:"..."}),a(t)]}),t>1&&ie("li",{children:ie("button",{className:r(Ke({variant:"secondary",size:"sm"})),disabled:e===t,onClick:()=>e<t&&o(e+1),children:ie(Es,{className:"h-4 w-4"})})})]})})}import*as ro from"react";import*as de from"@radix-ui/react-tabs";import{jsx as Oo}from"react/jsx-runtime";var At=de.Root,pt=ro.forwardRef(({className:e,size:t="sm",isDivider:o=!1,...a},i)=>Oo(de.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}));pt.displayName=de.List.displayName;var ft=ro.forwardRef(({className:e,...t},o)=>Oo(de.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}));ft.displayName=de.Trigger.displayName;var gt=ro.forwardRef(({className:e,...t},o)=>Oo(de.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}));gt.displayName=de.Content.displayName;import{forwardRef as _s}from"react";import{QuestionMarkCircleIcon as Hs}from"@heroicons/react/24/outline";import{XCircleIcon as zs}from"@heroicons/react/24/solid";import{jsx as ut,jsxs as ei}from"react/jsx-runtime";var Bs=_s(({disabled:e,isError:t,message:o,label:a,className:i,inputClassName:n,size:s,rows:l=3,...d},p)=>ei("div",{className:r("relative",i,t&&"mobase-text-area-error"),children:[a&&ut("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}),ut("textarea",{disabled:e,ref:p,className:r("mobase-text-area-box bg-white w-full text-sm transition-all rounded-md border border-gray-300 placeholder:text-gray-500 p-3 text-gray-900 focus:border-pink-500 disabled:bg-gray-50 disabled:border-gray-200 outline-none block",s===2&&"text-base",n),rows:l,...d}),o&&ei("div",{className:"mobase-text-area-message flex space-x-1 items-center mt-0.5",children:[t?ut(zs,{width:16,height:16,className:"text-red-500"}):ut(Hs,{width:16,height:16,className:"text-gray-500"}),ut("span",{className:r("text-gray-500 ",s===2?"text-sm":"text-xs"),children:o})]}),ut("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 vt from"react";import*as ee from"@radix-ui/react-accordion";import{Che
94
94
  color: rgb(var(--mobase-red-500) / 1);
95
95
  }
96
96
  }
97
- `})]}));import*as Xt from"react";var os=1,as=1e6;var ko=0;function is(){return ko=(ko+1)%Number.MAX_SAFE_INTEGER,ko.toString()}var So=new Map,Ba=e=>{if(So.has(e))return;let t=setTimeout(()=>{So.delete(e),Pt({type:"REMOVE_TOAST",toastId:e})},as);So.set(e,t)},rs=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,os)};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?Ba(o):e.toasts.forEach(a=>{Ba(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}},Ut=[],qt={toasts:[]};function Pt(e){qt=rs(qt,e),Ut.forEach(t=>{t(qt)})}function Va({...e}){let t=is(),o=i=>Pt({type:"UPDATE_TOAST",toast:{...i,id:t}}),a=()=>Pt({type:"DISMISS_TOAST",toastId:t});return Pt({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:i=>{i||a()}}}),{id:t,dismiss:a,update:o}}function Do(){let[e,t]=Xt.useState(qt);return Xt.useEffect(()=>(Ut.push(t),()=>{let o=Ut.indexOf(t);o>-1&&Ut.splice(o,1)}),[e]),{...e,toast:Va,dismiss:o=>Pt({type:"DISMISS_TOAST",toastId:o})}}import*as qe from"react";import*as H from"@radix-ui/react-toast";import{cva as ns}from"class-variance-authority";import{XMarkIcon as ss,CheckCircleIcon as ls,ExclamationTriangleIcon as ms,InformationCircleIcon as cs}from"@heroicons/react/20/solid";import{jsx as ke,jsxs as Oa}from"react/jsx-runtime";var Wa=H.Provider,Ao=qe.forwardRef(({className:e,...t},o)=>ke(H.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}));Ao.displayName=H.Viewport.displayName;var ps=ns("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"}}),Mo=qe.forwardRef(({className:e,variant:t="sucess",children:o,...a},i)=>Oa(H.Root,{ref:i,className:r(ps({variant:t}),e),...a,children:[Oa("div",{className:"w-5 h-5 flex items-center justify-center absolute top-4 left-3",children:[t==="sucess"&&ke(ls,{className:"w-5 h-5 text-green-500"}),t==="warning"&&ke(ms,{className:"w-5 h-5 text-yellow-500"}),t==="error"&&ke(cs,{className:"w-5 h-5 text-red-500"})]}),o]}));Mo.displayName=H.Root.displayName;var Ga=qe.forwardRef(({className:e,...t},o)=>ke(H.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}));Ga.displayName=H.Action.displayName;var Io=qe.forwardRef(({className:e,...t},o)=>ke(H.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:ke(ss,{className:"h-5 w-5"})}));Io.displayName=H.Close.displayName;var Lo=qe.forwardRef(({className:e,...t},o)=>ke(H.Title,{ref:o,className:r("text-base font-semibold leading-tight",e),...t}));Lo.displayName=H.Title.displayName;var Eo=qe.forwardRef(({className:e,...t},o)=>ke(H.Description,{ref:o,className:r("text-sm opacity-90",e),...t}));Eo.displayName=H.Description.displayName;import{jsx as Zt,jsxs as _o}from"react/jsx-runtime";function ds(){let{toasts:e}=Do();return _o(Wa,{children:[e.map(function({id:t,title:o,description:a,action:i,...n}){return _o(Mo,{...n,children:[_o("div",{className:"grid gap-2",children:[o&&Zt(Lo,{children:o}),a&&Zt(Eo,{children:a})]}),i,Zt(Io,{})]},t)}),Zt(Ao,{})]})}import*as $a from"react";import{Slot as gs}from"@radix-ui/react-slot";import{cva as fs}from"class-variance-authority";import{jsx as us}from"react/jsx-runtime";var ja=fs("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"}}),lt=$a.forwardRef(({className:e,variant:t="default",size:o="default",asChild:a=!1,isDisabled:i=!1,...n},s)=>{let m=a?gs:"button",p=r(ja({variant:t,size:o,className:e}));return us(m,{className:p,disabled:i,ref:s,...n,children:n.children})});lt.displayName="TextButton";import*as Ho from"react";import*as ie from"@radix-ui/react-tooltip";import{jsx as qa}from"react/jsx-runtime";var vs=ie.Provider,bs=ie.Root,hs=ie.Trigger,Qa=Ho.forwardRef((e,t)=>qa(ie.Arrow,{ref:t,className:r("drop-shadow-md",e.className),...e}));Qa.displayName=ie.Arrow.displayName;var Ua=Ho.forwardRef(({className:e,type:t="dark",sideOffset:o=4,...a},i)=>qa(ie.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}));Ua.displayName=ie.Content.displayName;import{forwardRef as xs,useEffect as ys,useRef as ws,useState as Ns}from"react";import{QuestionMarkCircleIcon as Ps,XCircleIcon as Cs,XCircleIcon as Rs}from"@heroicons/react/16/solid";import{jsx as Ae,jsxs as Fo}from"react/jsx-runtime";var Ts=xs(({disabled:e,isError:t,message:o,label:a,className:i,inputClassName:n,withClearButton:s,size:m,onChange:p,onFocus:d,onClickClear:f,value:T,defaultValue:B,type:G="text",...N},w)=>{let[V,$]=Ns(!1),P=ws(null),A=O=>{O&&!V&&$(!0),!O&&V&&$(!1)},ze=O=>{s&&A(O.target.value),p?.(O)},at=O=>{s&&A(O.target.value),d?.(O)},Be=()=>{let O=P.current?.querySelector("input");O&&(f?.(O.value),O.value="",O.focus(),$(!1))};return ys(()=>{A(B||T)},[T,B]),Fo("div",{className:r(i,t&&"mobase-text-input-error"),ref:P,children:[Fo("div",{className:"relative",children:[a&&Ae("span",{className:r("mobase-text-input-label absolute bg-white -top-2 px-1.5 left-2 text-xs text-gray-500",m===2&&" -top-2.5 text-sm"),children:a}),Ae("input",{disabled:e,type:G,ref:w,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",m===2&&"h-12 text-base",n),onChange:ze,onFocus:at,value:T,defaultValue:B,...N}),s&&V&&Ae("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:Be,children:Ae(Cs,{strokeWidth:2,width:20,height:20})})]}),o&&Fo("div",{className:"mobase-text-input-message flex space-x-1 items-center mt-0.5",children:[t?Ae(Rs,{width:16,height:16,className:"text-red-500"}):Ae(Ps,{width:16,height:16,className:"text-gray-500"}),Ae("span",{className:r("text-gray-500 ",m===2?"text-sm":"text-xs"),children:o})]}),Ae("style",{children:`
97
+ `})]}));import*as lo from"react";var Vs=1,Os=1e6;var Go=0;function Gs(){return Go=(Go+1)%Number.MAX_SAFE_INTEGER,Go.toString()}var $o=new Map,ti=e=>{if($o.has(e))return;let t=setTimeout(()=>{$o.delete(e),Lt({type:"REMOVE_TOAST",toastId:e})},Os);$o.set(e,t)},$s=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,Vs)};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?ti(o):e.toasts.forEach(a=>{ti(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}},no=[],so={toasts:[]};function Lt(e){so=$s(so,e),no.forEach(t=>{t(so)})}function oi({...e}){let t=Gs(),o=i=>Lt({type:"UPDATE_TOAST",toast:{...i,id:t}}),a=()=>Lt({type:"DISMISS_TOAST",toastId:t});return Lt({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:i=>{i||a()}}}),{id:t,dismiss:a,update:o}}function Wo(){let[e,t]=lo.useState(so);return lo.useEffect(()=>(no.push(t),()=>{let o=no.indexOf(t);o>-1&&no.splice(o,1)}),[e]),{...e,toast:oi,dismiss:o=>Lt({type:"DISMISS_TOAST",toastId:o})}}import*as Je from"react";import*as F from"@radix-ui/react-toast";import{cva as Ws}from"class-variance-authority";import{XMarkIcon as js,CheckCircleIcon as Qs,ExclamationTriangleIcon as Us,InformationCircleIcon as Xs}from"@heroicons/react/20/solid";import{jsx as Ie,jsxs as ai}from"react/jsx-runtime";var ii=F.Provider,jo=Je.forwardRef(({className:e,...t},o)=>Ie(F.Viewport,{ref:o,className:r("fixed bottom-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 left-0 sm:right-0 sm:left-auto sm:top-0 sm:bottom-auto sm:flex-col md:max-w-[420px]",e),...t}));jo.displayName=F.Viewport.displayName;var qs=Ws("group pointer-events-auto relative w-full overflow-hidden rounded-md border py-4 pr-10 pl-10 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-bottom-full data-[state=open]:sm:slide-in-from-top-full bg-white text-gray-900 border border-gray-200 border-l-4",{variants:{variant:{sucess:"border-l-green-500",warning:"border-l-yellow-500",error:"border-l-red-500"}},defaultVariants:{variant:"sucess"}}),Qo=Je.forwardRef(({className:e,variant:t="sucess",children:o,...a},i)=>ai(F.Root,{ref:i,className:r(qs({variant:t}),e),...a,children:[ai("div",{className:"w-5 h-5 flex items-center justify-center absolute top-4 left-3",children:[t==="sucess"&&Ie(Qs,{className:"w-5 h-5 text-green-500"}),t==="warning"&&Ie(Us,{className:"w-5 h-5 text-yellow-500"}),t==="error"&&Ie(Xs,{className:"w-5 h-5 text-red-500"})]}),o]}));Qo.displayName=F.Root.displayName;var ri=Je.forwardRef(({className:e,...t},o)=>Ie(F.Action,{ref:o,className:r("inline-flex shrink-0 items-center justify-center bg-transparent text-sm font-medium ring-offset-background transition-colors hover:bg-secondary focus:outline-none focus:ring-0 focus:ring-ring focus:ring-offset-0 disabled:pointer-events-none disabled:opacity-50 text-blue-600 hover:underline mt-2",e),...t}));ri.displayName=F.Action.displayName;var Uo=Je.forwardRef(({className:e,...t},o)=>Ie(F.Close,{ref:o,className:r("absolute right-2 top-2 rounded-md transition-opacity hover:opacity-70 focus:opacity-100 focus:outline-none focus:ring-2 text-gray-800 w-8 h-8 flex items-center justify-center",e),"toast-close":"",...t,children:Ie(js,{className:"h-5 w-5"})}));Uo.displayName=F.Close.displayName;var Xo=Je.forwardRef(({className:e,...t},o)=>Ie(F.Title,{ref:o,className:r("text-base font-semibold leading-tight",e),...t}));Xo.displayName=F.Title.displayName;var qo=Je.forwardRef(({className:e,...t},o)=>Ie(F.Description,{ref:o,className:r("text-sm opacity-90",e),...t}));qo.displayName=F.Description.displayName;import{jsx as mo,jsxs as Zo}from"react/jsx-runtime";function Zs(){let{toasts:e}=Wo();return Zo(ii,{children:[e.map(function({id:t,title:o,description:a,action:i,...n}){return Zo(Qo,{...n,children:[Zo("div",{className:"grid gap-2",children:[o&&mo(Xo,{children:o}),a&&mo(qo,{children:a})]}),i,mo(Uo,{})]},t)}),mo(jo,{})]})}import*as ni from"react";import{Slot as Ks}from"@radix-ui/react-slot";import{cva as Ys}from"class-variance-authority";import{jsx as Js}from"react/jsx-runtime";var si=Ys("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"}}),vt=ni.forwardRef(({className:e,variant:t="default",size:o="default",asChild:a=!1,isDisabled:i=!1,...n},s)=>{let l=a?Ks:"button",d=r(si({variant:t,size:o,className:e}));return Js(l,{className:d,disabled:i,ref:s,...n,children:n.children})});vt.displayName="TextButton";import*as Ko from"react";import*as re from"@radix-ui/react-tooltip";import{jsx as ci}from"react/jsx-runtime";var el=re.Provider,tl=re.Root,ol=re.Trigger,li=Ko.forwardRef((e,t)=>ci(re.Arrow,{ref:t,className:r("drop-shadow-md",e.className),...e}));li.displayName=re.Arrow.displayName;var mi=Ko.forwardRef(({className:e,type:t="dark",sideOffset:o=4,...a},i)=>ci(re.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}));mi.displayName=re.Content.displayName;import{forwardRef as al,useEffect as il,useRef as rl,useState as nl}from"react";import{QuestionMarkCircleIcon as sl,XCircleIcon as ll,XCircleIcon as ml}from"@heroicons/react/16/solid";import{jsx as Ee,jsxs as Yo}from"react/jsx-runtime";var cl=al(({disabled:e,isError:t,message:o,label:a,className:i,inputClassName:n,withClearButton:s,size:l,onChange:d,onFocus:p,onClickClear:f,value:v,defaultValue:N,type:M="text",...H},z)=>{let[$,ce]=nl(!1),C=rl(null),S=B=>{B&&!$&&ce(!0),!B&&$&&ce(!1)},$e=B=>{s&&S(B.target.value),d?.(B)},lt=B=>{s&&S(B.target.value),p?.(B)},We=()=>{let B=C.current?.querySelector("input");B&&(f?.(B.value),B.value="",B.focus(),ce(!1))};return il(()=>{S(N||v)},[v,N]),Yo("div",{className:r(i,t&&"mobase-text-input-error"),ref:C,children:[Yo("div",{className:"relative",children:[a&&Ee("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}),Ee("input",{disabled:e,type:M,ref:z,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:$e,onFocus:lt,value:v,defaultValue:N,...H}),s&&$&&Ee("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:We,children:Ee(ll,{strokeWidth:2,width:20,height:20})})]}),o&&Yo("div",{className:"mobase-text-input-message flex space-x-1 items-center mt-0.5",children:[t?Ee(ml,{width:16,height:16,className:"text-red-500"}):Ee(sl,{width:16,height:16,className:"text-gray-500"}),Ee("span",{className:r("text-gray-500 ",l===2?"text-sm":"text-xs"),children:o})]}),Ee("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,7 +117,7 @@ import*as vt from"react";import*as ee from"@radix-ui/react-accordion";import{Che
117
117
  color: rgb(var(--mobase-red-500) / 1);
118
118
  }
119
119
  }
120
- `})]})});import zo from"html-react-parser";import{jsx as Xe,jsxs as ks}from"react/jsx-runtime";var fe=({idSection:e,className:t,background:o,children:a})=>Xe("section",{id:e,className:r("block-section py-8 md:py-10 lg:py-14",t),style:{background:o},children:Xe("div",{className:"wrapper relative",children:a})}),k=({align:e="center",tagline:t,title:o,description:a,tagHeading:i="h2",colorScheme:n="regular",sizeHeading:s="small",className:m})=>{let p=n==="regular"?"pink":n==="pink"?"regular":"white",d=n==="pink"?"pink":n==="white"?"white":"regular",f=n==="white"?"white":"regular";return ks(Co,{align:e,className:m,children:[t&&Xe(wo,{color:p,children:t}),o&&Xe(No,{tagHeading:i,color:d,size:s,children:zo(o)}),a&&Xe(Po,{color:f,marginTop:s==="large"?"spacing2Xl":"spacingX",children:zo(a)})]})},_=({align:e,isFullInMobile:t=!1,buttons:o,className:a})=>o?.length===0?null:Xe("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,...m}=i;return Xe(vo,{...m,className:r(t&&"w-full md:w-auto",i?.className),children:zo(s)},n)})});import Bo from"html-react-parser";import{StarIcon as Ss}from"@heroicons/react/24/solid";import{Fragment as Ka,jsx as M,jsxs as Ze}from"react/jsx-runtime";var Xa=({testimonial:e,isHiddenOnMobile:t=!1,index:o=0,itemCount:a})=>M("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:M("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:Ze("div",{className:"testimonial-item-width",children:[Ze("div",{className:"flex flex-nowrap items-center space-x-2",children:[M("div",{className:"h-9 w-9 shrink-0 overflow-hidden rounded-full",children:M("img",{src:e?.avatar,loading:"lazy",className:"h-full w-full object-cover",alt:e.name})}),Ze("div",{className:"min-w-0 flex-1 pl-1",children:[M("div",{className:"overflow-hidden text-ellipsis whitespace-nowrap text-sm font-semibold text-gray-700",children:e.name}),e?.position&&M("div",{className:"text-xs font-normal text-pink-500",children:Bo(e.position)})]})]}),Ze("div",{className:"mt-3",children:[e?.shortTitle&&M("div",{className:"text-sm font-bold text-gray-700",children:Bo(e.shortTitle)}),e?.description&&M("div",{className:"relative mt-1 max-h-full overflow-hidden text-sm leading-normal text-gray-600",children:Bo(e.description)})]}),Ze("div",{className:"absolute bottom-0 left-0 right-0 flex items-center justify-between space-x-2 p-4 md:px-5",children:[M("div",{className:"text-xs text-gray-400",children:e.date}),e?.rating&&e?.rating>0&&M("div",{className:"flex flex-nowrap space-x-0.5 text-sm",children:Array.from({length:5},(i,n)=>M(Ss,{className:`h-4 w-4 ${n<(e.rating??0)?"text-yellow-400":"text-gray-200"}`},n))})]})]})})}),Za=({dataHeading:e,dataTestimonials:t,dataButtons:o})=>Ze(Ka,{children:[e&&M(k,{tagline:e.tagline,title:e.title,description:e.description,tagHeading:e.tagHeading,align:e.align,colorScheme:"pink",sizeHeading:e.sizeHeading,className:e.className}),(t?.length??0)>0&&M("div",{className:"testimonials scroll-hidden relative overflow-x-scroll py-2 md:overflow-hidden -my-2 -mx-5 sm:mx-0",children:Ze("div",{className:"testimonials-slider sm:space-x-6 flex flex-row overflow-hidden overflow-x-auto sm:overflow-visible sm:pl-6 sm:pr-0 snap-x sm:snap-none snap-mandatory pb-3 sm:pb-0",children:[t?.map((a,i)=>M(Xa,{testimonial:a,index:i,itemCount:t?.length||0},i)),(t?.length??0)>3&&t?.map((a,i)=>M(Xa,{testimonial:a,isHiddenOnMobile:!0},i))]})}),o&&M(_,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:o?.align||"center"}),M("style",{children:`
120
+ `})]})});import Jo from"html-react-parser";import{jsx as et,jsxs as dl}from"react/jsx-runtime";var ne=({idSection:e,className:t,background:o,children:a})=>et("section",{id:e,className:r("block-section py-8 md:py-10 lg:py-14",t),style:{background:o},children:et("div",{className:"wrapper relative",children:a})}),P=({align:e="center",tagline:t,title:o,description:a,tagHeading:i="h2",colorScheme:n="regular",sizeHeading:s="small",className:l})=>{let d=n==="regular"?"pink":n==="pink"?"regular":"white",p=n==="pink"?"pink":n==="white"?"white":"regular",f=n==="white"?"white":"regular";return dl(Vo,{align:e,className:l,children:[t&&et(Ho,{color:d,children:t}),o&&et(zo,{tagHeading:i,color:p,size:s,children:Jo(o)}),a&&et(Bo,{color:f,marginTop:s==="large"?"spacing2Xl":"spacingX",children:Jo(a)})]})},E=({align:e,isFullInMobile:t=!1,buttons:o,className:a})=>o?.length===0?null:et("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 et(Tt,{...l,className:r(t&&"w-full md:w-auto",i?.className),children:Jo(s)},n)})});import ea from"html-react-parser";import{StarIcon as pl}from"@heroicons/react/24/solid";import{Fragment as fi,jsx as D,jsxs as tt}from"react/jsx-runtime";var di=({testimonial:e,isHiddenOnMobile:t=!1,index:o=0,itemCount:a})=>D("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:D("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:tt("div",{className:"testimonial-item-width",children:[tt("div",{className:"flex flex-nowrap items-center space-x-2",children:[D("div",{className:"h-9 w-9 shrink-0 overflow-hidden rounded-full",children:D("img",{src:e?.avatar,loading:"lazy",className:"h-full w-full object-cover",alt:e.name})}),tt("div",{className:"min-w-0 flex-1 pl-1",children:[D("div",{className:"overflow-hidden text-ellipsis whitespace-nowrap text-sm font-semibold text-gray-700",children:e.name}),e?.position&&D("div",{className:"text-xs font-normal text-pink-500",children:ea(e.position)})]})]}),tt("div",{className:"mt-3",children:[e?.shortTitle&&D("div",{className:"text-sm font-bold text-gray-700",children:ea(e.shortTitle)}),e?.description&&D("div",{className:"relative mt-1 max-h-full overflow-hidden text-sm leading-normal text-gray-600",children:ea(e.description)})]}),tt("div",{className:"absolute bottom-0 left-0 right-0 flex items-center justify-between space-x-2 p-4 md:px-5",children:[D("div",{className:"text-xs text-gray-400",children:e.date}),e?.rating&&e?.rating>0&&D("div",{className:"flex flex-nowrap space-x-0.5 text-sm",children:Array.from({length:5},(i,n)=>D(pl,{className:`h-4 w-4 ${n<(e.rating??0)?"text-yellow-400":"text-gray-200"}`},n))})]})]})})}),pi=({dataHeading:e,dataTestimonials:t,dataButtons:o})=>tt(fi,{children:[e&&D(P,{tagline:e.tagline,title:e.title,description:e.description,tagHeading:e.tagHeading,align:e.align,colorScheme:"pink",sizeHeading:e.sizeHeading,className:e.className}),(t?.length??0)>0&&D("div",{className:"testimonials scroll-hidden relative overflow-x-scroll py-2 md:overflow-hidden -my-2 -mx-5 sm:mx-0",children:tt("div",{className:"testimonials-slider sm:space-x-6 flex flex-row overflow-hidden overflow-x-auto sm:overflow-visible sm:pl-6 sm:pr-0 snap-x sm:snap-none snap-mandatory pb-3 sm:pb-0",children:[t?.map((a,i)=>D(di,{testimonial:a,index:i,itemCount:t?.length||0},i)),(t?.length??0)>3&&t?.map((a,i)=>D(di,{testimonial:a,isHiddenOnMobile:!0},i))]})}),o&&D(E,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:o?.align||"center"}),D("style",{children:`
121
121
  ${(t?.length??0)>3&&`
122
122
  @media screen and (min-width: 640px) {
123
123
  .testimonials {
@@ -145,103 +145,26 @@ import*as vt from"react";import*as ee from"@radix-ui/react-accordion";import{Che
145
145
  }
146
146
  `}
147
147
 
148
- `})]}),Ds=({template:e,dataHeading:t,dataTestimonials:o,dataButtons:a})=>{switch(e){case 1:return M(Za,{dataHeading:t,dataTestimonials:o,dataButtons:a});default:return M(Za,{dataHeading:t,dataTestimonials:o,dataButtons:a})}},As=({template:e,dataHeading:t,dataTestimonials:o,dataButtons:a})=>M(Ka,{children:Ds({template:e,dataHeading:t,dataTestimonials:o,dataButtons:a})}),Ms=({template:e=1,background:t,className:o,idSection:a,dataHeading:i,dataTestimonials:n,dataButtons:s})=>M(fe,{className:`${e===1&&(n?.length??0)>3?"[&>.wrapper]:max-w-full [&>.wrapper]:md:px-0":""} ${o||""}`,idSection:a,background:t,children:M(As,{template:e,dataHeading:i,dataTestimonials:n,dataButtons:s})});import{MinusCircleIcon as Is,PlusCircleIcon as Ls}from"@heroicons/react/24/outline";import{useRef as Ya,forwardRef as Es,useState as Vo,useEffect as Ja}from"react";import{jsx as mt,jsxs as ei}from"react/jsx-runtime";var _s=Es(({value:e=0,min:t=0,max:o=999,disabled:a=!1,disabledInput:i=!1,step:n=1,inputClassName:s="",stepperClassName:m="",className:p="",onChange:d=()=>{},onChangeInputStepper:f,onDecrement:T,onIncrement:B,...G},N)=>{let w=Ya(null),[V,$]=Vo(!1),[P,A]=Vo(!1),[ze,at]=Vo(""),Be=Ya(null),O=h=>{Number(h)>=o?$(!0):$(!1),Number(h)>t?A(!1):A(!0)},$r=()=>{if(a||V)return;let h=w?.current?.querySelector("input");if(!h)return;let K=0;K=Math.min(Number(h.value)+n,o),O(K),h.value=String(K),at(h.value||""),f?.(h.value),B?.(h.value)},jr=()=>{if(a||P)return;let h=w?.current?.querySelector("input");if(!h)return;let K=0;K=Math.max(Number(h.value)-n,0),O(K),h.value=String(K),at(h.value||""),f?.(h.value),T?.(h.value)},Qr=h=>{if(!h)return;let K=h?.target?.value;K?.match(/^[0-9]*$/)||(K=K.replace(/[^0-9]/g,"")),O(K);let _t=parseInt(K,10);Number.isNaN(_t)||_t<t?h.target.value=String(t):_t>=o?h.target.value=String(o):h.target.value=String(_t),at(h?.target?.value||""),f?.(h.target.value),d?.(h)};return Ja(()=>{let h=w?.current?.querySelector("input");h&&O(h?.value)},[]),Ja(()=>{let h=w?.current?.querySelector("input");h&&Be?.current&&(h.style.width=`${Be.current.offsetWidth+10}px`)},[ze]),ei("div",{ref:w,className:"flex items-center",children:[mt(se,{id:"btn-minus",className:r(!P&&!a?"cursor-pointer text-pink-500":"text-gray-400 cursor-default ","w-9 h-9",m),variant:"transparent",onClick:jr,children:mt(Is,{className:"w-7 h-7 "})}),ei("div",{className:"text-center font-semibold",children:[mt("input",{pattern:"[0-9]*",inputMode:"numeric",defaultValue:e,ref:N,min:t,max:o,onChange:h=>Qr(h),id:"numberInput",disabled:a||i,autoComplete:"off",...G,className:r("text-gray-800 text-base min-w-8 w-8 h-8 transition-width duration-100 focus-visible:outline-none focus-visible:ring-0 focus:ring-0 shadow-none focus-visible:ring-offset-0 rounded-md text-center bg-white",s)}),mt("span",{ref:Be,style:{visibility:"hidden",position:"absolute",whiteSpace:"pre"},children:ze||" "})]}),mt(se,{id:"btn-plus",className:r(!V&&!a?"cursor-pointer text-pink-500":"text-gray-400 cursor-default","w-9 h-9",m),variant:"transparent",onClick:$r,children:mt(Ls,{className:"w-7 h-7 "})})]})});import*as ue from"react";import{ChevronDownIcon as ti,ChevronUpIcon as Hs,CheckIcon as Fs,XCircleIcon as zs}from"@heroicons/react/16/solid";import{QuestionMarkCircleIcon as Bs}from"@heroicons/react/24/outline";import*as u from"@radix-ui/react-select";import{jsx as S,jsxs as Ct}from"react/jsx-runtime";var Vs=ue.forwardRef(({className:e,children:t,label:o,message:a,size:i,isError:n,disabled:s,...m},p)=>Ct("div",{ref:p,className:r("select-mobase relative",e,s?"disabled":"",n?"[&>.select-mobase-button]:border-red-500 [&>.select-mobase-button]:ring-red-500 [&>.select-mobase-button]:ring-1":"",i===2?"[&>.select-mobase-button]:text-base [&>.select-mobase-button]:h-12":""),children:[o&&S("span",{className:r("mobase-select-label absolute bg-white -top-2 px-1.5 left-2 text-xs text-gray-500 z-[1]",i===2&&"text-sm -top-2.5",n&&"text-red-500"),children:o}),S(u.Root,{disabled:s,...m,children:t}),a&&Ct("div",{className:r("mobase-select-message flex space-x-1 items-center mt-1 text-gray-500",n&&"text-red-500"),children:[n?S(zs,{width:16,height:16}):S(Bs,{width:16,height:16}),S("span",{className:r(i===2?"text-sm":"text-xs"),children:a})]})]})),Os=u.Value,oi=ue.forwardRef(({className:e,children:t,...o},a)=>Ct(u.Trigger,{ref:a,className:r("select-mobase-button bg-white w-full ring-0 transition-all focus-visible:border-pink-500 focus-visible:ring-offset-0 focus-visible:ring-offset-transparent focus-visible:ring-1 focus-visible:!ring-pink-500 rounded-md border border-gray-300 data-[placeholder]:text-gray-500 p-3 disabled:bg-gray-50 disabled:border-gray-200 disabled:pointer-events-none flex items-center justify-between data-[state=open]:border-pink-500 data-[state=open]:ring-1 hover:ring-1 hover:ring-gray-400 data-[state=open]:ring-pink-500 text-gray-900 h-11 ring-inset text-sm",e),...o,children:[S("div",{className:"line-clamp-1 text-left",children:t}),S(u.Icon,{asChild:!0,children:S(ti,{className:"h-4 w-4 text-gray-500 flex-none"})})]}));oi.displayName=u.Trigger.displayName;var Oo=ue.forwardRef(({className:e,...t},o)=>S(u.ScrollUpButton,{ref:o,className:r("flex cursor-default items-center justify-center py-1",e),...t,children:S(Hs,{className:"h-5 w-5"})}));Oo.displayName=u.ScrollUpButton.displayName;var Wo=ue.forwardRef(({className:e,...t},o)=>S(u.ScrollDownButton,{ref:o,className:r("flex cursor-default items-center justify-center py-1 bg-gradient-to-t from-white to-transparent",e),...t,children:S(ti,{className:"h-5 w-5"})}));Wo.displayName=u.ScrollDownButton.displayName;var ai=ue.forwardRef(({className:e,children:t,position:o="popper",...a},i)=>S(u.Portal,{children:Ct(u.Content,{ref:i,className:r("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border border-gray-300 bg-white text-gray-900 shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",o==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",e),position:o,...a,children:[S(Oo,{}),S(u.Viewport,{className:r("p-0",o==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:t}),S(Wo,{})]})}));ai.displayName=u.Content.displayName;var Ws=ue.forwardRef(({className:e,children:t,...o},a)=>S(u.Group,{ref:a,className:r("relative p-1 after:w-full border-b border-gray-200 last:border-0",e),...o,children:t})),ii=ue.forwardRef(({className:e,...t},o)=>S(u.Label,{ref:o,className:r("pr-2 pl-8 py-1.5 text-sm font-semibold z-[1]",e),...t}));ii.displayName=u.Label.displayName;var Gs=ue.forwardRef(({className:e,children:t,...o},a)=>Ct(u.Item,{ref:a,className:r("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pr-2 pl-8 text-sm outline-none focus:bg-gray-100 focus:text-gray-900 data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...o,children:[S("span",{className:"absolute left-2 flex h-4 w-4 items-center justify-center",children:S(u.ItemIndicator,{children:S(Fs,{className:"h-4 w-4"})})}),S(u.ItemText,{children:t})]})),ri=ue.forwardRef(({className:e,...t},o)=>S(u.Separator,{ref:o,className:r("-mx-1 my-1 h-px bg-muted",e),...t}));ri.displayName=u.Separator.displayName;import*as me from"react";import*as I from"@radix-ui/react-navigation-menu";import{cva as $s}from"class-variance-authority";import{ChevronDownIcon as js}from"@heroicons/react/16/solid";import{jsx as ve,jsxs as Zs}from"react/jsx-runtime";var ni=me.createContext(null),Qs=({value:e,children:t})=>ve(ni.Provider,{value:e,children:t}),Us=()=>{let e=me.useContext(ni);if(!e)throw new Error("useNavigationMenu must be used within a NavigationMenuProvider");return e},Kt=me.forwardRef(({className:e,children:t,alignDropdown:o="left",...a},i)=>ve(Qs,{value:{alignDropdown:o},children:ve(I.Root,{ref:i,className:r("relative z-10 flex max-w-max flex-1 items-center justify-center",e),...a,children:t})}));Kt.displayName=I.Root.displayName;var Yt=me.forwardRef(({className:e,...t},o)=>ve(I.List,{ref:o,className:r("group flex flex-1 list-none items-center justify-center space-x-0",e),...t}));Yt.displayName=I.List.displayName;var Jt=I.Item,eo=$s(pe({variant:"transparent",size:"sm"})),to=me.forwardRef(({className:e,children:t,...o},a)=>Zs(I.Trigger,{ref:a,className:r(eo(),"group px-2",e),...o,children:[t," ",ve(js,{className:"relative ml-1 h-4 w-4 transition duration-300 group-data-[state=open]:rotate-180","aria-hidden":"true"})]}));to.displayName=I.Trigger.displayName;var oo=me.forwardRef(({className:e,...t},o)=>{let{alignDropdown:a}=Us();return ve(I.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})});oo.displayName=I.Content.displayName;var Rt=I.Link,qs=me.forwardRef(({className:e,...t},o)=>ve("div",{className:r("absolute left-0 top-full flex justify-center"),children:ve(I.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})}));qs.displayName=I.Viewport.displayName;var Xs=me.forwardRef(({className:e,...t},o)=>ve(I.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:ve("div",{className:"relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md"})}));Xs.displayName=I.Indicator.displayName;import*as li from"react";import*as Tt from"@radix-ui/react-switch";import{jsx as si}from"react/jsx-runtime";var mi=li.forwardRef(({className:e,...t},o)=>si(Tt.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(Tt.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=Tt.Root.displayName;import*as Ke from"react";import*as Me from"@radix-ui/react-radio-group";import{Circle as Ks}from"lucide-react";import{cva as ci}from"class-variance-authority";import{jsx as kt}from"react/jsx-runtime";var Ys=ci("aspect-square rounded-full border-2 border-gray-300 disabled:bg-gray-100 disabled:data-[state=checked]:text-gray-100 data-[state=checked]:text-white disabled:data-[state=checked]:bg-gray-400 data-[state=checked]:bg-pink-500 data-[state=checked]:border-none ring-offset-background focus:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-default peer",{variants:{size:{medium:"h-4 w-4",large:"w-5 h-5"}},defaultVariants:{size:"medium"}}),Js=ci("fill-current text-current",{variants:{size:{medium:"h-2 w-2 ",large:"w-2.5 h-2.5"}},defaultVariants:{size:"medium"}}),pi=Ke.createContext({size:"medium"});function el(){let e=Ke.useContext(pi);if(!e)throw new Error("ChoiceboxGroup.Item must be used within a ChoiceboxGroup ");return e}var di=Ke.forwardRef(({className:e,size:t,...o},a)=>kt(pi.Provider,{value:{size:t},children:kt(Me.Root,{className:r("grid gap-2",e),...o,ref:a})}));di.displayName=Me.Root.displayName;var gi=Ke.forwardRef(({className:e,...t},o)=>{let a=el(),{size:i}=a??{};return kt(Me.Item,{ref:o,className:r(Ys({size:i}),e),...t,children:kt(Me.Indicator,{className:"flex items-center justify-center w-full h-full rounded-full ",children:kt(Ks,{className:r(Js({size:i}))})})})});gi.displayName=Me.Item.displayName;import{jsx as ct,jsxs as fi}from"react/jsx-runtime";var tl=({className:e="",icon:t="",title:o,children:a="",href:i="",newTab:n=!1})=>{let s=n?{target:"_blank",rel:"noopener noreferrer"}:{};return ct("li",{className:"",children:ct(Rt,{asChild:!0,children:fi("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&&ct("div",{className:"w-7 h-7 shrink-0 mt-1",children:ct("img",{src:t,loading:"lazy",className:"w-7 h-7 object-cover",alt:o})}),fi("div",{className:" ",children:[ct("div",{className:"text-sm font-medium text-gray-900 leading-none",children:o}),a&&ct("p",{className:"line-clamp-2 text-xs mt-1 text-gray-500",children:a})]})]})})})},ui=tl;import{jsx as Ie,jsxs as al}from"react/jsx-runtime";var ol=({data:e,alignDropdown:t})=>Ie(Kt,{alignDropdown:t,children:Ie(Yt,{children:e.map(o=>{let a=o.newTab?{target:"_blank",rel:"noopener noreferrer"}:{};return o.hasDropdown?al(Jt,{className:"relative",children:[Ie(to,{children:o.title}),Ie(oo,{children:Ie("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=>Ie(ui,{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):Ie(Jt,{className:"relative",children:Ie(Rt,{href:o.url,className:eo(),...a,children:o.title})},o.id)})})}),vi=ol;import{useEffect as ml,useState as cl}from"react";var ao=[.24,.25,.05,1];import{useKey as pl}from"react-use";import yi from"next/router";import{jsx as St,jsxs as bi}from"react/jsx-runtime";var il=({className:e="",icon:t="",title:o,children:a="",href:i="",newTab:n=!1})=>{let s=n?{target:"_blank",rel:"noopener noreferrer"}:{};return St("li",{className:"min-h-8",children:bi("a",{className:r(" select-none py-2 flex flex-nowrap space-x-1 items-center text",e),href:i,...s,children:[t&&St("div",{className:"w-6 h-6 shrink-0",children:St("img",{src:t,loading:"lazy",className:"w-6 h-6 object-cover",alt:o})}),bi("div",{className:" ",children:[St("div",{className:"text-sm text-gray-800 line-clamp-1",children:o}),a&&St("p",{className:"line-clamp-1 text-xs mt-0 text-gray-500",children:a})]})]})})},hi=il;import{motion as rl}from"framer-motion";import{jsx as Ye,jsxs as ll}from"react/jsx-runtime";var nl={hidden:{opacity:0,y:10},show:{opacity:1,y:0,transition:{duration:.25,ease:ao}},exit:{opacity:0,transition:{duration:.05}}},sl=({data:e})=>Ye(Ve,{type:"single",collapsible:!0,children:e.map(t=>{let o=t.newTab?{target:"_blank",rel:"noopener noreferrer"}:{};return Ye(rl.div,{variants:nl,children:t.hasDropdown?ll(Oe,{value:t.id,children:[Ye(We,{className:"py-3",children:t.title}),Ye(Ge,{children:Ye("ul",{className:r("grid gap-y-1 gap-x-2 grid-cols-2 "),children:t.subMenu&&t.subMenu.map(a=>Ye(hi,{title:a.title,href:a.url,newTab:a.newTab,icon:t.dropDownCompact===!0?a.icon:"",children:t.dropDownCompact===!0?a.description:""},a.title))})})]}):Ye("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)})}),xi=sl;import{motion as Go,AnimatePresence as dl,LazyMotion as gl,domAnimation as fl}from"framer-motion";import{jsx as b,jsxs as U}from"react/jsx-runtime";var ul=()=>typeof window<"u"&&window.pageYOffset!==void 0?window.pageYOffset:0,vl=({data:e,className:t})=>{let[o,a]=cl(!1);pl("Escape",()=>a(!1)),ml(()=>{if(!o)return;let s=ul();function m(){a(!1)}return document.body.style.position="fixed",document.body.style.width="100%",yi.events.on("routeChangeComplete",m),()=>{document.body.style.position="",document.body.style.width="",window.scrollTo({top:s||0,behavior:"instant"}),yi.events.off("routeChangeComplete",m)}},[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:ao}},exit:{opacity:0,transition:{duration:.15}}};return U("div",{className:r(t),children:[U("button",{type:"button",className:"text-gray-800 w-10 h-10 flex items-center justify-center hover:text-gray-700 ",onClick:()=>a(!o),children:[b("span",{className:"sr-only",children:"Navigation"}),b(Go.div,{animate:o?"hidden":"visible",variants:i,children:b("svg",{className:r("block w-7 h-7",o&&"hidden"),xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true",children:b("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M4 6h16M4 12h16M4 18h16"})})}),b(Go.div,{animate:o?"visible":"hidden",variants:i,children:b("svg",{className:r("block w-7 h-7",!o&&"hidden"),xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true",children:b("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M6 18L18 6M6 6l12 12"})})})]}),b(gl,{features:fl,children:b(dl,{mode:"wait",children:o&&U(Go.nav,{variants:n,initial:"hidden",animate:"show",exit:"exit",className:r(t,"fixed block w-full max-w-full z-50 px-5 bg-white left-0 right-0 bottom-0 overflow-y-auto top-[calc(var(--header-height)+1px)] pb-24 "),children:[b(xi,{data:e}),U("div",{className:"py-4 text-sm animate-fade-in duration-500 delay-300",children:[b("h4",{className:"mb-2 mt-5 text-sm font-semibold text-gray-700 ",children:"T\u1EA2I V\xC0 \u0110\u0102NG K\xDD"}),U("div",{className:"flex flex-nowrap",children:[b("div",{className:"flex-initial",children:b("a",{className:"link-white",target:"_blank",href:"https://itunes.apple.com/vn/app/id918751511?utm_source=website-momo&utm_medium=download&utm_campaign=momo-1dong",children:b("img",{src:"https://homepage.momocdn.net/img/momo-upload-api-210724113855-637627235353131497.jpg",width:130,loading:"lazy",className:"img-fluid",alt:""})})}),b("div",{className:"ml-3 flex-initial",children:b("a",{href:"https://play.google.com/store/apps/details?id=com.mservice.momotransfer&utm_source=website-momo&utm_medium=download&utm_campaign=momo-1dong",className:"link-white",target:"_blank",children:b("img",{src:"https://homepage.momocdn.net/img/momo-upload-api-210724113959-637627235994410679.jpg",width:130,loading:"lazy",className:"img-fluid",alt:""})})})]}),b("h4",{className:"mb-2 mt-5 text-sm font-semibold text-gray-700",children:"H\u1ED6 TR\u1EE2 KH\xC1CH H\xC0NG"}),U("ul",{className:"mb-2 text-sm text-gray-500",children:[U("li",{className:"mb-1",children:["Hotline :\xA0",b("a",{href:`tel:${we.Support.Hotline}`,className:"text-gray-600",children:we.Support.Hotline_Format})]}),U("li",{className:"mb-1",children:["Email :\xA0",b("a",{href:`mailto:${we.Support.Email}`,className:"text-gray-600",children:we.Support.Email})]})]}),b("a",{href:"https://www.momo.vn/huong-dan/huong-dan-gui-yeu-cau-ho-tro-bang-tinh-nang-tro-giup",rel:"noreferrer",target:"_blank",children:U("div",{className:"relative inline-block overflow-hidden rounded border border-gray-300 bg-white py-1 pl-10 pr-2 hover:bg-gray-100",children:[b("div",{className:"absolute left-1 top-1 ",style:{paddingTop:"3px"},children:b("svg",{className:"h-7 w-7 text-pink-700 ",fill:"currentColor",stroke:"currentColor",viewBox:"0 0 345.1 512",children:U("g",{children:[b("title",{children:"Asset 1"}),b("path",{d:`M279.4,23.7H30.8C14.5,23.7,0,38.2,0,56.3v401.8c0,16.3,14.5,30.8,30.8,30.8H76h23.8L76,449.4H34.5V96.2h243.1v152l34.5,22
148
+ `})]}),fl=({template:e,dataHeading:t,dataTestimonials:o,dataButtons:a})=>{switch(e){case 1:return D(pi,{dataHeading:t,dataTestimonials:o,dataButtons:a});default:return D(pi,{dataHeading:t,dataTestimonials:o,dataButtons:a})}},gl=({template:e,dataHeading:t,dataTestimonials:o,dataButtons:a})=>D(fi,{children:fl({template:e,dataHeading:t,dataTestimonials:o,dataButtons:a})}),ul=({template:e=1,background:t,className:o,idSection:a,dataHeading:i,dataTestimonials:n,dataButtons:s})=>D(ne,{className:`${e===1&&(n?.length??0)>3?"[&>.wrapper]:max-w-full [&>.wrapper]:md:px-0":""} ${o||""}`,idSection:a,background:t,children:D(gl,{template:e,dataHeading:i,dataTestimonials:n,dataButtons:s})});import{MinusCircleIcon as vl,PlusCircleIcon as xl}from"@heroicons/react/24/outline";import{useRef as gi,forwardRef as bl,useState as ta,useEffect as ui}from"react";import{jsx as xt,jsxs as vi}from"react/jsx-runtime";var hl=bl(({value:e=0,min:t=0,max:o=999,disabled:a=!1,disabledInput:i=!1,step:n=1,inputClassName:s="",stepperClassName:l="",className:d="",onChange:p=()=>{},onChangeInputStepper:f,onDecrement:v,onIncrement:N,...M},H)=>{let z=gi(null),[$,ce]=ta(!1),[C,S]=ta(!1),[$e,lt]=ta(""),We=gi(null),B=h=>{Number(h)>=o?ce(!0):ce(!1),Number(h)>t?S(!1):S(!0)},Dn=()=>{if(a||$)return;let h=z?.current?.querySelector("input");if(!h)return;let Y=0;Y=Math.min(Number(h.value)+n,o),B(Y),h.value=String(Y),lt(h.value||""),f?.(h.value),N?.(h.value)},In=()=>{if(a||C)return;let h=z?.current?.querySelector("input");if(!h)return;let Y=0;Y=Math.max(Number(h.value)-n,0),B(Y),h.value=String(Y),lt(h.value||""),f?.(h.value),v?.(h.value)},Mn=h=>{if(!h)return;let Y=h?.target?.value;Y?.match(/^[0-9]*$/)||(Y=Y.replace(/[^0-9]/g,"")),B(Y);let Qt=parseInt(Y,10);Number.isNaN(Qt)||Qt<t?h.target.value=String(t):Qt>=o?h.target.value=String(o):h.target.value=String(Qt),lt(h?.target?.value||""),f?.(h.target.value),p?.(h)};return ui(()=>{let h=z?.current?.querySelector("input");h&&B(h?.value)},[]),ui(()=>{let h=z?.current?.querySelector("input");h&&We?.current&&(h.style.width=`${We.current.offsetWidth+10}px`)},[$e]),vi("div",{ref:z,className:"flex items-center",children:[xt(Le,{id:"btn-minus",className:r(!C&&!a?"cursor-pointer text-pink-500":"text-gray-400 cursor-default ","w-9 h-9",l),variant:"transparent",onClick:In,children:xt(vl,{className:"w-7 h-7 "})}),vi("div",{className:"text-center font-semibold",children:[xt("input",{pattern:"[0-9]*",inputMode:"numeric",defaultValue:e,ref:H,min:t,max:o,onChange:h=>Mn(h),id:"numberInput",disabled:a||i,autoComplete:"off",...M,className:r("text-gray-800 text-base min-w-8 w-8 h-8 transition-width duration-100 focus-visible:outline-none focus-visible:ring-0 focus:ring-0 shadow-none focus-visible:ring-offset-0 rounded-md text-center bg-white",s)}),xt("span",{ref:We,style:{visibility:"hidden",position:"absolute",whiteSpace:"pre"},children:$e||" "})]}),xt(Le,{id:"btn-plus",className:r(!$&&!a?"cursor-pointer text-pink-500":"text-gray-400 cursor-default","w-9 h-9",l),variant:"transparent",onClick:Dn,children:xt(xl,{className:"w-7 h-7 "})})]})});import*as xe from"react";import{ChevronDownIcon as xi,ChevronUpIcon as yl,CheckIcon as wl,XCircleIcon as Nl}from"@heroicons/react/16/solid";import{QuestionMarkCircleIcon as Pl}from"@heroicons/react/24/outline";import*as u from"@radix-ui/react-select";import{jsx as k,jsxs as Et}from"react/jsx-runtime";var Cl=xe.forwardRef(({className:e,children:t,label:o,message:a,size:i,isError:n,disabled:s,...l},d)=>Et("div",{ref:d,className:r("select-mobase relative",e,s?"disabled":"",n?"[&>.select-mobase-button]:border-red-500 [&>.select-mobase-button]:ring-red-500 [&>.select-mobase-button]:ring-1":"",i===2?"[&>.select-mobase-button]:text-base [&>.select-mobase-button]:h-12":""),children:[o&&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(u.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(Nl,{width:16,height:16}):k(Pl,{width:16,height:16}),k("span",{className:r(i===2?"text-sm":"text-xs"),children:a})]})]})),Rl=u.Value,bi=xe.forwardRef(({className:e,children:t,...o},a)=>Et(u.Trigger,{ref:a,className:r("select-mobase-button bg-white w-full ring-0 transition-all focus-visible:border-pink-500 focus-visible:ring-offset-0 focus-visible:ring-offset-transparent focus-visible:ring-1 focus-visible:!ring-pink-500 rounded-md border border-gray-300 data-[placeholder]:text-gray-500 p-3 disabled:bg-gray-50 disabled:border-gray-200 disabled:pointer-events-none flex items-center justify-between data-[state=open]:border-pink-500 data-[state=open]:ring-1 hover:ring-1 hover:ring-gray-400 data-[state=open]:ring-pink-500 text-gray-900 h-11 ring-inset text-sm",e),...o,children:[k("div",{className:"line-clamp-1 text-left",children:t}),k(u.Icon,{asChild:!0,children:k(xi,{className:"h-4 w-4 text-gray-500 flex-none"})})]}));bi.displayName=u.Trigger.displayName;var oa=xe.forwardRef(({className:e,...t},o)=>k(u.ScrollUpButton,{ref:o,className:r("flex cursor-default items-center justify-center py-1",e),...t,children:k(yl,{className:"h-5 w-5"})}));oa.displayName=u.ScrollUpButton.displayName;var aa=xe.forwardRef(({className:e,...t},o)=>k(u.ScrollDownButton,{ref:o,className:r("flex cursor-default items-center justify-center py-1 bg-gradient-to-t from-white to-transparent",e),...t,children:k(xi,{className:"h-5 w-5"})}));aa.displayName=u.ScrollDownButton.displayName;var hi=xe.forwardRef(({className:e,children:t,position:o="popper",...a},i)=>k(u.Portal,{children:Et(u.Content,{ref:i,className:r("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border border-gray-300 bg-white text-gray-900 shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",o==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",e),position:o,...a,children:[k(oa,{}),k(u.Viewport,{className:r("p-0",o==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:t}),k(aa,{})]})}));hi.displayName=u.Content.displayName;var Tl=xe.forwardRef(({className:e,children:t,...o},a)=>k(u.Group,{ref:a,className:r("relative p-1 after:w-full border-b border-gray-200 last:border-0",e),...o,children:t})),yi=xe.forwardRef(({className:e,...t},o)=>k(u.Label,{ref:o,className:r("pr-2 pl-8 py-1.5 text-sm font-semibold z-[1]",e),...t}));yi.displayName=u.Label.displayName;var kl=xe.forwardRef(({className:e,children:t,...o},a)=>Et(u.Item,{ref:a,className:r("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pr-2 pl-8 text-sm outline-none focus:bg-gray-100 focus:text-gray-900 data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...o,children:[k("span",{className:"absolute left-2 flex h-4 w-4 items-center justify-center",children:k(u.ItemIndicator,{children:k(wl,{className:"h-4 w-4"})})}),k(u.ItemText,{children:t})]})),wi=xe.forwardRef(({className:e,...t},o)=>k(u.Separator,{ref:o,className:r("-mx-1 my-1 h-px bg-muted",e),...t}));wi.displayName=u.Separator.displayName;import*as pe from"react";import*as I from"@radix-ui/react-navigation-menu";import{cva as Sl}from"class-variance-authority";import{ChevronDownIcon as Dl}from"@heroicons/react/16/solid";import{jsx as be,jsxs as El}from"react/jsx-runtime";var Ni=pe.createContext(null),Il=({value:e,children:t})=>be(Ni.Provider,{value:e,children:t}),Ml=()=>{let e=pe.useContext(Ni);if(!e)throw new Error("useNavigationMenu must be used within a NavigationMenuProvider");return e},co=pe.forwardRef(({className:e,children:t,alignDropdown:o="left",...a},i)=>be(Il,{value:{alignDropdown:o},children:be(I.Root,{ref:i,className:r("relative z-10 flex max-w-max flex-1 items-center justify-center",e),...a,children:t})}));co.displayName=I.Root.displayName;var po=pe.forwardRef(({className:e,...t},o)=>be(I.List,{ref:o,className:r("group flex flex-1 list-none items-center justify-center space-x-0",e),...t}));po.displayName=I.List.displayName;var fo=I.Item,go=Sl(ge({variant:"transparent",size:"sm"})),uo=pe.forwardRef(({className:e,children:t,...o},a)=>El(I.Trigger,{ref:a,className:r(go(),"group px-2",e),...o,children:[t," ",be(Dl,{className:"relative ml-1 h-4 w-4 transition duration-300 group-data-[state=open]:rotate-180","aria-hidden":"true"})]}));uo.displayName=I.Trigger.displayName;var vo=pe.forwardRef(({className:e,...t},o)=>{let{alignDropdown:a}=Ml();return be(I.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})});vo.displayName=I.Content.displayName;var Ft=I.Link,Al=pe.forwardRef(({className:e,...t},o)=>be("div",{className:r("absolute left-0 top-full flex justify-center"),children:be(I.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})}));Al.displayName=I.Viewport.displayName;var Ll=pe.forwardRef(({className:e,...t},o)=>be(I.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:be("div",{className:"relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md"})}));Ll.displayName=I.Indicator.displayName;import*as Ci from"react";import*as _t from"@radix-ui/react-switch";import{jsx as Pi}from"react/jsx-runtime";var Ri=Ci.forwardRef(({className:e,...t},o)=>Pi(_t.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:Pi(_t.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")})}));Ri.displayName=_t.Root.displayName;import*as ot from"react";import*as Fe from"@radix-ui/react-radio-group";import{Circle as Fl}from"lucide-react";import{cva as Ti}from"class-variance-authority";import{jsx as Ht}from"react/jsx-runtime";var _l=Ti("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"}}),Hl=Ti("fill-current text-current",{variants:{size:{medium:"h-2 w-2 ",large:"w-2.5 h-2.5"}},defaultVariants:{size:"medium"}}),ki=ot.createContext({size:"medium"});function zl(){let e=ot.useContext(ki);if(!e)throw new Error("ChoiceboxGroup.Item must be used within a ChoiceboxGroup ");return e}var Si=ot.forwardRef(({className:e,size:t,...o},a)=>Ht(ki.Provider,{value:{size:t},children:Ht(Fe.Root,{className:r("grid gap-2",e),...o,ref:a})}));Si.displayName=Fe.Root.displayName;var Di=ot.forwardRef(({className:e,...t},o)=>{let a=zl(),{size:i}=a??{};return Ht(Fe.Item,{ref:o,className:r(_l({size:i}),e),...t,children:Ht(Fe.Indicator,{className:"flex items-center justify-center w-full h-full rounded-full ",children:Ht(Fl,{className:r(Hl({size:i}))})})})});Di.displayName=Fe.Item.displayName;import{jsx as bt,jsxs as Ii}from"react/jsx-runtime";var Bl=({className:e="",icon:t="",title:o,children:a="",href:i="",newTab:n=!1})=>{let s=n?{target:"_blank",rel:"noopener noreferrer"}:{};return bt("li",{className:"",children:bt(Ft,{asChild:!0,children:Ii("a",{className:r(" select-none space-y-1 rounded-md px-2 py-2 leading-none no-underline outline-none transition-colors hover:bg-pink-50 hover:text-pink-500 focus:bg-pink-50 focus:text-pink-500 flex flex-nowrap space-x-2 min-h-9 ",e,!t&&"items-center px-3"),href:i,...s,children:[t&&bt("div",{className:"w-7 h-7 shrink-0 mt-1",children:bt("img",{src:t,loading:"lazy",className:"w-7 h-7 object-cover",alt:o})}),Ii("div",{className:" ",children:[bt("div",{className:"text-sm font-medium text-gray-900 leading-none",children:o}),a&&bt("p",{className:"line-clamp-2 text-xs mt-1 text-gray-500",children:a})]})]})})})},Mi=Bl;import{jsx as _e,jsxs as Ol}from"react/jsx-runtime";var Vl=({data:e,alignDropdown:t})=>_e(co,{alignDropdown:t,children:_e(po,{children:e.map(o=>{let a=o.newTab?{target:"_blank",rel:"noopener noreferrer"}:{};return o.hasDropdown?Ol(fo,{className:"relative",children:[_e(uo,{children:o.title}),_e(vo,{children:_e("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=>_e(Mi,{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):_e(fo,{className:"relative",children:_e(Ft,{href:o.url,className:go(),...a,children:o.title})},o.id)})})}),Ai=Vl;import{useEffect as Ul,useState as Xl}from"react";var xo=[.24,.25,.05,1];import{useKey as ql}from"react-use";import _i from"next/router";import{jsx as zt,jsxs as Li}from"react/jsx-runtime";var Gl=({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:Li("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})}),Li("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})]})]})})},Ei=Gl;import{motion as $l}from"framer-motion";import{jsx as at,jsxs as Ql}from"react/jsx-runtime";var Wl={hidden:{opacity:0,y:10},show:{opacity:1,y:0,transition:{duration:.25,ease:xo}},exit:{opacity:0,transition:{duration:.05}}},jl=({data:e})=>at(je,{type:"single",collapsible:!0,children:e.map(t=>{let o=t.newTab?{target:"_blank",rel:"noopener noreferrer"}:{};return at($l.div,{variants:Wl,children:t.hasDropdown?Ql(Qe,{value:t.id,children:[at(Ue,{className:"py-3",children:t.title}),at(Xe,{children:at("ul",{className:r("grid gap-y-1 gap-x-2 grid-cols-2 "),children:t.subMenu&&t.subMenu.map(a=>at(Ei,{title:a.title,href:a.url,newTab:a.newTab,icon:t.dropDownCompact===!0?a.icon:"",children:t.dropDownCompact===!0?a.description:""},a.title))})})]}):at("a",{className:"py-3 flex flex-1 items-center text-left justify-between font-medium transition-all hover:underline text-gray-900 border-b border-gray-200",href:t.url,...o,children:t.title})},t.id)})}),Fi=jl;import{motion as ia,AnimatePresence as Zl,LazyMotion as Kl,domAnimation as Yl}from"framer-motion";import{jsx as b,jsxs as Q}from"react/jsx-runtime";var Jl=()=>typeof window<"u"&&window.pageYOffset!==void 0?window.pageYOffset:0,em=({data:e,className:t})=>{let[o,a]=Xl(!1);ql("Escape",()=>a(!1)),Ul(()=>{if(!o)return;let s=Jl();function l(){a(!1)}return document.body.style.position="fixed",document.body.style.width="100%",_i.events.on("routeChangeComplete",l),()=>{document.body.style.position="",document.body.style.width="",window.scrollTo({top:s||0,behavior:"instant"}),_i.events.off("routeChangeComplete",l)}},[o]);let i={visible:{opacity:1,transition:{duration:.2}},hidden:{opacity:0,transition:{duration:.2}}},n={hidden:{opacity:0},show:{opacity:1,transition:{duration:.15,staggerChildren:.05,ease:xo}},exit:{opacity:0,transition:{duration:.15}}};return 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:[b("span",{className:"sr-only",children:"Navigation"}),b(ia.div,{animate:o?"hidden":"visible",variants:i,children:b("svg",{className:r("block w-7 h-7",o&&"hidden"),xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true",children:b("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M4 6h16M4 12h16M4 18h16"})})}),b(ia.div,{animate:o?"visible":"hidden",variants:i,children:b("svg",{className:r("block w-7 h-7",!o&&"hidden"),xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true",children:b("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M6 18L18 6M6 6l12 12"})})})]}),b(Kl,{features:Yl,children:b(Zl,{mode:"wait",children:o&&Q(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:[b(Fi,{data:e}),Q("div",{className:"py-4 text-sm animate-fade-in duration-500 delay-300",children:[b("h4",{className:"mb-2 mt-5 text-sm font-semibold text-gray-700 ",children:"T\u1EA2I V\xC0 \u0110\u0102NG K\xDD"}),Q("div",{className:"flex flex-nowrap",children:[b("div",{className:"flex-initial",children:b("a",{className:"link-white",target:"_blank",href:"https://itunes.apple.com/vn/app/id918751511?utm_source=website-momo&utm_medium=download&utm_campaign=momo-1dong",children:b("img",{src:"https://homepage.momocdn.net/img/momo-upload-api-210724113855-637627235353131497.jpg",width:130,loading:"lazy",className:"img-fluid",alt:""})})}),b("div",{className:"ml-3 flex-initial",children:b("a",{href:"https://play.google.com/store/apps/details?id=com.mservice.momotransfer&utm_source=website-momo&utm_medium=download&utm_campaign=momo-1dong",className:"link-white",target:"_blank",children:b("img",{src:"https://homepage.momocdn.net/img/momo-upload-api-210724113959-637627235994410679.jpg",width:130,loading:"lazy",className:"img-fluid",alt:""})})})]}),b("h4",{className:"mb-2 mt-5 text-sm font-semibold text-gray-700",children:"H\u1ED6 TR\u1EE2 KH\xC1CH H\xC0NG"}),Q("ul",{className:"mb-2 text-sm text-gray-500",children:[Q("li",{className:"mb-1",children:["Hotline :\xA0",b("a",{href:`tel:${Ce.Support.Hotline}`,className:"text-gray-600",children:Ce.Support.Hotline_Format})]}),Q("li",{className:"mb-1",children:["Email :\xA0",b("a",{href:`mailto:${Ce.Support.Email}`,className:"text-gray-600",children:Ce.Support.Email})]})]}),b("a",{href:"https://www.momo.vn/huong-dan/huong-dan-gui-yeu-cau-ho-tro-bang-tinh-nang-tro-giup",rel:"noreferrer",target:"_blank",children: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:[b("div",{className:"absolute left-1 top-1 ",style:{paddingTop:"3px"},children:b("svg",{className:"h-7 w-7 text-pink-700 ",fill:"currentColor",stroke:"currentColor",viewBox:"0 0 345.1 512",children:Q("g",{children:[b("title",{children:"Asset 1"}),b("path",{d:`M279.4,23.7H30.8C14.5,23.7,0,38.2,0,56.3v401.8c0,16.3,14.5,30.8,30.8,30.8H76h23.8L76,449.4H34.5V96.2h243.1v152l34.5,22
149
149
  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
150
150
  c5.4,0,10.8,5.4,10.8,13.5C237.7,71.7,232.3,77.1,226.8,77.1z`}),b("path",{d:`M189.4,200.7c-14.4,0-25.9,11.6-25.9,25.9v155.7l-17.3-34.6c-14.2-26.3-28.1-23.6-38.9-17.3c-12.5,8.3-17.2,17-8.6,38.9
151
151
  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
152
- c-7.5,0.1-13,4.3-17.3,13c0-17.3-14.1-21.6-21.6-21.6c-8.3,0-17.9,5.2-21.6,13v-90.8C215.4,212.3,203.8,200.7,189.4,200.7z`})]})})}),b("div",{className:"text-xs text-gray-500 ",children:"H\u01B0\u1EDBng d\u1EABn tr\u1EE3 gi\xFAp tr\xEAn"}),b("div",{className:"text-sm font-semibold text-gray-800",children:"\u1EE8ng d\u1EE5ng V\xED MoMo"})]})}),b("h4",{className:"mb-2 mt-5 text-sm font-semibold text-gray-700",children:"H\u1EE2P T\xC1C DOANH NGHI\u1EC6P"}),U("ul",{className:"mb-2 text-sm text-gray-500",children:[U("li",{className:"mb-1",children:["Hotline :\xA0",b("a",{className:"text-gray-600",href:`tel:${we.Business.Phome}`,children:we.Business.Phome_Format})]}),U("li",{className:"mb-1",children:["Email :\xA0",U("a",{href:`mailto:${we.Business.Email}`,className:"text-gray-600",children:[" ",we.Business.Email]})]})]}),b("a",{href:"https://business.momo.vn/#menutop",rel:"noreferrer",target:"_blank",children:U("div",{className:"relative inline-block overflow-hidden rounded border border-gray-300 bg-white py-1 pl-12 pr-2 hover:bg-gray-100",children:[b("div",{className:"absolute left-1 top-1 ",children:b("img",{src:"https://homepage.momocdn.net/fileuploads/svg/momo-file-210724114053.svg",className:"w-10",loading:"lazy",alt:""})}),b("div",{className:"text-xs text-gray-500 ",children:"H\u1EE3p t\xE1c doanh nghi\u1EC7p"}),b("div",{className:"text-sm font-semibold text-gray-800",children:"\u0110\u0103ng k\xFD h\u1EE3p t\xE1c"})]})})]})]})})})]})},wi=vl;import bl from"html-react-parser";import{ArrowDownTrayIcon as hl}from"@heroicons/react/16/solid";import{useState as xl}from"react";import{jsx as ce,jsxs as Je}from"react/jsx-runtime";var Ni=({className:e,dataMenu:t,serviceInfo:o,hasDownloadApp:a=!1,navigationRight:i,isSticky:n=!0,alignDropdown:s="left"})=>{let{logo:m,name:p,url:d}=o||{},[f,T]=xl(!1);return Je("div",{className:r(e,"z-40 w-full flex-none lg:z-50 ",n?"sticky top-0 ":"relative"),children:[ce("div",{className:r("absolute h-full w-full bg-white shadow-[inset_0px_-1px_0px_0px_rgba(0,0,0,0.08)]")}),ce("nav",{className:r("wrapper grid grid-cols-1 items-center lg:border-0 [--header-height:64px] "),style:{minHeight:"var(--header-height)"},children:Je("div",{className:"relative flex items-center ",children:[Je("a",{href:"/",title:"MoMo",className:"mr-3 flex-none w-9 h-9 overflow-hidden rounded-none hover:opacity-80",children:[ce("span",{className:"sr-only",children:"MoMo home page"}),ce("img",{src:"https://homepage.momocdn.net/fileuploads/svg/momo-file-240411162904.svg",className:"w-9 h-9",alt:"MoMo"})]}),o&&Je("a",{href:d,title:p,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:[ce("img",{src:m,className:"w-9 h-9",alt:"MoMo"}),ce("div",{className:"text-sm font-semibold leading-[1.1] text-pink-500 line-clamp-2",children:p&&bl(p)})]}),ce("div",{className:"relative lg:ml-2 xl:ml-4 hidden lg:flex items-center ",children:ce(vi,{data:t,alignDropdown:s})}),Je("div",{className:"ml-auto flex space-x-3 flex-nowrap items-center",children:[i&&i,a&&Je("div",{className:" hidden sm:flex",children:[Je(oe,{variant:"primary",size:"sm",className:"tracking-cta-header",onClick:()=>T(!0),children:[" ",ce(hl,{className:"mr-1 w-4 h-4"})," T\u1EA3i V\xED MoMo"]}),ce(je,{open:f,onOpenChange:()=>T(!1),title:"Qu\xE9t m\xE3 \u0111\u1EC3 t\u1EA3i V\xED MoMo",shortTitle:"T\u1EA3i ngay",qrLink:"http://momo.vn/download"})]}),ce(wi,{data:t,className:"lg:hidden "})]})]})})]})};Ni.displayName="HeaderNavigation";import{useState as yl}from"react";import{Fragment as Nl,jsx as c,jsxs as x}from"react/jsx-runtime";var Pi=({item:e})=>c("div",{className:"mt-3 flex w-full text-sm",children:x("a",{href:e.url,target:e.newTab?"_blank":"_self",rel:"noreferrer",className:"flex items-center space-x-2 text-white text-opacity-50 duration-300 hover:text-opacity-100",children:[e.icon&&c("span",{className:"relative flex-none h-5 w-5 md:h-6 md:w-6",children:c("img",{src:e.icon,className:"absolute inset-0"})}),c("span",{className:"block ",children:e.title})]})}),wl=({primaryMenu:e,secondaryMenu:t})=>{let[o,a]=yl(null);return x(Nl,{children:[c("div",{className:"footer-main order-2 py-7 text-white md:order-1 text-sm",children:x("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:[x("div",{className:"block grow md:w-44 md:shrink-0 md:border-none md:pb-0",children:[c("div",{className:"whitespace-nowrap text-xs font-bold uppercase text-white text-opacity-80",children:e?.heading}),e?.lists?.map((i,n)=>c(Pi,{item:i},n))]}),x("div",{className:" md:order-none md:w-40 md:flex-none md:shrink-0 md:border-none md:pb-0",children:[c("div",{className:"whitespace-nowrap text-xs font-bold uppercase text-white text-opacity-80",children:t?.heading}),c("div",{className:"flex flex-wrap",children:t?.lists?.map((i,n)=>c(Pi,{item:i},n))})]}),x("div",{className:"col-span-2 grow border-t border-gray-700 pt-5 sm:col-span-1 md:border-none md:pt-0",children:[x("div",{className:"border-b border-gray-700 pb-5 md:border-0 md:pb-0",children:[c("div",{className:"whitespace-nowrap text-xs font-bold uppercase text-white text-opacity-80",children:"Ch\u0103m s\xF3c kh\xE1ch h\xE0ng"}),x("div",{className:"mt-2 text-sm md:mt-3",children:[c("span",{className:"text-white text-opacity-50",children:"\u0110\u1ECBa ch\u1EC9 : "}),c("span",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",children:Yo.Address})]}),x("div",{className:"mt-1 text-sm",children:[c("span",{className:"text-white text-opacity-50",children:"Hotline : "}),c("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`tel:${j.Support.Hotline}`,children:j.Support.Hotline_Format}),x("small",{className:"text-xs italic text-white text-opacity-60",children:[" ","(Ph\xED 1.000\u0111/ph\xFAt)"]})]}),x("div",{className:"mt-1 text-sm",children:[c("span",{className:"text-white text-opacity-50",children:"Email : "}),c("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`mailto:${j.Support.Email}`,children:j.Support.Email})]}),x("div",{className:"mt-1 text-sm",children:[x("span",{className:"text-white text-opacity-50",children:["T\u1ED5ng \u0111\xE0i g\u1ECDi ra :"," "]}),c("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`tel:${j.Support.Phone_Ext_1}`,children:j.Support.Phone_Ext_1_Format}),c("span",{className:"text-white text-opacity-60",children:" - "}),c("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`tel:${j.Support.Phone_Ext_2}`,children:j.Support.Phone_Ext_2_Format}),c("span",{className:"text-white text-opacity-60",children:" - "}),c("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`tel:${j.Support.Phone_Ext_3}`,children:j.Support.Phone_Ext_3_Format}),c("span",{className:"text-white text-opacity-60",children:", c\xE1c \u0111\u1EA7u s\u1ED1 di \u0111\u1ED9ng Brandname MoMo"})]}),c("div",{className:"mt-3 flex",children:c("a",{href:"https://www.momo.vn/huong-dan/huong-dan-gui-yeu-cau-ho-tro-bang-tinh-nang-tro-giup",rel:"noreferrer",target:"_blank",children:x("div",{className:"relative block overflow-hidden rounded border border-gray-400 bg-black py-1 pl-10 pr-2",children:[c("div",{className:"absolute left-1 top-1 ",style:{paddingTop:"3px"},children:c("svg",{className:"h-7 w-7 text-gray-100 ",fill:"currentColor",stroke:"currentColor",viewBox:"0 0 345.1 512",children:x("g",{children:[c("title",{children:"Asset 1"}),c("path",{d:`M279.4,23.7H30.8C14.5,23.7,0,38.2,0,56.3v401.8c0,16.3,14.5,30.8,30.8,30.8H76h23.8L76,449.4H34.5V96.2h243.1v152l34.5,22
152
+ c-7.5,0.1-13,4.3-17.3,13c0-17.3-14.1-21.6-21.6-21.6c-8.3,0-17.9,5.2-21.6,13v-90.8C215.4,212.3,203.8,200.7,189.4,200.7z`})]})})}),b("div",{className:"text-xs text-gray-500 ",children:"H\u01B0\u1EDBng d\u1EABn tr\u1EE3 gi\xFAp tr\xEAn"}),b("div",{className:"text-sm font-semibold text-gray-800",children:"\u1EE8ng d\u1EE5ng V\xED MoMo"})]})}),b("h4",{className:"mb-2 mt-5 text-sm font-semibold text-gray-700",children:"H\u1EE2P T\xC1C DOANH NGHI\u1EC6P"}),Q("ul",{className:"mb-2 text-sm text-gray-500",children:[Q("li",{className:"mb-1",children:["Hotline :\xA0",b("a",{className:"text-gray-600",href:`tel:${Ce.Business.Phome}`,children:Ce.Business.Phome_Format})]}),Q("li",{className:"mb-1",children:["Email :\xA0",Q("a",{href:`mailto:${Ce.Business.Email}`,className:"text-gray-600",children:[" ",Ce.Business.Email]})]})]}),b("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:[b("div",{className:"absolute left-1 top-1 ",children:b("img",{src:"https://homepage.momocdn.net/fileuploads/svg/momo-file-210724114053.svg",className:"w-10",loading:"lazy",alt:""})}),b("div",{className:"text-xs text-gray-500 ",children:"H\u1EE3p t\xE1c doanh nghi\u1EC7p"}),b("div",{className:"text-sm font-semibold text-gray-800",children:"\u0110\u0103ng k\xFD h\u1EE3p t\xE1c"})]})})]})]})})})]})},Hi=em;import tm from"html-react-parser";import{ArrowDownTrayIcon as om}from"@heroicons/react/16/solid";import{useState as am}from"react";import{jsx as fe,jsxs as it}from"react/jsx-runtime";var zi=({className:e,dataMenu:t,serviceInfo:o,hasDownloadApp:a=!1,navigationRight:i,isSticky:n=!0,alignDropdown:s="left"})=>{let{logo:l,name:d,url:p}=o||{},[f,v]=am(!1);return it("div",{className:r(e,"z-40 w-full flex-none lg:z-50 ",n?"sticky top-0 ":"relative"),children:[fe("div",{className:r("absolute h-full w-full bg-white shadow-[inset_0px_-1px_0px_0px_rgba(0,0,0,0.08)]")}),fe("nav",{className:r("wrapper grid grid-cols-1 items-center lg:border-0 [--header-height:64px] "),style:{minHeight:"var(--header-height)"},children:it("div",{className:"relative flex items-center ",children:[it("a",{href:"/",title:"MoMo",className:"mr-3 flex-none w-9 h-9 overflow-hidden rounded-none hover:opacity-80",children:[fe("span",{className:"sr-only",children:"MoMo home page"}),fe("img",{src:"https://homepage.momocdn.net/fileuploads/svg/momo-file-240411162904.svg",className:"w-9 h-9",alt:"MoMo"})]}),o&&it("a",{href:p,title:d,className:" relative flex flex-none space-x-1 pl-2 items-center rounded-none hover:opacity-80 after:absolute after:left-0 after:h-8 after:w-[1px] after:bg-gray-300 after:content-[''] ",children:[fe("img",{src:l,className:"w-9 h-9",alt:"MoMo"}),fe("div",{className:"text-sm font-semibold leading-[1.1] text-pink-500 line-clamp-2",children:d&&tm(d)})]}),fe("div",{className:"relative lg:ml-2 xl:ml-4 hidden lg:flex items-center ",children:fe(Ai,{data:t,alignDropdown:s})}),it("div",{className:"ml-auto flex space-x-3 flex-nowrap items-center",children:[i&&i,a&&it("div",{className:" hidden sm:flex",children:[it(ae,{variant:"primary",size:"sm",className:"tracking-cta-header",onClick:()=>v(!0),children:[" ",fe(om,{className:"mr-1 w-4 h-4"})," T\u1EA3i V\xED MoMo"]}),fe(Ze,{open:f,onOpenChange:()=>v(!1),title:"Qu\xE9t m\xE3 \u0111\u1EC3 t\u1EA3i V\xED MoMo",shortTitle:"T\u1EA3i ngay",qrLink:"http://momo.vn/download"})]}),fe(Hi,{data:t,className:"lg:hidden "})]})]})})]})};zi.displayName="HeaderNavigation";import{useState as im}from"react";import{Fragment as nm,jsx as c,jsxs as y}from"react/jsx-runtime";var Bi=({item:e})=>c("div",{className:"mt-3 flex w-full text-sm",children:y("a",{href:e.url,target:e.newTab?"_blank":"_self",rel:"noreferrer",className:"flex items-center space-x-2 text-white text-opacity-50 duration-300 hover:text-opacity-100",children:[e.icon&&c("span",{className:"relative flex-none h-5 w-5 md:h-6 md:w-6",children:c("img",{src:e.icon,className:"absolute inset-0"})}),c("span",{className:"block ",children:e.title})]})}),rm=({primaryMenu:e,secondaryMenu:t})=>{let[o,a]=im(null);return y(nm,{children:[c("div",{className:"footer-main order-2 py-7 text-white md:order-1 text-sm",children:y("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:[y("div",{className:"block grow md:w-44 md:shrink-0 md:border-none md:pb-0",children:[c("div",{className:"whitespace-nowrap text-xs font-bold uppercase text-white text-opacity-80",children:e?.heading}),e?.lists?.map((i,n)=>c(Bi,{item:i},n))]}),y("div",{className:" md:order-none md:w-40 md:flex-none md:shrink-0 md:border-none md:pb-0",children:[c("div",{className:"whitespace-nowrap text-xs font-bold uppercase text-white text-opacity-80",children:t?.heading}),c("div",{className:"flex flex-wrap",children:t?.lists?.map((i,n)=>c(Bi,{item:i},n))})]}),y("div",{className:"col-span-2 grow border-t border-gray-700 pt-5 sm:col-span-1 md:border-none md:pt-0",children:[y("div",{className:"border-b border-gray-700 pb-5 md:border-0 md:pb-0",children:[c("div",{className:"whitespace-nowrap text-xs font-bold uppercase text-white text-opacity-80",children:"Ch\u0103m s\xF3c kh\xE1ch h\xE0ng"}),y("div",{className:"mt-2 text-sm md:mt-3",children:[c("span",{className:"text-white text-opacity-50",children:"\u0110\u1ECBa ch\u1EC9 : "}),c("span",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",children:ha.Address})]}),y("div",{className:"mt-1 text-sm",children:[c("span",{className:"text-white text-opacity-50",children:"Hotline : "}),c("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`tel:${W.Support.Hotline}`,children:W.Support.Hotline_Format}),y("small",{className:"text-xs italic text-white text-opacity-60",children:[" ","(Ph\xED 1.000\u0111/ph\xFAt)"]})]}),y("div",{className:"mt-1 text-sm",children:[c("span",{className:"text-white text-opacity-50",children:"Email : "}),c("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`mailto:${W.Support.Email}`,children:W.Support.Email})]}),y("div",{className:"mt-1 text-sm",children:[y("span",{className:"text-white text-opacity-50",children:["T\u1ED5ng \u0111\xE0i g\u1ECDi ra :"," "]}),c("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`tel:${W.Support.Phone_Ext_1}`,children:W.Support.Phone_Ext_1_Format}),c("span",{className:"text-white text-opacity-60",children:" - "}),c("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`tel:${W.Support.Phone_Ext_2}`,children:W.Support.Phone_Ext_2_Format}),c("span",{className:"text-white text-opacity-60",children:" - "}),c("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`tel:${W.Support.Phone_Ext_3}`,children:W.Support.Phone_Ext_3_Format}),c("span",{className:"text-white text-opacity-60",children:", c\xE1c \u0111\u1EA7u s\u1ED1 di \u0111\u1ED9ng Brandname MoMo"})]}),c("div",{className:"mt-3 flex",children:c("a",{href:"https://www.momo.vn/huong-dan/huong-dan-gui-yeu-cau-ho-tro-bang-tinh-nang-tro-giup",rel:"noreferrer",target:"_blank",children:y("div",{className:"relative block overflow-hidden rounded border border-gray-400 bg-black py-1 pl-10 pr-2",children:[c("div",{className:"absolute left-1 top-1 ",style:{paddingTop:"3px"},children:c("svg",{className:"h-7 w-7 text-gray-100 ",fill:"currentColor",stroke:"currentColor",viewBox:"0 0 345.1 512",children:y("g",{children:[c("title",{children:"Asset 1"}),c("path",{d:`M279.4,23.7H30.8C14.5,23.7,0,38.2,0,56.3v401.8c0,16.3,14.5,30.8,30.8,30.8H76h23.8L76,449.4H34.5V96.2h243.1v152l34.5,22
153
153
  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
154
154
  c5.4,0,10.8,5.4,10.8,13.5C237.7,71.7,232.3,77.1,226.8,77.1z`}),c("path",{d:`M189.4,200.7c-14.4,0-25.9,11.6-25.9,25.9v155.7l-17.3-34.6c-14.2-26.3-28.1-23.6-38.9-17.3c-12.5,8.3-17.2,17-8.6,38.9
155
155
  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
156
- c-7.5,0.1-13,4.3-17.3,13c0-17.3-14.1-21.6-21.6-21.6c-8.3,0-17.9,5.2-21.6,13v-90.8C215.4,212.3,203.8,200.7,189.4,200.7z`})]})})}),c("div",{className:"text-xs text-white text-opacity-70",children:"H\u01B0\u1EDBng d\u1EABn tr\u1EE3 gi\xFAp tr\xEAn"}),c("div",{className:"text-xs font-bold uppercase text-white text-opacity-90",children:"\u1EE8ng d\u1EE5ng MoMo"})]})})})]}),x("div",{className:"mt-4 border-b border-gray-700 pb-5 md:mt-8 md:border-none md:pb-0",children:[c("div",{className:"whitespace-nowrap text-xs font-bold uppercase text-white text-opacity-80",children:"H\u1EE3p t\xE1c doanh nghi\u1EC7p"}),x("div",{className:"mt-2 text-sm md:mt-3",children:[c("span",{className:"text-white text-opacity-50",children:"Hotline : "}),c("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`tel:${j.Business.Phome}`,children:j.Business.Phome_Format})]}),x("div",{className:"mt-1 text-sm",children:[c("span",{className:"text-white text-opacity-50",children:"Email : "}),c("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`mailto:${j.Business.Email}`,children:j.Business.Email})]}),x("div",{className:"mt-1 text-sm",children:[c("span",{className:"text-white text-opacity-50",children:"Website : "}),c("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:"https://business.momo.vn/","aria-label":"MoMo Business",rel:"noreferrer",target:"_blank",children:"business.momo.vn"})]}),c("div",{className:"mt-3 flex",children:c("a",{href:"https://business.momo.vn/#menutop",rel:"noreferrer",target:"_blank",children:x("div",{className:"relative block overflow-hidden rounded border border-gray-400 bg-black py-1 pl-12 pr-2 ",children:[c("div",{className:"absolute left-1 top-1 flex aspect-1 items-center justify-center",children:x("svg",{width:"30",height:"20",viewBox:"0 0 30 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"mt-2",children:[c("path",{d:"M9.5688 5.21563C8.63815 5.98097 9.08817 8.15453 11.2556 6.84427C11.2556 6.84427 13.9037 5.51871 15.4497 4.6401C15.7864 4.4503 16.0129 4.51152 16.2946 4.83297C16.6038 5.05644 23.6112 12.8813 23.6112 12.8813C23.6112 12.8813 25.7725 11.2404 26.6144 9.51683C26.6144 9.51683 24.6735 5.8677 22.8214 2.24612C22.2857 2.5492 21.8265 2.83696 21.2111 2.66247C20.5744 2.48185 20.0478 1.98285 19.4723 1.64916C18.8171 1.26649 18.26 0.92362 17.5283 0.819534C16.4446 0.663406 15.5935 1.15016 14.6598 1.6859C13.5975 2.29511 12.5689 2.97779 11.5617 3.69414C10.8821 4.17171 10.2178 4.6799 9.5688 5.21563Z",fill:"#fff"}),c("path",{d:"M10.9281 17.4029C10.5638 16.9008 10.6342 16.1538 11.0842 15.7344L13.3068 13.7109C13.7568 13.2884 14.415 13.3527 14.7793 13.8517C15.1436 14.3507 15.0731 15.0977 14.6231 15.5232L12.4006 17.5467C11.9536 17.9631 11.2924 17.9019 10.9281 17.4029Z",fill:"#fff"}),c("path",{d:"M8.87706 15.5385C8.51275 15.0364 8.58317 14.2895 9.03318 13.867L10.7873 12.272C11.2374 11.8496 11.8955 11.9139 12.2598 12.4129C12.6241 12.9149 12.5537 13.6619 12.1037 14.0844L10.3496 15.6824C9.90261 16.1018 9.24136 16.0375 8.87706 15.5385Z",fill:"#fff"}),c("path",{d:"M6.39426 14.014C6.05751 13.4905 6.1616 12.7496 6.62998 12.3547L7.02184 12.0486C7.49022 11.6537 8.14535 11.7608 8.48822 12.2812L8.51271 12.3118C8.85252 12.8353 8.72395 13.5456 8.2525 13.9405L7.86065 14.2466C7.39226 14.6415 6.73407 14.5374 6.39426 14.014Z",fill:"#fff"}),c("path",{d:"M16.2182 16.2671C15.8325 15.7895 15.1712 15.762 14.7396 16.2089L13.7814 17.2039C13.3497 17.6508 13.313 18.4009 13.6987 18.8815C14.0844 19.3621 14.7488 19.3866 15.1773 18.9397L16.1355 17.9447C16.5672 17.4978 16.6039 16.7477 16.2182 16.2671Z",fill:"#fff"}),c("path",{d:"M29.9207 7.86982C30.0799 8.1729 29.9911 8.53108 29.7278 8.66884L28.1145 9.51989C27.8512 9.65459 27.5084 9.51989 27.3522 9.21682L23.5255 1.81447C23.3694 1.5114 23.4551 1.15322 23.7184 1.01546L25.3317 0.167464C25.595 0.0297027 25.9379 0.167463 26.094 0.470537L29.9207 7.86982Z",fill:"#fff"}),c("path",{d:"M2.61348 9.14334C2.49409 9.46479 2.18489 9.6454 1.92467 9.54744L0.299097 8.98415C0.0388821 8.88619 -0.0713265 8.54638 0.0480662 8.228L2.9839 0.430738C3.10329 0.109296 3.41249 -0.0713245 3.67271 0.0266388L5.29828 0.592989C5.5585 0.690952 5.66871 1.03076 5.54931 1.34914L2.61348 9.14334Z",fill:"#fff"}),c("path",{d:"M23.5224 13.8395L23.5163 13.8333C23.4826 14.0109 23.4336 14.1609 23.2989 14.3109C23.0816 14.5528 22.7999 14.6721 22.5152 14.6721C22.2183 14.6721 21.9183 14.5405 21.6887 14.2772L18.9212 11.1393C18.8692 11.0781 18.8049 11.0506 18.7375 11.0506C18.4742 11.0506 18.1804 11.4853 18.4191 11.7363L20.6907 14.2466C21.1223 14.7426 21.1315 15.5079 20.7029 15.9855C20.5039 16.2059 20.259 16.313 20.011 16.313C19.7233 16.313 19.4294 16.1722 19.1967 15.9059L16.5946 13.0037C16.5364 12.9119 16.4629 12.8721 16.3864 12.8721C16.1415 12.8721 15.8843 13.2792 16.1415 13.5731L18.1436 15.8691C18.563 16.3498 18.5293 17.0967 18.1161 17.5621C17.9263 17.7733 17.6936 17.8743 17.4548 17.8743C17.3171 17.8743 17.1762 17.8406 17.0415 17.7733C16.9589 17.9937 16.8364 18.2019 16.6772 18.3856C16.9221 18.5203 17.1885 18.5968 17.4548 18.5968C17.8926 18.5968 18.3059 18.407 18.6181 18.058C18.9426 17.6968 19.111 17.2376 19.1294 16.7753C19.3988 16.9437 19.7049 17.0355 20.011 17.0355C20.4611 17.0355 20.8866 16.8396 21.208 16.4814C21.5295 16.1232 21.6948 15.6579 21.707 15.1895C21.955 15.3242 22.2336 15.3946 22.5152 15.3946C23.005 15.3946 23.4612 15.1834 23.801 14.8038C24.1255 14.4395 24.1837 14.0599 24.2235 13.7844C24.2449 13.6343 24.2173 13.4843 24.1561 13.3527C24.0765 13.417 24.0275 13.4537 24.0153 13.4629L23.5224 13.8395Z",fill:"#fff"}),c("path",{d:"M6.20135 11.7914L6.21053 11.7822L6.21972 11.7731L6.38503 11.6445C5.02579 10.2669 4.19616 9.2505 4.19616 9.2505C5.5003 5.92894 6.97587 1.88183 6.97587 1.88183C6.96363 2.11143 7.73509 2.52166 7.89122 2.58288C8.14837 2.68697 8.42695 2.73595 8.70553 2.73595C8.78513 2.73595 8.86166 2.73289 8.9382 2.7237C9.75252 2.64105 10.5179 2.17266 11.2342 1.7655C11.7179 1.49304 12.3179 1.21446 12.8843 1.21446C13.1537 1.21446 13.4139 1.28487 13.6557 1.441C13.8731 1.30936 14.0874 1.18078 14.2986 1.06139C14.2619 1.01547 14.2221 0.972612 14.1762 0.935876C13.8088 0.641986 13.3741 0.495041 12.8873 0.495041C12.1312 0.495041 11.3965 0.859342 10.9097 1.1318L10.723 1.23895C10.1107 1.58794 9.48006 1.94612 8.87391 2.00735C8.8188 2.01347 8.76064 2.01653 8.70553 2.01653C8.50349 2.01653 8.30756 1.9798 8.13918 1.91245C8.01673 1.8604 7.73815 1.69815 7.60651 1.59407C7.52079 1.38589 7.34323 1.22977 7.11976 1.17772C7.07077 1.16548 7.02179 1.16242 6.97587 1.16242C6.69729 1.16242 6.43707 1.34304 6.33299 1.62774C6.31768 1.66754 4.84517 5.70546 3.5594 8.97804C3.46144 9.22907 3.5043 9.51684 3.67267 9.72195C3.70941 9.76481 4.52985 10.7659 5.87991 12.1374C5.97175 12.0149 6.0789 11.8955 6.20135 11.7914Z",fill:"#fff"})]})}),c("div",{className:"text-xs text-white text-opacity-70",children:"H\u1EE3p t\xE1c doanh nghi\u1EC7p"}),c("div",{className:"text-xs font-semibold uppercase text-white text-opacity-90",children:"\u0110\u0103ng k\xFD h\u1EE3p t\xE1c"})]})})})]})]}),x("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:[x("div",{className:"h-auto",children:[c("div",{className:"hidden whitespace-nowrap text-xs font-bold uppercase text-white text-opacity-80 md:block",children:"K\u1EBFt n\u1ED1i v\u1EDBi ch\xFAng t\xF4i"}),c("div",{className:"mt-3 hidden flex-row items-stretch md:flex",children:c("ul",{className:"item-center flex list-none flex-wrap space-x-4",children:ut&&ut.map((i,n)=>c("li",{className:"inline-block",children:c("a",{href:i.Link,target:"_blank",rel:"noreferrer",className:"duration-300 hover:brightness-125",children:c("img",{src:i.Image,loading:"lazy",width:"40",height:"40"})})},n))})})]}),x("div",{className:"h-auto",children:[c("div",{className:"hidden whitespace-nowrap text-xs font-bold uppercase text-white text-opacity-80 md:block",children:"T\u1EA3i \u1EE9ng d\u1EE5ng tr\xEAn \u0111i\u1EC7n tho\u1EA1i"}),x("div",{className:"flex items-center flex-wrap md:mt-3 md:space-x-1.5",children:[c("div",{className:"relative hidden h-24 w-24 lg:w-20 lg:h-20 grow-0 overflow-hidden rounded-sm bg-white md:block",children:c("img",{src:"https://homepage.momocdn.net/img/momo-upload-api-230627140125-638234712853800898.jpg",alt:"Qr-Dowbnload MoMo",className:" absolute inset-0"})}),c("div",{className:"flex grow justify-center gap-2 md:grid md:grid-cols-1 md:gap-1.5",children:lo&&lo.map((i,n)=>x("div",{className:"w-full md:flex md:items-center button-download",style:{background:`url(${i.Image}) center center / contain no-repeat`},children:[c(oe,{onClick:()=>a(n),className:"!bg-transparent rounded-none w-full hidden sm:block",style:{fontSize:"0px",padding:"0 0 30.23%0"},children:i.Name}),c("a",{href:i.Link,target:"_blank",rel:"noreferrer",className:"button-download block sm:hidden",style:{fontSize:"0px",padding:"0 0 30.23%0"}}),c(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))}),c("div",{className:"mt-4 flex w-full justify-center text-center md:hidden",children:c("ul",{className:"item-center flex list-none flex-wrap space-x-3.5",children:ut&&ut.map((i,n)=>c("li",{children:c("a",{href:i.Link,target:"_blank",rel:"noreferrer",className:"flex duration-300 hover:brightness-125",children:c("img",{alt:i.Name,src:i.Image,loading:"lazy",width:"36",height:"36"})})},n))})})]})]}),x("div",{className:"h-auto",children:[c("div",{className:"hidden whitespace-nowrap text-xs font-bold uppercase text-white text-opacity-80 md:block",children:"\u0110\u01B0\u1EE3c ch\u1EE9ng nh\u1EADn b\u1EDFi"}),x("div",{className:"mt-6 flex items-center justify-between md:mt-3 md:justify-normal",children:[x("span",{className:"block text-right text-xs text-white text-opacity-50 md:hidden",children:["\xA9Copyright M_Service ",new Date().getFullYear()]}),c("a",{rel:"noopener noreferrer",href:"http://online.gov.vn/Home/AppDetails/163",target:"_blank",className:" flex w-28 items-center md:w-auto",children:c("img",{alt:"ch\u1EE9ng nh\u1EADn",src:"https://homepage.momocdn.net/blogscontents/momo-upload-api-210629153623-637605777831780706.png",width:119,height:45})})]})]})]})]})}),c("div",{className:" footer-bottom order-1 bg-gray-800 py-3.5 md:order-2 md:py-5",children:x("div",{className:"wrapper flex flex-wrap items-end justify-between md:flex-nowrap md:space-x-3",children:[x("div",{className:"mb-2.5 flex justify-between md:mb-0",children:[c("img",{src:"https://homepage.momocdn.net/fileuploads/svg/momo-file-240411162904.svg",className:"w-9 h-9",alt:"MoMo"}),x("div",{className:"shrink pl-3",children:[c("div",{className:"text-sm text-white text-opacity-80 md:mb-1.5 ",children:"C\xD4NG TY C\u1ED4 PH\u1EA6N D\u1ECACH V\u1EE4 DI \u0110\u1ED8NG TR\u1EF0C TUY\u1EBEN"}),c("span",{className:"hidden text-xs text-white text-opacity-50 md:block lg:text-sm lg:leading-none",children:"L\u1EA7u 6, To\xE0 nh\xE0 Ph\xFA M\u1EF9 H\u01B0ng, s\u1ED1 8 Ho\xE0ng V\u0103n Th\xE1i, khu ph\u1ED1 1, P. T\xE2n Ph\xFA, Q. 7, Th\xE0nh ph\u1ED1 H\u1ED3 Ch\xED Minh"})]})]}),c("span",{className:"block text-sm text-white text-opacity-50 md:hidden",children:"L\u1EA7u 6, To\xE0 nh\xE0 Ph\xFA M\u1EF9 H\u01B0ng, s\u1ED1 8 Ho\xE0ng V\u0103n Th\xE1i, khu ph\u1ED1 1, P. T\xE2n Ph\xFA, Q. 7, Th\xE0nh ph\u1ED1 H\u1ED3 Ch\xED Minh"}),x("span",{className:"hidden w-48 flex-none text-right text-sm text-white text-opacity-50 md:block",children:["\xA9Copyright M_Service ",new Date().getFullYear()]})]})}),c("style",{children:`
156
+ c-7.5,0.1-13,4.3-17.3,13c0-17.3-14.1-21.6-21.6-21.6c-8.3,0-17.9,5.2-21.6,13v-90.8C215.4,212.3,203.8,200.7,189.4,200.7z`})]})})}),c("div",{className:"text-xs text-white text-opacity-70",children:"H\u01B0\u1EDBng d\u1EABn tr\u1EE3 gi\xFAp tr\xEAn"}),c("div",{className:"text-xs font-bold uppercase text-white text-opacity-90",children:"\u1EE8ng d\u1EE5ng MoMo"})]})})})]}),y("div",{className:"mt-4 border-b border-gray-700 pb-5 md:mt-8 md:border-none md:pb-0",children:[c("div",{className:"whitespace-nowrap text-xs font-bold uppercase text-white text-opacity-80",children:"H\u1EE3p t\xE1c doanh nghi\u1EC7p"}),y("div",{className:"mt-2 text-sm md:mt-3",children:[c("span",{className:"text-white text-opacity-50",children:"Hotline : "}),c("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`tel:${W.Business.Phome}`,children:W.Business.Phome_Format})]}),y("div",{className:"mt-1 text-sm",children:[c("span",{className:"text-white text-opacity-50",children:"Email : "}),c("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`mailto:${W.Business.Email}`,children:W.Business.Email})]}),y("div",{className:"mt-1 text-sm",children:[c("span",{className:"text-white text-opacity-50",children:"Website : "}),c("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:"https://business.momo.vn/","aria-label":"MoMo Business",rel:"noreferrer",target:"_blank",children:"business.momo.vn"})]}),c("div",{className:"mt-3 flex",children:c("a",{href:"https://business.momo.vn/#menutop",rel:"noreferrer",target:"_blank",children:y("div",{className:"relative block overflow-hidden rounded border border-gray-400 bg-black py-1 pl-12 pr-2 ",children:[c("div",{className:"absolute left-1 top-1 flex aspect-1 items-center justify-center",children:y("svg",{width:"30",height:"20",viewBox:"0 0 30 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"mt-2",children:[c("path",{d:"M9.5688 5.21563C8.63815 5.98097 9.08817 8.15453 11.2556 6.84427C11.2556 6.84427 13.9037 5.51871 15.4497 4.6401C15.7864 4.4503 16.0129 4.51152 16.2946 4.83297C16.6038 5.05644 23.6112 12.8813 23.6112 12.8813C23.6112 12.8813 25.7725 11.2404 26.6144 9.51683C26.6144 9.51683 24.6735 5.8677 22.8214 2.24612C22.2857 2.5492 21.8265 2.83696 21.2111 2.66247C20.5744 2.48185 20.0478 1.98285 19.4723 1.64916C18.8171 1.26649 18.26 0.92362 17.5283 0.819534C16.4446 0.663406 15.5935 1.15016 14.6598 1.6859C13.5975 2.29511 12.5689 2.97779 11.5617 3.69414C10.8821 4.17171 10.2178 4.6799 9.5688 5.21563Z",fill:"#fff"}),c("path",{d:"M10.9281 17.4029C10.5638 16.9008 10.6342 16.1538 11.0842 15.7344L13.3068 13.7109C13.7568 13.2884 14.415 13.3527 14.7793 13.8517C15.1436 14.3507 15.0731 15.0977 14.6231 15.5232L12.4006 17.5467C11.9536 17.9631 11.2924 17.9019 10.9281 17.4029Z",fill:"#fff"}),c("path",{d:"M8.87706 15.5385C8.51275 15.0364 8.58317 14.2895 9.03318 13.867L10.7873 12.272C11.2374 11.8496 11.8955 11.9139 12.2598 12.4129C12.6241 12.9149 12.5537 13.6619 12.1037 14.0844L10.3496 15.6824C9.90261 16.1018 9.24136 16.0375 8.87706 15.5385Z",fill:"#fff"}),c("path",{d:"M6.39426 14.014C6.05751 13.4905 6.1616 12.7496 6.62998 12.3547L7.02184 12.0486C7.49022 11.6537 8.14535 11.7608 8.48822 12.2812L8.51271 12.3118C8.85252 12.8353 8.72395 13.5456 8.2525 13.9405L7.86065 14.2466C7.39226 14.6415 6.73407 14.5374 6.39426 14.014Z",fill:"#fff"}),c("path",{d:"M16.2182 16.2671C15.8325 15.7895 15.1712 15.762 14.7396 16.2089L13.7814 17.2039C13.3497 17.6508 13.313 18.4009 13.6987 18.8815C14.0844 19.3621 14.7488 19.3866 15.1773 18.9397L16.1355 17.9447C16.5672 17.4978 16.6039 16.7477 16.2182 16.2671Z",fill:"#fff"}),c("path",{d:"M29.9207 7.86982C30.0799 8.1729 29.9911 8.53108 29.7278 8.66884L28.1145 9.51989C27.8512 9.65459 27.5084 9.51989 27.3522 9.21682L23.5255 1.81447C23.3694 1.5114 23.4551 1.15322 23.7184 1.01546L25.3317 0.167464C25.595 0.0297027 25.9379 0.167463 26.094 0.470537L29.9207 7.86982Z",fill:"#fff"}),c("path",{d:"M2.61348 9.14334C2.49409 9.46479 2.18489 9.6454 1.92467 9.54744L0.299097 8.98415C0.0388821 8.88619 -0.0713265 8.54638 0.0480662 8.228L2.9839 0.430738C3.10329 0.109296 3.41249 -0.0713245 3.67271 0.0266388L5.29828 0.592989C5.5585 0.690952 5.66871 1.03076 5.54931 1.34914L2.61348 9.14334Z",fill:"#fff"}),c("path",{d:"M23.5224 13.8395L23.5163 13.8333C23.4826 14.0109 23.4336 14.1609 23.2989 14.3109C23.0816 14.5528 22.7999 14.6721 22.5152 14.6721C22.2183 14.6721 21.9183 14.5405 21.6887 14.2772L18.9212 11.1393C18.8692 11.0781 18.8049 11.0506 18.7375 11.0506C18.4742 11.0506 18.1804 11.4853 18.4191 11.7363L20.6907 14.2466C21.1223 14.7426 21.1315 15.5079 20.7029 15.9855C20.5039 16.2059 20.259 16.313 20.011 16.313C19.7233 16.313 19.4294 16.1722 19.1967 15.9059L16.5946 13.0037C16.5364 12.9119 16.4629 12.8721 16.3864 12.8721C16.1415 12.8721 15.8843 13.2792 16.1415 13.5731L18.1436 15.8691C18.563 16.3498 18.5293 17.0967 18.1161 17.5621C17.9263 17.7733 17.6936 17.8743 17.4548 17.8743C17.3171 17.8743 17.1762 17.8406 17.0415 17.7733C16.9589 17.9937 16.8364 18.2019 16.6772 18.3856C16.9221 18.5203 17.1885 18.5968 17.4548 18.5968C17.8926 18.5968 18.3059 18.407 18.6181 18.058C18.9426 17.6968 19.111 17.2376 19.1294 16.7753C19.3988 16.9437 19.7049 17.0355 20.011 17.0355C20.4611 17.0355 20.8866 16.8396 21.208 16.4814C21.5295 16.1232 21.6948 15.6579 21.707 15.1895C21.955 15.3242 22.2336 15.3946 22.5152 15.3946C23.005 15.3946 23.4612 15.1834 23.801 14.8038C24.1255 14.4395 24.1837 14.0599 24.2235 13.7844C24.2449 13.6343 24.2173 13.4843 24.1561 13.3527C24.0765 13.417 24.0275 13.4537 24.0153 13.4629L23.5224 13.8395Z",fill:"#fff"}),c("path",{d:"M6.20135 11.7914L6.21053 11.7822L6.21972 11.7731L6.38503 11.6445C5.02579 10.2669 4.19616 9.2505 4.19616 9.2505C5.5003 5.92894 6.97587 1.88183 6.97587 1.88183C6.96363 2.11143 7.73509 2.52166 7.89122 2.58288C8.14837 2.68697 8.42695 2.73595 8.70553 2.73595C8.78513 2.73595 8.86166 2.73289 8.9382 2.7237C9.75252 2.64105 10.5179 2.17266 11.2342 1.7655C11.7179 1.49304 12.3179 1.21446 12.8843 1.21446C13.1537 1.21446 13.4139 1.28487 13.6557 1.441C13.8731 1.30936 14.0874 1.18078 14.2986 1.06139C14.2619 1.01547 14.2221 0.972612 14.1762 0.935876C13.8088 0.641986 13.3741 0.495041 12.8873 0.495041C12.1312 0.495041 11.3965 0.859342 10.9097 1.1318L10.723 1.23895C10.1107 1.58794 9.48006 1.94612 8.87391 2.00735C8.8188 2.01347 8.76064 2.01653 8.70553 2.01653C8.50349 2.01653 8.30756 1.9798 8.13918 1.91245C8.01673 1.8604 7.73815 1.69815 7.60651 1.59407C7.52079 1.38589 7.34323 1.22977 7.11976 1.17772C7.07077 1.16548 7.02179 1.16242 6.97587 1.16242C6.69729 1.16242 6.43707 1.34304 6.33299 1.62774C6.31768 1.66754 4.84517 5.70546 3.5594 8.97804C3.46144 9.22907 3.5043 9.51684 3.67267 9.72195C3.70941 9.76481 4.52985 10.7659 5.87991 12.1374C5.97175 12.0149 6.0789 11.8955 6.20135 11.7914Z",fill:"#fff"})]})}),c("div",{className:"text-xs text-white text-opacity-70",children:"H\u1EE3p t\xE1c doanh nghi\u1EC7p"}),c("div",{className:"text-xs font-semibold uppercase text-white text-opacity-90",children:"\u0110\u0103ng k\xFD h\u1EE3p t\xE1c"})]})})})]})]}),y("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:[y("div",{className:"h-auto",children:[c("div",{className:"hidden whitespace-nowrap text-xs font-bold uppercase text-white text-opacity-80 md:block",children:"K\u1EBFt n\u1ED1i v\u1EDBi ch\xFAng t\xF4i"}),c("div",{className:"mt-3 hidden flex-row items-stretch md:flex",children:c("ul",{className:"item-center flex list-none flex-wrap space-x-4",children:Pt&&Pt.map((i,n)=>c("li",{className:"inline-block",children:c("a",{href:i.Link,target:"_blank",rel:"noreferrer",className:"duration-300 hover:brightness-125",children:c("img",{src:i.Image,loading:"lazy",width:"40",height:"40"})})},n))})})]}),y("div",{className:"h-auto",children:[c("div",{className:"hidden whitespace-nowrap text-xs font-bold uppercase text-white text-opacity-80 md:block",children:"T\u1EA3i \u1EE9ng d\u1EE5ng tr\xEAn \u0111i\u1EC7n tho\u1EA1i"}),y("div",{className:"flex items-center flex-wrap md:mt-3 md:space-x-1.5",children:[c("div",{className:"relative hidden h-24 w-24 lg:w-20 lg:h-20 grow-0 overflow-hidden rounded-sm bg-white md:block",children:c("img",{src:"https://homepage.momocdn.net/img/momo-upload-api-230627140125-638234712853800898.jpg",alt:"Qr-Dowbnload MoMo",className:" absolute inset-0"})}),c("div",{className:"flex grow justify-center gap-2 md:grid md:grid-cols-1 md:gap-1.5",children:To&&To.map((i,n)=>y("div",{className:"w-full md:flex md:items-center button-download",style:{background:`url(${i.Image}) center center / contain no-repeat`},children:[c(ae,{onClick:()=>a(n),className:"!bg-transparent rounded-none w-full hidden sm:block",style:{fontSize:"0px",padding:"0 0 30.23%0"},children:i.Name}),c("a",{href:i.Link,target:"_blank",rel:"noreferrer",className:"button-download block sm:hidden",style:{fontSize:"0px",padding:"0 0 30.23%0"}}),c(Ze,{open:o===n,onOpenChange:()=>a(null),title:"Qu\xE9t m\xE3 \u0111\u1EC3 t\u1EA3i \u1EE9ng d\u1EE5ng",shortTitle:"T\u1EA3i ngay",qrLink:i.Link})]},n))}),c("div",{className:"mt-4 flex w-full justify-center text-center md:hidden",children:c("ul",{className:"item-center flex list-none flex-wrap space-x-3.5",children:Pt&&Pt.map((i,n)=>c("li",{children:c("a",{href:i.Link,target:"_blank",rel:"noreferrer",className:"flex duration-300 hover:brightness-125",children:c("img",{alt:i.Name,src:i.Image,loading:"lazy",width:"36",height:"36"})})},n))})})]})]}),y("div",{className:"h-auto",children:[c("div",{className:"hidden whitespace-nowrap text-xs font-bold uppercase text-white text-opacity-80 md:block",children:"\u0110\u01B0\u1EE3c ch\u1EE9ng nh\u1EADn b\u1EDFi"}),y("div",{className:"mt-6 flex items-center justify-between md:mt-3 md:justify-normal",children:[y("span",{className:"block text-right text-xs text-white text-opacity-50 md:hidden",children:["\xA9Copyright M_Service ",new Date().getFullYear()]}),c("a",{rel:"noopener noreferrer",href:"http://online.gov.vn/Home/AppDetails/163",target:"_blank",className:" flex w-28 items-center md:w-auto",children:c("img",{alt:"ch\u1EE9ng nh\u1EADn",src:"https://homepage.momocdn.net/blogscontents/momo-upload-api-210629153623-637605777831780706.png",width:119,height:45})})]})]})]})]})}),c("div",{className:" footer-bottom order-1 bg-gray-800 py-3.5 md:order-2 md:py-5",children:y("div",{className:"wrapper flex flex-wrap items-end justify-between md:flex-nowrap md:space-x-3",children:[y("div",{className:"mb-2.5 flex justify-between md:mb-0",children:[c("img",{src:"https://homepage.momocdn.net/fileuploads/svg/momo-file-240411162904.svg",className:"w-9 h-9",alt:"MoMo"}),y("div",{className:"shrink pl-3",children:[c("div",{className:"text-sm text-white text-opacity-80 md:mb-1.5 ",children:"C\xD4NG TY C\u1ED4 PH\u1EA6N D\u1ECACH V\u1EE4 DI \u0110\u1ED8NG TR\u1EF0C TUY\u1EBEN"}),c("span",{className:"hidden text-xs text-white text-opacity-50 md:block lg:text-sm lg:leading-none",children:"L\u1EA7u 6, To\xE0 nh\xE0 Ph\xFA M\u1EF9 H\u01B0ng, s\u1ED1 8 Ho\xE0ng V\u0103n Th\xE1i, khu ph\u1ED1 1, P. T\xE2n Ph\xFA, Q. 7, Th\xE0nh ph\u1ED1 H\u1ED3 Ch\xED Minh"})]})]}),c("span",{className:"block text-sm text-white text-opacity-50 md:hidden",children:"L\u1EA7u 6, To\xE0 nh\xE0 Ph\xFA M\u1EF9 H\u01B0ng, s\u1ED1 8 Ho\xE0ng V\u0103n Th\xE1i, khu ph\u1ED1 1, P. T\xE2n Ph\xFA, Q. 7, Th\xE0nh ph\u1ED1 H\u1ED3 Ch\xED Minh"}),y("span",{className:"hidden w-48 flex-none text-right text-sm text-white text-opacity-50 md:block",children:["\xA9Copyright M_Service ",new Date().getFullYear()]})]})}),c("style",{children:`
157
157
  footer .button-download {
158
158
  max-width: 150px;
159
159
  }
160
- `})]})},Ci=wl;import{jsx as Ri}from"react/jsx-runtime";var Pl=({className:e,primaryMenu:t,secondaryMenu:o})=>Ri("footer",{className:r("grid grid-cols-1 flex-wrap bg-gray-900",e),children:Ri(Ci,{primaryMenu:t,secondaryMenu:o})});import*as et from"react";import{jsx as pt}from"react/jsx-runtime";var Ti=et.forwardRef(({className:e,...t},o)=>pt("div",{ref:o,className:r("rounded-xl border bg-card text-card-foreground shadow",e),...t}));Ti.displayName="Card";var ki=et.forwardRef(({className:e,...t},o)=>pt("div",{ref:o,className:r("flex flex-col space-y-1.5 p-6",e),...t}));ki.displayName="CardHeader";var Si=et.forwardRef(({className:e,...t},o)=>pt("h3",{ref:o,className:r("font-semibold leading-none tracking-tight",e),...t}));Si.displayName="CardTitle";var Di=et.forwardRef(({className:e,...t},o)=>pt("p",{ref:o,className:r("text-sm text-muted-foreground",e),...t}));Di.displayName="CardDescription";var Ai=et.forwardRef(({className:e,...t},o)=>pt("div",{ref:o,className:r("p-6 pt-0",e),...t}));Ai.displayName="CardContent";var Mi=et.forwardRef(({className:e,...t},o)=>pt("div",{ref:o,className:r("flex items-center p-6 pt-0",e),...t}));Mi.displayName="CardFooter";import*as re from"react";import{Command as q}from"cmdk";import{XCircleIcon as Cl,MagnifyingGlassIcon as Rl,CheckIcon as Tl}from"@heroicons/react/16/solid";import{jsx as Y,jsxs as Bi}from"react/jsx-runtime";var $o=re.forwardRef(({className:e,...t},o)=>Y(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}));$o.displayName=q.displayName;var kl=({children:e,...t})=>Y($e,{...t,children:Y(De,{className:"overflow-hidden p-0 shadow-lg",children:Y($o,{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})})}),Ii=re.forwardRef(({className:e,onClickClear:t,...o},a)=>{let i=re.useRef(null),[n,s]=re.useState(""),m=()=>{!n||n?.length<=0||(s(""),t?.(n))};return Bi("div",{ref:i,className:"flex items-center border-b px-3","cmdk-input-wrapper":"",children:[Y(Rl,{className:"mr-2 h-4 w-4 shrink-0 text-gray-500"}),Y(q.Input,{ref:a,className:r("flex h-10 text-gray-900 w-full rounded-md focus-visible:outline-none focus-visible:ring-0 focus-visible:ring-offset-0 focus:ring-0 bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",e),value:n,onValueChange:s,...o}),Y(Cl,{onClick:m,className:r("ml-2 transition-all cursor-pointer h-4 w-4 duration-75 shrink-0 text-gray-500",n?.length>0?"opacity-100":"opacity-0")})]})});Ii.displayName=q.Input.displayName;var Li=re.forwardRef(({className:e,...t},o)=>Y(q.List,{ref:o,className:r("max-h-[300px] text-gray-900 overflow-y-auto overflow-x-hidden",e),...t}));Li.displayName=q.List.displayName;var Ei=re.forwardRef((e,t)=>Y(q.Empty,{ref:t,className:"py-6 text-gray-900 text-center text-sm",...e}));Ei.displayName=q.Empty.displayName;var _i=re.forwardRef(({className:e,...t},o)=>Y(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}));_i.displayName=q.Group.displayName;var Hi=re.forwardRef(({className:e,...t},o)=>Y(q.Separator,{ref:o,className:r("-mx-1 text-gray-900 h-px bg-border",e),...t}));Hi.displayName=q.Separator.displayName;var Fi=re.forwardRef(({className:e,children:t,isActive:o,...a},i)=>Bi(q.Item,{ref:i,className:r("relative cursor-pointer text-gray-900 flex rounded-md select-none hover:bg-gray-100 aria-selected:bg-gray-100 aria-selected:text-gray-900 items-center px-2 py-1.5 text-sm outline-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50",o?"bg-gray-100":"",e),...a,children:[Y(Tl,{className:r("h-4 w-4 mr-2",o?"opacity-100":"opacity-0")}),t]}));Fi.displayName=q.Item.displayName;var zi=({className:e,...t})=>Y("span",{className:r("ml-auto text-xs text-gray-900 tracking-widest text-muted-foreground",e),...t});zi.displayName="CommandShortcut";import{ChevronDownIcon as Sl}from"@heroicons/react/16/solid";import{jsx as io,jsxs as Vi}from"react/jsx-runtime";var Dl=({className:e,value:t,label:o,children:a,placeholder:i})=>Vi("div",{className:"relative",children:[Vi(yt,{className:r("focus-visible:outline-none w-72 focus-visible:ring-0 focus-visible:ring-offset-0 focus:ring-0 select-mobase-button bg-white ring-0 transition-all rounded-md border border-gray-300 data-[placeholder]:text-gray-500 p-3 disabled:bg-gray-50 disabled:border-gray-200 disabled:pointer-events-none flex items-center justify-between data-[state=open]:border-pink-500 data-[state=open]:ring-1 hover:ring-1 hover:ring-gray-400 data-[state=open]:ring-pink-500 text-gray-900 h-11 ring-inset text-sm",e),children:[t||a||i,io(Sl,{className:"h-4 w-4 text-gray-700 flex-none"})]}),o&&io("span",{className:"absolute bg-white -top-2 px-1.5 left-2 text-xs text-gray-500 z-[1]",children:o})]}),Al=({children:e,className:t})=>io(nt,{className:r("!p-0 border-none",t),children:e}),Ml=({open:e,onOpenChange:t,children:o})=>io(xt,{open:e,onOpenChange:t,children:o});import{cva as Wi}from"class-variance-authority";import{forwardRef as Il}from"react";import{InformationCircleIcon as Ll}from"@heroicons/react/24/outline";import{jsx as jo,jsxs as Oi}from"react/jsx-runtime";var El=Wi("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"}}),_l=Wi("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"}}),Hl=Il(({type:e="neutral",message:t="",withAction:o=!1,onClickAction:a,className:i,disabled:n,actionClassName:s,...m},p)=>Oi("div",{ref:p,className:r("",i,El({typeDiv:e,disabled:n})),...m,children:[Oi("div",{className:"flex items-center space-x-2",children:[jo(Ll,{className:r(_l({typeIcon:e,disabled:n})),width:20,height:20}),jo("div",{children:"B\u1EA1n c\u1EA7n cho ph\xE9p website s\u1EED d\u1EE5ng th\xF4ng tin v\u1ECB tr\xED \u0111\u1EC3 s\u1EED d\u1EE5ng t\xEDnh n\u0103ng n\xE0y"})]}),o&&jo(lt,{variant:"primary",onClick:()=>a?.(),className:r("",s),isDisabled:n,children:o})]}));import{forwardRef as Fl,useEffect as zl,useRef as Bl,useState as Vl}from"react";import{MagnifyingGlassIcon as Ol}from"@heroicons/react/20/solid";import{XCircleIcon as Wl}from"@heroicons/react/24/outline";import{jsx as dt,jsxs as Gi}from"react/jsx-runtime";var Gl=Fl(({disabled:e,className:t,inputClassName:o,size:a,onChange:i,onFocus:n,onClickClear:s,value:m,defaultValue:p,type:d="text",...f},T)=>{let[B,G]=Vl(!1),N=Bl(null),w=A=>{A&&!B&&G(!0),!A&&B&&G(!1)},V=A=>{w(A.target.value),i?.(A)},$=A=>{w(A.target.value),n?.(A)},P=()=>{let A=N.current?.querySelector("input");A&&(s?.(A.value),A.value="",A.focus(),G(!1))};return zl(()=>{w(p||m)},[m,p]),Gi("div",{className:r(t),ref:N,children:[Gi("div",{className:"relative flex items-center",children:[dt("div",{className:"absolute left-3 top-1/2 -translate-y-1/2 shrink-0 text-gray-500 duration-200 ",children:dt(Ol,{className:"w-4 h-4 text-gray-500"})}),dt("input",{disabled:e,type:d,ref:T,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:V,onFocus:$,value:m,defaultValue:p,...f}),B&&dt("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:P,children:dt(Wl,{strokeWidth:2,width:20,height:20})})]}),dt("style",{children:`
160
+ `})]})},Vi=rm;import{jsx as Oi}from"react/jsx-runtime";var sm=({className:e,primaryMenu:t,secondaryMenu:o})=>Oi("footer",{className:r("grid grid-cols-1 flex-wrap bg-gray-900",e),children:Oi(Vi,{primaryMenu:t,secondaryMenu:o})});import*as rt from"react";import{jsx as ht}from"react/jsx-runtime";var Gi=rt.forwardRef(({className:e,...t},o)=>ht("div",{ref:o,className:r("rounded-xl border bg-card text-card-foreground shadow",e),...t}));Gi.displayName="Card";var $i=rt.forwardRef(({className:e,...t},o)=>ht("div",{ref:o,className:r("flex flex-col space-y-1.5 p-6",e),...t}));$i.displayName="CardHeader";var Wi=rt.forwardRef(({className:e,...t},o)=>ht("h3",{ref:o,className:r("font-semibold leading-none tracking-tight",e),...t}));Wi.displayName="CardTitle";var ji=rt.forwardRef(({className:e,...t},o)=>ht("p",{ref:o,className:r("text-sm text-muted-foreground",e),...t}));ji.displayName="CardDescription";var Qi=rt.forwardRef(({className:e,...t},o)=>ht("div",{ref:o,className:r("p-6 pt-0",e),...t}));Qi.displayName="CardContent";var Ui=rt.forwardRef(({className:e,...t},o)=>ht("div",{ref:o,className:r("flex items-center p-6 pt-0",e),...t}));Ui.displayName="CardFooter";import*as se from"react";import{Command as U}from"cmdk";import{XCircleIcon as lm,MagnifyingGlassIcon as mm,CheckIcon as cm}from"@heroicons/react/16/solid";import{jsx as J,jsxs as tr}from"react/jsx-runtime";var ra=se.forwardRef(({className:e,...t},o)=>J(U,{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}));ra.displayName=U.displayName;var dm=({children:e,...t})=>J(qe,{...t,children:J(Ae,{className:"overflow-hidden p-0 shadow-lg",children:J(ra,{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})})}),Xi=se.forwardRef(({className:e,onClickClear:t,classNameInput:o,...a},i)=>{let n=se.useRef(null),[s,l]=se.useState(""),d=()=>{!s||s?.length<=0||(l(""),t?.(s))};return tr("div",{ref:n,className:r("flex items-center border-b px-3",e),"cmdk-input-wrapper":"",children:[J(mm,{className:"mr-2 h-4 w-4 shrink-0 text-gray-500"}),J(U.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}),J(lm,{onClick:d,className:r("ml-2 transition-all cursor-pointer h-4 w-4 duration-75 shrink-0 text-gray-500",s?.length>0?"opacity-100":"opacity-0")})]})});Xi.displayName=U.Input.displayName;var qi=se.forwardRef(({className:e,...t},o)=>J(U.List,{ref:o,className:r("max-h-[300px] text-gray-900 overflow-y-auto overflow-x-hidden",e),...t}));qi.displayName=U.List.displayName;var Zi=se.forwardRef((e,t)=>J(U.Empty,{ref:t,className:"py-6 text-gray-900 text-center text-sm",...e}));Zi.displayName=U.Empty.displayName;var Ki=se.forwardRef(({className:e,...t},o)=>J(U.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}));Ki.displayName=U.Group.displayName;var Yi=se.forwardRef(({className:e,...t},o)=>J(U.Separator,{ref:o,className:r("-mx-1 text-gray-900 h-px bg-border",e),...t}));Yi.displayName=U.Separator.displayName;var Ji=se.forwardRef(({className:e,children:t,isActive:o,...a},i)=>tr(U.Item,{ref:i,className:r("relative cursor-pointer text-gray-900 flex rounded-md select-none hover:bg-gray-100 aria-selected:bg-gray-100 aria-selected:text-gray-900 items-center px-2 py-1.5 text-sm outline-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50",o?"bg-gray-100":"",e),...a,children:[J(cm,{className:r("h-4 w-4 mr-2",o?"opacity-100":"opacity-0")}),t]}));Ji.displayName=U.Item.displayName;var er=({className:e,...t})=>J("span",{className:r("ml-auto text-xs text-gray-900 tracking-widest text-muted-foreground",e),...t});er.displayName="CommandShortcut";import{ChevronDownIcon as pm}from"@heroicons/react/16/solid";import{jsx as bo,jsxs as or}from"react/jsx-runtime";var fm=({className:e,value:t,label:o,children:a,placeholder:i})=>or("div",{className:"relative",children:[or(Dt,{className:r("focus-visible:outline-none w-72 focus-visible:ring-0 focus-visible:ring-offset-0 focus:ring-0 select-mobase-button bg-white ring-0 transition-all rounded-md border border-gray-300 data-[placeholder]:text-gray-500 p-3 disabled:bg-gray-50 disabled:border-gray-200 disabled:pointer-events-none flex items-center justify-between data-[state=open]:border-pink-500 data-[state=open]:ring-1 hover:ring-1 hover:ring-gray-400 data-[state=open]:ring-pink-500 text-gray-900 h-11 ring-inset text-sm",e),children:[t||a||i,bo(pm,{className:"h-4 w-4 text-gray-700 flex-none"})]}),o&&bo("span",{className:"absolute bg-white -top-2 px-1.5 left-2 text-xs text-gray-500 z-[1]",children:o})]}),gm=({children:e,className:t})=>bo(dt,{className:r("!p-0 border-none",t),children:e}),um=({open:e,onOpenChange:t,children:o})=>bo(St,{open:e,onOpenChange:t,children:o});import{cva as ir}from"class-variance-authority";import{forwardRef as vm}from"react";import{InformationCircleIcon as xm}from"@heroicons/react/24/outline";import{jsx as na,jsxs as ar}from"react/jsx-runtime";var bm=ir("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"}}),hm=ir("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"}}),ym=vm(({type:e="neutral",message:t="",withAction:o=!1,onClickAction:a,className:i,disabled:n,actionClassName:s,...l},d)=>ar("div",{ref:d,className:r("",i,bm({typeDiv:e,disabled:n})),...l,children:[ar("div",{className:"flex items-center space-x-2",children:[na(xm,{className:r(hm({typeIcon:e,disabled:n})),width:20,height:20}),na("div",{children:"B\u1EA1n c\u1EA7n cho ph\xE9p website s\u1EED d\u1EE5ng th\xF4ng tin v\u1ECB tr\xED \u0111\u1EC3 s\u1EED d\u1EE5ng t\xEDnh n\u0103ng n\xE0y"})]}),o&&na(vt,{variant:"primary",onClick:()=>a?.(),className:r("",s),isDisabled:n,children:o})]}));import{forwardRef as wm,useEffect as Nm,useRef as Pm,useState as Cm}from"react";import{MagnifyingGlassIcon as Rm}from"@heroicons/react/20/solid";import{XCircleIcon as Tm}from"@heroicons/react/24/outline";import{jsx as yt,jsxs as rr}from"react/jsx-runtime";var km=wm(({disabled:e,className:t,inputClassName:o,size:a,onChange:i,onFocus:n,onClickClear:s,value:l,defaultValue:d,type:p="text",...f},v)=>{let[N,M]=Cm(!1),H=Pm(null),z=S=>{S&&!N&&M(!0),!S&&N&&M(!1)},$=S=>{z(S.target.value),i?.(S)},ce=S=>{z(S.target.value),n?.(S)},C=()=>{let S=H.current?.querySelector("input");S&&(s?.(S.value),S.value="",S.focus(),M(!1))};return Nm(()=>{z(d||l)},[l,d]),rr("div",{className:r(t),ref:H,children:[rr("div",{className:"relative flex items-center",children:[yt("div",{className:"absolute left-3 top-1/2 -translate-y-1/2 shrink-0 text-gray-500 duration-200 ",children:yt(Rm,{className:"w-4 h-4 text-gray-500"})}),yt("input",{disabled:e,type:p,ref:v,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:$,onFocus:ce,value:l,defaultValue:d,...f}),N&&yt("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:C,children:yt(Tm,{strokeWidth:2,width:20,height:20})})]}),yt("style",{children:`
161
161
  .mobase-text-input-box:hover {
162
162
  box-shadow: 0px 0px 0px 1px rgb(var(--mobase-gray-400) / 1) inset;
163
163
  }
164
164
  .mobase-text-input-box:focus {
165
165
  box-shadow: 0px 0px 0px 1px rgb(var(--mobase-pink-500) / 1) inset;
166
166
  }
167
- `})]})});import{Swiper as $l,SwiperSlide as jl}from"swiper/react";import{Navigation as $i,Lazy as ji,Pagination as Ql}from"swiper";import*as F from"@radix-ui/react-dialog";import tt,{useEffect as Ul,useState as Qi}from"react";import{X as ql}from"lucide-react";import{ChevronLeftIcon as Xl,ChevronRightIcon as Zl}from"@heroicons/react/24/outline";import Kl from"lodash";import{jsx as D,jsxs as Se}from"react/jsx-runtime";var Yl=F.Root,Jl=F.Portal,Ui=tt.forwardRef(({className:e,...t},o)=>D(F.Overlay,{ref:o,className:r("fixed inset-0 bg-black/80 z-50 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}));Ui.displayName=F.Overlay.displayName;var em=({clearActiveIndex:e})=>Se(F.Close,{onClick:()=>e?.(),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:[D(ql,{className:"h-4 w-4 mt-0.5"}),D("div",{className:"",children:"\u0110\xF3ng c\u1EEDa s\u1ED5"})]}),tm=({children:e,src:t,alt:o,className:a,classNameImage:i,onClick:n})=>{let s=()=>{n?.()};return Se(F.Trigger,{className:r("aspect-[2/3] relative overflow-hidden rounded-lg",a),onClick:s,children:[e,D("img",{src:t,alt:o,className:r("w-full h-full object-cover rounded-lg",i)})]})},qi=tt.forwardRef(({className:e,children:t,...o},a)=>Se(Jl,{children:[D(Ui,{className:"bg-black"}),Se(F.Content,{ref:a,className:r("h-full min-w-full border-none rounded-none z-[999] fixed bg-black left-[50%] top-[50%] grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] ",e),...o,children:[t,D(em,{})]})]}));qi.displayName=F.Content.displayName;var om=({className:e,...t})=>D("div",{className:r("flex flex-col space-y-1.5 text-center sm:text-left",e),...t});om.displayName="DialogHeader";var am=({className:e,...t})=>D("div",{className:r("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});am.displayName="DialogFooter";var im=tt.forwardRef(({className:e,...t},o)=>D(F.Title,{ref:o,className:r("text-lg font-semibold leading-none tracking-tight",e),...t}));im.displayName=F.Title.displayName;var rm=tt.forwardRef(({className:e,...t},o)=>D(F.Description,{ref:o,className:r("text-sm text-muted-foreground",e),...t}));rm.displayName=F.Description.displayName;var nm=({images:e,activeSlideIndex:t=0,withSideBar:o,subHtmlSideBar:a,classNameSubHtmSideBar:i,className:n,isPagination:s=!1})=>{let[m,p]=Qi(t),[d,f]=Qi(""),T=()=>{let N=Kl.filter(e,(V,$)=>$===t),w=N.length>0?N[0]?.titleImage:"";f(w)};Ul(()=>{p(t),T()},[t]);let B={clickable:!0,renderBullet(N,w){let V=r("aspect-[1/1] min-w-[96px] mt-40 min-h-[76px] !rounded-lg overflow-hidden",w),$=r("w-full h-full object-cover rounded-lg");return e[N]?.url?`
168
- <div class="${V} ">
169
- <img class="${$} " src="${e[N]?.url}" alt="Slide ${N+1}" />
170
- </div>
171
- `:"<div></div>"}},G=s?[$i,ji,Ql]:[$i,ji];return Se(qi,{className:r("flex py-0",n),children:[Se("div",{className:"lightbox flex-1 py-6",children:[D("div",{className:"flex items-center justify-end md:justify-center mt-2 w-full",children:Se("div",{children:[m?m+1:1," / ",e?.length]})}),Se($l,{initialSlide:t,onSlideChange:({realIndex:N})=>{p(N),T();let w=document.querySelector(".swiper-pagination-bullet-active");w&&w.scrollIntoView({behavior:"smooth",block:"nearest"})},onDestroy:()=>{p(t),T()},slidesPerView:"auto",className:"swiper lightboxSwiper",navigation:{nextEl:".lightbox .next-lightbox",prevEl:".lightbox .prev-lightbox"},pagination:B,modules:G,lazy:{loadPrevNext:!0},children:[e.map((N,w)=>Se(jl,{children:[D("div",{className:"absolute top-28 bottom-28 left-0 right-0 min-h-0 sm:left-20 sm:right-20",children:D("img",{src:N.url,alt:"",className:"absolute h-full w-full object-contain",loading:"lazy"})}),D("div",{className:"swiper-lazy-preloader swiper-lazy-preloader-white"}),D("div",{className:"text-sm px-20 text-center text-white/80 absolute bottom-10 my-4 flex items-center justify-center w-full z-[999]",children:d})]},w)),D(se,{className:"disabled:bg-white/60 prev-lightbox button-swiper translate swiper-cate-merchant absolute inset-y-1/2 left-6 z-10 hidden h-12 w-12 -translate-y-1/2 cursor-pointer items-center justify-center rounded-full border border-gray-300 bg-white text-white shadow-md duration-200 ease-in-out hover:bg-white/80 hover:shadow-md md:flex",children:D(Xl,{className:"w-7 text-slate-900"})}),D(se,{className:"disabled:bg-white/60 next-lightbox translate swiper-cate-merchant button-swiper absolute inset-y-1/2 right-6 z-10 hidden h-12 w-12 -translate-y-1/2 cursor-pointer items-center justify-center rounded-full border border-gray-300 bg-white text-white shadow-md duration-300 ease-in-out hover:bg-white/80 hover:shadow-md md:flex",children:D(Zl,{className:"w-7 text-slate-900"})})]}),D("style",{children:`
172
- .lightbox {
173
- --lightbox-topnav: 112px;
174
- --lightbox-botnav: 80px;
175
- }
176
-
177
- @media (max-width: 639px) {
178
- .lightbox {
179
- --lightbox-topnav: 60px;
180
- --lightbox-botnav: 80px;
181
- }
182
- .lightbox .swiper-button-prev {
183
- display: none;
184
- }
185
-
186
- .lightbox .swiper-button-next {
187
- display: none;
188
- }
189
- .swiper-pagination{
190
- justify-content: start !important;
191
- }
192
- }
193
-
194
- .lightbox-content {
195
- top: var(--lightbox-topnav) !important;
196
- height: calc(100% - var(--lightbox-topnav)) !important;
197
- width: 100% !important;
198
- }
199
- .lightboxSwiper {
200
- width: 100%;
201
- height: 100%;
202
- padding: 0;
203
- }
204
-
205
- .lightboxSwiper .swiper-slide {
206
- text-align: center;
207
- display: -webkit-box;
208
- display: -ms-flexbox;
209
- display: -webkit-flex;
210
- display: flex;
211
- -webkit-box-pack: center;
212
- -ms-flex-pack: center;
213
- -webkit-justify-content: center;
214
- justify-content: center;
215
- -webkit-box-align: center;
216
- -ms-flex-align: center;
217
- -webkit-align-items: center;
218
- align-items: center;
219
- }
220
-
221
- .lightboxSwiper.swiper-slide img {
222
- display: block;
223
- width: 100%;
224
- height: 100%;
225
- }
226
- .swiper-wrapper{
227
- bottom: 0px;
228
- }
229
- .swiper-pagination{
230
- max-width: 100%;
231
- width: 100%;
232
- overflow-x: auto;
233
- display: flex;
234
- justify-content: center;
235
- }
236
-
237
- .swiper-pagination-bullet{
238
- background: unset;
239
- opacity: 1;
240
- }
241
- .swiper-pagination-bullet-active{
242
- border: 2px solid white;
243
- }
244
- `})]}),o&&D("div",{className:r("hidden md:flex overflow-y-auto bg-white text-gray-900 px-6 pb-4 pt-2 w-full max-w-sm lg:max-w-md",i),children:a})]})},sm=({children:e,className:t,open:o,onOpenChange:a})=>D("div",{className:r("lightbox-gallery ",t),children:D(Yl,{open:o,onOpenChange:a,children:tt.Children?.map(e,i=>{if(tt.isValidElement(i)){let n={},s=Object.keys(n).reduce((m,p)=>(n[p]!==void 0&&(m[p]=n[p]),m),{});return tt.cloneElement(i,s)}return null})})});import*as Le from"react";import*as Ee from"@radix-ui/react-radio-group";import{Circle as lm}from"lucide-react";import*as Dt from"@radix-ui/react-checkbox";import{CheckIcon as mm}from"@heroicons/react/16/solid";import{jsx as be,jsxs as Ji}from"react/jsx-runtime";var Xi=Le.createContext({hideIndicator:!1});function cm(){let e=Le.useContext(Xi);if(!e)throw new Error("ChoiceboxGroup.Item must be used within a ChoiceboxGroup ");return e}var Zi=Le.forwardRef(({className:e,hideIndicator:t=!1,...o},a)=>be(Xi.Provider,{value:{hideIndicator:t},children:be(Ee.Root,{className:r("grid gap-2",t&&"hide-indicator",e),...o,ref:a})}));Zi.displayName=Ee.Root.displayName;var Ki=Le.forwardRef(({className:e,children:t,...o},a)=>{let i=cm(),{hideIndicator:n}=i??{};return Ji(Ee.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:[be("div",{className:"flex-1 min-w-0",children:t}),!n&&be("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:be(Ee.Indicator,{className:"flex items-center justify-center w-full h-full rounded-full ",children:be(lm,{className:"h-1.5 w-1.5 fill-current text-current"})})})]})});Ki.displayName=Ee.Item.displayName;var Yi=Le.forwardRef(({className:e,children:t,...o},a)=>Ji(Dt.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:[be("div",{className:"flex-1 min-w-0",children:t}),be("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:be(Dt.Indicator,{className:r("flex items-center justify-center text-current"),children:be(mm,{className:"h-4 w-4"})})})]}));Yi.displayName=Dt.Root.displayName;import{cva as pm}from"class-variance-authority";import{jsx as gm}from"react/jsx-runtime";var er=pm("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 dm({className:e,variant:t,...o}){return gm("div",{className:r(er({variant:t}),e),...o})}import*as or from"react";import*as At from"@radix-ui/react-progress";import{cva as ar}from"class-variance-authority";import{jsx as tr}from"react/jsx-runtime";var fm=ar("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"}}),um=ar("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"}}),ir=or.forwardRef(({className:e,value:t,variant:o="progress",size:a="medium",disabled:i=!1,...n},s)=>tr(At.Root,{ref:s,className:r("",um({size:a}),e),...n,children:tr(At.Indicator,{className:r("",fm({variant:o})),style:{transform:`translateX(-${100-(t||0)}%)`}})}));ir.displayName=At.Root.displayName;import{forwardRef as Pm}from"react";import{CheckIcon as vm}from"@heroicons/react/24/outline";import{cva as bm}from"class-variance-authority";import rr from"html-react-parser";import{Fragment as xm,jsx as _e,jsxs as Mt}from"react/jsx-runtime";var hm=bm("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}}),nr=({template:e,name:t,description:o,image:a,idx:i,value:n,suffix:s,unit:m})=>_e(xm,{children:(()=>{switch(e){case 1:case 3:return Mt("li",{className:"flex items-center space-x-4",children:[a?_e("img",{src:a,alt:"",className:"shrink-0"}):_e("div",{className:"bg-pink-100 p-1 rounded-full w-5 h-5 flex items-center justify-center",children:_e(vm,{className:"w-4 h-4 text-pink-500 "})}),t&&_e("div",{className:"ml-2 leading-tight",children:rr(t)})]});case 2:return Mt("div",{className:r("odd:border-0 odd:pr-4 even:pl-4 even:border-l border-gray-100 md:border-l md:odd:border-l md:odd:pr-0",i>0?"md:pl-4":"md:!border-0"),children:[n&&Mt("div",{className:"font-bold text-gray-900 line-clamp-2",children:[n,(s||m)&&Mt("span",{children:[s," ",m]})]}),o&&_e("div",{className:"text-sm mt-1 text-gray-500 leading-tight",children:rr(o)})]});default:return null}})()}),ro=({dataFeatures:e,template:t=1,dataStats:o})=>Mt("ul",{className:r("",hm({template:t})),children:[(t===1||t===3)&&e?.map((a,i)=>_e(nr,{name:a?.name,template:t,image:a?.image,idx:i},i)),t===2&&o?.map((a,i)=>_e(nr,{value:a?.value,suffix:a?.suffix,unit:a?.unit,template:t,description:a?.description,idx:i},i))]});import*as sr from"@radix-ui/react-aspect-ratio";var gt=sr.Root;import{Fragment as wm,jsx as X,jsxs as Qo}from"react/jsx-runtime";var lr=e=>typeof e=="string"?e?.split("/")?.map(Number)?.reduce((a,i)=>a/i):e,ym=({src:e,ratio:t,className:o,youtubeId:a,onClickFC:i=()=>{}})=>Qo(gt,{className:r(""),ratio:lr(t),children:[X("img",{src:e,className:r("w-full h-full object-cover md:block hidden",o,e?"":"bg-gray-200"),alt:""}),a&&X("div",{className:"aspect-[16/9] realtive overflow-hidden w-full md:hidden",children:X("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&&Qo($e,{children:[X(go,{onClick:i,children:X("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:X("svg",{className:"w-14 h-14",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg",children:Qo("g",{fill:"none",fillRule:"evenodd",children:[X("circle",{stroke:"#FFF",strokeWidth:2,fillOpacity:".24",fill:"#000",cx:24,cy:24,r:23}),X("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"})]})})})}),X(De,{hideCloseBtn:!0,className:"w-full h-full !shadow-none !bg-transparent flex items-center justify-center bg-gray-900 p-0",children:X("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:""})})]})]}),It=({type:e=1,src:t,ratio:o,className:a,youtubeId:i,onClickFC:n=()=>{}})=>X(wm,{children:i?X(ym,{type:e,src:t,ratio:o,youtubeId:i,onClickFC:n}):X(gt,{className:r(""),ratio:lr(o),children:X("img",{src:t,className:r("w-full h-full object-cover",a,t?"":"bg-gray-200"),alt:""})})});import{Fragment as Nm,jsx as W,jsxs as Lt}from"react/jsx-runtime";var Uo=({dataHeading:e,dataButtons:t,dataFeatures:o,template:a,dataStats:i,dataMedia:n,advancedComponent:s})=>Lt("div",{className:r("grid grid-cols-1 md:grid-cols-2 md:gap-6 gap-8 items-center"),children:[Lt("div",{className:"col-span-1 ",children:[W(k,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading||"h1",align:e?.align||"left",sizeHeading:e?.sizeHeading,className:`${e?.className} mb-0 md:mb-0`}),W(ro,{dataFeatures:o,template:a,dataStats:i}),t&&W(_,{align:t?.align,isFullInMobile:t?.isFullInMobile,buttons:t?.buttons})]}),W("div",{className:"col-span-1 md:pl-10",children:s||W(It,{type:n?.type||1,src:n?.src||"",ratio:n?.ratio,youtubeId:n?.youtubeId})})]}),mr=({dataHeading:e,dataButtons:t,dataFeatures:o,template:a,dataStats:i,dataMedia:n,advancedComponent:s})=>Lt("div",{className:r("grid grid-cols-1 md:grid-cols-2 gap-16 items-center"),children:[W("div",{className:"col-span-1",children:W("div",{className:"hidden md:block",children:s||W(It,{type:n?.type||1,src:n?.src||"",ratio:n?.ratio,youtubeId:n?.youtubeId})})}),Lt("div",{className:"col-span-1",children:[W(k,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading||"h1",align:e?.align||"left",sizeHeading:e?.sizeHeading,className:e?.className}),W(ro,{dataFeatures:o,template:a,dataStats:i}),W("div",{className:"md:hidden mt-10",children:s||W(It,{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(_,{align:t?.align,isFullInMobile:t?.isFullInMobile,buttons:t?.buttons})})]})]}),cr=({dataHeading:e,dataButtons:t,dataFeatures:o,template:a,dataStats:i,dataMedia:n,advancedComponent:s})=>Lt(Nm,{children:[W(k,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading||"h1",align:e?.align,sizeHeading:e?.sizeHeading,className:`${e?.className||""} mb-0 md:mb-0`}),t&&W(_,{align:t?.align,isFullInMobile:t?.isFullInMobile,buttons:t?.buttons,className:"w-full md:w-full inline-flex items-center justify-center text-base font-semibold text-center"}),W(ro,{dataFeatures:o,template:a,dataStats:i}),s||W(It,{type:n?.type||1,src:n?.src||"",ratio:n?.ratio,youtubeId:n?.youtubeId,className:"rounded-lg"})]});import{Fragment as Sm,jsx as ot}from"react/jsx-runtime";var Cm=`var(
167
+ `})]})});import*as ee from"@radix-ui/react-dialog";import lr,{useContext as Sm,useEffect as sr,useState as sa}from"react";import{X as Dm}from"lucide-react";import Im from"lodash";import*as nr from"@radix-ui/react-aspect-ratio";var he=nr.Root;import{jsx as V,jsxs as Me}from"react/jsx-runtime";var mr=lr.createContext(void 0);function cr(){let e=Sm(mr);if(!e)throw new Error("useLightboxGalleryContext must be used within a LightboxGallery");return e}var la=({children:e,open:t,onOpenChange:o,className:a})=>V(mr.Provider,{value:{open:t,onOpenChange:o},children:V(ee.Root,{open:t,onOpenChange:o,children:V("div",{className:r("lightbox-gallery",a),children:e})})}),Mm=({children:e,src:t,alt:o,className:a,classNameImage:i,onClick:n,ratio:s=4/3})=>{let{onOpenChange:l}=cr(),d=()=>{n?.(),l&&l(!0)};return Me(ee.Trigger,{className:r("",a),onClick:d,children:[e,V(he,{ratio:s,className:"rounded-lg cursor-pointer",children:V("img",{src:t,alt:o,className:r("w-full h-full object-cover rounded-lg",i)})})]})},dr=lr.forwardRef(({className:e,children:t,...o},a)=>{let{onOpenChange:i}=cr(),n=()=>{i&&i(!1)};return Me(ee.Portal,{children:[V(ee.Overlay,{className:"bg-black fixed inset-0 bg-black/80 z-50"}),Me(ee.Content,{ref:a,className:r("fixed z-[999] w-full h-full inset-0 grid w-full mx-auto bg-black duration-200","data-[state=open]:animate-in data-[state=closed]:animate-out","data-[state=open]:fade-in-0 data-[state=closed]:fade-out-0",e),...o,children:[t,Me(ee.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:[V(Dm,{className:"h-4 w-4 mt-0.5"}),V("div",{className:"",children:"\u0110\xF3ng c\u1EEDa s\u1ED5"})]})]})]})});dr.displayName=ee.Content.displayName;var ma=({images:e,activeSlideIndex:t=0,withSideBar:o,subHtmlSideBar:a,classNameSubHtmSideBar:i})=>{let[n,s]=sa(""),[l,d]=sa(),[p,f]=sa(0);sr(()=>{l&&(f(l.selectedScrollSnap()+1),l.on("select",()=>{f(l.selectedScrollSnap()+1)}))},[l]);let v=N=>{let M=Im.filter(e,(z,$)=>$===(N>0?N-1:N)),H=M.length>0?M[0]?.titleImage:"";s(H)};return sr(()=>{v(p)},[p]),Me(dr,{className:"flex py-0",children:[Me("div",{className:" flex-1 relative",children:[Me("div",{className:"flex items-center text-sm justify-center absolute top-8 md:top-10 w-full",children:[p||1," / ",e?.length]}),Me(Jt,{opts:{startIndex:t},setApi:d,className:"w-full h-full relative",children:[V(eo,{className:r("h-screen -ml-3 md:-ml-4",o?"sm:w-[calc(100vw-448px)] w-screen":"w-screen"),children:e.map((N,M)=>V(to,{className:"pl-6 md:pl-4",children:Me("div",{className:" w-full h-full relative pt-28 overflow-hidden flex flex-col",children:[V("div",{className:"flex-1 relative",children:V("img",{src:N.url,alt:"",className:"absolute h-full w-full object-contain"})}),V("div",{className:"flex-0",children:V("div",{className:"text-sm px-20 text-center text-white/80 my-4 flex items-center justify-center w-full",children:V("div",{className:"line-clamp-3",children:n})})})]})},M))}),V(oo,{className:"left-10 top-[50%] w-10 h-10 sm:opacity-100 opacity-0"}),V(ao,{className:"right-10 top-[50%] w-10 h-10 sm:opacity-100 opacity-0"})]})]}),o&&V("div",{className:r("hidden md:block bg-white text-gray-900 p-6 w-full max-w-md",i),children:a})]})};import*as He from"react";import*as ze from"@radix-ui/react-radio-group";import{Circle as Am}from"lucide-react";import*as Bt from"@radix-ui/react-checkbox";import{CheckIcon as Lm}from"@heroicons/react/16/solid";import{jsx as ye,jsxs as vr}from"react/jsx-runtime";var pr=He.createContext({hideIndicator:!1});function Em(){let e=He.useContext(pr);if(!e)throw new Error("ChoiceboxGroup.Item must be used within a ChoiceboxGroup ");return e}var fr=He.forwardRef(({className:e,hideIndicator:t=!1,...o},a)=>ye(pr.Provider,{value:{hideIndicator:t},children:ye(ze.Root,{className:r("grid gap-2",t&&"hide-indicator",e),...o,ref:a})}));fr.displayName=ze.Root.displayName;var gr=He.forwardRef(({className:e,children:t,...o},a)=>{let i=Em(),{hideIndicator:n}=i??{};return vr(ze.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:[ye("div",{className:"flex-1 min-w-0",children:t}),!n&&ye("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:ye(ze.Indicator,{className:"flex items-center justify-center w-full h-full rounded-full ",children:ye(Am,{className:"h-1.5 w-1.5 fill-current text-current"})})})]})});gr.displayName=ze.Item.displayName;var ur=He.forwardRef(({className:e,children:t,...o},a)=>vr(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:[ye("div",{className:"flex-1 min-w-0",children:t}),ye("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:ye(Bt.Indicator,{className:r("flex items-center justify-center text-current"),children:ye(Lm,{className:"h-4 w-4"})})})]}));ur.displayName=Bt.Root.displayName;import{cva as Fm}from"class-variance-authority";import{jsx as Hm}from"react/jsx-runtime";var xr=Fm("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 _m({className:e,variant:t,...o}){return Hm("div",{className:r(xr({variant:t}),e),...o})}import*as hr from"react";import*as Vt from"@radix-ui/react-progress";import{cva as yr}from"class-variance-authority";import{jsx as br}from"react/jsx-runtime";var zm=yr("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"}}),Bm=yr("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"}}),wr=hr.forwardRef(({className:e,value:t,variant:o="progress",size:a="medium",disabled:i=!1,...n},s)=>br(Vt.Root,{ref:s,className:r("",Bm({size:a}),e),...n,children:br(Vt.Indicator,{className:r("",zm({variant:o})),style:{transform:`translateX(-${100-(t||0)}%)`}})}));wr.displayName=Vt.Root.displayName;import{forwardRef as Um}from"react";import{CheckIcon as Vm}from"@heroicons/react/24/outline";import{cva as Om}from"class-variance-authority";import Nr from"html-react-parser";import{Fragment as $m,jsx as Be,jsxs as Ot}from"react/jsx-runtime";var Gm=Om("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}}),Pr=({template:e,name:t,description:o,image:a,idx:i,value:n,suffix:s,unit:l})=>Be($m,{children:(()=>{switch(e){case 1:case 3:return Ot("li",{className:"flex items-center space-x-4",children:[a?Be("img",{src:a,alt:"",className:"shrink-0"}):Be("div",{className:"bg-pink-100 p-1 rounded-full w-5 h-5 flex items-center justify-center",children:Be(Vm,{className:"w-4 h-4 text-pink-500 "})}),t&&Be("div",{className:"ml-2 leading-tight",children:Nr(t)})]});case 2:return Ot("div",{className:r("odd:border-0 odd:pr-4 even:pl-4 even:border-l border-gray-100 md:border-l md:odd:border-l md:odd:pr-0",i>0?"md:pl-4":"md:!border-0"),children:[n&&Ot("div",{className:"font-bold text-gray-900 line-clamp-2",children:[n,(s||l)&&Ot("span",{children:[s," ",l]})]}),o&&Be("div",{className:"text-sm mt-1 text-gray-500 leading-tight",children:Nr(o)})]});default:return null}})()}),ho=({dataFeatures:e,template:t=1,dataStats:o})=>Ot("ul",{className:r("",Gm({template:t})),children:[(t===1||t===3)&&e?.map((a,i)=>Be(Pr,{name:a?.name,template:t,image:a?.image,idx:i},i)),t===2&&o?.map((a,i)=>Be(Pr,{value:a?.value,suffix:a?.suffix,unit:a?.unit,template:t,description:a?.description,idx:i},i))]});import{Fragment as jm,jsx as X,jsxs as ca}from"react/jsx-runtime";var Cr=e=>typeof e=="string"?e?.split("/")?.map(Number)?.reduce((a,i)=>a/i):e,Wm=({src:e,ratio:t,className:o,youtubeId:a,onClickFC:i=()=>{}})=>ca(he,{className:r(""),ratio:Cr(t),children:[X("img",{src:e,className:r("w-full h-full object-cover md:block hidden",o,e?"":"bg-gray-200"),alt:""}),a&&X("div",{className:"aspect-[16/9] realtive overflow-hidden w-full md:hidden",children:X("iframe",{title:a,src:`https://www.youtube.com/embed/${a}?controls=1`,frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",referrerPolicy:"strict-origin-when-cross-origin",allowFullScreen:!0,className:"w-full h-full object-cover md:hidden"})}),a&&ca(qe,{children:[X(Io,{onClick:i,children:X("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:X("svg",{className:"w-14 h-14",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg",children:ca("g",{fill:"none",fillRule:"evenodd",children:[X("circle",{stroke:"#FFF",strokeWidth:2,fillOpacity:".24",fill:"#000",cx:24,cy:24,r:23}),X("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"})]})})})}),X(Ae,{hideCloseBtn:!0,className:"w-full h-full !shadow-none !bg-transparent flex items-center justify-center bg-gray-900 p-0",children:X("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:""})})]})]}),Gt=({type:e=1,src:t,ratio:o,className:a,youtubeId:i,onClickFC:n=()=>{}})=>X(jm,{children:i?X(Wm,{type:e,src:t,ratio:o,youtubeId:i,onClickFC:n}):X(he,{className:r(""),ratio:Cr(o),children:X("img",{src:t,className:r("w-full h-full object-cover",a,t?"":"bg-gray-200"),alt:""})})});import{Fragment as Qm,jsx as O,jsxs as $t}from"react/jsx-runtime";var da=({dataHeading:e,dataButtons:t,dataFeatures:o,template:a,dataStats:i,dataMedia:n,advancedComponent:s})=>$t("div",{className:r("grid grid-cols-1 md:grid-cols-2 md:gap-6 gap-8 items-center"),children:[$t("div",{className:"col-span-1 ",children:[O(P,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading||"h1",align:e?.align||"left",sizeHeading:e?.sizeHeading,className:`${e?.className} mb-0 md:mb-0`}),O(ho,{dataFeatures:o,template:a,dataStats:i}),t&&O(E,{align:t?.align,isFullInMobile:t?.isFullInMobile,buttons:t?.buttons})]}),O("div",{className:"col-span-1 md:pl-10",children:s||O(Gt,{type:n?.type||1,src:n?.src||"",ratio:n?.ratio,youtubeId:n?.youtubeId})})]}),Rr=({dataHeading:e,dataButtons:t,dataFeatures:o,template:a,dataStats:i,dataMedia:n,advancedComponent:s})=>$t("div",{className:r("grid grid-cols-1 md:grid-cols-2 gap-16 items-center"),children:[O("div",{className:"col-span-1",children:O("div",{className:"hidden md:block",children:s||O(Gt,{type:n?.type||1,src:n?.src||"",ratio:n?.ratio,youtubeId:n?.youtubeId})})}),$t("div",{className:"col-span-1",children:[O(P,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading||"h1",align:e?.align||"left",sizeHeading:e?.sizeHeading,className:e?.className}),O(ho,{dataFeatures:o,template:a,dataStats:i}),O("div",{className:"md:hidden mt-10",children:s||O(Gt,{type:n?.type||1,src:n?.src||"",ratio:n?.ratio,youtubeId:n?.youtubeId})}),t&&O("div",{className:"w-full flex items-center justify-center md:justify-start",children:O(E,{align:t?.align,isFullInMobile:t?.isFullInMobile,buttons:t?.buttons})})]})]}),Tr=({dataHeading:e,dataButtons:t,dataFeatures:o,template:a,dataStats:i,dataMedia:n,advancedComponent:s})=>$t(Qm,{children:[O(P,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading||"h1",align:e?.align,sizeHeading:e?.sizeHeading,className:`${e?.className||""} mb-0 md:mb-0`}),t&&O(E,{align:t?.align,isFullInMobile:t?.isFullInMobile,buttons:t?.buttons,className:"w-full md:w-full inline-flex items-center justify-center text-base font-semibold text-center"}),O(ho,{dataFeatures:o,template:a,dataStats:i}),s||O(Gt,{type:n?.type||1,src:n?.src||"",ratio:n?.ratio,youtubeId:n?.youtubeId,className:"rounded-lg"})]});import{Fragment as Ym,jsx as nt}from"react/jsx-runtime";var Xm=`var(
245
168
  --gradient-pink-1,
246
169
  linear-gradient(
247
170
  38deg,
@@ -263,11 +186,11 @@ import*as vt from"react";import*as ee from"@radix-ui/react-accordion";import{Che
263
186
  rgba(255, 255, 255, 0) 80%
264
187
  ),
265
188
  #fff
266
- )`,Rm=({template:e,dataHeading:t,dataButtons:o,dataFeatures:a,dataStats:i,dataMedia:n,advancedComponent:s})=>{switch(e){case 1:return ot(Uo,{dataHeading:t,dataButtons:o,dataFeatures:a,dataStats:i,template:e,dataMedia:n,advancedComponent:s});case 2:return ot(mr,{dataHeading:t,dataButtons:o,dataFeatures:a,dataStats:i,template:e,dataMedia:n,advancedComponent:s});case 3:return ot(cr,{dataHeading:t,dataButtons:o,dataFeatures:a,dataStats:i,template:e,dataMedia:n,advancedComponent:s});default:return ot(Uo,{dataHeading:t,dataButtons:o,dataFeatures:a,dataStats:i,template:e,dataMedia:n,advancedComponent:s})}},Tm=({template:e,dataHeading:t,dataButtons:o,dataFeatures:a,dataStats:i,dataMedia:n,advancedComponent:s})=>ot(Sm,{children:Rm({template:e,dataHeading:t,dataButtons:o,dataFeatures:a,dataStats:i,dataMedia:n,advancedComponent:s})}),km=Pm(({template:e=1,dataHeading:t,dataButtons:o,dataFeatures:a,dataStats:i,dataMedia:n,className:s,background:m,advancedComponent:p=null})=>ot(fe,{className:r(s),background:m??Cm,children:ot(Tm,{dataButtons:o,template:e,dataHeading:t,dataFeatures:a,dataStats:i,dataMedia:n,advancedComponent:p})}));import z from"html-react-parser";import{ChevronRightIcon as Dm}from"@heroicons/react/16/solid";import{Fragment as He,jsx as l,jsxs as g}from"react/jsx-runtime";var he=({btnLink:e,btnName:t,newTab:o})=>l(lt,{variant:"primary",asChild:!0,children:g("a",{href:e,target:o?"_blank":"_self",rel:"noreferrer",children:[t||"Xem chi ti\u1EBFt",l(Dm,{className:"w-4 h-4"})]})}),qo=({dataHeading:e,dataFeatures:t,dataButtons:o})=>g(He,{children:[e&&l(k,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:e?.align,colorScheme:"pink",sizeHeading:e?.sizeHeading,className:e?.className}),t&&l("div",{className:"list-features grid grid-cols-1 md:grid-cols-3 gap-8 lg:gap-12",children:t?.map((a,i)=>g("div",{className:"feature-item relative w-full text-center flex flex-col",children:[l("div",{className:"w-16 h-16 mx-auto",children:l("img",{src:a?.image,alt:a?.name,className:"w-full h-full object-contain"})}),g("div",{className:"w-full mt-4 flex-1",children:[g("div",{className:"flex-1",children:[a?.name&&l("h3",{className:"text-lg font-semibold",children:z(a.name)}),a?.description&&l("div",{className:"text-gray-600 mt-2 text-base",children:z(a.description)})]}),a?.btnLink&&l("div",{className:"mt-4",children:l(he,{btnLink:a.btnLink,btnName:a?.btnName,newTab:a?.newTab})})]})]},i))}),o&&l(_,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:o?.align||"left"})]}),pr=({dataHeading:e,dataFeatures:t,dataButtons:o})=>g(He,{children:[e&&l(k,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:e?.align,colorScheme:"pink",sizeHeading:e?.sizeHeading,className:e?.className}),t&&l("div",{className:"list-features list-features-2 grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6",children:t?.map((a,i)=>g("div",{className:"feature-item p-5 overflow-hidden border border-gray-200 rounded-md relative w-full flex flex-col",children:[l("div",{className:"w-16 h-16",children:l("img",{src:a?.image,alt:a?.name,className:"w-full h-full object-contain"})}),g("div",{className:"w-full mt-4 flex flex-1 flex-col",children:[g("div",{className:"flex-1",children:[a?.name&&l("h3",{className:"text-lg font-semibold",children:z(a.name)}),a?.description&&l("div",{className:"text-gray-600 mt-2 text-base",children:z(a.description)})]}),a?.btnLink&&l("div",{className:"mt-4",children:l(he,{btnLink:a.btnLink,btnName:a?.btnName,newTab:a?.newTab})})]})]},i))}),o&&l(_,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:o?.align||"left"}),l("style",{children:`
189
+ )`,qm=({template:e,dataHeading:t,dataButtons:o,dataFeatures:a,dataStats:i,dataMedia:n,advancedComponent:s})=>{switch(e){case 1:return nt(da,{dataHeading:t,dataButtons:o,dataFeatures:a,dataStats:i,template:e,dataMedia:n,advancedComponent:s});case 2:return nt(Rr,{dataHeading:t,dataButtons:o,dataFeatures:a,dataStats:i,template:e,dataMedia:n,advancedComponent:s});case 3:return nt(Tr,{dataHeading:t,dataButtons:o,dataFeatures:a,dataStats:i,template:e,dataMedia:n,advancedComponent:s});default:return nt(da,{dataHeading:t,dataButtons:o,dataFeatures:a,dataStats:i,template:e,dataMedia:n,advancedComponent:s})}},Zm=({template:e,dataHeading:t,dataButtons:o,dataFeatures:a,dataStats:i,dataMedia:n,advancedComponent:s})=>nt(Ym,{children:qm({template:e,dataHeading:t,dataButtons:o,dataFeatures:a,dataStats:i,dataMedia:n,advancedComponent:s})}),Km=Um(({template:e=1,dataHeading:t,dataButtons:o,dataFeatures:a,dataStats:i,dataMedia:n,className:s,background:l,advancedComponent:d=null})=>nt(ne,{className:r(s),background:l??Xm,children:nt(Zm,{dataButtons:o,template:e,dataHeading:t,dataFeatures:a,dataStats:i,dataMedia:n,advancedComponent:d})}));import _ from"html-react-parser";import{ChevronRightIcon as Jm}from"@heroicons/react/16/solid";import{Fragment as Ve,jsx as m,jsxs as g}from"react/jsx-runtime";var we=({btnLink:e,btnName:t,newTab:o})=>m(vt,{variant:"primary",asChild:!0,children:g("a",{href:e,target:o?"_blank":"_self",rel:"noreferrer",children:[t||"Xem chi ti\u1EBFt",m(Jm,{className:"w-4 h-4"})]})}),pa=({dataHeading:e,dataFeatures:t,dataButtons:o})=>g(Ve,{children:[e&&m(P,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:e?.align,colorScheme:"pink",sizeHeading:e?.sizeHeading,className:e?.className}),t&&m("div",{className:"list-features grid grid-cols-1 md:grid-cols-3 gap-8 lg:gap-12",children:t?.map((a,i)=>g("div",{className:"feature-item relative w-full text-center flex flex-col",children:[m("div",{className:"w-16 h-16 mx-auto",children:m("img",{src:a?.image,alt:a?.name,className:"w-full h-full object-contain"})}),g("div",{className:"w-full mt-4 flex-1",children:[g("div",{className:"flex-1",children:[a?.name&&m("h3",{className:"text-lg font-semibold",children:_(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(we,{btnLink:a.btnLink,btnName:a?.btnName,newTab:a?.newTab})})]})]},i))}),o&&m(E,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:o?.align||"left"})]}),kr=({dataHeading:e,dataFeatures:t,dataButtons:o})=>g(Ve,{children:[e&&m(P,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:e?.align,colorScheme:"pink",sizeHeading:e?.sizeHeading,className:e?.className}),t&&m("div",{className:"list-features list-features-2 grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6",children:t?.map((a,i)=>g("div",{className:"feature-item p-5 overflow-hidden border border-gray-200 rounded-md relative w-full flex flex-col",children:[m("div",{className:"w-16 h-16",children:m("img",{src:a?.image,alt:a?.name,className:"w-full h-full object-contain"})}),g("div",{className:"w-full mt-4 flex flex-1 flex-col",children:[g("div",{className:"flex-1",children:[a?.name&&m("h3",{className:"text-lg font-semibold",children:_(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(we,{btnLink:a.btnLink,btnName:a?.btnName,newTab:a?.newTab})})]})]},i))}),o&&m(E,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:o?.align||"left"}),m("style",{children:`
267
190
  .list-features-2 .feature-item {
268
191
  background: linear-gradient(180deg, #FAFAFA 0%, rgba(255, 255, 255, 1) 91%);
269
192
  }
270
- `})]}),dr=({dataHeading:e,dataFeatures:t,dataButtons:o})=>g(He,{children:[e&&l(k,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:e?.align||"left",colorScheme:"pink",sizeHeading:e?.sizeHeading,className:e?.className}),t&&l("div",{className:"list-features grid grid-cols-1 md:grid-cols-3 gap-8 lg:gap-12",children:t?.map((a,i)=>g("div",{className:"feature-item relative w-full flex flex-col",children:[l("div",{className:"w-16 h-16",children:l("img",{src:a?.image,alt:a?.name,className:"w-full h-full object-contain"})}),g("div",{className:"w-full mt-4 flex-1",children:[g("div",{className:"flex-1",children:[a?.name&&l("h3",{className:"text-lg font-semibold",children:z(a.name)}),a?.description&&l("div",{className:"text-gray-600 mt-2 text-base",children:z(a.description)})]}),a?.btnLink&&l("div",{className:"mt-4",children:l(he,{btnLink:a.btnLink,btnName:a?.btnName,newTab:a?.newTab})})]})]},i))}),o&&l(_,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:o?.align||"left"})]}),gr=({dataHeading:e,dataFeatures:t,dataButtons:o})=>g("div",{className:"grid grid-cols-1 lg:grid-cols-10 gap-0 lg:gap-12",children:[g("div",{className:"lg:col-span-4 lg:flex lg:flex-col lg:justify-center",children:[e&&l(k,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:e?.align||"left",colorScheme:"pink",sizeHeading:e?.sizeHeading,className:r("lg:mb-0",e?.className)}),o&&l(_,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:`hidden lg:flex ${o?.className}`,align:"left"})]}),g("div",{className:"lg:col-span-6",children:[t&&l("div",{className:"list-features grid grid-cols-1 md:grid-cols-2 gap-6 md:gap-5",children:t?.map((a,i)=>g("div",{className:"feature-item relative w-full flex flex-col border border-gray-200 rounded-lg p-5 bg-white",children:[l("div",{className:"w-16 h-16",children:l("img",{src:a?.image,alt:a?.name,className:"w-full h-full object-contain"})}),g("div",{className:"w-full mt-4 flex flex-1 flex-col",children:[g("div",{className:"flex-1",children:[a?.name&&l("h3",{className:"text-lg font-semibold",children:z(a.name)}),a?.description&&l("div",{className:"text-gray-600 mt-2 text-base",children:z(a.description)})]}),a?.btnLink&&l("div",{className:"mt-4",children:l(he,{btnLink:a.btnLink,btnName:a?.btnName,newTab:a?.newTab})})]})]},i))}),o&&l(_,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:`flex lg:hidden ${o?.className}`,align:o?.align||"left"})]})]}),fr=({dataHeading:e,dataFeatures:t,dataButtons:o})=>g(He,{children:[e&&l(k,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:e?.align,colorScheme:"pink",sizeHeading:e?.sizeHeading,className:e?.className}),t&&l("div",{className:"list-features grid grid-cols-1 md:grid-cols-2 gap-5 max-w-4xl mx-auto",children:t?.map((a,i)=>g("div",{className:"feature-item relative w-full flex flex-col border border-gray-200 rounded-lg p-7 bg-white",children:[l("div",{className:"w-12 h-12 ",children:l("img",{src:a?.image,alt:a?.name,className:"w-full h-full object-contain"})}),g("div",{className:"w-full mt-4 flex flex-1 flex-col",children:[g("div",{className:"flex-1",children:[a?.name&&l("h3",{className:"text-lg font-semibold",children:z(a.name)}),a?.description&&l("div",{className:"text-gray-600 mt-2 text-base",children:z(a.description)})]}),a?.btnLink&&l("div",{className:"mt-4",children:l(he,{btnLink:a.btnLink,btnName:a?.btnName,newTab:a?.newTab})})]})]},i))}),o&&l(_,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:o?.align||"left"})]}),ur=({dataHeading:e,dataFeatures:t,dataButtons:o})=>g(He,{children:[e&&l(k,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:e?.align,colorScheme:"pink",sizeHeading:e?.sizeHeading,className:e?.className}),t&&l("div",{className:"list-features grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8 lg:gap-x-7 lg:gap-y-10",children:t?.map((a,i)=>g("div",{className:"feature-item relative w-full",children:[l("div",{className:"w-12 h-12",children:l("img",{src:a?.image,alt:a?.name,className:"w-full h-full object-contain"})}),g("div",{className:"w-full mt-3 flex flex-1 flex-col",children:[g("div",{className:"flex-1",children:[a?.name&&l("h3",{className:"text-lg font-semibold",children:z(a.name)}),a?.description&&l("div",{className:"text-gray-500 mt-2 text-sm",children:z(a.description)})]}),a?.btnLink&&l("div",{className:"mt-4",children:l(he,{btnLink:a.btnLink,btnName:a?.btnName,newTab:a?.newTab})})]})]},i))}),o&&l(_,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:o?.align||"left"})]}),vr=({dataHeading:e,dataFeatures:t,dataButtons:o})=>g(He,{children:[e&&l(k,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:e?.align,colorScheme:"pink",sizeHeading:e?.sizeHeading,className:e?.className}),t&&l("div",{className:"list-features grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8 lg:gap-x-6 lg:gap-y-8",children:t?.map((a,i)=>g("div",{className:"feature-item relative w-full flex gap-3",children:[l("div",{className:"w-12 h-12",children:l("img",{src:a?.image,alt:a?.name,className:"w-full h-full object-contain"})}),g("div",{className:"w-full flex-1",children:[a?.name&&l("h3",{className:"text-lg font-semibold",children:z(a.name)}),a?.description&&l("div",{className:"text-gray-500 mt-2 text-sm",children:z(a.description)}),a?.btnLink&&l("div",{className:"mt-4",children:l(he,{btnLink:a.btnLink,btnName:a?.btnName,newTab:a?.newTab})})]})]},i))}),o&&l(_,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:o?.align||"left"})]}),br=({dataHeading:e,dataFeatures:t,dataButtons:o})=>g(He,{children:[e&&l(k,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:e?.align||"left",colorScheme:"pink",sizeHeading:e?.sizeHeading,className:e?.className}),t&&l("div",{className:"list-features grid grid-cols-1 md:grid-cols-3 gap-6",children:t?.map((a,i)=>g("div",{className:"feature-item relative w-full flex flex-col overflow-hidden bg-gray-100 rounded-xl",children:[g("div",{className:"w-full flex flex-1 flex-col p-5",children:[g("div",{className:"flex-1",children:[a?.name&&l("h3",{className:"text-lg font-semibold",children:z(a.name)}),a?.description&&l("div",{className:"text-gray-600 mt-2 text-base",children:z(a.description)})]}),a?.btnLink&&l("div",{className:"mt-4",children:l(he,{btnLink:a.btnLink,btnName:a?.btnName,newTab:a?.newTab})})]}),l("div",{className:"w-full",style:{aspectRatio:"347/220"},children:l("img",{src:a?.image,alt:a?.name,className:"w-full h-full object-contain"})})]},i))}),o&&l(_,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:o?.align||"left"})]}),hr=({dataHeading:e,dataFeatures:t,dataButtons:o,dataBanner:a})=>g("div",{className:"grid grid-cols-1 lg:grid-cols-10 gap-10 lg:gap-14",children:[l("div",{className:"lg:col-span-6 flex items-center",children:g("div",{className:"w-full",children:[e&&l(k,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:e?.align||"left",colorScheme:"pink",sizeHeading:e?.sizeHeading,className:e?.className}),t&&l("div",{className:"list-features grid grid-cols-1 md:grid-cols-2 gap-6 md:auto-cols-auto",children:t?.map((i,n)=>g("div",{className:"feature-item relative w-full flex flex-col",children:[l("div",{className:"w-10 h-10",children:l("img",{src:i?.image,alt:i?.name,className:"w-full h-full object-contain"})}),g("div",{className:"w-full mt-3 flex flex-1 flex-col",children:[g("div",{className:"flex-1",children:[i?.name&&l("h3",{className:"text-lg font-semibold",children:z(i.name)}),i?.description&&l("div",{className:"text-gray-600 mt-2 text-base",children:z(i.description)})]}),i?.btnLink&&l("div",{className:"mt-4",children:l(he,{btnLink:i.btnLink,btnName:i?.btnName,newTab:i?.newTab})})]})]},n))}),o&&l(_,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:o?.align||"left"})]})}),a&&l("div",{className:"lg:col-span-4 flex items-center",children:l("div",{className:"max-w-md mx-auto w-full",children:l(gt,{ratio:a?.ratio||1,className:"w-full",children:l("img",{src:a?.src,alt:a?.alt,loading:"lazy",className:"h-full w-full object-cover"})})})})]}),xr=({dataHeading:e,dataFeatures:t,dataBanner:o,dataButtons:a})=>g(He,{children:[e&&l(k,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:e?.align,colorScheme:"pink",sizeHeading:e?.sizeHeading,className:e?.className}),l("div",{className:r("relative flex items-center",o&&"lg:min-h-[590px]"),children:t&&g("div",{className:r("list-features grid grid-cols-1 md:grid-cols-2 gap-8",o?"lg:gap-y-16 lg:gap-x-0 lg:flex-wrap lg:flex lg:flex-row":"max-w-4xl mx-auto"),children:[t?.map((i,n)=>g("div",{className:r("feature-item relative w-full",o&&"lg:basis-1/2 odd:lg:pr-48 even:lg:pl-48"),children:[l("div",{className:"w-12 h-12",children:l("img",{src:i?.image,alt:i?.name,className:"w-full h-full object-contain"})}),g("div",{className:"w-full mt-3 flex flex-1 flex-col",children:[g("div",{className:"flex-1",children:[i?.name&&l("h3",{className:"text-lg font-semibold",children:z(i.name)}),i?.description&&l("div",{className:"text-gray-500 mt-2",children:z(i.description)})]}),i?.btnLink&&l("div",{className:"mt-4",children:l(he,{btnLink:i.btnLink,btnName:i?.btnName,newTab:i?.newTab})})]})]},n)),o&&g("div",{className:"absolute top-1/2 left-1/2 -translate-y-1/2 -translate-x-1/2 hidden lg:flex lg:justify-center lg:items-end xl:p-2 lg:p-1.5 w-72 mx-auto",style:{aspectRatio:"352/721"},children:[l("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"}}),l("div",{className:"w-full h-full bg-gray-100 overflow-hidden",style:{borderRadius:"30px"},children:l("img",{src:o?.src,alt:o?.alt,className:"w-full h-full object-contain"})})]})]})}),a&&l(_,{isFullInMobile:a?.isFullInMobile,buttons:a?.buttons,className:a?.className,align:a?.align||"left"})]});import{Fragment as Lm,jsx as Z}from"react/jsx-runtime";var Am=({template:e,dataHeading:t,dataFeatures:o,dataButtons:a,dataBanner:i})=>{switch(e){case 1:return Z(qo,{dataHeading:t,dataFeatures:o,dataButtons:a});case 2:return Z(pr,{dataHeading:t,dataFeatures:o,dataButtons:a});case 3:return Z(dr,{dataHeading:t,dataFeatures:o,dataButtons:a});case 4:return Z(gr,{dataHeading:t,dataFeatures:o,dataButtons:a});case 5:return Z(fr,{dataHeading:t,dataFeatures:o,dataButtons:a});case 6:return Z(ur,{dataHeading:t,dataFeatures:o,dataButtons:a});case 7:return Z(vr,{dataHeading:t,dataFeatures:o,dataButtons:a});case 8:return Z(br,{dataHeading:t,dataFeatures:o,dataButtons:a});case 9:return Z(hr,{dataHeading:t,dataFeatures:o,dataButtons:a,dataBanner:i});case 10:return Z(xr,{dataHeading:t,dataFeatures:o,dataBanner:i,dataButtons:a});default:return Z(qo,{dataHeading:t,dataFeatures:o,dataButtons:a})}},Mm=({template:e,dataHeading:t,dataFeatures:o,dataButtons:a,dataBanner:i})=>Z(Lm,{children:Am({template:e,dataHeading:t,dataFeatures:o,dataButtons:a,dataBanner:i})}),Im=({template:e=1,background:t,className:o,idSection:a,dataHeading:i,dataFeatures:n,dataButtons:s,dataBanner:m})=>Z(fe,{className:o,idSection:a,background:t,children:Z(Mm,{template:e,dataHeading:i,dataFeatures:n,dataButtons:s,dataBanner:m})});import*as yr from"react";import*as xe from"@radix-ui/react-slider";import{jsx as no,jsxs as Em}from"react/jsx-runtime";var wr=yr.forwardRef(({className:e,...t},o)=>Em(xe.Root,{ref:o,className:r("relative flex w-full touch-none select-none items-center",t?.disabled&&"opacity-40",e),...t,children:[no(xe.Track,{className:"relative h-2 w-full grow overflow-hidden rounded-full bg-gray-200",children:no(xe.Range,{className:"absolute h-full bg-pink-500"})}),no(xe.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"}),no(xe.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"})]}));wr.displayName=xe.Root.displayName;import{Fragment as Xo,jsx as R,jsxs as Pr}from"react/jsx-runtime";var Nr=({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 Pr(Xo,{children:[e&&R(k,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:e?.align,colorScheme:"pink",sizeHeading:e?.sizeHeading,className:e?.className}),t&&t?.length>0&&R("div",{className:r("list-brands flex flex-row gap-y-6 md:flex-wrap md:justify-center overflow-hidden overflow-x-auto py-2",n[a||"spacingXl"],i?"snap-x snap-mandatory flex-nowrap -mx-5 pb-3":"flex-wrap justify-center"),children:t?.map((s,m)=>R("div",{className:r("flex justify-center items-center md:px-0 px-2.5 md:basis-auto",i?"snap-center shrink-0 first:pl-5 last:pr-5 basis-[28.5%]":"basis-1/2"),children:R("div",{className:"w-auto max-w-36 flex justify-center items-center",children:s?.url?R("a",{href:s?.url,title:s?.name,target:s?.newTab?"_blank":"_self",className:"group",children:R("img",{src:s?.logo,loading:"lazy",alt:s?.name,className:"object-contain transition transform group-hover:scale-105"})}):R("img",{src:s?.logo,loading:"lazy",alt:s?.name,className:"object-contain"})})},m))}),o&&R(_,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:o?.align||"center"})]})},_m=({dataHeading:e,dataBrands:t,dataButtons:o,isScrollSnap:a})=>Pr(Xo,{children:[e&&R(k,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:e?.align,colorScheme:"pink",sizeHeading:e?.sizeHeading,className:e?.className}),t&&t?.length>0&&R("div",{className:r("list-brands md:grid-cols-4 md:gap-y-6 md:gap-x-7",a?"snap-x snap-mandatory flex-nowrap -mx-5 pb-3 flex md:grid overflow-hidden overflow-x-auto md:mx-0":"grid grid-cols-2 gap-x-4 gap-y-6"),children:t?.map((i,n)=>R("div",{className:r("flex justify-center items-center text-center",a?"snap-center shrink-0 first:pl-5 last:pr-5 md:first:pl-0 md:last:pr-0 basis-5/12 px-2 md:px-0":""),children:i?.url?R("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:R("div",{className:"w-auto max-w-36 flex justify-center items-center",children:R("img",{src:i?.logo,loading:"lazy",alt:i?.name,className:"object-contain"})})}):R("div",{className:"flex justify-center items-center rounded-md border border-gray-200 w-full h-full p-3",children:R("div",{className:"w-auto max-w-36 flex justify-center items-center",children:R("img",{src:i?.logo,loading:"lazy",alt:i?.name,className:"object-contain"})})})},n))}),o&&R(_,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:o?.align||"center"})]}),Hm=({template:e,dataHeading:t,dataBrands:o,dataButtons:a,spaceX:i,isScrollSnap:n})=>{switch(e){case 1:return R(Nr,{dataHeading:t,dataBrands:o,dataButtons:a,spaceX:i,isScrollSnap:n});case 2:return R(_m,{dataHeading:t,dataBrands:o,dataButtons:a,isScrollSnap:n});default:return R(Nr,{dataHeading:t,dataBrands:o,dataButtons:a,spaceX:i,isScrollSnap:n})}},Fm=({template:e,dataHeading:t,dataBrands:o,dataButtons:a,spaceX:i,isScrollSnap:n})=>R(Xo,{children:Hm({template:e,dataHeading:t,dataBrands:o,dataButtons:a,spaceX:i,isScrollSnap:n})}),zm=({template:e=1,background:t,className:o,idSection:a,dataHeading:i,dataBrands:n,dataButtons:s,spaceX:m="spacingXl",isScrollSnap:p})=>R(fe,{className:o,idSection:a,background:t,children:R(Fm,{template:e,dataHeading:i,dataBrands:n,dataButtons:s,spaceX:m,isScrollSnap:p})});import*as Fe from"react";import{cva as Bm}from"class-variance-authority";import{CheckIcon as Vm}from"@heroicons/react/16/solid";import{XIcon as Om}from"lucide-react";import{jsx as J,jsxs as so}from"react/jsx-runtime";var Wm=Bm("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"}}),Cr=Fe.createContext("default");function Gm(){let e=Fe.useContext(Cr);if(!e)throw new Error("ProgressStepsItem must be used within a ProgressSteps");return e}var $m=Fe.memo(({type:e,icon:t,stepNumber:o,size:a,isError:i})=>{let n=a==="small"?"w-3 h-3":"w-4 h-4";return i?J(Om,{className:n}):so("div",{children:[e==="iconStep"&&J("div",{className:n,children:t}),e==="numberStep"&&J("div",{children:o}),e==="default"&&J(Vm,{className:n})]})}),jm=({step:e,currentStep:t,onValueChangeStep:o,children:a})=>{let i=Fe.useCallback(()=>{e!==t&&o(e)},[e,t,o]);return J("div",{onClick:i,className:"flex w-full flex-col items-center justify-center gap-1 cursor-pointer",children:a})},Qm=({step:e,state:t="default",size:o="default",className:a,title:i,description:n,lastStep:s,fristStep:m,icon:p,isError:d,onValueChangeStep:f,...T})=>{let B=Gm();return so("div",{className:r("flex w-full flex-col items-center justify-center gap-1"),children:[so("div",{className:"flex w-full items-center justify-center gap-2",children:[J("div",{className:r("flex h-px grow shrink-0 basis-0 bg-gray-200",m&&"opacity-0",t==="active"&&"bg-pink-300",t==="completed"&&"bg-pink-300")}),J("div",{className:r("flex h-7 w-7 items-center justify-center rounded-full",Wm({state:t,size:o}),d&&"bg-red-500 text-white shadow-none",a),...T,children:J($m,{type:B,icon:p,stepNumber:e,size:o,isError:d})}),J("div",{className:r("flex h-px grow shrink-0 basis-0 bg-gray-200",s&&"opacity-0",t==="completed"&&"bg-pink-300")})]}),so("div",{className:"text-center w-full flex flex-col items-center mt-2 px-0.5",children:[i&&J("div",{className:"text-xs font-bold text-slate-900 ",children:i}),n&&J("div",{className:"text-xs text-gray-500 ",children:n})]})]})},Um=({children:e,className:t,type:o="numberStep",...a})=>J(Cr.Provider,{value:o,children:J("div",{className:r("flex items-start justify-between w-full",t),...a,children:e})});import qm,{memo as Rr}from"react";import Tr from"html-react-parser";import{jsx as ne,jsxs as Et}from"react/jsx-runtime";var Zo=Rr(({dataFAQ:e,dataHeading:t})=>Et("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-6",children:[t&&ne(k,{tagline:t?.tagline,title:t?.title,description:t?.description,tagHeading:t?.tagHeading||"h2",align:"left",colorScheme:"pink",sizeHeading:t?.sizeHeading,className:r("md:mb-0 mb-0 mt-2 col-span-1 text-center md:text-left",t?.className)}),e&&ne("div",{className:"col-span-2",children:e[0]?.contents.map((o,a)=>ne(Ve,{type:"single",collapsible:!0,className:"w-full",children:Et(Oe,{value:o.title,children:[ne(We,{className:"font-bold",children:o.title}),ne(Ge,{children:Tr(o.description)})]})},o.title+a))})]})),kr=Rr(({dataFAQ:e,dataHeading:t})=>Et(qm.Fragment,{children:[t&&ne(k,{tagline:t?.tagline,title:t?.title,description:t?.description,tagHeading:t?.tagHeading,align:"center",colorScheme:"pink",sizeHeading:t?.sizeHeading,className:r(t?.className)}),e&&Et(Ro,{defaultValue:e[0]?.title,children:[ne($t,{className:"flex items-center sm:justify-center",children:e.map((o,a)=>ne(jt,{value:o.title,children:o.title},o.title+a))}),e.map((o,a)=>ne(Qt,{className:"max-w-3xl mx-auto",value:o.title,children:o.contents.map((i,n)=>ne(Ve,{type:"single",collapsible:!0,className:"w-full",children:Et(Oe,{value:i.title,children:[ne(We,{className:"font-bold",children:i.title}),ne(Ge,{children:Tr(i.description)})]})},i.title+n))},o.title+a))]})]}));import{Fragment as Ym,jsx as ft}from"react/jsx-runtime";var Xm=({template:e,dataFAQ:t,dataHeading:o})=>{switch(e){case 1:return ft(Zo,{dataFAQ:t,dataHeading:o});case 2:return ft(kr,{dataFAQ:t,dataHeading:o});default:return ft(Zo,{dataFAQ:t,dataHeading:o})}},Zm=({dataHeading:e,dataFAQ:t,template:o})=>ft(Ym,{children:Xm({dataHeading:e,dataFAQ:t,template:o})}),Km=({dataHeading:e,dataFAQ:t=[],className:o="",background:a=""})=>{let i=t&&t?.length>1?2:1;return ft(fe,{className:r(o),background:a,children:ft(Zm,{dataHeading:e,dataFAQ:t,template:i})})};import tc from"color";import oc from"tailwindcss/plugin.js";var ye="250ms",Sr={".transition-background":{"transition-property":"background","transition-timing-function":"ease","transition-duration":ye},".transition-colors-opacity":{"transition-property":"color, background-color, border-color, text-decoration-color, fill, stroke, opacity","transition-timing-function":"ease","transition-duration":ye},".transition-width":{"transition-property":"width","transition-timing-function":"ease","transition-duration":ye},".transition-height":{"transition-property":"height","transition-timing-function":"ease","transition-duration":ye},".transition-size":{"transition-property":"width, height","transition-timing-function":"ease","transition-duration":ye},".transition-left":{"transition-property":"left","transition-timing-function":"ease","transition-duration":ye},".transition-transform-opacity":{"transition-property":"transform, opacity","transition-timing-function":"ease","transition-duration":ye},".transition-transform-background":{"transition-property":"transform, background","transition-timing-function":"ease","transition-duration":ye},".transition-transform-colors":{"transition-property":"transform, color, background, background-color, border-color, text-decoration-color, fill, stroke","transition-timing-function":"ease","transition-duration":ye},".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":ye}};var Dr={".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 Ar={".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 Mr={...Dr,...Sr,...Ar};import{flatten as Jm}from"flat";function ec(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 Ir=e=>ec(Jm(e,{safe:!0,delimiter:"-"}));var Lr={50:"#eef8ff",100:"#d9eeff",200:"#bce1ff",300:"#8ed0ff",400:"#59b4ff",500:"#429cff",600:"#1b74f5",700:"#145ee1",800:"#174bb6",900:"#19428f",DEFAULT:"#429cff"};var Er={50:"#f1fcf3",100:"#dff9e5",200:"#c0f2cc",300:"#8fe6a4",400:"#57d175",500:"#34c759",600:"#22973f",700:"#1e7735",800:"#1d5e2e",900:"#194e28",DEFAULT:"#34c759"};var _r={50:"#fef1f9",100:"#fee5f6",200:"#fecced",300:"#ffa2df",400:"#fe68c6",500:"#EB2F96",600:"#D42A87",700:"#CB0B6F",800:"#A70D5B",900:"#8B104E",DEFAULT:"#EB2F96"};var Hr={50:"#faf5ff",100:"#f4e9fe",200:"#ead6fe",300:"#dab6fc",400:"#c487f9",500:"#ab55f3",600:"#9937e6",700:"#8326ca",800:"#6f24a5",900:"#5b1e85",DEFAULT:"#ab55f3"};var Fr={50:"#fff1f2",100:"#ffe1e3",200:"#ffc8cb",300:"#ffa1a6",400:"#fe6b73",500:"#f74e57",600:"#e41e29",700:"#c0151e",800:"#9e161d",900:"#83191f",DEFAULT:"#f74e57"};var zr={50:"#fffee7",100:"#fffec1",200:"#fff886",300:"#ffec41",400:"#ffdb0d",500:"#ffcc00",600:"#d19500",700:"#a66a02",800:"#89530a",900:"#74430f",DEFAULT:"#ffcc00"};var Br={50:"#fff4ed",100:"#ffe6d5",200:"#fecaaa",300:"#fea473",400:"#fc743b",500:"#fa541c",600:"#eb350b",700:"#c3240b",800:"#9b1e11",900:"#7c1c12",DEFAULT:"#fa541c"};var Vr={50:"#FAFAFA",100:"#F5F5F5",200:"#E5E5E5",300:"#D4D4D4",400:"#A3A3A3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",DEFAULT:"#737373"};var Or={white:"#ffffff",black:"#000000",blue:Lr,green:Er,pink:_r,purple:Hr,red:Fr,yellow:zr,gray:Vr,orange:Br};var Ko={...Or};var Wr={"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 Gr={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 ac=e=>{let t={utilities:{},colors:{}},o=Ir(Ko),a=Wr,i=":root";return t.utilities[i]={},Object.entries(o).forEach(([n,s])=>{if(s)try{let[m,p,d]=tc(s).rgb().array(),f=`--${e}-${n}`;t.utilities[i][f]=`${m} ${p} ${d}`,t.colors[n]=`rgb(var(${f}) / <alpha-value>)`}catch(m){console.log("error",m?.message)}}),Object.entries(a).forEach(([n,s])=>{if(!s)return;let m=`--${e}-${n}`;if(typeof s=="object")Object.entries(s).forEach(([p,d])=>{let f=`${m}-${p}`;t.utilities[i][f]=d});else{let p=m.includes("opacity")&&typeof s=="number"?s?.toString().replace(/^0\./,"."):s;t.utilities[i][m]=p}}),t},ic=()=>{let e="mobase",t=ac(e);return oc(({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({...Mr})},{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:{...Ko,...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)`},...Gr}}})};import{Fragment as nc,jsx as y,jsxs as sc}from"react/jsx-runtime";var rc=sc(nc,{children:[y("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"}),y("meta",{name:"distribution",content:"Global"}),y("meta",{name:"author",content:"V\xED MoMo"}),y("meta",{property:"fb:app_id",content:"320653355376196"}),y("meta",{property:"fb:pages",content:"138010322921640"}),y("link",{rel:"shortcut icon",href:"/favicon.ico"}),y("link",{href:"https://www.momo.vn/favicon-32x32.png",rel:"icon",sizes:"32x32",type:"image/png"}),y("link",{href:"https://www.momo.vn/favicon-16x16.png",rel:"icon",sizes:"16x16",type:"image/png"}),y("link",{href:"https://www.momo.vn/apple-touch-icon.png",rel:"apple-touch-icon",sizes:"180x180"}),y("meta",{name:"language",content:"vietnamese"}),y("meta",{name:"copyright",content:"Copyright \xA9 2019 by MOMO.VN"}),y("meta",{name:"REVISIT-AFTER",content:"1 DAYS"}),y("meta",{name:"RATING",content:"GENERAL"}),y("meta",{httpEquiv:"x-dns-prefetch-control",content:"on"}),y("link",{rel:"dns-prefetch",href:"//www.google-analytics.com"}),y("link",{rel:"dns-prefetch",href:"//connect.facebook.net"}),y("link",{rel:"dns-prefetch",href:"//www.googletagservices.com"}),y("link",{rel:"dns-prefetch",href:"//www.googletagmanager.com"}),y("link",{rel:"dns-prefetch",href:"//facebook.com"}),y("link",{rel:"dns-prefetch",href:"//homepage.momocdn.net"}),y("link",{rel:"dns-prefetch",href:"//www.google.com"}),y("link",{rel:"dns-prefetch",href:"//www.google.com.vn"}),y("link",{rel:"dns-prefetch",href:"//www.googleadservices.com"}),y("link",{rel:"preconnect",href:"//connect.facebook.net"}),y("link",{rel:"preconnect",href:"//www.googletagmanager.com"}),y("link",{rel:"preconnect",href:"//www.google-analytics.com"}),y("link",{rel:"preconnect",href:"//googleads.g.doubleclick.net"}),y("link",{rel:"preconnect",href:"//homepage.momocdn.net"}),y("link",{rel:"preconnect",href:"//www.google.com"}),y("link",{rel:"preconnect",href:"//www.google.com.vn"}),y("link",{rel:"preconnect",href:"//www.googleadservices.com"}),y("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:`{
193
+ `})]}),Sr=({dataHeading:e,dataFeatures:t,dataButtons:o})=>g(Ve,{children:[e&&m(P,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:e?.align||"left",colorScheme:"pink",sizeHeading:e?.sizeHeading,className:e?.className}),t&&m("div",{className:"list-features grid grid-cols-1 md:grid-cols-3 gap-8 lg:gap-12",children:t?.map((a,i)=>g("div",{className:"feature-item relative w-full flex flex-col",children:[m("div",{className:"w-16 h-16",children:m("img",{src:a?.image,alt:a?.name,className:"w-full h-full object-contain"})}),g("div",{className:"w-full mt-4 flex-1",children:[g("div",{className:"flex-1",children:[a?.name&&m("h3",{className:"text-lg font-semibold",children:_(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(we,{btnLink:a.btnLink,btnName:a?.btnName,newTab:a?.newTab})})]})]},i))}),o&&m(E,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:o?.align||"left"})]}),Dr=({dataHeading:e,dataFeatures:t,dataButtons:o})=>g("div",{className:"grid grid-cols-1 lg:grid-cols-10 gap-0 lg:gap-12",children:[g("div",{className:"lg:col-span-4 lg:flex lg:flex-col lg:justify-center",children:[e&&m(P,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:e?.align||"left",colorScheme:"pink",sizeHeading:e?.sizeHeading,className:r("lg:mb-0",e?.className)}),o&&m(E,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:`hidden lg:flex ${o?.className}`,align:"left"})]}),g("div",{className:"lg:col-span-6",children:[t&&m("div",{className:"list-features grid grid-cols-1 md:grid-cols-2 gap-6 md:gap-5",children:t?.map((a,i)=>g("div",{className:"feature-item relative w-full flex flex-col border border-gray-200 rounded-lg p-5 bg-white",children:[m("div",{className:"w-16 h-16",children:m("img",{src:a?.image,alt:a?.name,className:"w-full h-full object-contain"})}),g("div",{className:"w-full mt-4 flex flex-1 flex-col",children:[g("div",{className:"flex-1",children:[a?.name&&m("h3",{className:"text-lg font-semibold",children:_(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(we,{btnLink:a.btnLink,btnName:a?.btnName,newTab:a?.newTab})})]})]},i))}),o&&m(E,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:`flex lg:hidden ${o?.className}`,align:o?.align||"left"})]})]}),Ir=({dataHeading:e,dataFeatures:t,dataButtons:o})=>g(Ve,{children:[e&&m(P,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:e?.align,colorScheme:"pink",sizeHeading:e?.sizeHeading,className:e?.className}),t&&m("div",{className:"list-features grid grid-cols-1 md:grid-cols-2 gap-5 max-w-4xl mx-auto",children:t?.map((a,i)=>g("div",{className:"feature-item relative w-full flex flex-col border border-gray-200 rounded-lg p-7 bg-white",children:[m("div",{className:"w-12 h-12 ",children:m("img",{src:a?.image,alt:a?.name,className:"w-full h-full object-contain"})}),g("div",{className:"w-full mt-4 flex flex-1 flex-col",children:[g("div",{className:"flex-1",children:[a?.name&&m("h3",{className:"text-lg font-semibold",children:_(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(we,{btnLink:a.btnLink,btnName:a?.btnName,newTab:a?.newTab})})]})]},i))}),o&&m(E,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:o?.align||"left"})]}),Mr=({dataHeading:e,dataFeatures:t,dataButtons:o})=>g(Ve,{children:[e&&m(P,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:e?.align,colorScheme:"pink",sizeHeading:e?.sizeHeading,className:e?.className}),t&&m("div",{className:"list-features grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8 lg:gap-x-7 lg:gap-y-10",children:t?.map((a,i)=>g("div",{className:"feature-item relative w-full",children:[m("div",{className:"w-12 h-12",children:m("img",{src:a?.image,alt:a?.name,className:"w-full h-full object-contain"})}),g("div",{className:"w-full mt-3 flex flex-1 flex-col",children:[g("div",{className:"flex-1",children:[a?.name&&m("h3",{className:"text-lg font-semibold",children:_(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(we,{btnLink:a.btnLink,btnName:a?.btnName,newTab:a?.newTab})})]})]},i))}),o&&m(E,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:o?.align||"left"})]}),Ar=({dataHeading:e,dataFeatures:t,dataButtons:o})=>g(Ve,{children:[e&&m(P,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:e?.align,colorScheme:"pink",sizeHeading:e?.sizeHeading,className:e?.className}),t&&m("div",{className:"list-features grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8 lg:gap-x-6 lg:gap-y-8",children:t?.map((a,i)=>g("div",{className:"feature-item relative w-full flex gap-3",children:[m("div",{className:"w-12 h-12",children:m("img",{src:a?.image,alt:a?.name,className:"w-full h-full object-contain"})}),g("div",{className:"w-full flex-1",children:[a?.name&&m("h3",{className:"text-lg font-semibold",children:_(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(we,{btnLink:a.btnLink,btnName:a?.btnName,newTab:a?.newTab})})]})]},i))}),o&&m(E,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:o?.align||"left"})]}),Lr=({dataHeading:e,dataFeatures:t,dataButtons:o})=>g(Ve,{children:[e&&m(P,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:e?.align||"left",colorScheme:"pink",sizeHeading:e?.sizeHeading,className:e?.className}),t&&m("div",{className:"list-features grid grid-cols-1 md:grid-cols-3 gap-6",children:t?.map((a,i)=>g("div",{className:"feature-item relative w-full flex flex-col overflow-hidden bg-gray-100 rounded-xl",children:[g("div",{className:"w-full flex flex-1 flex-col p-5",children:[g("div",{className:"flex-1",children:[a?.name&&m("h3",{className:"text-lg font-semibold",children:_(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(we,{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(E,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:o?.align||"left"})]}),Er=({dataHeading:e,dataFeatures:t,dataButtons:o,dataBanner:a})=>g("div",{className:"grid grid-cols-1 lg:grid-cols-10 gap-10 lg:gap-14",children:[m("div",{className:"lg:col-span-6 flex items-center",children:g("div",{className:"w-full",children:[e&&m(P,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:e?.align||"left",colorScheme:"pink",sizeHeading:e?.sizeHeading,className:e?.className}),t&&m("div",{className:"list-features grid grid-cols-1 md:grid-cols-2 gap-6 md:auto-cols-auto",children:t?.map((i,n)=>g("div",{className:"feature-item relative w-full flex flex-col",children:[m("div",{className:"w-10 h-10",children:m("img",{src:i?.image,alt:i?.name,className:"w-full h-full object-contain"})}),g("div",{className:"w-full mt-3 flex flex-1 flex-col",children:[g("div",{className:"flex-1",children:[i?.name&&m("h3",{className:"text-lg font-semibold",children:_(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(we,{btnLink:i.btnLink,btnName:i?.btnName,newTab:i?.newTab})})]})]},n))}),o&&m(E,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:o?.align||"left"})]})}),a&&m("div",{className:"lg:col-span-4 flex items-center",children:m("div",{className:"max-w-md mx-auto w-full",children:m(he,{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"})})})})]}),Fr=({dataHeading:e,dataFeatures:t,dataBanner:o,dataButtons:a})=>g(Ve,{children:[e&&m(P,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:e?.align,colorScheme:"pink",sizeHeading:e?.sizeHeading,className:e?.className}),m("div",{className:r("relative flex items-center",o&&"lg:min-h-[590px]"),children:t&&g("div",{className:r("list-features grid grid-cols-1 md:grid-cols-2 gap-8",o?"lg:gap-y-16 lg:gap-x-0 lg:flex-wrap lg:flex lg:flex-row":"max-w-4xl mx-auto"),children:[t?.map((i,n)=>g("div",{className:r("feature-item relative w-full",o&&"lg:basis-1/2 odd:lg:pr-48 even:lg:pl-48"),children:[m("div",{className:"w-12 h-12",children:m("img",{src:i?.image,alt:i?.name,className:"w-full h-full object-contain"})}),g("div",{className:"w-full mt-3 flex flex-1 flex-col",children:[g("div",{className:"flex-1",children:[i?.name&&m("h3",{className:"text-lg font-semibold",children:_(i.name)}),i?.description&&m("div",{className:"text-gray-500 mt-2",children:_(i.description)})]}),i?.btnLink&&m("div",{className:"mt-4",children:m(we,{btnLink:i.btnLink,btnName:i?.btnName,newTab:i?.newTab})})]})]},n)),o&&g("div",{className:"absolute top-1/2 left-1/2 -translate-y-1/2 -translate-x-1/2 hidden lg:flex lg:justify-center lg:items-end xl:p-2 lg:p-1.5 w-72 mx-auto",style:{aspectRatio:"352/721"},children:[m("div",{className:"mockup-bg absolute inset-0 w-full h-full select-none pointer-events-none",style:{background:"url(https://homepage.momocdn.net/img/momo-amazone-s3-api-240809173159-638588215193226459.png) no-repeat bottom center/contain"}}),m("div",{className:"w-full h-full bg-gray-100 overflow-hidden",style:{borderRadius:"30px"},children:m("img",{src:o?.src,alt:o?.alt,className:"w-full h-full object-contain"})})]})]})}),a&&m(E,{isFullInMobile:a?.isFullInMobile,buttons:a?.buttons,className:a?.className,align:a?.align||"left"})]});import{Fragment as ac,jsx as q}from"react/jsx-runtime";var ec=({template:e,dataHeading:t,dataFeatures:o,dataButtons:a,dataBanner:i})=>{switch(e){case 1:return q(pa,{dataHeading:t,dataFeatures:o,dataButtons:a});case 2:return q(kr,{dataHeading:t,dataFeatures:o,dataButtons:a});case 3:return q(Sr,{dataHeading:t,dataFeatures:o,dataButtons:a});case 4:return q(Dr,{dataHeading:t,dataFeatures:o,dataButtons:a});case 5:return q(Ir,{dataHeading:t,dataFeatures:o,dataButtons:a});case 6:return q(Mr,{dataHeading:t,dataFeatures:o,dataButtons:a});case 7:return q(Ar,{dataHeading:t,dataFeatures:o,dataButtons:a});case 8:return q(Lr,{dataHeading:t,dataFeatures:o,dataButtons:a});case 9:return q(Er,{dataHeading:t,dataFeatures:o,dataButtons:a,dataBanner:i});case 10:return q(Fr,{dataHeading:t,dataFeatures:o,dataBanner:i,dataButtons:a});default:return q(pa,{dataHeading:t,dataFeatures:o,dataButtons:a})}},tc=({template:e,dataHeading:t,dataFeatures:o,dataButtons:a,dataBanner:i})=>q(ac,{children:ec({template:e,dataHeading:t,dataFeatures:o,dataButtons:a,dataBanner:i})}),oc=({template:e=1,background:t,className:o,idSection:a,dataHeading:i,dataFeatures:n,dataButtons:s,dataBanner:l})=>q(ne,{className:o,idSection:a,background:t,children:q(tc,{template:e,dataHeading:i,dataFeatures:n,dataButtons:s,dataBanner:l})});import*as _r from"react";import*as Ne from"@radix-ui/react-slider";import{jsx as yo,jsxs as ic}from"react/jsx-runtime";var Hr=_r.forwardRef(({className:e,...t},o)=>ic(Ne.Root,{ref:o,className:r("relative flex w-full touch-none select-none items-center",t?.disabled&&"opacity-40",e),...t,children:[yo(Ne.Track,{className:"relative h-2 w-full grow overflow-hidden rounded-full bg-gray-200",children:yo(Ne.Range,{className:"absolute h-full bg-pink-500"})}),yo(Ne.Thumb,{className:"hover:cursor-grabbing block h-5 w-5 rounded-full border-2 border-pink-500 bg-white ring-offset-bg-white transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50"}),yo(Ne.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"})]}));Hr.displayName=Ne.Root.displayName;import{Fragment as fa,jsx as T,jsxs as Br}from"react/jsx-runtime";var zr=({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 Br(fa,{children:[e&&T(P,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:e?.align,colorScheme:"pink",sizeHeading:e?.sizeHeading,className:e?.className}),t&&t?.length>0&&T("div",{className:r("list-brands flex flex-row gap-y-6 md:flex-wrap md:justify-center overflow-hidden overflow-x-auto py-2",n[a||"spacingXl"],i?"snap-x snap-mandatory flex-nowrap -mx-5 pb-3":"flex-wrap justify-center"),children:t?.map((s,l)=>T("div",{className:r("flex justify-center items-center md:px-0 px-2.5 md:basis-auto",i?"snap-center shrink-0 first:pl-5 last:pr-5 basis-[28.5%]":"basis-1/2"),children:T("div",{className:"w-auto max-w-36 flex justify-center items-center",children:s?.url?T("a",{href:s?.url,title:s?.name,target:s?.newTab?"_blank":"_self",className:"group",children:T("img",{src:s?.logo,loading:"lazy",alt:s?.name,className:"object-contain transition transform group-hover:scale-105"})}):T("img",{src:s?.logo,loading:"lazy",alt:s?.name,className:"object-contain"})})},l))}),o&&T(E,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:o?.align||"center"})]})},rc=({dataHeading:e,dataBrands:t,dataButtons:o,isScrollSnap:a})=>Br(fa,{children:[e&&T(P,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:e?.align,colorScheme:"pink",sizeHeading:e?.sizeHeading,className:e?.className}),t&&t?.length>0&&T("div",{className:r("list-brands md:grid-cols-4 md:gap-y-6 md:gap-x-7",a?"snap-x snap-mandatory flex-nowrap -mx-5 pb-3 flex md:grid overflow-hidden overflow-x-auto md:mx-0":"grid grid-cols-2 gap-x-4 gap-y-6"),children:t?.map((i,n)=>T("div",{className:r("flex justify-center items-center text-center",a?"snap-center shrink-0 first:pl-5 last:pr-5 md:first:pl-0 md:last:pr-0 basis-5/12 px-2 md:px-0":""),children:i?.url?T("a",{href:i?.url,title:i?.name,target:i?.newTab?"_blank":"_self",className:"flex justify-center items-center rounded-md border border-gray-200 duration-300 hover:border-pink-500 w-full h-full p-3",children:T("div",{className:"w-auto max-w-36 flex justify-center items-center",children:T("img",{src:i?.logo,loading:"lazy",alt:i?.name,className:"object-contain"})})}):T("div",{className:"flex justify-center items-center rounded-md border border-gray-200 w-full h-full p-3",children:T("div",{className:"w-auto max-w-36 flex justify-center items-center",children:T("img",{src:i?.logo,loading:"lazy",alt:i?.name,className:"object-contain"})})})},n))}),o&&T(E,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:o?.align||"center"})]}),nc=({template:e,dataHeading:t,dataBrands:o,dataButtons:a,spaceX:i,isScrollSnap:n})=>{switch(e){case 1:return T(zr,{dataHeading:t,dataBrands:o,dataButtons:a,spaceX:i,isScrollSnap:n});case 2:return T(rc,{dataHeading:t,dataBrands:o,dataButtons:a,isScrollSnap:n});default:return T(zr,{dataHeading:t,dataBrands:o,dataButtons:a,spaceX:i,isScrollSnap:n})}},sc=({template:e,dataHeading:t,dataBrands:o,dataButtons:a,spaceX:i,isScrollSnap:n})=>T(fa,{children:nc({template:e,dataHeading:t,dataBrands:o,dataButtons:a,spaceX:i,isScrollSnap:n})}),lc=({template:e=1,background:t,className:o,idSection:a,dataHeading:i,dataBrands:n,dataButtons:s,spaceX:l="spacingXl",isScrollSnap:d})=>T(ne,{className:o,idSection:a,background:t,children:T(sc,{template:e,dataHeading:i,dataBrands:n,dataButtons:s,spaceX:l,isScrollSnap:d})});import{forwardRef as Pc}from"react";import{Fragment as pc,jsx as le,jsxs as wo}from"react/jsx-runtime";var mc=({author:e=""})=>le("div",{className:"text-center shrink-0 text-lg font-semibold text-pink-600",children:e?.charAt(0)}),cc=({author:e,avatar:t})=>le("div",{className:"w-9 h-9 flex items-center mt-0.5 justify-center rounded-full bg-pink-200 relative overflow-hidden",children:t?le("img",{src:t,alt:e?.charAt(0),className:"shrink-0 object-cover",width:36,height:36}):le(mc,{author:e})});function dc({avatar:e="",author:t="",time:o,statusMessage:a,isOutStanding:i}){return le(pc,{children:wo("div",{className:"flex relative items-center space-x-3",children:[le(cc,{avatar:e,author:t}),wo("div",{className:"flex flex-col",children:[t&&le("div",{className:"font-semibold text-gray-900 text-sm",children:t}),wo("div",{className:"flex items-center space-x-2 text-xs",children:[o&&le("div",{className:"text-gray-400",children:o}),a&&wo("div",{className:"flex items-center space-x-2",children:[le("div",{className:"w-1 h-1 mt-0.5 bg-gray-400 rounded-full"}),le("div",{className:"ml-2 text-pink-500",children:a})]})]})]}),i&&le("div",{className:"absolute right-1 top-0",children:le("img",{alt:"",src:"https://homepage.momocdn.net/img/momo-upload-api-230629163313-638236531936463134.png",className:"w-5",loading:"lazy"})})]})})}var Vr=dc;import{useState as jr}from"react";import{StarIcon as fc}from"@heroicons/react/20/solid";import{jsx as Or,jsxs as Gr}from"react/jsx-runtime";var gc={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!"},uc={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 vc({point:e,max:t,className:o}){let a=t>5?gc[e||10]:uc[e||5];return Gr("div",{className:r("flex items-center space-x-1",o),children:[Or(fc,{className:"w-5 h-5 text-yellow-500"}),Or("div",{className:"font-semibold text-gray-900 text-sm",children:`${e}/${t}`}),Gr("span",{className:"font-semibold text-gray-900 text-sm",children:[" ","\xA0\xB7 ",a]})," "]})}var $r=vc;import{useState as xc}from"react";import Wr from"html-react-parser";import{jsx as bc,jsxs as hc}from"react/jsx-runtime";var ga=({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]=xc(!0),d=()=>{l(!s)},p=(f,v,N=" ")=>f.length<=v?f:f.substring(0,f.lastIndexOf(N,v));return hc("div",{className:r(n),children:[s?Wr(p(e,t)):Wr(e),e.length>t&&bc("span",{onClick:d,className:r("read-or-hide cursor-pointer text-md w-fit pl-1 hover:underline",i),children:s?o:a})]})};import{jsx as st,jsxs as Qr}from"react/jsx-runtime";function yc({content:e,thumbnails:t=[],tags:o=[],commentSideBar:a,rating:i={point:10,max:10},limitContent:n=260}){let[s,l]=jr(0),[d,p]=jr(!1),f=v=>{p(!0),l(v)};return Qr("div",{className:"text-gray-700 mt-3 flex flex-col",children:[i.point>0&&st($r,{className:"mb-0.5",point:i.point,max:i.max}),e&&st(ga,{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(v=>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:v}))}),t?.length>0&&Qr(la,{open:d,onOpenChange:p,className:"grid gap-2 mt-4 overflow-hidden rounded-xl md:grid-cols-4 md:gap-2 md:rounded-none grid grid-cols-2 grid-rows-1 overflow-hidden ",children:[t?.map((v,N)=>st(he,{onClick:()=>f(N),className:"rounded-lg cursor-pointer object-cover",ratio:4/3,children:st("img",{src:v.url,alt:"",className:"w-full h-full rounded-lg object-cover"})},N)),st(ma,{activeSlideIndex:s,images:t?.map((v,N)=>({url:v.url,titleImage:v.titleImage,idx:N})),withSideBar:!!a,subHtmlSideBar:a})]})]})}var Ur=yc;import{jsx as Nc}from"react/jsx-runtime";function wc({actions:e=[]}){return Nc("div",{className:"flex items-center space-x-4 mt-4 text-gray-700",children:e})}var Xr=wc;import{jsx as No,jsxs as Rc}from"react/jsx-runtime";var Cc=Pc(({avatar:e,author:t,time:o,ratingPoint:a,content:i,tags:n,thumbnails:s,actions:l=[],statusMessage:d,isReply:p,children:f,commentSideBar:v,isOutStanding:N,limitContent:M=260},H)=>Rc("div",{ref:H,className:r("",p?"ml-4 py-4":"py-5"),children:[No(Vr,{avatar:e,author:t,time:o,statusMessage:d,isOutStanding:N}),No(Ur,{content:i,thumbnails:s,tags:n,rating:a,commentSideBar:v,limitContent:M}),l&&l?.filter(Boolean)?.length>0&&No(Xr,{actions:l.filter(Boolean)}),f&&No("div",{className:"border-l grid grid-cols-1 divide-y divide-gray-200 ml-2 mt-3 border-l-gray-300 ",children:f})]}));import*as Oe from"react";import{cva as Tc}from"class-variance-authority";import{CheckIcon as kc}from"@heroicons/react/16/solid";import{XIcon as Sc}from"lucide-react";import{jsx as Z,jsxs as Po}from"react/jsx-runtime";var Dc=Tc("flex items-center shrink-0 justify-center rounded-full shrink-0",{variants:{state:{active:"bg-pink-500 text-white shadow-[0_0px_0px_3px_rgb(255,255,255),0_0px_0px_4px_rgb(var(--mobase-pink-500))]",disabled:"bg-gray-400 text-gray-200",default:"text-gray-500 bg-white shadow-[inset_0px_0px_0px_1px_rgb(var(--mobase-gray-300))]",completed:"bg-pink-500 text-white"},size:{default:"h-7 w-7 text-sm",small:"h-6 w-6 text-xs"}},defaultVariants:{state:"default",size:"default"}}),qr=Oe.createContext("default");function Ic(){let e=Oe.useContext(qr);if(!e)throw new Error("ProgressStepsItem must be used within a ProgressSteps");return e}var Mc=Oe.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(Sc,{className:s}):Po("div",{children:[e==="iconStep"&&Z("div",{className:s,children:t}),e==="numberStep"&&Z("div",{children:o}),e==="default"&&(n==="completed"?Z(kc,{className:s}):Z("div",{children:o}))]})}),Ac=({step:e,currentStep:t,onValueChangeStep:o,children:a})=>{let i=Oe.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})},Lc=({step:e,state:t="default",size:o="default",className:a,title:i,description:n,lastStep:s,fristStep:l,icon:d,isError:p,onValueChangeStep:f,...v})=>{let N=Ic();return Po("div",{className:r("flex w-full flex-col items-center justify-center gap-1"),children:[Po("div",{className:"flex w-full items-center justify-center gap-2",children:[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",Dc({state:t,size:o}),p&&"bg-red-500 text-white shadow-none",a),...v,children:Z(Mc,{type:N,icon:d,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")})]}),Po("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})]})]})},Ec=({children:e,className:t,type:o="numberStep",...a})=>Z(qr.Provider,{value:o,children:Z("div",{className:r("flex items-start justify-between w-full",t),...a,children:e})});import Fc,{memo as Zr}from"react";import Kr from"html-react-parser";import{jsx as me,jsxs as Wt}from"react/jsx-runtime";var ua=Zr(({dataFAQ:e,dataHeading:t})=>Wt("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-6",children:[t&&me(P,{tagline:t?.tagline,title:t?.title,description:t?.description,tagHeading:t?.tagHeading||"h2",align:"left",colorScheme:"pink",sizeHeading:t?.sizeHeading,className:r("md:mb-0 mb-0 mt-2 col-span-1 text-center md:text-left",t?.className)}),e&&me("div",{className:"col-span-2",children:e[0]?.contents.map((o,a)=>me(je,{type:"single",collapsible:!0,className:"w-full",children:Wt(Qe,{value:o.title,children:[me(Ue,{className:"font-bold",children:o.title}),me(Xe,{children:Kr(o.description)})]})},o.title+a))})]})),Yr=Zr(({dataFAQ:e,dataHeading:t})=>Wt(Fc.Fragment,{children:[t&&me(P,{tagline:t?.tagline,title:t?.title,description:t?.description,tagHeading:t?.tagHeading,align:"center",colorScheme:"pink",sizeHeading:t?.sizeHeading,className:r(t?.className)}),e&&Wt(At,{defaultValue:e[0]?.title,children:[me(pt,{className:"flex items-center sm:justify-center",children:e.map((o,a)=>me(ft,{value:o.title,children:o.title},o.title+a))}),e.map((o,a)=>me(gt,{className:"max-w-3xl mx-auto",value:o.title,children:o.contents.map((i,n)=>me(je,{type:"single",collapsible:!0,className:"w-full",children:Wt(Qe,{value:i.title,children:[me(Ue,{className:"font-bold",children:i.title}),me(Xe,{children:Kr(i.description)})]})},i.title+n))},o.title+a))]})]}));import{Fragment as Bc,jsx as wt}from"react/jsx-runtime";var _c=({template:e,dataFAQ:t,dataHeading:o})=>{switch(e){case 1:return wt(ua,{dataFAQ:t,dataHeading:o});case 2:return wt(Yr,{dataFAQ:t,dataHeading:o});default:return wt(ua,{dataFAQ:t,dataHeading:o})}},Hc=({dataHeading:e,dataFAQ:t,template:o})=>wt(Bc,{children:_c({dataHeading:e,dataFAQ:t,template:o})}),zc=({dataHeading:e,dataFAQ:t=[],className:o="",background:a=""})=>{let i=t&&t?.length>1?2:1;return wt(ne,{className:r(o),background:a,children:wt(Hc,{dataHeading:e,dataFAQ:t,template:i})})};import Jr,{memo as en}from"react";import{jsx as G,jsxs as Co}from"react/jsx-runtime";var Vc=({src:e})=>G("div",{className:"aspect-[77/37] rounded-md relative overflow-hidden hidden md:block mb-3",children:G("img",{className:"",src:e,alt:"news-image-des"})}),Oc=({src:e})=>G("div",{className:"aspect-[1/1] rounded-md relative overflow-hidden md:hidden mb-3",children:G("img",{className:"",src:e,alt:"new-image"})}),tn=({news:e})=>Co("div",{className:"group",children:[G(Vc,{src:e?.thumbnails?.thumbnailDesktop}),G(Oc,{src:e?.thumbnails?.thumbnailMobile}),G("div",{className:"mb-3 text-gray-900 font-medium text-sm sm:text-base group-hover:text-pink-500 line-clamp-2 leading-6",children:e?.title}),G("div",{className:"text-gray-500 text-xs",children:e?.dateTime})]}),va=en(({dataHeading:e,dataNews:t,cols:o=3,onClickModal:a})=>{let i=(n,s)=>{a&&(n?.preventDefault(),n?.stopPropagation(),a?.(s))};return Co(Jr.Fragment,{children:[e&&G(P,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:"center",colorScheme:"pink",sizeHeading:e?.sizeHeading,className:r(e?.className)}),t&&G("div",{className:`grid gap-4 sm:gap-6 grid-cols-2 sm:grid-cols-${o}`,children:t?.[0]?.contents?.map(n=>G("a",{onClick:s=>i(s,n?.id),href:n.url,target:"_blank",children:G(tn,{news:n})},n?.id))})]})}),on=en(({dataHeading:e,dataNews:t,cols:o=3,onClickModal:a})=>{let i=(n,s)=>{a&&(n?.preventDefault(),n?.stopPropagation(),a?.(s))};return Co(Jr.Fragment,{children:[e&&G(P,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:"center",colorScheme:"pink",sizeHeading:e?.sizeHeading,className:r(e?.className)}),t&&Co(At,{defaultValue:t[0]?.title,children:[G(pt,{className:"flex items-center justify-center mb-6",children:t.map((n,s)=>G(ft,{value:n.title,children:n.title},n.title+s))}),t?.map((n,s)=>G(gt,{value:n.title,className:`grid gap-4 sm:gap-6 mt-0 grid-cols-2 sm:grid-cols-${o}`,children:n?.contents?.map(l=>G("a",{onClick:d=>i(d,l?.id),href:l.url,target:"_blank",children:G(tn,{news:l})},l?.id))},n.title+s))]})]})});import{Fragment as jc,jsx as Nt,jsxs as an}from"react/jsx-runtime";var Gc=({template:e,dataNews:t,dataHeading:o,cols:a,onClickModal:i})=>{switch(e){case 1:return Nt(va,{cols:a,dataNews:t,dataHeading:o,onClickModal:i});case 2:return Nt(on,{cols:a,dataNews:t,dataHeading:o,onClickModal:i});default:return Nt(va,{cols:a,dataNews:t,dataHeading:o,onClickModal:i})}},$c=({dataHeading:e,dataNews:t,template:o,cols:a,onClickModal:i})=>Nt(jc,{children:Gc({dataHeading:e,dataNews:t,template:o,cols:a,onClickModal:i})}),Wc=({dataHeading:e,dataNews:t=[],className:o="",background:a="",buttonLoadMore:i,cols:n,onClickModal:s})=>{let l=t&&t?.length>1?2:1;return an(ne,{className:r(o),background:a,children:[Nt($c,{dataHeading:e,dataNews:t,template:l,cols:n,onClickModal:s}),i?.isShow&&Nt("div",{className:"w-full flex items-center justify-center mt-8",children:an(Tt,{action:i?.url,newTab:i?.isNewTab,variant:"outline",children:[i?.content,i?.icon]})})]})};import*as K from"react";import{Slot as qc}from"@radix-ui/react-slot";import{Controller as Zc,FormProvider as Kc,useFormContext as Yc}from"react-hook-form";import*as rn from"react";import*as xa from"@radix-ui/react-label";import{cva as Qc}from"class-variance-authority";import{jsx as Xc}from"react/jsx-runtime";var Uc=Qc("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),Ro=rn.forwardRef(({className:e,...t},o)=>Xc(xa.Root,{ref:o,className:r(Uc(),e),...t}));Ro.displayName=xa.Root.displayName;import{jsx as Ge}from"react/jsx-runtime";var Jc=Kc,nn=K.createContext({}),ed=({...e})=>Ge(nn.Provider,{value:{name:e.name},children:Ge(Zc,{...e})}),jt=()=>{let e=K.useContext(nn),t=K.useContext(sn),{getFieldState:o,formState:a}=Yc(),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}},sn=K.createContext({}),ln=K.forwardRef(({className:e,...t},o)=>{let a=K.useId();return Ge(sn.Provider,{value:{id:a},children:Ge("div",{ref:o,className:r("space-y-2",e),...t})})});ln.displayName="FormItem";var mn=K.forwardRef(({className:e,...t},o)=>{let{error:a,formItemId:i}=jt();return Ge(Ro,{ref:o,className:r(a&&"text-red-500","text-gray-700 ",e),htmlFor:i,...t})});mn.displayName="FormLabel";var cn=K.forwardRef(({...e},t)=>{let{error:o,formItemId:a,formDescriptionId:i,formMessageId:n}=jt();return Ge(qc,{ref:t,id:a,"aria-describedby":o?`${i} ${n}`:`${i}`,"aria-invalid":!!o,...e})});cn.displayName="FormControl";var dn=K.forwardRef(({className:e,...t},o)=>{let{formDescriptionId:a}=jt();return Ge("p",{ref:o,id:a,className:r("text-[0.8rem] text-gray-500",e),...t})});dn.displayName="FormDescription";var pn=K.forwardRef(({className:e,children:t,...o},a)=>{let{error:i,formMessageId:n}=jt(),s=i?String(i?.message):t;return s?Ge("p",{ref:a,id:n,className:r("text-xs font-medium text-red-500",e),...o,children:s}):null});pn.displayName="FormMessage";import ad from"color";import id from"tailwindcss/plugin.js";var Pe="250ms",fn={".transition-background":{"transition-property":"background","transition-timing-function":"ease","transition-duration":Pe},".transition-colors-opacity":{"transition-property":"color, background-color, border-color, text-decoration-color, fill, stroke, opacity","transition-timing-function":"ease","transition-duration":Pe},".transition-width":{"transition-property":"width","transition-timing-function":"ease","transition-duration":Pe},".transition-height":{"transition-property":"height","transition-timing-function":"ease","transition-duration":Pe},".transition-size":{"transition-property":"width, height","transition-timing-function":"ease","transition-duration":Pe},".transition-left":{"transition-property":"left","transition-timing-function":"ease","transition-duration":Pe},".transition-transform-opacity":{"transition-property":"transform, opacity","transition-timing-function":"ease","transition-duration":Pe},".transition-transform-background":{"transition-property":"transform, background","transition-timing-function":"ease","transition-duration":Pe},".transition-transform-colors":{"transition-property":"transform, color, background, background-color, border-color, text-decoration-color, fill, stroke","transition-timing-function":"ease","transition-duration":Pe},".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":Pe}};var gn={".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 un={".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 vn={...gn,...fn,...un};import{flatten as td}from"flat";function od(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 xn=e=>od(td(e,{safe:!0,delimiter:"-"}));var bn={50:"#eef8ff",100:"#d9eeff",200:"#bce1ff",300:"#8ed0ff",400:"#59b4ff",500:"#429cff",600:"#1b74f5",700:"#145ee1",800:"#174bb6",900:"#19428f",DEFAULT:"#429cff"};var hn={50:"#f1fcf3",100:"#dff9e5",200:"#c0f2cc",300:"#8fe6a4",400:"#57d175",500:"#34c759",600:"#22973f",700:"#1e7735",800:"#1d5e2e",900:"#194e28",DEFAULT:"#34c759"};var yn={50:"#fef1f9",100:"#fee5f6",200:"#fecced",300:"#ffa2df",400:"#fe68c6",500:"#EB2F96",600:"#D42A87",700:"#CB0B6F",800:"#A70D5B",900:"#8B104E",DEFAULT:"#EB2F96"};var wn={50:"#faf5ff",100:"#f4e9fe",200:"#ead6fe",300:"#dab6fc",400:"#c487f9",500:"#ab55f3",600:"#9937e6",700:"#8326ca",800:"#6f24a5",900:"#5b1e85",DEFAULT:"#ab55f3"};var Nn={50:"#fff1f2",100:"#ffe1e3",200:"#ffc8cb",300:"#ffa1a6",400:"#fe6b73",500:"#f74e57",600:"#e41e29",700:"#c0151e",800:"#9e161d",900:"#83191f",DEFAULT:"#f74e57"};var Pn={50:"#fffee7",100:"#fffec1",200:"#fff886",300:"#ffec41",400:"#ffdb0d",500:"#ffcc00",600:"#d19500",700:"#a66a02",800:"#89530a",900:"#74430f",DEFAULT:"#ffcc00"};var Cn={50:"#fff4ed",100:"#ffe6d5",200:"#fecaaa",300:"#fea473",400:"#fc743b",500:"#fa541c",600:"#eb350b",700:"#c3240b",800:"#9b1e11",900:"#7c1c12",DEFAULT:"#fa541c"};var Rn={50:"#FAFAFA",100:"#F5F5F5",200:"#E5E5E5",300:"#D4D4D4",400:"#A3A3A3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",DEFAULT:"#737373"};var Tn={white:"#ffffff",black:"#000000",blue:bn,green:hn,pink:yn,purple:wn,red:Nn,yellow:Pn,gray:Rn,orange:Cn};var ba={...Tn};var kn={"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 Sn={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 rd=e=>{let t={utilities:{},colors:{}},o=xn(ba),a=kn,i=":root";return t.utilities[i]={},Object.entries(o).forEach(([n,s])=>{if(s)try{let[l,d,p]=ad(s).rgb().array(),f=`--${e}-${n}`;t.utilities[i][f]=`${l} ${d} ${p}`,t.colors[n]=`rgb(var(${f}) / <alpha-value>)`}catch(l){console.log("error",l?.message)}}),Object.entries(a).forEach(([n,s])=>{if(!s)return;let l=`--${e}-${n}`;if(typeof s=="object")Object.entries(s).forEach(([d,p])=>{let f=`${l}-${d}`;t.utilities[i][f]=p});else{let d=l.includes("opacity")&&typeof s=="number"?s?.toString().replace(/^0\./,"."):s;t.utilities[i][l]=d}}),t},nd=()=>{let e="mobase",t=rd(e);return id(({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({...vn})},{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:{...ba,...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)`},...Sn}}})};import{Fragment as ld,jsx as w,jsxs as md}from"react/jsx-runtime";var sd=md(ld,{children:[w("meta",{name:"abstract",content:"V\xED \u0111i\u1EC7n t\u1EED MoMo - Si\xEAu \u1EE9ng d\u1EE5ng thanh to\xE1n s\u1ED1 1 Vi\u1EC7t Nam"}),w("meta",{name:"distribution",content:"Global"}),w("meta",{name:"author",content:"V\xED MoMo"}),w("meta",{property:"fb:app_id",content:"320653355376196"}),w("meta",{property:"fb:pages",content:"138010322921640"}),w("link",{rel:"shortcut icon",href:"/favicon.ico"}),w("link",{href:"https://www.momo.vn/favicon-32x32.png",rel:"icon",sizes:"32x32",type:"image/png"}),w("link",{href:"https://www.momo.vn/favicon-16x16.png",rel:"icon",sizes:"16x16",type:"image/png"}),w("link",{href:"https://www.momo.vn/apple-touch-icon.png",rel:"apple-touch-icon",sizes:"180x180"}),w("meta",{name:"language",content:"vietnamese"}),w("meta",{name:"copyright",content:"Copyright \xA9 2019 by MOMO.VN"}),w("meta",{name:"REVISIT-AFTER",content:"1 DAYS"}),w("meta",{name:"RATING",content:"GENERAL"}),w("meta",{httpEquiv:"x-dns-prefetch-control",content:"on"}),w("link",{rel:"dns-prefetch",href:"//www.google-analytics.com"}),w("link",{rel:"dns-prefetch",href:"//connect.facebook.net"}),w("link",{rel:"dns-prefetch",href:"//www.googletagservices.com"}),w("link",{rel:"dns-prefetch",href:"//www.googletagmanager.com"}),w("link",{rel:"dns-prefetch",href:"//facebook.com"}),w("link",{rel:"dns-prefetch",href:"//homepage.momocdn.net"}),w("link",{rel:"dns-prefetch",href:"//www.google.com"}),w("link",{rel:"dns-prefetch",href:"//www.google.com.vn"}),w("link",{rel:"dns-prefetch",href:"//www.googleadservices.com"}),w("link",{rel:"preconnect",href:"//connect.facebook.net"}),w("link",{rel:"preconnect",href:"//www.googletagmanager.com"}),w("link",{rel:"preconnect",href:"//www.google-analytics.com"}),w("link",{rel:"preconnect",href:"//googleads.g.doubleclick.net"}),w("link",{rel:"preconnect",href:"//homepage.momocdn.net"}),w("link",{rel:"preconnect",href:"//www.google.com"}),w("link",{rel:"preconnect",href:"//www.google.com.vn"}),w("link",{rel:"preconnect",href:"//www.googleadservices.com"}),w("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:`{
271
194
  "@context": "https://schema.org/",
272
195
  "@type": "WebSite",
273
196
  "@id":"https://www.momo.vn/#website",
@@ -277,7 +200,7 @@ import*as vt from"react";import*as ee from"@radix-ui/react-accordion";import{Che
277
200
  "@type": "SearchAction",
278
201
  "target": "https://www.momo.vn/tim-kiem?q={search_term_string}",
279
202
  "query-input": "required name=search_term_string"
280
- }}`}}),y("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:`{
203
+ }}`}}),w("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:`{
281
204
  "@context": "https://schema.org",
282
205
  "@type": "Organization",
283
206
  "name": "Si\xEAu \u1EE9ng d\u1EE5ng MoMo",
@@ -312,5 +235,5 @@ import*as vt from"react";import*as ee from"@radix-ui/react-accordion";import{Che
312
235
  "https://www.linkedin.com/company/momo-mservice/",
313
236
  "https://github.com/momo-wallet"
314
237
  ]
315
- }`}})]});export{Ve as Accordion,Ge as AccordionContent,Oe as AccordionItem,We as AccordionTrigger,vo as ActionButton,jn as AlertDialog,La as AlertDialogAction,Ea as AlertDialogCancel,Sa as AlertDialogContent,Ia as AlertDialogDescription,Aa as AlertDialogFooter,Da as AlertDialogHeader,xo as AlertDialogOverlay,ka as AlertDialogPortal,Ma as AlertDialogTitle,Qn as AlertDialogTrigger,gt as AspectRatio,dm as Badge,sa as Breadcrumb,ga as BreadcrumbEllipsis,ma as BreadcrumbItem,ca as BreadcrumbLink,la as BreadcrumbList,pa as BreadcrumbPage,da as BreadcrumbSeparator,oe as Button,Vt as Calendar,Hl as Callout,Ti as Card,Ai as CardContent,Di as CardDescription,Mi as CardFooter,ki as CardHeader,Si as CardTitle,ha as Carousel,xa as CarouselContent,ya as CarouselItem,Na as CarouselNext,wa as CarouselPrevious,zt as Checkbox,Zi as ChoiceboxGroup,Ki as ChoiceboxGroupItem,Yi as ChoiceboxMultiItem,Ml as Combobox,Al as ComboboxContent,Dl as ComboboxTrigger,$o as Command,kl as CommandDialog,Ei as CommandEmpty,_i as CommandGroup,Ii as CommandInput,Fi as CommandItem,Li as CommandList,Hi as CommandSeparator,zi as CommandShortcut,$n as DatePicker,$e as Dialog,Ht as DialogBody,pn as DialogClose,De as DialogContent,na as DialogDescription,ia as DialogFooter,aa as DialogHeader,fo as DialogOverlay,oa as DialogPortal,je as DialogQr,ra as DialogTitle,go as DialogTrigger,Km as FAQSection,Im as FeatureSection,Pl as Footer,Ni as HeaderNavigation,No as Heading,Co as HeadingGroup,Po as HeadingSub,wo as HeadingTagline,km as HeroSection,se as IconButton,nm as LightBoxContent,sm as LightboxGallery,tm as LightboxThumbnail,Kt as NavigationMenu,oo as NavigationMenuContent,Jt as NavigationMenuItem,Rt as NavigationMenuLink,Yt as NavigationMenuList,to as NavigationMenuTrigger,Fa as Pagination,xt as Popover,nt as PopoverContent,yt as PopoverTrigger,Um as ProgressSteps,Qm as ProgressStepsItem,jm as ProgressStepsItemTrigger,ir as Progressbar,di as RadioGroup,gi as RadioGroupItem,Gl as SearchBar,Vs as Select,ai as SelectContent,Ws as SelectGroup,Gs as SelectItem,ii as SelectLabel,Wo as SelectScrollDownButton,Oo as SelectScrollUpButton,ri as SelectSeparator,oi as SelectTrigger,Os as SelectValue,rc as SiteMeta,wr as Slider,zm as SocialProofSection,_s as Stepper,mi as Switch,Ro as Tabs,Qt as TabsContent,$t as TabsList,jt as TabsTrigger,Ms as TestimonialSection,ts as TextArea,lt as TextButton,Ts as TextInput,Ga as ToastAction,ds as Toaster,bs as Tooltip,Qa as TooltipArrow,Ua as TooltipContent,vs as TooltipProvider,hs as TooltipTrigger,er as badgeVariants,pe as buttonVariants,ic as mobaseTW,eo as navigationMenuTriggerStyle,ja as textButtonVariants,Va as toast,Do as useToast};
238
+ }`}})]});export{je as Accordion,Xe as AccordionContent,Qe as AccordionItem,Ue as AccordionTrigger,Tt as ActionButton,Ds as AlertDialog,qa as AlertDialogAction,Za as AlertDialogCancel,Wa as AlertDialogContent,Xa as AlertDialogDescription,Qa as AlertDialogFooter,ja as AlertDialogHeader,Fo as AlertDialogOverlay,$a as AlertDialogPortal,Ua as AlertDialogTitle,Is as AlertDialogTrigger,he as AspectRatio,_m as Badge,Sa as Breadcrumb,Ea as BreadcrumbEllipsis,Ia as BreadcrumbItem,Ma as BreadcrumbLink,Da as BreadcrumbList,Aa as BreadcrumbPage,La as BreadcrumbSeparator,ae as Button,Kt as Calendar,ym as Callout,Gi as Card,Qi as CardContent,ji as CardDescription,Ui as CardFooter,$i as CardHeader,Wi as CardTitle,Jt as Carousel,eo as CarouselContent,to as CarouselItem,ao as CarouselNext,oo as CarouselPrevious,qt as Checkbox,fr as ChoiceboxGroup,gr as ChoiceboxGroupItem,ur as ChoiceboxMultiItem,um as Combobox,gm as ComboboxContent,fm as ComboboxTrigger,ra as Command,dm as CommandDialog,Zi as CommandEmpty,Ki as CommandGroup,Xi as CommandInput,Ji as CommandItem,qi as CommandList,Yi as CommandSeparator,er as CommandShortcut,Cc as Comment,Ss as DatePicker,qe as Dialog,Ut as DialogBody,qn as DialogClose,Ae as DialogContent,ka as DialogDescription,Ra as DialogFooter,Ca as DialogHeader,Mo as DialogOverlay,Pa as DialogPortal,Ze as DialogQr,Ta as DialogTitle,Io as DialogTrigger,zc as FAQSection,oc as FeatureSection,sm as Footer,Jc as Form,cn as FormControl,dn as FormDescription,ed as FormField,ln as FormItem,mn as FormLabel,pn as FormMessage,zi as HeaderNavigation,zo as Heading,Vo as HeadingGroup,Bo as HeadingSub,Ho as HeadingTagline,Km as HeroSection,Le as IconButton,ma as LightBoxGalleryContent,la as LightboxGallery,Mm as LightboxThumbnail,co as NavigationMenu,vo as NavigationMenuContent,fo as NavigationMenuItem,Ft as NavigationMenuLink,po as NavigationMenuList,uo as NavigationMenuTrigger,Wc as NewsSection,Ja as Pagination,St as Popover,dt as PopoverContent,Dt as PopoverTrigger,Ec as ProgressSteps,Lc as ProgressStepsItem,Ac as ProgressStepsItemTrigger,wr as Progressbar,Si as RadioGroup,Di as RadioGroupItem,ga as ReadMoreLite,km as SearchBar,Cl as Select,hi as SelectContent,Tl as SelectGroup,kl as SelectItem,yi as SelectLabel,aa as SelectScrollDownButton,oa as SelectScrollUpButton,wi as SelectSeparator,bi as SelectTrigger,Rl as SelectValue,sd as SiteMeta,Hr as Slider,lc as SocialProofSection,hl as Stepper,Ri as Switch,At as Tabs,gt as TabsContent,pt as TabsList,ft as TabsTrigger,ul as TestimonialSection,Bs as TextArea,vt as TextButton,cl as TextInput,ri as ToastAction,Zs as Toaster,tl as Tooltip,li as TooltipArrow,mi as TooltipContent,el as TooltipProvider,ol as TooltipTrigger,xr as badgeVariants,ge as buttonVariants,nd as mobaseTW,go as navigationMenuTriggerStyle,si as textButtonVariants,oi as toast,jt as useFormField,Wo as useToast};
316
239
  //# sourceMappingURL=index.js.map