@momo-webplatform/mobase 0.2.38 → 0.2.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.cjs +48 -16
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/cjs/index.d.cts +248 -139
- package/dist/esm/index.d.ts +230 -121
- package/dist/esm/index.js +47 -15
- package/dist/esm/index.js.map +1 -1
- package/package.json +4 -3
package/dist/cjs/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var In=Object.create;var Gt=Object.defineProperty;var En=Object.getOwnPropertyDescriptor;var _n=Object.getOwnPropertyNames;var Hn=Object.getPrototypeOf,Bn=Object.prototype.hasOwnProperty;var Fn=(e,o)=>{for(var t in o)Gt(e,t,{get:o[t],enumerable:!0})},Xa=(e,o,t,a)=>{if(o&&typeof o=="object"||typeof o=="function")for(let r of _n(o))!Bn.call(e,r)&&r!==t&&Gt(e,r,{get:()=>o[r],enumerable:!(a=En(o,r))||a.enumerable});return e};var g=(e,o,t)=>(t=e!=null?In(Hn(e)):{},Xa(o||!e||!e.__esModule?Gt(t,"default",{value:e,enumerable:!0}):t,e)),zn=e=>Xa(Gt({},"__esModule",{value:!0}),e);var Fs={};Fn(Fs,{Accordion:()=>xt,AccordionContent:()=>Nt,AccordionItem:()=>yt,AccordionTrigger:()=>wt,ActionButton:()=>qt,AlertDialog:()=>bi,AlertDialogAction:()=>$o,AlertDialogCancel:()=>jo,AlertDialogContent:()=>zo,AlertDialogDescription:()=>Go,AlertDialogFooter:()=>Oo,AlertDialogHeader:()=>Vo,AlertDialogOverlay:()=>Jt,AlertDialogPortal:()=>Fo,AlertDialogTitle:()=>Wo,AlertDialogTrigger:()=>hi,AspectRatio:()=>it,Badge:()=>Ir,Breadcrumb:()=>Ao,BreadcrumbEllipsis:()=>Ho,BreadcrumbItem:()=>Lo,BreadcrumbLink:()=>Io,BreadcrumbList:()=>Mo,BreadcrumbPage:()=>Eo,BreadcrumbSeparator:()=>_o,Button:()=>oe,Calendar:()=>kt,Callout:()=>hr,Card:()=>Pa,CardContent:()=>ka,CardDescription:()=>Ta,CardFooter:()=>Da,CardHeader:()=>Ca,CardTitle:()=>Ra,Checkbox:()=>Tt,ChoiceboxGroup:()=>Ba,ChoiceboxGroupItem:()=>Fa,ChoiceboxMultiItem:()=>za,Combobox:()=>ur,ComboboxContent:()=>fr,ComboboxTrigger:()=>gr,Command:()=>bo,CommandDialog:()=>dr,CommandEmpty:()=>Ma,CommandGroup:()=>La,CommandInput:()=>Sa,CommandItem:()=>Ea,CommandList:()=>Aa,CommandSeparator:()=>Ia,CommandShortcut:()=>_a,DatePicker:()=>vi,Dialog:()=>Fe,DialogBody:()=>Ct,DialogClose:()=>ni,DialogContent:()=>Ae,DialogDescription:()=>So,DialogFooter:()=>ko,DialogHeader:()=>To,DialogOverlay:()=>jt,DialogPortal:()=>Ro,DialogQr:()=>ze,DialogTitle:()=>Do,DialogTrigger:()=>$t,FeatureSection:()=>tn,Footer:()=>cr,HeaderNavigation:()=>wa,Heading:()=>to,HeadingGroup:()=>ao,HeadingSub:()=>oo,HeadingTagline:()=>eo,HeroSection:()=>$r,IconButton:()=>Ie,LightBoxContent:()=>kr,LightboxGallery:()=>Dr,LightboxThumbnail:()=>Rr,NavigationMenu:()=>Mt,NavigationMenuContent:()=>Ht,NavigationMenuItem:()=>It,NavigationMenuLink:()=>gt,NavigationMenuList:()=>Lt,NavigationMenuTrigger:()=>_t,Pagination:()=>Uo,Popover:()=>mt,PopoverContent:()=>Ze,PopoverTrigger:()=>ct,Progressbar:()=>Ga,RadioGroup:()=>ha,RadioGroupItem:()=>xa,SearchBar:()=>wr,Select:()=>Wi,SelectContent:()=>pa,SelectGroup:()=>$i,SelectItem:()=>ji,SelectLabel:()=>ga,SelectScrollDownButton:()=>fo,SelectScrollUpButton:()=>go,SelectSeparator:()=>fa,SelectTrigger:()=>da,SelectValue:()=>Gi,SiteMeta:()=>Sn,Slider:()=>Ua,SocialProofSection:()=>rn,Stepper:()=>Vi,Switch:()=>va,Tabs:()=>Pi,TabsContent:()=>Zo,TabsList:()=>Qo,TabsTrigger:()=>Xo,TextArea:()=>ki,TextButton:()=>et,TextInput:()=>zi,ToastAction:()=>oa,Toaster:()=>Mi,Tooltip:()=>Bi,TooltipArrow:()=>la,TooltipContent:()=>ma,TooltipProvider:()=>Hi,TooltipTrigger:()=>Fi,badgeVariants:()=>Va,buttonVariants:()=>ge,mobaseTW:()=>Dn,navigationMenuTriggerStyle:()=>Et,textButtonVariants:()=>na,toast:()=>Jo,useToast:()=>co});module.exports=zn(Fs);var ht=g(require("react"),1),se=g(require("@radix-ui/react-accordion"),1),ei=require("@heroicons/react/20/solid");var Vn=g(require("react"),1),Ka=require("tailwind-merge");var De={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 Za={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 bt=[{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"}],Po=[{Name:"App Store",Image:"https://homepage.momocdn.net/img/momo-upload-api-210724113855-637627235353131497.jpg",Link:"https://itunes.apple.com/vn/app/id918751511?utm_source=website-momo&utm_medium=download&utm_campaign=momo-1dong"},{Name:"Google Play",Image:"https://homepage.momocdn.net/img/momo-upload-api-210724113959-637627235994410679.jpg",Link:"https://play.google.com/store/apps/details?id=com.mservice.momotransfer&utm_source=website-momo&utm_medium=download&utm_campaign=momo-1dong"}];var U={Business:{Phome:"1900636652",Phome_Format:"1900 636 652 (Ph\xED 1.000\u0111/ph\xFAt)",Email:"merchant.care@momo.vn"},Support:{Hotline:"1900545441",Hotline_Format:"1900 5454 41",Phone_Ext_1:"02873065555",Phone_Ext_1_Format:"028.7306.5555",Phone_Ext_2:"02899995555",Phone_Ext_2_Format:"028.9999.5555",Phone_Ext_3:"02855555555",Phone_Ext_3_Format:"028.5555.5555",Email:"hotro@momo.vn"}};var st=require("react"),Ya=g(require("ua-parser-js"),1);function i(...e){return(0,Ka.twMerge)(e)}var Co=()=>{if(!(typeof window>"u"))return!!navigator?.userAgent?.includes(process.env.NEXT_PUBLIC_REACT_APP_MOMO_APP_USER_AGENT||"")},On=()=>(0,Ya.default)().device.type==="mobile",Wn=typeof window<"u"?st.useLayoutEffect:st.useEffect,Ja=()=>{let[e,o]=(0,st.useState)(!1);return Wn(()=>{o(On()||Co())},[]),e};var Se=require("react/jsx-runtime"),xt=ht.forwardRef(({className:e,...o},t)=>(0,Se.jsx)(se.Root,{ref:t,...o}));xt.displayName="AccordionRoot";var yt=ht.forwardRef(({className:e,...o},t)=>(0,Se.jsx)(se.Item,{ref:t,className:i("border-b border-gray-200",e),...o}));yt.displayName="AccordionItem";var wt=ht.forwardRef(({className:e,children:o,...t},a)=>(0,Se.jsx)(se.Header,{className:"flex",children:(0,Se.jsxs)(se.Trigger,{ref:a,className:i("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),...t,children:[o,(0,Se.jsx)(ei.ChevronDownIcon,{className:" h-5 w-5 shrink-0 transition-transform duration-200 ml-1"})]})}));wt.displayName=se.Trigger.displayName;var Nt=ht.forwardRef(({className:e,children:o,...t},a)=>(0,Se.jsx)(se.Content,{ref:a,className:"overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down text-left ",...t,children:(0,Se.jsx)("div",{className:i("pb-4 pt-0 text-gray-900 ",e),children:o})}));Nt.displayName=se.Content.displayName;var li=require("react");var oi=g(require("react"),1),ai=require("@radix-ui/react-slot"),ii=require("class-variance-authority");var Q=require("react/jsx-runtime"),Gn=({className:e})=>(0,Q.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"none",className:`${e}`,children:[(0,Q.jsx)("path",{opacity:"0.9",fillRule:"evenodd",clipRule:"evenodd",d:"M15 9H19C19.55 9 20 9.45 20 10C20 10.55 19.55 11 19 11H15C14.45 11 14 10.55 14 10C14 9.45 14.45 9 15 9Z",fill:"currentColor"}),(0,Q.jsx)("path",{opacity:"0.2",fillRule:"evenodd",clipRule:"evenodd",d:"M14.8301 11.634L18.2942 13.634C18.7706 13.909 18.9353 14.5237 18.6603 15C18.3853 15.4763 17.7706 15.641 17.2942 15.366L13.8301 13.366C13.3538 13.091 13.1891 12.4763 13.4641 12C13.7391 11.5237 14.3538 11.359 14.8301 11.634Z",fill:"currentColor"}),(0,Q.jsx)("path",{opacity:"0.25",fillRule:"evenodd",clipRule:"evenodd",d:"M13.366 13.8301L15.366 17.2942C15.641 17.7706 15.4763 18.3853 14.9999 18.6603C14.5236 18.9353 13.9089 18.7706 13.6339 18.2942L11.6339 14.8301C11.3589 14.3538 11.5236 13.7391 11.9999 13.4641C12.4763 13.1891 13.091 13.3538 13.366 13.8301Z",fill:"currentColor"}),(0,Q.jsx)("path",{opacity:"0.3",fillRule:"evenodd",clipRule:"evenodd",d:"M11 15V19C11 19.55 10.55 20 10 20C9.45 20 9 19.55 9 19V15C9 14.45 9.45 14 10 14C10.55 14 11 14.45 11 15Z",fill:"currentColor"}),(0,Q.jsx)("path",{opacity:"0.35",fillRule:"evenodd",clipRule:"evenodd",d:"M8.36597 14.8301L6.36597 18.2942C6.09097 18.7706 5.47626 18.9353 4.99994 18.6603C4.52363 18.3853 4.35892 17.7706 4.63392 17.2942L6.63392 13.8301C6.90892 13.3538 7.52363 13.1891 7.99994 13.4641C8.47626 13.7391 8.64097 14.3538 8.36597 14.8301Z",fill:"currentColor"}),(0,Q.jsx)("path",{opacity:"0.4",fillRule:"evenodd",clipRule:"evenodd",d:"M6.16986 13.366L2.70576 15.366C2.22945 15.641 1.61474 15.4763 1.33974 15C1.06474 14.5237 1.22945 13.909 1.70576 13.634L5.16986 11.634C5.64618 11.359 6.26089 11.5237 6.53589 12C6.81089 12.4763 6.64618 13.091 6.16986 13.366Z",fill:"currentColor"}),(0,Q.jsx)("path",{opacity:"0.45",fillRule:"evenodd",clipRule:"evenodd",d:"M5 11H1C0.45 11 0 10.55 0 10C0 9.45 0.45 9 1 9H5C5.55 9 6 9.45 6 10C6 10.55 5.55 11 5 11Z",fill:"currentColor"}),(0,Q.jsx)("path",{opacity:"0.5",fillRule:"evenodd",clipRule:"evenodd",d:"M5.16986 8.36603L1.70576 6.36603C1.22945 6.09103 1.06474 5.47632 1.33974 5C1.61474 4.52369 2.22945 4.35898 2.70576 4.63398L6.16986 6.63398C6.64618 6.90898 6.81089 7.52369 6.53589 8C6.26089 8.47632 5.64618 8.64103 5.16986 8.36603Z",fill:"currentColor"}),(0,Q.jsx)("path",{opacity:"0.55",fillRule:"evenodd",clipRule:"evenodd",d:"M6.63403 6.16986L4.63403 2.70576C4.35903 2.22945 4.52374 1.61474 5.00006 1.33974C5.47637 1.06474 6.09108 1.22945 6.36608 1.70576L8.36608 5.16986C8.64108 5.64618 8.47637 6.26089 8.00006 6.53589C7.52374 6.81089 6.90903 6.64618 6.63403 6.16986Z",fill:"currentColor"}),(0,Q.jsx)("path",{opacity:"0.65",fillRule:"evenodd",clipRule:"evenodd",d:"M9 5L9 1C9 0.45 9.45 0 10 0C10.55 0 11 0.45 11 1V5C11 5.55 10.55 6 10 6C9.45 6 9 5.55 9 5Z",fill:"currentColor"}),(0,Q.jsx)("path",{opacity:"0.75",fillRule:"evenodd",clipRule:"evenodd",d:"M11.634 5.16986L13.634 1.70576C13.909 1.22945 14.5237 1.06474 15.0001 1.33974C15.4764 1.61474 15.6411 2.22945 15.3661 2.70576L13.3661 6.16986C13.0911 6.64618 12.4764 6.81089 12.0001 6.53589C11.5237 6.26089 11.359 5.64618 11.634 5.16986Z",fill:"currentColor"}),(0,Q.jsx)("path",{opacity:"0.85",fillRule:"evenodd",clipRule:"evenodd",d:"M13.8301 6.63397L17.2942 4.63397C17.7706 4.35897 18.3853 4.52368 18.6603 5C18.9353 5.47631 18.7706 6.09102 18.2942 6.36602L14.8301 8.36602C14.3538 8.64102 13.7391 8.47631 13.4641 8C13.1891 7.52368 13.3538 6.90897 13.8301 6.63397Z",fill:"currentColor"})]}),ti=Gn;var Be=require("react/jsx-runtime"),ge=(0,ii.cva)("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=oi.forwardRef(({className:e,variant:o="primary",size:t="default",asChild:a=!1,isLoading:r=!1,isDisabled:s=!1,...m},c)=>{let d=a?ai.Slot:"button",v=i(ge({variant:o,size:t,className:e}),{"cursor-wait":r});return(0,Be.jsx)(Be.Fragment,{children:a?(0,Be.jsx)(d,{className:v,type:"button",disabled:s,ref:c,...m,children:m.children}):(0,Be.jsxs)(d,{className:v,type:"button",disabled:s,ref:c,...m,children:[r&&(0,Be.jsx)(ti,{className:`${t==="default"||t==="sm"?"w-4 h-4":"w-5 h-5"} animate-spin-loading mr-2`}),m.children]})})});oe.displayName="Button";var Pt=g(require("react"),1),S=g(require("@radix-ui/react-dialog"),1);var ri=require("@heroicons/react/16/solid"),Y=require("react/jsx-runtime"),Fe=S.Root,$t=S.Trigger,Ro=S.Portal,ni=S.Close,jt=Pt.forwardRef(({className:e,...o},t)=>(0,Y.jsx)(S.Overlay,{ref:t,className:i("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),...o}));jt.displayName=S.Overlay.displayName;var Ae=Pt.forwardRef(({className:e,positionRightCloseBtn:o,hideCloseBtn:t=!1,size:a="md",position:r="center",height:s="auto",isFull:m=!1,children:c,...d},v)=>{let u={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"},D={sm:"w-80 sm:w-80",md:"w-[512px] sm:w-[512px]",lg:"w-[672px] sm:w-[672px]",xl:"w-[1024px] sm:-[1024px]"},q={auto:"h-auto sm:h-auto",small:"h-[480px] sm:h-[480px]",large:"h-[640px] sm:h-[640px]",full:"h-full"},Z=[u.base,u[r],D[a],q[s],m&&"h-full max-h-screen max-w-full w-full rounded-none sm:rounded-xl sm:max-h-[calc(-64px_+_100vh)]",e];return(0,Y.jsxs)(Ro,{children:[(0,Y.jsx)(jt,{}),(0,Y.jsxs)(S.Content,{ref:v,className:i(...Z),...d,children:[c,!t&&(0,Y.jsxs)(S.Close,{className:i("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",o&&"left-auto right-3 md:right-4"),title:"\u0110\xF3ng",children:[(0,Y.jsx)(ri.XMarkIcon,{className:"h-5 w-5 text-gray-700"}),(0,Y.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})});Ae.displayName=S.Content.displayName;var To=({className:e,...o})=>(0,Y.jsx)("div",{className:i("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),...o});To.displayName="DialogHeader";var Ct=({className:e,isCondensed:o=!1,...t})=>(0,Y.jsx)("div",{className:i("dialog-body p-6 flex-1 overflow-y-auto",o&&"p-5",e),...t});Ct.displayName="DialogBody";var ko=({className:e,isDivider:o=!0,...t})=>(0,Y.jsx)("div",{className:i("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",o&&"border-gray-200 border-t py-4",e),...t});ko.displayName="DialogFooter";var Do=Pt.forwardRef(({className:e,...o},t)=>(0,Y.jsx)(S.Title,{ref:t,className:i("text-base font-semibold line-clamp-1 max-w-full",e),...o}));Do.displayName=S.Title.displayName;var So=Pt.forwardRef(({className:e,...o},t)=>(0,Y.jsx)(S.Description,{ref:t,className:i("text-sm text-gray-700",e),...o}));So.displayName=S.Description.displayName;var si=require("qrcode.react"),p=require("react/jsx-runtime"),$n=({img:e="",children:o,isQrForAll:t})=>(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)("div",{className:"qrcode__scan__container",children:(0,p.jsxs)("div",{className:"qrcode__scan",children:[(0,p.jsx)("div",{className:"qrcode__gradient",children:(0,p.jsx)("img",{alt:"step 1",className:"img-fluid",src:"https://homepage.momocdn.net/jk/momo2020/img/qrcode/qrcode-gradient.png"})}),(0,p.jsx)("div",{className:"qrcode__border",children:(0,p.jsx)("img",{alt:"step 2",className:"img-fluid",src:"https://homepage.momocdn.net/jk/momo2020/img/qrcode/border-qrcode.svg"})}),(0,p.jsx)("div",{className:"qrcode__image p-4",children:e?(0,p.jsx)("img",{alt:"step 3",className:"img-fluid d-block mx-auto",src:e,loading:"lazy"}):o})]})}),(0,p.jsx)("div",{className:"mt-4 text-sm text-white",children:t?(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)("img",{src:"https://homepage.momocdn.net/img/momo-upload-api-231211171009-638379114093056419.png",width:255,height:32,className:"mx-auto",alt:"QR all"}),(0,p.jsx)("div",{className:"mt-3",children:"Nh\u1EADn ti\u1EC1n t\u1EEB m\u1ECDi V\xED \u0110i\u1EC7n T\u1EED v\xE0 Ng\xE2n H\xE0ng"})]}):(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"mr-1 inline h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,p.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 4v1m6 11h2m-6 0h-2v4m0-11v3m0 0h.01M12 12h4.01M16 20h4M4 12h4m12 0h.01M5 8h2a1 1 0 001-1V5a1 1 0 00-1-1H5a1 1 0 00-1 1v2a1 1 0 001 1zm12 0h2a1 1 0 001-1V5a1 1 0 00-1-1h-2a1 1 0 00-1 1v2a1 1 0 001 1zM5 20h2a1 1 0 001-1v-2a1 1 0 00-1-1H5a1 1 0 00-1 1v2a1 1 0 001 1z"})}),"S\u1EED d\u1EE5ng App MoMo ho\u1EB7c",(0,p.jsx)("br",{}),"\u1EE9ng d\u1EE5ng Camera h\u1ED7 tr\u1EE3 QR code \u0111\u1EC3 qu\xE9t m\xE3."]})}),(0,p.jsx)("style",{children:`
|
|
1
|
+
"use strict";var ls=Object.create;var Xt=Object.defineProperty;var ms=Object.getOwnPropertyDescriptor;var cs=Object.getOwnPropertyNames;var ds=Object.getPrototypeOf,ps=Object.prototype.hasOwnProperty;var gs=(e,t)=>{for(var o in t)Xt(e,o,{get:t[o],enumerable:!0})},ci=(e,t,o,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of cs(t))!ps.call(e,i)&&i!==o&&Xt(e,i,{get:()=>t[i],enumerable:!(a=ms(t,i))||a.enumerable});return e};var g=(e,t,o)=>(o=e!=null?ls(ds(e)):{},ci(t||!e||!e.__esModule?Xt(o,"default",{value:e,enumerable:!0}):o,e)),fs=e=>ci(Xt({},"__esModule",{value:!0}),e);var Pl={};gs(Pl,{Accordion:()=>Tt,AccordionContent:()=>Dt,AccordionItem:()=>kt,AccordionTrigger:()=>St,ActionButton:()=>Yt,AlertDialog:()=>zi,AlertDialogAction:()=>ra,AlertDialogCancel:()=>na,AlertDialogContent:()=>ea,AlertDialogDescription:()=>ia,AlertDialogFooter:()=>oa,AlertDialogHeader:()=>ta,AlertDialogOverlay:()=>so,AlertDialogPortal:()=>Jo,AlertDialogTitle:()=>aa,AlertDialogTrigger:()=>Bi,AspectRatio:()=>pt,Badge:()=>tn,Breadcrumb:()=>Bo,BreadcrumbEllipsis:()=>jo,BreadcrumbItem:()=>Oo,BreadcrumbLink:()=>Wo,BreadcrumbList:()=>Vo,BreadcrumbPage:()=>Go,BreadcrumbSeparator:()=>$o,Button:()=>ne,Calendar:()=>Et,Callout:()=>Vr,Card:()=>za,CardContent:()=>Wa,CardDescription:()=>Oa,CardFooter:()=>Ga,CardHeader:()=>Ba,CardTitle:()=>Va,Carousel:()=>qo,CarouselContent:()=>Qo,CarouselItem:()=>Xo,CarouselNext:()=>Ko,CarouselPrevious:()=>Zo,Checkbox:()=>Lt,ChoiceboxGroup:()=>Ya,ChoiceboxGroupItem:()=>Ja,ChoiceboxMultiItem:()=>ei,Combobox:()=>Fr,ComboboxContent:()=>Hr,ComboboxTrigger:()=>_r,Command:()=>ko,CommandDialog:()=>Lr,CommandEmpty:()=>Ua,CommandGroup:()=>qa,CommandInput:()=>$a,CommandItem:()=>Xa,CommandList:()=>ja,CommandSeparator:()=>Qa,CommandShortcut:()=>Za,DatePicker:()=>Fi,Dialog:()=>Ge,DialogBody:()=>At,DialogClose:()=>wi,DialogContent:()=>He,DialogDescription:()=>zo,DialogFooter:()=>Ho,DialogHeader:()=>_o,DialogOverlay:()=>Kt,DialogPortal:()=>Eo,DialogQr:()=>$e,DialogTitle:()=>Fo,DialogTrigger:()=>Zt,FeatureSection:()=>Cn,Footer:()=>Ir,HeaderNavigation:()=>Ha,Heading:()=>mo,HeadingGroup:()=>po,HeadingSub:()=>co,HeadingTagline:()=>lo,HeroSection:()=>gn,IconButton:()=>fe,LightBoxContent:()=>Xr,LightboxGallery:()=>Zr,LightboxThumbnail:()=>qr,NavigationMenu:()=>zt,NavigationMenuContent:()=>Gt,NavigationMenuItem:()=>Vt,NavigationMenuLink:()=>wt,NavigationMenuList:()=>Bt,NavigationMenuTrigger:()=>Wt,Pagination:()=>la,Popover:()=>bt,PopoverContent:()=>it,PopoverTrigger:()=>ht,ProgressSteps:()=>En,ProgressStepsItem:()=>Ln,ProgressStepsItemTrigger:()=>In,Progressbar:()=>ii,RadioGroup:()=>La,RadioGroupItem:()=>Ea,SearchBar:()=>Gr,Select:()=>mr,SelectContent:()=>ka,SelectGroup:()=>dr,SelectItem:()=>pr,SelectLabel:()=>Sa,SelectScrollDownButton:()=>Co,SelectScrollUpButton:()=>Po,SelectSeparator:()=>Da,SelectTrigger:()=>Ta,SelectValue:()=>cr,SiteMeta:()=>is,Slider:()=>li,SocialProofSection:()=>kn,Stepper:()=>sr,Switch:()=>Aa,Tabs:()=>Vi,TabsContent:()=>da,TabsList:()=>ma,TabsTrigger:()=>ca,TestimonialSection:()=>nr,TextArea:()=>$i,TextButton:()=>st,TextInput:()=>or,ToastAction:()=>ba,Toaster:()=>Qi,Tooltip:()=>er,TooltipArrow:()=>Pa,TooltipContent:()=>Ca,TooltipProvider:()=>Ji,TooltipTrigger:()=>tr,badgeVariants:()=>ti,buttonVariants:()=>xe,mobaseTW:()=>as,navigationMenuTriggerStyle:()=>Ot,textButtonVariants:()=>wa,toast:()=>fa,useToast:()=>xo});module.exports=fs(Pl);var Rt=g(require("react"),1),pe=g(require("@radix-ui/react-accordion"),1),ui=require("@heroicons/react/20/solid");var us=g(require("react"),1),pi=require("tailwind-merge");var Ee={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 di={Address:"L\u1EA7u 6, To\xE0 nh\xE0 Ph\xFA M\u1EF9 H\u01B0ng, s\u1ED1 8 Ho\xE0ng V\u0103n Th\xE1i, khu ph\u1ED1 1, Ph\u01B0\u1EDDng T\xE2n Ph\xFA, Qu\u1EADn 7, Th\xE0nh ph\u1ED1 H\u1ED3 Ch\xED Minh"};var Ct=[{Name:"Facebook",Image:"https://homepage.momocdn.net/styles/desktop/images/social/facebook.svg",Link:"https://www.facebook.com/vimomo"},{Name:"Linkedin",Image:"https://homepage.momocdn.net/styles/desktop/images/social/linkedin.svg",Link:"https://www.linkedin.com/company/momo-mservice/"},{Name:"Youtube",Image:"https://homepage.momocdn.net/styles/desktop/images/social/youtube.svg",Link:"https://www.youtube.com/channel/UCKHHW-qL2JoZqcSNm1jPlqw"}],Io=[{Name:"App Store",Image:"https://homepage.momocdn.net/img/momo-upload-api-210724113855-637627235353131497.jpg",Link:"https://itunes.apple.com/vn/app/id918751511?utm_source=website-momo&utm_medium=download&utm_campaign=momo-1dong"},{Name:"Google Play",Image:"https://homepage.momocdn.net/img/momo-upload-api-210724113959-637627235994410679.jpg",Link:"https://play.google.com/store/apps/details?id=com.mservice.momotransfer&utm_source=website-momo&utm_medium=download&utm_campaign=momo-1dong"}];var ee={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"}};var ut=require("react"),gi=g(require("ua-parser-js"),1);function r(...e){return(0,pi.twMerge)(e)}var Lo=()=>{if(!(typeof window>"u"))return!!navigator?.userAgent?.includes(process.env.NEXT_PUBLIC_REACT_APP_MOMO_APP_USER_AGENT||"")},vs=()=>(0,gi.default)().device.type==="mobile",bs=typeof window<"u"?ut.useLayoutEffect:ut.useEffect,fi=()=>{let[e,t]=(0,ut.useState)(!1);return bs(()=>{t(vs()||Lo())},[]),e};var _e=require("react/jsx-runtime"),Tt=Rt.forwardRef(({className:e,...t},o)=>(0,_e.jsx)(pe.Root,{ref:o,...t}));Tt.displayName="AccordionRoot";var kt=Rt.forwardRef(({className:e,...t},o)=>(0,_e.jsx)(pe.Item,{ref:o,className:r("border-b border-gray-200",e),...t}));kt.displayName="AccordionItem";var St=Rt.forwardRef(({className:e,children:t,...o},a)=>(0,_e.jsx)(pe.Header,{className:"flex",children:(0,_e.jsxs)(pe.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,(0,_e.jsx)(ui.ChevronDownIcon,{className:" h-5 w-5 shrink-0 transition-transform duration-200 ml-1"})]})}));St.displayName=pe.Trigger.displayName;var Dt=Rt.forwardRef(({className:e,children:t,...o},a)=>(0,_e.jsx)(pe.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:(0,_e.jsx)("div",{className:r("pb-4 pt-0 text-gray-900 ",e),children:t})}));Dt.displayName=pe.Content.displayName;var Pi=require("react");var bi=g(require("react"),1),hi=require("@radix-ui/react-slot"),xi=require("class-variance-authority");var te=require("react/jsx-runtime"),hs=({className:e})=>(0,te.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"none",className:`${e}`,children:[(0,te.jsx)("path",{opacity:"0.9",fillRule:"evenodd",clipRule:"evenodd",d:"M15 9H19C19.55 9 20 9.45 20 10C20 10.55 19.55 11 19 11H15C14.45 11 14 10.55 14 10C14 9.45 14.45 9 15 9Z",fill:"currentColor"}),(0,te.jsx)("path",{opacity:"0.2",fillRule:"evenodd",clipRule:"evenodd",d:"M14.8301 11.634L18.2942 13.634C18.7706 13.909 18.9353 14.5237 18.6603 15C18.3853 15.4763 17.7706 15.641 17.2942 15.366L13.8301 13.366C13.3538 13.091 13.1891 12.4763 13.4641 12C13.7391 11.5237 14.3538 11.359 14.8301 11.634Z",fill:"currentColor"}),(0,te.jsx)("path",{opacity:"0.25",fillRule:"evenodd",clipRule:"evenodd",d:"M13.366 13.8301L15.366 17.2942C15.641 17.7706 15.4763 18.3853 14.9999 18.6603C14.5236 18.9353 13.9089 18.7706 13.6339 18.2942L11.6339 14.8301C11.3589 14.3538 11.5236 13.7391 11.9999 13.4641C12.4763 13.1891 13.091 13.3538 13.366 13.8301Z",fill:"currentColor"}),(0,te.jsx)("path",{opacity:"0.3",fillRule:"evenodd",clipRule:"evenodd",d:"M11 15V19C11 19.55 10.55 20 10 20C9.45 20 9 19.55 9 19V15C9 14.45 9.45 14 10 14C10.55 14 11 14.45 11 15Z",fill:"currentColor"}),(0,te.jsx)("path",{opacity:"0.35",fillRule:"evenodd",clipRule:"evenodd",d:"M8.36597 14.8301L6.36597 18.2942C6.09097 18.7706 5.47626 18.9353 4.99994 18.6603C4.52363 18.3853 4.35892 17.7706 4.63392 17.2942L6.63392 13.8301C6.90892 13.3538 7.52363 13.1891 7.99994 13.4641C8.47626 13.7391 8.64097 14.3538 8.36597 14.8301Z",fill:"currentColor"}),(0,te.jsx)("path",{opacity:"0.4",fillRule:"evenodd",clipRule:"evenodd",d:"M6.16986 13.366L2.70576 15.366C2.22945 15.641 1.61474 15.4763 1.33974 15C1.06474 14.5237 1.22945 13.909 1.70576 13.634L5.16986 11.634C5.64618 11.359 6.26089 11.5237 6.53589 12C6.81089 12.4763 6.64618 13.091 6.16986 13.366Z",fill:"currentColor"}),(0,te.jsx)("path",{opacity:"0.45",fillRule:"evenodd",clipRule:"evenodd",d:"M5 11H1C0.45 11 0 10.55 0 10C0 9.45 0.45 9 1 9H5C5.55 9 6 9.45 6 10C6 10.55 5.55 11 5 11Z",fill:"currentColor"}),(0,te.jsx)("path",{opacity:"0.5",fillRule:"evenodd",clipRule:"evenodd",d:"M5.16986 8.36603L1.70576 6.36603C1.22945 6.09103 1.06474 5.47632 1.33974 5C1.61474 4.52369 2.22945 4.35898 2.70576 4.63398L6.16986 6.63398C6.64618 6.90898 6.81089 7.52369 6.53589 8C6.26089 8.47632 5.64618 8.64103 5.16986 8.36603Z",fill:"currentColor"}),(0,te.jsx)("path",{opacity:"0.55",fillRule:"evenodd",clipRule:"evenodd",d:"M6.63403 6.16986L4.63403 2.70576C4.35903 2.22945 4.52374 1.61474 5.00006 1.33974C5.47637 1.06474 6.09108 1.22945 6.36608 1.70576L8.36608 5.16986C8.64108 5.64618 8.47637 6.26089 8.00006 6.53589C7.52374 6.81089 6.90903 6.64618 6.63403 6.16986Z",fill:"currentColor"}),(0,te.jsx)("path",{opacity:"0.65",fillRule:"evenodd",clipRule:"evenodd",d:"M9 5L9 1C9 0.45 9.45 0 10 0C10.55 0 11 0.45 11 1V5C11 5.55 10.55 6 10 6C9.45 6 9 5.55 9 5Z",fill:"currentColor"}),(0,te.jsx)("path",{opacity:"0.75",fillRule:"evenodd",clipRule:"evenodd",d:"M11.634 5.16986L13.634 1.70576C13.909 1.22945 14.5237 1.06474 15.0001 1.33974C15.4764 1.61474 15.6411 2.22945 15.3661 2.70576L13.3661 6.16986C13.0911 6.64618 12.4764 6.81089 12.0001 6.53589C11.5237 6.26089 11.359 5.64618 11.634 5.16986Z",fill:"currentColor"}),(0,te.jsx)("path",{opacity:"0.85",fillRule:"evenodd",clipRule:"evenodd",d:"M13.8301 6.63397L17.2942 4.63397C17.7706 4.35897 18.3853 4.52368 18.6603 5C18.9353 5.47631 18.7706 6.09102 18.2942 6.36602L14.8301 8.36602C14.3538 8.64102 13.7391 8.47631 13.4641 8C13.1891 7.52368 13.3538 6.90897 13.8301 6.63397Z",fill:"currentColor"})]}),vi=hs;var We=require("react/jsx-runtime"),xe=(0,xi.cva)("inline-flex items-center justify-center whitespace-nowrap rounded-lg text-sm font-bold transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed border border-transparent",{variants:{variant:{primary:"bg-pink-500 text-white hover:bg-pink-600 disabled:bg-pink-300",secondary:"bg-white text-gray-900 hover:bg-gray-100 disabled:text-gray-400 disabled:bg-white border-gray-300",outline:"border-pink-500 text-pink-500 bg-white hover:bg-pink-50 disabled:bg-white disabled:border-pink-300 disabled:text-pink-300",tonal:"bg-pink-100 text-pink-500 hover:bg-pink-200 disabled:bg-gray-200 disabled:text-gray-400",danger:"bg-red-500 text-white hover:bg-red-600 disabled:bg-red-300",transparent:"text-gray-900 bg-transparent hover:bg-gray-100 disabled:text-gray-400 disabled:bg-transparent"},size:{default:"text-sm h-10 px-4",sm:"h-8 px-3 text-sm rounded-md",lg:"h-12 px-4 text-base"}},defaultVariants:{variant:"primary",size:"default"}}),ne=bi.forwardRef(({className:e,variant:t="primary",size:o="default",asChild:a=!1,isLoading:i=!1,isDisabled:n=!1,...l},c)=>{let d=a?hi.Slot:"button",p=r(xe({variant:t,size:o,className:e}),{"cursor-wait":i});return(0,We.jsx)(We.Fragment,{children:a?(0,We.jsx)(d,{className:p,type:"button",disabled:n,ref:c,...l,children:l.children}):(0,We.jsxs)(d,{className:p,type:"button",disabled:n,ref:c,...l,children:[i&&(0,We.jsx)(vi,{className:`${o==="default"||o==="sm"?"w-4 h-4":"w-5 h-5"} animate-spin-loading mr-2`}),l.children]})})});ne.displayName="Button";var Mt=g(require("react"),1),I=g(require("@radix-ui/react-dialog"),1);var yi=require("@heroicons/react/16/solid"),ae=require("react/jsx-runtime"),Ge=I.Root,Zt=I.Trigger,Eo=I.Portal,wi=I.Close,Kt=Mt.forwardRef(({className:e,...t},o)=>(0,ae.jsx)(I.Overlay,{ref:o,className:r("fixed inset-0 z-50 bg-black/60 !duration-300 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}));Kt.displayName=I.Overlay.displayName;var He=Mt.forwardRef(({className:e,positionRightCloseBtn:t,hideCloseBtn:o=!1,size:a="md",position:i="center",height:n="auto",isFull:l=!1,children:c,...d},p)=>{let v={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]"},W={auto:"h-auto sm:h-auto",small:"h-[480px] sm:h-[480px]",large:"h-[640px] sm:h-[640px]",full:"h-full"},K=[v.base,v[i],T[a],W[n],l&&"h-full max-h-screen max-w-full w-full rounded-none sm:rounded-xl sm:max-h-[calc(-64px_+_100vh)]",e];return(0,ae.jsxs)(Eo,{children:[(0,ae.jsx)(Kt,{}),(0,ae.jsxs)(I.Content,{ref:p,className:r(...K),...d,children:[c,!o&&(0,ae.jsxs)(I.Close,{className:r("absolute md:top-4 top-2 focus:outline-none focus:ring-0 disabled:pointer-events-none data-[state=open]:bg-gray-100 data-[state=open]:text-gray-700 text-gray-900 w-8 h-8 flex justify-center items-center rounded-full before:opacity-0 hover:before:opacity-100 before:transition-opacity before:z-[-1] before:content-[''] before:absolute before:inset-0 before:rounded-full before:select-none before:left-0 before:top-0 before:bg-gray-200 left-3 md:left-auto md:right-4",t&&"left-auto right-3 md:right-4"),title:"\u0110\xF3ng",children:[(0,ae.jsx)(yi.XMarkIcon,{className:"h-5 w-5 text-gray-700"}),(0,ae.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})});He.displayName=I.Content.displayName;var _o=({className:e,...t})=>(0,ae.jsx)("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});_o.displayName="DialogHeader";var At=({className:e,isCondensed:t=!1,...o})=>(0,ae.jsx)("div",{className:r("dialog-body p-6 flex-1 overflow-y-auto",t&&"p-5",e),...o});At.displayName="DialogBody";var Ho=({className:e,isDivider:t=!0,...o})=>(0,ae.jsx)("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});Ho.displayName="DialogFooter";var Fo=Mt.forwardRef(({className:e,...t},o)=>(0,ae.jsx)(I.Title,{ref:o,className:r("text-base font-semibold line-clamp-1 max-w-full",e),...t}));Fo.displayName=I.Title.displayName;var zo=Mt.forwardRef(({className:e,...t},o)=>(0,ae.jsx)(I.Description,{ref:o,className:r("text-sm text-gray-700",e),...t}));zo.displayName=I.Description.displayName;var Ni=require("qrcode.react"),f=require("react/jsx-runtime"),xs=({img:e="",children:t,isQrForAll:o})=>(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)("div",{className:"qrcode__scan__container",children:(0,f.jsxs)("div",{className:"qrcode__scan",children:[(0,f.jsx)("div",{className:"qrcode__gradient",children:(0,f.jsx)("img",{alt:"step 1",className:"img-fluid",src:"https://homepage.momocdn.net/jk/momo2020/img/qrcode/qrcode-gradient.png"})}),(0,f.jsx)("div",{className:"qrcode__border",children:(0,f.jsx)("img",{alt:"step 2",className:"img-fluid",src:"https://homepage.momocdn.net/jk/momo2020/img/qrcode/border-qrcode.svg"})}),(0,f.jsx)("div",{className:"qrcode__image p-4",children:e?(0,f.jsx)("img",{alt:"step 3",className:"img-fluid d-block mx-auto",src:e,loading:"lazy"}):t})]})}),(0,f.jsx)("div",{className:"mt-4 text-sm text-white",children:o?(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)("img",{src:"https://homepage.momocdn.net/img/momo-upload-api-231211171009-638379114093056419.png",width:255,height:32,className:"mx-auto",alt:"QR all"}),(0,f.jsx)("div",{className:"mt-3",children:"Nh\u1EADn ti\u1EC1n t\u1EEB m\u1ECDi V\xED \u0110i\u1EC7n T\u1EED v\xE0 Ng\xE2n H\xE0ng"})]}):(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"mr-1 inline h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,f.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 4v1m6 11h2m-6 0h-2v4m0-11v3m0 0h.01M12 12h4.01M16 20h4M4 12h4m12 0h.01M5 8h2a1 1 0 001-1V5a1 1 0 00-1-1H5a1 1 0 00-1 1v2a1 1 0 001 1zm12 0h2a1 1 0 001-1V5a1 1 0 00-1-1h-2a1 1 0 00-1 1v2a1 1 0 001 1zM5 20h2a1 1 0 001-1v-2a1 1 0 00-1-1H5a1 1 0 00-1 1v2a1 1 0 001 1z"})}),"S\u1EED d\u1EE5ng App MoMo ho\u1EB7c",(0,f.jsx)("br",{}),"\u1EE9ng d\u1EE5ng Camera h\u1ED7 tr\u1EE3 QR code \u0111\u1EC3 qu\xE9t m\xE3."]})}),(0,f.jsx)("style",{children:`
|
|
2
2
|
.qrcode__scan__container {
|
|
3
3
|
padding: 15px;
|
|
4
4
|
background-color: white;
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
transform: translate3d(0, 30%, 0);
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
|
-
`})]}),ze=({className:e,children:o,title:t,shortTitle:a,qrImage:r,qrLink:s,logoQr:m,isQrForAll:c=!1,...d})=>(0,p.jsx)(Fe,{...d,children:(0,p.jsx)(Ae,{className:i("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:(0,p.jsx)(Ct,{className:"p-0",children:(0,p.jsxs)("div",{className:"flex flex-row flex-wrap",children:[(0,p.jsx)("div",{className:"w-full flex-none md:w-5/12 hidden sm:block",children:o||(0,p.jsxs)("div",{className:"px-5 text-sm py-8 grid grid-cols-1 gap-y-6",children:[(0,p.jsxs)("div",{className:"flex flex-nowrap items-center",children:[(0,p.jsx)("div",{className:"flex-none",children:(0,p.jsx)("img",{className:"w-20",loading:"lazy",src:"https://homepage.momocdn.net/images/s/momo-upload-api-200917091602-637359309621891617.png",alt:"Step 1"})}),(0,p.jsxs)("div",{className:"flex-1 pl-4",children:[(0,p.jsx)("div",{className:"step font-semibold text-gray-800 ",children:"B\u01B0\u1EDBc 1 :"}),(0,p.jsx)("div",{className:"mt-1 text-gray-500 ",children:c?"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"})]})]}),(0,p.jsxs)("div",{className:"flex flex-nowrap items-center",children:[(0,p.jsx)("div",{className:"flex-none",children:(0,p.jsx)("img",{className:"w-20 ",loading:"lazy",src:"https://homepage.momocdn.net/images/s/momo-upload-api-200917091443-637359308837905996.png",alt:"Step 2"})}),(0,p.jsxs)("div",{className:"flex-1 pl-4",children:[(0,p.jsx)("div",{className:"step font-semibold text-gray-800 ",children:"B\u01B0\u1EDBc 2 :"}),(0,p.jsx)("div",{className:"mt-1 text-gray-500 ",children:"Qu\xE9t m\xE3 QR Code theo h\xECnh b\xEAn ph\u1EA3i"})]})]}),(0,p.jsxs)("div",{className:"flex flex-nowrap items-center",children:[(0,p.jsx)("div",{className:"flex-none",children:(0,p.jsx)("img",{className:"w-20 ",loading:"lazy",src:"https://homepage.momocdn.net/images/s/momo-upload-api-200917090146-637359301062519803.png",alt:"Step 3"})}),(0,p.jsxs)("div",{className:"flex-1 pl-4",children:[(0,p.jsx)("div",{className:"step font-semibold text-gray-800 ",children:"B\u01B0\u1EDBc 3 :"}),(0,p.jsxs)("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"]})]})]})]})}),(0,p.jsx)("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:(0,p.jsxs)("div",{className:"px-5 py-10 text-center",children:[t&&(0,p.jsx)("h4",{className:"mb-5 text-base font-semibold text-white",children:t}),(0,p.jsxs)("div",{className:"relative",children:[c&&(0,p.jsx)("div",{className:"absolute -top-2 left-1/2 z-[5] -translate-x-1/2",children:(0,p.jsx)("img",{src:"https://homepage.momocdn.net/fileuploads/svg/momo-file-231211170324.svg",alt:"Title QR all"})}),(0,p.jsx)($n,{img:r,isQrForAll:c,children:s&&(0,p.jsx)(si.QRCodeSVG,{value:s,size:215,imageSettings:{src:`${m||"https://homepage.momocdn.net/pwa/images/logoMomox50.png"}`,height:50,width:50,excavate:!0},level:"H"})})]})]})})]})})})});var Me=require("react/jsx-runtime"),qt=({action:e,newTab:o,offset:t,dialogQrProps:a,className:r,children:s,...m})=>{let[c,d]=(0,li.useState)(!1),v=Ja(),u=Co()||typeof window<"u"&&window.location.search.includes("view=app"),D=!!a?.qrLink,q=()=>{let V=D?a?.qrLink:e;return typeof V=="string"?V.trim():""},Z=()=>{let V=q();!V&&typeof e!="function"||(typeof e=="function"?e():window.open(/^http|^momo:/.test(V)?V:`${process.env.NEXT_PUBLIC_REACT_APP_BASE_PATH}${V}`,o?"_blank":"_self"))},H=(V,T=0)=>{let Qe=document.querySelector(V);if(!Qe)return;let Xe=Qe.getBoundingClientRect().top+window.scrollY-T;window.scrollTo({top:Xe,behavior:"smooth"})},R=()=>{typeof e=="string"&&e.startsWith("#")?H(e,t):Z()},K=()=>(0,Me.jsxs)(Me.Fragment,{children:[(0,Me.jsx)(oe,{...m,className:r,onClick:()=>d(!0),"data-name":"button-action-with-qr",children:s}),(0,Me.jsx)(ze,{...a,open:c,onOpenChange:()=>d(!1),qrLink:a?.qrLink||""})]});return D?v||u?a?.isQrForAll?K():(0,Me.jsx)(oe,{...m,className:r,onClick:Z,"data-name":"button-action-with-qr",children:s}):K():(0,Me.jsx)(oe,{...m,onClick:R,className:i("cursor-pointer",r),"data-name":"button-action-without-qr",rel:"noreferrer",children:s})};var lt=g(require("react"),1),Ut=require("@radix-ui/react-icons"),mi=require("@radix-ui/react-slot");var le=require("react/jsx-runtime"),Ao=lt.forwardRef(({className:e,...o},t)=>(0,le.jsx)("nav",{ref:t,"aria-label":"breadcrumb",className:i("",e),...o}));Ao.displayName="Breadcrumb";var Mo=lt.forwardRef(({className:e,...o},t)=>(0,le.jsx)("ol",{ref:t,className:i("flex items-center gap-2 break-words text-sm overflow-x-auto snap-mandatory snap-x [&::-webkit-scrollbar]:hidden",e),...o}));Mo.displayName="BreadcrumbList";var Lo=lt.forwardRef(({className:e,...o},t)=>(0,le.jsx)("li",{ref:t,className:i("shrink-0 text-gray-900 hover:text-pink-500",e),...o}));Lo.displayName="BreadcrumbItem";var Io=lt.forwardRef(({asChild:e,className:o,...t},a)=>(0,le.jsx)(e?mi.Slot:"a",{ref:a,className:i("transition-colors hover:text-foreground",o),...t}));Io.displayName="BreadcrumbLink";var Eo=lt.forwardRef(({className:e,...o},t)=>(0,le.jsx)("span",{ref:t,role:"link","aria-disabled":"true","aria-current":"page",className:i("text-sm text-gray-500",e),...o}));Eo.displayName="BreadcrumbPage";var _o=({children:e,className:o,...t})=>(0,le.jsx)("li",{role:"presentation","aria-hidden":"true",className:i("text-gray-900",o),...t,children:e??(0,le.jsx)(Ut.ChevronRightIcon,{className:"w-2 h-2"})});_o.displayName="BreadcrumbSeparator";var Ho=({className:e,...o})=>(0,le.jsxs)("span",{role:"presentation","aria-hidden":"true",className:i("flex h-5 w-5 items-center justify-center",e),...o,children:[(0,le.jsx)(Ut.DotsHorizontalIcon,{className:"w-4 h-4 text-gray-900"}),(0,le.jsx)("span",{className:"sr-only",children:"More"})]});Ho.displayName="BreadcrumbElipssis";var Xt=g(require("react"),1);var Zt=require("date-fns/locale"),pi=require("react-day-picker"),Kt=require("lucide-react"),gi=g(require("lunisolar"),1);var ci=g(require("react"),1),Rt=g(require("@radix-ui/react-checkbox"),1),di=require("@heroicons/react/16/solid");var Qt=require("react/jsx-runtime"),Tt=ci.forwardRef(({className:e,...o},t)=>(0,Qt.jsx)(Rt.Root,{ref:t,className:i("peer h-4 w-4 shrink-0 rounded border-2 disabled:bg-gray-300 border-gray-300 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-default disabled:bg-gray-100 data-[state=checked]:border-none disabled:data-[state=checked]:bg-gray-400 disabled:data-[state=checked]:text-gray-100 data-[state=checked]:bg-pink-500 data-[state=checked]:text-white",e),...o,children:(0,Qt.jsx)(Rt.Indicator,{className:i("flex items-center justify-center text-current"),children:(0,Qt.jsx)(di.CheckIcon,{className:"h-4 w-4"})})}));Tt.displayName=Rt.Root.displayName;var O=require("react/jsx-runtime"),jn=({date:e,cusContent:o})=>{let t=null;return t=(0,gi.default)(e).lunar,(0,O.jsxs)(O.Fragment,{children:[o?o(e):e.getDate(),t&&(0,O.jsx)("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:t.day})]})},qn={formatCaption:e=>`Th\xE1ng ${e.getMonth()+1}/${e.getFullYear()}`,formatWeekdayName:e=>{let o=e.getDay();return["CN","T2","T3","T4","T5","T6","T7"][o]}};function Un({isShow:e,setIsShow:o,lang:t}){let a=Xt.useId();return(0,O.jsx)("div",{className:"w-full p-3 pt-0",children:(0,O.jsxs)("div",{className:"flex items-center space-x-2 border-t border-gray-100 pt-3 cursor-pointer",children:[(0,O.jsx)(Tt,{checked:e,id:`check-show-luna-${a}`,onCheckedChange:r=>{typeof r=="boolean"&&o(r)}}),(0,O.jsx)("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:t==="vi"?"Hi\u1EC7n ng\xE0y \xE2m l\u1ECBch":"Show lunar date"})]})})}var Qn=e=>e.getDay()===0||e.getDay()===6;function kt({className:e,classNames:o,showOutsideDays:t=!1,enableLunaDate:a=!1,lang:r="vi",cusContentDay:s,...m}){let[c,d]=Xt.useState(!0);return(0,O.jsx)(pi.DayPicker,{locale:r==="vi"?Zt.vi:Zt.enUS,showOutsideDays:t,className:i("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:i(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:i("font-medium rounded-md w-11 text-xs text-gray-500 [&:nth-child(7)]:text-red-600",r==="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:i(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&&c&&"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",...o},modifiers:{weekend:Qn},modifiersClassNames:{weekend:"text-red-600"},components:{IconLeft:()=>(0,O.jsx)(Kt.ChevronLeft,{className:"h-6 w-6"}),IconRight:()=>(0,O.jsx)(Kt.ChevronRight,{className:"h-6 w-6"}),DayContent:v=>(0,O.jsx)(jn,{date:v.date,cusContent:s}),Months:({children:v})=>(0,O.jsxs)("div",{className:"w-full",children:[(0,O.jsx)("div",{className:i("flex flex-col sm:flex-row months-wrapper"),children:v}),a&&(0,O.jsx)(Un,{isShow:c,setIsShow:d,lang:r})]})},formatters:r==="vi"?qn:{},...m})}kt.displayName="Calendar";var fi=g(require("react"),1),Le=g(require("@radix-ui/react-popover"),1);var Bo=require("react/jsx-runtime"),mt=Le.Root,ct=Le.Trigger,Ze=fi.forwardRef(({className:e,align:o="center",sideOffset:t=4,...a},r)=>(0,Bo.jsx)(Le.Portal,{children:(0,Bo.jsx)(Le.Content,{ref:r,align:o,sideOffset:t,className:i("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})}));Ze.displayName=Le.Content.displayName;var Dt=require("date-fns");var ui=require("lucide-react");var Yt=require("@heroicons/react/16/solid"),L=require("react/jsx-runtime"),vi=({label:e,placeholder:o="Select a value",size:t=1,message:a,isError:r,disabled:s,dateFormat:m="dd/MM/yyyy",buttonProps:c,popoverProps:d,calendarProps:v})=>{let u=v?.selected||null;return(0,L.jsxs)("div",{children:[(0,L.jsxs)(mt,{...d,children:[(0,L.jsx)(ct,{asChild:!0,children:(0,L.jsxs)(oe,{variant:"secondary",className:i("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",t===2&&"h-12 text-base",(!u||!(u instanceof Date)&&typeof u=="object"&&(!("from"in u)||!u.from))&&"text-gray-500",r&&"border-red-500 ring-red-500 ring-1"),disabled:s,...c,children:[(0,L.jsx)("span",{className:"line-clamp-1 flex-1",children:u instanceof Date?(0,Dt.format)(u,m):u&&typeof u=="object"&&"from"in u&&"to"in u?(0,L.jsx)(L.Fragment,{children:u.from?u.to?(0,L.jsxs)(L.Fragment,{children:[(0,Dt.format)(u.from,m)," -"," ",(0,Dt.format)(u.to,m)]}):(0,Dt.format)(u.from,m):o}):o}),e&&(0,L.jsx)("span",{className:i("absolute bg-white -top-2 px-1.5 left-2 text-xs text-gray-500",t===2&&" -top-2.5 text-sm",r&&"text-red-500"),children:e}),(0,L.jsx)(ui.Calendar,{className:"ml-2 h-4 w-4 text-gray-500 flex-none"})]})}),(0,L.jsx)(Ze,{className:"w-auto !p-0 border-none",children:(0,L.jsx)(kt,{...v})})]}),a&&(0,L.jsxs)("div",{className:"mobase-text-input-message flex space-x-1 items-center mt-0.5",children:[r?(0,L.jsx)(Yt.XCircleIcon,{width:16,height:16,className:"text-red-500"}):(0,L.jsx)(Yt.QuestionMarkCircleIcon,{width:16,height:16,className:"text-gray-500"}),(0,L.jsx)("span",{className:i(r?"text-red-500":"text-gray-500",t===2?"text-sm":"text-xs"),children:a})]})]})};var Ke=g(require("react"),1),C=g(require("@radix-ui/react-alert-dialog"),1);var me=require("react/jsx-runtime"),bi=C.Root,hi=C.Trigger,Fo=C.Portal,Jt=Ke.forwardRef(({className:e,...o},t)=>(0,me.jsx)(C.Overlay,{className:i("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),...o,ref:t}));Jt.displayName=C.Overlay.displayName;var zo=Ke.forwardRef(({className:e,...o},t)=>(0,me.jsxs)(Fo,{children:[(0,me.jsx)(Jt,{}),(0,me.jsx)(C.Content,{ref:t,className:i("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),...o})]}));zo.displayName=C.Content.displayName;var Vo=({className:e,...o})=>(0,me.jsx)("div",{className:i("flex flex-col space-y-2 text-left",e),...o});Vo.displayName="AlertDialogHeader";var Oo=({className:e,...o})=>(0,me.jsx)("div",{className:i("flex flex-row justify-end space-x-4",e),...o});Oo.displayName="AlertDialogFooter";var Wo=Ke.forwardRef(({className:e,...o},t)=>(0,me.jsx)(C.Title,{ref:t,className:i("text-lg text-gray-900 font-semibold",e),...o}));Wo.displayName=C.Title.displayName;var Go=Ke.forwardRef(({className:e,...o},t)=>(0,me.jsx)(C.Description,{ref:t,className:i("text-sm text-muted-foreground",e),...o}));Go.displayName=C.Description.displayName;var $o=Ke.forwardRef(({className:e,...o},t)=>(0,me.jsx)(C.Action,{ref:t,className:i(ge({variant:"primary"}),"",e),...o}));$o.displayName=C.Action.displayName;var jo=Ke.forwardRef(({className:e,...o},t)=>(0,me.jsx)(C.Cancel,{ref:t,className:i(ge({variant:"secondary"}),e),...o}));jo.displayName=C.Cancel.displayName;var xi=g(require("react"),1),yi=require("@radix-ui/react-slot"),wi=require("class-variance-authority");var Ni=require("react/jsx-runtime"),Ye=(0,wi.cva)("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-semibold transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed border border-transparent",{variants:{variant:{primary:"bg-pink-500 text-white hover:bg-pink-600 disabled:bg-pink-300",secondary:"bg-white text-gray-900 hover:bg-gray-100 disabled:text-gray-400 disabled:bg-white border-gray-300",outline:"border-pink-500 text-pink-500 bg-white hover:bg-pink-50 disabled:bg-white disabled:border-pink-300 disabled:text-pink-300",tonal:"bg-pink-100 text-pink-500 hover:bg-pink-200 disabled:bg-gray-200 disabled:text-gray-400",danger:"bg-red-500 text-white hover:bg-red-600 disabled:bg-red-300",transparent:"text-gray-900 bg-transparent hover:bg-gray-100 disabled:text-gray-400 disabled:bg-transparent"},size:{default:"text-sm h-10 w-10",sm:"h-8 w-8 text-sm",lg:"h-12 w-12 text-base"}},defaultVariants:{variant:"primary",size:"default"}}),Ie=xi.forwardRef(({className:e,variant:o="primary",size:t="default",asChild:a=!1,isDisabled:r=!1,...s},m)=>{let c=a?yi.Slot:"button",d=i(Ye({variant:o,size:t,className:e}));return(0,Ni.jsx)(c,{className:d,disabled:r,ref:m,...s,children:s.children})});Ie.displayName="IconButton";var St=require("react");var dt=require("react/jsx-runtime"),qo=(0,St.createContext)({align:"center"}),eo=({color:e="pink",size:o="small",isTruncated:t=!1,className:a,children:r})=>{let s={regular:"text-gray-900",pink:"text-pink-500",white:"text-white"},m={small:"text-sm",large:"text-lg"};return(0,dt.jsx)("div",{className:i("mb-1 font-semibold",s[e],m[o],t&&"truncate",a),children:r})},to=({tagHeading:e="h2",size:o="small",color:t="pink",isTruncated:a=!1,className:r,children:s})=>{let m=e,c={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:v}=(0,St.useContext)(qo);return(0,dt.jsx)(m,{className:i("font-bold max-w-4xl",v==="center"?"mx-auto":v==="right"?"ml-auto":"",c[t],d[o],a&&"truncate",r),children:s})},oo=({color:e="regular",size:o="small",marginTop:t="spacingX",isTruncated:a=!1,className:r,children:s})=>{let m={regular:"text-gray-500",white:"text-white/80"},c={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:v}=(0,St.useContext)(qo);return(0,dt.jsx)("div",{className:i(v==="center"?"mx-auto max-w-3xl":v==="right"?"max-w-4xl ml-auto":"max-w-4xl",m[e],c[o],d[t],a&&"truncate",r),children:s})},ao=({className:e,align:o="center",children:t})=>(0,dt.jsx)("div",{className:i("mb-5 md:mb-8",{left:"text-left",center:"text-center",right:"text-right"}[o],e),children:(0,dt.jsx)(qo.Provider,{value:{align:o},children:t})});var io=require("lucide-react");var F=require("react/jsx-runtime");function Uo({current:e,total:o,onChange:t}){let a=r=>(0,F.jsx)("li",{children:(0,F.jsx)("button",{className:i(Ye({variant:e===r?"outline":"secondary",size:"sm"})),onClick:()=>t(r),children:r})},r);return(0,F.jsx)("nav",{role:"navigation","aria-label":"pagination",className:i("mx-auto flex w-full justify-center"),children:(0,F.jsxs)("ul",{className:i("flex flex-row flex-wrap items-center gap-2"),children:[o>1&&(0,F.jsx)("li",{children:(0,F.jsx)("button",{className:i(Ye({variant:"secondary",size:"sm"})),disabled:e===1,onClick:()=>e>1&&t(e-1),children:(0,F.jsx)(io.ChevronLeft,{className:"h-4 w-4"})})}),o<=6?Array(o).fill(0).map((r,s)=>a(s+1)):(0,F.jsxs)(F.Fragment,{children:[a(1),e===1&&[a(2),a(3)],e>3&&(0,F.jsx)("li",{children:(0,F.jsx)("button",{className:i(Ye({variant:"secondary",size:"sm"})),disabled:e===1,onClick:()=>t(e-3),children:"..."})}),e>2&&e!==1&&e!==o&&a(e-1),e>1&&e<o&&a(e),e<o-1&&e!==1&&a(e+1),e===o&&[a(o-2),a(o-1)],e<o-2&&e!==o&&(0,F.jsx)("button",{className:i(Ye({variant:"secondary",size:"sm"})),disabled:e===1,onClick:()=>t(e+3),children:"..."}),a(o)]}),o>1&&(0,F.jsx)("li",{children:(0,F.jsx)("button",{className:i(Ye({variant:"secondary",size:"sm"})),disabled:e===o,onClick:()=>e<o&&t(e+1),children:(0,F.jsx)(io.ChevronRight,{className:"h-4 w-4"})})})]})})}var ro=g(require("react"),1),fe=g(require("@radix-ui/react-tabs"),1);var no=require("react/jsx-runtime"),Pi=fe.Root,Qo=ro.forwardRef(({className:e,size:o="sm",isDivider:t=!1,...a},r)=>(0,no.jsx)(fe.List,{ref:r,className:i("inline-flex w-full flex-row items-center bg-muted text-muted-foreground space-x-5 overflow-x-auto [&::-webkit-scrollbar]:hidden",`text-${o}`,t&&"border-b border-gray-200",e),...a}));Qo.displayName=fe.List.displayName;var Xo=ro.forwardRef(({className:e,...o},t)=>(0,no.jsx)(fe.Trigger,{ref:t,className:i("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),...o}));Xo.displayName=fe.Trigger.displayName;var Zo=ro.forwardRef(({className:e,...o},t)=>(0,no.jsx)(fe.Content,{ref:t,className:i("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),...o}));Zo.displayName=fe.Content.displayName;var Ci=require("react"),Ri=require("@heroicons/react/24/outline"),Ti=require("@heroicons/react/24/solid");var be=require("react/jsx-runtime"),ki=(0,Ci.forwardRef)(({disabled:e,isError:o,message:t,label:a,className:r,inputClassName:s,size:m,rows:c=3,...d},v)=>(0,be.jsxs)("div",{className:i("relative",r,o&&"mobase-text-area-error"),children:[a&&(0,be.jsx)("span",{className:i("mobase-text-area-label absolute bg-white -top-2.5 px-1.5 left-2 text-sm text-gray-500",m===2&&" -top-2.5 text-sm"),children:a}),(0,be.jsx)("textarea",{disabled:e,ref:v,className:i("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",m===2&&"text-base",s),rows:c,...d}),t&&(0,be.jsxs)("div",{className:"mobase-text-area-message flex space-x-1 items-center mt-0.5",children:[o?(0,be.jsx)(Ti.XCircleIcon,{width:16,height:16,className:"text-red-500"}):(0,be.jsx)(Ri.QuestionMarkCircleIcon,{width:16,height:16,className:"text-gray-500"}),(0,be.jsx)("span",{className:i("text-gray-500 ",m===2?"text-sm":"text-xs"),children:t})]}),(0,be.jsx)("style",{children:`
|
|
70
|
+
`})]}),$e=({className:e,children:t,title:o,shortTitle:a,qrImage:i,qrLink:n,logoQr:l,isQrForAll:c=!1,...d})=>(0,f.jsx)(Ge,{...d,children:(0,f.jsx)(He,{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:(0,f.jsx)(At,{className:"p-0",children:(0,f.jsxs)("div",{className:"flex flex-row flex-wrap",children:[(0,f.jsx)("div",{className:"w-full flex-none md:w-5/12 hidden sm:block",children:t||(0,f.jsxs)("div",{className:"px-5 text-sm py-8 grid grid-cols-1 gap-y-6",children:[(0,f.jsxs)("div",{className:"flex flex-nowrap items-center",children:[(0,f.jsx)("div",{className:"flex-none",children:(0,f.jsx)("img",{className:"w-20",loading:"lazy",src:"https://homepage.momocdn.net/images/s/momo-upload-api-200917091602-637359309621891617.png",alt:"Step 1"})}),(0,f.jsxs)("div",{className:"flex-1 pl-4",children:[(0,f.jsx)("div",{className:"step font-semibold text-gray-800 ",children:"B\u01B0\u1EDBc 1 :"}),(0,f.jsx)("div",{className:"mt-1 text-gray-500 ",children:c?"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"})]})]}),(0,f.jsxs)("div",{className:"flex flex-nowrap items-center",children:[(0,f.jsx)("div",{className:"flex-none",children:(0,f.jsx)("img",{className:"w-20 ",loading:"lazy",src:"https://homepage.momocdn.net/images/s/momo-upload-api-200917091443-637359308837905996.png",alt:"Step 2"})}),(0,f.jsxs)("div",{className:"flex-1 pl-4",children:[(0,f.jsx)("div",{className:"step font-semibold text-gray-800 ",children:"B\u01B0\u1EDBc 2 :"}),(0,f.jsx)("div",{className:"mt-1 text-gray-500 ",children:"Qu\xE9t m\xE3 QR Code theo h\xECnh b\xEAn ph\u1EA3i"})]})]}),(0,f.jsxs)("div",{className:"flex flex-nowrap items-center",children:[(0,f.jsx)("div",{className:"flex-none",children:(0,f.jsx)("img",{className:"w-20 ",loading:"lazy",src:"https://homepage.momocdn.net/images/s/momo-upload-api-200917090146-637359301062519803.png",alt:"Step 3"})}),(0,f.jsxs)("div",{className:"flex-1 pl-4",children:[(0,f.jsx)("div",{className:"step font-semibold text-gray-800 ",children:"B\u01B0\u1EDBc 3 :"}),(0,f.jsxs)("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"]})]})]})]})}),(0,f.jsx)("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:(0,f.jsxs)("div",{className:"px-5 py-10 text-center",children:[o&&(0,f.jsx)("h4",{className:"mb-5 text-base font-semibold text-white",children:o}),(0,f.jsxs)("div",{className:"relative",children:[c&&(0,f.jsx)("div",{className:"absolute -top-2 left-1/2 z-[5] -translate-x-1/2",children:(0,f.jsx)("img",{src:"https://homepage.momocdn.net/fileuploads/svg/momo-file-231211170324.svg",alt:"Title QR all"})}),(0,f.jsx)(xs,{img:i,isQrForAll:c,children:n&&(0,f.jsx)(Ni.QRCodeSVG,{value:n,size:215,imageSettings:{src:`${l||"https://homepage.momocdn.net/pwa/images/logoMomox50.png"}`,height:50,width:50,excavate:!0},level:"H"})})]})]})})]})})})});var Fe=require("react/jsx-runtime"),Yt=({action:e,newTab:t,offset:o,dialogQrProps:a,className:i,children:n,...l})=>{let[c,d]=(0,Pi.useState)(!1),p=fi(),v=Lo()||typeof window<"u"&&window.location.search.includes("view=app"),T=!!a?.qrLink,W=()=>{let S=T?a?.qrLink:e;return typeof S=="string"?S.trim():""},K=()=>{let S=W();!S&&typeof e!="function"||(typeof e=="function"?e():window.open(S,t?"_blank":"_self"))},k=(S,M=0)=>{let tt=document.querySelector(S);if(!tt)return;let ot=tt.getBoundingClientRect().top+window.scrollY-M;window.scrollTo({top:ot,behavior:"smooth"})},R=()=>{typeof e=="string"&&e.startsWith("#")?k(e,o):K()},$=()=>(0,Fe.jsxs)(Fe.Fragment,{children:[(0,Fe.jsx)(ne,{...l,className:i,onClick:()=>d(!0),"data-name":"button-action-with-qr",children:n}),(0,Fe.jsx)($e,{...a,open:c,onOpenChange:()=>d(!1),qrLink:a?.qrLink||""})]});return T?p||v?a?.isQrForAll?$():(0,Fe.jsx)(ne,{...l,className:i,onClick:K,"data-name":"button-action-with-qr",children:n}):$():(0,Fe.jsx)(ne,{...l,onClick:R,className:r("cursor-pointer",i),"data-name":"button-action-without-qr",rel:"noreferrer",children:n})};var vt=g(require("react"),1),Jt=require("@radix-ui/react-icons"),Ci=require("@radix-ui/react-slot");var ge=require("react/jsx-runtime"),Bo=vt.forwardRef(({className:e,...t},o)=>(0,ge.jsx)("nav",{ref:o,"aria-label":"breadcrumb",className:r("",e),...t}));Bo.displayName="Breadcrumb";var Vo=vt.forwardRef(({className:e,...t},o)=>(0,ge.jsx)("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}));Vo.displayName="BreadcrumbList";var Oo=vt.forwardRef(({className:e,...t},o)=>(0,ge.jsx)("li",{ref:o,className:r("shrink-0 text-gray-900 hover:text-pink-500",e),...t}));Oo.displayName="BreadcrumbItem";var Wo=vt.forwardRef(({asChild:e,className:t,...o},a)=>(0,ge.jsx)(e?Ci.Slot:"a",{ref:a,className:r("transition-colors hover:text-foreground",t),...o}));Wo.displayName="BreadcrumbLink";var Go=vt.forwardRef(({className:e,...t},o)=>(0,ge.jsx)("span",{ref:o,role:"link","aria-disabled":"true","aria-current":"page",className:r("text-sm text-gray-500",e),...t}));Go.displayName="BreadcrumbPage";var $o=({children:e,className:t,...o})=>(0,ge.jsx)("li",{role:"presentation","aria-hidden":"true",className:r("text-gray-900",t),...o,children:e??(0,ge.jsx)(Jt.ChevronRightIcon,{className:"w-2 h-2"})});$o.displayName="BreadcrumbSeparator";var jo=({className:e,...t})=>(0,ge.jsxs)("span",{role:"presentation","aria-hidden":"true",className:r("flex h-5 w-5 items-center justify-center",e),...t,children:[(0,ge.jsx)(Jt.DotsHorizontalIcon,{className:"w-4 h-4 text-gray-900"}),(0,ge.jsx)("span",{className:"sr-only",children:"More"})]});jo.displayName="BreadcrumbElipssis";var to=g(require("react"),1);var oo=require("date-fns/locale"),ki=require("react-day-picker"),ao=require("lucide-react"),Si=g(require("lunisolar"),1);var Ri=g(require("react"),1),It=g(require("@radix-ui/react-checkbox"),1),Ti=require("@heroicons/react/16/solid"),Uo=require("class-variance-authority");var eo=require("react/jsx-runtime"),ys=(0,Uo.cva)("peer shrink-0 rounded border-2 disabled:bg-gray-300 border-gray-300 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-default disabled:bg-gray-100 data-[state=checked]:border-none disabled:data-[state=checked]:bg-gray-400 disabled:data-[state=checked]:text-gray-100 data-[state=checked]:bg-pink-500 data-[state=checked]:text-white",{variants:{size:{medium:"h-4 w-4",large:"w-5 h-5"}},defaultVariants:{size:"medium"}}),ws=(0,Uo.cva)("",{variants:{size:{medium:"h-4 w-4",large:"w-5 h-5"}},defaultVariants:{size:"medium"}}),Lt=Ri.forwardRef(({className:e,size:t,...o},a)=>(0,eo.jsx)(It.Root,{ref:a,className:r(ys({size:t}),e),...o,children:(0,eo.jsx)(It.Indicator,{className:r("flex items-center justify-center text-current"),children:(0,eo.jsx)(Ti.CheckIcon,{className:r(ws({size:t}))})})}));Lt.displayName=It.Root.displayName;var q=require("react/jsx-runtime"),Ns=({date:e,cusContent:t})=>{let o=null;return o=(0,Si.default)(e).lunar,(0,q.jsxs)(q.Fragment,{children:[t?t(e):e.getDate(),o&&(0,q.jsx)("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})]})},Ps={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 Cs({isShow:e,setIsShow:t,lang:o}){let a=to.useId();return(0,q.jsx)("div",{className:"w-full p-3 pt-0",children:(0,q.jsxs)("div",{className:"flex items-center space-x-2 border-t border-gray-100 pt-3 cursor-pointer",children:[(0,q.jsx)(Lt,{checked:e,id:`check-show-luna-${a}`,onCheckedChange:i=>{typeof i=="boolean"&&t(i)}}),(0,q.jsx)("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 Rs=e=>e.getDay()===0||e.getDay()===6;function Et({className:e,classNames:t,showOutsideDays:o=!1,enableLunaDate:a=!1,lang:i="vi",cusContentDay:n,...l}){let[c,d]=to.useState(!0);return(0,q.jsx)(ki.DayPicker,{locale:i==="vi"?oo.vi:oo.enUS,showOutsideDays:o,className:r("border border-gray-200 rounded-b-md b bg-white shadow-md w-fit",e),classNames:{months:"flex flex-col sm:flex-row space-y-4 sm:space-y-0",month:"p-3 pt-0 w-full",caption:"flex justify-center p-3 bg-blue-50 relative items-center -mx-3 mb-3",caption_label:"text-sm font-medium text-gray-900",nav:"space-x-1 flex items-center",nav_button:r(xe({variant:"transparent"}),"h-7 w-7 p-0 text-gray-900 hover:bg-transparent hover:opacity-70"),nav_button_previous:"absolute left-1",nav_button_next:"absolute right-1",table:"w-full border-collapse",head_row:"flex space-x-0.5",head_cell:r("font-medium rounded-md w-11 text-xs text-gray-500 [&:nth-child(7)]:text-red-600",i==="vi"?"[&:nth-child(6)]:text-red-600":"[&:nth-child(1)]:text-red-600"),row:"flex w-full mt-0.5 space-x-0.5",cell:"h-11 w-11 text-center text-sm p-0 relative",day:r(xe({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&&c&&"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:Rs},modifiersClassNames:{weekend:"text-red-600"},components:{IconLeft:()=>(0,q.jsx)(ao.ChevronLeft,{className:"h-6 w-6"}),IconRight:()=>(0,q.jsx)(ao.ChevronRight,{className:"h-6 w-6"}),DayContent:p=>(0,q.jsx)(Ns,{date:p.date,cusContent:n}),Months:({children:p})=>(0,q.jsxs)("div",{className:"w-full",children:[(0,q.jsx)("div",{className:r("flex flex-col sm:flex-row months-wrapper"),children:p}),a&&(0,q.jsx)(Cs,{isShow:c,setIsShow:d,lang:i})]})},formatters:i==="vi"?Ps:{},...l})}Et.displayName="Calendar";var L=g(require("react"),1),Li=g(require("embla-carousel-react"),1);var io=require("@heroicons/react/16/solid");var Di=g(require("react"),1),Mi=require("@radix-ui/react-slot"),Ai=require("class-variance-authority");var Ii=require("react/jsx-runtime"),at=(0,Ai.cva)("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-semibold transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed border border-transparent",{variants:{variant:{primary:"bg-pink-500 text-white hover:bg-pink-600 disabled:bg-pink-300",secondary:"bg-white text-gray-900 hover:bg-gray-100 disabled:text-gray-400 disabled:bg-white border-gray-300",outline:"border-pink-500 text-pink-500 bg-white hover:bg-pink-50 disabled:bg-white disabled:border-pink-300 disabled:text-pink-300",tonal:"bg-pink-100 text-pink-500 hover:bg-pink-200 disabled:bg-gray-200 disabled:text-gray-400",danger:"bg-red-500 text-white hover:bg-red-600 disabled:bg-red-300",transparent:"text-gray-900 bg-transparent hover:bg-gray-100 disabled:text-gray-400 disabled:bg-transparent"},size:{default:"text-sm h-10 w-10",sm:"h-8 w-8 text-sm",lg:"h-12 w-12 text-base"}},defaultVariants:{variant:"primary",size:"default"}}),fe=Di.forwardRef(({className:e,variant:t="primary",size:o="default",asChild:a=!1,isDisabled:i=!1,...n},l)=>{let c=a?Mi.Slot:"button",d=r(at({variant:t,size:o,className:e}));return(0,Ii.jsx)(c,{className:d,disabled:i,ref:l,...n,children:n.children})});fe.displayName="IconButton";var se=require("react/jsx-runtime"),Ei=L.createContext(null);function ro(){let e=L.useContext(Ei);if(!e)throw new Error("useCarousel must be used within a <Carousel />");return e}var qo=L.forwardRef(({orientation:e="horizontal",opts:t,setApi:o,plugins:a,className:i,children:n,...l},c)=>{let[d,p]=(0,Li.default)({...t,axis:e==="horizontal"?"x":"y"},a),[v,T]=L.useState(!1),[W,K]=L.useState(!1),k=L.useCallback(S=>{S&&(T(S.canScrollPrev()),K(S.canScrollNext()))},[]),R=L.useCallback(()=>{p?.scrollPrev()},[p]),$=L.useCallback(()=>{p?.scrollNext()},[p]),J=L.useCallback(S=>{S.key==="ArrowLeft"?(S.preventDefault(),R()):S.key==="ArrowRight"&&(S.preventDefault(),$())},[R,$]);return L.useEffect(()=>{!p||!o||o(p)},[p,o]),L.useEffect(()=>{if(p)return k(p),p.on("reInit",k),p.on("select",k),()=>{p?.off("select",k)}},[p,k]),(0,se.jsx)(Ei.Provider,{value:{carouselRef:d,api:p,opts:t,orientation:e||(t?.axis==="y"?"vertical":"horizontal"),scrollPrev:R,scrollNext:$,canScrollPrev:v,canScrollNext:W},children:(0,se.jsx)("div",{ref:c,onKeyDownCapture:J,className:r("relative",i),role:"region","aria-roledescription":"carousel",...l,children:n})})});qo.displayName="Carousel";var Qo=L.forwardRef(({className:e,...t},o)=>{let{carouselRef:a,orientation:i}=ro();return(0,se.jsx)("div",{ref:a,className:"overflow-hidden",children:(0,se.jsx)("div",{ref:o,className:r("flex",i==="horizontal"?"-ml-4":"-mt-4 flex-col",e),...t})})});Qo.displayName="CarouselContent";var Xo=L.forwardRef(({className:e,...t},o)=>{let{orientation:a}=ro();return(0,se.jsx)("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})});Xo.displayName="CarouselItem";var Zo=L.forwardRef(({className:e,variant:t="secondary",size:o="default",...a},i)=>{let{orientation:n,scrollPrev:l,canScrollPrev:c}=ro();return(0,se.jsxs)(fe,{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:!c,onClick:l,...a,children:[(0,se.jsx)(io.ChevronLeftIcon,{className:"h-4 w-4"}),(0,se.jsx)("span",{className:"sr-only",children:"Previous slide"})]})});Zo.displayName="CarouselPrevious";var Ko=L.forwardRef(({className:e,variant:t="secondary",size:o="default",...a},i)=>{let{orientation:n,scrollNext:l,canScrollNext:c}=ro();return(0,se.jsxs)(fe,{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:!c,onClick:l,...a,children:[(0,se.jsx)(io.ChevronRightIcon,{className:"h-4 w-4"}),(0,se.jsx)("span",{className:"sr-only",children:"Next slide"})]})});Ko.displayName="CarouselNext";var _i=g(require("react"),1),ze=g(require("@radix-ui/react-popover"),1);var Yo=require("react/jsx-runtime"),bt=ze.Root,ht=ze.Trigger,it=_i.forwardRef(({className:e,align:t="center",sideOffset:o=4,...a},i)=>(0,Yo.jsx)(ze.Portal,{children:(0,Yo.jsx)(ze.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})}));it.displayName=ze.Content.displayName;var _t=require("date-fns");var Hi=require("lucide-react");var no=require("@heroicons/react/16/solid"),F=require("react/jsx-runtime"),Fi=({label:e,placeholder:t="Select a value",size:o=1,message:a,isError:i,disabled:n,dateFormat:l="dd/MM/yyyy",buttonProps:c,popoverProps:d,calendarProps:p})=>{let v=p?.selected||null;return(0,F.jsxs)("div",{children:[(0,F.jsxs)(bt,{...d,children:[(0,F.jsx)(ht,{asChild:!0,children:(0,F.jsxs)(ne,{variant:"secondary",className:r("w-full justify-between text-left text-sm font-normal h-11 text-gray-900 overflow-visible hover:ring-1 focus:ring-1 hover:ring-gray-400 focus:ring-gray-400 [&[data-state=open]]:border-pink-500 [&[data-state=open]]:ring-pink-500 [&[data-state=open]]:ring-1 relative disabled:bg-gray-50 disabled:border-gray-200 disabled:pointer-events-none disabled:text-gray-500",o===2&&"h-12 text-base",(!v||!(v instanceof Date)&&typeof v=="object"&&(!("from"in v)||!v.from))&&"text-gray-500",i&&"border-red-500 ring-red-500 ring-1"),disabled:n,...c,children:[(0,F.jsx)("span",{className:"line-clamp-1 flex-1",children:v instanceof Date?(0,_t.format)(v,l):v&&typeof v=="object"&&"from"in v&&"to"in v?(0,F.jsx)(F.Fragment,{children:v.from?v.to?(0,F.jsxs)(F.Fragment,{children:[(0,_t.format)(v.from,l)," -"," ",(0,_t.format)(v.to,l)]}):(0,_t.format)(v.from,l):t}):t}),e&&(0,F.jsx)("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}),(0,F.jsx)(Hi.Calendar,{className:"ml-2 h-4 w-4 text-gray-500 flex-none"})]})}),(0,F.jsx)(it,{className:"w-auto !p-0 border-none",children:(0,F.jsx)(Et,{...p})})]}),a&&(0,F.jsxs)("div",{className:"mobase-text-input-message flex space-x-1 items-center mt-0.5",children:[i?(0,F.jsx)(no.XCircleIcon,{width:16,height:16,className:"text-red-500"}):(0,F.jsx)(no.QuestionMarkCircleIcon,{width:16,height:16,className:"text-gray-500"}),(0,F.jsx)("span",{className:r(i?"text-red-500":"text-gray-500",o===2?"text-sm":"text-xs"),children:a})]})]})};var rt=g(require("react"),1),D=g(require("@radix-ui/react-alert-dialog"),1);var ue=require("react/jsx-runtime"),zi=D.Root,Bi=D.Trigger,Jo=D.Portal,so=rt.forwardRef(({className:e,...t},o)=>(0,ue.jsx)(D.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}));so.displayName=D.Overlay.displayName;var ea=rt.forwardRef(({className:e,...t},o)=>(0,ue.jsxs)(Jo,{children:[(0,ue.jsx)(so,{}),(0,ue.jsx)(D.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})]}));ea.displayName=D.Content.displayName;var ta=({className:e,...t})=>(0,ue.jsx)("div",{className:r("flex flex-col space-y-2 text-left",e),...t});ta.displayName="AlertDialogHeader";var oa=({className:e,...t})=>(0,ue.jsx)("div",{className:r("flex flex-row justify-end space-x-4",e),...t});oa.displayName="AlertDialogFooter";var aa=rt.forwardRef(({className:e,...t},o)=>(0,ue.jsx)(D.Title,{ref:o,className:r("text-lg text-gray-900 font-semibold",e),...t}));aa.displayName=D.Title.displayName;var ia=rt.forwardRef(({className:e,...t},o)=>(0,ue.jsx)(D.Description,{ref:o,className:r("text-sm text-muted-foreground",e),...t}));ia.displayName=D.Description.displayName;var ra=rt.forwardRef(({className:e,...t},o)=>(0,ue.jsx)(D.Action,{ref:o,className:r(xe({variant:"primary"}),"",e),...t}));ra.displayName=D.Action.displayName;var na=rt.forwardRef(({className:e,...t},o)=>(0,ue.jsx)(D.Cancel,{ref:o,className:r(xe({variant:"secondary"}),e),...t}));na.displayName=D.Cancel.displayName;var Ht=require("react");var xt=require("react/jsx-runtime"),sa=(0,Ht.createContext)({align:"center"}),lo=({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"},l={small:"text-sm",large:"text-lg"};return(0,xt.jsx)("div",{className:r("mb-1 font-semibold",n[e],l[t],o&&"truncate",a),children:i})},mo=({tagHeading:e="h2",size:t="small",color:o="pink",isTruncated:a=!1,className:i,children:n})=>{let l=e,c={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}=(0,Ht.useContext)(sa);return(0,xt.jsx)(l,{className:r("font-bold max-w-4xl",p==="center"?"mx-auto":p==="right"?"ml-auto":"",c[o],d[t],a&&"truncate",i),children:n})},co=({color:e="regular",size:t="small",marginTop:o="spacingX",isTruncated:a=!1,className:i,children:n})=>{let l={regular:"text-gray-500",white:"text-white/80"},c={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}=(0,Ht.useContext)(sa);return(0,xt.jsx)("div",{className:r(p==="center"?"mx-auto max-w-3xl":p==="right"?"max-w-4xl ml-auto":"max-w-4xl",l[e],c[t],d[o],a&&"truncate",i),children:n})},po=({className:e,align:t="center",children:o})=>(0,xt.jsx)("div",{className:r("mb-5 md:mb-8",{left:"text-left",center:"text-center",right:"text-right"}[t],e),children:(0,xt.jsx)(sa.Provider,{value:{align:t},children:o})});var go=require("lucide-react");var U=require("react/jsx-runtime");function la({current:e,total:t,onChange:o}){let a=i=>(0,U.jsx)("li",{children:(0,U.jsx)("button",{className:r(at({variant:e===i?"outline":"secondary",size:"sm"})),onClick:()=>o(i),children:i})},i);return(0,U.jsx)("nav",{role:"navigation","aria-label":"pagination",className:r("mx-auto flex w-full justify-center"),children:(0,U.jsxs)("ul",{className:r("flex flex-row flex-wrap items-center gap-2"),children:[t>1&&(0,U.jsx)("li",{children:(0,U.jsx)("button",{className:r(at({variant:"secondary",size:"sm"})),disabled:e===1,onClick:()=>e>1&&o(e-1),children:(0,U.jsx)(go.ChevronLeft,{className:"h-4 w-4"})})}),t<=6?Array(t).fill(0).map((i,n)=>a(n+1)):(0,U.jsxs)(U.Fragment,{children:[a(1),e===1&&[a(2),a(3)],e>3&&(0,U.jsx)("li",{children:(0,U.jsx)("button",{className:r(at({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&&(0,U.jsx)("button",{className:r(at({variant:"secondary",size:"sm"})),disabled:e===1,onClick:()=>o(e+3),children:"..."}),a(t)]}),t>1&&(0,U.jsx)("li",{children:(0,U.jsx)("button",{className:r(at({variant:"secondary",size:"sm"})),disabled:e===t,onClick:()=>e<t&&o(e+1),children:(0,U.jsx)(go.ChevronRight,{className:"h-4 w-4"})})})]})})}var fo=g(require("react"),1),ye=g(require("@radix-ui/react-tabs"),1);var uo=require("react/jsx-runtime"),Vi=ye.Root,ma=fo.forwardRef(({className:e,size:t="sm",isDivider:o=!1,...a},i)=>(0,uo.jsx)(ye.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}));ma.displayName=ye.List.displayName;var ca=fo.forwardRef(({className:e,...t},o)=>(0,uo.jsx)(ye.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}));ca.displayName=ye.Trigger.displayName;var da=fo.forwardRef(({className:e,...t},o)=>(0,uo.jsx)(ye.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}));da.displayName=ye.Content.displayName;var Oi=require("react"),Wi=require("@heroicons/react/24/outline"),Gi=require("@heroicons/react/24/solid");var Pe=require("react/jsx-runtime"),$i=(0,Oi.forwardRef)(({disabled:e,isError:t,message:o,label:a,className:i,inputClassName:n,size:l,rows:c=3,...d},p)=>(0,Pe.jsxs)("div",{className:r("relative",i,t&&"mobase-text-area-error"),children:[a&&(0,Pe.jsx)("span",{className:r("mobase-text-area-label absolute bg-white -top-2.5 px-1.5 left-2 text-sm text-gray-500",l===2&&" -top-2.5 text-sm"),children:a}),(0,Pe.jsx)("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",l===2&&"text-base",n),rows:c,...d}),o&&(0,Pe.jsxs)("div",{className:"mobase-text-area-message flex space-x-1 items-center mt-0.5",children:[t?(0,Pe.jsx)(Gi.XCircleIcon,{width:16,height:16,className:"text-red-500"}):(0,Pe.jsx)(Wi.QuestionMarkCircleIcon,{width:16,height:16,className:"text-gray-500"}),(0,Pe.jsx)("span",{className:r("text-gray-500 ",l===2?"text-sm":"text-xs"),children:o})]}),(0,Pe.jsx)("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 @@
|
|
|
94
94
|
color: rgb(var(--mobase-red-500) / 1);
|
|
95
95
|
}
|
|
96
96
|
}
|
|
97
|
-
`})]}));var
|
|
97
|
+
`})]}));var ho=g(require("react"),1),Ts=1,ks=1e6;var pa=0;function Ss(){return pa=(pa+1)%Number.MAX_SAFE_INTEGER,pa.toString()}var ga=new Map,ji=e=>{if(ga.has(e))return;let t=setTimeout(()=>{ga.delete(e),Ft({type:"REMOVE_TOAST",toastId:e})},ks);ga.set(e,t)},Ds=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,Ts)};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?ji(o):e.toasts.forEach(a=>{ji(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}},vo=[],bo={toasts:[]};function Ft(e){bo=Ds(bo,e),vo.forEach(t=>{t(bo)})}function fa({...e}){let t=Ss(),o=i=>Ft({type:"UPDATE_TOAST",toast:{...i,id:t}}),a=()=>Ft({type:"DISMISS_TOAST",toastId:t});return Ft({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:i=>{i||a()}}}),{id:t,dismiss:a,update:o}}function xo(){let[e,t]=ho.useState(bo);return ho.useEffect(()=>(vo.push(t),()=>{let o=vo.indexOf(t);o>-1&&vo.splice(o,1)}),[e]),{...e,toast:fa,dismiss:o=>Ft({type:"DISMISS_TOAST",toastId:o})}}var nt=g(require("react"),1),z=g(require("@radix-ui/react-toast"),1),Ui=require("class-variance-authority");var je=require("@heroicons/react/20/solid"),le=require("react/jsx-runtime"),qi=z.Provider,ua=nt.forwardRef(({className:e,...t},o)=>(0,le.jsx)(z.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}));ua.displayName=z.Viewport.displayName;var Ms=(0,Ui.cva)("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"}}),va=nt.forwardRef(({className:e,variant:t="sucess",children:o,...a},i)=>(0,le.jsxs)(z.Root,{ref:i,className:r(Ms({variant:t}),e),...a,children:[(0,le.jsxs)("div",{className:"w-5 h-5 flex items-center justify-center absolute top-4 left-3",children:[t==="sucess"&&(0,le.jsx)(je.CheckCircleIcon,{className:"w-5 h-5 text-green-500"}),t==="warning"&&(0,le.jsx)(je.ExclamationTriangleIcon,{className:"w-5 h-5 text-yellow-500"}),t==="error"&&(0,le.jsx)(je.InformationCircleIcon,{className:"w-5 h-5 text-red-500"})]}),o]}));va.displayName=z.Root.displayName;var ba=nt.forwardRef(({className:e,...t},o)=>(0,le.jsx)(z.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}));ba.displayName=z.Action.displayName;var ha=nt.forwardRef(({className:e,...t},o)=>(0,le.jsx)(z.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:(0,le.jsx)(je.XMarkIcon,{className:"h-5 w-5"})}));ha.displayName=z.Close.displayName;var xa=nt.forwardRef(({className:e,...t},o)=>(0,le.jsx)(z.Title,{ref:o,className:r("text-base font-semibold leading-tight",e),...t}));xa.displayName=z.Title.displayName;var ya=nt.forwardRef(({className:e,...t},o)=>(0,le.jsx)(z.Description,{ref:o,className:r("text-sm opacity-90",e),...t}));ya.displayName=z.Description.displayName;var Be=require("react/jsx-runtime");function Qi(){let{toasts:e}=xo();return(0,Be.jsxs)(qi,{children:[e.map(function({id:t,title:o,description:a,action:i,...n}){return(0,Be.jsxs)(va,{...n,children:[(0,Be.jsxs)("div",{className:"grid gap-2",children:[o&&(0,Be.jsx)(xa,{children:o}),a&&(0,Be.jsx)(ya,{children:a})]}),i,(0,Be.jsx)(ha,{})]},t)}),(0,Be.jsx)(ua,{})]})}var Xi=g(require("react"),1),Zi=require("@radix-ui/react-slot"),Ki=require("class-variance-authority");var Yi=require("react/jsx-runtime"),wa=(0,Ki.cva)("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"}}),st=Xi.forwardRef(({className:e,variant:t="default",size:o="default",asChild:a=!1,isDisabled:i=!1,...n},l)=>{let c=a?Zi.Slot:"button",d=r(wa({variant:t,size:o,className:e}));return(0,Yi.jsx)(c,{className:d,disabled:i,ref:l,...n,children:n.children})});st.displayName="TextButton";var Na=g(require("react"),1),ve=g(require("@radix-ui/react-tooltip"),1);var Ra=require("react/jsx-runtime"),Ji=ve.Provider,er=ve.Root,tr=ve.Trigger,Pa=Na.forwardRef((e,t)=>(0,Ra.jsx)(ve.Arrow,{ref:t,className:r("drop-shadow-md",e.className),...e}));Pa.displayName=ve.Arrow.displayName;var Ca=Na.forwardRef(({className:e,type:t="dark",sideOffset:o=4,...a},i)=>(0,Ra.jsx)(ve.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}));Ca.displayName=ve.Content.displayName;var Ue=require("react"),yt=require("@heroicons/react/16/solid");var me=require("react/jsx-runtime"),or=(0,Ue.forwardRef)(({disabled:e,isError:t,message:o,label:a,className:i,inputClassName:n,withClearButton:l,size:c,onChange:d,onFocus:p,onClickClear:v,value:T,defaultValue:W,type:K="text",...k},R)=>{let[$,J]=(0,Ue.useState)(!1),S=(0,Ue.useRef)(null),M=j=>{j&&!$&&J(!0),!j&&$&&J(!1)},tt=j=>{l&&M(j.target.value),d?.(j)},ft=j=>{l&&M(j.target.value),p?.(j)},ot=()=>{let j=S.current?.querySelector("input");j&&(v?.(j.value),j.value="",j.focus(),J(!1))};return(0,Ue.useEffect)(()=>{M(W||T)},[T,W]),(0,me.jsxs)("div",{className:r(i,t&&"mobase-text-input-error"),ref:S,children:[(0,me.jsxs)("div",{className:"relative",children:[a&&(0,me.jsx)("span",{className:r("mobase-text-input-label absolute bg-white -top-2 px-1.5 left-2 text-xs text-gray-500",c===2&&" -top-2.5 text-sm"),children:a}),(0,me.jsx)("input",{disabled:e,type:K,ref:R,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",c===2&&"h-12 text-base",n),onChange:tt,onFocus:ft,value:T,defaultValue:W,...k}),l&&$&&(0,me.jsx)("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:ot,children:(0,me.jsx)(yt.XCircleIcon,{strokeWidth:2,width:20,height:20})})]}),o&&(0,me.jsxs)("div",{className:"mobase-text-input-message flex space-x-1 items-center mt-0.5",children:[t?(0,me.jsx)(yt.XCircleIcon,{width:16,height:16,className:"text-red-500"}):(0,me.jsx)(yt.QuestionMarkCircleIcon,{width:16,height:16,className:"text-gray-500"}),(0,me.jsx)("span",{className:r("text-gray-500 ",c===2?"text-sm":"text-xs"),children:o})]}),(0,me.jsx)("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,30 +117,58 @@
|
|
|
117
117
|
color: rgb(var(--mobase-red-500) / 1);
|
|
118
118
|
}
|
|
119
119
|
}
|
|
120
|
-
`})]})});var po=require("@heroicons/react/24/outline");var de=require("react");var he=require("react/jsx-runtime"),Vi=(0,de.forwardRef)(({value:e=0,min:o=0,max:t=999,disabled:a=!1,disabledInput:r=!1,step:s=1,inputClassName:m="",stepperClassName:c="",className:d="",onChange:v=()=>{},onChangeInputStepper:u,onDecrement:D,onIncrement:q,...Z},H)=>{let R=(0,de.useRef)(null),[K,ee]=(0,de.useState)(!1),[V,T]=(0,de.useState)(!1),[Qe,nt]=(0,de.useState)(""),Xe=(0,de.useRef)(null),B=y=>{Number(y)>=t?ee(!0):ee(!1),Number(y)>o?T(!1):T(!0)},An=()=>{if(a||K)return;let y=R?.current?.querySelector("input");if(!y)return;let te=0;te=Math.min(Number(y.value)+s,t),B(te),y.value=String(te),nt(y.value||""),u?.(y.value),q?.(y.value)},Mn=()=>{if(a||V)return;let y=R?.current?.querySelector("input");if(!y)return;let te=0;te=Math.max(Number(y.value)-s,0),B(te),y.value=String(te),nt(y.value||""),u?.(y.value),D?.(y.value)},Ln=y=>{if(!y)return;let te=y?.target?.value;te?.match(/^[0-9]*$/)||(te=te.replace(/[^0-9]/g,"")),B(te);let Wt=parseInt(te,10);Number.isNaN(Wt)||Wt<o?y.target.value=String(o):Wt>=t?y.target.value=String(t):y.target.value=String(Wt),nt(y?.target?.value||""),u?.(y.target.value),v?.(y)};return(0,de.useEffect)(()=>{let y=R?.current?.querySelector("input");y&&B(y?.value)},[]),(0,de.useEffect)(()=>{let y=R?.current?.querySelector("input");y&&Xe?.current&&(y.style.width=`${Xe.current.offsetWidth+10}px`)},[Qe]),(0,he.jsxs)("div",{ref:R,className:"flex items-center space-x-1",children:[(0,he.jsx)(Ie,{id:"btn-minus",className:i(!V&&!a?"cursor-pointer text-pink-500":"text-gray-400 cursor-default",c),variant:"transparent",onClick:Mn,children:(0,he.jsx)(po.MinusCircleIcon,{className:"w-8 h-8 "})}),(0,he.jsxs)("div",{children:[(0,he.jsx)("input",{pattern:"[0-9]*",inputMode:"numeric",defaultValue:e,ref:H,min:o,max:t,onChange:y=>Ln(y),id:"numberInput",disabled:a||r,autoComplete:"off",...Z,className:i("text-gray-800 min-w-7 border-gray-300 border transition-width duration-100 focus-visible:outline-none focus-visible:ring-0 focus:ring-0 shadow-none focus-visible:ring-offset-0 w-7 h-7 rounded-md text-center bg-white",m)}),(0,he.jsx)("span",{ref:Xe,style:{visibility:"hidden",position:"absolute",whiteSpace:"pre"},children:Qe||" "})]}),(0,he.jsx)(Ie,{id:"btn-plus",className:i(!K&&!a?"cursor-pointer text-pink-500":"text-gray-400 cursor-default",c),variant:"transparent",onClick:An,children:(0,he.jsx)(po.PlusCircleIcon,{className:"w-8 h-8 "})})]})});var xe=g(require("react"),1),_e=require("@heroicons/react/16/solid"),Oi=require("@heroicons/react/24/outline"),h=g(require("@radix-ui/react-select"),1);var w=require("react/jsx-runtime"),Wi=xe.forwardRef(({className:e,children:o,label:t,message:a,size:r,isError:s,disabled:m,...c},d)=>(0,w.jsxs)("div",{ref:d,className:i("select-mobase relative",e,m?"disabled":"",s?"[&>.select-mobase-button]:border-red-500 [&>.select-mobase-button]:ring-red-500 [&>.select-mobase-button]:ring-1":"",r===2?"[&>.select-mobase-button]:text-base [&>.select-mobase-button]:h-12":""),children:[t&&(0,w.jsx)("span",{className:i("mobase-select-label absolute bg-white -top-2 px-1.5 left-2 text-xs text-gray-500 z-[1]",r===2&&"text-sm -top-2.5",s&&"text-red-500"),children:t}),(0,w.jsx)(h.Root,{disabled:m,...c,children:o}),a&&(0,w.jsxs)("div",{className:i("mobase-select-message flex space-x-1 items-center mt-1 text-gray-500",s&&"text-red-500"),children:[s?(0,w.jsx)(_e.XCircleIcon,{width:16,height:16}):(0,w.jsx)(Oi.QuestionMarkCircleIcon,{width:16,height:16}),(0,w.jsx)("span",{className:i(r===2?"text-sm":"text-xs"),children:a})]})]})),Gi=h.Value,da=xe.forwardRef(({className:e,children:o,...t},a)=>(0,w.jsxs)(h.Trigger,{ref:a,className:i("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),...t,children:[(0,w.jsx)("div",{className:"line-clamp-1 text-left",children:o}),(0,w.jsx)(h.Icon,{asChild:!0,children:(0,w.jsx)(_e.ChevronDownIcon,{className:"h-4 w-4 text-gray-500 flex-none"})})]}));da.displayName=h.Trigger.displayName;var go=xe.forwardRef(({className:e,...o},t)=>(0,w.jsx)(h.ScrollUpButton,{ref:t,className:i("flex cursor-default items-center justify-center py-1",e),...o,children:(0,w.jsx)(_e.ChevronUpIcon,{className:"h-5 w-5"})}));go.displayName=h.ScrollUpButton.displayName;var fo=xe.forwardRef(({className:e,...o},t)=>(0,w.jsx)(h.ScrollDownButton,{ref:t,className:i("flex cursor-default items-center justify-center py-1 bg-gradient-to-t from-white to-transparent",e),...o,children:(0,w.jsx)(_e.ChevronDownIcon,{className:"h-5 w-5"})}));fo.displayName=h.ScrollDownButton.displayName;var pa=xe.forwardRef(({className:e,children:o,position:t="popper",...a},r)=>(0,w.jsx)(h.Portal,{children:(0,w.jsxs)(h.Content,{ref:r,className:i("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",t==="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:t,...a,children:[(0,w.jsx)(go,{}),(0,w.jsx)(h.Viewport,{className:i("p-0",t==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:o}),(0,w.jsx)(fo,{})]})}));pa.displayName=h.Content.displayName;var $i=xe.forwardRef(({className:e,children:o,...t},a)=>(0,w.jsx)(h.Group,{ref:a,className:i("relative p-1 after:w-full border-b border-gray-200 last:border-0",e),...t,children:o})),ga=xe.forwardRef(({className:e,...o},t)=>(0,w.jsx)(h.Label,{ref:t,className:i("pr-2 pl-8 py-1.5 text-sm font-semibold z-[1]",e),...o}));ga.displayName=h.Label.displayName;var ji=xe.forwardRef(({className:e,children:o,...t},a)=>(0,w.jsxs)(h.Item,{ref:a,className:i("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),...t,children:[(0,w.jsx)("span",{className:"absolute left-2 flex h-4 w-4 items-center justify-center",children:(0,w.jsx)(h.ItemIndicator,{children:(0,w.jsx)(_e.CheckIcon,{className:"h-4 w-4"})})}),(0,w.jsx)(h.ItemText,{children:o})]})),fa=xe.forwardRef(({className:e,...o},t)=>(0,w.jsx)(h.Separator,{ref:t,className:i("-mx-1 my-1 h-px bg-muted",e),...o}));fa.displayName=h.Separator.displayName;var ue=g(require("react"),1),k=g(require("@radix-ui/react-navigation-menu"),1),qi=require("class-variance-authority"),Ui=require("@heroicons/react/16/solid");var re=require("react/jsx-runtime"),Qi=ue.createContext(null),es=({value:e,children:o})=>(0,re.jsx)(Qi.Provider,{value:e,children:o}),ts=()=>{let e=ue.useContext(Qi);if(!e)throw new Error("useNavigationMenu must be used within a NavigationMenuProvider");return e},Mt=ue.forwardRef(({className:e,children:o,alignDropdown:t="left",...a},r)=>(0,re.jsx)(es,{value:{alignDropdown:t},children:(0,re.jsx)(k.Root,{ref:r,className:i("relative z-10 flex max-w-max flex-1 items-center justify-center",e),...a,children:o})}));Mt.displayName=k.Root.displayName;var Lt=ue.forwardRef(({className:e,...o},t)=>(0,re.jsx)(k.List,{ref:t,className:i("group flex flex-1 list-none items-center justify-center space-x-0",e),...o}));Lt.displayName=k.List.displayName;var It=k.Item,Et=(0,qi.cva)(ge({variant:"transparent",size:"sm"})),_t=ue.forwardRef(({className:e,children:o,...t},a)=>(0,re.jsxs)(k.Trigger,{ref:a,className:i(Et(),"group px-2",e),...t,children:[o," ",(0,re.jsx)(Ui.ChevronDownIcon,{className:"relative ml-1 h-4 w-4 transition duration-300 group-data-[state=open]:rotate-180","aria-hidden":"true"})]}));_t.displayName=k.Trigger.displayName;var Ht=ue.forwardRef(({className:e,...o},t)=>{let{alignDropdown:a}=ts();return(0,re.jsx)(k.Content,{ref:t,className:i("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 "),...o})});Ht.displayName=k.Content.displayName;var gt=k.Link,os=ue.forwardRef(({className:e,...o},t)=>(0,re.jsx)("div",{className:i("absolute left-0 top-full flex justify-center"),children:(0,re.jsx)(k.Viewport,{className:i("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:t,...o})}));os.displayName=k.Viewport.displayName;var as=ue.forwardRef(({className:e,...o},t)=>(0,re.jsx)(k.Indicator,{ref:t,className:i("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),...o,children:(0,re.jsx)("div",{className:"relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md"})}));as.displayName=k.Indicator.displayName;var Xi=g(require("react"),1),Bt=g(require("@radix-ui/react-switch"),1);var ua=require("react/jsx-runtime"),va=Xi.forwardRef(({className:e,...o},t)=>(0,ua.jsx)(Bt.Root,{className:i("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),...o,ref:t,children:(0,ua.jsx)(Bt.Thumb,{className:i("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")})}));va.displayName=Bt.Root.displayName;var ba=g(require("react"),1),We=g(require("@radix-ui/react-radio-group"),1),Zi=require("lucide-react");var Ft=require("react/jsx-runtime"),ha=ba.forwardRef(({className:e,...o},t)=>(0,Ft.jsx)(We.Root,{className:i("grid gap-2",e),...o,ref:t}));ha.displayName=We.Root.displayName;var xa=ba.forwardRef(({className:e,...o},t)=>(0,Ft.jsx)(We.Item,{ref:t,className:i("aspect-square h-4 w-4 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",e),...o,children:(0,Ft.jsx)(We.Indicator,{className:"flex items-center justify-center w-full h-full rounded-full ",children:(0,Ft.jsx)(Zi.Circle,{className:"h-2 w-2 fill-current text-current"})})}));xa.displayName=We.Item.displayName;var ye=require("react/jsx-runtime"),is=({className:e="",icon:o="",title:t,children:a="",href:r="",newTab:s=!1})=>{let m=s?{target:"_blank",rel:"noopener noreferrer"}:{};return(0,ye.jsx)("li",{className:"",children:(0,ye.jsx)(gt,{asChild:!0,children:(0,ye.jsxs)("a",{className:i(" 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,!o&&"items-center px-3"),href:r,...m,children:[o&&(0,ye.jsx)("div",{className:"w-7 h-7 shrink-0 mt-1",children:(0,ye.jsx)("img",{src:o,loading:"lazy",className:"w-7 h-7 object-cover",alt:t})}),(0,ye.jsxs)("div",{className:" ",children:[(0,ye.jsx)("div",{className:"text-sm font-medium text-gray-900 leading-none",children:t}),a&&(0,ye.jsx)("p",{className:"line-clamp-2 text-xs mt-1 text-gray-500",children:a})]})]})})})},Ki=is;var ve=require("react/jsx-runtime"),rs=({data:e,alignDropdown:o})=>(0,ve.jsx)(Mt,{alignDropdown:o,children:(0,ve.jsx)(Lt,{children:e.map(t=>{let a=t.newTab?{target:"_blank",rel:"noopener noreferrer"}:{};return t.hasDropdown?(0,ve.jsxs)(It,{className:"relative",children:[(0,ve.jsx)(_t,{children:t.title}),(0,ve.jsx)(Ht,{children:(0,ve.jsx)("ul",{className:i("grid w-[300px] p-2 grid-cols-1",t.dropDownCompact===!0&&t.subMenu.length>6&&" w-[530px] md:grid-cols-2 ",t.dropDownCompact===!0&&t.subMenu.length>12&&" w-[800px] md:grid-cols-3 "),children:t.subMenu&&t.subMenu.map(r=>(0,ve.jsx)(Ki,{title:r.title,href:r.url,newTab:r.newTab,icon:t.dropDownCompact===!0?r.icon:"",children:t.dropDownCompact===!0?r.description:""},r.title))})})]},t.id):(0,ve.jsx)(It,{className:"relative",children:(0,ve.jsx)(gt,{href:t.url,className:Et(),...a,children:t.title})},t.id)})})}),Yi=rs;var vo=require("react");var uo=[.24,.25,.05,1];var or=require("react-use"),ya=g(require("next/router"),1);var He=require("react/jsx-runtime"),ns=({className:e="",icon:o="",title:t,children:a="",href:r="",newTab:s=!1})=>{let m=s?{target:"_blank",rel:"noopener noreferrer"}:{};return(0,He.jsx)("li",{className:"min-h-8",children:(0,He.jsxs)("a",{className:i(" select-none py-2 flex flex-nowrap space-x-1 items-center text",e),href:r,...m,children:[o&&(0,He.jsx)("div",{className:"w-6 h-6 shrink-0",children:(0,He.jsx)("img",{src:o,loading:"lazy",className:"w-6 h-6 object-cover",alt:t})}),(0,He.jsxs)("div",{className:" ",children:[(0,He.jsx)("div",{className:"text-sm text-gray-800 line-clamp-1",children:t}),a&&(0,He.jsx)("p",{className:"line-clamp-1 text-xs mt-0 text-gray-500",children:a})]})]})})},Ji=ns;var er=require("framer-motion"),we=require("react/jsx-runtime"),ss={hidden:{opacity:0,y:10},show:{opacity:1,y:0,transition:{duration:.25,ease:uo}},exit:{opacity:0,transition:{duration:.05}}},ls=({data:e})=>(0,we.jsx)(xt,{type:"single",collapsible:!0,children:e.map(o=>{let t=o.newTab?{target:"_blank",rel:"noopener noreferrer"}:{};return(0,we.jsx)(er.motion.div,{variants:ss,children:o.hasDropdown?(0,we.jsxs)(yt,{value:o.id,children:[(0,we.jsx)(wt,{className:"py-3",children:o.title}),(0,we.jsx)(Nt,{children:(0,we.jsx)("ul",{className:i("grid gap-y-1 gap-x-2 grid-cols-2 "),children:o.subMenu&&o.subMenu.map(a=>(0,we.jsx)(Ji,{title:a.title,href:a.url,newTab:a.newTab,icon:o.dropDownCompact===!0?a.icon:"",children:o.dropDownCompact===!0?a.description:""},a.title))})})]}):(0,we.jsx)("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:o.url,...t,children:o.title})},o.id)})}),tr=ls;var Ne=require("framer-motion");var f=require("react/jsx-runtime"),ms=()=>typeof window<"u"&&window.pageYOffset!==void 0?window.pageYOffset:0,cs=({data:e,className:o})=>{let[t,a]=(0,vo.useState)(!1);(0,or.useKey)("Escape",()=>a(!1)),(0,vo.useEffect)(()=>{if(!t)return;let m=ms();function c(){a(!1)}return document.body.style.position="fixed",document.body.style.width="100%",ya.default.events.on("routeChangeComplete",c),()=>{document.body.style.position="",document.body.style.width="",window.scrollTo({top:m||0,behavior:"instant"}),ya.default.events.off("routeChangeComplete",c)}},[t]);let r={visible:{opacity:1,transition:{duration:.2}},hidden:{opacity:0,transition:{duration:.2}}},s={hidden:{opacity:0},show:{opacity:1,transition:{duration:.15,staggerChildren:.05,ease:uo}},exit:{opacity:0,transition:{duration:.15}}};return(0,f.jsxs)("div",{className:i(o),children:[(0,f.jsxs)("button",{type:"button",className:"text-gray-800 w-10 h-10 flex items-center justify-center hover:text-gray-700 ",onClick:()=>a(!t),children:[(0,f.jsx)("span",{className:"sr-only",children:"Navigation"}),(0,f.jsx)(Ne.motion.div,{animate:t?"hidden":"visible",variants:r,children:(0,f.jsx)("svg",{className:i("block w-7 h-7",t&&"hidden"),xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true",children:(0,f.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M4 6h16M4 12h16M4 18h16"})})}),(0,f.jsx)(Ne.motion.div,{animate:t?"visible":"hidden",variants:r,children:(0,f.jsx)("svg",{className:i("block w-7 h-7",!t&&"hidden"),xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true",children:(0,f.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M6 18L18 6M6 6l12 12"})})})]}),(0,f.jsx)(Ne.LazyMotion,{features:Ne.domAnimation,children:(0,f.jsx)(Ne.AnimatePresence,{mode:"wait",children:t&&(0,f.jsxs)(Ne.motion.nav,{variants:s,initial:"hidden",animate:"show",exit:"exit",className:i(o,"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:[(0,f.jsx)(tr,{data:e}),(0,f.jsxs)("div",{className:"py-4 text-sm animate-fade-in duration-500 delay-300",children:[(0,f.jsx)("h4",{className:"mb-2 mt-5 text-sm font-semibold text-gray-700 ",children:"T\u1EA2I V\xC0 \u0110\u0102NG K\xDD"}),(0,f.jsxs)("div",{className:"flex flex-nowrap",children:[(0,f.jsx)("div",{className:"flex-initial",children:(0,f.jsx)("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:(0,f.jsx)("img",{src:"https://homepage.momocdn.net/img/momo-upload-api-210724113855-637627235353131497.jpg",width:130,loading:"lazy",className:"img-fluid",alt:""})})}),(0,f.jsx)("div",{className:"ml-3 flex-initial",children:(0,f.jsx)("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:(0,f.jsx)("img",{src:"https://homepage.momocdn.net/img/momo-upload-api-210724113959-637627235994410679.jpg",width:130,loading:"lazy",className:"img-fluid",alt:""})})})]}),(0,f.jsx)("h4",{className:"mb-2 mt-5 text-sm font-semibold text-gray-700",children:"H\u1ED6 TR\u1EE2 KH\xC1CH H\xC0NG"}),(0,f.jsxs)("ul",{className:"mb-2 text-sm text-gray-500",children:[(0,f.jsxs)("li",{className:"mb-1",children:["Hotline :\xA0",(0,f.jsx)("a",{href:`tel:${De.Support.Hotline}`,className:"text-gray-600",children:De.Support.Hotline_Format})]}),(0,f.jsxs)("li",{className:"mb-1",children:["Email :\xA0",(0,f.jsx)("a",{href:`mailto:${De.Support.Email}`,className:"text-gray-600",children:De.Support.Email})]})]}),(0,f.jsx)("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:(0,f.jsxs)("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:[(0,f.jsx)("div",{className:"absolute left-1 top-1 ",style:{paddingTop:"3px"},children:(0,f.jsx)("svg",{className:"h-7 w-7 text-pink-700 ",fill:"currentColor",stroke:"currentColor",viewBox:"0 0 345.1 512",children:(0,f.jsxs)("g",{children:[(0,f.jsx)("title",{children:"Asset 1"}),(0,f.jsx)("path",{d:`M279.4,23.7H30.8C14.5,23.7,0,38.2,0,56.3v401.8c0,16.3,14.5,30.8,30.8,30.8H76h23.8L76,449.4H34.5V96.2h243.1v152l34.5,22
|
|
120
|
+
`})]})});var yo=g(require("html-react-parser"),1);var Ce=require("react/jsx-runtime"),qe=({idSection:e,className:t,background:o,children:a})=>(0,Ce.jsx)("section",{id:e,className:r("block-section py-8 md:py-10 lg:py-14",t),style:{background:o},children:(0,Ce.jsx)("div",{className:"wrapper relative",children:a})}),B=({align:e="center",tagline:t,title:o,description:a,tagHeading:i="h2",colorScheme:n="regular",sizeHeading:l="small",className:c})=>{let d=n==="regular"?"pink":n==="pink"?"regular":"white",p=n==="pink"?"pink":n==="white"?"white":"regular",v=n==="white"?"white":"regular";return(0,Ce.jsxs)(po,{align:e,className:c,children:[t&&(0,Ce.jsx)(lo,{color:d,children:t}),o&&(0,Ce.jsx)(mo,{tagHeading:i,color:p,size:l,children:(0,yo.default)(o)}),a&&(0,Ce.jsx)(co,{color:v,marginTop:l==="large"?"spacing2Xl":"spacingX",children:(0,yo.default)(a)})]})},E=({align:e,isFullInMobile:t=!1,buttons:o,className:a})=>o?.length===0?null:(0,Ce.jsx)("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:l,...c}=i;return(0,Ce.jsx)(Yt,{...c,className:r(t&&"w-full md:w-auto",i?.className),children:(0,yo.default)(l)},n)})});var wo=g(require("html-react-parser"),1),rr=require("@heroicons/react/24/solid");var x=require("react/jsx-runtime"),ar=({testimonial:e,isHiddenOnMobile:t=!1,index:o=0,itemCount:a})=>(0,x.jsx)("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:(0,x.jsx)("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:(0,x.jsxs)("div",{className:"testimonial-item-width",children:[(0,x.jsxs)("div",{className:"flex flex-nowrap items-center space-x-2",children:[(0,x.jsx)("div",{className:"h-9 w-9 shrink-0 overflow-hidden rounded-full",children:(0,x.jsx)("img",{src:e?.avatar,loading:"lazy",className:"h-full w-full object-cover",alt:e.name})}),(0,x.jsxs)("div",{className:"min-w-0 flex-1 pl-1",children:[(0,x.jsx)("div",{className:"overflow-hidden text-ellipsis whitespace-nowrap text-sm font-semibold text-gray-700",children:e.name}),e?.position&&(0,x.jsx)("div",{className:"text-xs font-normal text-pink-500",children:(0,wo.default)(e.position)})]})]}),(0,x.jsxs)("div",{className:"mt-3",children:[e?.shortTitle&&(0,x.jsx)("div",{className:"text-sm font-bold text-gray-700",children:(0,wo.default)(e.shortTitle)}),e?.description&&(0,x.jsx)("div",{className:"relative mt-1 max-h-full overflow-hidden text-sm leading-normal text-gray-600",children:(0,wo.default)(e.description)})]}),(0,x.jsxs)("div",{className:"absolute bottom-0 left-0 right-0 flex items-center justify-between space-x-2 p-4 md:px-5",children:[(0,x.jsx)("div",{className:"text-xs text-gray-400",children:e.date}),e?.rating&&e?.rating>0&&(0,x.jsx)("div",{className:"flex flex-nowrap space-x-0.5 text-sm",children:Array.from({length:5},(i,n)=>(0,x.jsx)(rr.StarIcon,{className:`h-4 w-4 ${n<(e.rating??0)?"text-yellow-400":"text-gray-200"}`},n))})]})]})})}),ir=({dataHeading:e,dataTestimonials:t,dataButtons:o})=>(0,x.jsxs)(x.Fragment,{children:[e&&(0,x.jsx)(B,{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&&(0,x.jsx)("div",{className:"testimonials scroll-hidden relative overflow-x-scroll py-2 md:overflow-hidden -my-2 -mx-5 sm:mx-0",children:(0,x.jsxs)("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)=>(0,x.jsx)(ar,{testimonial:a,index:i,itemCount:t?.length||0},i)),(t?.length??0)>3&&t?.map((a,i)=>(0,x.jsx)(ar,{testimonial:a,isHiddenOnMobile:!0},i))]})}),o&&(0,x.jsx)(E,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:o?.align||"center"}),(0,x.jsx)("style",{children:`
|
|
121
|
+
${(t?.length??0)>3&&`
|
|
122
|
+
@media screen and (min-width: 640px) {
|
|
123
|
+
.testimonials {
|
|
124
|
+
--items-count: ${t?.length||0};
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.testimonials-slider {
|
|
128
|
+
animation: scroll-infinite linear infinite;
|
|
129
|
+
animation-duration: calc(var(--items-count) * 5s);
|
|
130
|
+
}
|
|
131
|
+
.testimonials-slider:hover {
|
|
132
|
+
animation-play-state: paused;
|
|
133
|
+
}
|
|
134
|
+
.testimonial-item-width {
|
|
135
|
+
width: ${(t?.length??0)===4?"410px":"320px"};
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
@keyframes scroll-infinite {
|
|
139
|
+
0% {
|
|
140
|
+
transform: translateX(0);
|
|
141
|
+
}
|
|
142
|
+
100% {
|
|
143
|
+
transform: translateX(calc(${(t?.length??0)===4?"-476px":"-386px"} * var(--items-count)));
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
`}
|
|
147
|
+
|
|
148
|
+
`})]}),As=({template:e,dataHeading:t,dataTestimonials:o,dataButtons:a})=>{switch(e){case 1:return(0,x.jsx)(ir,{dataHeading:t,dataTestimonials:o,dataButtons:a});default:return(0,x.jsx)(ir,{dataHeading:t,dataTestimonials:o,dataButtons:a})}},Is=({template:e,dataHeading:t,dataTestimonials:o,dataButtons:a})=>(0,x.jsx)(x.Fragment,{children:As({template:e,dataHeading:t,dataTestimonials:o,dataButtons:a})}),nr=({template:e=1,background:t,className:o,idSection:a,dataHeading:i,dataTestimonials:n,dataButtons:l})=>(0,x.jsx)(qe,{className:`${e===1&&(n?.length??0)>3?"[&>.wrapper]:max-w-full [&>.wrapper]:md:px-0":""} ${o||""}`,idSection:a,background:t,children:(0,x.jsx)(Is,{template:e,dataHeading:i,dataTestimonials:n,dataButtons:l})});var No=require("@heroicons/react/24/outline");var be=require("react");var Re=require("react/jsx-runtime"),sr=(0,be.forwardRef)(({value:e=0,min:t=0,max:o=999,disabled:a=!1,disabledInput:i=!1,step:n=1,inputClassName:l="",stepperClassName:c="",className:d="",onChange:p=()=>{},onChangeInputStepper:v,onDecrement:T,onIncrement:W,...K},k)=>{let R=(0,be.useRef)(null),[$,J]=(0,be.useState)(!1),[S,M]=(0,be.useState)(!1),[tt,ft]=(0,be.useState)(""),ot=(0,be.useRef)(null),j=w=>{Number(w)>=o?J(!0):J(!1),Number(w)>t?M(!1):M(!0)},rs=()=>{if(a||$)return;let w=R?.current?.querySelector("input");if(!w)return;let re=0;re=Math.min(Number(w.value)+n,o),j(re),w.value=String(re),ft(w.value||""),v?.(w.value),W?.(w.value)},ns=()=>{if(a||S)return;let w=R?.current?.querySelector("input");if(!w)return;let re=0;re=Math.max(Number(w.value)-n,0),j(re),w.value=String(re),ft(w.value||""),v?.(w.value),T?.(w.value)},ss=w=>{if(!w)return;let re=w?.target?.value;re?.match(/^[0-9]*$/)||(re=re.replace(/[^0-9]/g,"")),j(re);let Qt=parseInt(re,10);Number.isNaN(Qt)||Qt<t?w.target.value=String(t):Qt>=o?w.target.value=String(o):w.target.value=String(Qt),ft(w?.target?.value||""),v?.(w.target.value),p?.(w)};return(0,be.useEffect)(()=>{let w=R?.current?.querySelector("input");w&&j(w?.value)},[]),(0,be.useEffect)(()=>{let w=R?.current?.querySelector("input");w&&ot?.current&&(w.style.width=`${ot.current.offsetWidth+10}px`)},[tt]),(0,Re.jsxs)("div",{ref:R,className:"flex items-center",children:[(0,Re.jsx)(fe,{id:"btn-minus",className:r(!S&&!a?"cursor-pointer text-pink-500":"text-gray-400 cursor-default ","w-9 h-9",c),variant:"transparent",onClick:ns,children:(0,Re.jsx)(No.MinusCircleIcon,{className:"w-7 h-7 "})}),(0,Re.jsxs)("div",{className:"text-center font-semibold",children:[(0,Re.jsx)("input",{pattern:"[0-9]*",inputMode:"numeric",defaultValue:e,ref:k,min:t,max:o,onChange:w=>ss(w),id:"numberInput",disabled:a||i,autoComplete:"off",...K,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",l)}),(0,Re.jsx)("span",{ref:ot,style:{visibility:"hidden",position:"absolute",whiteSpace:"pre"},children:tt||" "})]}),(0,Re.jsx)(fe,{id:"btn-plus",className:r(!$&&!a?"cursor-pointer text-pink-500":"text-gray-400 cursor-default","w-9 h-9",c),variant:"transparent",onClick:rs,children:(0,Re.jsx)(No.PlusCircleIcon,{className:"w-7 h-7 "})})]})});var Te=g(require("react"),1),Ve=require("@heroicons/react/16/solid"),lr=require("@heroicons/react/24/outline"),h=g(require("@radix-ui/react-select"),1);var P=require("react/jsx-runtime"),mr=Te.forwardRef(({className:e,children:t,label:o,message:a,size:i,isError:n,disabled:l,...c},d)=>(0,P.jsxs)("div",{ref:d,className:r("select-mobase relative",e,l?"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&&(0,P.jsx)("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}),(0,P.jsx)(h.Root,{disabled:l,...c,children:t}),a&&(0,P.jsxs)("div",{className:r("mobase-select-message flex space-x-1 items-center mt-1 text-gray-500",n&&"text-red-500"),children:[n?(0,P.jsx)(Ve.XCircleIcon,{width:16,height:16}):(0,P.jsx)(lr.QuestionMarkCircleIcon,{width:16,height:16}),(0,P.jsx)("span",{className:r(i===2?"text-sm":"text-xs"),children:a})]})]})),cr=h.Value,Ta=Te.forwardRef(({className:e,children:t,...o},a)=>(0,P.jsxs)(h.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:[(0,P.jsx)("div",{className:"line-clamp-1 text-left",children:t}),(0,P.jsx)(h.Icon,{asChild:!0,children:(0,P.jsx)(Ve.ChevronDownIcon,{className:"h-4 w-4 text-gray-500 flex-none"})})]}));Ta.displayName=h.Trigger.displayName;var Po=Te.forwardRef(({className:e,...t},o)=>(0,P.jsx)(h.ScrollUpButton,{ref:o,className:r("flex cursor-default items-center justify-center py-1",e),...t,children:(0,P.jsx)(Ve.ChevronUpIcon,{className:"h-5 w-5"})}));Po.displayName=h.ScrollUpButton.displayName;var Co=Te.forwardRef(({className:e,...t},o)=>(0,P.jsx)(h.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:(0,P.jsx)(Ve.ChevronDownIcon,{className:"h-5 w-5"})}));Co.displayName=h.ScrollDownButton.displayName;var ka=Te.forwardRef(({className:e,children:t,position:o="popper",...a},i)=>(0,P.jsx)(h.Portal,{children:(0,P.jsxs)(h.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:[(0,P.jsx)(Po,{}),(0,P.jsx)(h.Viewport,{className:r("p-0",o==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:t}),(0,P.jsx)(Co,{})]})}));ka.displayName=h.Content.displayName;var dr=Te.forwardRef(({className:e,children:t,...o},a)=>(0,P.jsx)(h.Group,{ref:a,className:r("relative p-1 after:w-full border-b border-gray-200 last:border-0",e),...o,children:t})),Sa=Te.forwardRef(({className:e,...t},o)=>(0,P.jsx)(h.Label,{ref:o,className:r("pr-2 pl-8 py-1.5 text-sm font-semibold z-[1]",e),...t}));Sa.displayName=h.Label.displayName;var pr=Te.forwardRef(({className:e,children:t,...o},a)=>(0,P.jsxs)(h.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:[(0,P.jsx)("span",{className:"absolute left-2 flex h-4 w-4 items-center justify-center",children:(0,P.jsx)(h.ItemIndicator,{children:(0,P.jsx)(Ve.CheckIcon,{className:"h-4 w-4"})})}),(0,P.jsx)(h.ItemText,{children:t})]})),Da=Te.forwardRef(({className:e,...t},o)=>(0,P.jsx)(h.Separator,{ref:o,className:r("-mx-1 my-1 h-px bg-muted",e),...t}));Da.displayName=h.Separator.displayName;var we=g(require("react"),1),A=g(require("@radix-ui/react-navigation-menu"),1),gr=require("class-variance-authority"),fr=require("@heroicons/react/16/solid");var ce=require("react/jsx-runtime"),ur=we.createContext(null),Ls=({value:e,children:t})=>(0,ce.jsx)(ur.Provider,{value:e,children:t}),Es=()=>{let e=we.useContext(ur);if(!e)throw new Error("useNavigationMenu must be used within a NavigationMenuProvider");return e},zt=we.forwardRef(({className:e,children:t,alignDropdown:o="left",...a},i)=>(0,ce.jsx)(Ls,{value:{alignDropdown:o},children:(0,ce.jsx)(A.Root,{ref:i,className:r("relative z-10 flex max-w-max flex-1 items-center justify-center",e),...a,children:t})}));zt.displayName=A.Root.displayName;var Bt=we.forwardRef(({className:e,...t},o)=>(0,ce.jsx)(A.List,{ref:o,className:r("group flex flex-1 list-none items-center justify-center space-x-0",e),...t}));Bt.displayName=A.List.displayName;var Vt=A.Item,Ot=(0,gr.cva)(xe({variant:"transparent",size:"sm"})),Wt=we.forwardRef(({className:e,children:t,...o},a)=>(0,ce.jsxs)(A.Trigger,{ref:a,className:r(Ot(),"group px-2",e),...o,children:[t," ",(0,ce.jsx)(fr.ChevronDownIcon,{className:"relative ml-1 h-4 w-4 transition duration-300 group-data-[state=open]:rotate-180","aria-hidden":"true"})]}));Wt.displayName=A.Trigger.displayName;var Gt=we.forwardRef(({className:e,...t},o)=>{let{alignDropdown:a}=Es();return(0,ce.jsx)(A.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})});Gt.displayName=A.Content.displayName;var wt=A.Link,_s=we.forwardRef(({className:e,...t},o)=>(0,ce.jsx)("div",{className:r("absolute left-0 top-full flex justify-center"),children:(0,ce.jsx)(A.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})}));_s.displayName=A.Viewport.displayName;var Hs=we.forwardRef(({className:e,...t},o)=>(0,ce.jsx)(A.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:(0,ce.jsx)("div",{className:"relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md"})}));Hs.displayName=A.Indicator.displayName;var vr=g(require("react"),1),$t=g(require("@radix-ui/react-switch"),1);var Ma=require("react/jsx-runtime"),Aa=vr.forwardRef(({className:e,...t},o)=>(0,Ma.jsx)($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:(0,Ma.jsx)($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")})}));Aa.displayName=$t.Root.displayName;var lt=g(require("react"),1),Qe=g(require("@radix-ui/react-radio-group"),1),br=require("lucide-react"),Ia=require("class-variance-authority");var Nt=require("react/jsx-runtime"),Fs=(0,Ia.cva)("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"}}),zs=(0,Ia.cva)("fill-current text-current",{variants:{size:{medium:"h-2 w-2 ",large:"w-2.5 h-2.5"}},defaultVariants:{size:"medium"}}),hr=lt.createContext({size:"medium"});function Bs(){let e=lt.useContext(hr);if(!e)throw new Error("ChoiceboxGroup.Item must be used within a ChoiceboxGroup ");return e}var La=lt.forwardRef(({className:e,size:t,...o},a)=>(0,Nt.jsx)(hr.Provider,{value:{size:t},children:(0,Nt.jsx)(Qe.Root,{className:r("grid gap-2",e),...o,ref:a})}));La.displayName=Qe.Root.displayName;var Ea=lt.forwardRef(({className:e,...t},o)=>{let a=Bs(),{size:i}=a??{};return(0,Nt.jsx)(Qe.Item,{ref:o,className:r(Fs({size:i}),e),...t,children:(0,Nt.jsx)(Qe.Indicator,{className:"flex items-center justify-center w-full h-full rounded-full ",children:(0,Nt.jsx)(br.Circle,{className:r(zs({size:i}))})})})});Ea.displayName=Qe.Item.displayName;var ke=require("react/jsx-runtime"),Vs=({className:e="",icon:t="",title:o,children:a="",href:i="",newTab:n=!1})=>{let l=n?{target:"_blank",rel:"noopener noreferrer"}:{};return(0,ke.jsx)("li",{className:"",children:(0,ke.jsx)(wt,{asChild:!0,children:(0,ke.jsxs)("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,...l,children:[t&&(0,ke.jsx)("div",{className:"w-7 h-7 shrink-0 mt-1",children:(0,ke.jsx)("img",{src:t,loading:"lazy",className:"w-7 h-7 object-cover",alt:o})}),(0,ke.jsxs)("div",{className:" ",children:[(0,ke.jsx)("div",{className:"text-sm font-medium text-gray-900 leading-none",children:o}),a&&(0,ke.jsx)("p",{className:"line-clamp-2 text-xs mt-1 text-gray-500",children:a})]})]})})})},xr=Vs;var Ne=require("react/jsx-runtime"),Os=({data:e,alignDropdown:t})=>(0,Ne.jsx)(zt,{alignDropdown:t,children:(0,Ne.jsx)(Bt,{children:e.map(o=>{let a=o.newTab?{target:"_blank",rel:"noopener noreferrer"}:{};return o.hasDropdown?(0,Ne.jsxs)(Vt,{className:"relative",children:[(0,Ne.jsx)(Wt,{children:o.title}),(0,Ne.jsx)(Gt,{children:(0,Ne.jsx)("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=>(0,Ne.jsx)(xr,{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):(0,Ne.jsx)(Vt,{className:"relative",children:(0,Ne.jsx)(wt,{href:o.url,className:Ot(),...a,children:o.title})},o.id)})})}),yr=Os;var To=require("react");var Ro=[.24,.25,.05,1];var Cr=require("react-use"),_a=g(require("next/router"),1);var Oe=require("react/jsx-runtime"),Ws=({className:e="",icon:t="",title:o,children:a="",href:i="",newTab:n=!1})=>{let l=n?{target:"_blank",rel:"noopener noreferrer"}:{};return(0,Oe.jsx)("li",{className:"min-h-8",children:(0,Oe.jsxs)("a",{className:r(" select-none py-2 flex flex-nowrap space-x-1 items-center text",e),href:i,...l,children:[t&&(0,Oe.jsx)("div",{className:"w-6 h-6 shrink-0",children:(0,Oe.jsx)("img",{src:t,loading:"lazy",className:"w-6 h-6 object-cover",alt:o})}),(0,Oe.jsxs)("div",{className:" ",children:[(0,Oe.jsx)("div",{className:"text-sm text-gray-800 line-clamp-1",children:o}),a&&(0,Oe.jsx)("p",{className:"line-clamp-1 text-xs mt-0 text-gray-500",children:a})]})]})})},wr=Ws;var Nr=require("framer-motion"),Se=require("react/jsx-runtime"),Gs={hidden:{opacity:0,y:10},show:{opacity:1,y:0,transition:{duration:.25,ease:Ro}},exit:{opacity:0,transition:{duration:.05}}},$s=({data:e})=>(0,Se.jsx)(Tt,{type:"single",collapsible:!0,children:e.map(t=>{let o=t.newTab?{target:"_blank",rel:"noopener noreferrer"}:{};return(0,Se.jsx)(Nr.motion.div,{variants:Gs,children:t.hasDropdown?(0,Se.jsxs)(kt,{value:t.id,children:[(0,Se.jsx)(St,{className:"py-3",children:t.title}),(0,Se.jsx)(Dt,{children:(0,Se.jsx)("ul",{className:r("grid gap-y-1 gap-x-2 grid-cols-2 "),children:t.subMenu&&t.subMenu.map(a=>(0,Se.jsx)(wr,{title:a.title,href:a.url,newTab:a.newTab,icon:t.dropDownCompact===!0?a.icon:"",children:t.dropDownCompact===!0?a.description:""},a.title))})})]}):(0,Se.jsx)("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)})}),Pr=$s;var De=require("framer-motion");var u=require("react/jsx-runtime"),js=()=>typeof window<"u"&&window.pageYOffset!==void 0?window.pageYOffset:0,Us=({data:e,className:t})=>{let[o,a]=(0,To.useState)(!1);(0,Cr.useKey)("Escape",()=>a(!1)),(0,To.useEffect)(()=>{if(!o)return;let l=js();function c(){a(!1)}return document.body.style.position="fixed",document.body.style.width="100%",_a.default.events.on("routeChangeComplete",c),()=>{document.body.style.position="",document.body.style.width="",window.scrollTo({top:l||0,behavior:"instant"}),_a.default.events.off("routeChangeComplete",c)}},[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:Ro}},exit:{opacity:0,transition:{duration:.15}}};return(0,u.jsxs)("div",{className:r(t),children:[(0,u.jsxs)("button",{type:"button",className:"text-gray-800 w-10 h-10 flex items-center justify-center hover:text-gray-700 ",onClick:()=>a(!o),children:[(0,u.jsx)("span",{className:"sr-only",children:"Navigation"}),(0,u.jsx)(De.motion.div,{animate:o?"hidden":"visible",variants:i,children:(0,u.jsx)("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:(0,u.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M4 6h16M4 12h16M4 18h16"})})}),(0,u.jsx)(De.motion.div,{animate:o?"visible":"hidden",variants:i,children:(0,u.jsx)("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:(0,u.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M6 18L18 6M6 6l12 12"})})})]}),(0,u.jsx)(De.LazyMotion,{features:De.domAnimation,children:(0,u.jsx)(De.AnimatePresence,{mode:"wait",children:o&&(0,u.jsxs)(De.motion.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:[(0,u.jsx)(Pr,{data:e}),(0,u.jsxs)("div",{className:"py-4 text-sm animate-fade-in duration-500 delay-300",children:[(0,u.jsx)("h4",{className:"mb-2 mt-5 text-sm font-semibold text-gray-700 ",children:"T\u1EA2I V\xC0 \u0110\u0102NG K\xDD"}),(0,u.jsxs)("div",{className:"flex flex-nowrap",children:[(0,u.jsx)("div",{className:"flex-initial",children:(0,u.jsx)("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:(0,u.jsx)("img",{src:"https://homepage.momocdn.net/img/momo-upload-api-210724113855-637627235353131497.jpg",width:130,loading:"lazy",className:"img-fluid",alt:""})})}),(0,u.jsx)("div",{className:"ml-3 flex-initial",children:(0,u.jsx)("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:(0,u.jsx)("img",{src:"https://homepage.momocdn.net/img/momo-upload-api-210724113959-637627235994410679.jpg",width:130,loading:"lazy",className:"img-fluid",alt:""})})})]}),(0,u.jsx)("h4",{className:"mb-2 mt-5 text-sm font-semibold text-gray-700",children:"H\u1ED6 TR\u1EE2 KH\xC1CH H\xC0NG"}),(0,u.jsxs)("ul",{className:"mb-2 text-sm text-gray-500",children:[(0,u.jsxs)("li",{className:"mb-1",children:["Hotline :\xA0",(0,u.jsx)("a",{href:`tel:${Ee.Support.Hotline}`,className:"text-gray-600",children:Ee.Support.Hotline_Format})]}),(0,u.jsxs)("li",{className:"mb-1",children:["Email :\xA0",(0,u.jsx)("a",{href:`mailto:${Ee.Support.Email}`,className:"text-gray-600",children:Ee.Support.Email})]})]}),(0,u.jsx)("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:(0,u.jsxs)("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:[(0,u.jsx)("div",{className:"absolute left-1 top-1 ",style:{paddingTop:"3px"},children:(0,u.jsx)("svg",{className:"h-7 w-7 text-pink-700 ",fill:"currentColor",stroke:"currentColor",viewBox:"0 0 345.1 512",children:(0,u.jsxs)("g",{children:[(0,u.jsx)("title",{children:"Asset 1"}),(0,u.jsx)("path",{d:`M279.4,23.7H30.8C14.5,23.7,0,38.2,0,56.3v401.8c0,16.3,14.5,30.8,30.8,30.8H76h23.8L76,449.4H34.5V96.2h243.1v152l34.5,22
|
|
121
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
|
|
122
|
-
c5.4,0,10.8,5.4,10.8,13.5C237.7,71.7,232.3,77.1,226.8,77.1z`}),(0,
|
|
150
|
+
c5.4,0,10.8,5.4,10.8,13.5C237.7,71.7,232.3,77.1,226.8,77.1z`}),(0,u.jsx)("path",{d:`M189.4,200.7c-14.4,0-25.9,11.6-25.9,25.9v155.7l-17.3-34.6c-14.2-26.3-28.1-23.6-38.9-17.3c-12.5,8.3-17.2,17-8.6,38.9
|
|
123
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
|
|
124
|
-
c-7.5,0.1-13,4.3-17.3,13c0-17.3-14.1-21.6-21.6-21.6c-8.3,0-17.9,5.2-21.6,13v-90.8C215.4,212.3,203.8,200.7,189.4,200.7z`})]})})}),(0,
|
|
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`})]})})}),(0,u.jsx)("div",{className:"text-xs text-gray-500 ",children:"H\u01B0\u1EDBng d\u1EABn tr\u1EE3 gi\xFAp tr\xEAn"}),(0,u.jsx)("div",{className:"text-sm font-semibold text-gray-800",children:"\u1EE8ng d\u1EE5ng V\xED MoMo"})]})}),(0,u.jsx)("h4",{className:"mb-2 mt-5 text-sm font-semibold text-gray-700",children:"H\u1EE2P T\xC1C DOANH NGHI\u1EC6P"}),(0,u.jsxs)("ul",{className:"mb-2 text-sm text-gray-500",children:[(0,u.jsxs)("li",{className:"mb-1",children:["Hotline :\xA0",(0,u.jsx)("a",{className:"text-gray-600",href:`tel:${Ee.Business.Phome}`,children:Ee.Business.Phome_Format})]}),(0,u.jsxs)("li",{className:"mb-1",children:["Email :\xA0",(0,u.jsxs)("a",{href:`mailto:${Ee.Business.Email}`,className:"text-gray-600",children:[" ",Ee.Business.Email]})]})]}),(0,u.jsx)("a",{href:"https://business.momo.vn/#menutop",rel:"noreferrer",target:"_blank",children:(0,u.jsxs)("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:[(0,u.jsx)("div",{className:"absolute left-1 top-1 ",children:(0,u.jsx)("img",{src:"https://homepage.momocdn.net/fileuploads/svg/momo-file-210724114053.svg",className:"w-10",loading:"lazy",alt:""})}),(0,u.jsx)("div",{className:"text-xs text-gray-500 ",children:"H\u1EE3p t\xE1c doanh nghi\u1EC7p"}),(0,u.jsx)("div",{className:"text-sm font-semibold text-gray-800",children:"\u0110\u0103ng k\xFD h\u1EE3p t\xE1c"})]})})]})]})})})]})},Rr=Us;var Tr=g(require("html-react-parser"),1);var kr=require("@heroicons/react/16/solid"),Sr=require("react");var V=require("react/jsx-runtime"),Ha=({className:e,dataMenu:t,serviceInfo:o,hasDownloadApp:a=!1,navigationRight:i,isSticky:n=!0,alignDropdown:l="left"})=>{let{logo:c,name:d,url:p}=o||{},[v,T]=(0,Sr.useState)(!1);return(0,V.jsxs)("div",{className:r(e,"z-40 w-full flex-none lg:z-50 ",n?"sticky top-0 ":"relative"),children:[(0,V.jsx)("div",{className:r("absolute h-full w-full bg-white shadow-[inset_0px_-1px_0px_0px_rgba(0,0,0,0.08)]")}),(0,V.jsx)("nav",{className:r("wrapper grid grid-cols-1 items-center lg:border-0 [--header-height:64px] "),style:{minHeight:"var(--header-height)"},children:(0,V.jsxs)("div",{className:"relative flex items-center ",children:[(0,V.jsxs)("a",{href:"/",title:"MoMo",className:"mr-3 flex-none w-9 h-9 overflow-hidden rounded-none hover:opacity-80",children:[(0,V.jsx)("span",{className:"sr-only",children:"MoMo home page"}),(0,V.jsx)("img",{src:"https://homepage.momocdn.net/fileuploads/svg/momo-file-240411162904.svg",className:"w-9 h-9",alt:"MoMo"})]}),o&&(0,V.jsxs)("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:[(0,V.jsx)("img",{src:c,className:"w-9 h-9",alt:"MoMo"}),(0,V.jsx)("div",{className:"text-sm font-semibold leading-[1.1] text-pink-500 line-clamp-2",children:d&&(0,Tr.default)(d)})]}),(0,V.jsx)("div",{className:"relative lg:ml-2 xl:ml-4 hidden lg:flex items-center ",children:(0,V.jsx)(yr,{data:t,alignDropdown:l})}),(0,V.jsxs)("div",{className:"ml-auto flex space-x-3 flex-nowrap items-center",children:[i&&i,a&&(0,V.jsxs)("div",{className:" hidden sm:flex",children:[(0,V.jsxs)(ne,{variant:"primary",size:"sm",className:"tracking-cta-header",onClick:()=>T(!0),children:[" ",(0,V.jsx)(kr.ArrowDownTrayIcon,{className:"mr-1 w-4 h-4"})," T\u1EA3i V\xED MoMo"]}),(0,V.jsx)($e,{open:v,onOpenChange:()=>T(!1),title:"Qu\xE9t m\xE3 \u0111\u1EC3 t\u1EA3i V\xED MoMo",shortTitle:"T\u1EA3i ngay",qrLink:"http://momo.vn/download"})]}),(0,V.jsx)(Rr,{data:t,className:"lg:hidden "})]})]})})]})};Ha.displayName="HeaderNavigation";var Mr=require("react");var m=require("react/jsx-runtime"),Dr=({item:e})=>(0,m.jsx)("div",{className:"mt-3 flex w-full text-sm",children:(0,m.jsxs)("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&&(0,m.jsx)("span",{className:"relative flex-none h-5 w-5 md:h-6 md:w-6",children:(0,m.jsx)("img",{src:e.icon,className:"absolute inset-0"})}),(0,m.jsx)("span",{className:"block ",children:e.title})]})}),qs=({primaryMenu:e,secondaryMenu:t})=>{let[o,a]=(0,Mr.useState)(null);return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)("div",{className:"footer-main order-2 py-7 text-white md:order-1 text-sm",children:(0,m.jsxs)("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:[(0,m.jsxs)("div",{className:"block grow md:w-44 md:shrink-0 md:border-none md:pb-0",children:[(0,m.jsx)("div",{className:"whitespace-nowrap text-xs font-bold uppercase text-white text-opacity-80",children:e?.heading}),e?.lists?.map((i,n)=>(0,m.jsx)(Dr,{item:i},n))]}),(0,m.jsxs)("div",{className:" md:order-none md:w-40 md:flex-none md:shrink-0 md:border-none md:pb-0",children:[(0,m.jsx)("div",{className:"whitespace-nowrap text-xs font-bold uppercase text-white text-opacity-80",children:t?.heading}),(0,m.jsx)("div",{className:"flex flex-wrap",children:t?.lists?.map((i,n)=>(0,m.jsx)(Dr,{item:i},n))})]}),(0,m.jsxs)("div",{className:"col-span-2 grow border-t border-gray-700 pt-5 sm:col-span-1 md:border-none md:pt-0",children:[(0,m.jsxs)("div",{className:"border-b border-gray-700 pb-5 md:border-0 md:pb-0",children:[(0,m.jsx)("div",{className:"whitespace-nowrap text-xs font-bold uppercase text-white text-opacity-80",children:"Ch\u0103m s\xF3c kh\xE1ch h\xE0ng"}),(0,m.jsxs)("div",{className:"mt-2 text-sm md:mt-3",children:[(0,m.jsx)("span",{className:"text-white text-opacity-50",children:"\u0110\u1ECBa ch\u1EC9 : "}),(0,m.jsx)("span",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",children:di.Address})]}),(0,m.jsxs)("div",{className:"mt-1 text-sm",children:[(0,m.jsx)("span",{className:"text-white text-opacity-50",children:"Hotline : "}),(0,m.jsx)("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`tel:${ee.Support.Hotline}`,children:ee.Support.Hotline_Format}),(0,m.jsxs)("small",{className:"text-xs italic text-white text-opacity-60",children:[" ","(Ph\xED 1.000\u0111/ph\xFAt)"]})]}),(0,m.jsxs)("div",{className:"mt-1 text-sm",children:[(0,m.jsx)("span",{className:"text-white text-opacity-50",children:"Email : "}),(0,m.jsx)("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`mailto:${ee.Support.Email}`,children:ee.Support.Email})]}),(0,m.jsxs)("div",{className:"mt-1 text-sm",children:[(0,m.jsxs)("span",{className:"text-white text-opacity-50",children:["T\u1ED5ng \u0111\xE0i g\u1ECDi ra :"," "]}),(0,m.jsx)("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`tel:${ee.Support.Phone_Ext_1}`,children:ee.Support.Phone_Ext_1_Format}),(0,m.jsx)("span",{className:"text-white text-opacity-60",children:" - "}),(0,m.jsx)("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`tel:${ee.Support.Phone_Ext_2}`,children:ee.Support.Phone_Ext_2_Format}),(0,m.jsx)("span",{className:"text-white text-opacity-60",children:" - "}),(0,m.jsx)("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`tel:${ee.Support.Phone_Ext_3}`,children:ee.Support.Phone_Ext_3_Format}),(0,m.jsx)("span",{className:"text-white text-opacity-60",children:", c\xE1c \u0111\u1EA7u s\u1ED1 di \u0111\u1ED9ng Brandname MoMo"})]}),(0,m.jsx)("div",{className:"mt-3 flex",children:(0,m.jsx)("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:(0,m.jsxs)("div",{className:"relative block overflow-hidden rounded border border-gray-400 bg-black py-1 pl-10 pr-2",children:[(0,m.jsx)("div",{className:"absolute left-1 top-1 ",style:{paddingTop:"3px"},children:(0,m.jsx)("svg",{className:"h-7 w-7 text-gray-100 ",fill:"currentColor",stroke:"currentColor",viewBox:"0 0 345.1 512",children:(0,m.jsxs)("g",{children:[(0,m.jsx)("title",{children:"Asset 1"}),(0,m.jsx)("path",{d:`M279.4,23.7H30.8C14.5,23.7,0,38.2,0,56.3v401.8c0,16.3,14.5,30.8,30.8,30.8H76h23.8L76,449.4H34.5V96.2h243.1v152l34.5,22
|
|
125
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
|
|
126
|
-
c5.4,0,10.8,5.4,10.8,13.5C237.7,71.7,232.3,77.1,226.8,77.1z`}),(0,
|
|
154
|
+
c5.4,0,10.8,5.4,10.8,13.5C237.7,71.7,232.3,77.1,226.8,77.1z`}),(0,m.jsx)("path",{d:`M189.4,200.7c-14.4,0-25.9,11.6-25.9,25.9v155.7l-17.3-34.6c-14.2-26.3-28.1-23.6-38.9-17.3c-12.5,8.3-17.2,17-8.6,38.9
|
|
127
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
|
|
128
|
-
c-7.5,0.1-13,4.3-17.3,13c0-17.3-14.1-21.6-21.6-21.6c-8.3,0-17.9,5.2-21.6,13v-90.8C215.4,212.3,203.8,200.7,189.4,200.7z`})]})})}),(0,l.jsx)("div",{className:"text-xs text-white text-opacity-70",children:"H\u01B0\u1EDBng d\u1EABn tr\u1EE3 gi\xFAp tr\xEAn"}),(0,l.jsx)("div",{className:"text-xs font-bold uppercase text-white text-opacity-90",children:"\u1EE8ng d\u1EE5ng MoMo"})]})})})]}),(0,l.jsxs)("div",{className:"mt-4 border-b border-gray-700 pb-5 md:mt-8 md:border-none md:pb-0",children:[(0,l.jsx)("div",{className:"whitespace-nowrap text-xs font-bold uppercase text-white text-opacity-80",children:"H\u1EE3p t\xE1c doanh nghi\u1EC7p"}),(0,l.jsxs)("div",{className:"mt-2 text-sm md:mt-3",children:[(0,l.jsx)("span",{className:"text-white text-opacity-50",children:"Hotline : "}),(0,l.jsx)("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`tel:${U.Business.Phome}`,children:U.Business.Phome_Format})]}),(0,l.jsxs)("div",{className:"mt-1 text-sm",children:[(0,l.jsx)("span",{className:"text-white text-opacity-50",children:"Email : "}),(0,l.jsx)("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`mailto:${U.Business.Email}`,children:U.Business.Email})]}),(0,l.jsxs)("div",{className:"mt-1 text-sm",children:[(0,l.jsx)("span",{className:"text-white text-opacity-50",children:"Website : "}),(0,l.jsx)("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"})]}),(0,l.jsx)("div",{className:"mt-3 flex",children:(0,l.jsx)("a",{href:"https://business.momo.vn/#menutop",rel:"noreferrer",target:"_blank",children:(0,l.jsxs)("div",{className:"relative block overflow-hidden rounded border border-gray-400 bg-black py-1 pl-12 pr-2 ",children:[(0,l.jsx)("div",{className:"absolute left-1 top-1 flex aspect-1 items-center justify-center",children:(0,l.jsxs)("svg",{width:"30",height:"20",viewBox:"0 0 30 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"mt-2",children:[(0,l.jsx)("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"}),(0,l.jsx)("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"}),(0,l.jsx)("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"}),(0,l.jsx)("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"}),(0,l.jsx)("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"}),(0,l.jsx)("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"}),(0,l.jsx)("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"}),(0,l.jsx)("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"}),(0,l.jsx)("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"})]})}),(0,l.jsx)("div",{className:"text-xs text-white text-opacity-70",children:"H\u1EE3p t\xE1c doanh nghi\u1EC7p"}),(0,l.jsx)("div",{className:"text-xs font-semibold uppercase text-white text-opacity-90",children:"\u0110\u0103ng k\xFD h\u1EE3p t\xE1c"})]})})})]})]}),(0,l.jsxs)("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:[(0,l.jsxs)("div",{className:"h-auto",children:[(0,l.jsx)("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"}),(0,l.jsx)("div",{className:"mt-3 hidden flex-row items-stretch md:flex",children:(0,l.jsx)("ul",{className:"item-center flex list-none flex-wrap space-x-4",children:bt&&bt.map((r,s)=>(0,l.jsx)("li",{className:"inline-block",children:(0,l.jsx)("a",{href:r.Link,target:"_blank",rel:"noreferrer",className:"duration-300 hover:brightness-125",children:(0,l.jsx)("img",{src:r.Image,loading:"lazy",width:"40",height:"40"})})},s))})})]}),(0,l.jsxs)("div",{className:"h-auto",children:[(0,l.jsx)("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"}),(0,l.jsxs)("div",{className:"flex items-center flex-wrap md:mt-3 md:space-x-1.5",children:[(0,l.jsx)("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:(0,l.jsx)("img",{src:"https://homepage.momocdn.net/img/momo-upload-api-230627140125-638234712853800898.jpg",alt:"Qr-Dowbnload MoMo",className:" absolute inset-0"})}),(0,l.jsx)("div",{className:"flex grow justify-center gap-2 md:grid md:grid-cols-1 md:gap-1.5",children:Po&&Po.map((r,s)=>(0,l.jsxs)("div",{className:"w-full md:flex md:items-center button-download",style:{background:`url(${r.Image}) center center / contain no-repeat`},children:[(0,l.jsx)(oe,{onClick:()=>a(s),className:"!bg-transparent rounded-none w-full hidden sm:block",style:{fontSize:"0px",padding:"0 0 30.23%0"},children:r.Name}),(0,l.jsx)("a",{href:r.Link,target:"_blank",rel:"noreferrer",className:"button-download block sm:hidden",style:{fontSize:"0px",padding:"0 0 30.23%0"}}),(0,l.jsx)(ze,{open:t===s,onOpenChange:()=>a(null),title:"Qu\xE9t m\xE3 \u0111\u1EC3 t\u1EA3i \u1EE9ng d\u1EE5ng",shortTitle:"T\u1EA3i ngay",qrLink:r.Link})]},s))}),(0,l.jsx)("div",{className:"mt-4 flex w-full justify-center text-center md:hidden",children:(0,l.jsx)("ul",{className:"item-center flex list-none flex-wrap space-x-3.5",children:bt&&bt.map((r,s)=>(0,l.jsx)("li",{children:(0,l.jsx)("a",{href:r.Link,target:"_blank",rel:"noreferrer",className:"flex duration-300 hover:brightness-125",children:(0,l.jsx)("img",{alt:r.Name,src:r.Image,loading:"lazy",width:"36",height:"36"})})},s))})})]})]}),(0,l.jsxs)("div",{className:"h-auto",children:[(0,l.jsx)("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"}),(0,l.jsxs)("div",{className:"mt-6 flex items-center justify-between md:mt-3 md:justify-normal",children:[(0,l.jsxs)("span",{className:"block text-right text-xs text-white text-opacity-50 md:hidden",children:["\xA9Copyright M_Service ",new Date().getFullYear()]}),(0,l.jsx)("a",{rel:"noopener noreferrer",href:"http://online.gov.vn/Home/AppDetails/163",target:"_blank",className:" flex w-28 items-center md:w-auto",children:(0,l.jsx)("img",{alt:"ch\u1EE9ng nh\u1EADn",src:"https://homepage.momocdn.net/blogscontents/momo-upload-api-210629153623-637605777831780706.png",width:119,height:45})})]})]})]})]})}),(0,l.jsx)("div",{className:" footer-bottom order-1 bg-gray-800 py-3.5 md:order-2 md:py-5",children:(0,l.jsxs)("div",{className:"wrapper flex flex-wrap items-end justify-between md:flex-nowrap md:space-x-3",children:[(0,l.jsxs)("div",{className:"mb-2.5 flex justify-between md:mb-0",children:[(0,l.jsx)("img",{src:"https://homepage.momocdn.net/fileuploads/svg/momo-file-240411162904.svg",className:"w-9 h-9",alt:"MoMo"}),(0,l.jsxs)("div",{className:"shrink pl-3",children:[(0,l.jsx)("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"}),(0,l.jsx)("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"})]})]}),(0,l.jsx)("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"}),(0,l.jsxs)("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()]})]})}),(0,l.jsx)("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`})]})})}),(0,m.jsx)("div",{className:"text-xs text-white text-opacity-70",children:"H\u01B0\u1EDBng d\u1EABn tr\u1EE3 gi\xFAp tr\xEAn"}),(0,m.jsx)("div",{className:"text-xs font-bold uppercase text-white text-opacity-90",children:"\u1EE8ng d\u1EE5ng MoMo"})]})})})]}),(0,m.jsxs)("div",{className:"mt-4 border-b border-gray-700 pb-5 md:mt-8 md:border-none md:pb-0",children:[(0,m.jsx)("div",{className:"whitespace-nowrap text-xs font-bold uppercase text-white text-opacity-80",children:"H\u1EE3p t\xE1c doanh nghi\u1EC7p"}),(0,m.jsxs)("div",{className:"mt-2 text-sm md:mt-3",children:[(0,m.jsx)("span",{className:"text-white text-opacity-50",children:"Hotline : "}),(0,m.jsx)("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`tel:${ee.Business.Phome}`,children:ee.Business.Phome_Format})]}),(0,m.jsxs)("div",{className:"mt-1 text-sm",children:[(0,m.jsx)("span",{className:"text-white text-opacity-50",children:"Email : "}),(0,m.jsx)("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`mailto:${ee.Business.Email}`,children:ee.Business.Email})]}),(0,m.jsxs)("div",{className:"mt-1 text-sm",children:[(0,m.jsx)("span",{className:"text-white text-opacity-50",children:"Website : "}),(0,m.jsx)("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"})]}),(0,m.jsx)("div",{className:"mt-3 flex",children:(0,m.jsx)("a",{href:"https://business.momo.vn/#menutop",rel:"noreferrer",target:"_blank",children:(0,m.jsxs)("div",{className:"relative block overflow-hidden rounded border border-gray-400 bg-black py-1 pl-12 pr-2 ",children:[(0,m.jsx)("div",{className:"absolute left-1 top-1 flex aspect-1 items-center justify-center",children:(0,m.jsxs)("svg",{width:"30",height:"20",viewBox:"0 0 30 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"mt-2",children:[(0,m.jsx)("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"}),(0,m.jsx)("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"}),(0,m.jsx)("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"}),(0,m.jsx)("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"}),(0,m.jsx)("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"}),(0,m.jsx)("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"}),(0,m.jsx)("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"}),(0,m.jsx)("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"}),(0,m.jsx)("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"})]})}),(0,m.jsx)("div",{className:"text-xs text-white text-opacity-70",children:"H\u1EE3p t\xE1c doanh nghi\u1EC7p"}),(0,m.jsx)("div",{className:"text-xs font-semibold uppercase text-white text-opacity-90",children:"\u0110\u0103ng k\xFD h\u1EE3p t\xE1c"})]})})})]})]}),(0,m.jsxs)("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:[(0,m.jsxs)("div",{className:"h-auto",children:[(0,m.jsx)("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"}),(0,m.jsx)("div",{className:"mt-3 hidden flex-row items-stretch md:flex",children:(0,m.jsx)("ul",{className:"item-center flex list-none flex-wrap space-x-4",children:Ct&&Ct.map((i,n)=>(0,m.jsx)("li",{className:"inline-block",children:(0,m.jsx)("a",{href:i.Link,target:"_blank",rel:"noreferrer",className:"duration-300 hover:brightness-125",children:(0,m.jsx)("img",{src:i.Image,loading:"lazy",width:"40",height:"40"})})},n))})})]}),(0,m.jsxs)("div",{className:"h-auto",children:[(0,m.jsx)("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"}),(0,m.jsxs)("div",{className:"flex items-center flex-wrap md:mt-3 md:space-x-1.5",children:[(0,m.jsx)("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:(0,m.jsx)("img",{src:"https://homepage.momocdn.net/img/momo-upload-api-230627140125-638234712853800898.jpg",alt:"Qr-Dowbnload MoMo",className:" absolute inset-0"})}),(0,m.jsx)("div",{className:"flex grow justify-center gap-2 md:grid md:grid-cols-1 md:gap-1.5",children:Io&&Io.map((i,n)=>(0,m.jsxs)("div",{className:"w-full md:flex md:items-center button-download",style:{background:`url(${i.Image}) center center / contain no-repeat`},children:[(0,m.jsx)(ne,{onClick:()=>a(n),className:"!bg-transparent rounded-none w-full hidden sm:block",style:{fontSize:"0px",padding:"0 0 30.23%0"},children:i.Name}),(0,m.jsx)("a",{href:i.Link,target:"_blank",rel:"noreferrer",className:"button-download block sm:hidden",style:{fontSize:"0px",padding:"0 0 30.23%0"}}),(0,m.jsx)($e,{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))}),(0,m.jsx)("div",{className:"mt-4 flex w-full justify-center text-center md:hidden",children:(0,m.jsx)("ul",{className:"item-center flex list-none flex-wrap space-x-3.5",children:Ct&&Ct.map((i,n)=>(0,m.jsx)("li",{children:(0,m.jsx)("a",{href:i.Link,target:"_blank",rel:"noreferrer",className:"flex duration-300 hover:brightness-125",children:(0,m.jsx)("img",{alt:i.Name,src:i.Image,loading:"lazy",width:"36",height:"36"})})},n))})})]})]}),(0,m.jsxs)("div",{className:"h-auto",children:[(0,m.jsx)("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"}),(0,m.jsxs)("div",{className:"mt-6 flex items-center justify-between md:mt-3 md:justify-normal",children:[(0,m.jsxs)("span",{className:"block text-right text-xs text-white text-opacity-50 md:hidden",children:["\xA9Copyright M_Service ",new Date().getFullYear()]}),(0,m.jsx)("a",{rel:"noopener noreferrer",href:"http://online.gov.vn/Home/AppDetails/163",target:"_blank",className:" flex w-28 items-center md:w-auto",children:(0,m.jsx)("img",{alt:"ch\u1EE9ng nh\u1EADn",src:"https://homepage.momocdn.net/blogscontents/momo-upload-api-210629153623-637605777831780706.png",width:119,height:45})})]})]})]})]})}),(0,m.jsx)("div",{className:" footer-bottom order-1 bg-gray-800 py-3.5 md:order-2 md:py-5",children:(0,m.jsxs)("div",{className:"wrapper flex flex-wrap items-end justify-between md:flex-nowrap md:space-x-3",children:[(0,m.jsxs)("div",{className:"mb-2.5 flex justify-between md:mb-0",children:[(0,m.jsx)("img",{src:"https://homepage.momocdn.net/fileuploads/svg/momo-file-240411162904.svg",className:"w-9 h-9",alt:"MoMo"}),(0,m.jsxs)("div",{className:"shrink pl-3",children:[(0,m.jsx)("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"}),(0,m.jsx)("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"})]})]}),(0,m.jsx)("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"}),(0,m.jsxs)("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()]})]})}),(0,m.jsx)("style",{children:`
|
|
129
157
|
footer .button-download {
|
|
130
158
|
max-width: 150px;
|
|
131
159
|
}
|
|
132
|
-
`})]})},
|
|
160
|
+
`})]})},Ar=qs;var Fa=require("react/jsx-runtime"),Ir=({className:e,primaryMenu:t,secondaryMenu:o})=>(0,Fa.jsx)("footer",{className:r("grid grid-cols-1 flex-wrap bg-gray-900",e),children:(0,Fa.jsx)(Ar,{primaryMenu:t,secondaryMenu:o})});var mt=g(require("react"),1);var ct=require("react/jsx-runtime"),za=mt.forwardRef(({className:e,...t},o)=>(0,ct.jsx)("div",{ref:o,className:r("rounded-xl border bg-card text-card-foreground shadow",e),...t}));za.displayName="Card";var Ba=mt.forwardRef(({className:e,...t},o)=>(0,ct.jsx)("div",{ref:o,className:r("flex flex-col space-y-1.5 p-6",e),...t}));Ba.displayName="CardHeader";var Va=mt.forwardRef(({className:e,...t},o)=>(0,ct.jsx)("h3",{ref:o,className:r("font-semibold leading-none tracking-tight",e),...t}));Va.displayName="CardTitle";var Oa=mt.forwardRef(({className:e,...t},o)=>(0,ct.jsx)("p",{ref:o,className:r("text-sm text-muted-foreground",e),...t}));Oa.displayName="CardDescription";var Wa=mt.forwardRef(({className:e,...t},o)=>(0,ct.jsx)("div",{ref:o,className:r("p-6 pt-0",e),...t}));Wa.displayName="CardContent";var Ga=mt.forwardRef(({className:e,...t},o)=>(0,ct.jsx)("div",{ref:o,className:r("flex items-center p-6 pt-0",e),...t}));Ga.displayName="CardFooter";var he=g(require("react"),1),oe=require("cmdk");var Pt=require("@heroicons/react/16/solid"),Q=require("react/jsx-runtime"),ko=he.forwardRef(({className:e,...t},o)=>(0,Q.jsx)(oe.Command,{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}));ko.displayName=oe.Command.displayName;var Lr=({children:e,...t})=>(0,Q.jsx)(Ge,{...t,children:(0,Q.jsx)(He,{className:"overflow-hidden p-0 shadow-lg",children:(0,Q.jsx)(ko,{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})})}),$a=he.forwardRef(({className:e,onClickClear:t,...o},a)=>{let i=he.useRef(null),[n,l]=he.useState(""),c=()=>{!n||n?.length<=0||(l(""),t?.(n))};return(0,Q.jsxs)("div",{ref:i,className:"flex items-center border-b px-3","cmdk-input-wrapper":"",children:[(0,Q.jsx)(Pt.MagnifyingGlassIcon,{className:"mr-2 h-4 w-4 shrink-0 text-gray-500"}),(0,Q.jsx)(oe.Command.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:l,...o}),(0,Q.jsx)(Pt.XCircleIcon,{onClick:c,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")})]})});$a.displayName=oe.Command.Input.displayName;var ja=he.forwardRef(({className:e,...t},o)=>(0,Q.jsx)(oe.Command.List,{ref:o,className:r("max-h-[300px] text-gray-900 overflow-y-auto overflow-x-hidden",e),...t}));ja.displayName=oe.Command.List.displayName;var Ua=he.forwardRef((e,t)=>(0,Q.jsx)(oe.Command.Empty,{ref:t,className:"py-6 text-gray-900 text-center text-sm",...e}));Ua.displayName=oe.Command.Empty.displayName;var qa=he.forwardRef(({className:e,...t},o)=>(0,Q.jsx)(oe.Command.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}));qa.displayName=oe.Command.Group.displayName;var Qa=he.forwardRef(({className:e,...t},o)=>(0,Q.jsx)(oe.Command.Separator,{ref:o,className:r("-mx-1 text-gray-900 h-px bg-border",e),...t}));Qa.displayName=oe.Command.Separator.displayName;var Xa=he.forwardRef(({className:e,children:t,isActive:o,...a},i)=>(0,Q.jsxs)(oe.Command.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:[(0,Q.jsx)(Pt.CheckIcon,{className:r("h-4 w-4 mr-2",o?"opacity-100":"opacity-0")}),t]}));Xa.displayName=oe.Command.Item.displayName;var Za=({className:e,...t})=>(0,Q.jsx)("span",{className:r("ml-auto text-xs text-gray-900 tracking-widest text-muted-foreground",e),...t});Za.displayName="CommandShortcut";var Er=require("@heroicons/react/16/solid");var Xe=require("react/jsx-runtime"),_r=({className:e,value:t,label:o,children:a,placeholder:i})=>(0,Xe.jsxs)("div",{className:"relative",children:[(0,Xe.jsxs)(ht,{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,(0,Xe.jsx)(Er.ChevronDownIcon,{className:"h-4 w-4 text-gray-700 flex-none"})]}),o&&(0,Xe.jsx)("span",{className:"absolute bg-white -top-2 px-1.5 left-2 text-xs text-gray-500 z-[1]",children:o})]}),Hr=({children:e,className:t})=>(0,Xe.jsx)(it,{className:r("!p-0 border-none",t),children:e}),Fr=({open:e,onOpenChange:t,children:o})=>(0,Xe.jsx)(bt,{open:e,onOpenChange:t,children:o});var Ka=require("class-variance-authority"),zr=require("react");var Br=require("@heroicons/react/24/outline");var dt=require("react/jsx-runtime"),Qs=(0,Ka.cva)("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"}}),Xs=(0,Ka.cva)("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"}}),Vr=(0,zr.forwardRef)(({type:e="neutral",message:t="",withAction:o=!1,onClickAction:a,className:i,disabled:n,actionClassName:l,...c},d)=>(0,dt.jsxs)("div",{ref:d,className:r("",i,Qs({typeDiv:e,disabled:n})),...c,children:[(0,dt.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,dt.jsx)(Br.InformationCircleIcon,{className:r(Xs({typeIcon:e,disabled:n})),width:20,height:20}),(0,dt.jsx)("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&&(0,dt.jsx)(st,{variant:"primary",onClick:()=>a?.(),className:r("",l),isDisabled:n,children:o})]}));var Ze=require("react"),Or=require("@heroicons/react/20/solid"),Wr=require("@heroicons/react/24/outline");var Me=require("react/jsx-runtime"),Gr=(0,Ze.forwardRef)(({disabled:e,className:t,inputClassName:o,size:a,onChange:i,onFocus:n,onClickClear:l,value:c,defaultValue:d,type:p="text",...v},T)=>{let[W,K]=(0,Ze.useState)(!1),k=(0,Ze.useRef)(null),R=M=>{M&&!W&&K(!0),!M&&W&&K(!1)},$=M=>{R(M.target.value),i?.(M)},J=M=>{R(M.target.value),n?.(M)},S=()=>{let M=k.current?.querySelector("input");M&&(l?.(M.value),M.value="",M.focus(),K(!1))};return(0,Ze.useEffect)(()=>{R(d||c)},[c,d]),(0,Me.jsxs)("div",{className:r(t),ref:k,children:[(0,Me.jsxs)("div",{className:"relative flex items-center",children:[(0,Me.jsx)("div",{className:"absolute left-3 top-1/2 -translate-y-1/2 shrink-0 text-gray-500 duration-200 ",children:(0,Me.jsx)(Or.MagnifyingGlassIcon,{className:"w-4 h-4 text-gray-500"})}),(0,Me.jsx)("input",{disabled:e,type:p,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:$,onFocus:J,value:c,defaultValue:d,...v}),W&&(0,Me.jsx)("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:S,children:(0,Me.jsx)(Wr.XCircleIcon,{strokeWidth:2,width:20,height:20})})]}),(0,Me.jsx)("style",{children:`
|
|
133
161
|
.mobase-text-input-box:hover {
|
|
134
162
|
box-shadow: 0px 0px 0px 1px rgb(var(--mobase-gray-400) / 1) inset;
|
|
135
163
|
}
|
|
136
164
|
.mobase-text-input-box:focus {
|
|
137
165
|
box-shadow: 0px 0px 0px 1px rgb(var(--mobase-pink-500) / 1) inset;
|
|
138
166
|
}
|
|
139
|
-
`})]})});var
|
|
140
|
-
<div class="${
|
|
141
|
-
<img class="${
|
|
167
|
+
`})]})});var So=require("swiper/react"),Ke=require("swiper"),O=g(require("@radix-ui/react-dialog"),1),de=g(require("react"),1);var $r=require("lucide-react"),Do=require("@heroicons/react/24/outline"),jr=g(require("lodash"),1),y=require("react/jsx-runtime"),Zs=O.Root,Ks=O.Portal,Ur=de.default.forwardRef(({className:e,...t},o)=>(0,y.jsx)(O.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}));Ur.displayName=O.Overlay.displayName;var Ys=({clearActiveIndex:e})=>(0,y.jsxs)(O.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:[(0,y.jsx)($r.X,{className:"h-4 w-4 mt-0.5"}),(0,y.jsx)("div",{className:"",children:"\u0110\xF3ng c\u1EEDa s\u1ED5"})]}),qr=({children:e,src:t,alt:o,className:a,classNameImage:i,onClick:n})=>{let l=()=>{n?.()};return(0,y.jsxs)(O.Trigger,{className:r("aspect-[2/3] relative overflow-hidden rounded-lg",a),onClick:l,children:[e,(0,y.jsx)("img",{src:t,alt:o,className:r("w-full h-full object-cover rounded-lg",i)})]})},Qr=de.default.forwardRef(({className:e,children:t,...o},a)=>(0,y.jsxs)(Ks,{children:[(0,y.jsx)(Ur,{className:"bg-black"}),(0,y.jsxs)(O.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,(0,y.jsx)(Ys,{})]})]}));Qr.displayName=O.Content.displayName;var Js=({className:e,...t})=>(0,y.jsx)("div",{className:r("flex flex-col space-y-1.5 text-center sm:text-left",e),...t});Js.displayName="DialogHeader";var el=({className:e,...t})=>(0,y.jsx)("div",{className:r("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});el.displayName="DialogFooter";var tl=de.default.forwardRef(({className:e,...t},o)=>(0,y.jsx)(O.Title,{ref:o,className:r("text-lg font-semibold leading-none tracking-tight",e),...t}));tl.displayName=O.Title.displayName;var ol=de.default.forwardRef(({className:e,...t},o)=>(0,y.jsx)(O.Description,{ref:o,className:r("text-sm text-muted-foreground",e),...t}));ol.displayName=O.Description.displayName;var Xr=({images:e,activeSlideIndex:t=0,withSideBar:o,subHtmlSideBar:a,classNameSubHtmSideBar:i,className:n,isPagination:l=!1})=>{let[c,d]=(0,de.useState)(t),[p,v]=(0,de.useState)(""),T=()=>{let k=jr.default.filter(e,($,J)=>J===t),R=k.length>0?k[0]?.titleImage:"";v(R)};(0,de.useEffect)(()=>{d(t),T()},[t]);let W={clickable:!0,renderBullet(k,R){let $=r("aspect-[1/1] min-w-[96px] mt-40 min-h-[76px] !rounded-lg overflow-hidden",R),J=r("w-full h-full object-cover rounded-lg");return e[k]?.url?`
|
|
168
|
+
<div class="${$} ">
|
|
169
|
+
<img class="${J} " src="${e[k]?.url}" alt="Slide ${k+1}" />
|
|
142
170
|
</div>
|
|
143
|
-
`:"<div></div>"}},
|
|
171
|
+
`:"<div></div>"}},K=l?[Ke.Navigation,Ke.Lazy,Ke.Pagination]:[Ke.Navigation,Ke.Lazy];return(0,y.jsxs)(Qr,{className:r("flex py-0",n),children:[(0,y.jsxs)("div",{className:"lightbox flex-1 py-6",children:[(0,y.jsx)("div",{className:"flex items-center justify-end md:justify-center mt-2 w-full",children:(0,y.jsxs)("div",{children:[c?c+1:1," / ",e?.length]})}),(0,y.jsxs)(So.Swiper,{initialSlide:t,onSlideChange:({realIndex:k})=>{d(k),T();let R=document.querySelector(".swiper-pagination-bullet-active");R&&R.scrollIntoView({behavior:"smooth",block:"nearest"})},onDestroy:()=>{d(t),T()},slidesPerView:"auto",className:"swiper lightboxSwiper",navigation:{nextEl:".lightbox .next-lightbox",prevEl:".lightbox .prev-lightbox"},pagination:W,modules:K,lazy:{loadPrevNext:!0},children:[e.map((k,R)=>(0,y.jsxs)(So.SwiperSlide,{children:[(0,y.jsx)("div",{className:"absolute top-28 bottom-28 left-0 right-0 min-h-0 sm:left-20 sm:right-20",children:(0,y.jsx)("img",{src:k.url,alt:"",className:"absolute h-full w-full object-contain",loading:"lazy"})}),(0,y.jsx)("div",{className:"swiper-lazy-preloader swiper-lazy-preloader-white"}),(0,y.jsx)("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:p})]},R)),(0,y.jsx)(fe,{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:(0,y.jsx)(Do.ChevronLeftIcon,{className:"w-7 text-slate-900"})}),(0,y.jsx)(fe,{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:(0,y.jsx)(Do.ChevronRightIcon,{className:"w-7 text-slate-900"})})]}),(0,y.jsx)("style",{children:`
|
|
144
172
|
.lightbox {
|
|
145
173
|
--lightbox-topnav: 112px;
|
|
146
174
|
--lightbox-botnav: 80px;
|
|
@@ -213,7 +241,7 @@
|
|
|
213
241
|
.swiper-pagination-bullet-active{
|
|
214
242
|
border: 2px solid white;
|
|
215
243
|
}
|
|
216
|
-
`})]}),t&&(0,x.jsx)("div",{className:i("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",r),children:a})]})},Dr=({children:e,className:o,open:t,onOpenChange:a})=>(0,x.jsx)("div",{className:i("lightbox-gallery ",o),children:(0,x.jsx)(fs,{open:t,onOpenChange:a,children:ne.default.Children?.map(e,r=>{if(ne.default.isValidElement(r)){let s={},m=Object.keys(s).reduce((c,d)=>(s[d]!==void 0&&(c[d]=s[d]),c),{});return ne.default.cloneElement(r,m)}return null})})});var qe=g(require("react"),1),Ue=g(require("@radix-ui/react-radio-group"),1);var Sr=require("lucide-react"),zt=g(require("@radix-ui/react-checkbox"),1),Ar=require("@heroicons/react/16/solid"),J=require("react/jsx-runtime"),Mr=qe.createContext({hideIndicator:!1});function ws(){let e=qe.useContext(Mr);if(!e)throw new Error("ChoiceboxGroup.Item must be used within a ChoiceboxGroup ");return e}var Ba=qe.forwardRef(({className:e,hideIndicator:o=!1,...t},a)=>(0,J.jsx)(Mr.Provider,{value:{hideIndicator:o},children:(0,J.jsx)(Ue.Root,{className:i("grid gap-2",o&&"hide-indicator",e),...t,ref:a})}));Ba.displayName=Ue.Root.displayName;var Fa=qe.forwardRef(({className:e,children:o,...t},a)=>{let r=ws(),{hideIndicator:s}=r??{};return(0,J.jsxs)(Ue.Item,{ref:a,className:i("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),...t,children:[(0,J.jsx)("div",{className:"flex-1 min-w-0",children:o}),!s&&(0,J.jsx)("div",{className:i("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:(0,J.jsx)(Ue.Indicator,{className:"flex items-center justify-center w-full h-full rounded-full ",children:(0,J.jsx)(Sr.Circle,{className:"h-1.5 w-1.5 fill-current text-current"})})})]})});Fa.displayName=Ue.Item.displayName;var za=qe.forwardRef(({className:e,children:o,...t},a)=>(0,J.jsxs)(zt.Root,{ref:a,className:i("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),...t,children:[(0,J.jsx)("div",{className:"flex-1 min-w-0",children:o}),(0,J.jsx)("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:(0,J.jsx)(zt.Indicator,{className:i("flex items-center justify-center text-current"),children:(0,J.jsx)(Ar.CheckIcon,{className:"h-4 w-4"})})})]}));za.displayName=zt.Root.displayName;var Lr=require("class-variance-authority");var Er=require("react/jsx-runtime"),Va=(0,Lr.cva)("inline-flex items-center rounded-md border border-gray-300 px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 font-semibold",{variants:{variant:{default:"border-transparent bg-pink-500 text-white/90 shadow hover:bg-pink-500/80",secondary:"border-transparent bg-gray-200 text-gray-900 hover:bg-gray-200/80",outline:"text-gray-900",danger:"border-transparent bg-red-500 text-white/90 shadow hover:bg-red-500/80"}},defaultVariants:{variant:"default"}});function Ir({className:e,variant:o,...t}){return(0,Er.jsx)("div",{className:i(Va({variant:o}),e),...t})}var _r=g(require("react"),1),Vt=g(require("@radix-ui/react-progress"),1),Wa=require("class-variance-authority");var Oa=require("react/jsx-runtime"),Ns=(0,Wa.cva)("h-full w-full rounded-full flex-1 transition-all",{variants:{variant:{progress:"bg-pink-500",success:"bg-green-600",disabled:"bg-gray-400",empty:"bg-gray-200"}},defaultVariants:{variant:"progress"}}),Ps=(0,Wa.cva)("relative h-4 w-full overflow-hidden rounded-full bg-gray-200",{variants:{size:{small:"h-[6px]",medium:"h-2",large:"h-[10px]"}},defaultVariants:{size:"medium"}}),Ga=_r.forwardRef(({className:e,value:o,variant:t="progress",size:a="medium",disabled:r=!1,...s},m)=>(0,Oa.jsx)(Vt.Root,{ref:m,className:i("",Ps({size:a}),e),...s,children:(0,Oa.jsx)(Vt.Indicator,{className:i("",Ns({variant:t})),style:{transform:`translateX(-${100-(o||0)}%)`}})}));Ga.displayName=Vt.Root.displayName;var Gr=require("react");var Br=require("@heroicons/react/24/outline");var Fr=require("class-variance-authority"),$a=g(require("html-react-parser"),1),G=require("react/jsx-runtime"),Cs=(0,Fr.cva)("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}}),Hr=({template:e,name:o,description:t,image:a,idx:r,value:s,suffix:m,unit:c})=>(0,G.jsx)(G.Fragment,{children:(()=>{switch(e){case 1:case 3:return(0,G.jsxs)("li",{className:"flex items-center space-x-4",children:[a?(0,G.jsx)("img",{src:a,alt:"",className:"shrink-0"}):(0,G.jsx)("div",{className:"bg-pink-100 p-1 rounded-full w-5 h-5 flex items-center justify-center",children:(0,G.jsx)(Br.CheckIcon,{className:"w-4 h-4 text-pink-500 "})}),o&&(0,G.jsx)("div",{className:"ml-2 leading-tight",children:(0,$a.default)(o)})]});case 2:return(0,G.jsxs)("div",{className:i("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",r>0?"md:pl-4":"md:!border-0"),children:[s&&(0,G.jsxs)("div",{className:"font-bold text-gray-900 line-clamp-2",children:[s,(m||c)&&(0,G.jsxs)("span",{children:[m," ",c]})]}),t&&(0,G.jsx)("div",{className:"text-sm mt-1 text-gray-500 leading-tight",children:(0,$a.default)(t)})]});default:return null}})()}),yo=({dataFeatures:e,template:o=1,dataStats:t})=>(0,G.jsxs)("ul",{className:i("",Cs({template:o})),children:[(o===1||o===3)&&e?.map((a,r)=>(0,G.jsx)(Hr,{name:a?.name,template:o,image:a?.image,idx:r},r)),o===2&&t?.map((a,r)=>(0,G.jsx)(Hr,{value:a?.value,suffix:a?.suffix,unit:a?.unit,template:o,description:a?.description,idx:r},r))]});var zr=g(require("@radix-ui/react-aspect-ratio"),1),it=zr.Root;var A=require("react/jsx-runtime"),Vr=e=>typeof e=="string"?e?.split("/")?.map(Number)?.reduce((a,r)=>a/r):e,Rs=({src:e,ratio:o,className:t,youtubeId:a,onClickFC:r=()=>{}})=>(0,A.jsxs)(it,{className:i(""),ratio:Vr(o),children:[(0,A.jsx)("img",{src:e,className:i("w-full h-full object-cover md:block hidden",t,e?"":"bg-gray-200"),alt:""}),a&&(0,A.jsx)("div",{className:"aspect-[16/9] realtive overflow-hidden w-full md:hidden",children:(0,A.jsx)("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&&(0,A.jsxs)(Fe,{children:[(0,A.jsx)($t,{onClick:r,children:(0,A.jsx)("div",{className:"w-full hidden md:flex h-full cursor-pointer transition-transform group-hover:scale-105 top-0 absolute z-10 items-center justify-center",children:(0,A.jsx)("svg",{className:"w-14 h-14",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg",children:(0,A.jsxs)("g",{fill:"none",fillRule:"evenodd",children:[(0,A.jsx)("circle",{stroke:"#FFF",strokeWidth:2,fillOpacity:".24",fill:"#000",cx:24,cy:24,r:23}),(0,A.jsx)("path",{d:"M34.667 24.335c0 .515-.529.885-.529.885l-14.84 9.133c-1.08.704-1.965.182-1.965-1.153V15.467c0-1.338.884-1.856 1.968-1.153L34.14 23.45c-.002 0 .527.37.527.885Z",fill:"#FFF",fillRule:"nonzero"})]})})})}),(0,A.jsx)(Ae,{hideCloseBtn:!0,className:"w-full h-full !shadow-none !bg-transparent flex items-center justify-center bg-gray-900 p-0",children:(0,A.jsx)("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:""})})]})]}),Ot=({type:e=1,src:o,ratio:t,className:a,youtubeId:r,onClickFC:s=()=>{}})=>(0,A.jsx)(A.Fragment,{children:r?(0,A.jsx)(Rs,{type:e,src:o,ratio:t,youtubeId:r,onClickFC:s}):(0,A.jsx)(it,{className:i(""),ratio:Vr(t),children:(0,A.jsx)("img",{src:o,className:i("w-full h-full object-cover",a,o?"":"bg-gray-200"),alt:""})})});var wo=g(require("html-react-parser"),1);var Ce=require("react/jsx-runtime"),ut=({idSection:e,className:o,background:t,children:a})=>(0,Ce.jsx)("section",{id:e,className:i("feature-section py-8 md:py-10 lg:py-14",o),style:{background:t},children:(0,Ce.jsx)("div",{className:"wrapper relative",children:a})}),z=({align:e="center",tagline:o,title:t,description:a,tagHeading:r="h2",colorScheme:s="regular",sizeHeading:m="small",className:c})=>{let d=s==="regular"?"pink":s==="pink"?"regular":"white",v=s==="pink"?"pink":s==="white"?"white":"regular",u=s==="white"?"white":"regular";return(0,Ce.jsxs)(ao,{align:e,className:c,children:[o&&(0,Ce.jsx)(eo,{color:d,children:o}),t&&(0,Ce.jsx)(to,{tagHeading:r,color:v,size:m,children:(0,wo.default)(t)}),a&&(0,Ce.jsx)(oo,{color:u,marginTop:m==="large"?"spacing2Xl":"spacingX",children:(0,wo.default)(a)})]})},vt=({align:e,isFullInMobile:o=!1,buttons:t,className:a})=>t?.length===0?null:(0,Ce.jsx)("div",{className:i("buttons-block mt-8 md:mt-10 flex gap-4 w-full",e==="center"&&"justify-center",e==="right"&&"justify-end",o&&"flex-wrap md:flex-nowrap",a),children:t?.slice(0,2).map((r,s)=>{let{btnName:m,...c}=r;return(0,Ce.jsx)(qt,{...c,className:i(o&&"w-full md:w-auto",r?.className),children:(0,wo.default)(m)},s)})});var P=require("react/jsx-runtime"),ja=({dataHeading:e,dataButtons:o,dataFeatures:t,template:a,dataStats:r,dataMedia:s,advancedComponent:m})=>(0,P.jsxs)("div",{className:i("grid grid-cols-1 md:grid-cols-2 md:gap-6 gap-8 items-center"),children:[(0,P.jsxs)("div",{className:"col-span-1 ",children:[(0,P.jsx)(z,{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`}),(0,P.jsx)(yo,{dataFeatures:t,template:a,dataStats:r}),o&&(0,P.jsx)(vt,{align:o?.align,isFullInMobile:o?.isFullInMobile,buttons:o?.buttons})]}),(0,P.jsx)("div",{className:"col-span-1 md:pl-10",children:m||(0,P.jsx)(Ot,{type:s?.type||1,src:s?.src||"",ratio:s?.ratio,youtubeId:s?.youtubeId})})]}),Or=({dataHeading:e,dataButtons:o,dataFeatures:t,template:a,dataStats:r,dataMedia:s,advancedComponent:m})=>(0,P.jsxs)("div",{className:i("grid grid-cols-1 md:grid-cols-2 gap-16 items-center"),children:[(0,P.jsx)("div",{className:"col-span-1",children:(0,P.jsx)("div",{className:"hidden md:block",children:m||(0,P.jsx)(Ot,{type:s?.type||1,src:s?.src||"",ratio:s?.ratio,youtubeId:s?.youtubeId})})}),(0,P.jsxs)("div",{className:"col-span-1",children:[(0,P.jsx)(z,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading||"h1",align:e?.align||"left",sizeHeading:e?.sizeHeading,className:e?.className}),(0,P.jsx)(yo,{dataFeatures:t,template:a,dataStats:r}),(0,P.jsx)("div",{className:"md:hidden mt-10",children:m||(0,P.jsx)(Ot,{type:s?.type||1,src:s?.src||"",ratio:s?.ratio,youtubeId:s?.youtubeId})}),o&&(0,P.jsx)("div",{className:"w-full flex items-center justify-center md:justify-start",children:(0,P.jsx)(vt,{align:o?.align,isFullInMobile:o?.isFullInMobile,buttons:o?.buttons})})]})]}),Wr=({dataHeading:e,dataButtons:o,dataFeatures:t,template:a,dataStats:r,dataMedia:s,advancedComponent:m})=>(0,P.jsxs)(P.Fragment,{children:[(0,P.jsx)(z,{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`}),o&&(0,P.jsx)(vt,{align:o?.align,isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:"w-full md:w-full inline-flex items-center justify-center text-base font-semibold text-center"}),(0,P.jsx)(yo,{dataFeatures:t,template:a,dataStats:r}),m||(0,P.jsx)(Ot,{type:s?.type||1,src:s?.src||"",ratio:s?.ratio,youtubeId:s?.youtubeId,className:"rounded-lg"})]});var Re=require("react/jsx-runtime"),Ts=`var(
|
|
244
|
+
`})]}),o&&(0,y.jsx)("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})]})},Zr=({children:e,className:t,open:o,onOpenChange:a})=>(0,y.jsx)("div",{className:r("lightbox-gallery ",t),children:(0,y.jsx)(Zs,{open:o,onOpenChange:a,children:de.default.Children?.map(e,i=>{if(de.default.isValidElement(i)){let n={},l=Object.keys(n).reduce((c,d)=>(n[d]!==void 0&&(c[d]=n[d]),c),{});return de.default.cloneElement(i,l)}return null})})});var Ye=g(require("react"),1),Je=g(require("@radix-ui/react-radio-group"),1);var Kr=require("lucide-react"),jt=g(require("@radix-ui/react-checkbox"),1),Yr=require("@heroicons/react/16/solid"),ie=require("react/jsx-runtime"),Jr=Ye.createContext({hideIndicator:!1});function al(){let e=Ye.useContext(Jr);if(!e)throw new Error("ChoiceboxGroup.Item must be used within a ChoiceboxGroup ");return e}var Ya=Ye.forwardRef(({className:e,hideIndicator:t=!1,...o},a)=>(0,ie.jsx)(Jr.Provider,{value:{hideIndicator:t},children:(0,ie.jsx)(Je.Root,{className:r("grid gap-2",t&&"hide-indicator",e),...o,ref:a})}));Ya.displayName=Je.Root.displayName;var Ja=Ye.forwardRef(({className:e,children:t,...o},a)=>{let i=al(),{hideIndicator:n}=i??{};return(0,ie.jsxs)(Je.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:[(0,ie.jsx)("div",{className:"flex-1 min-w-0",children:t}),!n&&(0,ie.jsx)("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:(0,ie.jsx)(Je.Indicator,{className:"flex items-center justify-center w-full h-full rounded-full ",children:(0,ie.jsx)(Kr.Circle,{className:"h-1.5 w-1.5 fill-current text-current"})})})]})});Ja.displayName=Je.Item.displayName;var ei=Ye.forwardRef(({className:e,children:t,...o},a)=>(0,ie.jsxs)(jt.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:[(0,ie.jsx)("div",{className:"flex-1 min-w-0",children:t}),(0,ie.jsx)("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:(0,ie.jsx)(jt.Indicator,{className:r("flex items-center justify-center text-current"),children:(0,ie.jsx)(Yr.CheckIcon,{className:"h-4 w-4"})})})]}));ei.displayName=jt.Root.displayName;var en=require("class-variance-authority");var on=require("react/jsx-runtime"),ti=(0,en.cva)("inline-flex items-center rounded-md border border-gray-300 px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 font-semibold",{variants:{variant:{default:"border-transparent bg-pink-500 text-white/90 shadow hover:bg-pink-500/80",secondary:"border-transparent bg-gray-200 text-gray-900 hover:bg-gray-200/80",outline:"text-gray-900",danger:"border-transparent bg-red-500 text-white/90 shadow hover:bg-red-500/80"}},defaultVariants:{variant:"default"}});function tn({className:e,variant:t,...o}){return(0,on.jsx)("div",{className:r(ti({variant:t}),e),...o})}var an=g(require("react"),1),Ut=g(require("@radix-ui/react-progress"),1),ai=require("class-variance-authority");var oi=require("react/jsx-runtime"),il=(0,ai.cva)("h-full w-full rounded-full flex-1 transition-all",{variants:{variant:{progress:"bg-pink-500",success:"bg-green-600",disabled:"bg-gray-400",empty:"bg-gray-200"}},defaultVariants:{variant:"progress"}}),rl=(0,ai.cva)("relative h-4 w-full overflow-hidden rounded-full bg-gray-200",{variants:{size:{small:"h-[6px]",medium:"h-2",large:"h-[10px]"}},defaultVariants:{size:"medium"}}),ii=an.forwardRef(({className:e,value:t,variant:o="progress",size:a="medium",disabled:i=!1,...n},l)=>(0,oi.jsx)(Ut.Root,{ref:l,className:r("",rl({size:a}),e),...n,children:(0,oi.jsx)(Ut.Indicator,{className:r("",il({variant:o})),style:{transform:`translateX(-${100-(t||0)}%)`}})}));ii.displayName=Ut.Root.displayName;var pn=require("react");var nn=require("@heroicons/react/24/outline");var sn=require("class-variance-authority"),ri=g(require("html-react-parser"),1),X=require("react/jsx-runtime"),nl=(0,sn.cva)("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}}),rn=({template:e,name:t,description:o,image:a,idx:i,value:n,suffix:l,unit:c})=>(0,X.jsx)(X.Fragment,{children:(()=>{switch(e){case 1:case 3:return(0,X.jsxs)("li",{className:"flex items-center space-x-4",children:[a?(0,X.jsx)("img",{src:a,alt:"",className:"shrink-0"}):(0,X.jsx)("div",{className:"bg-pink-100 p-1 rounded-full w-5 h-5 flex items-center justify-center",children:(0,X.jsx)(nn.CheckIcon,{className:"w-4 h-4 text-pink-500 "})}),t&&(0,X.jsx)("div",{className:"ml-2 leading-tight",children:(0,ri.default)(t)})]});case 2:return(0,X.jsxs)("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&&(0,X.jsxs)("div",{className:"font-bold text-gray-900 line-clamp-2",children:[n,(l||c)&&(0,X.jsxs)("span",{children:[l," ",c]})]}),o&&(0,X.jsx)("div",{className:"text-sm mt-1 text-gray-500 leading-tight",children:(0,ri.default)(o)})]});default:return null}})()}),Mo=({dataFeatures:e,template:t=1,dataStats:o})=>(0,X.jsxs)("ul",{className:r("",nl({template:t})),children:[(t===1||t===3)&&e?.map((a,i)=>(0,X.jsx)(rn,{name:a?.name,template:t,image:a?.image,idx:i},i)),t===2&&o?.map((a,i)=>(0,X.jsx)(rn,{value:a?.value,suffix:a?.suffix,unit:a?.unit,template:t,description:a?.description,idx:i},i))]});var ln=g(require("@radix-ui/react-aspect-ratio"),1),pt=ln.Root;var _=require("react/jsx-runtime"),mn=e=>typeof e=="string"?e?.split("/")?.map(Number)?.reduce((a,i)=>a/i):e,sl=({src:e,ratio:t,className:o,youtubeId:a,onClickFC:i=()=>{}})=>(0,_.jsxs)(pt,{className:r(""),ratio:mn(t),children:[(0,_.jsx)("img",{src:e,className:r("w-full h-full object-cover md:block hidden",o,e?"":"bg-gray-200"),alt:""}),a&&(0,_.jsx)("div",{className:"aspect-[16/9] realtive overflow-hidden w-full md:hidden",children:(0,_.jsx)("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&&(0,_.jsxs)(Ge,{children:[(0,_.jsx)(Zt,{onClick:i,children:(0,_.jsx)("div",{className:"w-full hidden md:flex h-full cursor-pointer transition-transform group-hover:scale-105 top-0 absolute z-10 items-center justify-center",children:(0,_.jsx)("svg",{className:"w-14 h-14",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg",children:(0,_.jsxs)("g",{fill:"none",fillRule:"evenodd",children:[(0,_.jsx)("circle",{stroke:"#FFF",strokeWidth:2,fillOpacity:".24",fill:"#000",cx:24,cy:24,r:23}),(0,_.jsx)("path",{d:"M34.667 24.335c0 .515-.529.885-.529.885l-14.84 9.133c-1.08.704-1.965.182-1.965-1.153V15.467c0-1.338.884-1.856 1.968-1.153L34.14 23.45c-.002 0 .527.37.527.885Z",fill:"#FFF",fillRule:"nonzero"})]})})})}),(0,_.jsx)(He,{hideCloseBtn:!0,className:"w-full h-full !shadow-none !bg-transparent flex items-center justify-center bg-gray-900 p-0",children:(0,_.jsx)("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:""})})]})]}),qt=({type:e=1,src:t,ratio:o,className:a,youtubeId:i,onClickFC:n=()=>{}})=>(0,_.jsx)(_.Fragment,{children:i?(0,_.jsx)(sl,{type:e,src:t,ratio:o,youtubeId:i,onClickFC:n}):(0,_.jsx)(pt,{className:r(""),ratio:mn(o),children:(0,_.jsx)("img",{src:t,className:r("w-full h-full object-cover",a,t?"":"bg-gray-200"),alt:""})})});var C=require("react/jsx-runtime"),ni=({dataHeading:e,dataButtons:t,dataFeatures:o,template:a,dataStats:i,dataMedia:n,advancedComponent:l})=>(0,C.jsxs)("div",{className:r("grid grid-cols-1 md:grid-cols-2 md:gap-6 gap-8 items-center"),children:[(0,C.jsxs)("div",{className:"col-span-1 ",children:[(0,C.jsx)(B,{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`}),(0,C.jsx)(Mo,{dataFeatures:o,template:a,dataStats:i}),t&&(0,C.jsx)(E,{align:t?.align,isFullInMobile:t?.isFullInMobile,buttons:t?.buttons})]}),(0,C.jsx)("div",{className:"col-span-1 md:pl-10",children:l||(0,C.jsx)(qt,{type:n?.type||1,src:n?.src||"",ratio:n?.ratio,youtubeId:n?.youtubeId})})]}),cn=({dataHeading:e,dataButtons:t,dataFeatures:o,template:a,dataStats:i,dataMedia:n,advancedComponent:l})=>(0,C.jsxs)("div",{className:r("grid grid-cols-1 md:grid-cols-2 gap-16 items-center"),children:[(0,C.jsx)("div",{className:"col-span-1",children:(0,C.jsx)("div",{className:"hidden md:block",children:l||(0,C.jsx)(qt,{type:n?.type||1,src:n?.src||"",ratio:n?.ratio,youtubeId:n?.youtubeId})})}),(0,C.jsxs)("div",{className:"col-span-1",children:[(0,C.jsx)(B,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading||"h1",align:e?.align||"left",sizeHeading:e?.sizeHeading,className:e?.className}),(0,C.jsx)(Mo,{dataFeatures:o,template:a,dataStats:i}),(0,C.jsx)("div",{className:"md:hidden mt-10",children:l||(0,C.jsx)(qt,{type:n?.type||1,src:n?.src||"",ratio:n?.ratio,youtubeId:n?.youtubeId})}),t&&(0,C.jsx)("div",{className:"w-full flex items-center justify-center md:justify-start",children:(0,C.jsx)(E,{align:t?.align,isFullInMobile:t?.isFullInMobile,buttons:t?.buttons})})]})]}),dn=({dataHeading:e,dataButtons:t,dataFeatures:o,template:a,dataStats:i,dataMedia:n,advancedComponent:l})=>(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(B,{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&&(0,C.jsx)(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"}),(0,C.jsx)(Mo,{dataFeatures:o,template:a,dataStats:i}),l||(0,C.jsx)(qt,{type:n?.type||1,src:n?.src||"",ratio:n?.ratio,youtubeId:n?.youtubeId,className:"rounded-lg"})]});var Ae=require("react/jsx-runtime"),ll=`var(
|
|
217
245
|
--gradient-pink-1,
|
|
218
246
|
linear-gradient(
|
|
219
247
|
38deg,
|
|
@@ -235,7 +263,11 @@
|
|
|
235
263
|
rgba(255, 255, 255, 0) 80%
|
|
236
264
|
),
|
|
237
265
|
#fff
|
|
238
|
-
)`,ks=({template:e,dataHeading:o,dataButtons:t,dataFeatures:a,dataStats:r,dataMedia:s,advancedComponent:m})=>{switch(e){case 1:return(0,Re.jsx)(ja,{dataHeading:o,dataButtons:t,dataFeatures:a,dataStats:r,template:e,dataMedia:s,advancedComponent:m});case 2:return(0,Re.jsx)(Or,{dataHeading:o,dataButtons:t,dataFeatures:a,dataStats:r,template:e,dataMedia:s,advancedComponent:m});case 3:return(0,Re.jsx)(Wr,{dataHeading:o,dataButtons:t,dataFeatures:a,dataStats:r,template:e,dataMedia:s,advancedComponent:m});default:return(0,Re.jsx)(ja,{dataHeading:o,dataButtons:t,dataFeatures:a,dataStats:r,template:e,dataMedia:s,advancedComponent:m})}},Ds=({template:e,dataHeading:o,dataButtons:t,dataFeatures:a,dataStats:r,dataMedia:s,advancedComponent:m})=>(0,Re.jsx)(Re.Fragment,{children:ks({template:e,dataHeading:o,dataButtons:t,dataFeatures:a,dataStats:r,dataMedia:s,advancedComponent:m})}),$r=(0,Gr.forwardRef)(({template:e=1,dataHeading:o,dataButtons:t,dataFeatures:a,dataStats:r,dataMedia:s,className:m,background:c,advancedComponent:d=null})=>(0,Re.jsx)(ut,{className:i(m),background:c??Ts,children:(0,Re.jsx)(Ds,{dataButtons:t,template:e,dataHeading:o,dataFeatures:a,dataStats:r,dataMedia:s,advancedComponent:d})}));var M=g(require("html-react-parser"),1);var jr=require("@heroicons/react/16/solid");var n=require("react/jsx-runtime"),Te=({btnLink:e,btnName:o,newTab:t})=>(0,n.jsx)(et,{variant:"primary",asChild:!0,children:(0,n.jsxs)("a",{href:e,target:t?"_blank":"_self",rel:"noreferrer",children:[o||"Xem chi ti\u1EBFt",(0,n.jsx)(jr.ChevronRightIcon,{className:"w-4 h-4"})]})}),qa=({dataHeading:e,dataFeatures:o})=>(0,n.jsxs)(n.Fragment,{children:[e&&(0,n.jsx)(z,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:e?.align,colorScheme:"pink",sizeHeading:e?.sizeHeading,className:e?.className}),o&&(0,n.jsx)("div",{className:"list-features grid grid-cols-1 md:grid-cols-3 gap-8 lg:gap-12",children:o?.map((t,a)=>(0,n.jsxs)("div",{className:"feature-item relative w-full text-center flex flex-col",children:[(0,n.jsx)("div",{className:"w-16 h-16 mx-auto",children:(0,n.jsx)("img",{src:t?.image,alt:t?.name,className:"w-full h-full object-contain"})}),(0,n.jsxs)("div",{className:"w-full mt-4 flex-1",children:[(0,n.jsxs)("div",{className:"flex-1",children:[t?.name&&(0,n.jsx)("h3",{className:"text-lg font-semibold",children:(0,M.default)(t.name)}),t?.description&&(0,n.jsx)("div",{className:"text-gray-600 mt-2 text-base",children:(0,M.default)(t.description)})]}),t?.btnLink&&(0,n.jsx)("div",{className:"mt-4",children:(0,n.jsx)(Te,{btnLink:t.btnLink,btnName:t?.btnName,newTab:t?.newTab})})]})]},a))})]}),qr=({dataHeading:e,dataFeatures:o})=>(0,n.jsxs)(n.Fragment,{children:[e&&(0,n.jsx)(z,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:e?.align,colorScheme:"pink",sizeHeading:e?.sizeHeading,className:e?.className}),o&&(0,n.jsx)("div",{className:"list-features grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6",children:o?.map((t,a)=>(0,n.jsxs)("div",{className:"feature-item p-5 overflow-hidden border border-gray-200 rounded-md relative w-full flex flex-col",style:{background:"linear-gradient(180deg, #FAFAFA 0%, rgba(250, 250, 250, 0) 91%);"},children:[(0,n.jsx)("div",{className:"w-16 h-16",children:(0,n.jsx)("img",{src:t?.image,alt:t?.name,className:"w-full h-full object-contain"})}),(0,n.jsxs)("div",{className:"w-full mt-4 flex flex-1 flex-col",children:[(0,n.jsxs)("div",{className:"flex-1",children:[t?.name&&(0,n.jsx)("h3",{className:"text-lg font-semibold",children:(0,M.default)(t.name)}),t?.description&&(0,n.jsx)("div",{className:"text-gray-600 mt-2 text-base",children:(0,M.default)(t.description)})]}),t?.btnLink&&(0,n.jsx)("div",{className:"mt-4",children:(0,n.jsx)(Te,{btnLink:t.btnLink,btnName:t?.btnName,newTab:t?.newTab})})]})]},a))})]}),Ur=({dataHeading:e,dataFeatures:o})=>(0,n.jsxs)(n.Fragment,{children:[e&&(0,n.jsx)(z,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:e?.align||"left",colorScheme:"pink",sizeHeading:e?.sizeHeading,className:e?.className}),o&&(0,n.jsx)("div",{className:"list-features grid grid-cols-1 md:grid-cols-3 gap-8 lg:gap-12",children:o?.map((t,a)=>(0,n.jsxs)("div",{className:"feature-item relative w-full flex flex-col",children:[(0,n.jsx)("div",{className:"w-16 h-16",children:(0,n.jsx)("img",{src:t?.image,alt:t?.name,className:"w-full h-full object-contain"})}),(0,n.jsxs)("div",{className:"w-full mt-4 flex-1",children:[(0,n.jsxs)("div",{className:"flex-1",children:[t?.name&&(0,n.jsx)("h3",{className:"text-lg font-semibold",children:(0,M.default)(t.name)}),t?.description&&(0,n.jsx)("div",{className:"text-gray-600 mt-2 text-base",children:(0,M.default)(t.description)})]}),t?.btnLink&&(0,n.jsx)("div",{className:"mt-4",children:(0,n.jsx)(Te,{btnLink:t.btnLink,btnName:t?.btnName,newTab:t?.newTab})})]})]},a))})]}),Qr=({dataHeading:e,dataFeatures:o})=>(0,n.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-10 gap-0 lg:gap-12",children:[e&&(0,n.jsx)(z,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:e?.align||"left",colorScheme:"pink",sizeHeading:e?.sizeHeading,className:i("lg:col-span-4 lg:flex lg:flex-col lg:justify-center",e?.className)}),o&&(0,n.jsx)("div",{className:"list-features grid grid-cols-1 md:grid-cols-2 gap-6 md:gap-5 lg:col-span-6",children:o?.map((t,a)=>(0,n.jsxs)("div",{className:"feature-item relative w-full flex flex-col border border-gray-200 rounded-lg p-5 bg-white",children:[(0,n.jsx)("div",{className:"w-16 h-16",children:(0,n.jsx)("img",{src:t?.image,alt:t?.name,className:"w-full h-full object-contain"})}),(0,n.jsxs)("div",{className:"w-full mt-4 flex flex-1 flex-col",children:[(0,n.jsxs)("div",{className:"flex-1",children:[t?.name&&(0,n.jsx)("h3",{className:"text-lg font-semibold",children:(0,M.default)(t.name)}),t?.description&&(0,n.jsx)("div",{className:"text-gray-600 mt-2 text-base",children:(0,M.default)(t.description)})]}),t?.btnLink&&(0,n.jsx)("div",{className:"mt-4",children:(0,n.jsx)(Te,{btnLink:t.btnLink,btnName:t?.btnName,newTab:t?.newTab})})]})]},a))})]}),Xr=({dataHeading:e,dataFeatures:o})=>(0,n.jsxs)(n.Fragment,{children:[e&&(0,n.jsx)(z,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:e?.align,colorScheme:"pink",sizeHeading:e?.sizeHeading,className:e?.className}),o&&(0,n.jsx)("div",{className:"list-features grid grid-cols-1 md:grid-cols-2 gap-5 max-w-4xl mx-auto",children:o?.map((t,a)=>(0,n.jsxs)("div",{className:"feature-item relative w-full flex flex-col border border-gray-200 rounded-lg p-7 bg-white",children:[(0,n.jsx)("div",{className:"w-12 h-12 ",children:(0,n.jsx)("img",{src:t?.image,alt:t?.name,className:"w-full h-full object-contain"})}),(0,n.jsxs)("div",{className:"w-full mt-4 flex flex-1 flex-col",children:[(0,n.jsxs)("div",{className:"flex-1",children:[t?.name&&(0,n.jsx)("h3",{className:"text-lg font-semibold",children:(0,M.default)(t.name)}),t?.description&&(0,n.jsx)("div",{className:"text-gray-600 mt-2 text-base",children:(0,M.default)(t.description)})]}),t?.btnLink&&(0,n.jsx)("div",{className:"mt-4",children:(0,n.jsx)(Te,{btnLink:t.btnLink,btnName:t?.btnName,newTab:t?.newTab})})]})]},a))})]}),Zr=({dataHeading:e,dataFeatures:o})=>(0,n.jsxs)(n.Fragment,{children:[e&&(0,n.jsx)(z,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:e?.align,colorScheme:"pink",sizeHeading:e?.sizeHeading,className:e?.className}),o&&(0,n.jsx)("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:o?.map((t,a)=>(0,n.jsxs)("div",{className:"feature-item relative w-full",children:[(0,n.jsx)("div",{className:"w-12 h-12",children:(0,n.jsx)("img",{src:t?.image,alt:t?.name,className:"w-full h-full object-contain"})}),(0,n.jsxs)("div",{className:"w-full mt-3 flex flex-1 flex-col",children:[(0,n.jsxs)("div",{className:"flex-1",children:[t?.name&&(0,n.jsx)("h3",{className:"text-lg font-semibold",children:(0,M.default)(t.name)}),t?.description&&(0,n.jsx)("div",{className:"text-gray-500 mt-2 text-sm",children:(0,M.default)(t.description)})]}),t?.btnLink&&(0,n.jsx)("div",{className:"mt-4",children:(0,n.jsx)(Te,{btnLink:t.btnLink,btnName:t?.btnName,newTab:t?.newTab})})]})]},a))})]}),Kr=({dataHeading:e,dataFeatures:o})=>(0,n.jsxs)(n.Fragment,{children:[e&&(0,n.jsx)(z,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:e?.align,colorScheme:"pink",sizeHeading:e?.sizeHeading,className:e?.className}),o&&(0,n.jsx)("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:o?.map((t,a)=>(0,n.jsxs)("div",{className:"feature-item relative w-full flex gap-3",children:[(0,n.jsx)("div",{className:"w-12 h-12",children:(0,n.jsx)("img",{src:t?.image,alt:t?.name,className:"w-full h-full object-contain"})}),(0,n.jsxs)("div",{className:"w-full flex-1",children:[t?.name&&(0,n.jsx)("h3",{className:"text-lg font-semibold",children:(0,M.default)(t.name)}),t?.description&&(0,n.jsx)("div",{className:"text-gray-500 mt-2 text-sm",children:(0,M.default)(t.description)}),t?.btnLink&&(0,n.jsx)("div",{className:"mt-4",children:(0,n.jsx)(Te,{btnLink:t.btnLink,btnName:t?.btnName,newTab:t?.newTab})})]})]},a))})]}),Yr=({dataHeading:e,dataFeatures:o})=>(0,n.jsxs)(n.Fragment,{children:[e&&(0,n.jsx)(z,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:e?.align||"left",colorScheme:"pink",sizeHeading:e?.sizeHeading,className:e?.className}),o&&(0,n.jsx)("div",{className:"list-features grid grid-cols-1 md:grid-cols-3 gap-6",children:o?.map((t,a)=>(0,n.jsxs)("div",{className:"feature-item relative w-full flex flex-col overflow-hidden bg-gray-100 rounded-xl",children:[(0,n.jsxs)("div",{className:"w-full flex flex-1 flex-col p-5",children:[(0,n.jsxs)("div",{className:"flex-1",children:[t?.name&&(0,n.jsx)("h3",{className:"text-lg font-semibold",children:(0,M.default)(t.name)}),t?.description&&(0,n.jsx)("div",{className:"text-gray-600 mt-2 text-base",children:(0,M.default)(t.description)})]}),t?.btnLink&&(0,n.jsx)("div",{className:"mt-4",children:(0,n.jsx)(Te,{btnLink:t.btnLink,btnName:t?.btnName,newTab:t?.newTab})})]}),(0,n.jsx)("div",{className:"w-full",style:{aspectRatio:"347/220"},children:(0,n.jsx)("img",{src:t?.image,alt:t?.name,className:"w-full h-full object-contain"})})]},a))})]}),Jr=({dataHeading:e,dataFeatures:o,dataButtons:t,dataBanner:a})=>(0,n.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-10 gap-10 lg:gap-14",children:[(0,n.jsx)("div",{className:"lg:col-span-6 flex items-center",children:(0,n.jsxs)("div",{className:"w-full",children:[e&&(0,n.jsx)(z,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:e?.align||"left",colorScheme:"pink",sizeHeading:e?.sizeHeading,className:e?.className}),o&&(0,n.jsx)("div",{className:"list-features grid grid-cols-1 md:grid-cols-2 gap-6 md:auto-cols-auto",children:o?.map((r,s)=>(0,n.jsxs)("div",{className:"feature-item relative w-full flex flex-col",children:[(0,n.jsx)("div",{className:"w-10 h-10",children:(0,n.jsx)("img",{src:r?.image,alt:r?.name,className:"w-full h-full object-contain"})}),(0,n.jsxs)("div",{className:"w-full mt-3 flex flex-1 flex-col",children:[(0,n.jsxs)("div",{className:"flex-1",children:[r?.name&&(0,n.jsx)("h3",{className:"text-lg font-semibold",children:(0,M.default)(r.name)}),r?.description&&(0,n.jsx)("div",{className:"text-gray-600 mt-2 text-base",children:(0,M.default)(r.description)})]}),r?.btnLink&&(0,n.jsx)("div",{className:"mt-4",children:(0,n.jsx)(Te,{btnLink:r.btnLink,btnName:r?.btnName,newTab:r?.newTab})})]})]},s))}),t&&(0,n.jsx)(vt,{isFullInMobile:t?.isFullInMobile,buttons:t?.buttons,className:t?.className,align:t?.align||"left"})]})}),a&&(0,n.jsx)("div",{className:"lg:col-span-4 flex items-center",children:(0,n.jsx)(it,{ratio:a?.ratio||1,className:"w-full",children:(0,n.jsx)("img",{src:a?.src,alt:a?.alt,loading:"lazy",className:"h-full w-full object-cover"})})})]}),en=({dataHeading:e,dataFeatures:o,dataBanner:t})=>(0,n.jsxs)(n.Fragment,{children:[e&&(0,n.jsx)(z,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:e?.align,colorScheme:"pink",sizeHeading:e?.sizeHeading,className:e?.className}),(0,n.jsx)("div",{className:i("relative flex items-center",t&&"lg:min-h-[577px]"),children:o&&(0,n.jsxs)("div",{className:i("list-features grid grid-cols-1 md:grid-cols-2 gap-8",t?"lg:gap-y-16 lg:gap-x-0 lg:flex-wrap lg:flex lg:flex-row":"max-w-4xl mx-auto"),children:[o?.map((a,r)=>(0,n.jsxs)("div",{className:i("feature-item relative w-full",t&&"lg:basis-1/2 odd:lg:pr-48 even:lg:pl-48"),children:[(0,n.jsx)("div",{className:"w-12 h-12",children:(0,n.jsx)("img",{src:a?.image,alt:a?.name,className:"w-full h-full object-contain"})}),(0,n.jsxs)("div",{className:"w-full mt-3 flex flex-1 flex-col",children:[(0,n.jsxs)("div",{className:"flex-1",children:[a?.name&&(0,n.jsx)("h3",{className:"text-lg font-semibold",children:(0,M.default)(a.name)}),a?.description&&(0,n.jsx)("div",{className:"text-gray-500 mt-2",children:(0,M.default)(a.description)})]}),a?.btnLink&&(0,n.jsx)("div",{className:"mt-4",children:(0,n.jsx)(Te,{btnLink:a.btnLink,btnName:a?.btnName,newTab:a?.newTab})})]})]},r)),t&&(0,n.jsxs)("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:[(0,n.jsx)("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"}}),(0,n.jsx)("div",{className:"w-full h-full bg-gray-100 overflow-hidden",style:{borderRadius:"30px"},children:(0,n.jsx)("img",{src:t?.src,alt:t?.alt,className:"w-full h-full object-contain"})})]})]})})]});var $=require("react/jsx-runtime"),Ss=({template:e,dataHeading:o,dataFeatures:t,dataButtons:a,dataBanner:r})=>{switch(e){case 1:return(0,$.jsx)(qa,{dataHeading:o,dataFeatures:t});case 2:return(0,$.jsx)(qr,{dataHeading:o,dataFeatures:t});case 3:return(0,$.jsx)(Ur,{dataHeading:o,dataFeatures:t});case 4:return(0,$.jsx)(Qr,{dataHeading:o,dataFeatures:t});case 5:return(0,$.jsx)(Xr,{dataHeading:o,dataFeatures:t});case 6:return(0,$.jsx)(Zr,{dataHeading:o,dataFeatures:t});case 7:return(0,$.jsx)(Kr,{dataHeading:o,dataFeatures:t});case 8:return(0,$.jsx)(Yr,{dataHeading:o,dataFeatures:t});case 9:return(0,$.jsx)(Jr,{dataHeading:o,dataFeatures:t,dataButtons:a,dataBanner:r});case 10:return(0,$.jsx)(en,{dataHeading:o,dataFeatures:t,dataBanner:r});default:return(0,$.jsx)(qa,{dataHeading:o,dataFeatures:t})}},As=({template:e,dataHeading:o,dataFeatures:t,dataButtons:a,dataBanner:r})=>(0,$.jsx)($.Fragment,{children:Ss({template:e,dataHeading:o,dataFeatures:t,dataButtons:a,dataBanner:r})}),tn=({template:e=1,background:o,className:t,idSection:a,dataHeading:r,dataFeatures:s,dataButtons:m,dataBanner:c})=>(0,$.jsx)(ut,{className:t,idSection:a,background:o,children:(0,$.jsx)(As,{template:e,dataHeading:r,dataFeatures:s,dataButtons:m,dataBanner:c})});var on=g(require("react"),1),ke=g(require("@radix-ui/react-slider"),1);var rt=require("react/jsx-runtime"),Ua=on.forwardRef(({className:e,...o},t)=>(0,rt.jsxs)(ke.Root,{ref:t,className:i("relative flex w-full touch-none select-none items-center",o?.disabled&&"opacity-40",e),...o,children:[(0,rt.jsx)(ke.Track,{className:"relative h-2 w-full grow overflow-hidden rounded-full bg-gray-200",children:(0,rt.jsx)(ke.Range,{className:"absolute h-full bg-pink-500"})}),(0,rt.jsx)(ke.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"}),(0,rt.jsx)(ke.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"})]}));Ua.displayName=ke.Root.displayName;var N=require("react/jsx-runtime"),an=({dataHeading:e,dataBrands:o,isScrollSnap:t})=>(0,N.jsxs)(N.Fragment,{children:[e&&(0,N.jsx)(z,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:e?.align,colorScheme:"pink",sizeHeading:e?.sizeHeading,className:e?.className}),o&&o?.length>0&&(0,N.jsx)("div",{className:i("list-brands flex flex-row md:gap-x-10 gap-y-6 md:flex-wrap md:justify-center overflow-hidden overflow-x-auto py-2",t?"snap-x snap-mandatory flex-nowrap -mx-5 pb-3":"flex-wrap justify-center"),children:o?.map((a,r)=>(0,N.jsx)("div",{className:i("flex justify-center items-center md:px-0 px-2.5 md:basis-auto",t?"snap-center shrink-0 first:pl-5 last:pr-5 basis-[28.5%]":"basis-1/2"),children:(0,N.jsx)("div",{className:"w-auto max-w-36 flex justify-center items-center",children:a?.url?(0,N.jsx)("a",{href:a?.url,title:a?.name,target:a?.newTab?"_blank":"_self",className:"group",children:(0,N.jsx)("img",{src:a?.logo,loading:"lazy",alt:a?.name,className:"object-contain transition transform group-hover:scale-105"})}):(0,N.jsx)("img",{src:a?.logo,loading:"lazy",alt:a?.name,className:"object-contain"})})},r))})]}),Ms=({dataHeading:e,dataBrands:o,isScrollSnap:t})=>(0,N.jsxs)(N.Fragment,{children:[e&&(0,N.jsx)(z,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:e?.align,colorScheme:"pink",sizeHeading:e?.sizeHeading,className:e?.className}),o&&o?.length>0&&(0,N.jsx)("div",{className:i("list-brands md:grid-cols-4 md:gap-y-6 md:gap-x-7",t?"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:o?.map((a,r)=>(0,N.jsx)("div",{className:i("flex justify-center items-center text-center",t?"snap-center shrink-0 first:pl-5 last:pr-5 md:first:pl-0 md:last:pr-0 basis-5/12 px-2 md:px-0":""),children:a?.url?(0,N.jsx)("a",{href:a?.url,title:a?.name,target:a?.newTab?"_blank":"_self",className:"flex justify-center items-center rounded-md border border-gray-200 duration-300 hover:border-pink-500 w-full h-full p-3",children:(0,N.jsx)("div",{className:"w-auto max-w-36 flex justify-center items-center",children:(0,N.jsx)("img",{src:a?.logo,loading:"lazy",alt:a?.name,className:"object-contain"})})}):(0,N.jsx)("div",{className:"flex justify-center items-center rounded-md border border-gray-200 w-full h-full p-3",children:(0,N.jsx)("div",{className:"w-auto max-w-36 flex justify-center items-center",children:(0,N.jsx)("img",{src:a?.logo,loading:"lazy",alt:a?.name,className:"object-contain"})})})},r))})]}),Ls=({template:e,dataHeading:o,dataBrands:t,isScrollSnap:a})=>{switch(e){case 1:return(0,N.jsx)(an,{dataHeading:o,dataBrands:t,isScrollSnap:a});case 2:return(0,N.jsx)(Ms,{dataHeading:o,dataBrands:t,isScrollSnap:a});default:return(0,N.jsx)(an,{dataHeading:o,dataBrands:t,isScrollSnap:a})}},Is=({template:e,dataHeading:o,dataBrands:t,isScrollSnap:a})=>(0,N.jsx)(N.Fragment,{children:Ls({template:e,dataHeading:o,dataBrands:t,isScrollSnap:a})}),rn=({template:e=1,background:o,className:t,idSection:a,dataHeading:r,dataBrands:s,isScrollSnap:m})=>(0,N.jsx)(ut,{className:t,idSection:a,background:o,children:(0,N.jsx)(Is,{template:e,dataHeading:r,dataBrands:s,isScrollSnap:m})});var Tn=g(require("color"),1),kn=g(require("tailwindcss/plugin.js"),1);var j="250ms",nn={".transition-all":{"transition-property":"all","transition-timing-function":"ease","transition-duration":j},".transition-background":{"transition-property":"background","transition-timing-function":"ease","transition-duration":j},".transition":{"transition-property":"color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter","transition-timing-function":"ease","transition-duration":j},".transition-colors":{"transition-property":"color, background-color, border-color, text-decoration-color, fill, stroke","transition-timing-function":"ease","transition-duration":j},".transition-opacity":{"transition-property":"opacity","transition-timing-function":"ease","transition-duration":j},".transition-colors-opacity":{"transition-property":"color, background-color, border-color, text-decoration-color, fill, stroke, opacity","transition-timing-function":"ease","transition-duration":j},".transition-width":{"transition-property":"width","transition-timing-function":"ease","transition-duration":j},".transition-height":{"transition-property":"height","transition-timing-function":"ease","transition-duration":j},".transition-size":{"transition-property":"width, height","transition-timing-function":"ease","transition-duration":j},".transition-left":{"transition-property":"left","transition-timing-function":"ease","transition-duration":j},".transition-shadow":{"transition-property":"box-shadow","transition-timing-function":"ease","transition-duration":j},".transition-transform":{"transition-property":"transform","transition-timing-function":"ease","transition-duration":j},".transition-transform-opacity":{"transition-property":"transform, opacity","transition-timing-function":"ease","transition-duration":j},".transition-transform-background":{"transition-property":"transform, background","transition-timing-function":"ease","transition-duration":j},".transition-transform-colors":{" transition-property":"transform, color, background, background-color, border-color, text-decoration-color, fill, stroke","transition-timing-function":"ease","transition-duration":j},".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":j}};var sn={".leading-inherit":{"line-height":"inherit"},".bg-img-inherit":{"background-image":"inherit"},".bg-clip-inherit":{"background-clip":"inherit"},".text-fill-inherit":{"-webkit-text-fill-color":"inherit"},".tap-highlight-transparent":{"-webkit-tap-highlight-color":"transparent"},"*":{"border-color":"rgb(var(--mobase-gray-300))"}};var ln={".scrollbar-hide":{"-ms-overflow-style":"none","scrollbar-width":"none","&::-webkit-scrollbar":{display:"none"}},".scrollbar-default":{"-ms-overflow-style":"auto","scrollbar-width":"auto","&::-webkit-scrollbar":{display:"block"}}};var mn={...sn,...nn,...ln};var cn=require("flat");function Es(e){let o={};for(let t in e){if(t.endsWith("-DEFAULT")){o[t.replace("-DEFAULT","")]=e[t];continue}o[t]=e[t]}return o}var dn=e=>Es((0,cn.flatten)(e,{safe:!0,delimiter:"-"}));var No=16,_s=[.5,1,1.5,2,2.5,3,3.5,4,5,6,7,8,9,10,11,12,14,16,18],Hs=[20,24,28,32,36,40,44,48,52,56,60,64,72,80,96],pn=e=>{let o={xs:2,sm:3,md:4,lg:5.5,xl:9,"2xl":12,"3xl":20,"4xl":30,"5xl":56,"6xl":72,"7xl":96,"8xl":128,"9xl":160},t={0:"0px"};return Object.entries(o).forEach(([a,r])=>{t[a]=r?`${e*r/No}rem`:`${e/No}rem`}),_s.forEach(a=>{let r=`${a}`;if(r.includes(".")){let[s,m]=r.split(".");r=`${s}_${m}`}t[r]=`${e*a/No}rem`}),Hs.forEach(a=>{let r=`${a}`;t[r]=`${e*a/No}rem`}),t};var gn={50:"#eef8ff",100:"#d9eeff",200:"#bce1ff",300:"#8ed0ff",400:"#59b4ff",500:"#429cff",600:"#1b74f5",700:"#145ee1",800:"#174bb6",900:"#19428f",DEFAULT:"#429cff"};var fn={50:"#f1fcf3",100:"#dff9e5",200:"#c0f2cc",300:"#8fe6a4",400:"#57d175",500:"#34c759",600:"#22973f",700:"#1e7735",800:"#1d5e2e",900:"#194e28",DEFAULT:"#34c759"};var un={50:"#fef1f9",100:"#fee5f6",200:"#fecced",300:"#ffa2df",400:"#fe68c6",500:"#EB2F96",600:"#D42A87",700:"#CB0B6F",800:"#A70D5B",900:"#8B104E",DEFAULT:"#EB2F96"};var vn={50:"#faf5ff",100:"#f4e9fe",200:"#ead6fe",300:"#dab6fc",400:"#c487f9",500:"#ab55f3",600:"#9937e6",700:"#8326ca",800:"#6f24a5",900:"#5b1e85",DEFAULT:"#ab55f3"};var bn={50:"#fff1f2",100:"#ffe1e3",200:"#ffc8cb",300:"#ffa1a6",400:"#fe6b73",500:"#f74e57",600:"#e41e29",700:"#c0151e",800:"#9e161d",900:"#83191f",DEFAULT:"#f74e57"};var hn={50:"#fffee7",100:"#fffec1",200:"#fff886",300:"#ffec41",400:"#ffdb0d",500:"#ffcc00",600:"#d19500",700:"#a66a02",800:"#89530a",900:"#74430f",DEFAULT:"#ffcc00"};var xn={50:"#fff4ed",100:"#ffe6d5",200:"#fecaaa",300:"#fea473",400:"#fc743b",500:"#fa541c",600:"#eb350b",700:"#c3240b",800:"#9b1e11",900:"#7c1c12",DEFAULT:"#fa541c"};var yn={50:"#FAFAFA",100:"#F5F5F5",200:"#E5E5E5",300:"#D4D4D4",400:"#A3A3A3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",DEFAULT:"#737373"};var wn={white:"#ffffff",black:"#000000",blue:gn,green:fn,pink:un,purple:vn,red:bn,yellow:hn,gray:yn,orange:xn};var Qa={...wn};var Nn={"spacing-unit":4,"disabled-opacity":.5,"font-size":{xxs:"0.625rem",xs:"0.75rem",sm:"0.875rem",base:"1rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.875rem","4xl":"2.25rem","5xl":"3rem","6xl":"3.75rem","7xl":"4.5rem","8xl":"6rem","9xl":"8rem"},radius:{sm:"0.125rem",base:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem"},"z-index":{negative:"-1",workbench:"0",default:"1","workbench-header":"10",modal:"100","modal-content":"101",dropdown:"1000",tooltip:"10000",notification:"100000"},"box-shadow":{small:"0px 0px 5px 0px rgb(0 0 0 / 0.02), 0px 2px 10px 0px rgb(0 0 0 / 0.06), 0px 0px 1px 0px rgb(0 0 0 / 0.3)",medium:"0px 0px 15px 0px rgb(0 0 0 / 0.03), 0px 2px 30px 0px rgb(0 0 0 / 0.08), 0px 0px 1px 0px rgb(0 0 0 / 0.3)",large:"0px 0px 30px 0px rgb(0 0 0 / 0.04), 0px 30px 60px 0px rgb(0 0 0 / 0.12), 0px 0px 1px 0px rgb(0 0 0 / 0.3)"}};var Pn={animation:{"accordion-down":"accordion-down 0.2s ease-out","accordion-up":"accordion-up 0.2s ease-out","spin-loading":"spin 1s steps(12, end) infinite","fade-in":"fade-in 250ms cubic-bezier(0.25, 0.46, 0.45, 0.94) both"},keyframes:{"accordion-down":{from:{height:"0"},to:{height:"var(--radix-accordion-content-height)"}},"accordion-up":{from:{height:"var(--radix-accordion-content-height)"},to:{height:"0"}},"fade-in":{"0%":{opacity:"0"},"100%":{opacity:"1"}}}};function Cn(e){return{xxs:[`var(--${e}-font-size-xxs)`,{lineHeight:"1rem"}],xs:[`var(--${e}-font-size-xs)`,{lineHeight:"1rem"}],sm:[`var(--${e}-font-size-sm)`,{lineHeight:"1.25rem"}],base:[`var(--${e}-font-size-base)`,{lineHeight:"1.5rem"}],lg:[`var(--${e}-font-size-lg)`,{lineHeight:"1.75rem"}],xl:[`var(--${e}-font-size-xl)`,{lineHeight:"1.75rem"}],"2xl":[`var(--${e}-font-size-2xl)`,{lineHeight:"2rem"}],"3xl":[`var(--${e}-font-size-3xl)`,{lineHeight:"2.25rem"}],"4xl":[`var(--${e}-font-size-4xl)`,{lineHeight:"2.5rem"}],"5xl":[`var(--${e}-font-size-5xl)`,{lineHeight:"3.5rem",letterSpacing:"-0.075rem"}],"6xl":[`var(--${e}-font-size-6xl)`,{lineHeight:"4.5rem",letterSpacing:"-0.09375rem"}],"7xl":[`var(--${e}-font-size-7xl)`,{lineHeight:"5rem",letterSpacing:"-0.1125rem"}],"8xl":[`var(--${e}-font-size-8xl)`,{lineHeight:"6.5rem",letterSpacing:"-0.15rem"}],"9xl":[`var(--${e}-font-size-9xl)`,{lineHeight:"8rem",letterSpacing:"-0.2rem"}]}}function Rn(e){return{sm:`var(--${e}-radius-sm)`,DEFAULT:`var(--${e}-radius-base)`,md:`var(--${e}-radius-md)`,lg:`var(--${e}-radius-lg)`,xl:`var(--${e}-radius-xl)`,"2xl":`var(--${e}-radius-2xl)`,"3xl":`var(--${e}-radius-3xl)`}}var Bs=e=>{let o={utilities:{},colors:{}},t=dn(Qa),a=Nn,r=":root";return o.utilities[r]={},Object.entries(t).forEach(([s,m])=>{if(m)try{let[c,d,v]=(0,Tn.default)(m).rgb().array(),u=`--${e}-${s}`;o.utilities[r][u]=`${c} ${d} ${v}`,o.colors[s]=`rgb(var(${u}) / <alpha-value>)`}catch(c){console.log("error",c?.message)}}),Object.entries(a).forEach(([s,m])=>{if(!m)return;let c=`--${e}-${s}`;if(typeof m=="object")Object.entries(m).forEach(([d,v])=>{let u=`${c}-${d}`;o.utilities[r][u]=v});else if(s==="spacing-unit"){o.utilities[r][c]=m;let d=pn(Number(m));Object.entries(d).forEach(([v,u])=>{let D=`${c}-${v}`;o.utilities[r][D]=u})}else{let d=c.includes("opacity")&&typeof m=="number"?m.toString().replace(/^0\./,"."):m;o.utilities[r][c]=d}}),o},Dn=()=>{let e="mobase",o=Bs(e);return(0,kn.default)(({addBase:t,addUtilities:a,addComponents:r})=>{r({".wrapper":{maxWidth:"72rem",paddingLeft:"1.25rem",paddingRight:"1.25rem",marginLeft:"auto",marginRight:"auto","@media (min-width: 768px)":{paddingLeft:"2rem",paddingRight:"2rem"}}}),t({":root":{"font-smooth--webkit":"antialiased"},...o?.utilities}),a({...mn})},{theme:{container:{center:!0},screens:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},aspectRatio:{auto:"auto",square:"1 / 1",video:"16 / 9",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13",14:"14",15:"15",16:"16"},extend:{fontFamily:{sans:["-apple-system","BlinkMacSystemFont","Segoe UI","Helvetica","Arial","sans-serif","Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"],mono:["SFMono-Regular","Consolas","Liberation Mono","Menlo","monospace"]},colors:{...Qa,...o?.colors,border:"rgba(var(--border))"},boxShadow:{small:`var(--${e}-box-shadow-small)`,medium:`var(--${e}-box-shadow-medium)`,large:`var(--${e}-box-shadow-large)`},zIndex:{negative:`var(--${e}-z-index-negative)`,workbench:`var(--${e}-z-index-workbench)`,default:`var(--${e}-z-index-default)`,"workbench-header":`var(--${e}-z-index-workbench-header)`,modal:`var(--${e}-z-index-modal)`,"modal-content":`var(--${e}-z-index-modal-content)`,dropdown:`var(--${e}-z-index-dropdown)`,tooltip:`var(--${e}-z-index-tooltip)`,notification:`var(--${e}-z-index-notification)`},borderRadius:{...Rn(e)},fontSize:{...Cn(e)},...Pn}}})};var b=require("react/jsx-runtime"),Sn=(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)("meta",{name:"abstract",content:"V\xED \u0111i\u1EC7n t\u1EED MoMo - Si\xEAu \u1EE9ng d\u1EE5ng thanh to\xE1n s\u1ED1 1 Vi\u1EC7t Nam"}),(0,b.jsx)("meta",{name:"distribution",content:"Global"}),(0,b.jsx)("meta",{name:"author",content:"V\xED MoMo"}),(0,b.jsx)("meta",{property:"fb:app_id",content:"320653355376196"}),(0,b.jsx)("meta",{property:"fb:pages",content:"138010322921640"}),(0,b.jsx)("link",{rel:"shortcut icon",href:"/favicon.ico"}),(0,b.jsx)("link",{href:"https://www.momo.vn/favicon-32x32.png",rel:"icon",sizes:"32x32",type:"image/png"}),(0,b.jsx)("link",{href:"https://www.momo.vn/favicon-16x16.png",rel:"icon",sizes:"16x16",type:"image/png"}),(0,b.jsx)("link",{href:"https://www.momo.vn/apple-touch-icon.png",rel:"apple-touch-icon",sizes:"180x180"}),(0,b.jsx)("meta",{name:"language",content:"vietnamese"}),(0,b.jsx)("meta",{name:"copyright",content:"Copyright \xA9 2019 by MOMO.VN"}),(0,b.jsx)("meta",{name:"REVISIT-AFTER",content:"1 DAYS"}),(0,b.jsx)("meta",{name:"RATING",content:"GENERAL"}),(0,b.jsx)("meta",{httpEquiv:"x-dns-prefetch-control",content:"on"}),(0,b.jsx)("link",{rel:"dns-prefetch",href:"//www.google-analytics.com"}),(0,b.jsx)("link",{rel:"dns-prefetch",href:"//connect.facebook.net"}),(0,b.jsx)("link",{rel:"dns-prefetch",href:"//www.googletagservices.com"}),(0,b.jsx)("link",{rel:"dns-prefetch",href:"//www.googletagmanager.com"}),(0,b.jsx)("link",{rel:"dns-prefetch",href:"//facebook.com"}),(0,b.jsx)("link",{rel:"dns-prefetch",href:"//homepage.momocdn.net"}),(0,b.jsx)("link",{rel:"dns-prefetch",href:"//www.google.com"}),(0,b.jsx)("link",{rel:"dns-prefetch",href:"//www.google.com.vn"}),(0,b.jsx)("link",{rel:"dns-prefetch",href:"//www.googleadservices.com"}),(0,b.jsx)("link",{rel:"preconnect",href:"//connect.facebook.net"}),(0,b.jsx)("link",{rel:"preconnect",href:"//www.googletagmanager.com"}),(0,b.jsx)("link",{rel:"preconnect",href:"//www.google-analytics.com"}),(0,b.jsx)("link",{rel:"preconnect",href:"//googleads.g.doubleclick.net"}),(0,b.jsx)("link",{rel:"preconnect",href:"//homepage.momocdn.net"}),(0,b.jsx)("link",{rel:"preconnect",href:"//www.google.com"}),(0,b.jsx)("link",{rel:"preconnect",href:"//www.google.com.vn"}),(0,b.jsx)("link",{rel:"preconnect",href:"//www.googleadservices.com"}),(0,b.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:`{
|
|
266
|
+
)`,ml=({template:e,dataHeading:t,dataButtons:o,dataFeatures:a,dataStats:i,dataMedia:n,advancedComponent:l})=>{switch(e){case 1:return(0,Ae.jsx)(ni,{dataHeading:t,dataButtons:o,dataFeatures:a,dataStats:i,template:e,dataMedia:n,advancedComponent:l});case 2:return(0,Ae.jsx)(cn,{dataHeading:t,dataButtons:o,dataFeatures:a,dataStats:i,template:e,dataMedia:n,advancedComponent:l});case 3:return(0,Ae.jsx)(dn,{dataHeading:t,dataButtons:o,dataFeatures:a,dataStats:i,template:e,dataMedia:n,advancedComponent:l});default:return(0,Ae.jsx)(ni,{dataHeading:t,dataButtons:o,dataFeatures:a,dataStats:i,template:e,dataMedia:n,advancedComponent:l})}},cl=({template:e,dataHeading:t,dataButtons:o,dataFeatures:a,dataStats:i,dataMedia:n,advancedComponent:l})=>(0,Ae.jsx)(Ae.Fragment,{children:ml({template:e,dataHeading:t,dataButtons:o,dataFeatures:a,dataStats:i,dataMedia:n,advancedComponent:l})}),gn=(0,pn.forwardRef)(({template:e=1,dataHeading:t,dataButtons:o,dataFeatures:a,dataStats:i,dataMedia:n,className:l,background:c,advancedComponent:d=null})=>(0,Ae.jsx)(qe,{className:r(l),background:c??ll,children:(0,Ae.jsx)(cl,{dataButtons:o,template:e,dataHeading:t,dataFeatures:a,dataStats:i,dataMedia:n,advancedComponent:d})}));var H=g(require("html-react-parser"),1);var fn=require("@heroicons/react/16/solid");var s=require("react/jsx-runtime"),Ie=({btnLink:e,btnName:t,newTab:o})=>(0,s.jsx)(st,{variant:"primary",asChild:!0,children:(0,s.jsxs)("a",{href:e,target:o?"_blank":"_self",rel:"noreferrer",children:[t||"Xem chi ti\u1EBFt",(0,s.jsx)(fn.ChevronRightIcon,{className:"w-4 h-4"})]})}),si=({dataHeading:e,dataFeatures:t,dataButtons:o})=>(0,s.jsxs)(s.Fragment,{children:[e&&(0,s.jsx)(B,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:e?.align,colorScheme:"pink",sizeHeading:e?.sizeHeading,className:e?.className}),t&&(0,s.jsx)("div",{className:"list-features grid grid-cols-1 md:grid-cols-3 gap-8 lg:gap-12",children:t?.map((a,i)=>(0,s.jsxs)("div",{className:"feature-item relative w-full text-center flex flex-col",children:[(0,s.jsx)("div",{className:"w-16 h-16 mx-auto",children:(0,s.jsx)("img",{src:a?.image,alt:a?.name,className:"w-full h-full object-contain"})}),(0,s.jsxs)("div",{className:"w-full mt-4 flex-1",children:[(0,s.jsxs)("div",{className:"flex-1",children:[a?.name&&(0,s.jsx)("h3",{className:"text-lg font-semibold",children:(0,H.default)(a.name)}),a?.description&&(0,s.jsx)("div",{className:"text-gray-600 mt-2 text-base",children:(0,H.default)(a.description)})]}),a?.btnLink&&(0,s.jsx)("div",{className:"mt-4",children:(0,s.jsx)(Ie,{btnLink:a.btnLink,btnName:a?.btnName,newTab:a?.newTab})})]})]},i))}),o&&(0,s.jsx)(E,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:o?.align||"left"})]}),un=({dataHeading:e,dataFeatures:t,dataButtons:o})=>(0,s.jsxs)(s.Fragment,{children:[e&&(0,s.jsx)(B,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:e?.align,colorScheme:"pink",sizeHeading:e?.sizeHeading,className:e?.className}),t&&(0,s.jsx)("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)=>(0,s.jsxs)("div",{className:"feature-item p-5 overflow-hidden border border-gray-200 rounded-md relative w-full flex flex-col",children:[(0,s.jsx)("div",{className:"w-16 h-16",children:(0,s.jsx)("img",{src:a?.image,alt:a?.name,className:"w-full h-full object-contain"})}),(0,s.jsxs)("div",{className:"w-full mt-4 flex flex-1 flex-col",children:[(0,s.jsxs)("div",{className:"flex-1",children:[a?.name&&(0,s.jsx)("h3",{className:"text-lg font-semibold",children:(0,H.default)(a.name)}),a?.description&&(0,s.jsx)("div",{className:"text-gray-600 mt-2 text-base",children:(0,H.default)(a.description)})]}),a?.btnLink&&(0,s.jsx)("div",{className:"mt-4",children:(0,s.jsx)(Ie,{btnLink:a.btnLink,btnName:a?.btnName,newTab:a?.newTab})})]})]},i))}),o&&(0,s.jsx)(E,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:o?.align||"left"}),(0,s.jsx)("style",{children:`
|
|
267
|
+
.list-features-2 .feature-item {
|
|
268
|
+
background: linear-gradient(180deg, #FAFAFA 0%, rgba(255, 255, 255, 1) 91%);
|
|
269
|
+
}
|
|
270
|
+
`})]}),vn=({dataHeading:e,dataFeatures:t,dataButtons:o})=>(0,s.jsxs)(s.Fragment,{children:[e&&(0,s.jsx)(B,{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&&(0,s.jsx)("div",{className:"list-features grid grid-cols-1 md:grid-cols-3 gap-8 lg:gap-12",children:t?.map((a,i)=>(0,s.jsxs)("div",{className:"feature-item relative w-full flex flex-col",children:[(0,s.jsx)("div",{className:"w-16 h-16",children:(0,s.jsx)("img",{src:a?.image,alt:a?.name,className:"w-full h-full object-contain"})}),(0,s.jsxs)("div",{className:"w-full mt-4 flex-1",children:[(0,s.jsxs)("div",{className:"flex-1",children:[a?.name&&(0,s.jsx)("h3",{className:"text-lg font-semibold",children:(0,H.default)(a.name)}),a?.description&&(0,s.jsx)("div",{className:"text-gray-600 mt-2 text-base",children:(0,H.default)(a.description)})]}),a?.btnLink&&(0,s.jsx)("div",{className:"mt-4",children:(0,s.jsx)(Ie,{btnLink:a.btnLink,btnName:a?.btnName,newTab:a?.newTab})})]})]},i))}),o&&(0,s.jsx)(E,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:o?.align||"left"})]}),bn=({dataHeading:e,dataFeatures:t,dataButtons:o})=>(0,s.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-10 gap-0 lg:gap-12",children:[(0,s.jsxs)("div",{className:"lg:col-span-4 lg:flex lg:flex-col lg:justify-center",children:[e&&(0,s.jsx)(B,{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&&(0,s.jsx)(E,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:`hidden lg:flex ${o?.className}`,align:"left"})]}),(0,s.jsxs)("div",{className:"lg:col-span-6",children:[t&&(0,s.jsx)("div",{className:"list-features grid grid-cols-1 md:grid-cols-2 gap-6 md:gap-5",children:t?.map((a,i)=>(0,s.jsxs)("div",{className:"feature-item relative w-full flex flex-col border border-gray-200 rounded-lg p-5 bg-white",children:[(0,s.jsx)("div",{className:"w-16 h-16",children:(0,s.jsx)("img",{src:a?.image,alt:a?.name,className:"w-full h-full object-contain"})}),(0,s.jsxs)("div",{className:"w-full mt-4 flex flex-1 flex-col",children:[(0,s.jsxs)("div",{className:"flex-1",children:[a?.name&&(0,s.jsx)("h3",{className:"text-lg font-semibold",children:(0,H.default)(a.name)}),a?.description&&(0,s.jsx)("div",{className:"text-gray-600 mt-2 text-base",children:(0,H.default)(a.description)})]}),a?.btnLink&&(0,s.jsx)("div",{className:"mt-4",children:(0,s.jsx)(Ie,{btnLink:a.btnLink,btnName:a?.btnName,newTab:a?.newTab})})]})]},i))}),o&&(0,s.jsx)(E,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:`flex lg:hidden ${o?.className}`,align:o?.align||"left"})]})]}),hn=({dataHeading:e,dataFeatures:t,dataButtons:o})=>(0,s.jsxs)(s.Fragment,{children:[e&&(0,s.jsx)(B,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:e?.align,colorScheme:"pink",sizeHeading:e?.sizeHeading,className:e?.className}),t&&(0,s.jsx)("div",{className:"list-features grid grid-cols-1 md:grid-cols-2 gap-5 max-w-4xl mx-auto",children:t?.map((a,i)=>(0,s.jsxs)("div",{className:"feature-item relative w-full flex flex-col border border-gray-200 rounded-lg p-7 bg-white",children:[(0,s.jsx)("div",{className:"w-12 h-12 ",children:(0,s.jsx)("img",{src:a?.image,alt:a?.name,className:"w-full h-full object-contain"})}),(0,s.jsxs)("div",{className:"w-full mt-4 flex flex-1 flex-col",children:[(0,s.jsxs)("div",{className:"flex-1",children:[a?.name&&(0,s.jsx)("h3",{className:"text-lg font-semibold",children:(0,H.default)(a.name)}),a?.description&&(0,s.jsx)("div",{className:"text-gray-600 mt-2 text-base",children:(0,H.default)(a.description)})]}),a?.btnLink&&(0,s.jsx)("div",{className:"mt-4",children:(0,s.jsx)(Ie,{btnLink:a.btnLink,btnName:a?.btnName,newTab:a?.newTab})})]})]},i))}),o&&(0,s.jsx)(E,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:o?.align||"left"})]}),xn=({dataHeading:e,dataFeatures:t,dataButtons:o})=>(0,s.jsxs)(s.Fragment,{children:[e&&(0,s.jsx)(B,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:e?.align,colorScheme:"pink",sizeHeading:e?.sizeHeading,className:e?.className}),t&&(0,s.jsx)("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)=>(0,s.jsxs)("div",{className:"feature-item relative w-full",children:[(0,s.jsx)("div",{className:"w-12 h-12",children:(0,s.jsx)("img",{src:a?.image,alt:a?.name,className:"w-full h-full object-contain"})}),(0,s.jsxs)("div",{className:"w-full mt-3 flex flex-1 flex-col",children:[(0,s.jsxs)("div",{className:"flex-1",children:[a?.name&&(0,s.jsx)("h3",{className:"text-lg font-semibold",children:(0,H.default)(a.name)}),a?.description&&(0,s.jsx)("div",{className:"text-gray-500 mt-2 text-sm",children:(0,H.default)(a.description)})]}),a?.btnLink&&(0,s.jsx)("div",{className:"mt-4",children:(0,s.jsx)(Ie,{btnLink:a.btnLink,btnName:a?.btnName,newTab:a?.newTab})})]})]},i))}),o&&(0,s.jsx)(E,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:o?.align||"left"})]}),yn=({dataHeading:e,dataFeatures:t,dataButtons:o})=>(0,s.jsxs)(s.Fragment,{children:[e&&(0,s.jsx)(B,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:e?.align,colorScheme:"pink",sizeHeading:e?.sizeHeading,className:e?.className}),t&&(0,s.jsx)("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)=>(0,s.jsxs)("div",{className:"feature-item relative w-full flex gap-3",children:[(0,s.jsx)("div",{className:"w-12 h-12",children:(0,s.jsx)("img",{src:a?.image,alt:a?.name,className:"w-full h-full object-contain"})}),(0,s.jsxs)("div",{className:"w-full flex-1",children:[a?.name&&(0,s.jsx)("h3",{className:"text-lg font-semibold",children:(0,H.default)(a.name)}),a?.description&&(0,s.jsx)("div",{className:"text-gray-500 mt-2 text-sm",children:(0,H.default)(a.description)}),a?.btnLink&&(0,s.jsx)("div",{className:"mt-4",children:(0,s.jsx)(Ie,{btnLink:a.btnLink,btnName:a?.btnName,newTab:a?.newTab})})]})]},i))}),o&&(0,s.jsx)(E,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:o?.align||"left"})]}),wn=({dataHeading:e,dataFeatures:t,dataButtons:o})=>(0,s.jsxs)(s.Fragment,{children:[e&&(0,s.jsx)(B,{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&&(0,s.jsx)("div",{className:"list-features grid grid-cols-1 md:grid-cols-3 gap-6",children:t?.map((a,i)=>(0,s.jsxs)("div",{className:"feature-item relative w-full flex flex-col overflow-hidden bg-gray-100 rounded-xl",children:[(0,s.jsxs)("div",{className:"w-full flex flex-1 flex-col p-5",children:[(0,s.jsxs)("div",{className:"flex-1",children:[a?.name&&(0,s.jsx)("h3",{className:"text-lg font-semibold",children:(0,H.default)(a.name)}),a?.description&&(0,s.jsx)("div",{className:"text-gray-600 mt-2 text-base",children:(0,H.default)(a.description)})]}),a?.btnLink&&(0,s.jsx)("div",{className:"mt-4",children:(0,s.jsx)(Ie,{btnLink:a.btnLink,btnName:a?.btnName,newTab:a?.newTab})})]}),(0,s.jsx)("div",{className:"w-full",style:{aspectRatio:"347/220"},children:(0,s.jsx)("img",{src:a?.image,alt:a?.name,className:"w-full h-full object-contain"})})]},i))}),o&&(0,s.jsx)(E,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:o?.align||"left"})]}),Nn=({dataHeading:e,dataFeatures:t,dataButtons:o,dataBanner:a})=>(0,s.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-10 gap-10 lg:gap-14",children:[(0,s.jsx)("div",{className:"lg:col-span-6 flex items-center",children:(0,s.jsxs)("div",{className:"w-full",children:[e&&(0,s.jsx)(B,{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&&(0,s.jsx)("div",{className:"list-features grid grid-cols-1 md:grid-cols-2 gap-6 md:auto-cols-auto",children:t?.map((i,n)=>(0,s.jsxs)("div",{className:"feature-item relative w-full flex flex-col",children:[(0,s.jsx)("div",{className:"w-10 h-10",children:(0,s.jsx)("img",{src:i?.image,alt:i?.name,className:"w-full h-full object-contain"})}),(0,s.jsxs)("div",{className:"w-full mt-3 flex flex-1 flex-col",children:[(0,s.jsxs)("div",{className:"flex-1",children:[i?.name&&(0,s.jsx)("h3",{className:"text-lg font-semibold",children:(0,H.default)(i.name)}),i?.description&&(0,s.jsx)("div",{className:"text-gray-600 mt-2 text-base",children:(0,H.default)(i.description)})]}),i?.btnLink&&(0,s.jsx)("div",{className:"mt-4",children:(0,s.jsx)(Ie,{btnLink:i.btnLink,btnName:i?.btnName,newTab:i?.newTab})})]})]},n))}),o&&(0,s.jsx)(E,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:o?.align||"left"})]})}),a&&(0,s.jsx)("div",{className:"lg:col-span-4 flex items-center",children:(0,s.jsx)("div",{className:"max-w-md mx-auto w-full",children:(0,s.jsx)(pt,{ratio:a?.ratio||1,className:"w-full",children:(0,s.jsx)("img",{src:a?.src,alt:a?.alt,loading:"lazy",className:"h-full w-full object-cover"})})})})]}),Pn=({dataHeading:e,dataFeatures:t,dataBanner:o,dataButtons:a})=>(0,s.jsxs)(s.Fragment,{children:[e&&(0,s.jsx)(B,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:e?.align,colorScheme:"pink",sizeHeading:e?.sizeHeading,className:e?.className}),(0,s.jsx)("div",{className:r("relative flex items-center",o&&"lg:min-h-[590px]"),children:t&&(0,s.jsxs)("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)=>(0,s.jsxs)("div",{className:r("feature-item relative w-full",o&&"lg:basis-1/2 odd:lg:pr-48 even:lg:pl-48"),children:[(0,s.jsx)("div",{className:"w-12 h-12",children:(0,s.jsx)("img",{src:i?.image,alt:i?.name,className:"w-full h-full object-contain"})}),(0,s.jsxs)("div",{className:"w-full mt-3 flex flex-1 flex-col",children:[(0,s.jsxs)("div",{className:"flex-1",children:[i?.name&&(0,s.jsx)("h3",{className:"text-lg font-semibold",children:(0,H.default)(i.name)}),i?.description&&(0,s.jsx)("div",{className:"text-gray-500 mt-2",children:(0,H.default)(i.description)})]}),i?.btnLink&&(0,s.jsx)("div",{className:"mt-4",children:(0,s.jsx)(Ie,{btnLink:i.btnLink,btnName:i?.btnName,newTab:i?.newTab})})]})]},n)),o&&(0,s.jsxs)("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:[(0,s.jsx)("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"}}),(0,s.jsx)("div",{className:"w-full h-full bg-gray-100 overflow-hidden",style:{borderRadius:"30px"},children:(0,s.jsx)("img",{src:o?.src,alt:o?.alt,className:"w-full h-full object-contain"})})]})]})}),a&&(0,s.jsx)(E,{isFullInMobile:a?.isFullInMobile,buttons:a?.buttons,className:a?.className,align:a?.align||"left"})]});var Z=require("react/jsx-runtime"),dl=({template:e,dataHeading:t,dataFeatures:o,dataButtons:a,dataBanner:i})=>{switch(e){case 1:return(0,Z.jsx)(si,{dataHeading:t,dataFeatures:o,dataButtons:a});case 2:return(0,Z.jsx)(un,{dataHeading:t,dataFeatures:o,dataButtons:a});case 3:return(0,Z.jsx)(vn,{dataHeading:t,dataFeatures:o,dataButtons:a});case 4:return(0,Z.jsx)(bn,{dataHeading:t,dataFeatures:o,dataButtons:a});case 5:return(0,Z.jsx)(hn,{dataHeading:t,dataFeatures:o,dataButtons:a});case 6:return(0,Z.jsx)(xn,{dataHeading:t,dataFeatures:o,dataButtons:a});case 7:return(0,Z.jsx)(yn,{dataHeading:t,dataFeatures:o,dataButtons:a});case 8:return(0,Z.jsx)(wn,{dataHeading:t,dataFeatures:o,dataButtons:a});case 9:return(0,Z.jsx)(Nn,{dataHeading:t,dataFeatures:o,dataButtons:a,dataBanner:i});case 10:return(0,Z.jsx)(Pn,{dataHeading:t,dataFeatures:o,dataBanner:i,dataButtons:a});default:return(0,Z.jsx)(si,{dataHeading:t,dataFeatures:o,dataButtons:a})}},pl=({template:e,dataHeading:t,dataFeatures:o,dataButtons:a,dataBanner:i})=>(0,Z.jsx)(Z.Fragment,{children:dl({template:e,dataHeading:t,dataFeatures:o,dataButtons:a,dataBanner:i})}),Cn=({template:e=1,background:t,className:o,idSection:a,dataHeading:i,dataFeatures:n,dataButtons:l,dataBanner:c})=>(0,Z.jsx)(qe,{className:o,idSection:a,background:t,children:(0,Z.jsx)(pl,{template:e,dataHeading:i,dataFeatures:n,dataButtons:l,dataBanner:c})});var Rn=g(require("react"),1),Le=g(require("@radix-ui/react-slider"),1);var gt=require("react/jsx-runtime"),li=Rn.forwardRef(({className:e,...t},o)=>(0,gt.jsxs)(Le.Root,{ref:o,className:r("relative flex w-full touch-none select-none items-center",t?.disabled&&"opacity-40",e),...t,children:[(0,gt.jsx)(Le.Track,{className:"relative h-2 w-full grow overflow-hidden rounded-full bg-gray-200",children:(0,gt.jsx)(Le.Range,{className:"absolute h-full bg-pink-500"})}),(0,gt.jsx)(Le.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"}),(0,gt.jsx)(Le.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"})]}));li.displayName=Le.Root.displayName;var N=require("react/jsx-runtime"),Tn=({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(0,N.jsxs)(N.Fragment,{children:[e&&(0,N.jsx)(B,{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&&(0,N.jsx)("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((l,c)=>(0,N.jsx)("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:(0,N.jsx)("div",{className:"w-auto max-w-36 flex justify-center items-center",children:l?.url?(0,N.jsx)("a",{href:l?.url,title:l?.name,target:l?.newTab?"_blank":"_self",className:"group",children:(0,N.jsx)("img",{src:l?.logo,loading:"lazy",alt:l?.name,className:"object-contain transition transform group-hover:scale-105"})}):(0,N.jsx)("img",{src:l?.logo,loading:"lazy",alt:l?.name,className:"object-contain"})})},c))}),o&&(0,N.jsx)(E,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:o?.align||"center"})]})},gl=({dataHeading:e,dataBrands:t,dataButtons:o,isScrollSnap:a})=>(0,N.jsxs)(N.Fragment,{children:[e&&(0,N.jsx)(B,{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&&(0,N.jsx)("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)=>(0,N.jsx)("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?(0,N.jsx)("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:(0,N.jsx)("div",{className:"w-auto max-w-36 flex justify-center items-center",children:(0,N.jsx)("img",{src:i?.logo,loading:"lazy",alt:i?.name,className:"object-contain"})})}):(0,N.jsx)("div",{className:"flex justify-center items-center rounded-md border border-gray-200 w-full h-full p-3",children:(0,N.jsx)("div",{className:"w-auto max-w-36 flex justify-center items-center",children:(0,N.jsx)("img",{src:i?.logo,loading:"lazy",alt:i?.name,className:"object-contain"})})})},n))}),o&&(0,N.jsx)(E,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:o?.align||"center"})]}),fl=({template:e,dataHeading:t,dataBrands:o,dataButtons:a,spaceX:i,isScrollSnap:n})=>{switch(e){case 1:return(0,N.jsx)(Tn,{dataHeading:t,dataBrands:o,dataButtons:a,spaceX:i,isScrollSnap:n});case 2:return(0,N.jsx)(gl,{dataHeading:t,dataBrands:o,dataButtons:a,isScrollSnap:n});default:return(0,N.jsx)(Tn,{dataHeading:t,dataBrands:o,dataButtons:a,spaceX:i,isScrollSnap:n})}},ul=({template:e,dataHeading:t,dataBrands:o,dataButtons:a,spaceX:i,isScrollSnap:n})=>(0,N.jsx)(N.Fragment,{children:fl({template:e,dataHeading:t,dataBrands:o,dataButtons:a,spaceX:i,isScrollSnap:n})}),kn=({template:e=1,background:t,className:o,idSection:a,dataHeading:i,dataBrands:n,dataButtons:l,spaceX:c="spacingXl",isScrollSnap:d})=>(0,N.jsx)(qe,{className:o,idSection:a,background:t,children:(0,N.jsx)(ul,{template:e,dataHeading:i,dataBrands:n,dataButtons:l,spaceX:c,isScrollSnap:d})});var et=g(require("react"),1),Sn=require("class-variance-authority");var Dn=require("@heroicons/react/16/solid"),Mn=require("lucide-react"),G=require("react/jsx-runtime"),vl=(0,Sn.cva)("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"}}),An=et.createContext("default");function bl(){let e=et.useContext(An);if(!e)throw new Error("ProgressStepsItem must be used within a ProgressSteps");return e}var hl=et.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?(0,G.jsx)(Mn.XIcon,{className:n}):(0,G.jsxs)("div",{children:[e==="iconStep"&&(0,G.jsx)("div",{className:n,children:t}),e==="numberStep"&&(0,G.jsx)("div",{children:o}),e==="default"&&(0,G.jsx)(Dn.CheckIcon,{className:n})]})}),In=({step:e,currentStep:t,onValueChangeStep:o,children:a})=>{let i=et.useCallback(()=>{e!==t&&o(e)},[e,t,o]);return(0,G.jsx)("div",{onClick:i,className:"flex w-full flex-col items-center justify-center gap-1 cursor-pointer",children:a})},Ln=({step:e,state:t="default",size:o="default",className:a,title:i,description:n,lastStep:l,fristStep:c,icon:d,isError:p,onValueChangeStep:v,...T})=>{let W=bl();return(0,G.jsxs)("div",{className:r("flex w-full flex-col items-center justify-center gap-1"),children:[(0,G.jsxs)("div",{className:"flex w-full items-center justify-center gap-2",children:[(0,G.jsx)("div",{className:r("flex h-px grow shrink-0 basis-0 bg-gray-200",c&&"opacity-0",t==="active"&&"bg-pink-300",t==="completed"&&"bg-pink-300")}),(0,G.jsx)("div",{className:r("flex h-7 w-7 items-center justify-center rounded-full",vl({state:t,size:o}),p&&"bg-red-500 text-white shadow-none",a),...T,children:(0,G.jsx)(hl,{type:W,icon:d,stepNumber:e,size:o,isError:p})}),(0,G.jsx)("div",{className:r("flex h-px grow shrink-0 basis-0 bg-gray-200",l&&"opacity-0",t==="completed"&&"bg-pink-300")})]}),(0,G.jsxs)("div",{className:"text-center w-full flex flex-col items-center mt-2 px-0.5",children:[i&&(0,G.jsx)("div",{className:"text-xs font-bold text-slate-900 ",children:i}),n&&(0,G.jsx)("div",{className:"text-xs text-gray-500 ",children:n})]})]})},En=({children:e,className:t,type:o="numberStep",...a})=>(0,G.jsx)(An.Provider,{value:o,children:(0,G.jsx)("div",{className:r("flex items-start justify-between w-full",t),...a,children:e})});var ts=g(require("color"),1),os=g(require("tailwindcss/plugin.js"),1);var Y="250ms",_n={".transition-all":{"transition-property":"all","transition-timing-function":"ease","transition-duration":Y},".transition-background":{"transition-property":"background","transition-timing-function":"ease","transition-duration":Y},".transition":{"transition-property":"color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter","transition-timing-function":"ease","transition-duration":Y},".transition-colors":{"transition-property":"color, background-color, border-color, text-decoration-color, fill, stroke","transition-timing-function":"ease","transition-duration":Y},".transition-opacity":{"transition-property":"opacity","transition-timing-function":"ease","transition-duration":Y},".transition-colors-opacity":{"transition-property":"color, background-color, border-color, text-decoration-color, fill, stroke, opacity","transition-timing-function":"ease","transition-duration":Y},".transition-width":{"transition-property":"width","transition-timing-function":"ease","transition-duration":Y},".transition-height":{"transition-property":"height","transition-timing-function":"ease","transition-duration":Y},".transition-size":{"transition-property":"width, height","transition-timing-function":"ease","transition-duration":Y},".transition-left":{"transition-property":"left","transition-timing-function":"ease","transition-duration":Y},".transition-shadow":{"transition-property":"box-shadow","transition-timing-function":"ease","transition-duration":Y},".transition-transform":{"transition-property":"transform","transition-timing-function":"ease","transition-duration":Y},".transition-transform-opacity":{"transition-property":"transform, opacity","transition-timing-function":"ease","transition-duration":Y},".transition-transform-background":{"transition-property":"transform, background","transition-timing-function":"ease","transition-duration":Y},".transition-transform-colors":{" transition-property":"transform, color, background, background-color, border-color, text-decoration-color, fill, stroke","transition-timing-function":"ease","transition-duration":Y},".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":Y}};var Hn={".leading-inherit":{"line-height":"inherit"},".bg-img-inherit":{"background-image":"inherit"},".bg-clip-inherit":{"background-clip":"inherit"},".text-fill-inherit":{"-webkit-text-fill-color":"inherit"},".tap-highlight-transparent":{"-webkit-tap-highlight-color":"transparent"},"*":{"border-color":"rgb(var(--mobase-gray-300))"}};var Fn={".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 zn={...Hn,..._n,...Fn};var Bn=require("flat");function xl(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 Vn=e=>xl((0,Bn.flatten)(e,{safe:!0,delimiter:"-"}));var Ao=16,yl=[.5,1,1.5,2,2.5,3,3.5,4,5,6,7,8,9,10,11,12,14,16,18],wl=[20,24,28,32,36,40,44,48,52,56,60,64,72,80,96],On=e=>{let t={xs:2,sm:3,md:4,lg:5.5,xl:9,"2xl":12,"3xl":20,"4xl":30,"5xl":56,"6xl":72,"7xl":96,"8xl":128,"9xl":160},o={0:"0px"};return Object.entries(t).forEach(([a,i])=>{o[a]=i?`${e*i/Ao}rem`:`${e/Ao}rem`}),yl.forEach(a=>{let i=`${a}`;if(i.includes(".")){let[n,l]=i.split(".");i=`${n}_${l}`}o[i]=`${e*a/Ao}rem`}),wl.forEach(a=>{let i=`${a}`;o[i]=`${e*a/Ao}rem`}),o};var Wn={50:"#eef8ff",100:"#d9eeff",200:"#bce1ff",300:"#8ed0ff",400:"#59b4ff",500:"#429cff",600:"#1b74f5",700:"#145ee1",800:"#174bb6",900:"#19428f",DEFAULT:"#429cff"};var Gn={50:"#f1fcf3",100:"#dff9e5",200:"#c0f2cc",300:"#8fe6a4",400:"#57d175",500:"#34c759",600:"#22973f",700:"#1e7735",800:"#1d5e2e",900:"#194e28",DEFAULT:"#34c759"};var $n={50:"#fef1f9",100:"#fee5f6",200:"#fecced",300:"#ffa2df",400:"#fe68c6",500:"#EB2F96",600:"#D42A87",700:"#CB0B6F",800:"#A70D5B",900:"#8B104E",DEFAULT:"#EB2F96"};var jn={50:"#faf5ff",100:"#f4e9fe",200:"#ead6fe",300:"#dab6fc",400:"#c487f9",500:"#ab55f3",600:"#9937e6",700:"#8326ca",800:"#6f24a5",900:"#5b1e85",DEFAULT:"#ab55f3"};var Un={50:"#fff1f2",100:"#ffe1e3",200:"#ffc8cb",300:"#ffa1a6",400:"#fe6b73",500:"#f74e57",600:"#e41e29",700:"#c0151e",800:"#9e161d",900:"#83191f",DEFAULT:"#f74e57"};var qn={50:"#fffee7",100:"#fffec1",200:"#fff886",300:"#ffec41",400:"#ffdb0d",500:"#ffcc00",600:"#d19500",700:"#a66a02",800:"#89530a",900:"#74430f",DEFAULT:"#ffcc00"};var Qn={50:"#fff4ed",100:"#ffe6d5",200:"#fecaaa",300:"#fea473",400:"#fc743b",500:"#fa541c",600:"#eb350b",700:"#c3240b",800:"#9b1e11",900:"#7c1c12",DEFAULT:"#fa541c"};var Xn={50:"#FAFAFA",100:"#F5F5F5",200:"#E5E5E5",300:"#D4D4D4",400:"#A3A3A3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",DEFAULT:"#737373"};var Zn={white:"#ffffff",black:"#000000",blue:Wn,green:Gn,pink:$n,purple:jn,red:Un,yellow:qn,gray:Xn,orange:Qn};var mi={...Zn};var Kn={"spacing-unit":4,"disabled-opacity":.5,"font-size":{xxs:"0.625rem",xs:"0.75rem",sm:"0.875rem",base:"1rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.875rem","4xl":"2.25rem","5xl":"3rem","6xl":"3.75rem","7xl":"4.5rem","8xl":"6rem","9xl":"8rem"},radius:{sm:"0.125rem",base:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem"},"z-index":{negative:"-1",workbench:"0",default:"1","workbench-header":"10",modal:"100","modal-content":"101",dropdown:"1000",tooltip:"10000",notification:"100000"},"box-shadow":{small:"0px 0px 5px 0px rgb(0 0 0 / 0.02), 0px 2px 10px 0px rgb(0 0 0 / 0.06), 0px 0px 1px 0px rgb(0 0 0 / 0.3)",medium:"0px 0px 15px 0px rgb(0 0 0 / 0.03), 0px 2px 30px 0px rgb(0 0 0 / 0.08), 0px 0px 1px 0px rgb(0 0 0 / 0.3)",large:"0px 0px 30px 0px rgb(0 0 0 / 0.04), 0px 30px 60px 0px rgb(0 0 0 / 0.12), 0px 0px 1px 0px rgb(0 0 0 / 0.3)"}};var Yn={animation:{"accordion-down":"accordion-down 0.2s ease-out","accordion-up":"accordion-up 0.2s ease-out","spin-loading":"spin 1s steps(12, end) infinite","fade-in":"fade-in 250ms cubic-bezier(0.25, 0.46, 0.45, 0.94) both"},keyframes:{"accordion-down":{from:{height:"0"},to:{height:"var(--radix-accordion-content-height)"}},"accordion-up":{from:{height:"var(--radix-accordion-content-height)"},to:{height:"0"}},"fade-in":{"0%":{opacity:"0"},"100%":{opacity:"1"}}}};function Jn(e){return{xxs:[`var(--${e}-font-size-xxs)`,{lineHeight:"1rem"}],xs:[`var(--${e}-font-size-xs)`,{lineHeight:"1rem"}],sm:[`var(--${e}-font-size-sm)`,{lineHeight:"1.25rem"}],base:[`var(--${e}-font-size-base)`,{lineHeight:"1.5rem"}],lg:[`var(--${e}-font-size-lg)`,{lineHeight:"1.75rem"}],xl:[`var(--${e}-font-size-xl)`,{lineHeight:"1.75rem"}],"2xl":[`var(--${e}-font-size-2xl)`,{lineHeight:"2rem"}],"3xl":[`var(--${e}-font-size-3xl)`,{lineHeight:"2.25rem"}],"4xl":[`var(--${e}-font-size-4xl)`,{lineHeight:"2.5rem"}],"5xl":[`var(--${e}-font-size-5xl)`,{lineHeight:"3.5rem",letterSpacing:"-0.075rem"}],"6xl":[`var(--${e}-font-size-6xl)`,{lineHeight:"4.5rem",letterSpacing:"-0.09375rem"}],"7xl":[`var(--${e}-font-size-7xl)`,{lineHeight:"5rem",letterSpacing:"-0.1125rem"}],"8xl":[`var(--${e}-font-size-8xl)`,{lineHeight:"6.5rem",letterSpacing:"-0.15rem"}],"9xl":[`var(--${e}-font-size-9xl)`,{lineHeight:"8rem",letterSpacing:"-0.2rem"}]}}function es(e){return{sm:`var(--${e}-radius-sm)`,DEFAULT:`var(--${e}-radius-base)`,md:`var(--${e}-radius-md)`,lg:`var(--${e}-radius-lg)`,xl:`var(--${e}-radius-xl)`,"2xl":`var(--${e}-radius-2xl)`,"3xl":`var(--${e}-radius-3xl)`}}var Nl=e=>{let t={utilities:{},colors:{}},o=Vn(mi),a=Kn,i=":root";return t.utilities[i]={},Object.entries(o).forEach(([n,l])=>{if(l)try{let[c,d,p]=(0,ts.default)(l).rgb().array(),v=`--${e}-${n}`;t.utilities[i][v]=`${c} ${d} ${p}`,t.colors[n]=`rgb(var(${v}) / <alpha-value>)`}catch(c){console.log("error",c?.message)}}),Object.entries(a).forEach(([n,l])=>{if(!l)return;let c=`--${e}-${n}`;if(typeof l=="object")Object.entries(l).forEach(([d,p])=>{let v=`${c}-${d}`;t.utilities[i][v]=p});else if(n==="spacing-unit"){t.utilities[i][c]=l;let d=On(Number(l));Object.entries(d).forEach(([p,v])=>{let T=`${c}-${p}`;t.utilities[i][T]=v})}else{let d=c.includes("opacity")&&typeof l=="number"?l.toString().replace(/^0\./,"."):l;t.utilities[i][c]=d}}),t},as=()=>{let e="mobase",t=Nl(e);return(0,os.default)(({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({...zn})},{theme:{container:{center:!0},screens:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},aspectRatio:{auto:"auto",square:"1 / 1",video:"16 / 9",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13",14:"14",15:"15",16:"16"},extend:{fontFamily:{sans:["-apple-system","BlinkMacSystemFont","Segoe UI","Helvetica","Arial","sans-serif","Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"],mono:["SFMono-Regular","Consolas","Liberation Mono","Menlo","monospace"]},colors:{...mi,...t?.colors,border:"rgba(var(--border))"},boxShadow:{small:`var(--${e}-box-shadow-small)`,medium:`var(--${e}-box-shadow-medium)`,large:`var(--${e}-box-shadow-large)`},zIndex:{negative:`var(--${e}-z-index-negative)`,workbench:`var(--${e}-z-index-workbench)`,default:`var(--${e}-z-index-default)`,"workbench-header":`var(--${e}-z-index-workbench-header)`,modal:`var(--${e}-z-index-modal)`,"modal-content":`var(--${e}-z-index-modal-content)`,dropdown:`var(--${e}-z-index-dropdown)`,tooltip:`var(--${e}-z-index-tooltip)`,notification:`var(--${e}-z-index-notification)`},borderRadius:{...es(e)},fontSize:{...Jn(e)},...Yn}}})};var b=require("react/jsx-runtime"),is=(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)("meta",{name:"abstract",content:"V\xED \u0111i\u1EC7n t\u1EED MoMo - Si\xEAu \u1EE9ng d\u1EE5ng thanh to\xE1n s\u1ED1 1 Vi\u1EC7t Nam"}),(0,b.jsx)("meta",{name:"distribution",content:"Global"}),(0,b.jsx)("meta",{name:"author",content:"V\xED MoMo"}),(0,b.jsx)("meta",{property:"fb:app_id",content:"320653355376196"}),(0,b.jsx)("meta",{property:"fb:pages",content:"138010322921640"}),(0,b.jsx)("link",{rel:"shortcut icon",href:"/favicon.ico"}),(0,b.jsx)("link",{href:"https://www.momo.vn/favicon-32x32.png",rel:"icon",sizes:"32x32",type:"image/png"}),(0,b.jsx)("link",{href:"https://www.momo.vn/favicon-16x16.png",rel:"icon",sizes:"16x16",type:"image/png"}),(0,b.jsx)("link",{href:"https://www.momo.vn/apple-touch-icon.png",rel:"apple-touch-icon",sizes:"180x180"}),(0,b.jsx)("meta",{name:"language",content:"vietnamese"}),(0,b.jsx)("meta",{name:"copyright",content:"Copyright \xA9 2019 by MOMO.VN"}),(0,b.jsx)("meta",{name:"REVISIT-AFTER",content:"1 DAYS"}),(0,b.jsx)("meta",{name:"RATING",content:"GENERAL"}),(0,b.jsx)("meta",{httpEquiv:"x-dns-prefetch-control",content:"on"}),(0,b.jsx)("link",{rel:"dns-prefetch",href:"//www.google-analytics.com"}),(0,b.jsx)("link",{rel:"dns-prefetch",href:"//connect.facebook.net"}),(0,b.jsx)("link",{rel:"dns-prefetch",href:"//www.googletagservices.com"}),(0,b.jsx)("link",{rel:"dns-prefetch",href:"//www.googletagmanager.com"}),(0,b.jsx)("link",{rel:"dns-prefetch",href:"//facebook.com"}),(0,b.jsx)("link",{rel:"dns-prefetch",href:"//homepage.momocdn.net"}),(0,b.jsx)("link",{rel:"dns-prefetch",href:"//www.google.com"}),(0,b.jsx)("link",{rel:"dns-prefetch",href:"//www.google.com.vn"}),(0,b.jsx)("link",{rel:"dns-prefetch",href:"//www.googleadservices.com"}),(0,b.jsx)("link",{rel:"preconnect",href:"//connect.facebook.net"}),(0,b.jsx)("link",{rel:"preconnect",href:"//www.googletagmanager.com"}),(0,b.jsx)("link",{rel:"preconnect",href:"//www.google-analytics.com"}),(0,b.jsx)("link",{rel:"preconnect",href:"//googleads.g.doubleclick.net"}),(0,b.jsx)("link",{rel:"preconnect",href:"//homepage.momocdn.net"}),(0,b.jsx)("link",{rel:"preconnect",href:"//www.google.com"}),(0,b.jsx)("link",{rel:"preconnect",href:"//www.google.com.vn"}),(0,b.jsx)("link",{rel:"preconnect",href:"//www.googleadservices.com"}),(0,b.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:`{
|
|
239
271
|
"@context": "https://schema.org/",
|
|
240
272
|
"@type": "WebSite",
|
|
241
273
|
"@id":"https://www.momo.vn/#website",
|
|
@@ -280,5 +312,5 @@
|
|
|
280
312
|
"https://www.linkedin.com/company/momo-mservice/",
|
|
281
313
|
"https://github.com/momo-wallet"
|
|
282
314
|
]
|
|
283
|
-
}`}})]});0&&(module.exports={Accordion,AccordionContent,AccordionItem,AccordionTrigger,ActionButton,AlertDialog,AlertDialogAction,AlertDialogCancel,AlertDialogContent,AlertDialogDescription,AlertDialogFooter,AlertDialogHeader,AlertDialogOverlay,AlertDialogPortal,AlertDialogTitle,AlertDialogTrigger,AspectRatio,Badge,Breadcrumb,BreadcrumbEllipsis,BreadcrumbItem,BreadcrumbLink,BreadcrumbList,BreadcrumbPage,BreadcrumbSeparator,Button,Calendar,Callout,Card,CardContent,CardDescription,CardFooter,CardHeader,CardTitle,Checkbox,ChoiceboxGroup,ChoiceboxGroupItem,ChoiceboxMultiItem,Combobox,ComboboxContent,ComboboxTrigger,Command,CommandDialog,CommandEmpty,CommandGroup,CommandInput,CommandItem,CommandList,CommandSeparator,CommandShortcut,DatePicker,Dialog,DialogBody,DialogClose,DialogContent,DialogDescription,DialogFooter,DialogHeader,DialogOverlay,DialogPortal,DialogQr,DialogTitle,DialogTrigger,FeatureSection,Footer,HeaderNavigation,Heading,HeadingGroup,HeadingSub,HeadingTagline,HeroSection,IconButton,LightBoxContent,LightboxGallery,LightboxThumbnail,NavigationMenu,NavigationMenuContent,NavigationMenuItem,NavigationMenuLink,NavigationMenuList,NavigationMenuTrigger,Pagination,Popover,PopoverContent,PopoverTrigger,Progressbar,RadioGroup,RadioGroupItem,SearchBar,Select,SelectContent,SelectGroup,SelectItem,SelectLabel,SelectScrollDownButton,SelectScrollUpButton,SelectSeparator,SelectTrigger,SelectValue,SiteMeta,Slider,SocialProofSection,Stepper,Switch,Tabs,TabsContent,TabsList,TabsTrigger,TextArea,TextButton,TextInput,ToastAction,Toaster,Tooltip,TooltipArrow,TooltipContent,TooltipProvider,TooltipTrigger,badgeVariants,buttonVariants,mobaseTW,navigationMenuTriggerStyle,textButtonVariants,toast,useToast});
|
|
315
|
+
}`}})]});0&&(module.exports={Accordion,AccordionContent,AccordionItem,AccordionTrigger,ActionButton,AlertDialog,AlertDialogAction,AlertDialogCancel,AlertDialogContent,AlertDialogDescription,AlertDialogFooter,AlertDialogHeader,AlertDialogOverlay,AlertDialogPortal,AlertDialogTitle,AlertDialogTrigger,AspectRatio,Badge,Breadcrumb,BreadcrumbEllipsis,BreadcrumbItem,BreadcrumbLink,BreadcrumbList,BreadcrumbPage,BreadcrumbSeparator,Button,Calendar,Callout,Card,CardContent,CardDescription,CardFooter,CardHeader,CardTitle,Carousel,CarouselContent,CarouselItem,CarouselNext,CarouselPrevious,Checkbox,ChoiceboxGroup,ChoiceboxGroupItem,ChoiceboxMultiItem,Combobox,ComboboxContent,ComboboxTrigger,Command,CommandDialog,CommandEmpty,CommandGroup,CommandInput,CommandItem,CommandList,CommandSeparator,CommandShortcut,DatePicker,Dialog,DialogBody,DialogClose,DialogContent,DialogDescription,DialogFooter,DialogHeader,DialogOverlay,DialogPortal,DialogQr,DialogTitle,DialogTrigger,FeatureSection,Footer,HeaderNavigation,Heading,HeadingGroup,HeadingSub,HeadingTagline,HeroSection,IconButton,LightBoxContent,LightboxGallery,LightboxThumbnail,NavigationMenu,NavigationMenuContent,NavigationMenuItem,NavigationMenuLink,NavigationMenuList,NavigationMenuTrigger,Pagination,Popover,PopoverContent,PopoverTrigger,ProgressSteps,ProgressStepsItem,ProgressStepsItemTrigger,Progressbar,RadioGroup,RadioGroupItem,SearchBar,Select,SelectContent,SelectGroup,SelectItem,SelectLabel,SelectScrollDownButton,SelectScrollUpButton,SelectSeparator,SelectTrigger,SelectValue,SiteMeta,Slider,SocialProofSection,Stepper,Switch,Tabs,TabsContent,TabsList,TabsTrigger,TestimonialSection,TextArea,TextButton,TextInput,ToastAction,Toaster,Tooltip,TooltipArrow,TooltipContent,TooltipProvider,TooltipTrigger,badgeVariants,buttonVariants,mobaseTW,navigationMenuTriggerStyle,textButtonVariants,toast,useToast});
|
|
284
316
|
//# sourceMappingURL=index.cjs.map
|