@momo-webplatform/mobase 0.2.14 → 0.2.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/esm/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import*as Be from"react";import*as G from"@radix-ui/react-accordion";import{ChevronDown as Oi}from"lucide-react";import{clsx as _i}from"clsx";import{twMerge as Bi}from"tailwind-merge";var lo={heading:"V\u1EC1 ch\xFAng t\xF4i",lists:[{title:"Gi\u1EDBi thi\u1EC7u",url:"/sieu-ung-dung-momo",newTab:!1},{title:"An to\xE0n - B\u1EA3o m\u1EADt",url:"/an-toan-bao-mat",newTab:!1},{title:"\u0110i\u1EC1u kho\u1EA3n \u0111i\u1EC1u l\u1EC7",url:"/dieu-khoan-dieu-le",newTab:!1},{title:"Ch\xEDnh s\xE1ch quy\u1EC1n ri\xEAng t\u01B0",url:"/chinh-sach-quyen-rieng-tu",newTab:!1},{title:"\u0110i\u1EC1u kho\u1EA3n li\xEAn k\u1EBFt Google tr\xEAn \u1EE9ng d\u1EE5ng MoMo",url:"/google-cloud-policy",newTab:!1},{title:"Blog",url:"/blog",newTab:!1},{title:"Li\xEAn h\u1EC7",url:"/lienhe",newTab:!1},{title:"H\u1ECFi \u0111\xE1p",url:"/hoi-dap",newTab:!1}]},te={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"}},mo="https://www.momo.vn/",co={Address:"L\u1EA7u 6, To\xE0 nh\xE0 Ph\xFA M\u1EF9 H\u01B0ng, s\u1ED1 8 Ho\xE0ng V\u0103n Th\xE1i, khu ph\u1ED1 1, Ph\u01B0\u1EDDng T\xE2n Ph\xFA, Qu\u1EADn 7, Th\xE0nh ph\u1ED1 H\u1ED3 Ch\xED Minh"};var _e=[{Name:"Facebook",Image:"https://homepage.momocdn.net/styles/desktop/images/social/facebook.svg",Link:"https://www.facebook.com/vimomo"},{Name:"Linkedin",Image:"https://homepage.momocdn.net/styles/desktop/images/social/linkedin.svg",Link:"https://www.linkedin.com/company/momo-mservice/"},{Name:"Youtube",Image:"https://homepage.momocdn.net/styles/desktop/images/social/youtube.svg",Link:"https://www.youtube.com/channel/UCKHHW-qL2JoZqcSNm1jPlqw"}],St=[{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"}],po=[{Name:"V\xE9 xem phim",Href:"/cinema",Image:"https://homepage.momocdn.net/fileuploads/svg/momo-file-230629144722.svg"},{Name:"B\u1EA3o hi\u1EC3m \xD4 t\xF4",Href:"/bao-hiem-o-to/vat-chat",Image:"https://homepage.momocdn.net/fileuploads/svg/momo-file-230629144844.svg"},{Name:"V\xE9 m\xE1y bay",Href:"/ve-may-bay",Image:"https://homepage.momocdn.net/fileuploads/svg/momo-file-201210145350.svg"},{Name:"Kh\xE1ch s\u1EA1n",Href:"/khach-san-theo-gio",Image:"https://homepage.momocdn.net/fileuploads/svg/momo-file-210315154805.svg"},{Name:"V\xED nh\xE2n \xE1i",Href:"/vi-nhan-ai",Image:"https://homepage.momocdn.net/img/momo-upload-api-231214222240-638381893608141712.png"},{Name:"T\xFAi th\u1EA7n t\xE0i",Href:"/tui-than-tai",Image:"https://homepage.momocdn.net/fileuploads/svg/momo-file-210716153611.svg"},{Name:"V\xED tr\u1EA3 sau",Href:"/vi-tra-sau",Image:"https://homepage.momocdn.net/img/momo-upload-api-230629144414-638236466540028217.png"},{Name:"Vay nhanh",Href:"/vay-nhanh",Image:"https://homepage.momocdn.net/img/momo-upload-api-230418101312-638174095928506551.png"}];var $={Business:{Phome:"1900636652",Phome_Format:"1900 636 652 (Ph\xED 1.000\u0111/ph\xFAt)",Email:"merchant.care@momo.vn"},Support:{Hotline:"1900545441",Hotline_Format:"1900 5454 41",Phone_Ext_1:"02873065555",Phone_Ext_1_Format:"028.7306.5555",Phone_Ext_2:"02899995555",Phone_Ext_2_Format:"028.9999.5555",Email:"hotro@momo.vn"}},At="nav_footer";function a(...e){return Bi(_i(e))}var fo=({link:e,query:t={}})=>{if(!e)return"";let o=new URL(e,mo||""),i=new URLSearchParams(o.search);return Object.entries(t).forEach(([r,n])=>{n&&i.append(r,n)}),o.search=i.toString(),o.toString()};import{jsx as Ce,jsxs as Vi}from"react/jsx-runtime";var ot=Be.forwardRef(({className:e,...t},o)=>Ce(G.Root,{ref:o,...t}));ot.displayName="AccordionRoot";var at=Be.forwardRef(({className:e,...t},o)=>Ce(G.Item,{ref:o,className:a("border-b border-gray-200",e),...t}));at.displayName="AccordionItem";var it=Be.forwardRef(({className:e,children:t,...o},i)=>Ce(G.Header,{className:"flex",children:Vi(G.Trigger,{ref:i,className:a("flex flex-1 items-center text-left justify-between py-4 font-medium transition-all hover:underline hover:text-pink-600 [&[data-state=open]]:text-pink-600 [&[data-state=open]>svg]:rotate-180 text-gray-900",e),...o,children:[t,Ce(Oi,{className:"h-4 w-4 shrink-0 transition-transform duration-200 ml-1"})]})}));it.displayName=G.Trigger.displayName;var rt=Be.forwardRef(({className:e,children:t,...o},i)=>Ce(G.Content,{ref:i,className:"overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down text-left ",...o,children:Ce("div",{className:a("pb-4 pt-0 text-gray-900 prose-sm",e),children:t})}));rt.displayName=G.Content.displayName;import*as Re from"react";import{ChevronRightIcon as zi,DotsHorizontalIcon as Fi}from"@radix-ui/react-icons";import{Slot as Wi}from"@radix-ui/react-slot";import{jsx as oe,jsxs as $i}from"react/jsx-runtime";var go=Re.forwardRef(({className:e,...t},o)=>oe("nav",{ref:o,"aria-label":"breadcrumb",className:a("",e),...t}));go.displayName="Breadcrumb";var uo=Re.forwardRef(({className:e,...t},o)=>oe("ol",{ref:o,className:a("flex items-center gap-2 break-words text-sm overflow-x-auto snap-mandatory snap-x [&::-webkit-scrollbar]:hidden",e),...t}));uo.displayName="BreadcrumbList";var ho=Re.forwardRef(({className:e,...t},o)=>oe("li",{ref:o,className:a("shrink-0 text-gray-900 hover:text-pink-500",e),...t}));ho.displayName="BreadcrumbItem";var vo=Re.forwardRef(({asChild:e,className:t,...o},i)=>oe(e?Wi:"a",{ref:i,className:a("transition-colors hover:text-foreground",t),...o}));vo.displayName="BreadcrumbLink";var bo=Re.forwardRef(({className:e,...t},o)=>oe("span",{ref:o,role:"link","aria-disabled":"true","aria-current":"page",className:a("text-sm text-gray-500",e),...t}));bo.displayName="BreadcrumbPage";var xo=({children:e,className:t,...o})=>oe("li",{role:"presentation","aria-hidden":"true",className:a("text-gray-900",t),...o,children:e??oe(zi,{className:"w-2 h-2"})});xo.displayName="BreadcrumbSeparator";var yo=({className:e,...t})=>$i("span",{role:"presentation","aria-hidden":"true",className:a("flex h-5 w-5 items-center justify-center",e),...t,children:[oe(Fi,{className:"w-4 h-4 text-gray-900"}),oe("span",{className:"sr-only",children:"More"})]});yo.displayName="BreadcrumbElipssis";import*as No from"react";import{Slot as Ui}from"@radix-ui/react-slot";import{cva as qi}from"class-variance-authority";import{jsx as U,jsxs as Gi}from"react/jsx-runtime";var ji=({className:e})=>Gi("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"none",className:`${e}`,children:[U("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"}),U("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"}),U("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"}),U("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"}),U("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"}),U("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"}),U("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"}),U("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"}),U("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"}),U("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"}),U("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"}),U("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"})]}),wo=ji;import{Fragment as Zi,jsx as Mt,jsxs as Qi}from"react/jsx-runtime";var ve=qi("inline-flex items-center justify-center whitespace-nowrap rounded-lg 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 px-4",sm:"h-8 px-3 text-sm rounded-md",lg:"h-12 px-4 text-base"}},defaultVariants:{variant:"primary",size:"default"}}),Te=No.forwardRef(({className:e,variant:t="primary",size:o="default",asChild:i=!1,isLoading:r=!1,isDisabled:n=!1,...l},c)=>{let d=i?Ui:"button",x=a(ve({variant:t,size:o,className:e}),{"cursor-wait":r});return Mt(Zi,{children:i?Mt(d,{className:x,type:"button",disabled:n,ref:c,...l,children:l.children}):Qi(d,{className:x,type:"button",disabled:n,ref:c,...l,children:[r&&Mt(wo,{className:`${o==="default"||o==="sm"?"w-4 h-4":"w-5 h-5"} animate-spin-loading mr-2`}),l.children]})})});Te.displayName="Button";import*as Lt from"react";import*as Ve from"@radix-ui/react-checkbox";import{Check as Ki}from"lucide-react";import{Primitive as Yi}from"@radix-ui/react-primitive";import{createContextScope as Xi}from"@radix-ui/react-context";import{Presence as Ji}from"@radix-ui/react-presence";import{jsx as Oe}from"react/jsx-runtime";var Po="Checkbox",[er,tr]=Xi(Po),[Ql,or]=er(Po),Co="CheckboxIndicator";function ar(e){return Ro(e)?"indeterminate":e?"checked":"unchecked"}var Et=Lt.forwardRef((e,t)=>{let{__scopeCheckbox:o,forceMount:i,...r}=e,n=or(Co,o);return Oe(Ji,{present:i||Ro(n.state)||n.state===!0,children:Oe(Yi.span,{"data-state":ar(n.state),"data-disabled":n.disabled?"":void 0,...r,ref:t,style:{pointerEvents:"none",...e.style}})})});function Ro(e){return e==="indeterminate"}Et.displayName=Co;var ze=Lt.forwardRef(({className:e,...t},o)=>Oe(Ve.Root,{ref:o,className:a("peer h-4 w-4 shrink-0 rounded-sm border-2 disabled:bg-gray-300 border-gray-300 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-default disabled:opacity-50 data-[state=checked]:border-none disabled:data-[state=checked]:bg-gray-300 disabled:data-[state=checked]:text-gray-600 data-[state=checked]:bg-pink-500 data-[state=checked]:text-white",e),...t,children:Oe(Ve.Indicator,{className:a("flex items-center justify-center text-current"),children:Oe(Ki,{className:"h-3.5 w-3.5"})})}));ze.displayName=Ve.Root.displayName;var ir=ze,rr=Et;import*as Fe from"react";import*as S from"@radix-ui/react-dialog";import{XMarkIcon as nr}from"@heroicons/react/20/solid";import{jsx as ae,jsxs as It}from"react/jsx-runtime";var We=S.Root,sr=S.Trigger,To=S.Portal,lr=S.Close,Ht=Fe.forwardRef(({className:e,...t},o)=>ae(S.Overlay,{ref:o,className:a("fixed inset-0 z-50 bg-black/60 !duration-300 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}));Ht.displayName=S.Overlay.displayName;var ke=Fe.forwardRef(({className:e,isRightCloseButton:t,size:o="md",position:i="center",height:r="auto",isFull:n=!1,children:l,...c},d)=>{let x={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"},w={sm:"w-80 sm:w-80",md:"w-[512px] sm:w-[512px]",lg:"w-[672px] sm:w-[672px]",xl:"w-[1024px] sm:-[1024px]"},u={auto:"h-auto sm:h-auto",small:"h-[480px] sm:h-[480px]",large:"h-[640px] sm:h-[640px]",full:"h-full"},D=[x.base,x[i],w[o],u[r],n&&"h-full max-h-screen max-w-full w-full rounded-none sm:rounded-xl sm:max-h-[calc(-64px_+_100vh)]",e];return It(To,{children:[ae(Ht,{}),It(S.Content,{ref:d,className:a(...D),...c,children:[l,It(S.Close,{className:a("absolute md:top-4 top-2 focus:outline-none focus:ring-0 disabled:pointer-events-none data-[state=open]:bg-gray-100 data-[state=open]:text-gray-700 text-gray-900 w-8 h-8 flex justify-center items-center rounded-full before:opacity-0 hover:before:opacity-100 before:transition-opacity before:z-[-1] before:content-[''] before:absolute before:inset-0 before:rounded-full before:select-none before:left-0 before:top-0 before:bg-gray-200 left-3 md:left-auto md:right-4",t&&"left-auto right-3 md:right-4"),title:"\u0110\xF3ng",children:[ae(nr,{className:"h-5 w-5 text-gray-700"}),ae("span",{className:"sr-only",children:"Close"})]})]})]})});ke.displayName=S.Content.displayName;var ko=({className:e,...t})=>ae("div",{className:a("dialog-header py-2 md:py-4 h-12 md:h-16 px-10 md:px-12 items-center justify-center flex border-b border-gray-200 w-full shrink-0",e),...t});ko.displayName="DialogHeader";var nt=({className:e,isCondensed:t=!1,...o})=>ae("div",{className:a("dialog-body p-6 flex-1 overflow-y-auto",t&&"p-5",e),...o});nt.displayName="DialogBody";var Do=({className:e,isDivider:t=!0,...o})=>ae("div",{className:a("dialog-footer flex sm:flex-row justify-center [&>*]:basis-1/2 [&>*]:sm:basis-auto sm:justify-end space-x-2 px-6 pb-4 shrink-0",t&&"border-gray-200 border-t py-4",e),...o});Do.displayName="DialogFooter";var So=Fe.forwardRef(({className:e,...t},o)=>ae(S.Title,{ref:o,className:a("text-base font-semibold line-clamp-1 max-w-full",e),...t}));So.displayName=S.Title.displayName;var Ao=Fe.forwardRef(({className:e,...t},o)=>ae(S.Description,{ref:o,className:a("text-sm text-gray-700",e),...t}));Ao.displayName=S.Description.displayName;import mr from"qrcode.react";import{Fragment as _t,jsx as g,jsxs as V}from"react/jsx-runtime";var cr=({img:e="",children:t,isQrForAll:o})=>V(_t,{children:[g("div",{className:"qrcode__scan__container",children:V("div",{className:"qrcode__scan",children:[g("div",{className:"qrcode__gradient",children:g("img",{alt:"step 1",className:"img-fluid",src:"https://homepage.momocdn.net/jk/momo2020/img/qrcode/qrcode-gradient.png"})}),g("div",{className:"qrcode__border",children:g("img",{alt:"step 2",className:"img-fluid",src:"https://homepage.momocdn.net/jk/momo2020/img/qrcode/border-qrcode.svg"})}),g("div",{className:"qrcode__image p-4",children:e?g("img",{alt:"step 3",className:"img-fluid d-block mx-auto",src:e,loading:"lazy"}):t})]})}),g("div",{className:"mt-4 text-sm text-white",children:o?V(_t,{children:[g("img",{src:"https://homepage.momocdn.net/img/momo-upload-api-231211171009-638379114093056419.png",width:255,height:32,className:"mx-auto",alt:"QR all"}),g("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"})]}):V(_t,{children:[g("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:g("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",g("br",{}),"\u1EE9ng d\u1EE5ng Camera h\u1ED7 tr\u1EE3 QR code \u0111\u1EC3 qu\xE9t m\xE3."]})}),g("style",{children:`
1
+ import*as He from"react";import*as $ from"@radix-ui/react-accordion";import{ChevronDownIcon as Hi}from"@heroicons/react/20/solid";import{clsx as Ei}from"clsx";import{twMerge as Ii}from"tailwind-merge";var no="https://www.momo.vn/",so={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 Ie=[{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"}],Dt=[{Name:"App Store",Image:"https://homepage.momocdn.net/img/momo-upload-api-210724113855-637627235353131497.jpg",Link:"https://itunes.apple.com/vn/app/id918751511?utm_source=website-momo&utm_medium=download&utm_campaign=momo-1dong"},{Name:"Google Play",Image:"https://homepage.momocdn.net/img/momo-upload-api-210724113959-637627235994410679.jpg",Link:"https://play.google.com/store/apps/details?id=com.mservice.momotransfer&utm_source=website-momo&utm_medium=download&utm_campaign=momo-1dong"}];var _={Business:{Phome:"1900636652",Phome_Format:"1900 636 652 (Ph\xED 1.000\u0111/ph\xFAt)",Email:"merchant.care@momo.vn"},Support:{Hotline:"1900545441",Hotline_Format:"1900 5454 41",Phone_Ext_1:"02873065555",Phone_Ext_1_Format:"028.7306.5555",Phone_Ext_2:"02899995555",Phone_Ext_2_Format:"028.9999.5555",Phone_Ext_3:"02855555555",Phone_Ext_3_Format:"028.5555.5555",Email:"hotro@momo.vn"}},lo="nav_footer";function a(...e){return Ii(Ei(e))}var mo=({link:e,query:t={}})=>{if(!e)return"";let o=new URL(e,no||""),i=new URLSearchParams(o.search);return Object.entries(t).forEach(([r,n])=>{n&&i.append(r,n)}),o.search=i.toString(),o.toString()};import{jsx as Ce,jsxs as _i}from"react/jsx-runtime";var tt=He.forwardRef(({className:e,...t},o)=>Ce($.Root,{ref:o,...t}));tt.displayName="AccordionRoot";var ot=He.forwardRef(({className:e,...t},o)=>Ce($.Item,{ref:o,className:a("border-b border-gray-200",e),...t}));ot.displayName="AccordionItem";var at=He.forwardRef(({className:e,children:t,...o},i)=>Ce($.Header,{className:"flex",children:_i($.Trigger,{ref:i,className:a("flex flex-1 items-center text-left justify-between py-4 font-medium transition-all hover:underline hover:text-pink-600 [&[data-state=open]]:text-pink-600 [&[data-state=open]>svg]:rotate-180 text-gray-900",e),...o,children:[t,Ce(Hi,{className:" h-5 w-5 shrink-0 transition-transform duration-200 ml-1"})]})}));at.displayName=$.Trigger.displayName;var it=He.forwardRef(({className:e,children:t,...o},i)=>Ce($.Content,{ref:i,className:"overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down text-left ",...o,children:Ce("div",{className:a("pb-4 pt-0 text-gray-900 ",e),children:t})}));it.displayName=$.Content.displayName;import*as Ne from"react";import{ChevronRightIcon as Bi,DotsHorizontalIcon as Vi}from"@radix-ui/react-icons";import{Slot as zi}from"@radix-ui/react-slot";import{jsx as oe,jsxs as Fi}from"react/jsx-runtime";var co=Ne.forwardRef(({className:e,...t},o)=>oe("nav",{ref:o,"aria-label":"breadcrumb",className:a("",e),...t}));co.displayName="Breadcrumb";var po=Ne.forwardRef(({className:e,...t},o)=>oe("ol",{ref:o,className:a("flex items-center gap-2 break-words text-sm overflow-x-auto snap-mandatory snap-x [&::-webkit-scrollbar]:hidden",e),...t}));po.displayName="BreadcrumbList";var fo=Ne.forwardRef(({className:e,...t},o)=>oe("li",{ref:o,className:a("shrink-0 text-gray-900 hover:text-pink-500",e),...t}));fo.displayName="BreadcrumbItem";var go=Ne.forwardRef(({asChild:e,className:t,...o},i)=>oe(e?zi:"a",{ref:i,className:a("transition-colors hover:text-foreground",t),...o}));go.displayName="BreadcrumbLink";var uo=Ne.forwardRef(({className:e,...t},o)=>oe("span",{ref:o,role:"link","aria-disabled":"true","aria-current":"page",className:a("text-sm text-gray-500",e),...t}));uo.displayName="BreadcrumbPage";var ho=({children:e,className:t,...o})=>oe("li",{role:"presentation","aria-hidden":"true",className:a("text-gray-900",t),...o,children:e??oe(Bi,{className:"w-2 h-2"})});ho.displayName="BreadcrumbSeparator";var vo=({className:e,...t})=>Fi("span",{role:"presentation","aria-hidden":"true",className:a("flex h-5 w-5 items-center justify-center",e),...t,children:[oe(Vi,{className:"w-4 h-4 text-gray-900"}),oe("span",{className:"sr-only",children:"More"})]});vo.displayName="BreadcrumbElipssis";import*as xo from"react";import{Slot as $i}from"@radix-ui/react-slot";import{cva as Gi}from"class-variance-authority";import{jsx as G,jsxs as Wi}from"react/jsx-runtime";var Oi=({className:e})=>Wi("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"none",className:`${e}`,children:[G("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"}),G("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"}),G("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"}),G("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"}),G("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"}),G("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"}),G("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"}),G("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"}),G("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"}),G("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"}),G("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"}),G("path",{opacity:"0.85",fillRule:"evenodd",clipRule:"evenodd",d:"M13.8301 6.63397L17.2942 4.63397C17.7706 4.35897 18.3853 4.52368 18.6603 5C18.9353 5.47631 18.7706 6.09102 18.2942 6.36602L14.8301 8.36602C14.3538 8.64102 13.7391 8.47631 13.4641 8C13.1891 7.52368 13.3538 6.90897 13.8301 6.63397Z",fill:"currentColor"})]}),bo=Oi;import{Fragment as ji,jsx as St,jsxs as Ui}from"react/jsx-runtime";var ae=Gi("inline-flex items-center justify-center whitespace-nowrap rounded-lg text-sm font-bold transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed border border-transparent",{variants:{variant:{primary:"bg-pink-500 text-white hover:bg-pink-600 disabled:bg-pink-300",secondary:"bg-white text-gray-900 hover:bg-gray-100 disabled:text-gray-400 disabled:bg-white border-gray-300",outline:"border-pink-500 text-pink-500 bg-white hover:bg-pink-50 disabled:bg-white disabled:border-pink-300 disabled:text-pink-300",tonal:"bg-pink-100 text-pink-500 hover:bg-pink-200 disabled:bg-gray-200 disabled:text-gray-400",danger:"bg-red-500 text-white hover:bg-red-600 disabled:bg-red-300",transparent:"text-gray-900 bg-transparent hover:bg-gray-100 disabled:text-gray-400 disabled:bg-transparent"},size:{default:"text-sm h-10 px-4",sm:"h-8 px-3 text-sm rounded-md",lg:"h-12 px-4 text-base"}},defaultVariants:{variant:"primary",size:"default"}}),J=xo.forwardRef(({className:e,variant:t="primary",size:o="default",asChild:i=!1,isLoading:r=!1,isDisabled:n=!1,...m},c)=>{let d=i?$i:"button",x=a(ae({variant:t,size:o,className:e}),{"cursor-wait":r});return St(ji,{children:i?St(d,{className:x,type:"button",disabled:n,ref:c,...m,children:m.children}):Ui(d,{className:x,type:"button",disabled:n,ref:c,...m,children:[r&&St(bo,{className:`${o==="default"||o==="sm"?"w-4 h-4":"w-5 h-5"} animate-spin-loading mr-2`}),m.children]})})});J.displayName="Button";import*as At from"react";import*as Be from"@radix-ui/react-checkbox";import{Check as qi}from"lucide-react";import{Primitive as Qi}from"@radix-ui/react-primitive";import{createContextScope as Zi}from"@radix-ui/react-context";import{Presence as Yi}from"@radix-ui/react-presence";import{jsx as _e}from"react/jsx-runtime";var yo="Checkbox",[Xi,Ki]=Zi(yo),[Ul,Ji]=Xi(yo),wo="CheckboxIndicator";function er(e){return Po(e)?"indeterminate":e?"checked":"unchecked"}var Mt=At.forwardRef((e,t)=>{let{__scopeCheckbox:o,forceMount:i,...r}=e,n=Ji(wo,o);return _e(Yi,{present:i||Po(n.state)||n.state===!0,children:_e(Qi.span,{"data-state":er(n.state),"data-disabled":n.disabled?"":void 0,...r,ref:t,style:{pointerEvents:"none",...e.style}})})});function Po(e){return e==="indeterminate"}Mt.displayName=wo;var Ve=At.forwardRef(({className:e,...t},o)=>_e(Be.Root,{ref:o,className:a("peer h-4 w-4 shrink-0 rounded-sm border-2 disabled:bg-gray-300 border-gray-300 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-default disabled:opacity-50 data-[state=checked]:border-none disabled:data-[state=checked]:bg-gray-300 disabled:data-[state=checked]:text-gray-600 data-[state=checked]:bg-pink-500 data-[state=checked]:text-white",e),...t,children:_e(Be.Indicator,{className:a("flex items-center justify-center text-current"),children:_e(qi,{className:"h-3.5 w-3.5"})})}));Ve.displayName=Be.Root.displayName;var tr=Ve,or=Mt;import*as ze from"react";import*as k from"@radix-ui/react-dialog";import{XMarkIcon as ar}from"@heroicons/react/20/solid";import{jsx as ie,jsxs as Lt}from"react/jsx-runtime";var Fe=k.Root,ir=k.Trigger,Co=k.Portal,rr=k.Close,Et=ze.forwardRef(({className:e,...t},o)=>ie(k.Overlay,{ref:o,className:a("fixed inset-0 z-50 bg-black/60 !duration-300 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}));Et.displayName=k.Overlay.displayName;var Re=ze.forwardRef(({className:e,isRightCloseButton:t,size:o="md",position:i="center",height:r="auto",isFull:n=!1,children:m,...c},d)=>{let x={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"},w={sm:"w-80 sm:w-80",md:"w-[512px] sm:w-[512px]",lg:"w-[672px] sm:w-[672px]",xl:"w-[1024px] sm:-[1024px]"},v={auto:"h-auto sm:h-auto",small:"h-[480px] sm:h-[480px]",large:"h-[640px] sm:h-[640px]",full:"h-full"},M=[x.base,x[i],w[o],v[r],n&&"h-full max-h-screen max-w-full w-full rounded-none sm:rounded-xl sm:max-h-[calc(-64px_+_100vh)]",e];return Lt(Co,{children:[ie(Et,{}),Lt(k.Content,{ref:d,className:a(...M),...c,children:[m,Lt(k.Close,{className:a("absolute md:top-4 top-2 focus:outline-none focus:ring-0 disabled:pointer-events-none data-[state=open]:bg-gray-100 data-[state=open]:text-gray-700 text-gray-900 w-8 h-8 flex justify-center items-center rounded-full before:opacity-0 hover:before:opacity-100 before:transition-opacity before:z-[-1] before:content-[''] before:absolute before:inset-0 before:rounded-full before:select-none before:left-0 before:top-0 before:bg-gray-200 left-3 md:left-auto md:right-4",t&&"left-auto right-3 md:right-4"),title:"\u0110\xF3ng",children:[ie(ar,{className:"h-5 w-5 text-gray-700"}),ie("span",{className:"sr-only",children:"Close"})]})]})]})});Re.displayName=k.Content.displayName;var No=({className:e,...t})=>ie("div",{className:a("dialog-header py-2 md:py-4 h-12 md:h-16 px-10 md:px-12 items-center justify-center flex border-b border-gray-200 w-full shrink-0",e),...t});No.displayName="DialogHeader";var rt=({className:e,isCondensed:t=!1,...o})=>ie("div",{className:a("dialog-body p-6 flex-1 overflow-y-auto",t&&"p-5",e),...o});rt.displayName="DialogBody";var Ro=({className:e,isDivider:t=!0,...o})=>ie("div",{className:a("dialog-footer flex sm:flex-row justify-center [&>*]:basis-1/2 [&>*]:sm:basis-auto sm:justify-end space-x-2 px-6 pb-4 shrink-0",t&&"border-gray-200 border-t py-4",e),...o});Ro.displayName="DialogFooter";var To=ze.forwardRef(({className:e,...t},o)=>ie(k.Title,{ref:o,className:a("text-base font-semibold line-clamp-1 max-w-full",e),...t}));To.displayName=k.Title.displayName;var ko=ze.forwardRef(({className:e,...t},o)=>ie(k.Description,{ref:o,className:a("text-sm text-gray-700",e),...t}));ko.displayName=k.Description.displayName;import nr from"qrcode.react";import{Fragment as It,jsx as f,jsxs as B}from"react/jsx-runtime";var sr=({img:e="",children:t,isQrForAll:o})=>B(It,{children:[f("div",{className:"qrcode__scan__container",children:B("div",{className:"qrcode__scan",children:[f("div",{className:"qrcode__gradient",children:f("img",{alt:"step 1",className:"img-fluid",src:"https://homepage.momocdn.net/jk/momo2020/img/qrcode/qrcode-gradient.png"})}),f("div",{className:"qrcode__border",children:f("img",{alt:"step 2",className:"img-fluid",src:"https://homepage.momocdn.net/jk/momo2020/img/qrcode/border-qrcode.svg"})}),f("div",{className:"qrcode__image p-4",children:e?f("img",{alt:"step 3",className:"img-fluid d-block mx-auto",src:e,loading:"lazy"}):t})]})}),f("div",{className:"mt-4 text-sm text-white",children:o?B(It,{children:[f("img",{src:"https://homepage.momocdn.net/img/momo-upload-api-231211171009-638379114093056419.png",width:255,height:32,className:"mx-auto",alt:"QR all"}),f("div",{className:"mt-3",children:"Nh\u1EADn ti\u1EC1n t\u1EEB m\u1ECDi V\xED \u0110i\u1EC7n T\u1EED v\xE0 Ng\xE2n H\xE0ng"})]}):B(It,{children:[f("svg",{xmlns:"http://www.w3.org/2000/svg",className:"mr-1 inline h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:f("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 4v1m6 11h2m-6 0h-2v4m0-11v3m0 0h.01M12 12h4.01M16 20h4M4 12h4m12 0h.01M5 8h2a1 1 0 001-1V5a1 1 0 00-1-1H5a1 1 0 00-1 1v2a1 1 0 001 1zm12 0h2a1 1 0 001-1V5a1 1 0 00-1-1h-2a1 1 0 00-1 1v2a1 1 0 001 1zM5 20h2a1 1 0 001-1v-2a1 1 0 00-1-1H5a1 1 0 00-1 1v2a1 1 0 001 1z"})}),"S\u1EED d\u1EE5ng App MoMo ho\u1EB7c",f("br",{}),"\u1EE9ng d\u1EE5ng Camera h\u1ED7 tr\u1EE3 QR code \u0111\u1EC3 qu\xE9t m\xE3."]})}),f("style",{children:`
2
2
  .qrcode__scan__container {
3
3
  padding: 15px;
4
4
  background-color: white;
@@ -67,7 +67,7 @@ import*as Be from"react";import*as G from"@radix-ui/react-accordion";import{Chev
67
67
  transform: translate3d(0, 30%, 0);
68
68
  }
69
69
  }
70
- `})]}),dr=({className:e,children:t,title:o,shortTitle:i,qrImage:r,qrLink:n,logoQr:l,isQrForAll:c=!1,...d})=>g(We,{...d,children:g(ke,{className:a("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",isRightCloseButton:!0,children:g(nt,{className:"p-0",children:V("div",{className:"flex flex-row flex-wrap",children:[g("div",{className:"w-full flex-none md:w-5/12 hidden sm:block",children:t||V("div",{className:"px-5 text-sm py-8 grid grid-cols-1 gap-y-6",children:[V("div",{className:"flex flex-nowrap items-center",children:[g("div",{className:"flex-none",children:g("img",{className:"w-20",loading:"lazy",src:"https://homepage.momocdn.net/images/s/momo-upload-api-200917091602-637359309621891617.png",alt:"Step 1"})}),V("div",{className:"flex-1 pl-4",children:[g("div",{className:"step font-semibold text-gray-800 ",children:"B\u01B0\u1EDBc 1 :"}),g("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"})]})]}),V("div",{className:"flex flex-nowrap items-center",children:[g("div",{className:"flex-none",children:g("img",{className:"w-20 ",loading:"lazy",src:"https://homepage.momocdn.net/images/s/momo-upload-api-200917091443-637359308837905996.png",alt:"Step 2"})}),V("div",{className:"flex-1 pl-4",children:[g("div",{className:"step font-semibold text-gray-800 ",children:"B\u01B0\u1EDBc 2 :"}),g("div",{className:"mt-1 text-gray-500 ",children:"Qu\xE9t m\xE3 QR Code theo h\xECnh b\xEAn ph\u1EA3i"})]})]}),V("div",{className:"flex flex-nowrap items-center",children:[g("div",{className:"flex-none",children:g("img",{className:"w-20 ",loading:"lazy",src:"https://homepage.momocdn.net/images/s/momo-upload-api-200917090146-637359301062519803.png",alt:"Step 3"})}),V("div",{className:"flex-1 pl-4",children:[g("div",{className:"step font-semibold text-gray-800 ",children:"B\u01B0\u1EDBc 3 :"}),V("div",{className:"mt-1 text-gray-500 ",children:["B\u1EA5m v\xE0o th\xF4ng b\xE1o hi\u1EC3n th\u1ECB \u0111\u1EC3 t\u1EA3i \u1EE9ng d\u1EE5ng ho\u1EB7c"," ",i||"Truy c\u1EADp ngay"]})]})]})]})}),g("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:V("div",{className:"px-5 py-10 text-center",children:[o&&g("h4",{className:"mb-5 text-base font-semibold text-white",children:o}),V("div",{className:"relative",children:[c&&g("div",{className:"absolute -top-2 left-1/2 z-[5] -translate-x-1/2",children:g("img",{src:"https://homepage.momocdn.net/fileuploads/svg/momo-file-231211170324.svg",alt:"Title QR all"})}),g(cr,{img:r,isQrForAll:c,children:n&&g(mr,{value:n,size:215,renderAs:"svg",imageSettings:{src:`${l||"https://homepage.momocdn.net/pwa/images/logoMomox50.png"}`,height:50,width:50,excavate:!0},level:"H"})})]})]})})]})})})});import*as be from"react";import*as P from"@radix-ui/react-alert-dialog";import{jsx as ie,jsxs as gr}from"react/jsx-runtime";var pr=P.Root,fr=P.Trigger,Mo=P.Portal,Bt=be.forwardRef(({className:e,...t},o)=>ie(P.Overlay,{className:a("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}));Bt.displayName=P.Overlay.displayName;var Lo=be.forwardRef(({className:e,...t},o)=>gr(Mo,{children:[ie(Bt,{}),ie(P.Content,{ref:o,className:a("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})]}));Lo.displayName=P.Content.displayName;var Eo=({className:e,...t})=>ie("div",{className:a("flex flex-col space-y-2 text-left",e),...t});Eo.displayName="AlertDialogHeader";var Io=({className:e,...t})=>ie("div",{className:a("flex flex-row justify-end space-x-4",e),...t});Io.displayName="AlertDialogFooter";var Ho=be.forwardRef(({className:e,...t},o)=>ie(P.Title,{ref:o,className:a("text-lg text-gray-900 font-semibold",e),...t}));Ho.displayName=P.Title.displayName;var _o=be.forwardRef(({className:e,...t},o)=>ie(P.Description,{ref:o,className:a("text-sm text-muted-foreground",e),...t}));_o.displayName=P.Description.displayName;var Bo=be.forwardRef(({className:e,...t},o)=>ie(P.Action,{ref:o,className:a(ve({variant:"primary"}),"",e),...t}));Bo.displayName=P.Action.displayName;var Oo=be.forwardRef(({className:e,...t},o)=>ie(P.Cancel,{ref:o,className:a(ve({variant:"secondary"}),e),...t}));Oo.displayName=P.Cancel.displayName;import*as Vo from"react";import{Slot as ur}from"@radix-ui/react-slot";import{cva as hr}from"class-variance-authority";import{jsx as vr}from"react/jsx-runtime";var xe=hr("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"}}),ce=Vo.forwardRef(({className:e,variant:t="primary",size:o="default",asChild:i=!1,isDisabled:r=!1,...n},l)=>{let c=i?ur:"button",d=a(xe({variant:t,size:o,className:e}));return vr(c,{className:d,disabled:r,ref:l,...n,children:n.children})});ce.displayName="IconButton";import{ChevronLeft as br,ChevronRight as xr}from"lucide-react";import{Fragment as yr,jsx as q,jsxs as zo}from"react/jsx-runtime";function Fo({current:e,total:t,onChange:o}){let i=r=>q("li",{children:q("button",{className:a(xe({variant:e===r?"outline":"secondary",size:"sm"})),onClick:()=>o(r),children:r})},r);return q("nav",{role:"navigation","aria-label":"pagination",className:a("mx-auto flex w-full justify-center"),children:zo("ul",{className:a("flex flex-row flex-wrap items-center gap-2"),children:[t>1&&q("li",{children:q("button",{className:a(xe({variant:"secondary",size:"sm"})),disabled:e===1,onClick:()=>e>1&&o(e-1),children:q(br,{className:"h-4 w-4"})})}),t<=6?Array(t).fill(0).map((r,n)=>i(n+1)):zo(yr,{children:[i(1),e===1&&[i(2),i(3)],e>3&&q("li",{children:q("button",{className:a(xe({variant:"secondary",size:"sm"})),disabled:e===1,onClick:()=>o(e-3),children:"..."})}),e>2&&e!==1&&e!==t&&i(e-1),e>1&&e<t&&i(e),e<t-1&&e!==1&&i(e+1),e===t&&[i(t-2),i(t-1)],e<t-2&&e!==t&&q("button",{className:a(xe({variant:"secondary",size:"sm"})),disabled:e===1,onClick:()=>o(e+3),children:"..."}),i(t)]}),t>1&&q("li",{children:q("button",{className:a(xe({variant:"secondary",size:"sm"})),disabled:e===t,onClick:()=>e<t&&o(e+1),children:q(xr,{className:"h-4 w-4"})})})]})})}import*as $o from"react";import*as re from"@radix-ui/react-popover";import{jsx as Wo}from"react/jsx-runtime";var Ot=re.Root,Vt=re.Trigger,st=$o.forwardRef(({className:e,align:t="center",sideOffset:o=4,...i},r)=>Wo(re.Portal,{children:Wo(re.Content,{ref:r,align:t,sideOffset:o,className:a("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),...i})}));st.displayName=re.Content.displayName;import*as lt from"react";import*as Y from"@radix-ui/react-tabs";import{jsx as zt}from"react/jsx-runtime";var wr=Y.Root,jo=lt.forwardRef(({className:e,size:t="sm",isDivider:o=!1,...i},r)=>zt(Y.List,{ref:r,className:a("inline-flex w-full flex-row items-center bg-muted text-muted-foreground space-x-5 overflow-x-auto [&::-webkit-scrollbar]:hidden",`text-${t}`,o&&"border-b border-gray-200",e),...i}));jo.displayName=Y.List.displayName;var Go=lt.forwardRef(({className:e,...t},o)=>zt(Y.Trigger,{ref:o,className:a("inline-flex items-center justify-center whitespace-nowrap h-8 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 border-transparent data-[state=active]:text-pink-500 data-[state=active]:border-pink-500 text-gray-900 hover:text-pink-500",e),...t}));Go.displayName=Y.Trigger.displayName;var Uo=lt.forwardRef(({className:e,...t},o)=>zt(Y.Content,{ref:o,className:a("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}));Uo.displayName=Y.Content.displayName;import{forwardRef as Nr}from"react";import{QuestionMarkCircleIcon as Pr}from"@heroicons/react/24/outline";import{XCircleIcon as Cr}from"@heroicons/react/24/solid";import{jsx as De,jsxs as qo}from"react/jsx-runtime";var Rr=Nr(({disabled:e,isError:t,message:o,label:i,className:r,inputClassName:n,size:l,rows:c=3,...d},x)=>qo("div",{className:a("relative",r,t&&"mobase-text-area-error"),children:[i&&De("span",{className:a("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:i}),De("textarea",{disabled:e,ref:x,className:a("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&&qo("div",{className:"mobase-text-area-message flex space-x-1 items-center mt-0.5",children:[t?De(Cr,{width:16,height:16,className:"text-red-500"}):De(Pr,{width:16,height:16,className:"text-gray-500"}),De("span",{className:a("text-gray-500 ",l===2?"text-sm":"text-xs"),children:o})]}),De("style",{children:`
70
+ `})]}),Oe=({className:e,children:t,title:o,shortTitle:i,qrImage:r,qrLink:n,logoQr:m,isQrForAll:c=!1,...d})=>f(Fe,{...d,children:f(Re,{className:a("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",isRightCloseButton:!0,children:f(rt,{className:"p-0",children:B("div",{className:"flex flex-row flex-wrap",children:[f("div",{className:"w-full flex-none md:w-5/12 hidden sm:block",children:t||B("div",{className:"px-5 text-sm py-8 grid grid-cols-1 gap-y-6",children:[B("div",{className:"flex flex-nowrap items-center",children:[f("div",{className:"flex-none",children:f("img",{className:"w-20",loading:"lazy",src:"https://homepage.momocdn.net/images/s/momo-upload-api-200917091602-637359309621891617.png",alt:"Step 1"})}),B("div",{className:"flex-1 pl-4",children:[f("div",{className:"step font-semibold text-gray-800 ",children:"B\u01B0\u1EDBc 1 :"}),f("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"})]})]}),B("div",{className:"flex flex-nowrap items-center",children:[f("div",{className:"flex-none",children:f("img",{className:"w-20 ",loading:"lazy",src:"https://homepage.momocdn.net/images/s/momo-upload-api-200917091443-637359308837905996.png",alt:"Step 2"})}),B("div",{className:"flex-1 pl-4",children:[f("div",{className:"step font-semibold text-gray-800 ",children:"B\u01B0\u1EDBc 2 :"}),f("div",{className:"mt-1 text-gray-500 ",children:"Qu\xE9t m\xE3 QR Code theo h\xECnh b\xEAn ph\u1EA3i"})]})]}),B("div",{className:"flex flex-nowrap items-center",children:[f("div",{className:"flex-none",children:f("img",{className:"w-20 ",loading:"lazy",src:"https://homepage.momocdn.net/images/s/momo-upload-api-200917090146-637359301062519803.png",alt:"Step 3"})}),B("div",{className:"flex-1 pl-4",children:[f("div",{className:"step font-semibold text-gray-800 ",children:"B\u01B0\u1EDBc 3 :"}),B("div",{className:"mt-1 text-gray-500 ",children:["B\u1EA5m v\xE0o th\xF4ng b\xE1o hi\u1EC3n th\u1ECB \u0111\u1EC3 t\u1EA3i \u1EE9ng d\u1EE5ng ho\u1EB7c"," ",i||"Truy c\u1EADp ngay"]})]})]})]})}),f("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:B("div",{className:"px-5 py-10 text-center",children:[o&&f("h4",{className:"mb-5 text-base font-semibold text-white",children:o}),B("div",{className:"relative",children:[c&&f("div",{className:"absolute -top-2 left-1/2 z-[5] -translate-x-1/2",children:f("img",{src:"https://homepage.momocdn.net/fileuploads/svg/momo-file-231211170324.svg",alt:"Title QR all"})}),f(sr,{img:r,isQrForAll:c,children:n&&f(nr,{value:n,size:215,renderAs:"svg",imageSettings:{src:`${m||"https://homepage.momocdn.net/pwa/images/logoMomox50.png"}`,height:50,width:50,excavate:!0},level:"H"})})]})]})})]})})})});import*as ve from"react";import*as y from"@radix-ui/react-alert-dialog";import{jsx as re,jsxs as cr}from"react/jsx-runtime";var lr=y.Root,mr=y.Trigger,Do=y.Portal,Ht=ve.forwardRef(({className:e,...t},o)=>re(y.Overlay,{className:a("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}));Ht.displayName=y.Overlay.displayName;var So=ve.forwardRef(({className:e,...t},o)=>cr(Do,{children:[re(Ht,{}),re(y.Content,{ref:o,className:a("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})]}));So.displayName=y.Content.displayName;var Ao=({className:e,...t})=>re("div",{className:a("flex flex-col space-y-2 text-left",e),...t});Ao.displayName="AlertDialogHeader";var Mo=({className:e,...t})=>re("div",{className:a("flex flex-row justify-end space-x-4",e),...t});Mo.displayName="AlertDialogFooter";var Lo=ve.forwardRef(({className:e,...t},o)=>re(y.Title,{ref:o,className:a("text-lg text-gray-900 font-semibold",e),...t}));Lo.displayName=y.Title.displayName;var Eo=ve.forwardRef(({className:e,...t},o)=>re(y.Description,{ref:o,className:a("text-sm text-muted-foreground",e),...t}));Eo.displayName=y.Description.displayName;var Io=ve.forwardRef(({className:e,...t},o)=>re(y.Action,{ref:o,className:a(ae({variant:"primary"}),"",e),...t}));Io.displayName=y.Action.displayName;var Ho=ve.forwardRef(({className:e,...t},o)=>re(y.Cancel,{ref:o,className:a(ae({variant:"secondary"}),e),...t}));Ho.displayName=y.Cancel.displayName;import*as _o from"react";import{Slot as dr}from"@radix-ui/react-slot";import{cva as pr}from"class-variance-authority";import{jsx as fr}from"react/jsx-runtime";var be=pr("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"}}),ce=_o.forwardRef(({className:e,variant:t="primary",size:o="default",asChild:i=!1,isDisabled:r=!1,...n},m)=>{let c=i?dr:"button",d=a(be({variant:t,size:o,className:e}));return fr(c,{className:d,disabled:r,ref:m,...n,children:n.children})});ce.displayName="IconButton";import{ChevronLeft as gr,ChevronRight as ur}from"lucide-react";import{Fragment as hr,jsx as U,jsxs as Bo}from"react/jsx-runtime";function Vo({current:e,total:t,onChange:o}){let i=r=>U("li",{children:U("button",{className:a(be({variant:e===r?"outline":"secondary",size:"sm"})),onClick:()=>o(r),children:r})},r);return U("nav",{role:"navigation","aria-label":"pagination",className:a("mx-auto flex w-full justify-center"),children:Bo("ul",{className:a("flex flex-row flex-wrap items-center gap-2"),children:[t>1&&U("li",{children:U("button",{className:a(be({variant:"secondary",size:"sm"})),disabled:e===1,onClick:()=>e>1&&o(e-1),children:U(gr,{className:"h-4 w-4"})})}),t<=6?Array(t).fill(0).map((r,n)=>i(n+1)):Bo(hr,{children:[i(1),e===1&&[i(2),i(3)],e>3&&U("li",{children:U("button",{className:a(be({variant:"secondary",size:"sm"})),disabled:e===1,onClick:()=>o(e-3),children:"..."})}),e>2&&e!==1&&e!==t&&i(e-1),e>1&&e<t&&i(e),e<t-1&&e!==1&&i(e+1),e===t&&[i(t-2),i(t-1)],e<t-2&&e!==t&&U("button",{className:a(be({variant:"secondary",size:"sm"})),disabled:e===1,onClick:()=>o(e+3),children:"..."}),i(t)]}),t>1&&U("li",{children:U("button",{className:a(be({variant:"secondary",size:"sm"})),disabled:e===t,onClick:()=>e<t&&o(e+1),children:U(ur,{className:"h-4 w-4"})})})]})})}import*as Fo from"react";import*as ne from"@radix-ui/react-popover";import{jsx as zo}from"react/jsx-runtime";var _t=ne.Root,Bt=ne.Trigger,nt=Fo.forwardRef(({className:e,align:t="center",sideOffset:o=4,...i},r)=>zo(ne.Portal,{children:zo(ne.Content,{ref:r,align:t,sideOffset:o,className:a("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),...i})}));nt.displayName=ne.Content.displayName;import*as st from"react";import*as Y from"@radix-ui/react-tabs";import{jsx as Vt}from"react/jsx-runtime";var vr=Y.Root,Oo=st.forwardRef(({className:e,size:t="sm",isDivider:o=!1,...i},r)=>Vt(Y.List,{ref:r,className:a("inline-flex w-full flex-row items-center bg-muted text-muted-foreground space-x-5 overflow-x-auto [&::-webkit-scrollbar]:hidden",`text-${t}`,o&&"border-b border-gray-200",e),...i}));Oo.displayName=Y.List.displayName;var Wo=st.forwardRef(({className:e,...t},o)=>Vt(Y.Trigger,{ref:o,className:a("inline-flex items-center justify-center whitespace-nowrap h-8 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 border-transparent data-[state=active]:text-pink-500 data-[state=active]:border-pink-500 text-gray-900 hover:text-pink-500",e),...t}));Wo.displayName=Y.Trigger.displayName;var $o=st.forwardRef(({className:e,...t},o)=>Vt(Y.Content,{ref:o,className:a("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}));$o.displayName=Y.Content.displayName;import{forwardRef as br}from"react";import{QuestionMarkCircleIcon as xr}from"@heroicons/react/24/outline";import{XCircleIcon as yr}from"@heroicons/react/24/solid";import{jsx as Te,jsxs as Go}from"react/jsx-runtime";var wr=br(({disabled:e,isError:t,message:o,label:i,className:r,inputClassName:n,size:m,rows:c=3,...d},x)=>Go("div",{className:a("relative",r,t&&"mobase-text-area-error"),children:[i&&Te("span",{className:a("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:i}),Te("textarea",{disabled:e,ref:x,className:a("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",n),rows:c,...d}),o&&Go("div",{className:"mobase-text-area-message flex space-x-1 items-center mt-0.5",children:[t?Te(yr,{width:16,height:16,className:"text-red-500"}):Te(xr,{width:16,height:16,className:"text-gray-500"}),Te("span",{className:a("text-gray-500 ",m===2?"text-sm":"text-xs"),children:o})]}),Te("style",{children:`
71
71
  .mobase-text-area-box:hover {
72
72
  box-shadow: 0px 0px 0px 1px rgb(var(--mobase-gray-400) / 1) inset;
73
73
  }
@@ -94,7 +94,7 @@ import*as Be from"react";import*as G from"@radix-ui/react-accordion";import{Chev
94
94
  color: rgb(var(--mobase-red-500) / 1);
95
95
  }
96
96
  }
97
- `})]}));import*as dt from"react";var Tr=1,kr=1e6;var Ft=0;function Dr(){return Ft=(Ft+1)%Number.MAX_SAFE_INTEGER,Ft.toString()}var Wt=new Map,Qo=e=>{if(Wt.has(e))return;let t=setTimeout(()=>{Wt.delete(e),$e({type:"REMOVE_TOAST",toastId:e})},kr);Wt.set(e,t)},Sr=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,Tr)};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?Qo(o):e.toasts.forEach(i=>{Qo(i.id)}),{...e,toasts:e.toasts.map(i=>i.id===o||o===void 0?{...i,open:!1}:i)}}case"REMOVE_TOAST":return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(o=>o.id!==t.toastId)};default:return e}},mt=[],ct={toasts:[]};function $e(e){ct=Sr(ct,e),mt.forEach(t=>{t(ct)})}function Zo({...e}){let t=Dr(),o=r=>$e({type:"UPDATE_TOAST",toast:{...r,id:t}}),i=()=>$e({type:"DISMISS_TOAST",toastId:t});return $e({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:r=>{r||i()}}}),{id:t,dismiss:i,update:o}}function $t(){let[e,t]=dt.useState(ct);return dt.useEffect(()=>(mt.push(t),()=>{let o=mt.indexOf(t);o>-1&&mt.splice(o,1)}),[e]),{...e,toast:Zo,dismiss:o=>$e({type:"DISMISS_TOAST",toastId:o})}}import*as ye from"react";import*as M from"@radix-ui/react-toast";import{cva as Ar}from"class-variance-authority";import{XMarkIcon as Mr,CheckCircleIcon as Lr,ExclamationTriangleIcon as Er,InformationCircleIcon as Ir}from"@heroicons/react/20/solid";import{jsx as ne,jsxs as Ko}from"react/jsx-runtime";var Yo=M.Provider,jt=ye.forwardRef(({className:e,...t},o)=>ne(M.Viewport,{ref:o,className:a("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}));jt.displayName=M.Viewport.displayName;var Hr=Ar("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"}}),Gt=ye.forwardRef(({className:e,variant:t="sucess",children:o,...i},r)=>Ko(M.Root,{ref:r,className:a(Hr({variant:t}),e),...i,children:[Ko("div",{className:"w-5 h-5 flex items-center justify-center absolute top-4 left-3",children:[t==="sucess"&&ne(Lr,{className:"w-5 h-5 text-green-500"}),t==="warning"&&ne(Er,{className:"w-5 h-5 text-yellow-500"}),t==="error"&&ne(Ir,{className:"w-5 h-5 text-red-500"})]}),o]}));Gt.displayName=M.Root.displayName;var Xo=ye.forwardRef(({className:e,...t},o)=>ne(M.Action,{ref:o,className:a("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}));Xo.displayName=M.Action.displayName;var Ut=ye.forwardRef(({className:e,...t},o)=>ne(M.Close,{ref:o,className:a("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:ne(Mr,{className:"h-5 w-5"})}));Ut.displayName=M.Close.displayName;var qt=ye.forwardRef(({className:e,...t},o)=>ne(M.Title,{ref:o,className:a("text-base font-semibold leading-tight",e),...t}));qt.displayName=M.Title.displayName;var Qt=ye.forwardRef(({className:e,...t},o)=>ne(M.Description,{ref:o,className:a("text-sm opacity-90",e),...t}));Qt.displayName=M.Description.displayName;import{jsx as pt,jsxs as Zt}from"react/jsx-runtime";function _r(){let{toasts:e}=$t();return Zt(Yo,{children:[e.map(function({id:t,title:o,description:i,action:r,...n}){return Zt(Gt,{...n,children:[Zt("div",{className:"grid gap-2",children:[o&&pt(qt,{children:o}),i&&pt(Qt,{children:i})]}),r,pt(Ut,{})]},t)}),pt(jt,{})]})}import*as Jo from"react";import{Slot as Br}from"@radix-ui/react-slot";import{cva as Or}from"class-variance-authority";import{jsx as Vr}from"react/jsx-runtime";var ea=Or("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"}}),ft=Jo.forwardRef(({className:e,variant:t="default",size:o="default",asChild:i=!1,isDisabled:r=!1,...n},l)=>{let c=i?Br:"button",d=a(ea({variant:t,size:o,className:e}));return Vr(c,{className:d,disabled:r,ref:l,...n,children:n.children})});ft.displayName="TextButton";import*as Kt from"react";import*as Q from"@radix-ui/react-tooltip";import{jsx as aa}from"react/jsx-runtime";var zr=Q.Provider,Fr=Q.Root,Wr=Q.Trigger,ta=Kt.forwardRef((e,t)=>aa(Q.Arrow,{ref:t,className:a("drop-shadow-md",e.className),...e}));ta.displayName=Q.Arrow.displayName;var oa=Kt.forwardRef(({className:e,type:t="dark",sideOffset:o=4,...i},r)=>aa(Q.Content,{ref:r,sideOffset:o,className:a("z-50 overflow-hidden rounded-md text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 p-1.5 shadow-md",t==="light"?"bg-white text-gray-900 fill-white":"bg-gray-800 fill-gray-800 text-white",e),...i}));oa.displayName=Q.Content.displayName;import{forwardRef as $r,useEffect as jr,useRef as Gr,useState as Ur}from"react";import{QuestionMarkCircleIcon as qr,XCircleIcon as Qr,XCircleIcon as Zr}from"@heroicons/react/16/solid";import{jsx as de,jsxs as Yt}from"react/jsx-runtime";var Kr=$r(({disabled:e,isError:t,message:o,label:i,className:r,inputClassName:n,withClearButton:l,size:c,onChange:d,onFocus:x,onClickClear:w,value:u,defaultValue:D,type:H="text",...N},y)=>{let[_,I]=Ur(!1),he=Gr(null),A=E=>{E&&!_&&I(!0),!E&&_&&I(!1)},et=E=>{l&&A(E.target.value),d?.(E)},Ie=E=>{l&&A(E.target.value),x?.(E)},He=()=>{let E=he.current?.querySelector("input");E&&(w?.(E.value),E.value="",E.focus(),I(!1))};return jr(()=>{A(D||u)},[u,D]),Yt("div",{className:a(r,t&&"mobase-text-input-error"),ref:he,children:[Yt("div",{className:"relative",children:[i&&de("span",{className:a("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:i}),de("input",{disabled:e,type:H,ref:y,className:a("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:et,onFocus:Ie,value:u,defaultValue:D,...N}),l&&_&&de("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:He,children:de(Qr,{strokeWidth:2,width:20,height:20})})]}),o&&Yt("div",{className:"mobase-text-input-message flex space-x-1 items-center mt-0.5",children:[t?de(Zr,{width:16,height:16,className:"text-red-500"}):de(qr,{width:16,height:16,className:"text-gray-500"}),de("span",{className:a("text-gray-500 ",c===2?"text-sm":"text-xs"),children:o})]}),de("style",{children:`
97
+ `})]}));import*as ct from"react";var Pr=1,Cr=1e6;var zt=0;function Nr(){return zt=(zt+1)%Number.MAX_SAFE_INTEGER,zt.toString()}var Ft=new Map,Uo=e=>{if(Ft.has(e))return;let t=setTimeout(()=>{Ft.delete(e),We({type:"REMOVE_TOAST",toastId:e})},Cr);Ft.set(e,t)},Rr=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,Pr)};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?Uo(o):e.toasts.forEach(i=>{Uo(i.id)}),{...e,toasts:e.toasts.map(i=>i.id===o||o===void 0?{...i,open:!1}:i)}}case"REMOVE_TOAST":return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(o=>o.id!==t.toastId)};default:return e}},lt=[],mt={toasts:[]};function We(e){mt=Rr(mt,e),lt.forEach(t=>{t(mt)})}function jo({...e}){let t=Nr(),o=r=>We({type:"UPDATE_TOAST",toast:{...r,id:t}}),i=()=>We({type:"DISMISS_TOAST",toastId:t});return We({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:r=>{r||i()}}}),{id:t,dismiss:i,update:o}}function Ot(){let[e,t]=ct.useState(mt);return ct.useEffect(()=>(lt.push(t),()=>{let o=lt.indexOf(t);o>-1&&lt.splice(o,1)}),[e]),{...e,toast:jo,dismiss:o=>We({type:"DISMISS_TOAST",toastId:o})}}import*as xe from"react";import*as S from"@radix-ui/react-toast";import{cva as Tr}from"class-variance-authority";import{XMarkIcon as kr,CheckCircleIcon as Dr,ExclamationTriangleIcon as Sr,InformationCircleIcon as Ar}from"@heroicons/react/20/solid";import{jsx as se,jsxs as qo}from"react/jsx-runtime";var Qo=S.Provider,Wt=xe.forwardRef(({className:e,...t},o)=>se(S.Viewport,{ref:o,className:a("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}));Wt.displayName=S.Viewport.displayName;var Mr=Tr("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"}}),$t=xe.forwardRef(({className:e,variant:t="sucess",children:o,...i},r)=>qo(S.Root,{ref:r,className:a(Mr({variant:t}),e),...i,children:[qo("div",{className:"w-5 h-5 flex items-center justify-center absolute top-4 left-3",children:[t==="sucess"&&se(Dr,{className:"w-5 h-5 text-green-500"}),t==="warning"&&se(Sr,{className:"w-5 h-5 text-yellow-500"}),t==="error"&&se(Ar,{className:"w-5 h-5 text-red-500"})]}),o]}));$t.displayName=S.Root.displayName;var Zo=xe.forwardRef(({className:e,...t},o)=>se(S.Action,{ref:o,className:a("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}));Zo.displayName=S.Action.displayName;var Gt=xe.forwardRef(({className:e,...t},o)=>se(S.Close,{ref:o,className:a("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:se(kr,{className:"h-5 w-5"})}));Gt.displayName=S.Close.displayName;var Ut=xe.forwardRef(({className:e,...t},o)=>se(S.Title,{ref:o,className:a("text-base font-semibold leading-tight",e),...t}));Ut.displayName=S.Title.displayName;var jt=xe.forwardRef(({className:e,...t},o)=>se(S.Description,{ref:o,className:a("text-sm opacity-90",e),...t}));jt.displayName=S.Description.displayName;import{jsx as dt,jsxs as qt}from"react/jsx-runtime";function Lr(){let{toasts:e}=Ot();return qt(Qo,{children:[e.map(function({id:t,title:o,description:i,action:r,...n}){return qt($t,{...n,children:[qt("div",{className:"grid gap-2",children:[o&&dt(Ut,{children:o}),i&&dt(jt,{children:i})]}),r,dt(Gt,{})]},t)}),dt(Wt,{})]})}import*as Yo from"react";import{Slot as Er}from"@radix-ui/react-slot";import{cva as Ir}from"class-variance-authority";import{jsx as Hr}from"react/jsx-runtime";var Xo=Ir("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"}}),pt=Yo.forwardRef(({className:e,variant:t="default",size:o="default",asChild:i=!1,isDisabled:r=!1,...n},m)=>{let c=i?Er:"button",d=a(Xo({variant:t,size:o,className:e}));return Hr(c,{className:d,disabled:r,ref:m,...n,children:n.children})});pt.displayName="TextButton";import*as Qt from"react";import*as j from"@radix-ui/react-tooltip";import{jsx as ea}from"react/jsx-runtime";var _r=j.Provider,Br=j.Root,Vr=j.Trigger,Ko=Qt.forwardRef((e,t)=>ea(j.Arrow,{ref:t,className:a("drop-shadow-md",e.className),...e}));Ko.displayName=j.Arrow.displayName;var Jo=Qt.forwardRef(({className:e,type:t="dark",sideOffset:o=4,...i},r)=>ea(j.Content,{ref:r,sideOffset:o,className:a("z-50 overflow-hidden rounded-md text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 p-1.5 shadow-md",t==="light"?"bg-white text-gray-900 fill-white":"bg-gray-800 fill-gray-800 text-white",e),...i}));Jo.displayName=j.Content.displayName;import{forwardRef as zr,useEffect as Fr,useRef as Or,useState as Wr}from"react";import{QuestionMarkCircleIcon as $r,XCircleIcon as Gr,XCircleIcon as Ur}from"@heroicons/react/16/solid";import{jsx as de,jsxs as Zt}from"react/jsx-runtime";var jr=zr(({disabled:e,isError:t,message:o,label:i,className:r,inputClassName:n,withClearButton:m,size:c,onChange:d,onFocus:x,onClickClear:w,value:v,defaultValue:M,type:z="text",...T},b)=>{let[F,E]=Wr(!1),he=Or(null),D=L=>{L&&!F&&E(!0),!L&&F&&E(!1)},Je=L=>{m&&D(L.target.value),d?.(L)},Le=L=>{m&&D(L.target.value),x?.(L)},Ee=()=>{let L=he.current?.querySelector("input");L&&(w?.(L.value),L.value="",L.focus(),E(!1))};return Fr(()=>{D(M||v)},[v,M]),Zt("div",{className:a(r,t&&"mobase-text-input-error"),ref:he,children:[Zt("div",{className:"relative",children:[i&&de("span",{className:a("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:i}),de("input",{disabled:e,type:z,ref:b,className:a("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:Je,onFocus:Le,value:v,defaultValue:M,...T}),m&&F&&de("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:Ee,children:de(Gr,{strokeWidth:2,width:20,height:20})})]}),o&&Zt("div",{className:"mobase-text-input-message flex space-x-1 items-center mt-0.5",children:[t?de(Ur,{width:16,height:16,className:"text-red-500"}):de($r,{width:16,height:16,className:"text-gray-500"}),de("span",{className:a("text-gray-500 ",c===2?"text-sm":"text-xs"),children:o})]}),de("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,26 @@ import*as Be from"react";import*as G from"@radix-ui/react-accordion";import{Chev
117
117
  color: rgb(var(--mobase-red-500) / 1);
118
118
  }
119
119
  }
120
- `})]})});import{MinusCircleIcon as Yr,PlusCircleIcon as Xr}from"@heroicons/react/24/outline";import{useRef as ia,forwardRef as Jr,useState as Xt,useEffect as ra}from"react";import{jsx as Se,jsxs as na}from"react/jsx-runtime";var en=Jr(({value:e=0,min:t=0,max:o=999,disabled:i=!1,disabledInput:r=!1,step:n=1,inputClassName:l="",stepperClassName:c="",className:d="",onChange:x=()=>{},onChangeInputStepper:w,onDecrement:u,onIncrement:D,...H},N)=>{let y=ia(null),[_,I]=Xt(!1),[he,A]=Xt(!1),[et,Ie]=Xt(""),He=ia(null),E=h=>{Number(h)>=o?I(!0):I(!1),Number(h)>t?A(!1):A(!0)},Ei=()=>{if(i||_)return;let h=y?.current?.querySelector("input");if(!h)return;let W=0;W=Math.min(Number(h.value)+n,o),E(W),h.value=String(W),Ie(h.value||""),w?.(h.value),D?.(h.value)},Ii=()=>{if(i||he)return;let h=y?.current?.querySelector("input");if(!h)return;let W=0;W=Math.max(Number(h.value)-n,0),E(W),h.value=String(W),Ie(h.value||""),w?.(h.value),u?.(h.value)},Hi=h=>{if(!h)return;let W=h?.target?.value;W?.match(/^[0-9]*$/)||(W=W.replace(/[^0-9]/g,"")),E(W);let tt=parseInt(W,10);Number.isNaN(tt)||tt<t?h.target.value=String(t):tt>=o?h.target.value=String(o):h.target.value=String(tt),Ie(h?.target?.value||""),w?.(h.target.value),x?.(h)};return ra(()=>{let h=y?.current?.querySelector("input");h&&E(h?.value)},[]),ra(()=>{let h=y?.current?.querySelector("input");h&&He?.current&&(h.style.width=`${He.current.offsetWidth+10}px`)},[et]),na("div",{ref:y,className:"flex items-center space-x-1",children:[Se(ce,{id:"btn-minus",className:a(!he&&!i?"cursor-pointer text-pink-500":"text-gray-400 cursor-default",c),variant:"transparent",onClick:Ii,children:Se(Yr,{className:"w-8 h-8 "})}),na("div",{children:[Se("input",{pattern:"[0-9]*",inputMode:"numeric",defaultValue:e,ref:N,min:t,max:o,onChange:h=>Hi(h),id:"numberInput",disabled:i||r,autoComplete:"off",...H,className:a("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",l)}),Se("span",{ref:He,style:{visibility:"hidden",position:"absolute",whiteSpace:"pre"},children:et||" "})]}),Se(ce,{id:"btn-plus",className:a(!_&&!i?"cursor-pointer text-pink-500":"text-gray-400 cursor-default",c),variant:"transparent",onClick:Ei,children:Se(Xr,{className:"w-8 h-8 "})})]})});import*as J from"react";import{ChevronDownIcon as sa,ChevronUpIcon as tn,CheckIcon as on,XCircleIcon as an}from"@heroicons/react/16/solid";import{QuestionMarkCircleIcon as rn}from"@heroicons/react/24/outline";import*as f from"@radix-ui/react-select";import{jsx as C,jsxs as je}from"react/jsx-runtime";var nn=J.forwardRef(({className:e,children:t,label:o,message:i,size:r,isError:n,disabled:l,...c})=>je("div",{className:a("select-mobase relative",e,l?"disabled":"",n?"[&>.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:[o&&C("span",{className:a("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",n&&"text-red-500"),children:o}),C(f.Root,{disabled:l,...c,children:t}),i&&je("div",{className:a("mobase-select-message flex space-x-1 items-center mt-1 text-gray-500",n&&"text-red-500"),children:[n?C(an,{width:16,height:16}):C(rn,{width:16,height:16}),C("span",{className:a(r===2?"text-sm":"text-xs"),children:i})]})]})),sn=f.Value,la=J.forwardRef(({className:e,children:t,...o},i)=>je(f.Trigger,{ref:i,className:a("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:[C("div",{className:"line-clamp-1 text-left",children:t}),C(f.Icon,{asChild:!0,children:C(sa,{className:"h-4 w-4 text-gray-500 flex-none"})})]}));la.displayName=f.Trigger.displayName;var Jt=J.forwardRef(({className:e,...t},o)=>C(f.ScrollUpButton,{ref:o,className:a("flex cursor-default items-center justify-center py-1",e),...t,children:C(tn,{className:"h-5 w-5"})}));Jt.displayName=f.ScrollUpButton.displayName;var eo=J.forwardRef(({className:e,...t},o)=>C(f.ScrollDownButton,{ref:o,className:a("flex cursor-default items-center justify-center py-1 bg-gradient-to-t from-white to-transparent",e),...t,children:C(sa,{className:"h-5 w-5"})}));eo.displayName=f.ScrollDownButton.displayName;var ma=J.forwardRef(({className:e,children:t,position:o="popper",...i},r)=>C(f.Portal,{children:je(f.Content,{ref:r,className:a("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,...i,children:[C(Jt,{}),C(f.Viewport,{className:a("p-0",o==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:t}),C(eo,{})]})}));ma.displayName=f.Content.displayName;var ln=J.forwardRef(({className:e,children:t,...o},i)=>C(f.Group,{ref:i,className:a("relative p-1 after:w-full border-b border-gray-200 last:border-0",e),...o,children:t})),ca=J.forwardRef(({className:e,...t},o)=>C(f.Label,{ref:o,className:a("pr-2 pl-8 py-1.5 text-sm font-semibold z-[1]",e),...t}));ca.displayName=f.Label.displayName;var mn=J.forwardRef(({className:e,children:t,...o},i)=>je(f.Item,{ref:i,className:a("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:[C("span",{className:"absolute left-2 flex h-4 w-4 items-center justify-center",children:C(f.ItemIndicator,{children:C(on,{className:"h-4 w-4"})})}),C(f.ItemText,{children:t})]})),da=J.forwardRef(({className:e,...t},o)=>C(f.Separator,{ref:o,className:a("-mx-1 my-1 h-px bg-muted",e),...t}));da.displayName=f.Separator.displayName;import*as X from"react";import{ChevronDownIcon as cn}from"@heroicons/react/16/solid";import*as R from"@radix-ui/react-navigation-menu";import{cva as dn}from"class-variance-authority";import{jsx as B,jsxs as Ge}from"react/jsx-runtime";var pa=X.createContext(null),pn=({value:e,children:t})=>B(pa.Provider,{value:e,children:t}),fn=()=>{let e=X.useContext(pa);if(!e)throw new Error("useNavigationMenu must be used within a NavigationMenuProvider");return e},gt=X.forwardRef(({className:e,children:t,alignDropdown:o="left",...i},r)=>B(pn,{value:{alignDropdown:o},children:Ge(R.Root,{ref:r,className:a("relative z-10 flex max-w-max flex-1 items-center justify-center",e),...i,children:[t,B(ga,{})]})}));gt.displayName=R.Root.displayName;var ut=X.forwardRef(({className:e,...t},o)=>B(R.List,{ref:o,className:a("group flex flex-1 list-none items-center justify-center ",e),...t}));ut.displayName=R.List.displayName;var ht=R.Item,vt=dn(ve({variant:"transparent",size:"sm"})),bt=X.forwardRef(({className:e,children:t,...o},i)=>Ge(R.Trigger,{ref:i,className:a(vt(),"group",e),...o,children:[t,B(cn,{className:"relative ml-1 h-4 w-4 transition duration-300 group-data-[state=open]:rotate-180","aria-hidden":"true"})]}));bt.displayName=R.Trigger.displayName;var xt=X.forwardRef(({className:e,...t},o)=>B(R.Content,{ref:o,className:a("hidden group-data-[state=open]:block left-0 top-0 w-full data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 md:absolute md:w-auto",e),...t}));xt.displayName=R.Content.displayName;var Ue=R.Link,fa=X.forwardRef(({className:e,...t},o)=>{let{alignDropdown:i}=fn();return B("div",{className:a("absolute top-full flex justify-center",i==="left"&&"left-0",i==="right"&&"right-0",i==="center"&&"left-1/2 -translate-x-1/2"),children:B(R.Viewport,{className:a("origin-top-center relative mt-3.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border border-gray-200 bg-white text-gray-900 shadow 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)] group",e),ref:o,...t})})});fa.displayName=R.Viewport.displayName;var ga=X.forwardRef(({className:e,...t},o)=>Ge("div",{ref:o,children:[B(R.Indicator,{ref:o,className:a("top-full z-[1] flex h-4 items-end justify-center overflow-hidden group data-[state=visible]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=visible]:zoom-in-90",e),...t,children:Ge("svg",{width:"158",height:"46",viewBox:"0 0 158 46",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"relative w-7 h-7 top-[9px] group-data-[state=visible]:animate-in group-data-[state=closed]:animate-out group-data-[state=closed]:zoom-out-95 group-data-[state=visible]:zoom-in-90",children:[Ge("g",{"clip-path":"url(#clip0_782_2)",children:[B("path",{d:"M70.9519 9.1982L55.1105 25.0396C47.3839 32.7662 43.5206 36.6295 39.0121 39.3923C35.015 41.8418 30.6572 43.6468 26.0987 44.7412C20.9572 45.9756 15.4937 45.9756 4.56665 45.9756H153.132C142.205 45.9756 136.742 45.9756 131.6 44.7412C127.042 43.6468 122.684 41.8418 118.687 39.3923C114.178 36.6295 110.315 32.7662 102.588 25.0396L86.7468 9.1982C82.3852 4.8365 75.3136 4.8365 70.9519 9.1982Z",fill:"white"}),B("path",{d:"M153.132 40.3912C141.939 40.3912 137.253 40.3553 132.904 39.3112C128.915 38.3536 125.102 36.7741 121.605 34.6309C117.791 32.2938 114.452 29.0054 106.537 21.0909L90.6957 5.2494C84.1532 -1.293 73.5457 -1.293 67.0033 5.2495L51.1618 21.0909C43.2473 29.0054 39.9082 32.2938 36.0944 34.6309C32.5969 36.7741 28.7838 38.3536 24.7952 39.3112C20.4458 40.3553 15.7596 40.3912 4.56672 40.3912H0.668457V45.9756H4.56672C15.4938 45.9756 20.9573 45.9756 26.0988 44.7412C30.6573 43.6468 35.0151 41.8418 39.0122 39.3923C43.5207 36.6295 47.384 32.7662 55.1106 25.0396L70.952 9.1982C75.3137 4.8365 82.3853 4.8365 86.7469 9.1982L102.588 25.0396C110.315 32.7662 114.178 36.6295 118.687 39.3923C122.684 41.8418 127.042 43.6468 131.6 44.7412C136.742 45.9756 142.205 45.9756 153.132 45.9756H157.03V40.3912H153.132Z",fill:"#E5E5E5"})]}),B("defs",{children:B("clipPath",{id:"clip0_782_2",children:B("rect",{width:"158",height:"46",fill:"white",transform:"matrix(1 0 0 -1 0 46)"})})})]})}),B(R.Indicator,{...t,children:B(fa,{})})]}));ga.displayName=R.Indicator.displayName;import*as ha from"react";import*as qe from"@radix-ui/react-switch";import{jsx as ua}from"react/jsx-runtime";var va=ha.forwardRef(({className:e,...t},o)=>ua(qe.Root,{className:a("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:ua(qe.Thumb,{className:a("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=qe.Root.displayName;import*as to from"react";import*as pe from"@radix-ui/react-radio-group";import{Circle as gn}from"lucide-react";import{cva as un}from"class-variance-authority";import{jsx as yt}from"react/jsx-runtime";var hn=un("grid cursor-pointer gap-2 text-gray-900 text-sm",{variants:{orientation:{horizontal:"grid-cols-2",vertical:"grid-cols-1"}},defaultVariants:{orientation:"vertical"}}),ba=to.forwardRef(({disabled:e,orientation:t,className:o,...i},r)=>yt(pe.Root,{className:a("",hn({orientation:t}),o),...i,ref:r}));ba.displayName=pe.Root.displayName;var xa=to.forwardRef(({className:e,...t},o)=>yt(pe.Item,{ref:o,className:a("aspect-square h-4 w-4 rounded-full border border-gray-700 disabled:bg-gray-300 disabled:data-[state=checked]:text-gray-500 data-[state=checked]:text-white disabled:data-[state=checked]:bg-gray-300 data-[state=checked]:bg-pink-500 disabled:border-none data-[state=checked]:border-none text-primary ring-offset-background focus:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-default disabled:opacity-40",e),...t,children:yt(pe.Indicator,{className:"flex items-center justify-center w-full h-full rounded-full ",children:yt(gn,{className:"h-2 w-2 fill-current text-current"})})}));xa.displayName=pe.Item.displayName;import{memo as Bn}from"react";import Da from"next/link";import vn from"next/link";import{jsx as Ae,jsxs as ya}from"react/jsx-runtime";var bn=({className:e="",icon:t="",title:o,children:i="",href:r="",newTab:n=!1})=>{let l=n?{target:"_blank",rel:"noopener noreferrer"}:{};return Ae("li",{className:"",children:Ae(Ue,{asChild:!0,children:ya(vn,{className:a(" select-none space-y-1 rounded-md px-2.5 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 items-center min-h-9",e),href:r,...l,children:[t&&Ae("div",{className:"w-7 h-7 shrink-0",children:Ae("img",{src:t,loading:"lazy",className:"w-7 h-7 object-cover",alt:o})}),ya("div",{className:" ",children:[Ae("div",{className:"text-sm font-medium text-gray-900 leading-none",children:o}),i&&Ae("p",{className:"line-clamp-1 text-xs mt-1 text-gray-500",children:i})]})]})})})},wa=bn;import xn from"next/link";import{jsx as se,jsxs as wn}from"react/jsx-runtime";var yn=({data:e})=>se(gt,{children:se(ut,{children:e.map(t=>{let o=t.newTab?{target:"_blank",rel:"noopener noreferrer"}:{};return t.hasDropdown?wn(ht,{children:[se(bt,{children:t.title}),se(xt,{children:se("ul",{className:a(t.dropDownCompact===!0?"grid gap-1 p-2.5 w-[540px] md:grid-cols-2 ":"grid w-[250px] gap-1 p-2.5 grid-cols-1"),children:t.subMenu&&t.subMenu.map(i=>se(wa,{title:i.title,href:i.url,newTab:i.newTab,icon:t.dropDownCompact===!0?i.icon:"",children:t.dropDownCompact===!0?i.description:""},i.title))})})]},t.id):se(ht,{children:se(xn,{href:t.url,legacyBehavior:!0,passHref:!0,children:se(Ue,{className:vt(),...o,children:t.title})})},t.id)})})}),Na=yn;import{useEffect as Sn,useState as An}from"react";var wt=[.24,.25,.05,1];import{useKey as Mn}from"react-use";import Ta from"next/router";import Nn from"next/link";import{jsx as Qe,jsxs as Pa}from"react/jsx-runtime";var Pn=({className:e="",icon:t="",title:o,children:i="",href:r="",newTab:n=!1})=>{let l=n?{target:"_blank",rel:"noopener noreferrer"}:{};return Qe("li",{className:"",children:Pa(Nn,{className:a(" select-none py-2 flex flex-nowrap space-x-2 items-center",e),href:r,...l,children:[t&&Qe("div",{className:"w-7 h-7 shrink-0",children:Qe("img",{src:t,loading:"lazy",className:"w-7 h-7 object-cover",alt:o})}),Pa("div",{className:" ",children:[Qe("div",{className:"text-sm text-gray-800 leading-none",children:o}),i&&Qe("p",{className:"line-clamp-1 text-xs mt-1 text-gray-500",children:i})]})]})})},Ca=Pn;import Cn from"next/link";import{motion as Rn}from"framer-motion";import{jsx as we,jsxs as Dn}from"react/jsx-runtime";var Tn={hidden:{opacity:0,y:10},show:{opacity:1,y:0,transition:{duration:.25,ease:wt}},exit:{opacity:0,transition:{duration:.05}}},kn=({data:e})=>we(ot,{type:"single",collapsible:!0,children:e.map(t=>{let o=t.newTab?{target:"_blank",rel:"noopener noreferrer"}:{};return we(Rn.div,{variants:Tn,children:t.hasDropdown?Dn(at,{value:t.id,children:[we(it,{className:"py-3",children:t.title}),we(rt,{children:we("ul",{className:a("grid gap-1 grid-cols-1"),children:t.subMenu&&t.subMenu.map(i=>we(Ca,{title:i.title,href:i.url,newTab:i.newTab,icon:t.dropDownCompact===!0?i.icon:"",children:t.dropDownCompact===!0?i.description:""},i.title))})})]}):we(Cn,{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)})}),Ra=kn;import Me from"next/link";import{motion as oo,AnimatePresence as Ln,LazyMotion as En,domAnimation as In}from"framer-motion";import{jsx as p,jsxs as z}from"react/jsx-runtime";var Hn=()=>typeof window<"u"&&window.pageYOffset!==void 0?window.pageYOffset:0,_n=({data:e,className:t})=>{let[o,i]=An(!1);Mn("Escape",()=>i(!1)),Sn(()=>{if(!o)return;let l=Hn();function c(){i(!1)}return document.body.style.position="fixed",document.body.style.width="100%",Ta.events.on("routeChangeComplete",c),()=>{document.body.style.position="",document.body.style.width="",window.scrollTo({top:l||0,behavior:"instant"}),Ta.events.off("routeChangeComplete",c)}},[o]);let r={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:wt}},exit:{opacity:0,transition:{duration:.15}}};return z("div",{className:a(t),children:[z("button",{type:"button",className:"text-gray-800 w-10 h-10 flex items-center justify-center hover:text-gray-700 ",onClick:()=>i(!o),children:[p("span",{className:"sr-only",children:"Navigation"}),p(oo.div,{animate:o?"hidden":"visible",variants:r,children:p("svg",{className:a("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:p("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M4 6h16M4 12h16M4 18h16"})})}),p(oo.div,{animate:o?"visible":"hidden",variants:r,children:p("svg",{className:a("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:p("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M6 18L18 6M6 6l12 12"})})})]}),p(En,{features:In,children:p(Ln,{mode:"wait",children:o&&z(oo.nav,{variants:n,initial:"hidden",animate:"show",exit:"exit",className:a(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)] "),children:[p(Ra,{data:e}),z("div",{className:"py-4 text-sm animate-fade-in duration-500 delay-300",children:[p("h4",{className:"mb-2 mt-5 text-sm font-semibold text-gray-700 ",children:"T\u1EA2I V\xC0 \u0110\u0102NG K\xDD"}),z("div",{className:"flex flex-nowrap",children:[p("div",{className:"flex-initial",children:p(Me,{href:"https://itunes.apple.com/vn/app/id918751511?utm_source=website-momo&utm_medium=download&utm_campaign=momo-1dong",legacyBehavior:!0,children:p("a",{className:"link-white",target:"_blank",children:p("img",{src:"https://homepage.momocdn.net/img/momo-upload-api-210724113855-637627235353131497.jpg",width:130,loading:"lazy",className:"img-fluid",alt:""})})})}),p("div",{className:"ml-3 flex-initial",children:p(Me,{href:"https://play.google.com/store/apps/details?id=com.mservice.momotransfer&utm_source=website-momo&utm_medium=download&utm_campaign=momo-1dong",legacyBehavior:!0,children:p("a",{className:"link-white",target:"_blank",children:p("img",{src:"https://homepage.momocdn.net/img/momo-upload-api-210724113959-637627235994410679.jpg",width:130,loading:"lazy",className:"img-fluid",alt:""})})})})]}),p("h4",{className:"mb-2 mt-5 text-tiny font-semibold text-gray-700",children:"H\u1ED6 TR\u1EE2 KH\xC1CH H\xC0NG"}),z("ul",{className:"mb-2 text-tiny text-gray-500",children:[z("li",{className:"mb-1",children:["Hotline :",p(Me,{href:`tel:${te.Support.Hotline}`,legacyBehavior:!0,children:p("a",{className:"text-gray-600",children:te.Support.Hotline_Format})})]}),z("li",{className:"mb-1",children:["Email:",p(Me,{href:`mailto:${te.Support.Email}`,legacyBehavior:!0,children:p("a",{className:"text-gray-600",children:te.Support.Email})})]})]}),p("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:z("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:[p("div",{className:"absolute left-1 top-1 ",style:{paddingTop:"3px"},children:p("svg",{className:"h-7 w-7 text-pink-700 ",fill:"currentColor",stroke:"currentColor",viewBox:"0 0 345.1 512",children:z("g",{children:[p("title",{children:"Asset 1"}),p("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
- 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`}),p("path",{d:`M189.4,200.7c-14.4,0-25.9,11.6-25.9,25.9v155.7l-17.3-34.6c-14.2-26.3-28.1-23.6-38.9-17.3c-12.5,8.3-17.2,17-8.6,38.9
123
- c19.6,48.2,49.8,105.6,82.2,142.7h116.7c41-30.4,74-175,17.3-181.6c-5.2,0-13.5,0.8-17.3,4.3c0-17.3-15.1-21.7-21.6-21.6
124
- c-7.5,0.1-13,4.3-17.3,13c0-17.3-14.1-21.6-21.6-21.6c-8.3,0-17.9,5.2-21.6,13v-90.8C215.4,212.3,203.8,200.7,189.4,200.7z`})]})})}),p("div",{className:"text-xs text-gray-500 ",children:"H\u01B0\u1EDBng d\u1EABn tr\u1EE3 gi\xFAp tr\xEAn"}),p("div",{className:"text-tiny font-semibold text-gray-800",children:"\u1EE8ng d\u1EE5ng V\xED MoMo"})]})}),p("h4",{className:"mb-2 mt-5 text-tiny font-semibold text-gray-700",children:"H\u1EE2P T\xC1C DOANH NGHI\u1EC6P"}),z("ul",{className:"mb-2 text-tiny text-gray-500",children:[z("li",{className:"mb-1",children:["Hotline :",p(Me,{href:`tel:${te.Business.Phome}`,legacyBehavior:!0,children:p("a",{className:"text-gray-600",children:te.Business.Phome_Format})})]}),z("li",{className:"mb-1",children:["Email :",p(Me,{href:`mailto:${te.Business.Email}`,legacyBehavior:!0,children:z("a",{className:"text-gray-600",children:[" ",te.Business.Email]})})]})]}),p("a",{href:"https://business.momo.vn/#menutop",rel:"noreferrer",target:"_blank",children:z("div",{className:"relative inline-block overflow-hidden rounded border border-gray-300 bg-white py-1 pl-12 pr-2 hover:bg-gray-100",children:[p("div",{className:"absolute left-1 top-1 ",children:p("img",{src:"https://homepage.momocdn.net/fileuploads/svg/momo-file-210724114053.svg",className:"w-10",loading:"lazy",alt:""})}),p("div",{className:"text-xs text-gray-500 ",children:"H\u1EE3p t\xE1c doanh nghi\u1EC7p"}),p("div",{className:"text-tiny font-semibold text-gray-800",children:"\u0110\u0103ng k\xFD h\u1EE3p t\xE1c"})]})})]})]})})})]})},ka=_n;import On from"html-react-parser";import{jsx as le,jsxs as Nt}from"react/jsx-runtime";var Sa=Bn(({className:e,dataMenu:t,serviceInfo:o})=>{let{logo:i,name:r,url:n}=o;return Nt("div",{className:a(e,"sticky top-0 z-40 w-full flex-none transition-colors duration-500 lg:z-50 border-b border-gray-900/10 "),children:[le("div",{className:a("absolute inset-0 h-full w-full bg-white/95 backdrop-blursupports-backdrop-blur:bg-white/60 ")}),le("nav",{className:a("wrapper border-b border-gray-900/10 grid grid-cols-1 items-center lg:border-0 [--header-height:64px] "),style:{minHeight:"var(--header-height)"},children:Nt("div",{className:"relative flex items-center ",children:[Nt(Da,{href:"https://www.momo.vn/",title:"MoMo",className:"mr-3 flex-none w-9 h-9 overflow-hidden rounded-none hover:opacity-80",children:[le("span",{className:"sr-only",children:"MoMo home page"}),le("img",{src:"https://homepage.momocdn.net/fileuploads/svg/momo-file-240411162904.svg",className:"w-9 h-9",alt:"MoMo"})]}),o&&Nt(Da,{href:n,title:r,className:" relative flex space-x-1 pl-2 items-center rounded-none hover:opacity-80 after:absolute after:left-0 after:h-8 after:w-[1px] after:bg-gray-300 after:content-[''] ",children:[le("img",{src:i,className:"w-9 h-9",alt:"MoMo"}),le("div",{className:"text-sm font-semibold leading-[1.1] text-pink-500",children:r&&On(r)})]}),le("div",{className:"relative hidden lg:flex items-center ml-auto",children:le(Na,{data:t})}),le(ka,{data:t,className:"lg:hidden ml-auto "})]})})]})});Sa.displayName="Header";import{memo as Fn}from"react";import{Fragment as zn,jsx as m,jsxs as b}from"react/jsx-runtime";var Vn=({dataMenu:e})=>{let t=e||lo;return b(zn,{children:[m("div",{className:"footer-main order-2 py-7 text-white md:order-1 text-sm",children:b("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:[b("div",{className:"block grow md:w-44 md:shrink-0 md:border-none md:pb-0",children:[m("div",{className:"whitespace-nowrap text-xs font-bold uppercase text-white text-opacity-80",children:t?.heading}),t?.lists?.map((o,i)=>m("div",{className:"mt-3 text-sm",children:m("a",{className:"text-white text-opacity-50 duration-300 hover:text-opacity-100",href:`${o.url}?fromType=${At}`,children:o.title})},i))]}),b("div",{className:" md:order-none md:w-40 md:flex-none md:shrink-0 md:border-none md:pb-0",children:[m("div",{className:"whitespace-nowrap text-xs font-bold uppercase text-white text-opacity-80",children:"D\u1ECBch v\u1EE5 n\u1ED5i b\u1EADt"}),m("div",{className:"flex flex-wrap",children:po.map((o,i)=>m("div",{className:"mt-3 flex w-full text-sm",children:b("a",{href:fo({link:o.Href,query:{fromType:At}}),target:"_blank",rel:"noreferrer",className:"item-center inline-flex text-white text-opacity-50 duration-300 hover:text-opacity-100",children:[m("span",{className:"relative aspect-1 h-5 w-5 md:-mt-0.5 md:h-6 md:w-6",children:m("img",{src:o.Image,className:"absolute inset-0"})}),m("span",{className:"block pl-2",children:o.Name})]})},i))})]}),b("div",{className:"col-span-2 grow border-t border-gray-700 pt-5 sm:col-span-1 md:border-none md:pt-0",children:[b("div",{className:"border-b border-gray-700 pb-5 md:border-0 md:pb-0",children:[m("div",{className:"whitespace-nowrap text-xs font-bold uppercase text-white text-opacity-80",children:"Ch\u0103m s\xF3c kh\xE1ch h\xE0ng"}),b("div",{className:"mt-2 text-sm md:mt-3",children:[m("span",{className:"text-white text-opacity-50",children:"\u0110\u1ECBa ch\u1EC9: "}),m("span",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",children:co.Address})]}),b("div",{className:"mt-1 text-sm",children:[m("span",{className:"text-white text-opacity-50",children:"Hotline : "}),m("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`tel:${$.Support.Hotline}`,children:$.Support.Hotline_Format}),b("small",{className:"text-xs italic text-white text-opacity-60",children:[" ","(Ph\xED 1.000\u0111/ph\xFAt)"]})]}),b("div",{className:"mt-1 text-sm",children:[m("span",{className:"text-white text-opacity-50",children:"Email : "}),m("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`mailto:${$.Support.Email}`,children:$.Support.Email})]}),b("div",{className:"mt-1 text-sm",children:[b("span",{className:"text-white text-opacity-50",children:["T\u1ED5ng \u0111\xE0i g\u1ECDi ra :"," "]}),m("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`tel:${$.Support.Phone_Ext_1}`,children:$.Support.Phone_Ext_1_Format}),m("span",{className:"text-white text-opacity-60",children:" - "}),m("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`tel:${$.Support.Phone_Ext_2}`,children:$.Support.Phone_Ext_2_Format}),m("span",{className:"text-white text-opacity-60",children:", c\xE1c \u0111\u1EA7u s\u1ED1 di \u0111\u1ED9ng Brandname MoMo"})]}),m("div",{className:"mt-3 flex",children:m("a",{href:"https://www.momo.vn/huong-dan/huong-dan-gui-yeu-cau-ho-tro-bang-tinh-nang-tro-giup",rel:"noreferrer",target:"_blank",children:b("div",{className:"relative block overflow-hidden rounded border border-gray-400 bg-black py-1 pl-10 pr-2",children:[m("div",{className:"absolute left-1 top-1 ",style:{paddingTop:"3px"},children:m("svg",{className:"h-7 w-7 text-gray-100 ",fill:"currentColor",stroke:"currentColor",viewBox:"0 0 345.1 512",children:b("g",{children:[m("title",{children:"Asset 1"}),m("path",{d:`M279.4,23.7H30.8C14.5,23.7,0,38.2,0,56.3v401.8c0,16.3,14.5,30.8,30.8,30.8H76h23.8L76,449.4H34.5V96.2h243.1v152l34.5,22
120
+ `})]})});import{MinusCircleIcon as qr,PlusCircleIcon as Qr}from"@heroicons/react/24/outline";import{useRef as ta,forwardRef as Zr,useState as Yt,useEffect as oa}from"react";import{jsx as ke,jsxs as aa}from"react/jsx-runtime";var Yr=Zr(({value:e=0,min:t=0,max:o=999,disabled:i=!1,disabledInput:r=!1,step:n=1,inputClassName:m="",stepperClassName:c="",className:d="",onChange:x=()=>{},onChangeInputStepper:w,onDecrement:v,onIncrement:M,...z},T)=>{let b=ta(null),[F,E]=Yt(!1),[he,D]=Yt(!1),[Je,Le]=Yt(""),Ee=ta(null),L=g=>{Number(g)>=o?E(!0):E(!1),Number(g)>t?D(!1):D(!0)},Ai=()=>{if(i||F)return;let g=b?.current?.querySelector("input");if(!g)return;let O=0;O=Math.min(Number(g.value)+n,o),L(O),g.value=String(O),Le(g.value||""),w?.(g.value),M?.(g.value)},Mi=()=>{if(i||he)return;let g=b?.current?.querySelector("input");if(!g)return;let O=0;O=Math.max(Number(g.value)-n,0),L(O),g.value=String(O),Le(g.value||""),w?.(g.value),v?.(g.value)},Li=g=>{if(!g)return;let O=g?.target?.value;O?.match(/^[0-9]*$/)||(O=O.replace(/[^0-9]/g,"")),L(O);let et=parseInt(O,10);Number.isNaN(et)||et<t?g.target.value=String(t):et>=o?g.target.value=String(o):g.target.value=String(et),Le(g?.target?.value||""),w?.(g.target.value),x?.(g)};return oa(()=>{let g=b?.current?.querySelector("input");g&&L(g?.value)},[]),oa(()=>{let g=b?.current?.querySelector("input");g&&Ee?.current&&(g.style.width=`${Ee.current.offsetWidth+10}px`)},[Je]),aa("div",{ref:b,className:"flex items-center space-x-1",children:[ke(ce,{id:"btn-minus",className:a(!he&&!i?"cursor-pointer text-pink-500":"text-gray-400 cursor-default",c),variant:"transparent",onClick:Mi,children:ke(qr,{className:"w-8 h-8 "})}),aa("div",{children:[ke("input",{pattern:"[0-9]*",inputMode:"numeric",defaultValue:e,ref:T,min:t,max:o,onChange:g=>Li(g),id:"numberInput",disabled:i||r,autoComplete:"off",...z,className:a("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)}),ke("span",{ref:Ee,style:{visibility:"hidden",position:"absolute",whiteSpace:"pre"},children:Je||" "})]}),ke(ce,{id:"btn-plus",className:a(!F&&!i?"cursor-pointer text-pink-500":"text-gray-400 cursor-default",c),variant:"transparent",onClick:Ai,children:ke(Qr,{className:"w-8 h-8 "})})]})});import*as ee from"react";import{ChevronDownIcon as ia,ChevronUpIcon as Xr,CheckIcon as Kr,XCircleIcon as Jr}from"@heroicons/react/16/solid";import{QuestionMarkCircleIcon as en}from"@heroicons/react/24/outline";import*as p from"@radix-ui/react-select";import{jsx as P,jsxs as $e}from"react/jsx-runtime";var tn=ee.forwardRef(({className:e,children:t,label:o,message:i,size:r,isError:n,disabled:m,...c})=>$e("div",{className:a("select-mobase relative",e,m?"disabled":"",n?"[&>.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:[o&&P("span",{className:a("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",n&&"text-red-500"),children:o}),P(p.Root,{disabled:m,...c,children:t}),i&&$e("div",{className:a("mobase-select-message flex space-x-1 items-center mt-1 text-gray-500",n&&"text-red-500"),children:[n?P(Jr,{width:16,height:16}):P(en,{width:16,height:16}),P("span",{className:a(r===2?"text-sm":"text-xs"),children:i})]})]})),on=p.Value,ra=ee.forwardRef(({className:e,children:t,...o},i)=>$e(p.Trigger,{ref:i,className:a("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:[P("div",{className:"line-clamp-1 text-left",children:t}),P(p.Icon,{asChild:!0,children:P(ia,{className:"h-4 w-4 text-gray-500 flex-none"})})]}));ra.displayName=p.Trigger.displayName;var Xt=ee.forwardRef(({className:e,...t},o)=>P(p.ScrollUpButton,{ref:o,className:a("flex cursor-default items-center justify-center py-1",e),...t,children:P(Xr,{className:"h-5 w-5"})}));Xt.displayName=p.ScrollUpButton.displayName;var Kt=ee.forwardRef(({className:e,...t},o)=>P(p.ScrollDownButton,{ref:o,className:a("flex cursor-default items-center justify-center py-1 bg-gradient-to-t from-white to-transparent",e),...t,children:P(ia,{className:"h-5 w-5"})}));Kt.displayName=p.ScrollDownButton.displayName;var na=ee.forwardRef(({className:e,children:t,position:o="popper",...i},r)=>P(p.Portal,{children:$e(p.Content,{ref:r,className:a("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,...i,children:[P(Xt,{}),P(p.Viewport,{className:a("p-0",o==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:t}),P(Kt,{})]})}));na.displayName=p.Content.displayName;var an=ee.forwardRef(({className:e,children:t,...o},i)=>P(p.Group,{ref:i,className:a("relative p-1 after:w-full border-b border-gray-200 last:border-0",e),...o,children:t})),sa=ee.forwardRef(({className:e,...t},o)=>P(p.Label,{ref:o,className:a("pr-2 pl-8 py-1.5 text-sm font-semibold z-[1]",e),...t}));sa.displayName=p.Label.displayName;var rn=ee.forwardRef(({className:e,children:t,...o},i)=>$e(p.Item,{ref:i,className:a("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:[P("span",{className:"absolute left-2 flex h-4 w-4 items-center justify-center",children:P(p.ItemIndicator,{children:P(Kr,{className:"h-4 w-4"})})}),P(p.ItemText,{children:t})]})),la=ee.forwardRef(({className:e,...t},o)=>P(p.Separator,{ref:o,className:a("-mx-1 my-1 h-px bg-muted",e),...t}));la.displayName=p.Separator.displayName;import*as X from"react";import{ChevronDownIcon as nn}from"@heroicons/react/16/solid";import*as C from"@radix-ui/react-navigation-menu";import{cva as sn}from"class-variance-authority";import{jsx as I,jsxs as Ge}from"react/jsx-runtime";var ma=X.createContext(null),ln=({value:e,children:t})=>I(ma.Provider,{value:e,children:t}),mn=()=>{let e=X.useContext(ma);if(!e)throw new Error("useNavigationMenu must be used within a NavigationMenuProvider");return e},ft=X.forwardRef(({className:e,children:t,alignDropdown:o="left",...i},r)=>I(ln,{value:{alignDropdown:o},children:Ge(C.Root,{ref:r,className:a("relative z-10 flex max-w-max flex-1 items-center justify-center",e),...i,children:[t,I(da,{})]})}));ft.displayName=C.Root.displayName;var gt=X.forwardRef(({className:e,...t},o)=>I(C.List,{ref:o,className:a("group flex flex-1 list-none items-center justify-center ",e),...t}));gt.displayName=C.List.displayName;var ut=C.Item,ht=sn(ae({variant:"transparent",size:"sm"})),vt=X.forwardRef(({className:e,children:t,...o},i)=>Ge(C.Trigger,{ref:i,className:a(ht(),"group",e),...o,children:[t,I(nn,{className:"relative ml-1 h-4 w-4 transition duration-300 group-data-[state=open]:rotate-180","aria-hidden":"true"})]}));vt.displayName=C.Trigger.displayName;var bt=X.forwardRef(({className:e,...t},o)=>I(C.Content,{ref:o,className:a("hidden group-data-[state=open]:block left-0 top-0 w-full data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 md:absolute md:w-auto",e),...t}));bt.displayName=C.Content.displayName;var Ue=C.Link,ca=X.forwardRef(({className:e,...t},o)=>{let{alignDropdown:i}=mn();return I("div",{className:a("absolute top-full flex justify-center",i==="left"&&"left-0",i==="right"&&"right-0",i==="center"&&"left-1/2 -translate-x-1/2"),children:I(C.Viewport,{className:a("origin-top-center relative mt-3.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border border-gray-200 bg-white text-gray-900 shadow 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)] group",e),ref:o,...t})})});ca.displayName=C.Viewport.displayName;var da=X.forwardRef(({className:e,...t},o)=>Ge("div",{ref:o,children:[I(C.Indicator,{ref:o,className:a("top-full z-[1] flex h-4 items-end justify-center overflow-hidden group data-[state=visible]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=visible]:zoom-in-90",e),...t,children:Ge("svg",{width:"158",height:"46",viewBox:"0 0 158 46",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"relative w-7 h-7 top-[9px] group-data-[state=visible]:animate-in group-data-[state=closed]:animate-out group-data-[state=closed]:zoom-out-95 group-data-[state=visible]:zoom-in-90",children:[Ge("g",{"clip-path":"url(#clip0_782_2)",children:[I("path",{d:"M70.9519 9.1982L55.1105 25.0396C47.3839 32.7662 43.5206 36.6295 39.0121 39.3923C35.015 41.8418 30.6572 43.6468 26.0987 44.7412C20.9572 45.9756 15.4937 45.9756 4.56665 45.9756H153.132C142.205 45.9756 136.742 45.9756 131.6 44.7412C127.042 43.6468 122.684 41.8418 118.687 39.3923C114.178 36.6295 110.315 32.7662 102.588 25.0396L86.7468 9.1982C82.3852 4.8365 75.3136 4.8365 70.9519 9.1982Z",fill:"white"}),I("path",{d:"M153.132 40.3912C141.939 40.3912 137.253 40.3553 132.904 39.3112C128.915 38.3536 125.102 36.7741 121.605 34.6309C117.791 32.2938 114.452 29.0054 106.537 21.0909L90.6957 5.2494C84.1532 -1.293 73.5457 -1.293 67.0033 5.2495L51.1618 21.0909C43.2473 29.0054 39.9082 32.2938 36.0944 34.6309C32.5969 36.7741 28.7838 38.3536 24.7952 39.3112C20.4458 40.3553 15.7596 40.3912 4.56672 40.3912H0.668457V45.9756H4.56672C15.4938 45.9756 20.9573 45.9756 26.0988 44.7412C30.6573 43.6468 35.0151 41.8418 39.0122 39.3923C43.5207 36.6295 47.384 32.7662 55.1106 25.0396L70.952 9.1982C75.3137 4.8365 82.3853 4.8365 86.7469 9.1982L102.588 25.0396C110.315 32.7662 114.178 36.6295 118.687 39.3923C122.684 41.8418 127.042 43.6468 131.6 44.7412C136.742 45.9756 142.205 45.9756 153.132 45.9756H157.03V40.3912H153.132Z",fill:"#E5E5E5"})]}),I("defs",{children:I("clipPath",{id:"clip0_782_2",children:I("rect",{width:"158",height:"46",fill:"white",transform:"matrix(1 0 0 -1 0 46)"})})})]})}),I(C.Indicator,{...t,children:I(ca,{})})]}));da.displayName=C.Indicator.displayName;import*as fa from"react";import*as je from"@radix-ui/react-switch";import{jsx as pa}from"react/jsx-runtime";var ga=fa.forwardRef(({className:e,...t},o)=>pa(je.Root,{className:a("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:pa(je.Thumb,{className:a("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")})}));ga.displayName=je.Root.displayName;import*as Jt from"react";import*as pe from"@radix-ui/react-radio-group";import{Circle as cn}from"lucide-react";import{cva as dn}from"class-variance-authority";import{jsx as xt}from"react/jsx-runtime";var pn=dn("grid cursor-pointer gap-2 text-gray-900 text-sm",{variants:{orientation:{horizontal:"grid-cols-2",vertical:"grid-cols-1"}},defaultVariants:{orientation:"vertical"}}),ua=Jt.forwardRef(({disabled:e,orientation:t,className:o,...i},r)=>xt(pe.Root,{className:a("",pn({orientation:t}),o),...i,ref:r}));ua.displayName=pe.Root.displayName;var ha=Jt.forwardRef(({className:e,...t},o)=>xt(pe.Item,{ref:o,className:a("aspect-square h-4 w-4 rounded-full border border-gray-700 disabled:bg-gray-300 disabled:data-[state=checked]:text-gray-500 data-[state=checked]:text-white disabled:data-[state=checked]:bg-gray-300 data-[state=checked]:bg-pink-500 disabled:border-none data-[state=checked]:border-none text-primary ring-offset-background focus:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-default disabled:opacity-40",e),...t,children:xt(pe.Indicator,{className:"flex items-center justify-center w-full h-full rounded-full ",children:xt(cn,{className:"h-2 w-2 fill-current text-current"})})}));ha.displayName=pe.Item.displayName;import Ra from"next/link";import fn from"next/link";import{jsx as De,jsxs as va}from"react/jsx-runtime";var gn=({className:e="",icon:t="",title:o,children:i="",href:r="",newTab:n=!1})=>{let m=n?{target:"_blank",rel:"noopener noreferrer"}:{};return De("li",{className:"",children:De(Ue,{asChild:!0,children:va(fn,{className:a(" select-none space-y-1 rounded-md px-2.5 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 items-center min-h-9",e),href:r,...m,children:[t&&De("div",{className:"w-7 h-7 shrink-0",children:De("img",{src:t,loading:"lazy",className:"w-7 h-7 object-cover",alt:o})}),va("div",{className:" ",children:[De("div",{className:"text-sm font-medium text-gray-900 leading-none",children:o}),i&&De("p",{className:"line-clamp-1 text-xs mt-1 text-gray-500",children:i})]})]})})})},ba=gn;import un from"next/link";import{jsx as le,jsxs as vn}from"react/jsx-runtime";var hn=({data:e})=>le(ft,{children:le(gt,{children:e.map(t=>{let o=t.newTab?{target:"_blank",rel:"noopener noreferrer"}:{};return t.hasDropdown?vn(ut,{children:[le(vt,{children:t.title}),le(bt,{children:le("ul",{className:a(t.dropDownCompact===!0?"grid gap-1 p-2.5 w-[540px] md:grid-cols-2 ":"grid w-[250px] gap-1 p-2.5 grid-cols-1"),children:t.subMenu&&t.subMenu.map(i=>le(ba,{title:i.title,href:i.url,newTab:i.newTab,icon:t.dropDownCompact===!0?i.icon:"",children:t.dropDownCompact===!0?i.description:""},i.title))})})]},t.id):le(ut,{children:le(un,{href:t.url,legacyBehavior:!0,passHref:!0,children:le(Ue,{className:ht(),...o,children:t.title})})},t.id)})})}),xa=hn;import{useEffect as Rn,useState as Tn}from"react";var yt=[.24,.25,.05,1];import{useKey as kn}from"react-use";import Ca from"next/router";import bn from"next/link";import{jsx as qe,jsxs as ya}from"react/jsx-runtime";var xn=({className:e="",icon:t="",title:o,children:i="",href:r="",newTab:n=!1})=>{let m=n?{target:"_blank",rel:"noopener noreferrer"}:{};return qe("li",{className:"min-h-8",children:ya(bn,{className:a(" select-none py-2 flex flex-nowrap space-x-2 items-center text",e),href:r,...m,children:[t&&qe("div",{className:"w-7 h-7 shrink-0",children:qe("img",{src:t,loading:"lazy",className:"w-7 h-7 object-cover",alt:o})}),ya("div",{className:" ",children:[qe("div",{className:"text-sm text-gray-800 leading-none",children:o}),i&&qe("p",{className:"line-clamp-1 text-xs mt-1 text-gray-500",children:i})]})]})})},wa=xn;import yn from"next/link";import{motion as wn}from"framer-motion";import{jsx as ye,jsxs as Nn}from"react/jsx-runtime";var Pn={hidden:{opacity:0,y:10},show:{opacity:1,y:0,transition:{duration:.25,ease:yt}},exit:{opacity:0,transition:{duration:.05}}},Cn=({data:e})=>ye(tt,{type:"single",collapsible:!0,children:e.map(t=>{let o=t.newTab?{target:"_blank",rel:"noopener noreferrer"}:{};return ye(wn.div,{variants:Pn,children:t.hasDropdown?Nn(ot,{value:t.id,children:[ye(at,{className:"py-3",children:t.title}),ye(it,{children:ye("ul",{className:a("grid gap-1 grid-cols-1 "),children:t.subMenu&&t.subMenu.map(i=>ye(wa,{title:i.title,href:i.url,newTab:i.newTab,icon:t.dropDownCompact===!0?i.icon:"",children:t.dropDownCompact===!0?i.description:""},i.title))})})]}):ye(yn,{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)})}),Pa=Cn;import{ArrowDownTrayIcon as Dn}from"@heroicons/react/16/solid";import{motion as eo,AnimatePresence as Sn,LazyMotion as An,domAnimation as Mn}from"framer-motion";import{jsx as q,jsxs as wt}from"react/jsx-runtime";var Ln=()=>typeof window<"u"&&window.pageYOffset!==void 0?window.pageYOffset:0,En=({data:e,className:t})=>{let[o,i]=Tn(!1);kn("Escape",()=>i(!1)),Rn(()=>{if(!o)return;let m=Ln();function c(){i(!1)}return document.body.style.position="fixed",document.body.style.width="100%",Ca.events.on("routeChangeComplete",c),()=>{document.body.style.position="",document.body.style.width="",window.scrollTo({top:m||0,behavior:"instant"}),Ca.events.off("routeChangeComplete",c)}},[o]);let r={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:yt}},exit:{opacity:0,transition:{duration:.15}}};return wt("div",{className:a(t),children:[wt("button",{type:"button",className:"text-gray-800 w-10 h-10 flex items-center justify-center hover:text-gray-700 ",onClick:()=>i(!o),children:[q("span",{className:"sr-only",children:"Navigation"}),q(eo.div,{animate:o?"hidden":"visible",variants:r,children:q("svg",{className:a("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:q("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M4 6h16M4 12h16M4 18h16"})})}),q(eo.div,{animate:o?"visible":"hidden",variants:r,children:q("svg",{className:a("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:q("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M6 18L18 6M6 6l12 12"})})})]}),q(An,{features:Mn,children:q(Sn,{mode:"wait",children:o&&wt(eo.nav,{variants:n,initial:"hidden",animate:"show",exit:"exit",className:a(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:[q(Pa,{data:e}),q("div",{className:"fixed inset-x-0 bottom-0 grid grid-cols-1 gap-x-5 px-4 py-6 bg-white",children:wt("a",{className:a("w-full",ae({variant:"primary",size:"lg"})),target:"_blank",href:"http://momo.vn/download",children:[q(Dn,{className:"mr-1 w-4 h-4"})," T\u1EA3i V\xED MoMo"]})})]})})})]})},Na=En;import In from"html-react-parser";import{ArrowDownTrayIcon as Hn}from"@heroicons/react/16/solid";import{useState as _n}from"react";import{jsx as K,jsxs as Se}from"react/jsx-runtime";var Ta=({className:e,dataMenu:t,serviceInfo:o})=>{let{logo:i,name:r,url:n}=o,[m,c]=_n(!1);return Se("div",{className:a(e,"sticky top-0 z-40 w-full flex-none lg:z-50 "),children:[K("div",{className:a("absolute h-full w-full bg-white shadow-[inset_0px_-1px_0px_0px_rgba(0,0,0,0.08)]")}),K("nav",{className:a("wrapper grid grid-cols-1 items-center lg:border-0 [--header-height:64px] "),style:{minHeight:"var(--header-height)"},children:Se("div",{className:"relative flex items-center ",children:[Se(Ra,{href:"https://www.momo.vn/",title:"MoMo",className:"mr-3 flex-none w-9 h-9 overflow-hidden rounded-none hover:opacity-80",children:[K("span",{className:"sr-only",children:"MoMo home page"}),K("img",{src:"https://homepage.momocdn.net/fileuploads/svg/momo-file-240411162904.svg",className:"w-9 h-9",alt:"MoMo"})]}),o&&Se(Ra,{href:n,title:r,className:" relative flex space-x-1 pl-2 items-center rounded-none hover:opacity-80 after:absolute after:left-0 after:h-8 after:w-[1px] after:bg-gray-300 after:content-[''] ",children:[K("img",{src:i,className:"w-9 h-9",alt:"MoMo"}),K("div",{className:"text-sm font-semibold leading-[1.1] text-pink-500",children:r&&In(r)})]}),K("div",{className:"relative lg:ml-10 xl:ml-16 hidden lg:flex items-center ",children:K(xa,{data:t})}),Se("div",{className:"ml-auto",children:[Se(J,{className:"hidden sm:flex",variant:"primary",size:"sm",onClick:()=>c(!0),children:[" ",K(Hn,{className:"mr-1 w-4 h-4"})," T\u1EA3i V\xED MoMo"]}),K(Oe,{open:m,onOpenChange:()=>c(!1),title:"Qu\xE9t m\xE3 \u0111\u1EC3 t\u1EA3i V\xED MoMo",shortTitle:"T\u1EA3i ngay",qrLink:"http://momo.vn/download"})]}),K(Na,{data:t,className:"lg:hidden ml-auto "})]})})]})};Ta.displayName="HeaderNavigation";import{useState as Bn}from"react";import{Fragment as zn,jsx as l,jsxs as u}from"react/jsx-runtime";var ka=({item:e})=>l("div",{className:"mt-3 flex w-full text-sm",children:u("a",{href:mo({link:e.url,query:{fromType:lo}}),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.image&&l("span",{className:"relative flex-none h-5 w-5 md:h-6 md:w-6",children:l("img",{src:e.image,className:"absolute inset-0"})}),l("span",{className:"block ",children:e.title})]})}),Vn=({primaryMenu:e,secondaryMenu:t})=>{let[o,i]=Bn(null);return u(zn,{children:[l("div",{className:"footer-main order-2 py-7 text-white md:order-1 text-sm",children:u("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:[u("div",{className:"block grow md:w-44 md:shrink-0 md:border-none md:pb-0",children:[l("div",{className:"whitespace-nowrap text-xs font-bold uppercase text-white text-opacity-80",children:e?.heading}),e?.lists?.map((r,n)=>l(ka,{item:r},n))]}),u("div",{className:" md:order-none md:w-40 md:flex-none md:shrink-0 md:border-none md:pb-0",children:[l("div",{className:"whitespace-nowrap text-xs font-bold uppercase text-white text-opacity-80",children:t?.heading}),l("div",{className:"flex flex-wrap",children:t?.lists?.map((r,n)=>l(ka,{item:r},n))})]}),u("div",{className:"col-span-2 grow border-t border-gray-700 pt-5 sm:col-span-1 md:border-none md:pt-0",children:[u("div",{className:"border-b border-gray-700 pb-5 md:border-0 md:pb-0",children:[l("div",{className:"whitespace-nowrap text-xs font-bold uppercase text-white text-opacity-80",children:"Ch\u0103m s\xF3c kh\xE1ch h\xE0ng"}),u("div",{className:"mt-2 text-sm md:mt-3",children:[l("span",{className:"text-white text-opacity-50",children:"\u0110\u1ECBa ch\u1EC9: "}),l("span",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",children:so.Address})]}),u("div",{className:"mt-1 text-sm",children:[l("span",{className:"text-white text-opacity-50",children:"Hotline : "}),l("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`tel:${_.Support.Hotline}`,children:_.Support.Hotline_Format}),u("small",{className:"text-xs italic text-white text-opacity-60",children:[" ","(Ph\xED 1.000\u0111/ph\xFAt)"]})]}),u("div",{className:"mt-1 text-sm",children:[l("span",{className:"text-white text-opacity-50",children:"Email : "}),l("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`mailto:${_.Support.Email}`,children:_.Support.Email})]}),u("div",{className:"mt-1 text-sm",children:[u("span",{className:"text-white text-opacity-50",children:["T\u1ED5ng \u0111\xE0i g\u1ECDi ra :"," "]}),l("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`tel:${_.Support.Phone_Ext_1}`,children:_.Support.Phone_Ext_1_Format}),l("span",{className:"text-white text-opacity-60",children:" - "}),l("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`tel:${_.Support.Phone_Ext_2}`,children:_.Support.Phone_Ext_2_Format}),l("span",{className:"text-white text-opacity-60",children:" - "}),l("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`tel:${_.Support.Phone_Ext_3}`,children:_.Support.Phone_Ext_3_Format}),l("span",{className:"text-white text-opacity-60",children:", c\xE1c \u0111\u1EA7u s\u1ED1 di \u0111\u1ED9ng Brandname MoMo"})]}),l("div",{className:"mt-3 flex",children:l("a",{href:"https://www.momo.vn/huong-dan/huong-dan-gui-yeu-cau-ho-tro-bang-tinh-nang-tro-giup",rel:"noreferrer",target:"_blank",children:u("div",{className:"relative block overflow-hidden rounded border border-gray-400 bg-black py-1 pl-10 pr-2",children:[l("div",{className:"absolute left-1 top-1 ",style:{paddingTop:"3px"},children:l("svg",{className:"h-7 w-7 text-gray-100 ",fill:"currentColor",stroke:"currentColor",viewBox:"0 0 345.1 512",children:u("g",{children:[l("title",{children:"Asset 1"}),l("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
121
  V56.3C312,38.2,297.5,23.7,279.4,23.7z M226.8,77.1H86.1c-8.1,0-13.5-5.4-13.5-13.5c0-8.1,5.4-13.5,13.5-13.5h140.8
126
- c5.4,0,10.8,5.4,10.8,13.5C237.7,71.7,232.3,77.1,226.8,77.1z`}),m("path",{d:`M189.4,200.7c-14.4,0-25.9,11.6-25.9,25.9v155.7l-17.3-34.6c-14.2-26.3-28.1-23.6-38.9-17.3c-12.5,8.3-17.2,17-8.6,38.9
122
+ c5.4,0,10.8,5.4,10.8,13.5C237.7,71.7,232.3,77.1,226.8,77.1z`}),l("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
123
  c19.6,48.2,49.8,105.6,82.2,142.7h116.7c41-30.4,74-175,17.3-181.6c-5.2,0-13.5,0.8-17.3,4.3c0-17.3-15.1-21.7-21.6-21.6
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`})]})})}),m("div",{className:"text-xs text-white text-opacity-70",children:"H\u01B0\u1EDBng d\u1EABn tr\u1EE3 gi\xFAp tr\xEAn"}),m("div",{className:"text-xs font-bold uppercase text-white text-opacity-90",children:"\u1EE8ng d\u1EE5ng MoMo"})]})})})]}),b("div",{className:"mt-4 border-b border-gray-700 pb-5 md:mt-8 md:border-none md:pb-0",children:[m("div",{className:"whitespace-nowrap text-xs font-bold uppercase text-white text-opacity-80",children:"H\u1EE3p t\xE1c doanh nghi\u1EC7p"}),b("div",{className:"mt-2 text-sm md:mt-3",children:[m("span",{className:"text-white text-opacity-50",children:"Hotline : "}),m("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`tel:${$.Business.Phome}`,children:$.Business.Phome_Format})]}),b("div",{className:"mt-1 text-sm",children:[m("span",{className:"text-white text-opacity-50",children:"Email : "}),m("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`mailto:${$.Business.Email}`,children:$.Business.Email})]}),b("div",{className:"mt-1 text-sm",children:[m("span",{className:"text-white text-opacity-50",children:"Website : "}),m("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"})]}),m("div",{className:"mt-3 flex",children:m("a",{href:"https://business.momo.vn/#menutop",rel:"noreferrer",target:"_blank",children:b("div",{className:"relative block overflow-hidden rounded border border-gray-400 bg-black py-1 pl-12 pr-2 ",children:[m("div",{className:"absolute left-1 top-1 flex aspect-1 items-center justify-center",children:b("svg",{width:"30",height:"20",viewBox:"0 0 30 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"mt-2",children:[m("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"}),m("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"}),m("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"}),m("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"}),m("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"}),m("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"}),m("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"}),m("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"}),m("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"})]})}),m("div",{className:"text-xs text-white text-opacity-70",children:"H\u1EE3p t\xE1c doanh nghi\u1EC7p"}),m("div",{className:"text-xs font-semibold uppercase text-white text-opacity-90",children:"\u0110\u0103ng k\xFD h\u1EE3p t\xE1c"})]})})})]})]}),b("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:[b("div",{className:"h-auto",children:[m("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"}),m("div",{className:"mt-3 hidden flex-row items-stretch md:flex",children:m("ul",{className:"item-center flex list-none flex-wrap space-x-4",children:_e&&_e.map((o,i)=>m("li",{className:"inline-block",children:m("a",{href:o.Link,target:"_blank",rel:"noreferrer",className:"duration-300 hover:brightness-125",children:m("img",{src:o.Image,loading:"lazy",width:"40",height:"40"})})},i))})})]}),b("div",{className:"h-auto",children:[m("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"}),b("div",{className:"flex flex-wrap md:mt-3 md:space-x-1.5",children:[m("div",{className:"relative hidden h-20 w-20 grow-0 overflow-hidden rounded-sm bg-white md:block",children:m("img",{src:"https://homepage.momocdn.net/img/momo-upload-api-230627140125-638234712853800898.jpg",alt:"Qr-Dowbnload MoMo",className:" absolute inset-0"})}),m("div",{className:"flex grow justify-center gap-2 md:grid md:grid-cols-1 md:gap-1.5",children:St&&St.map((o,i)=>m("a",{href:o.Link,target:"_blank",rel:"noreferrer",className:"button-download",style:{background:`url(${o.Image}) no-repeat center/contain`}},i))}),m("div",{className:"mt-4 flex w-full justify-center text-center md:hidden",children:m("ul",{className:"item-center flex list-none flex-wrap space-x-3.5",children:_e&&_e.map((o,i)=>m("li",{children:m("a",{href:o.Link,target:"_blank",rel:"noreferrer",className:"flex duration-300 hover:brightness-125",children:m("img",{alt:o.Name,src:o.Image,loading:"lazy",width:"36",height:"36"})})},i))})})]})]}),b("div",{className:"h-auto",children:[m("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"}),b("div",{className:"mt-6 flex items-center justify-between md:mt-3 md:justify-normal",children:[b("span",{className:"block text-right text-xs text-white text-opacity-50 md:hidden",children:["\xA9Copyright M_Service ",new Date().getFullYear()]}),m("a",{rel:"noopener noreferrer",href:"http://online.gov.vn/Home/AppDetails/163",target:"_blank",className:" flex w-28 items-center md:w-auto",children:m("img",{alt:"ch\u1EE9ng nh\u1EADn",src:"https://homepage.momocdn.net/blogscontents/momo-upload-api-210629153623-637605777831780706.png",width:119,height:45})})]})]})]})]})}),m("div",{className:" footer-bottom order-1 bg-gray-800 py-3.5 md:order-2 md:py-5",children:b("div",{className:"wrapper flex flex-wrap items-end justify-between md:flex-nowrap md:space-x-3",children:[b("div",{className:"mb-2.5 flex justify-between md:mb-0",children:[m("img",{src:"https://homepage.momocdn.net/fileuploads/svg/momo-file-240411162904.svg",className:"w-9 h-9",alt:"MoMo"}),b("div",{className:"shrink pl-3",children:[m("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"}),m("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"})]})]}),m("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"}),b("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()]})]})}),m("style",{children:`
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`})]})})}),l("div",{className:"text-xs text-white text-opacity-70",children:"H\u01B0\u1EDBng d\u1EABn tr\u1EE3 gi\xFAp tr\xEAn"}),l("div",{className:"text-xs font-bold uppercase text-white text-opacity-90",children:"\u1EE8ng d\u1EE5ng MoMo"})]})})})]}),u("div",{className:"mt-4 border-b border-gray-700 pb-5 md:mt-8 md:border-none md:pb-0",children:[l("div",{className:"whitespace-nowrap text-xs font-bold uppercase text-white text-opacity-80",children:"H\u1EE3p t\xE1c doanh nghi\u1EC7p"}),u("div",{className:"mt-2 text-sm md:mt-3",children:[l("span",{className:"text-white text-opacity-50",children:"Hotline : "}),l("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`tel:${_.Business.Phome}`,children:_.Business.Phome_Format})]}),u("div",{className:"mt-1 text-sm",children:[l("span",{className:"text-white text-opacity-50",children:"Email : "}),l("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`mailto:${_.Business.Email}`,children:_.Business.Email})]}),u("div",{className:"mt-1 text-sm",children:[l("span",{className:"text-white text-opacity-50",children:"Website : "}),l("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"})]}),l("div",{className:"mt-3 flex",children:l("a",{href:"https://business.momo.vn/#menutop",rel:"noreferrer",target:"_blank",children:u("div",{className:"relative block overflow-hidden rounded border border-gray-400 bg-black py-1 pl-12 pr-2 ",children:[l("div",{className:"absolute left-1 top-1 flex aspect-1 items-center justify-center",children:u("svg",{width:"30",height:"20",viewBox:"0 0 30 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"mt-2",children:[l("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"}),l("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"}),l("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"}),l("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"}),l("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"}),l("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"}),l("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"}),l("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"}),l("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"})]})}),l("div",{className:"text-xs text-white text-opacity-70",children:"H\u1EE3p t\xE1c doanh nghi\u1EC7p"}),l("div",{className:"text-xs font-semibold uppercase text-white text-opacity-90",children:"\u0110\u0103ng k\xFD h\u1EE3p t\xE1c"})]})})})]})]}),u("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:[u("div",{className:"h-auto",children:[l("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"}),l("div",{className:"mt-3 hidden flex-row items-stretch md:flex",children:l("ul",{className:"item-center flex list-none flex-wrap space-x-4",children:Ie&&Ie.map((r,n)=>l("li",{className:"inline-block",children:l("a",{href:r.Link,target:"_blank",rel:"noreferrer",className:"duration-300 hover:brightness-125",children:l("img",{src:r.Image,loading:"lazy",width:"40",height:"40"})})},n))})})]}),u("div",{className:"h-auto",children:[l("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"}),u("div",{className:"flex items-center flex-wrap md:mt-3 md:space-x-1.5",children:[l("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:l("img",{src:"https://homepage.momocdn.net/img/momo-upload-api-230627140125-638234712853800898.jpg",alt:"Qr-Dowbnload MoMo",className:" absolute inset-0"})}),l("div",{className:"flex grow justify-center gap-2 md:grid md:grid-cols-1 md:gap-1.5",children:Dt&&Dt.map((r,n)=>u("div",{className:"w-full md:flex md:items-center button-download",style:{background:`url(${r.Image}) center center / contain no-repeat`},children:[l(J,{onClick:()=>i(n),className:"!bg-transparent rounded-none w-full hidden sm:block",style:{fontSize:"0px",padding:"0 0 30.23%0"},children:r.Name}),l("a",{href:r.Link,target:"_blank",rel:"noreferrer",className:"button-download block sm:hidden",style:{fontSize:"0px",padding:"0 0 30.23%0"}}),l(Oe,{open:o===n,onOpenChange:()=>i(null),title:"Qu\xE9t m\xE3 \u0111\u1EC3 t\u1EA3i \u1EE9ng d\u1EE5ng",shortTitle:"T\u1EA3i ngay",qrLink:r.Link})]},n))}),l("div",{className:"mt-4 flex w-full justify-center text-center md:hidden",children:l("ul",{className:"item-center flex list-none flex-wrap space-x-3.5",children:Ie&&Ie.map((r,n)=>l("li",{children:l("a",{href:r.Link,target:"_blank",rel:"noreferrer",className:"flex duration-300 hover:brightness-125",children:l("img",{alt:r.Name,src:r.Image,loading:"lazy",width:"36",height:"36"})})},n))})})]})]}),u("div",{className:"h-auto",children:[l("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"}),u("div",{className:"mt-6 flex items-center justify-between md:mt-3 md:justify-normal",children:[u("span",{className:"block text-right text-xs text-white text-opacity-50 md:hidden",children:["\xA9Copyright M_Service ",new Date().getFullYear()]}),l("a",{rel:"noopener noreferrer",href:"http://online.gov.vn/Home/AppDetails/163",target:"_blank",className:" flex w-28 items-center md:w-auto",children:l("img",{alt:"ch\u1EE9ng nh\u1EADn",src:"https://homepage.momocdn.net/blogscontents/momo-upload-api-210629153623-637605777831780706.png",width:119,height:45})})]})]})]})]})}),l("div",{className:" footer-bottom order-1 bg-gray-800 py-3.5 md:order-2 md:py-5",children:u("div",{className:"wrapper flex flex-wrap items-end justify-between md:flex-nowrap md:space-x-3",children:[u("div",{className:"mb-2.5 flex justify-between md:mb-0",children:[l("img",{src:"https://homepage.momocdn.net/fileuploads/svg/momo-file-240411162904.svg",className:"w-9 h-9",alt:"MoMo"}),u("div",{className:"shrink pl-3",children:[l("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"}),l("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"})]})]}),l("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"}),u("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()]})]})}),l("style",{children:`
129
125
  footer .button-download {
130
126
  max-width: 150px;
131
127
  }
132
- `})]})},Aa=Vn;import{jsx as Ma}from"react/jsx-runtime";var Wn=Fn(({className:e,dataMenu:t})=>Ma("footer",{className:a("grid grid-cols-1 flex-wrap bg-gray-900",e),children:Ma(Aa,{dataMenu:t})}));import*as Ne from"react";import{jsx as Le}from"react/jsx-runtime";var La=Ne.forwardRef(({className:e,...t},o)=>Le("div",{ref:o,className:a("rounded-xl border bg-card text-card-foreground shadow",e),...t}));La.displayName="Card";var Ea=Ne.forwardRef(({className:e,...t},o)=>Le("div",{ref:o,className:a("flex flex-col space-y-1.5 p-6",e),...t}));Ea.displayName="CardHeader";var Ia=Ne.forwardRef(({className:e,...t},o)=>Le("h3",{ref:o,className:a("font-semibold leading-none tracking-tight",e),...t}));Ia.displayName="CardTitle";var Ha=Ne.forwardRef(({className:e,...t},o)=>Le("p",{ref:o,className:a("text-sm text-muted-foreground",e),...t}));Ha.displayName="CardDescription";var _a=Ne.forwardRef(({className:e,...t},o)=>Le("div",{ref:o,className:a("p-6 pt-0",e),...t}));_a.displayName="CardContent";var Ba=Ne.forwardRef(({className:e,...t},o)=>Le("div",{ref:o,className:a("flex items-center p-6 pt-0",e),...t}));Ba.displayName="CardFooter";import*as Z from"react";import{Command as F}from"cmdk";import{XCircleIcon as $n,MagnifyingGlassIcon as jn,CheckIcon as Gn}from"@heroicons/react/16/solid";import{jsx as j,jsxs as Ga}from"react/jsx-runtime";var ao=Z.forwardRef(({className:e,...t},o)=>j(F,{ref:o,className:a("flex text-gray-900 border border-gray-300 shadow-lg bg-white h-full w-full flex-col overflow-hidden rounded-md",e),...t}));ao.displayName=F.displayName;var Un=({children:e,...t})=>j(We,{...t,children:j(ke,{className:"overflow-hidden p-0 shadow-lg",children:j(ao,{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})})}),Oa=Z.forwardRef(({className:e,onClickClear:t,...o},i)=>{let r=Z.useRef(null),[n,l]=Z.useState(""),c=()=>{!n||n?.length<=0||(l(""),t?.(n))};return Ga("div",{ref:r,className:"flex items-center border-b px-3","cmdk-input-wrapper":"",children:[j(jn,{className:"mr-2 h-4 w-4 shrink-0 text-gray-500"}),j(F.Input,{ref:i,className:a("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}),j($n,{onClick:c,className:a("ml-2 transition-all cursor-pointer h-4 w-4 duration-75 shrink-0 text-gray-500",n?.length>0?"opacity-100":"opacity-0")})]})});Oa.displayName=F.Input.displayName;var Va=Z.forwardRef(({className:e,...t},o)=>j(F.List,{ref:o,className:a("max-h-[300px] text-gray-900 overflow-y-auto overflow-x-hidden",e),...t}));Va.displayName=F.List.displayName;var za=Z.forwardRef((e,t)=>j(F.Empty,{ref:t,className:"py-6 text-gray-900 text-center text-sm",...e}));za.displayName=F.Empty.displayName;var Fa=Z.forwardRef(({className:e,...t},o)=>j(F.Group,{ref:o,className:a("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}));Fa.displayName=F.Group.displayName;var Wa=Z.forwardRef(({className:e,...t},o)=>j(F.Separator,{ref:o,className:a("-mx-1 text-gray-900 h-px bg-border",e),...t}));Wa.displayName=F.Separator.displayName;var $a=Z.forwardRef(({className:e,children:t,isActive:o,...i},r)=>Ga(F.Item,{ref:r,className:a("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),...i,children:[j(Gn,{className:a("h-4 w-4 mr-2",o?"opacity-100":"opacity-0")}),t]}));$a.displayName=F.Item.displayName;var ja=({className:e,...t})=>j("span",{className:a("ml-auto text-xs text-gray-900 tracking-widest text-muted-foreground",e),...t});ja.displayName="CommandShortcut";import{ChevronDownIcon as qn}from"@heroicons/react/16/solid";import{jsx as Pt,jsxs as Ua}from"react/jsx-runtime";var Qn=({className:e,value:t,label:o,children:i,placeholder:r})=>Ua("div",{className:"relative",children:[Ua(Vt,{className:a("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||i||r,Pt(qn,{className:"h-4 w-4 text-gray-700 flex-none"})]}),o&&Pt("span",{className:"absolute bg-white -top-2 px-1.5 left-2 text-xs text-gray-500 z-[1]",children:o})]}),Zn=({children:e,className:t})=>Pt(st,{className:a("!p-0 border-none",t),children:e}),Kn=({open:e,onOpenChange:t,children:o})=>Pt(Ot,{open:e,onOpenChange:t,children:o});import{cva as Qa}from"class-variance-authority";import{forwardRef as Yn}from"react";import{InformationCircleIcon as Xn}from"@heroicons/react/24/outline";import{jsx as io,jsxs as qa}from"react/jsx-runtime";var Jn=Qa("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"}}),es=Qa("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"}}),ts=Yn(({type:e="neutral",message:t="",withAction:o=!1,onClickAction:i,className:r,disabled:n,actionClassName:l,...c},d)=>qa("div",{ref:d,className:a("",r,Jn({typeDiv:e,disabled:n})),...c,children:[qa("div",{className:"flex items-center space-x-2",children:[io(Xn,{className:a(es({typeIcon:e,disabled:n})),width:20,height:20}),io("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&&io(ft,{variant:"primary",onClick:()=>i?.(),className:a("",l),isDisabled:n,children:o})]}));import{forwardRef as os,useEffect as as,useRef as is,useState as rs}from"react";import{MagnifyingGlassIcon as ns}from"@heroicons/react/20/solid";import{XCircleIcon as ss}from"@heroicons/react/24/outline";import{jsx as Ee,jsxs as Za}from"react/jsx-runtime";var ls=os(({disabled:e,className:t,inputClassName:o,size:i,onChange:r,onFocus:n,onClickClear:l,value:c,defaultValue:d,type:x="text",...w},u)=>{let[D,H]=rs(!1),N=is(null),y=A=>{A&&!D&&H(!0),!A&&D&&H(!1)},_=A=>{y(A.target.value),r?.(A)},I=A=>{y(A.target.value),n?.(A)},he=()=>{let A=N.current?.querySelector("input");A&&(l?.(A.value),A.value="",A.focus(),H(!1))};return as(()=>{y(d||c)},[c,d]),Za("div",{className:a(t),ref:N,children:[Za("div",{className:"relative flex items-center",children:[Ee("div",{className:"absolute left-3 top-1/2 -translate-y-1/2 shrink-0 text-gray-500 duration-200 ",children:Ee(ns,{className:"w-4 h-4 text-gray-500"})}),Ee("input",{disabled:e,type:x,ref:u,className:a("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:I,value:c,defaultValue:d,...w}),D&&Ee("button",{"aria-label":"button",type:"button",className:"absolute right-3 top-1/2 -translate-y-1/2 shrink-0 cursor-pointer text-gray-500 duration-200 hover:opacity-70 disabled:pointer-events-none",disabled:e,onClick:he,children:Ee(ss,{strokeWidth:2,width:20,height:20})})]}),Ee("style",{children:`
128
+ `})]})},Da=Vn;import{jsx as Sa}from"react/jsx-runtime";var Fn=({className:e,primaryMenu:t,secondaryMenu:o})=>Sa("footer",{className:a("grid grid-cols-1 flex-wrap bg-gray-900",e),children:Sa(Da,{primaryMenu:t,secondaryMenu:o})});import*as we from"react";import{jsx as Ae}from"react/jsx-runtime";var Aa=we.forwardRef(({className:e,...t},o)=>Ae("div",{ref:o,className:a("rounded-xl border bg-card text-card-foreground shadow",e),...t}));Aa.displayName="Card";var Ma=we.forwardRef(({className:e,...t},o)=>Ae("div",{ref:o,className:a("flex flex-col space-y-1.5 p-6",e),...t}));Ma.displayName="CardHeader";var La=we.forwardRef(({className:e,...t},o)=>Ae("h3",{ref:o,className:a("font-semibold leading-none tracking-tight",e),...t}));La.displayName="CardTitle";var Ea=we.forwardRef(({className:e,...t},o)=>Ae("p",{ref:o,className:a("text-sm text-muted-foreground",e),...t}));Ea.displayName="CardDescription";var Ia=we.forwardRef(({className:e,...t},o)=>Ae("div",{ref:o,className:a("p-6 pt-0",e),...t}));Ia.displayName="CardContent";var Ha=we.forwardRef(({className:e,...t},o)=>Ae("div",{ref:o,className:a("flex items-center p-6 pt-0",e),...t}));Ha.displayName="CardFooter";import*as Q from"react";import{Command as V}from"cmdk";import{XCircleIcon as On,MagnifyingGlassIcon as Wn,CheckIcon as $n}from"@heroicons/react/16/solid";import{jsx as W,jsxs as $a}from"react/jsx-runtime";var to=Q.forwardRef(({className:e,...t},o)=>W(V,{ref:o,className:a("flex text-gray-900 border border-gray-300 shadow-lg bg-white h-full w-full flex-col overflow-hidden rounded-md",e),...t}));to.displayName=V.displayName;var Gn=({children:e,...t})=>W(Fe,{...t,children:W(Re,{className:"overflow-hidden p-0 shadow-lg",children:W(to,{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=Q.forwardRef(({className:e,onClickClear:t,...o},i)=>{let r=Q.useRef(null),[n,m]=Q.useState(""),c=()=>{!n||n?.length<=0||(m(""),t?.(n))};return $a("div",{ref:r,className:"flex items-center border-b px-3","cmdk-input-wrapper":"",children:[W(Wn,{className:"mr-2 h-4 w-4 shrink-0 text-gray-500"}),W(V.Input,{ref:i,className:a("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:m,...o}),W(On,{onClick:c,className:a("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=V.Input.displayName;var Ba=Q.forwardRef(({className:e,...t},o)=>W(V.List,{ref:o,className:a("max-h-[300px] text-gray-900 overflow-y-auto overflow-x-hidden",e),...t}));Ba.displayName=V.List.displayName;var Va=Q.forwardRef((e,t)=>W(V.Empty,{ref:t,className:"py-6 text-gray-900 text-center text-sm",...e}));Va.displayName=V.Empty.displayName;var za=Q.forwardRef(({className:e,...t},o)=>W(V.Group,{ref:o,className:a("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}));za.displayName=V.Group.displayName;var Fa=Q.forwardRef(({className:e,...t},o)=>W(V.Separator,{ref:o,className:a("-mx-1 text-gray-900 h-px bg-border",e),...t}));Fa.displayName=V.Separator.displayName;var Oa=Q.forwardRef(({className:e,children:t,isActive:o,...i},r)=>$a(V.Item,{ref:r,className:a("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),...i,children:[W($n,{className:a("h-4 w-4 mr-2",o?"opacity-100":"opacity-0")}),t]}));Oa.displayName=V.Item.displayName;var Wa=({className:e,...t})=>W("span",{className:a("ml-auto text-xs text-gray-900 tracking-widest text-muted-foreground",e),...t});Wa.displayName="CommandShortcut";import{ChevronDownIcon as Un}from"@heroicons/react/16/solid";import{jsx as Pt,jsxs as Ga}from"react/jsx-runtime";var jn=({className:e,value:t,label:o,children:i,placeholder:r})=>Ga("div",{className:"relative",children:[Ga(Bt,{className:a("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||i||r,Pt(Un,{className:"h-4 w-4 text-gray-700 flex-none"})]}),o&&Pt("span",{className:"absolute bg-white -top-2 px-1.5 left-2 text-xs text-gray-500 z-[1]",children:o})]}),qn=({children:e,className:t})=>Pt(nt,{className:a("!p-0 border-none",t),children:e}),Qn=({open:e,onOpenChange:t,children:o})=>Pt(_t,{open:e,onOpenChange:t,children:o});import{cva as ja}from"class-variance-authority";import{forwardRef as Zn}from"react";import{InformationCircleIcon as Yn}from"@heroicons/react/24/outline";import{jsx as oo,jsxs as Ua}from"react/jsx-runtime";var Xn=ja("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"}}),Kn=ja("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"}}),Jn=Zn(({type:e="neutral",message:t="",withAction:o=!1,onClickAction:i,className:r,disabled:n,actionClassName:m,...c},d)=>Ua("div",{ref:d,className:a("",r,Xn({typeDiv:e,disabled:n})),...c,children:[Ua("div",{className:"flex items-center space-x-2",children:[oo(Yn,{className:a(Kn({typeIcon:e,disabled:n})),width:20,height:20}),oo("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&&oo(pt,{variant:"primary",onClick:()=>i?.(),className:a("",m),isDisabled:n,children:o})]}));import{forwardRef as es,useEffect as ts,useRef as os,useState as as}from"react";import{MagnifyingGlassIcon as is}from"@heroicons/react/20/solid";import{XCircleIcon as rs}from"@heroicons/react/24/outline";import{jsx as Me,jsxs as qa}from"react/jsx-runtime";var ns=es(({disabled:e,className:t,inputClassName:o,size:i,onChange:r,onFocus:n,onClickClear:m,value:c,defaultValue:d,type:x="text",...w},v)=>{let[M,z]=as(!1),T=os(null),b=D=>{D&&!M&&z(!0),!D&&M&&z(!1)},F=D=>{b(D.target.value),r?.(D)},E=D=>{b(D.target.value),n?.(D)},he=()=>{let D=T.current?.querySelector("input");D&&(m?.(D.value),D.value="",D.focus(),z(!1))};return ts(()=>{b(d||c)},[c,d]),qa("div",{className:a(t),ref:T,children:[qa("div",{className:"relative flex items-center",children:[Me("div",{className:"absolute left-3 top-1/2 -translate-y-1/2 shrink-0 text-gray-500 duration-200 ",children:Me(is,{className:"w-4 h-4 text-gray-500"})}),Me("input",{disabled:e,type:x,ref:v,className:a("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:F,onFocus:E,value:c,defaultValue:d,...w}),M&&Me("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:he,children:Me(rs,{strokeWidth:2,width:20,height:20})})]}),Me("style",{children:`
133
129
  .mobase-text-input-box:hover {
134
130
  box-shadow: 0px 0px 0px 1px rgb(var(--mobase-gray-400) / 1) inset;
135
131
  }
136
132
  .mobase-text-input-box:focus {
137
133
  box-shadow: 0px 0px 0px 1px rgb(var(--mobase-pink-500) / 1) inset;
138
134
  }
139
- `})]})});import{Swiper as ms,SwiperSlide as cs}from"swiper/react";import{Navigation as Ka,Lazy as Ya,Pagination as ds}from"swiper";import*as L from"@radix-ui/react-dialog";import Pe,{useEffect as ps,useState as Xa}from"react";import{X as fs}from"lucide-react";import{ChevronLeftIcon as gs,ChevronRightIcon as us}from"@heroicons/react/24/outline";import hs from"lodash";import{jsx as T,jsxs as me}from"react/jsx-runtime";var vs=L.Root,bs=L.Portal,Ja=Pe.forwardRef(({className:e,...t},o)=>T(L.Overlay,{ref:o,className:a("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}));Ja.displayName=L.Overlay.displayName;var xs=({clearActiveIndex:e})=>me(L.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:[T(fs,{className:"h-4 w-4 mt-0.5"}),T("div",{className:"",children:"\u0110\xF3ng c\u1EEDa s\u1ED5"})]}),ys=({children:e,src:t,alt:o,className:i,classNameImage:r,onClick:n})=>{let l=()=>{n?.()};return me(L.Trigger,{className:a("aspect-[2/3] relative overflow-hidden rounded-lg",i),onClick:l,children:[e,T("img",{src:t,alt:o,className:a("w-full h-full object-cover rounded-lg",r)})]})},ei=Pe.forwardRef(({className:e,children:t,...o},i)=>me(bs,{children:[T(Ja,{className:"bg-black"}),me(L.Content,{ref:i,className:a("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,T(xs,{})]})]}));ei.displayName=L.Content.displayName;var ws=({className:e,...t})=>T("div",{className:a("flex flex-col space-y-1.5 text-center sm:text-left",e),...t});ws.displayName="DialogHeader";var Ns=({className:e,...t})=>T("div",{className:a("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});Ns.displayName="DialogFooter";var Ps=Pe.forwardRef(({className:e,...t},o)=>T(L.Title,{ref:o,className:a("text-lg font-semibold leading-none tracking-tight",e),...t}));Ps.displayName=L.Title.displayName;var Cs=Pe.forwardRef(({className:e,...t},o)=>T(L.Description,{ref:o,className:a("text-sm text-muted-foreground",e),...t}));Cs.displayName=L.Description.displayName;var Rs=({images:e,activeSlideIndex:t=0,withSideBar:o,subHtmlSideBar:i,classNameSubHtmSideBar:r,className:n,isPagination:l=!1})=>{let[c,d]=Xa(t),[x,w]=Xa(""),u=()=>{let N=hs.filter(e,(_,I)=>I===t),y=N.length>0?N[0]?.titleImage:"";w(y)};ps(()=>{d(t),u()},[t]);let D={clickable:!0,renderBullet(N,y){let _=a("aspect-[1/1] min-w-[96px] mt-40 min-h-[76px] !rounded-lg overflow-hidden",y),I=a("w-full h-full object-cover rounded-lg");return e[N]?.url?`
140
- <div class="${_} ">
141
- <img class="${I} " src="${e[N]?.url}" alt="Slide ${N+1}" />
135
+ `})]})});import{Swiper as ss,SwiperSlide as ls}from"swiper/react";import{Navigation as Qa,Lazy as Za,Pagination as ms}from"swiper";import*as A from"@radix-ui/react-dialog";import Pe,{useEffect as cs,useState as Ya}from"react";import{X as ds}from"lucide-react";import{ChevronLeftIcon as ps,ChevronRightIcon as fs}from"@heroicons/react/24/outline";import gs from"lodash";import{jsx as N,jsxs as me}from"react/jsx-runtime";var us=A.Root,hs=A.Portal,Xa=Pe.forwardRef(({className:e,...t},o)=>N(A.Overlay,{ref:o,className:a("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}));Xa.displayName=A.Overlay.displayName;var vs=({clearActiveIndex:e})=>me(A.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:[N(ds,{className:"h-4 w-4 mt-0.5"}),N("div",{className:"",children:"\u0110\xF3ng c\u1EEDa s\u1ED5"})]}),bs=({children:e,src:t,alt:o,className:i,classNameImage:r,onClick:n})=>{let m=()=>{n?.()};return me(A.Trigger,{className:a("aspect-[2/3] relative overflow-hidden rounded-lg",i),onClick:m,children:[e,N("img",{src:t,alt:o,className:a("w-full h-full object-cover rounded-lg",r)})]})},Ka=Pe.forwardRef(({className:e,children:t,...o},i)=>me(hs,{children:[N(Xa,{className:"bg-black"}),me(A.Content,{ref:i,className:a("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,N(vs,{})]})]}));Ka.displayName=A.Content.displayName;var xs=({className:e,...t})=>N("div",{className:a("flex flex-col space-y-1.5 text-center sm:text-left",e),...t});xs.displayName="DialogHeader";var ys=({className:e,...t})=>N("div",{className:a("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});ys.displayName="DialogFooter";var ws=Pe.forwardRef(({className:e,...t},o)=>N(A.Title,{ref:o,className:a("text-lg font-semibold leading-none tracking-tight",e),...t}));ws.displayName=A.Title.displayName;var Ps=Pe.forwardRef(({className:e,...t},o)=>N(A.Description,{ref:o,className:a("text-sm text-muted-foreground",e),...t}));Ps.displayName=A.Description.displayName;var Cs=({images:e,activeSlideIndex:t=0,withSideBar:o,subHtmlSideBar:i,classNameSubHtmSideBar:r,className:n,isPagination:m=!1})=>{let[c,d]=Ya(t),[x,w]=Ya(""),v=()=>{let T=gs.filter(e,(F,E)=>E===t),b=T.length>0?T[0]?.titleImage:"";w(b)};cs(()=>{d(t),v()},[t]);let M={clickable:!0,renderBullet(T,b){let F=a("aspect-[1/1] min-w-[96px] mt-40 min-h-[76px] !rounded-lg overflow-hidden",b),E=a("w-full h-full object-cover rounded-lg");return e[T]?.url?`
136
+ <div class="${F} ">
137
+ <img class="${E} " src="${e[T]?.url}" alt="Slide ${T+1}" />
142
138
  </div>
143
- `:"<div></div>"}},H=l?[Ka,Ya,ds]:[Ka,Ya];return me(ei,{className:a("flex py-0",n),children:[me("div",{className:"lightbox flex-1 py-6",children:[T("div",{className:"flex items-center justify-end md:justify-center mt-2 w-full",children:me("div",{children:[c?c+1:1," / ",e?.length]})}),me(ms,{initialSlide:t,onSlideChange:({realIndex:N})=>{d(N),u();let y=document.querySelector(".swiper-pagination-bullet-active");y&&y.scrollIntoView({behavior:"smooth",block:"nearest"})},onDestroy:()=>{d(t),u()},slidesPerView:"auto",className:"swiper lightboxSwiper",navigation:{nextEl:".lightbox .next-lightbox",prevEl:".lightbox .prev-lightbox"},pagination:D,modules:H,lazy:{loadPrevNext:!0},children:[e.map((N,y)=>me(cs,{children:[T("div",{className:"absolute top-28 bottom-28 left-0 right-0 min-h-0 sm:left-20 sm:right-20",children:T("img",{src:N.url,alt:"",className:"absolute h-full w-full object-contain",loading:"lazy"})}),T("div",{className:"swiper-lazy-preloader swiper-lazy-preloader-white"}),T("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:x})]},y)),T(ce,{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:T(gs,{className:"w-7 text-slate-900"})}),T(ce,{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:T(us,{className:"w-7 text-slate-900"})})]}),T("style",{children:`
139
+ `:"<div></div>"}},z=m?[Qa,Za,ms]:[Qa,Za];return me(Ka,{className:a("flex py-0",n),children:[me("div",{className:"lightbox flex-1 py-6",children:[N("div",{className:"flex items-center justify-end md:justify-center mt-2 w-full",children:me("div",{children:[c?c+1:1," / ",e?.length]})}),me(ss,{initialSlide:t,onSlideChange:({realIndex:T})=>{d(T),v();let b=document.querySelector(".swiper-pagination-bullet-active");b&&b.scrollIntoView({behavior:"smooth",block:"nearest"})},onDestroy:()=>{d(t),v()},slidesPerView:"auto",className:"swiper lightboxSwiper",navigation:{nextEl:".lightbox .next-lightbox",prevEl:".lightbox .prev-lightbox"},pagination:M,modules:z,lazy:{loadPrevNext:!0},children:[e.map((T,b)=>me(ls,{children:[N("div",{className:"absolute top-28 bottom-28 left-0 right-0 min-h-0 sm:left-20 sm:right-20",children:N("img",{src:T.url,alt:"",className:"absolute h-full w-full object-contain",loading:"lazy"})}),N("div",{className:"swiper-lazy-preloader swiper-lazy-preloader-white"}),N("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:x})]},b)),N(ce,{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:N(ps,{className:"w-7 text-slate-900"})}),N(ce,{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:N(fs,{className:"w-7 text-slate-900"})})]}),N("style",{children:`
144
140
  .lightbox {
145
141
  --lightbox-topnav: 112px;
146
142
  --lightbox-botnav: 80px;
@@ -213,7 +209,7 @@ import*as Be from"react";import*as G from"@radix-ui/react-accordion";import{Chev
213
209
  .swiper-pagination-bullet-active{
214
210
  border: 2px solid white;
215
211
  }
216
- `})]}),o&&T("div",{className:a("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:i})]})},Ts=({children:e,className:t,open:o,onOpenChange:i})=>T("div",{className:a("lightbox-gallery ",t),children:T(vs,{open:o,onOpenChange:i,children:Pe.Children?.map(e,r=>{if(Pe.isValidElement(r)){let n={},l=Object.keys(n).reduce((c,d)=>(n[d]!==void 0&&(c[d]=n[d]),c),{});return Pe.cloneElement(r,l)}return null})})});import ro,{useState as ks}from"react";import{Circle as Ds}from"lucide-react";import{jsx as fe,jsxs as Ct}from"react/jsx-runtime";var Ss=({title:e,description:t,value:o,type:i,name:r,checked:n,disabled:l,hiddenInput:c,classNameDescription:d,classNameTitle:x,className:w,onChange:u,children:D})=>{let[H,N]=ks(!1),y=I=>{u&&u(I?.target?.value)},_=I=>{N(I),u?.(I)};return Ct("label",{className:a(" flex rounded-md cursor-pointer p-4 items-center space-x-6",n||H?"mobase-focus":"mobase-visible",l?"opacity-60 bg-gray-100":"",w),htmlFor:o,children:[!e&&!t?null:Ct("div",{children:[fe("div",{className:a("text-gray-900 text-sm select-none font-bold",x),children:e}),fe("div",{className:a("text-gray-900 select-none text-sm",d),children:t})]}),D,i==="radio"?Ct("div",{className:a("relative",c?"hidden":""),children:[fe("input",{"aria-checked":n,"data-state":n?"checked":"unchecked",checked:n,type:"radio",value:o,name:r,id:o,disabled:l,onChange:y,className:"custom-radio cursor-pointer aspect-square ml-auto h-4 w-4 rounded-full border border-gray-700 disabled:bg-gray-300 disabled:data-[state=checked]:text-gray-500 data-[state=checked]:text-white disabled:data-[state=checked]:bg-gray-300 data-[state=checked]:bg-pink-500 disabled:border-none data-[state=checked]:border-none text-primary ring-offset-background focus:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-default disabled:opacity-40"}),fe(Ds,{className:a("h-2 w-2 absolute top-[6px] right-[4px] fill-white text-current transition-opacity",n?"opacti-100":"opacity-0",l?"fill-gray-300":"")})]}):fe(ze,{disabled:l,id:o,value:o,name:o,onCheckedChange:_,className:a("ml-auto",c?"hidden":"")}),fe("style",{children:`
212
+ `})]}),o&&N("div",{className:a("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:i})]})},Ns=({children:e,className:t,open:o,onOpenChange:i})=>N("div",{className:a("lightbox-gallery ",t),children:N(us,{open:o,onOpenChange:i,children:Pe.Children?.map(e,r=>{if(Pe.isValidElement(r)){let n={},m=Object.keys(n).reduce((c,d)=>(n[d]!==void 0&&(c[d]=n[d]),c),{});return Pe.cloneElement(r,m)}return null})})});import ao,{useState as Rs}from"react";import{Circle as Ts}from"lucide-react";import{jsx as fe,jsxs as Ct}from"react/jsx-runtime";var ks=({title:e,description:t,value:o,type:i,name:r,checked:n,disabled:m,hiddenInput:c,classNameDescription:d,classNameTitle:x,className:w,onChange:v,children:M})=>{let[z,T]=Rs(!1),b=E=>{v&&v(E?.target?.value)},F=E=>{T(E),v?.(E)};return Ct("label",{className:a(" flex rounded-md cursor-pointer p-4 items-center space-x-6",n||z?"mobase-focus":"mobase-visible",m?"opacity-60 bg-gray-100":"",w),htmlFor:o,children:[!e&&!t?null:Ct("div",{children:[fe("div",{className:a("text-gray-900 text-sm select-none font-bold",x),children:e}),fe("div",{className:a("text-gray-900 select-none text-sm",d),children:t})]}),M,i==="radio"?Ct("div",{className:a("relative",c?"hidden":""),children:[fe("input",{"aria-checked":n,"data-state":n?"checked":"unchecked",checked:n,type:"radio",value:o,name:r,id:o,disabled:m,onChange:b,className:"custom-radio cursor-pointer aspect-square ml-auto h-4 w-4 rounded-full border border-gray-700 disabled:bg-gray-300 disabled:data-[state=checked]:text-gray-500 data-[state=checked]:text-white disabled:data-[state=checked]:bg-gray-300 data-[state=checked]:bg-pink-500 disabled:border-none data-[state=checked]:border-none text-primary ring-offset-background focus:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-default disabled:opacity-40"}),fe(Ts,{className:a("h-2 w-2 absolute top-[6px] right-[4px] fill-white text-current transition-opacity",n?"opacti-100":"opacity-0",m?"fill-gray-300":"")})]}):fe(Ve,{disabled:m,id:o,value:o,name:o,onCheckedChange:F,className:a("ml-auto",c?"hidden":"")}),fe("style",{children:`
217
213
  .custom-radio {
218
214
  appearance: none;
219
215
  border: 1px solid #ccc;
@@ -229,7 +225,7 @@ import*as Be from"react";import*as G from"@radix-ui/react-accordion";import{Chev
229
225
  .mobase-focus {
230
226
  box-shadow: 0px 0px 0px 2px rgb(var(--mobase-pink-500) / 1) inset;
231
227
  }
232
- `})]})},As=({direction:e="row",label:t,type:o,value:i,children:r,disabled:n,hiddenInput:l,onChange:c,className:d,...x})=>{let w=`choicebox-group-${t?.replace(/\s+/g,"-").toLowerCase()}`;return Ct("div",{...x,children:[fe("label",{children:t}),fe("ul",{className:a("",d,e?"flex md:flex-row md:space-y-0 md:space-x-4 flex-col space-y-4":"block"),children:ro.Children?.map(r,u=>{if(ro.isValidElement(u)){let D={disabled:u.props.disabled??n,type:o,name:w,checked:u.props.value===i,hiddenInput:l,className:u.props.className,classNameTitle:u.props.classNameTitle,classNameDescription:u.props.classNameDescription,onChange:c},H=Object.keys(D).reduce((N,y)=>(D[y]!==void 0&&(N[y]=D[y]),N),{});return ro.cloneElement(u,H)}return null})})]})};import{cva as Ms}from"class-variance-authority";import{jsx as Es}from"react/jsx-runtime";var ti=Ms("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 Ls({className:e,variant:t,...o}){return Es("div",{className:a(ti({variant:t}),e),...o})}import*as ai from"react";import*as Ze from"@radix-ui/react-progress";import{cva as ii}from"class-variance-authority";import{jsx as oi}from"react/jsx-runtime";var Is=ii("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"}}),Hs=ii("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"}}),ri=ai.forwardRef(({className:e,value:t,variant:o="progress",size:i="medium",disabled:r=!1,...n},l)=>oi(Ze.Root,{ref:l,className:a("",Hs({size:i}),e),...n,children:oi(Ze.Indicator,{className:a("",Is({variant:o})),style:{transform:`translateX(-${100-(t||0)}%)`}})}));ri.displayName=Ze.Root.displayName;import ci,{forwardRef as _s}from"react";var Rt=1;var ni={tagName:"DUMMY TAG",title:"Lorem ipsum, dolor sit amet consectetur adipisicing elit. ",description:"Lorem ipsum, dolor sit amet consectetur adipisicing elit. Maxime minima amet porro.nam asperiores omnis labore doloribus excepturi?",media:{type:1,src:"https://homepage.momocdn.net/img/momo-upload-api-240522112100-638519736605993862.jpg",ratioImg:1/1}},si=[{variant:"primary",content:"Button Primary",url:""},{variant:"transparent",content:"Button Text",url:""}],li={type:"col",contents:[{title:"Lorem ipsum, dolor sit amet consectetur adipisicing elit",label:"",icon:""},{title:"Lorem ipsum, dolor sit amet consectetur adipisicing elit",label:"",icon:""},{title:"Lorem ipsum, dolor sit amet consectetur adipisicing elit",label:"",icon:""},{title:"Lorem ipsum, dolor sit amet consectetur adipisicing elit",label:"",icon:""}]};import{CheckIcon as Bs}from"@heroicons/react/24/outline";import*as mi from"@radix-ui/react-aspect-ratio";var Tt=mi.Root;import{cva as Os}from"class-variance-authority";import*as K from"@radix-ui/react-dialog";import{X as Vs}from"lucide-react";import{Fragment as no,jsx as s,jsxs as k}from"react/jsx-runtime";var zs=K.Portal,Fs=ci.forwardRef(({className:e,...t},o)=>s(K.Overlay,{ref:o,className:a("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t})),Ws=K.Root,$s=()=>k(K.Close,{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:[s(Vs,{className:"h-4 w-4 mt-0.5"}),s("div",{className:"",children:"\u0110\xF3ng c\u1EEDa s\u1ED5"})]}),js=ci.forwardRef(({className:e,children:t,...o},i)=>k(zs,{children:[s(Fs,{className:"bg-black"}),k(K.Content,{ref:i,className:a("h-full min-w-full border-none rounded-none z-[999] fixed left-[50%] top-[50%] grid w-full 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,s($s,{})]})]})),Gs=Os("max-w-md space-y-1 text-gray-800 font-semibold list-inside ",{variants:{template:{col:" flex-col flex mt-5",row:"grid grid-cols-3 items-center divide-x gap-2 mt-5 ",customize:"grid grid-cols-2 md:grid-cols-4 gap-12 max-w-5xl mx-auto font-semibold items-center py-12 text-left text-sm"}},defaultVariants:{template:"col"}}),Ke=({title:e,className:t})=>s("h1",{dangerouslySetInnerHTML:{__html:e||""},className:a("text-3xl md:text-4xl font-bold py-3 text-gray-900",t)}),Ye=({tagName:e,className:t})=>s("div",{className:a("text-pink-500 font-bold text-sm tracking-wider ",t),children:e}),Xe=({description:e,className:t})=>s("div",{dangerouslySetInnerHTML:{__html:e||""},className:a("text-lg text-gray-700 pb-2",t)}),ge=({dataCtas:e,className:t})=>{let o=(r,n)=>{r.preventDefault(),r.stopPropagation(),n?.()},i=({cta:r,index:n})=>k(no,{children:[s(Te,{onClick:l=>r?.onClickCTA?.()&&o(l,r?.onClickCTA?.()),variant:r?.variant,className:a("md:block hidden",r?.variant!=="primary"&&"text-pink-500 hidden "),children:r?.content},n),s(Te,{variant:r?.variant,className:a("md:hidden",r?.variant!=="primary"&&"text-pink-500"),children:s("a",{href:r?.url,target:"_blank",rel:"noreferrer",children:r?.content})},n)]});return s("div",{className:a("flex items-center mt-10",t,e?.length>1?"space-x-6":""),children:e?.map((r,n)=>r?.isQRCode?s(i,{cta:r,index:n},n):s(Te,{onClick:l=>{r?.url||(l.stopPropagation(),l.preventDefault())},variant:r?.variant,className:a("",r?.variant!=="primary"&&"text-pink-500"),children:s("a",{href:r?.url,target:"_blank",rel:"noreferrer",children:r?.content})},n))})},Us=({template:e,title:t,label:o,icon:i,idx:r})=>s(no,{children:(()=>{switch(e){case"col":return k("li",{className:"flex items-center pb-3",children:[s("div",{className:"bg-pink-100 p-1 rounded-full w-5 h-5 flex items-center justify-center",children:s(Bs,{className:"w-4 h-4 text-pink-500 "})}),s("div",{className:"ml-2",children:t})]});case"row":return k("div",{className:a("",r>0?"pl-4":""),children:[s("div",{className:"font-bold text-gray-900",children:t}),s("div",{className:"text-sm mt-1 text-gray-500",children:o})]});case"customize":return k("div",{className:"flex items-center space-x-4",children:[s("img",{src:i,alt:"",className:"shrink-0"}),s("div",{className:"text-gray-900 text-left",children:t})]});default:return null}})()}),Je=({dataFeatures:e})=>s("ul",{className:a("",Gs({template:e?.type})),children:e?.contents?.map((t,o)=>s(Us,{title:t?.title,template:e?.type,label:t?.label,icon:t?.icon,idx:o},o))}),qs=({type:e=1,src:t,ratioImg:o,className:i,video:r,onClickFC:n=()=>{}})=>k(Tt,{className:a(""),ratio:o,children:[s("img",{src:t,className:a("w-full h-full object-cover md:block hidden",i,t?"":"bg-gray-200"),alt:""}),e!==Rt&&r?.codeVideo&&s("div",{className:"aspect-[16/9] realtive overflow-hidden w-full",children:s("iframe",{title:r?.titleVideo,src:`https://www.youtube.com/embed/${r?.codeVideo}?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"})}),e!==Rt&&r?.codeVideo&&k(Ws,{children:[s(K.Trigger,{onClick:n,children:s("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:s("svg",{className:"w-14 h-14",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg",children:k("g",{fill:"none",fillRule:"evenodd",children:[s("circle",{stroke:"#FFF",strokeWidth:2,fillOpacity:".24",fill:"#000",cx:24,cy:24,r:23}),s("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"})]})})})}),s(js,{className:"w-full h-full flex items-center justify-center bg-gray-900 p-0",children:s("iframe",{width:738,height:439,title:r?.titleVideo,src:`https://www.youtube.com/embed/${r?.codeVideo}?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:""})})]})]}),ue=({type:e=1,url:t="",src:o,ratioImg:i,className:r,video:n,onClickFC:l=()=>{}})=>s("div",{children:e===Rt&&!n?.codeVideo?s(Tt,{className:a(""),ratio:i,children:s("img",{src:o,className:a("w-full h-full object-cover",r,o?"":"bg-gray-200"),alt:""})}):s(qs,{type:e,url:t,src:o,ratioImg:i,video:n,onClickFC:l})}),Qs=({data:e,dataCtas:t,dataFeatures:o})=>k("div",{className:a("grid grid-cols-1 md:grid-cols-2 md:gap-16 gap-4 items-center"),children:[k("div",{className:"col-span-1",children:[s(Ye,{tagName:e?.tagName}),s(Ke,{title:e?.title}),s(Xe,{description:e?.description}),s(Je,{dataFeatures:o}),s("div",{className:"md:block hidden",children:s(ge,{dataCtas:t})})]}),k("div",{className:"col-span-1",children:[s(ue,{type:e?.media?.type||1,url:e?.media?.url||"",src:e?.media?.src||"",ratioImg:e?.media?.ratioImg,video:e?.media?.video}),s("div",{className:"block md:hidden flex items-center justify-center",children:s(ge,{dataCtas:t})})]})]}),Zs=({data:e,dataCtas:t,dataFeatures:o})=>k("div",{className:a("grid grid-cols-1 md:grid-cols-2 gap-16 items-center"),children:[s("div",{className:"col-span-1",children:s("div",{className:"hidden md:block",children:s(ue,{type:e?.media?.type||1,url:e?.media?.url||"",src:e?.media?.src||"",ratioImg:e?.media?.ratioImg})})}),k("div",{className:"col-span-1",children:[s(Ye,{tagName:e?.tagName}),s(Ke,{title:e?.title}),s(Xe,{description:e?.description}),s(Je,{dataFeatures:o}),s("div",{className:"md:hidden mt-10",children:s(ue,{type:e?.media?.type||1,url:e?.media?.url||"",src:e?.media?.src||"",ratioImg:e?.media?.ratioImg})}),s("div",{className:"w-full flex items-center justify-center md:justify-start",children:s(ge,{dataCtas:t})})]})]}),Ks=({data:e,dataCtas:t,dataFeatures:o})=>k("div",{className:a("grid grid-cols-1 md:grid-cols-2 gap-16 items-center"),children:[k("div",{className:"col-span-1",children:[s(Ye,{tagName:e?.tagName}),s(Ke,{title:e?.title}),s(Xe,{description:e?.description}),s(Je,{dataFeatures:o}),s("div",{className:"hidden md:block",children:s(ge,{dataCtas:t})})]}),k("div",{className:"col-span-1",children:[s("div",{className:"hidden md:block",children:s(ue,{type:e?.media?.type||1,url:e?.media?.url||"",src:e?.media?.src||"",ratioImg:e?.media?.ratioImg})}),s("div",{className:"md:hidden",children:s(ue,{type:e?.media?.type||1,url:e?.media?.url||"",src:e?.media?.src||"",ratioImg:e?.media?.ratioImg})}),s("div",{className:"md:hidden block w-full flex items-center justify-center",children:s(ge,{dataCtas:t})})]})]}),Ys=({data:e,dataCtas:t,dataFeatures:o})=>k("div",{className:a("grid grid-cols-1 md:grid-cols-2 gap-16 items-center"),children:[k("div",{className:"col-span-1",children:[s(Ye,{tagName:e?.tagName}),s(Ke,{title:e?.title}),s(Xe,{description:e?.description}),s(Je,{dataFeatures:o}),s("div",{className:"hidden md:block",children:s(ge,{dataCtas:t})})]}),k("div",{className:"col-span-1",children:[s("div",{className:"hidden md:block",children:s(ue,{type:e?.media?.type||1,url:e?.media?.url||"",src:e?.media?.src||"",ratioImg:e?.media?.ratioImg,className:"relative overflow-hidden -bottom-20"})}),s("div",{className:"md:hidden",children:s(ue,{type:e?.media?.type||1,url:e?.media?.url||"",src:e?.media?.src||"",ratioImg:e?.media?.ratioImg})}),s("div",{className:"md:hidden block w-full flex items-center justify-center",children:s(ge,{dataCtas:t})})]})]}),Xs=({data:e,dataCtas:t,dataFeatures:o})=>k("div",{children:[s(Ye,{tagName:e?.tagName,className:"max-w-4xl mx-auto text-center text-base leading-7 text-pink-500 font-bold"}),s(Ke,{title:e?.title,className:"max-w-4xl mx-auto text-center font-manrope font-bold text-2xl text-gray-900 mb-5 md:text-4xl lg:text-5xl"}),s(Xe,{description:e?.description,className:"max-w-4xl mx-auto text-center text-base md:text-lg lg:text-xl font-normal leading-7 text-gray-700"}),s(ge,{dataCtas:t,className:"w-full md:w-full inline-flex items-center justify-center text-base font-semibold text-center "}),s(Je,{dataFeatures:o}),s(ue,{type:e?.media?.type||1,url:e?.media?.url||"",src:e?.media?.src||"",ratioImg:e?.media?.ratioImg,className:"rounded-lg"})]}),Js=({template:e,data:t,dataCtas:o,dataFeatures:i})=>{switch(e){case 1:return s(Qs,{data:t,dataCtas:o,dataFeatures:i});case 2:return s(Zs,{data:t,dataCtas:o,dataFeatures:i});case 3:return s(Ks,{data:t,dataCtas:o,dataFeatures:i});case 4:return s(Ys,{data:t,dataCtas:o,dataFeatures:i});case 5:return s(Xs,{data:t,dataCtas:o,dataFeatures:i});default:return null}},el=({template:e,data:t,dataCtas:o,dataFeatures:i})=>s(no,{children:Js({template:e,data:t,dataCtas:o,dataFeatures:i})}),tl=_s(({template:e=1,className:t,data:o,dataCtas:i,dataFeatures:r},n)=>k("div",{ref:n,className:a(" bg-section-hero overflow-hidden py-20",t),children:[s("div",{className:"wrapper relative",children:s(el,{dataCtas:i||si,template:e,data:o||ni,dataFeatures:r||li})}),s("style",{children:`
228
+ `})]})},Ds=({direction:e="row",label:t,type:o,value:i,children:r,disabled:n,hiddenInput:m,onChange:c,className:d,...x})=>{let w=`choicebox-group-${t?.replace(/\s+/g,"-").toLowerCase()}`;return Ct("div",{...x,children:[fe("label",{children:t}),fe("ul",{className:a("",d,e?"flex md:flex-row md:space-y-0 md:space-x-4 flex-col space-y-4":"block"),children:ao.Children?.map(r,v=>{if(ao.isValidElement(v)){let M={disabled:v.props.disabled??n,type:o,name:w,checked:v.props.value===i,hiddenInput:m,className:v.props.className,classNameTitle:v.props.classNameTitle,classNameDescription:v.props.classNameDescription,onChange:c},z=Object.keys(M).reduce((T,b)=>(M[b]!==void 0&&(T[b]=M[b]),T),{});return ao.cloneElement(v,z)}return null})})]})};import{cva as Ss}from"class-variance-authority";import{jsx as Ms}from"react/jsx-runtime";var Ja=Ss("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 As({className:e,variant:t,...o}){return Ms("div",{className:a(Ja({variant:t}),e),...o})}import*as ti from"react";import*as Qe from"@radix-ui/react-progress";import{cva as oi}from"class-variance-authority";import{jsx as ei}from"react/jsx-runtime";var Ls=oi("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"}}),Es=oi("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"}}),ai=ti.forwardRef(({className:e,value:t,variant:o="progress",size:i="medium",disabled:r=!1,...n},m)=>ei(Qe.Root,{ref:m,className:a("",Es({size:i}),e),...n,children:ei(Qe.Indicator,{className:a("",Ls({variant:o})),style:{transform:`translateX(-${100-(t||0)}%)`}})}));ai.displayName=Qe.Root.displayName;import li,{forwardRef as Is}from"react";var Nt=1;var ii={tagName:"DUMMY TAG",title:"Lorem ipsum, dolor sit amet consectetur adipisicing elit. ",description:"Lorem ipsum, dolor sit amet consectetur adipisicing elit. Maxime minima amet porro.nam asperiores omnis labore doloribus excepturi?",media:{type:1,src:"https://homepage.momocdn.net/img/momo-upload-api-240522112100-638519736605993862.jpg",ratioImg:1/1}},ri=[{variant:"primary",content:"Button Primary",url:""},{variant:"transparent",content:"Button Text",url:""}],ni={type:"col",contents:[{title:"Lorem ipsum, dolor sit amet consectetur adipisicing elit",label:"",icon:""},{title:"Lorem ipsum, dolor sit amet consectetur adipisicing elit",label:"",icon:""},{title:"Lorem ipsum, dolor sit amet consectetur adipisicing elit",label:"",icon:""},{title:"Lorem ipsum, dolor sit amet consectetur adipisicing elit",label:"",icon:""}]};import{CheckIcon as Hs}from"@heroicons/react/24/outline";import*as si from"@radix-ui/react-aspect-ratio";var Rt=si.Root;import{cva as _s}from"class-variance-authority";import*as Z from"@radix-ui/react-dialog";import{X as Bs}from"lucide-react";import{Fragment as io,jsx as s,jsxs as R}from"react/jsx-runtime";var Vs=Z.Portal,zs=li.forwardRef(({className:e,...t},o)=>s(Z.Overlay,{ref:o,className:a("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t})),Fs=Z.Root,Os=()=>R(Z.Close,{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:[s(Bs,{className:"h-4 w-4 mt-0.5"}),s("div",{className:"",children:"\u0110\xF3ng c\u1EEDa s\u1ED5"})]}),Ws=li.forwardRef(({className:e,children:t,...o},i)=>R(Vs,{children:[s(zs,{className:"bg-black"}),R(Z.Content,{ref:i,className:a("h-full min-w-full border-none rounded-none z-[999] fixed left-[50%] top-[50%] grid w-full 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,s(Os,{})]})]})),$s=_s("max-w-md space-y-1 text-gray-800 font-semibold list-inside ",{variants:{template:{col:" flex-col flex mt-5",row:"grid grid-cols-3 items-center divide-x gap-2 mt-5 ",customize:"grid grid-cols-2 md:grid-cols-4 gap-12 max-w-5xl mx-auto font-semibold items-center py-12 text-left text-sm"}},defaultVariants:{template:"col"}}),Ze=({title:e,className:t})=>s("h1",{dangerouslySetInnerHTML:{__html:e||""},className:a("text-3xl md:text-4xl font-bold py-3 text-gray-900",t)}),Ye=({tagName:e,className:t})=>s("div",{className:a("text-pink-500 font-bold text-sm tracking-wider ",t),children:e}),Xe=({description:e,className:t})=>s("div",{dangerouslySetInnerHTML:{__html:e||""},className:a("text-lg text-gray-700 pb-2",t)}),ge=({dataCtas:e,className:t})=>{let o=(r,n)=>{r.preventDefault(),r.stopPropagation(),n?.()},i=({cta:r,index:n})=>R(io,{children:[s(J,{onClick:m=>r?.onClickCTA?.()&&o(m,r?.onClickCTA?.()),variant:r?.variant,className:a("md:block hidden",r?.variant!=="primary"&&"text-pink-500 hidden "),children:r?.content},n),s(J,{variant:r?.variant,className:a("md:hidden",r?.variant!=="primary"&&"text-pink-500"),children:s("a",{href:r?.url,target:"_blank",rel:"noreferrer",children:r?.content})},n)]});return s("div",{className:a("flex items-center mt-10",t,e?.length>1?"space-x-6":""),children:e?.map((r,n)=>r?.isQRCode?s(i,{cta:r,index:n},n):s(J,{onClick:m=>{r?.url||(m.stopPropagation(),m.preventDefault())},variant:r?.variant,className:a("",r?.variant!=="primary"&&"text-pink-500"),children:s("a",{href:r?.url,target:"_blank",rel:"noreferrer",children:r?.content})},n))})},Gs=({template:e,title:t,label:o,icon:i,idx:r})=>s(io,{children:(()=>{switch(e){case"col":return R("li",{className:"flex items-center pb-3",children:[s("div",{className:"bg-pink-100 p-1 rounded-full w-5 h-5 flex items-center justify-center",children:s(Hs,{className:"w-4 h-4 text-pink-500 "})}),s("div",{className:"ml-2",children:t})]});case"row":return R("div",{className:a("",r>0?"pl-4":""),children:[s("div",{className:"font-bold text-gray-900",children:t}),s("div",{className:"text-sm mt-1 text-gray-500",children:o})]});case"customize":return R("div",{className:"flex items-center space-x-4",children:[s("img",{src:i,alt:"",className:"shrink-0"}),s("div",{className:"text-gray-900 text-left",children:t})]});default:return null}})()}),Ke=({dataFeatures:e})=>s("ul",{className:a("",$s({template:e?.type})),children:e?.contents?.map((t,o)=>s(Gs,{title:t?.title,template:e?.type,label:t?.label,icon:t?.icon,idx:o},o))}),Us=({type:e=1,src:t,ratioImg:o,className:i,video:r,onClickFC:n=()=>{}})=>R(Rt,{className:a(""),ratio:o,children:[s("img",{src:t,className:a("w-full h-full object-cover md:block hidden",i,t?"":"bg-gray-200"),alt:""}),e!==Nt&&r?.codeVideo&&s("div",{className:"aspect-[16/9] realtive overflow-hidden w-full",children:s("iframe",{title:r?.titleVideo,src:`https://www.youtube.com/embed/${r?.codeVideo}?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"})}),e!==Nt&&r?.codeVideo&&R(Fs,{children:[s(Z.Trigger,{onClick:n,children:s("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:s("svg",{className:"w-14 h-14",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg",children:R("g",{fill:"none",fillRule:"evenodd",children:[s("circle",{stroke:"#FFF",strokeWidth:2,fillOpacity:".24",fill:"#000",cx:24,cy:24,r:23}),s("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"})]})})})}),s(Ws,{className:"w-full h-full flex items-center justify-center bg-gray-900 p-0",children:s("iframe",{width:738,height:439,title:r?.titleVideo,src:`https://www.youtube.com/embed/${r?.codeVideo}?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:""})})]})]}),ue=({type:e=1,url:t="",src:o,ratioImg:i,className:r,video:n,onClickFC:m=()=>{}})=>s("div",{children:e===Nt&&!n?.codeVideo?s(Rt,{className:a(""),ratio:i,children:s("img",{src:o,className:a("w-full h-full object-cover",r,o?"":"bg-gray-200"),alt:""})}):s(Us,{type:e,url:t,src:o,ratioImg:i,video:n,onClickFC:m})}),js=({data:e,dataCtas:t,dataFeatures:o})=>R("div",{className:a("grid grid-cols-1 md:grid-cols-2 md:gap-16 gap-4 items-center"),children:[R("div",{className:"col-span-1",children:[s(Ye,{tagName:e?.tagName}),s(Ze,{title:e?.title}),s(Xe,{description:e?.description}),s(Ke,{dataFeatures:o}),s("div",{className:"md:block hidden",children:s(ge,{dataCtas:t})})]}),R("div",{className:"col-span-1",children:[s(ue,{type:e?.media?.type||1,url:e?.media?.url||"",src:e?.media?.src||"",ratioImg:e?.media?.ratioImg,video:e?.media?.video}),s("div",{className:"block md:hidden flex items-center justify-center",children:s(ge,{dataCtas:t})})]})]}),qs=({data:e,dataCtas:t,dataFeatures:o})=>R("div",{className:a("grid grid-cols-1 md:grid-cols-2 gap-16 items-center"),children:[s("div",{className:"col-span-1",children:s("div",{className:"hidden md:block",children:s(ue,{type:e?.media?.type||1,url:e?.media?.url||"",src:e?.media?.src||"",ratioImg:e?.media?.ratioImg})})}),R("div",{className:"col-span-1",children:[s(Ye,{tagName:e?.tagName}),s(Ze,{title:e?.title}),s(Xe,{description:e?.description}),s(Ke,{dataFeatures:o}),s("div",{className:"md:hidden mt-10",children:s(ue,{type:e?.media?.type||1,url:e?.media?.url||"",src:e?.media?.src||"",ratioImg:e?.media?.ratioImg})}),s("div",{className:"w-full flex items-center justify-center md:justify-start",children:s(ge,{dataCtas:t})})]})]}),Qs=({data:e,dataCtas:t,dataFeatures:o})=>R("div",{className:a("grid grid-cols-1 md:grid-cols-2 gap-16 items-center"),children:[R("div",{className:"col-span-1",children:[s(Ye,{tagName:e?.tagName}),s(Ze,{title:e?.title}),s(Xe,{description:e?.description}),s(Ke,{dataFeatures:o}),s("div",{className:"hidden md:block",children:s(ge,{dataCtas:t})})]}),R("div",{className:"col-span-1",children:[s("div",{className:"hidden md:block",children:s(ue,{type:e?.media?.type||1,url:e?.media?.url||"",src:e?.media?.src||"",ratioImg:e?.media?.ratioImg})}),s("div",{className:"md:hidden",children:s(ue,{type:e?.media?.type||1,url:e?.media?.url||"",src:e?.media?.src||"",ratioImg:e?.media?.ratioImg})}),s("div",{className:"md:hidden block w-full flex items-center justify-center",children:s(ge,{dataCtas:t})})]})]}),Zs=({data:e,dataCtas:t,dataFeatures:o})=>R("div",{className:a("grid grid-cols-1 md:grid-cols-2 gap-16 items-center"),children:[R("div",{className:"col-span-1",children:[s(Ye,{tagName:e?.tagName}),s(Ze,{title:e?.title}),s(Xe,{description:e?.description}),s(Ke,{dataFeatures:o}),s("div",{className:"hidden md:block",children:s(ge,{dataCtas:t})})]}),R("div",{className:"col-span-1",children:[s("div",{className:"hidden md:block",children:s(ue,{type:e?.media?.type||1,url:e?.media?.url||"",src:e?.media?.src||"",ratioImg:e?.media?.ratioImg,className:"relative overflow-hidden -bottom-20"})}),s("div",{className:"md:hidden",children:s(ue,{type:e?.media?.type||1,url:e?.media?.url||"",src:e?.media?.src||"",ratioImg:e?.media?.ratioImg})}),s("div",{className:"md:hidden block w-full flex items-center justify-center",children:s(ge,{dataCtas:t})})]})]}),Ys=({data:e,dataCtas:t,dataFeatures:o})=>R("div",{children:[s(Ye,{tagName:e?.tagName,className:"max-w-4xl mx-auto text-center text-base leading-7 text-pink-500 font-bold"}),s(Ze,{title:e?.title,className:"max-w-4xl mx-auto text-center font-manrope font-bold text-2xl text-gray-900 mb-5 md:text-4xl lg:text-5xl"}),s(Xe,{description:e?.description,className:"max-w-4xl mx-auto text-center text-base md:text-lg lg:text-xl font-normal leading-7 text-gray-700"}),s(ge,{dataCtas:t,className:"w-full md:w-full inline-flex items-center justify-center text-base font-semibold text-center "}),s(Ke,{dataFeatures:o}),s(ue,{type:e?.media?.type||1,url:e?.media?.url||"",src:e?.media?.src||"",ratioImg:e?.media?.ratioImg,className:"rounded-lg"})]}),Xs=({template:e,data:t,dataCtas:o,dataFeatures:i})=>{switch(e){case 1:return s(js,{data:t,dataCtas:o,dataFeatures:i});case 2:return s(qs,{data:t,dataCtas:o,dataFeatures:i});case 3:return s(Qs,{data:t,dataCtas:o,dataFeatures:i});case 4:return s(Zs,{data:t,dataCtas:o,dataFeatures:i});case 5:return s(Ys,{data:t,dataCtas:o,dataFeatures:i});default:return null}},Ks=({template:e,data:t,dataCtas:o,dataFeatures:i})=>s(io,{children:Xs({template:e,data:t,dataCtas:o,dataFeatures:i})}),Js=Is(({template:e=1,className:t,data:o,dataCtas:i,dataFeatures:r},n)=>R("div",{ref:n,className:a(" bg-section-hero overflow-hidden py-20",t),children:[s("div",{className:"wrapper relative",children:s(Ks,{dataCtas:i||ri,template:e,data:o||ii,dataFeatures:r||ni})}),s("style",{children:`
233
229
  .bg-section-hero {
234
230
  background: var(
235
231
  --gradient-pink-1,
@@ -255,7 +251,7 @@ import*as Be from"react";import*as G from"@radix-ui/react-accordion";import{Chev
255
251
  #fff
256
252
  );
257
253
  }
258
- `})]}));import*as di from"react";import*as ee from"@radix-ui/react-slider";import{jsx as kt,jsxs as ol}from"react/jsx-runtime";var pi=di.forwardRef(({className:e,...t},o)=>ol(ee.Root,{ref:o,className:a("relative flex w-full touch-none select-none items-center",t?.disabled&&"opacity-40",e),...t,children:[kt(ee.Track,{className:"relative h-2 w-full grow overflow-hidden rounded-full bg-gray-200",children:kt(ee.Range,{className:"absolute h-full bg-pink-500"})}),kt(ee.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"}),kt(ee.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"})]}));pi.displayName=ee.Root.displayName;import ll from"color";import ml from"tailwindcss/plugin.js";var O="250ms",fi={".transition-all":{"transition-property":"all","transition-timing-function":"ease","transition-duration":O},".transition-background":{"transition-property":"background","transition-timing-function":"ease","transition-duration":O},".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":O},".transition-colors":{"transition-property":"color, background-color, border-color, text-decoration-color, fill, stroke","transition-timing-function":"ease","transition-duration":O},".transition-opacity":{"transition-property":"opacity","transition-timing-function":"ease","transition-duration":O},".transition-colors-opacity":{"transition-property":"color, background-color, border-color, text-decoration-color, fill, stroke, opacity","transition-timing-function":"ease","transition-duration":O},".transition-width":{"transition-property":"width","transition-timing-function":"ease","transition-duration":O},".transition-height":{"transition-property":"height","transition-timing-function":"ease","transition-duration":O},".transition-size":{"transition-property":"width, height","transition-timing-function":"ease","transition-duration":O},".transition-left":{"transition-property":"left","transition-timing-function":"ease","transition-duration":O},".transition-shadow":{"transition-property":"box-shadow","transition-timing-function":"ease","transition-duration":O},".transition-transform":{"transition-property":"transform","transition-timing-function":"ease","transition-duration":O},".transition-transform-opacity":{"transition-property":"transform, opacity","transition-timing-function":"ease","transition-duration":O},".transition-transform-background":{"transition-property":"transform, background","transition-timing-function":"ease","transition-duration":O},".transition-transform-colors":{" transition-property":"transform, color, background, background-color, border-color, text-decoration-color, fill, stroke","transition-timing-function":"ease","transition-duration":O},".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":O}};var gi={".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 ui={".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 hi={...gi,...fi,...ui};function al(e){return e&&e.constructor&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}function il(e){return e}function vi(e,t){t=t||{};let o=t.delimiter||".",i=t.maxDepth,r=t.transformKey||il,n={};function l(c,d,x){x=x||1,Object.keys(c).forEach(function(w){let u=c[w],D=t.safe&&Array.isArray(u),H=Object.prototype.toString.call(u),N=al(u),y=H==="[object Object]"||H==="[object Array]",_=d?d+o+r(w):r(w);if(!D&&!N&&y&&Object.keys(u).length&&(!t.maxDepth||x<i))return l(u,_,x+1);n[_]=u})}return l(e),n}function rl(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 bi=e=>rl(vi(e,{safe:!0,delimiter:"-"}));var Dt=16,nl=[.5,1,1.5,2,2.5,3,3.5,4,5,6,7,8,9,10,11,12,14,16,18],sl=[20,24,28,32,36,40,44,48,52,56,60,64,72,80,96],xi=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(([i,r])=>{o[i]=r?`${e*r/Dt}rem`:`${e/Dt}rem`}),nl.forEach(i=>{let r=`${i}`;if(r.includes(".")){let[n,l]=r.split(".");r=`${n}_${l}`}o[r]=`${e*i/Dt}rem`}),sl.forEach(i=>{let r=`${i}`;o[r]=`${e*i/Dt}rem`}),o};var yi={50:"#eef8ff",100:"#d9eeff",200:"#bce1ff",300:"#8ed0ff",400:"#59b4ff",500:"#429cff",600:"#1b74f5",700:"#145ee1",800:"#174bb6",900:"#19428f",DEFAULT:"#429cff"};var wi={50:"#f1fcf3",100:"#dff9e5",200:"#c0f2cc",300:"#8fe6a4",400:"#57d175",500:"#34c759",600:"#22973f",700:"#1e7735",800:"#1d5e2e",900:"#194e28",DEFAULT:"#34c759"};var Ni={50:"#fef1f9",100:"#fee5f6",200:"#fecced",300:"#ffa2df",400:"#fe68c6",500:"#EB2F96",600:"#D42A87",700:"#CB0B6F",800:"#A70D5B",900:"#8B104E",DEFAULT:"#EB2F96"};var Pi={50:"#faf5ff",100:"#f4e9fe",200:"#ead6fe",300:"#dab6fc",400:"#c487f9",500:"#ab55f3",600:"#9937e6",700:"#8326ca",800:"#6f24a5",900:"#5b1e85",DEFAULT:"#ab55f3"};var Ci={50:"#fff1f2",100:"#ffe1e3",200:"#ffc8cb",300:"#ffa1a6",400:"#fe6b73",500:"#f74e57",600:"#e41e29",700:"#c0151e",800:"#9e161d",900:"#83191f",DEFAULT:"#f74e57"};var Ri={50:"#fffee7",100:"#fffec1",200:"#fff886",300:"#ffec41",400:"#ffdb0d",500:"#ffcc00",600:"#d19500",700:"#a66a02",800:"#89530a",900:"#74430f",DEFAULT:"#ffcc00"};var Ti={50:"#fff4ed",100:"#ffe6d5",200:"#fecaaa",300:"#fea473",400:"#fc743b",500:"#fa541c",600:"#eb350b",700:"#c3240b",800:"#9b1e11",900:"#7c1c12",DEFAULT:"#fa541c"};var ki={50:"#FAFAFA",100:"#F5F5F5",200:"#E5E5E5",300:"#D4D4D4",400:"#A3A3A3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",DEFAULT:"#737373"};var Di={white:"#ffffff",black:"#000000",blue:yi,green:wi,pink:Ni,purple:Pi,red:Ci,yellow:Ri,gray:ki,orange:Ti};var so={...Di};var Si={"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 Ai={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 Mi(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 Li(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 cl=e=>{let t={utilities:{},colors:{}},o=bi(so),i=Si,r=":root";return t.utilities[r]={},Object.entries(o).forEach(([n,l])=>{if(l)try{let[c,d,x]=ll(l).rgb().array(),w=`--${e}-${n}`;t.utilities[r][w]=`${c} ${d} ${x}`,t.colors[n]=`rgb(var(${w}) / <alpha-value>)`}catch(c){console.log("error",c?.message)}}),Object.entries(i).forEach(([n,l])=>{if(!l)return;let c=`--${e}-${n}`;if(typeof l=="object")Object.entries(l).forEach(([d,x])=>{let w=`${c}-${d}`;t.utilities[r][w]=x});else if(n==="spacing-unit"){t.utilities[r][c]=l;let d=xi(Number(l));Object.entries(d).forEach(([x,w])=>{let u=`${c}-${x}`;t.utilities[r][u]=w})}else{let d=c.includes("opacity")&&typeof l=="number"?l.toString().replace(/^0\./,"."):l;t.utilities[r][c]=d}}),t},dl=()=>{let e="mobase",t=cl(e);return ml(({addBase:o,addUtilities:i,addComponents:r})=>{r({".wrapper":{maxWidth:"72rem",paddingLeft:"1.25rem",paddingRight:"1.25rem",marginLeft:"auto",marginRight:"auto","@media (min-width: 768px)":{paddingLeft:"2rem",paddingRight:"2rem"}}}),o({":root":{"font-smooth--webkit":"antialiased"},...t?.utilities}),i({...hi})},{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:{...so,...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:{...Li(e)},fontSize:{...Mi(e)},...Ai}}})};import{Fragment as fl,jsx as v,jsxs as gl}from"react/jsx-runtime";var pl=gl(fl,{children:[v("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"}),v("meta",{name:"distribution",content:"Global"}),v("meta",{name:"author",content:"V\xED MoMo"}),v("meta",{property:"fb:app_id",content:"320653355376196"}),v("meta",{property:"fb:pages",content:"138010322921640"}),v("link",{rel:"shortcut icon",href:"/favicon.ico"}),v("link",{href:"https://www.momo.vn/favicon-32x32.png",rel:"icon",sizes:"32x32",type:"image/png"}),v("link",{href:"https://www.momo.vn/favicon-16x16.png",rel:"icon",sizes:"16x16",type:"image/png"}),v("link",{href:"https://www.momo.vn/apple-touch-icon.png",rel:"apple-touch-icon",sizes:"180x180"}),v("meta",{name:"language",content:"vietnamese"}),v("meta",{name:"copyright",content:"Copyright \xA9 2019 by MOMO.VN"}),v("meta",{name:"REVISIT-AFTER",content:"1 DAYS"}),v("meta",{name:"RATING",content:"GENERAL"}),v("meta",{httpEquiv:"x-dns-prefetch-control",content:"on"}),v("link",{rel:"dns-prefetch",href:"//www.google-analytics.com"}),v("link",{rel:"dns-prefetch",href:"//connect.facebook.net"}),v("link",{rel:"dns-prefetch",href:"//www.googletagservices.com"}),v("link",{rel:"dns-prefetch",href:"//www.googletagmanager.com"}),v("link",{rel:"dns-prefetch",href:"//facebook.com"}),v("link",{rel:"dns-prefetch",href:"//homepage.momocdn.net"}),v("link",{rel:"dns-prefetch",href:"//www.google.com"}),v("link",{rel:"dns-prefetch",href:"//www.google.com.vn"}),v("link",{rel:"dns-prefetch",href:"//www.googleadservices.com"}),v("link",{rel:"preconnect",href:"//connect.facebook.net"}),v("link",{rel:"preconnect",href:"//www.googletagmanager.com"}),v("link",{rel:"preconnect",href:"//www.google-analytics.com"}),v("link",{rel:"preconnect",href:"//googleads.g.doubleclick.net"}),v("link",{rel:"preconnect",href:"//homepage.momocdn.net"}),v("link",{rel:"preconnect",href:"//www.google.com"}),v("link",{rel:"preconnect",href:"//www.google.com.vn"}),v("link",{rel:"preconnect",href:"//www.googleadservices.com"}),v("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:`{
254
+ `})]}));import*as mi from"react";import*as te from"@radix-ui/react-slider";import{jsx as Tt,jsxs as el}from"react/jsx-runtime";var ci=mi.forwardRef(({className:e,...t},o)=>el(te.Root,{ref:o,className:a("relative flex w-full touch-none select-none items-center",t?.disabled&&"opacity-40",e),...t,children:[Tt(te.Track,{className:"relative h-2 w-full grow overflow-hidden rounded-full bg-gray-200",children:Tt(te.Range,{className:"absolute h-full bg-pink-500"})}),Tt(te.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"}),Tt(te.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"})]}));ci.displayName=te.Root.displayName;import rl from"color";import nl from"tailwindcss/plugin.js";var H="250ms",di={".transition-all":{"transition-property":"all","transition-timing-function":"ease","transition-duration":H},".transition-background":{"transition-property":"background","transition-timing-function":"ease","transition-duration":H},".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":H},".transition-colors":{"transition-property":"color, background-color, border-color, text-decoration-color, fill, stroke","transition-timing-function":"ease","transition-duration":H},".transition-opacity":{"transition-property":"opacity","transition-timing-function":"ease","transition-duration":H},".transition-colors-opacity":{"transition-property":"color, background-color, border-color, text-decoration-color, fill, stroke, opacity","transition-timing-function":"ease","transition-duration":H},".transition-width":{"transition-property":"width","transition-timing-function":"ease","transition-duration":H},".transition-height":{"transition-property":"height","transition-timing-function":"ease","transition-duration":H},".transition-size":{"transition-property":"width, height","transition-timing-function":"ease","transition-duration":H},".transition-left":{"transition-property":"left","transition-timing-function":"ease","transition-duration":H},".transition-shadow":{"transition-property":"box-shadow","transition-timing-function":"ease","transition-duration":H},".transition-transform":{"transition-property":"transform","transition-timing-function":"ease","transition-duration":H},".transition-transform-opacity":{"transition-property":"transform, opacity","transition-timing-function":"ease","transition-duration":H},".transition-transform-background":{"transition-property":"transform, background","transition-timing-function":"ease","transition-duration":H},".transition-transform-colors":{" transition-property":"transform, color, background, background-color, border-color, text-decoration-color, fill, stroke","transition-timing-function":"ease","transition-duration":H},".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":H}};var pi={".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 fi={".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 gi={...pi,...di,...fi};import{flatten as tl}from"flat";function ol(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 ui=e=>ol(tl(e,{safe:!0,delimiter:"-"}));var kt=16,al=[.5,1,1.5,2,2.5,3,3.5,4,5,6,7,8,9,10,11,12,14,16,18],il=[20,24,28,32,36,40,44,48,52,56,60,64,72,80,96],hi=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(([i,r])=>{o[i]=r?`${e*r/kt}rem`:`${e/kt}rem`}),al.forEach(i=>{let r=`${i}`;if(r.includes(".")){let[n,m]=r.split(".");r=`${n}_${m}`}o[r]=`${e*i/kt}rem`}),il.forEach(i=>{let r=`${i}`;o[r]=`${e*i/kt}rem`}),o};var vi={50:"#eef8ff",100:"#d9eeff",200:"#bce1ff",300:"#8ed0ff",400:"#59b4ff",500:"#429cff",600:"#1b74f5",700:"#145ee1",800:"#174bb6",900:"#19428f",DEFAULT:"#429cff"};var bi={50:"#f1fcf3",100:"#dff9e5",200:"#c0f2cc",300:"#8fe6a4",400:"#57d175",500:"#34c759",600:"#22973f",700:"#1e7735",800:"#1d5e2e",900:"#194e28",DEFAULT:"#34c759"};var xi={50:"#fef1f9",100:"#fee5f6",200:"#fecced",300:"#ffa2df",400:"#fe68c6",500:"#EB2F96",600:"#D42A87",700:"#CB0B6F",800:"#A70D5B",900:"#8B104E",DEFAULT:"#EB2F96"};var yi={50:"#faf5ff",100:"#f4e9fe",200:"#ead6fe",300:"#dab6fc",400:"#c487f9",500:"#ab55f3",600:"#9937e6",700:"#8326ca",800:"#6f24a5",900:"#5b1e85",DEFAULT:"#ab55f3"};var wi={50:"#fff1f2",100:"#ffe1e3",200:"#ffc8cb",300:"#ffa1a6",400:"#fe6b73",500:"#f74e57",600:"#e41e29",700:"#c0151e",800:"#9e161d",900:"#83191f",DEFAULT:"#f74e57"};var Pi={50:"#fffee7",100:"#fffec1",200:"#fff886",300:"#ffec41",400:"#ffdb0d",500:"#ffcc00",600:"#d19500",700:"#a66a02",800:"#89530a",900:"#74430f",DEFAULT:"#ffcc00"};var Ci={50:"#fff4ed",100:"#ffe6d5",200:"#fecaaa",300:"#fea473",400:"#fc743b",500:"#fa541c",600:"#eb350b",700:"#c3240b",800:"#9b1e11",900:"#7c1c12",DEFAULT:"#fa541c"};var Ni={50:"#FAFAFA",100:"#F5F5F5",200:"#E5E5E5",300:"#D4D4D4",400:"#A3A3A3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",DEFAULT:"#737373"};var Ri={white:"#ffffff",black:"#000000",blue:vi,green:bi,pink:xi,purple:yi,red:wi,yellow:Pi,gray:Ni,orange:Ci};var ro={...Ri};var Ti={"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 ki={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 Di(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 Si(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 sl=e=>{let t={utilities:{},colors:{}},o=ui(ro),i=Ti,r=":root";return t.utilities[r]={},Object.entries(o).forEach(([n,m])=>{if(m)try{let[c,d,x]=rl(m).rgb().array(),w=`--${e}-${n}`;t.utilities[r][w]=`${c} ${d} ${x}`,t.colors[n]=`rgb(var(${w}) / <alpha-value>)`}catch(c){console.log("error",c?.message)}}),Object.entries(i).forEach(([n,m])=>{if(!m)return;let c=`--${e}-${n}`;if(typeof m=="object")Object.entries(m).forEach(([d,x])=>{let w=`${c}-${d}`;t.utilities[r][w]=x});else if(n==="spacing-unit"){t.utilities[r][c]=m;let d=hi(Number(m));Object.entries(d).forEach(([x,w])=>{let v=`${c}-${x}`;t.utilities[r][v]=w})}else{let d=c.includes("opacity")&&typeof m=="number"?m.toString().replace(/^0\./,"."):m;t.utilities[r][c]=d}}),t},ll=()=>{let e="mobase",t=sl(e);return nl(({addBase:o,addUtilities:i,addComponents:r})=>{r({".wrapper":{maxWidth:"72rem",paddingLeft:"1.25rem",paddingRight:"1.25rem",marginLeft:"auto",marginRight:"auto","@media (min-width: 768px)":{paddingLeft:"2rem",paddingRight:"2rem"}}}),o({":root":{"font-smooth--webkit":"antialiased"},...t?.utilities}),i({...gi})},{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:{...ro,...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:{...Si(e)},fontSize:{...Di(e)},...ki}}})};import{Fragment as cl,jsx as h,jsxs as dl}from"react/jsx-runtime";var ml=dl(cl,{children:[h("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"}),h("meta",{name:"distribution",content:"Global"}),h("meta",{name:"author",content:"V\xED MoMo"}),h("meta",{property:"fb:app_id",content:"320653355376196"}),h("meta",{property:"fb:pages",content:"138010322921640"}),h("link",{rel:"shortcut icon",href:"/favicon.ico"}),h("link",{href:"https://www.momo.vn/favicon-32x32.png",rel:"icon",sizes:"32x32",type:"image/png"}),h("link",{href:"https://www.momo.vn/favicon-16x16.png",rel:"icon",sizes:"16x16",type:"image/png"}),h("link",{href:"https://www.momo.vn/apple-touch-icon.png",rel:"apple-touch-icon",sizes:"180x180"}),h("meta",{name:"language",content:"vietnamese"}),h("meta",{name:"copyright",content:"Copyright \xA9 2019 by MOMO.VN"}),h("meta",{name:"REVISIT-AFTER",content:"1 DAYS"}),h("meta",{name:"RATING",content:"GENERAL"}),h("meta",{httpEquiv:"x-dns-prefetch-control",content:"on"}),h("link",{rel:"dns-prefetch",href:"//www.google-analytics.com"}),h("link",{rel:"dns-prefetch",href:"//connect.facebook.net"}),h("link",{rel:"dns-prefetch",href:"//www.googletagservices.com"}),h("link",{rel:"dns-prefetch",href:"//www.googletagmanager.com"}),h("link",{rel:"dns-prefetch",href:"//facebook.com"}),h("link",{rel:"dns-prefetch",href:"//homepage.momocdn.net"}),h("link",{rel:"dns-prefetch",href:"//www.google.com"}),h("link",{rel:"dns-prefetch",href:"//www.google.com.vn"}),h("link",{rel:"dns-prefetch",href:"//www.googleadservices.com"}),h("link",{rel:"preconnect",href:"//connect.facebook.net"}),h("link",{rel:"preconnect",href:"//www.googletagmanager.com"}),h("link",{rel:"preconnect",href:"//www.google-analytics.com"}),h("link",{rel:"preconnect",href:"//googleads.g.doubleclick.net"}),h("link",{rel:"preconnect",href:"//homepage.momocdn.net"}),h("link",{rel:"preconnect",href:"//www.google.com"}),h("link",{rel:"preconnect",href:"//www.google.com.vn"}),h("link",{rel:"preconnect",href:"//www.googleadservices.com"}),h("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:`{
259
255
  "@context": "https://schema.org/",
260
256
  "@type": "WebSite",
261
257
  "@id":"https://www.momo.vn/#website",
@@ -265,7 +261,7 @@ import*as Be from"react";import*as G from"@radix-ui/react-accordion";import{Chev
265
261
  "@type": "SearchAction",
266
262
  "target": "https://www.momo.vn/tim-kiem?q={search_term_string}",
267
263
  "query-input": "required name=search_term_string"
268
- }}`}}),v("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:`{
264
+ }}`}}),h("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:`{
269
265
  "@context": "https://schema.org",
270
266
  "@type": "Organization",
271
267
  "name": "Si\xEAu \u1EE9ng d\u1EE5ng MoMo",
@@ -300,5 +296,5 @@ import*as Be from"react";import*as G from"@radix-ui/react-accordion";import{Chev
300
296
  "https://www.linkedin.com/company/momo-mservice/",
301
297
  "https://github.com/momo-wallet"
302
298
  ]
303
- }`}})]});export{ot as Accordion,rt as AccordionContent,at as AccordionItem,it as AccordionTrigger,pr as AlertDialog,Bo as AlertDialogAction,Oo as AlertDialogCancel,Lo as AlertDialogContent,_o as AlertDialogDescription,Io as AlertDialogFooter,Eo as AlertDialogHeader,Bt as AlertDialogOverlay,Mo as AlertDialogPortal,Ho as AlertDialogTitle,fr as AlertDialogTrigger,Tt as AspectRatio,Ls as Badge,go as Breadcrumb,yo as BreadcrumbEllipsis,ho as BreadcrumbItem,vo as BreadcrumbLink,uo as BreadcrumbList,bo as BreadcrumbPage,xo as BreadcrumbSeparator,Te as Button,ts as Callout,La as Card,_a as CardContent,Ha as CardDescription,Ba as CardFooter,Ea as CardHeader,Ia as CardTitle,ze as Checkbox,Et as CheckboxIndicator,As as ChoiceboxGroup,Ss as ChoiceboxGroupItem,Kn as Combobox,Zn as ComboboxContent,Qn as ComboboxTrigger,ao as Command,Un as CommandDialog,za as CommandEmpty,Fa as CommandGroup,Oa as CommandInput,$a as CommandItem,Va as CommandList,Wa as CommandSeparator,ja as CommandShortcut,We as Dialog,nt as DialogBody,lr as DialogClose,ke as DialogContent,Ao as DialogDescription,Do as DialogFooter,ko as DialogHeader,Ht as DialogOverlay,To as DialogPortal,dr as DialogQr,So as DialogTitle,sr as DialogTrigger,Wn as Footer,Sa as Header,tl as HeroSection,ce as IconButton,rr as Indicator,Rs as LightBoxContent,Ts as LightboxGallery,ys as LightboxThumbnail,gt as NavigationMenu,xt as NavigationMenuContent,ht as NavigationMenuItem,Ue as NavigationMenuLink,ut as NavigationMenuList,bt as NavigationMenuTrigger,Fo as Pagination,Ot as Popover,st as PopoverContent,Vt as PopoverTrigger,ri as Progressbar,ba as RadioGroup,xa as RadioGroupItem,ir as Root,ls as SearchBar,nn as Select,ma as SelectContent,ln as SelectGroup,mn as SelectItem,ca as SelectLabel,eo as SelectScrollDownButton,Jt as SelectScrollUpButton,da as SelectSeparator,la as SelectTrigger,sn as SelectValue,pl as SiteMeta,pi as Slider,en as Stepper,va as Switch,wr as Tabs,Uo as TabsContent,jo as TabsList,Go as TabsTrigger,Rr as TextArea,ft as TextButton,Kr as TextInput,Xo as ToastAction,_r as Toaster,Fr as Tooltip,ta as TooltipArrow,oa as TooltipContent,zr as TooltipProvider,Wr as TooltipTrigger,ti as badgeVariants,ve as buttonVariants,tr as createCheckboxScope,dl as mobaseTW,vt as navigationMenuTriggerStyle,ea as textButtonVariants,Zo as toast,$t as useToast};
299
+ }`}})]});export{tt as Accordion,it as AccordionContent,ot as AccordionItem,at as AccordionTrigger,lr as AlertDialog,Io as AlertDialogAction,Ho as AlertDialogCancel,So as AlertDialogContent,Eo as AlertDialogDescription,Mo as AlertDialogFooter,Ao as AlertDialogHeader,Ht as AlertDialogOverlay,Do as AlertDialogPortal,Lo as AlertDialogTitle,mr as AlertDialogTrigger,Rt as AspectRatio,As as Badge,co as Breadcrumb,vo as BreadcrumbEllipsis,fo as BreadcrumbItem,go as BreadcrumbLink,po as BreadcrumbList,uo as BreadcrumbPage,ho as BreadcrumbSeparator,J as Button,Jn as Callout,Aa as Card,Ia as CardContent,Ea as CardDescription,Ha as CardFooter,Ma as CardHeader,La as CardTitle,Ve as Checkbox,Mt as CheckboxIndicator,Ds as ChoiceboxGroup,ks as ChoiceboxGroupItem,Qn as Combobox,qn as ComboboxContent,jn as ComboboxTrigger,to as Command,Gn as CommandDialog,Va as CommandEmpty,za as CommandGroup,_a as CommandInput,Oa as CommandItem,Ba as CommandList,Fa as CommandSeparator,Wa as CommandShortcut,Fe as Dialog,rt as DialogBody,rr as DialogClose,Re as DialogContent,ko as DialogDescription,Ro as DialogFooter,No as DialogHeader,Et as DialogOverlay,Co as DialogPortal,Oe as DialogQr,To as DialogTitle,ir as DialogTrigger,Fn as Footer,Ta as HeaderNavigation,Js as HeroSection,ce as IconButton,or as Indicator,Cs as LightBoxContent,Ns as LightboxGallery,bs as LightboxThumbnail,ft as NavigationMenu,bt as NavigationMenuContent,ut as NavigationMenuItem,Ue as NavigationMenuLink,gt as NavigationMenuList,vt as NavigationMenuTrigger,Vo as Pagination,_t as Popover,nt as PopoverContent,Bt as PopoverTrigger,ai as Progressbar,ua as RadioGroup,ha as RadioGroupItem,tr as Root,ns as SearchBar,tn as Select,na as SelectContent,an as SelectGroup,rn as SelectItem,sa as SelectLabel,Kt as SelectScrollDownButton,Xt as SelectScrollUpButton,la as SelectSeparator,ra as SelectTrigger,on as SelectValue,ml as SiteMeta,ci as Slider,Yr as Stepper,ga as Switch,vr as Tabs,$o as TabsContent,Oo as TabsList,Wo as TabsTrigger,wr as TextArea,pt as TextButton,jr as TextInput,Zo as ToastAction,Lr as Toaster,Br as Tooltip,Ko as TooltipArrow,Jo as TooltipContent,_r as TooltipProvider,Vr as TooltipTrigger,Ja as badgeVariants,ae as buttonVariants,Ki as createCheckboxScope,ll as mobaseTW,ht as navigationMenuTriggerStyle,Xo as textButtonVariants,jo as toast,Ot as useToast};
304
300
  //# sourceMappingURL=index.js.map