@hhgtech/hhg-components 1.21.46 → 1.21.48

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.
Files changed (49) hide show
  1. package/build/babyGrowth.js +1 -1
  2. package/build/care.js +1 -1
  3. package/build/components/atoms/logo/index.d.ts +10 -2
  4. package/build/components/atoms/logo/index.styled.d.ts +1 -0
  5. package/build/components/atoms/logo/utils.d.ts +5 -0
  6. package/build/components.js +1 -1
  7. package/build/esm/babyGrowth.js +1 -1
  8. package/build/esm/care.js +1 -1
  9. package/build/esm/components.js +1 -1
  10. package/build/esm/index-06d1bbdc.js +1 -0
  11. package/build/esm/index-28d4c4c7.js +1 -0
  12. package/build/esm/index-36936082.js +1 -0
  13. package/build/esm/index-46bd35fe.js +1 -0
  14. package/build/esm/{index-69011187.js → index-9baafe13.js} +1 -1
  15. package/build/esm/{index-8190ea6c.js → index-aa80cf7c.js} +1 -1
  16. package/build/esm/{index-970a7dd1.js → index-cd2ea67f.js} +1 -1
  17. package/build/esm/{index-9b845156.js → index-def504f3.js} +1 -1
  18. package/build/esm/index.js +1 -1
  19. package/build/esm/index.styled-2eac60a9.js +1 -0
  20. package/build/esm/{index.styled-10b7ef7b.js → index.styled-6bdcde31.js} +1 -1
  21. package/build/esm/mantine.js +1 -1
  22. package/build/esm/navigation.js +1 -1
  23. package/build/esm/together.js +1 -1
  24. package/build/esm/{types-a1309400.js → types-22344af5.js} +1 -1
  25. package/build/esm/{types-976852ca.js → types-f3adee34.js} +1 -1
  26. package/build/{index-e25f94c3.js → index-1d960a84.js} +1 -1
  27. package/build/{index-6ff070d9.js → index-391678fe.js} +1 -1
  28. package/build/{index-5a3e34f0.js → index-62eb7f3f.js} +1 -1
  29. package/build/{index-9282d863.js → index-6814a4bd.js} +1 -1
  30. package/build/{index-87d1767a.js → index-a50a0901.js} +1 -1
  31. package/build/index-c5a24b10.js +1 -0
  32. package/build/{index-06d81b9e.js → index-d6e4fb99.js} +1 -1
  33. package/build/{index-5b686584.js → index-f1e8b4ef.js} +1 -1
  34. package/build/index.js +1 -1
  35. package/build/{index.styled-0cf3f173.js → index.styled-079f6015.js} +1 -1
  36. package/build/index.styled-29f6b094.js +1 -0
  37. package/build/mantine.js +1 -1
  38. package/build/navigation.js +1 -1
  39. package/build/together.js +1 -1
  40. package/build/{types-24c98ade.js → types-82e244e5.js} +1 -1
  41. package/build/{types-f45dfa08.js → types-9d9d7d7c.js} +1 -1
  42. package/package.json +1 -1
  43. package/build/esm/index-04301808.js +0 -1
  44. package/build/esm/index-14095805.js +0 -1
  45. package/build/esm/index-7a01f177.js +0 -1
  46. package/build/esm/index-7b545a49.js +0 -1
  47. package/build/esm/index.styled-7f3752dc.js +0 -1
  48. package/build/index-a9dfcfb3.js +0 -1
  49. package/build/index.styled-0e45c3b3.js +0 -1
@@ -1 +1 @@
1
- export{A as Alert,u as AmpNextPage,e as ArticleCard,B as Badge,a as BorderHeading,f as Breadcrumbs,k as Carousel,g as CategoryCard,C as Checkbox,h as CheckboxGroup,q as CookieAcceptConfirm,v as DateRangePicker,D as DueDateCardEmbed,F as FileDropdown,p as FloatButtonGroup,y as Footer,G as Grid,I as IconText,O as OvulationCardEmbed,t as PWGCardEmbed,P as Pagination,d as Progress,i as ProgressBar,R as RateStars,r as SeoHead,S as Shadow,w as ShareContainer,x as ShareDrawer,j as SideMenu,l as StatisticCard,o as SurveyThankyouCard,m as Table,n as Tabs,T as Tag,b as Toggle,s as ToolsBannerCard,U as UnderlinedLink,c as Uploader}from"./index-7a01f177.js";export{A as Avatar,D as Dropdown,P as Popup}from"./index-69011187.js";export{B as Button}from"./index-8190ea6c.js";export{D as Divider}from"./index-04301808.js";export{D as DatePicker,c as DoctorInfo,F as Flag,L as LanguageSwitcher,M as MobileBottomNavigation,e as MobileBottomNavigationIcon,j as NavigationLogoutPopup,k as NavigationProfileButton,N as NavigationV2,P as ProfilePopup,R as Radio,a as RadioGroup,b as ScrollList,S as Slider,d as SurveyQuestionCard,U as UserProfileNavigation,h as UserProfileNavigationHeader,i as UserProfileNavigationStats,g as getNavMenuContent,f as getNavMenuContentWithCache}from"./index-14095805.js";export{H as Heading}from"./index-7b545a49.js";export{I as Input}from"./index-9b845156.js";export{C as Container,L as Label,a as Logo,M as Menu,P as PureInput,T as Text,b as TextArea,c as TextDivider}from"./index.styled-7f3752dc.js";export{I as Icon,M as Modal,N as NewBabyProfileRadio,R as RadioImageGroup}from"./index-970a7dd1.js";export{D as Drawer}from"./index.styled-10b7ef7b.js";import"react";import"./tslib.es6-dcf36680.js";import"./screenSizeContext-f2090394.js";import"styled-components";import"vanilla-lazyload";import"lodash";import"./theme-a50a1aa5.js";import"react-id-generator";import"keen-slider/react";import"./gAssets.js";import"./index-9dd60ba6.js";import"./isProduction-6fc0946c.js";import"react-range";import"date-fns";import"./Locale-69030fff.js";import"@mantine/core";import"./translationsContext-d658f58d.js";import"string-format";import"lodash/debounce";import"./useTranslations-4f69f5f9.js";import"./en-PH-b1c3ff7e.js";import"./useHealthToolCache-74a46d69.js";import"./getDynamicHealthTool-831ea86d.js";import"./core-3b861395.js";import"./useOutsideClick-6004483a.js";import"date-fns/locale/en-US";import"date-fns/locale/id";import"date-fns/locale/vi";import"date-fns/locale/zh-TW";import"./getSocialList-e91ed860.js";import"date-fns/locale/hi";import"date-fns/locale/ms";import"date-fns/locale/th";import"./cookieHelper-0e8521c3.js";import"slugify";import"react-day-picker/DayPickerInput";import"react-dom";import"smoothscroll-polyfill";import"./types-f57c9932.js";import"./constants-a0a981fa.js";import"./useScrollbarSize-99db33e1.js";
1
+ export{A as Alert,u as AmpNextPage,e as ArticleCard,B as Badge,a as BorderHeading,f as Breadcrumbs,k as Carousel,g as CategoryCard,C as Checkbox,h as CheckboxGroup,q as CookieAcceptConfirm,v as DateRangePicker,D as DueDateCardEmbed,F as FileDropdown,p as FloatButtonGroup,y as Footer,G as Grid,I as IconText,O as OvulationCardEmbed,t as PWGCardEmbed,P as Pagination,d as Progress,i as ProgressBar,R as RateStars,r as SeoHead,S as Shadow,w as ShareContainer,x as ShareDrawer,j as SideMenu,l as StatisticCard,o as SurveyThankyouCard,m as Table,n as Tabs,T as Tag,b as Toggle,s as ToolsBannerCard,U as UnderlinedLink,c as Uploader}from"./index-06d1bbdc.js";export{A as Avatar,D as Dropdown,P as Popup}from"./index-9baafe13.js";export{B as Button}from"./index-aa80cf7c.js";export{D as Divider}from"./index-46bd35fe.js";export{D as DatePicker,c as DoctorInfo,F as Flag,f as LanguageSwitcher,L as Logo,M as MobileBottomNavigation,e as MobileBottomNavigationIcon,k as NavigationLogoutPopup,l as NavigationProfileButton,N as NavigationV2,P as ProfilePopup,R as Radio,a as RadioGroup,b as ScrollList,S as Slider,d as SurveyQuestionCard,U as UserProfileNavigation,i as UserProfileNavigationHeader,j as UserProfileNavigationStats,g as getNavMenuContent,h as getNavMenuContentWithCache}from"./index-28d4c4c7.js";export{H as Heading}from"./index-36936082.js";export{I as Input}from"./index-def504f3.js";export{C as Container,L as Label,M as Menu,P as PureInput,T as Text,a as TextArea,b as TextDivider}from"./index.styled-2eac60a9.js";export{I as Icon,M as Modal,N as NewBabyProfileRadio,R as RadioImageGroup}from"./index-cd2ea67f.js";export{D as Drawer}from"./index.styled-6bdcde31.js";import"react";import"./tslib.es6-dcf36680.js";import"./screenSizeContext-f2090394.js";import"styled-components";import"vanilla-lazyload";import"lodash";import"./theme-a50a1aa5.js";import"react-id-generator";import"keen-slider/react";import"./gAssets.js";import"./index-9dd60ba6.js";import"./isProduction-6fc0946c.js";import"react-range";import"date-fns";import"./Locale-69030fff.js";import"@mantine/core";import"./translationsContext-d658f58d.js";import"string-format";import"lodash/debounce";import"./useTranslations-4f69f5f9.js";import"./en-PH-b1c3ff7e.js";import"./useHealthToolCache-74a46d69.js";import"./getDynamicHealthTool-831ea86d.js";import"./core-3b861395.js";import"./useOutsideClick-6004483a.js";import"date-fns/locale/en-US";import"date-fns/locale/id";import"date-fns/locale/vi";import"date-fns/locale/zh-TW";import"./getSocialList-e91ed860.js";import"date-fns/locale/hi";import"date-fns/locale/ms";import"date-fns/locale/th";import"./cookieHelper-0e8521c3.js";import"slugify";import"react-day-picker/DayPickerInput";import"react-dom";import"smoothscroll-polyfill";import"./types-f57c9932.js";import"./constants-a0a981fa.js";import"./useScrollbarSize-99db33e1.js";
@@ -0,0 +1 @@
1
+ import e,{useState as t,useRef as n,useMemo as a,useEffect as l,Fragment as o,useCallback as i}from"react";import{S as r,c,T as s,d as m,e as d,f as p,g as u,h as g,i as h,j as v,k as f,l as E,m as y,n as x,o as w,p as b,q as k,r as C,s as N,t as L,u as z,v as _,w as M,x as S,y as B,z as F,A as D,B as A,C as j,P as I,L as T}from"./index.styled-2eac60a9.js";import{_ as H,a as P,b as W,c as V,d as O,e as G}from"./tslib.es6-dcf36680.js";import{i as U,B as Z,M as R,l as q}from"./screenSizeContext-f2090394.js";import{B as K}from"./index-aa80cf7c.js";import{t as X}from"./theme-a50a1aa5.js";import{H as J}from"./index-36936082.js";import{m as Y,n as Q,o as $,p as ee,q as te,r as ne,s as ae,t as le,u as oe,v as ie,w as re,x as ce,y as se,z as me,A as de,B as pe,C as ue,E as ge,G as he,H as ve,I as fe,J as Ee,K as ye,O as xe,Q as we,T as be,V as ke,W as Ce,X as Ne,Y as Le,Z as ze,_ as _e,$ as Me,a0 as Se,a1 as Be,a2 as Fe,a3 as De,a4 as Ae,a5 as je,a6 as Ie,a7 as Te,a8 as He,a9 as Pe,aa as We,ab as Ve,ac as Oe,ad as Ge,ae as Ue,af as Ze,ag as Re,ah as qe,ai as Ke,aj as Xe,ak as Je,al as Ye,am as Qe,an as $e,ao as et,ap as tt,aq as nt,ar as at,as as lt,at as ot,au as it,av as rt,aw as ct,ax as st,ay as mt,az as dt,aA as pt,aB as ut,aC as gt,aD as ht,aE as vt,aF as ft,aG as Et,aH as yt,aI as xt,aJ as wt,aK as bt,aL as kt,aM as Ct,aN as Nt,aO as Lt,aP as zt,aQ as _t,aR as Mt,aS as St,aT as Bt,aU as Ft,aV as Dt,aW as At,aX as jt,aY as It,aZ as Tt,a_ as Ht,a$ as Pt,b0 as Wt,b1 as Vt,b2 as Ot,b3 as Gt,L as Ut}from"./index-28d4c4c7.js";import{useId as Zt}from"react-id-generator";import{D as Rt,h as qt,i as Kt,H as Xt}from"./index-9baafe13.js";import{throttle as Jt}from"lodash";import{useKeenSlider as Yt}from"keen-slider/react";import{CommonGAssets as Qt}from"./gAssets.js";import"react-range";import{isBefore as $t,startOfMonth as en,addMonths as tn,format as nn,subMonths as an,getDaysInMonth as ln,isToday as on,isSameDay as rn,isWithinInterval as cn,isAfter as sn,isPast as mn}from"date-fns";import dn from"styled-components";import{d as pn,L as un,F as gn}from"./index-9dd60ba6.js";import{i as hn}from"./isProduction-6fc0946c.js";import"./Locale-69030fff.js";import{Checkbox as vn}from"@mantine/core";import"./translationsContext-d658f58d.js";import"string-format";import"lodash/debounce";import{u as fn}from"./useTranslations-4f69f5f9.js";import{u as En}from"./useHealthToolCache-74a46d69.js";import{u as yn}from"./useOutsideClick-6004483a.js";import xn from"date-fns/locale/en-US";import wn from"date-fns/locale/id";import bn from"date-fns/locale/vi";import kn from"date-fns/locale/zh-TW";import{g as Cn}from"./getSocialList-e91ed860.js";import{I as Nn}from"./index-def504f3.js";var Ln=function(t){var n=t.style,a=t.onClose,l=t.text,o=t.type,i=t.contentIcon,d=t.closeIcon,p=t.className,u=t.description;return e.createElement(r,{style:n,"data-alert-type":o,className:p},e.createElement(c,null,e.createElement("div",{className:"icon-title"},i,e.createElement(s,{type:"bold",size:"label1"},l)),e.createElement(s,{type:"regular",size:"p3"},u)),e.createElement(m,{onClick:a},d))},zn=function(t){var n=t.amount,a=t.type,l=t.size,o=void 0===l?"medium":l,i=t.color,r=void 0===i?"primary":i,c=t.icon,s=t.className;return e.createElement(d,{"data-notification-type":a,"data-notification-size":o,"data-notification-color":r,"data-has-icon":!!c||void 0,notificationType:a,notificationSize:o,notificationColor:r,hasIcon:!!c,className:s},e.createElement("div",null,n&&e.createElement("span",null,n)," ",c&&e.createElement("div",null,c)))},_n=function(t){var n=t.style,a=t.children,l=t.className,o=t.size,i=void 0===o?"lg":o,r=t.type,c=void 0===r?"bold":r,s=t.upperCase,m=t.as,d=void 0===m?"h4":m,u=t.color;return e.createElement(p,{style:H({color:u},n),className:l,"data-size":i,"data-type":c,"data-uppercase":s,as:d},a)},Mn=function(a){var l=a.className,o=a.value,i=a.options,r=a.onUploadSelected,c=a.id,s=a.placeholderIcon,m=a.placeholder,d=a.style,p=t(!1),E=p[0],y=p[1],x=function(){return y(!E)},w=n(i.map((function(t){return"upload"===t.type&&e.createElement("input",{id:"uploader-dropdown-input-"+c+"-"+t.value,key:"uploader-dropdown-input-"+c+"-"+t.value,accept:t.fileAcceptedType,multiple:t.multiple,type:"file",style:{display:"none"},onChange:function(e){console.log("change"),r(e.target.files)}})}))),b=e.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 12.17 14.83"},e.createElement("defs",null,e.createElement("clipPath",{id:"prefix__clip-path",transform:"translate(-1.92 -1.54)"},e.createElement("path",{fill:"none",d:"M0 .96h16v16H0z"})),e.createElement("style",null,".prefix__cls-3{fill:none;stroke:#595959;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px}")),e.createElement("title",null,"File"),e.createElement("g",{clipPath:"url(#prefix__clip-path)"},e.createElement("path",{className:"prefix__cls-3",d:"M8.67 2.29H4a1.33 1.33 0 00-1.33 1.33v10.67A1.33 1.33 0 004 15.62h8a1.33 1.33 0 001.33-1.33V7z",transform:"translate(-1.92 -1.54)"}),e.createElement("path",{className:"prefix__cls-3",d:"M8.67 2.29V7h4.66",transform:"translate(-1.92 -1.54)"}))),k=e.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 13.5 13.5"},e.createElement("defs",null,e.createElement("style",null,".prefix__cls-1{fill:none;stroke:#595959;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px}")),e.createElement("title",null,"download"),e.createElement("path",{className:"prefix__cls-1",d:"M14 11v2.66A1.33 1.33 0 0112.67 15H3.33A1.33 1.33 0 012 13.62V11M4.67 7.62L8 11l3.33-3.34M8 11V3",transform:"translate(-1.25 -2.21)"})),C=e.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 13.5 13.5"},e.createElement("defs",null,e.createElement("style",null,".prefix__cls-1{fill:none;stroke:#595959;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px}")),e.createElement("title",null,"upload"),e.createElement("path",{className:"prefix__cls-1",d:"M14 11v2.66A1.33 1.33 0 0112.67 15H3.33A1.33 1.33 0 012 13.62V11M11.33 6.29L8 3 4.67 6.29M8 3v8",transform:"translate(-1.25 -2.21)"}));return e.createElement(u,{className:l,"data-dropdown-open":!!E,id:c,"data-has-icons":!0,style:d,onBlur:function(){return y(!1)},tabIndex:0},e.createElement(g,{onClick:x},s||b," ",e.createElement("span",null,o&&o.value?o.label:m)),E&&e.createElement(h,{onClick:x,"data-has-icons":!0},i.map((function(t){return e.createElement(v,{key:"".concat(c,"-").concat(t.value),"data-selected":o&&o.value===t.value||void 0,onClick:function(){return"upload"===t.type?function(e){var t;null===(t=document.querySelector(e))||void 0===t||t.click()}("#uploader-dropdown-input-"+c+"-"+t.value):void((e=t.url)&&window.open(e,"_blank"));var e}},e.createElement(f,null,t.icon||"download"===t.type?k:C),t.label)}))),e.createElement(e.Fragment,null,w.current))},Sn=function(t){var n=t.className,a=t.columns,l=t.columnsDesktop,o=t.gridTemplateColumns,i=t.gridTemplateColumnsDesktop,r=t.gap,c=t.children,s=t.justifyChildren,m=t.style,d=t.alignItems;return e.createElement(E,{className:n,style:m,theme:{columns:a,columnsDesktop:l,gap:r,justifyChildren:s,gridTemplateColumns:o,gridTemplateColumnsDesktop:i,alignItems:d}},c)},Bn=function(n){var a=n.pagesAmount,i=n.activePage,r=n.handlePageChange,c=n.handleClick,s=n.href,m=n.queryPageName,d=void 0===m?"page":m,p=P([],Array(a),!0).map((function(e,t){return t+1})),u=t(i<=4?p.slice(0,5):i>=p.length-3?p.slice(p.length-5,p.length):p.slice(i-2,i+1)),g=u[0],h=u[1];return l((function(){i<=4?h(p.slice(0,5)):i>=p.length-3?h(p.slice(p.length-5,p.length)):h(p.slice(i-2,i+1))}),[i]),e.createElement(o,null,i>4&&e.createElement(o,null,e.createElement(w,{onClick:function(){return r(1)}},s?e.createElement("a",{href:s,onClick:c},1):1),e.createElement(w,null,"...")),g.map((function(t){return e.createElement(w,{key:"".concat("pagination","+").concat(t),"data-page-active":t===i||void 0,onClick:function(){return r(t)}},s?e.createElement("a",{href:U(s,t,d),onClick:c},t):t)})),i<p.length-3&&e.createElement(o,null,e.createElement(w,null,"..."),e.createElement(w,{onClick:function(){return r(p.length)}},s?e.createElement("a",{href:U(s,p.length,d),onClick:c},p.length):p.length)))},Fn=function(n){var o=n.className,i=n.pagesAmount,r=n.currentPage,c=n.onChange,s=n.onClick,m=n.style,d=n.href,p=n.queryPageName,u=void 0===p?"page":p,g=P([],Array(i),!0).map((function(e,t){return t+1})),h=t(r),v=h[0],f=h[1],E=a((function(){return d&&d.endsWith("&page=")?d.replace("&page=",""):d}),[d]),b=i-1,k=function(e){e<=i&&e>0&&(f(e),c(e))},C=function(e){s&&s(e)};return l((function(){f(r)}),[r]),e.createElement(y,{className:o,style:m},e.createElement(x,{className:"prev-page",onClick:function(){return k(v-1)},"data-last-page":1===v||void 0},E?e.createElement("a",{href:U(E,v,u),onClick:C},e.createElement("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M5.5 9L1.5 5L5.5 1",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))):e.createElement("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M5.5 9L1.5 5L5.5 1",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))),g.length>8?e.createElement(Bn,{pagesAmount:i,activePage:v,handlePageChange:k,handleClick:C,href:E,queryPageName:u}):g.map((function(t){return e.createElement(w,{key:"".concat("pagination","+").concat(t),"data-page-active":t===v||void 0,onClick:function(){return k(t)}},E?e.createElement("a",{href:U(E,t,u),onClick:C},t):t)})),e.createElement(x,{className:"next-page",onClick:function(){return k(v+1)},"data-last-page":v===b+1||void 0},E?e.createElement("a",{href:U(E,v,u),onClick:C},e.createElement("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M1.5 9L5.5 5L1.5 1",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))):e.createElement("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M1.5 9L5.5 5L1.5 1",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))))},Dn=function(t){var n=t.size,a=t.children,l=t.style,o=t.className;return e.createElement(b,{style:l,className:o,"data-shadow-size":n},a)},An=function(t){var n=t.type,a=t.children,l=t.style,o=t.isInline,i=t.isSquared,r=void 0!==i&&i,c=t.className,m=t.isLight,d=t.hasMorePadding,p=t.isLink,u=t.isSelected,g=t.textProps,h=void 0===g?{size:"sm"}:g,v=h.color?{"--text-props-color":h.color}:{};return e.createElement(k,{"data-is-squared":r||void 0,"data-tag-type":n,"data-is-light":m||void 0,"data-has-more-padding":d||void 0,"data-is-inline":o||void 0,style:H(H({},l),v),className:c,"data-is-selected":u||void 0,"data-is-link":p||void 0,tagType:n,isInline:o,tagHasMorePadding:d,tagIsLight:m,tagIsSquared:r,tagIsALink:p},e.createElement(s,H({},h),a))},jn=function(t){var n=t.className,a=t.id,l=t.onChange,o=t.checked,i=t.style,r=t.label;return e.createElement(C,{className:n,style:i},e.createElement("input",{type:"checkbox",id:a,onChange:l,checked:o}),e.createElement("label",{htmlFor:a},e.createElement(N,null),r&&e.createElement(L,null,r)))},In=function(t){var n=t.size,a=t.isDisabled,l=t.className,o=t.link,i=t.style;return e.createElement(z,{className:l,"data-size":n,style:i,"data-disabled":a||void 0},o)},Tn=function(t){var n=t.type,a=t.withIcon,l=t.onFileSelected,o=t.inputId,i=t.withElement,r=t.fileAcceptType,c=t.multiple,s=t.value,m=t.className,d=function(){var e;null===(e=document.querySelector("#uploader-input-"+o))||void 0===e||e.click()};return e.createElement(_,{className:m},"badge"===n?e.createElement(M,{onClick:d,"data-is-attached-to-element":!!i},i,e.createElement(S,{"data-is-attached-to-element":!!i},a)):i?e.createElement("div",{onClick:d},i):e.createElement(K,{size:"md",color:"secondary",className:"default-button",icon:a,onClick:d},e.createElement(B,null,e.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 13.5 13.5"},e.createElement("defs",null,e.createElement("style",null,".prefix__cls-1{fill:none;stroke:#000;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px}")),e.createElement("title",null,"upload"),e.createElement("path",{className:"prefix__cls-1",d:"M14 10v2.67A1.33 1.33 0 0112.67 14H3.33A1.33 1.33 0 012 12.67V10M11.33 5.33L8 2 4.67 5.33M8 2v8",transform:"translate(-1.25 -1.25)"})),"Upload Image")),e.createElement("input",{id:"uploader-input-"+o,accept:r,multiple:c,type:"file",style:{display:"none"},onChange:function(e){l(e.target.files)},value:s}))},Hn=function(t){var n=t.label,a=t.name,l=t.checked,o=t.className,i=t.isDisabled,r=t.onChange,c=t.value,s=t.isRectangle;return e.createElement(F,{className:o,"data-disabled":i||void 0,"data-is-rectangle":s||void 0,"data-label-text":n},e.createElement("input",{type:"checkbox",checked:l,name:a,onChange:function(){return r(c,!l)},disabled:i,value:c,id:"".concat(a,"-").concat(c),"data-label-text":n}),!s&&e.createElement("label",{htmlFor:"".concat(a,"-").concat(c)},n))},Pn=function(t){return e.createElement("svg",H({},t,{viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"}),e.createElement("path",{d:"M16.0002 23.0266L22.8935 27.1866C23.4002 27.4933 24.0268 27.04 23.8935 26.4666L22.0668 18.6266L28.1468 13.36C28.5868 12.9733 28.3602 12.24 27.7602 12.1866L19.7468 11.5066L16.6135 4.11996C16.3868 3.57329 15.6135 3.57329 15.3868 4.11996L12.2535 11.5066L4.24016 12.1866C3.65349 12.24 3.41349 12.9733 3.86682 13.36L9.94682 18.6266L8.12016 26.4666C7.98682 27.04 8.61349 27.4933 9.12016 27.1866L16.0002 23.0266Z",fill:"#D2D6DC"}))},Wn=function(t){return e.createElement("svg",H({},t,{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"}),e.createElement("path",{d:"M16.0002 23.0266L22.8935 27.1866C23.4002 27.4933 24.0268 27.04 23.8935 26.4666L22.0668 18.6266L28.1468 13.36C28.5868 12.9733 28.3602 12.24 27.7602 12.1866L19.7468 11.5066L16.6135 4.11996C16.3868 3.57329 15.6135 3.57329 15.3868 4.11996L12.2535 11.5066L4.24016 12.1866C3.65349 12.24 3.41349 12.9733 3.86682 13.36L9.94682 18.6266L8.12016 26.4666C7.98682 27.04 8.61349 27.4933 9.12016 27.1866L16.0002 23.0266Z",fill:"#FFC326"}))},Vn=function(n){var a=t((function(){return"star-half-mask-".concat(Math.random())}))[0];return e.createElement("svg",H({},n,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"}),e.createElement("path",{d:"M12.0001 17.2697L17.1701 20.3897C17.5501 20.6197 18.0201 20.2797 17.9201 19.8497L16.5501 13.9697L21.1101 10.0197C21.4401 9.72973 21.2701 9.17973 20.8201 9.13973L14.8101 8.62973L12.4601 3.08973C12.2901 2.67973 11.7101 2.67973 11.5401 3.08973L9.19006 8.62973L3.18006 9.13973C2.74006 9.17973 2.56006 9.72973 2.90006 10.0197L7.46006 13.9697L6.09006 19.8497C5.99006 20.2797 6.46006 20.6197 6.84006 20.3897L12.0001 17.2697Z",fill:"#E4E8EC"}),e.createElement("mask",{id:a,maskUnits:"userSpaceOnUse",x:"2",y:"0",width:"10",height:"24"},e.createElement("rect",{x:"2",width:"10",height:"24",fill:"#C4C4C4"})),e.createElement("g",{mask:"url(#".concat(a,")")},e.createElement("path",{d:"M11.9998 17.2697L17.1698 20.3897C17.5498 20.6197 18.0198 20.2797 17.9198 19.8497L16.5498 13.9697L21.1098 10.0197C21.4398 9.72973 21.2698 9.17973 20.8198 9.13973L14.8098 8.62973L12.4598 3.08973C12.2898 2.67973 11.7098 2.67973 11.5398 3.08973L9.18981 8.62973L3.17981 9.13973C2.73981 9.17973 2.55981 9.72973 2.89981 10.0197L7.45981 13.9697L6.08981 19.8497C5.98981 20.2797 6.45981 20.6197 6.83981 20.3897L11.9998 17.2697Z",fill:"#FFC326"})))},On=function(n){var a=n.gap,l=void 0===a?2:a,o=n.size,i=void 0===o?24:o,r=n.star,c=n.totalStars,s=void 0===c?5:c,m=n.onSelect,d=n.hideEmptyStars,p=n.style,u=n.className,g=Math.floor(r),h=r-g>=.5?1:0,v=t(null),f=v[0],E=v[1],y=f||g,x=f?0:h;return e.createElement(D,{"data-selectable":!!m,style:H({"--gap":l,"--star-size":i},p),className:u},Array.from({length:d?g+h:s}).map((function(t,n){var a=function(){return!!m&&E(n+1)},l=function(){return!!m&&E(null)};return n+1<=y?e.createElement(Wn,{key:n,onClick:function(){return null==m?void 0:m(n+1)},onMouseOver:a,onMouseLeave:l}):n+1===y+x?e.createElement(Vn,{key:n,onClick:function(){return null==m?void 0:m(n+1)},onMouseOver:a,onMouseLeave:l}):e.createElement(Pn,{key:n,onClick:function(){return null==m?void 0:m(n+1)},onMouseOver:a,onMouseLeave:l})})))},Gn=function(t){var n=t.percent,a=t.style;return e.createElement(A,{style:H({"--progress":n},a)})},Un=function(t){var n=t.avatarImg,a=t.authorName,l=t.authorLink,o=t.uploadTime,i=t.size;return e.createElement($,null,e.createElement("div",{className:"author"},e.createElement("div",{className:"avatar","data-size":i},n),e.createElement("div",{className:"poster","data-is-disabled-url":!l},e.createElement(s,{size:"lg"===i?"p3":"p4"},e.createElement("a",{href:l},e.createElement("span",{className:"name"},a),"•"," "),e.createElement("span",null,o)))))},Zn=function(t){var n=t.isMobile,a=t.avatarImg,l=t.name,o=t.link,i=t.size,r=void 0===i?"lg":i,c=t.specialty;return e.createElement($,null,e.createElement("div",{className:"author"},e.createElement("div",{className:"expert-avatar","data-size":r},a),e.createElement("div",{className:"expert","data-is-disabled-url":!o},n?e.createElement("a",{href:o},"lg"===r?e.createElement(e.Fragment,null,e.createElement(J,{tag:"h6",className:"expert__name",color:X.colors.gray600},l),e.createElement(s,{color:X.colors.gray500,size:"p3",className:"specialty"},c)):e.createElement(e.Fragment,null,e.createElement(J,{tag:"h6",className:"expert__name",color:X.colors.gray600},l))):e.createElement("a",{href:o},"lg"===r?e.createElement(e.Fragment,null,e.createElement(J,{tag:"h6",className:"expert__name",color:X.colors.gray600},l),e.createElement(s,{color:X.colors.gray500,size:"p3",className:"specialty"},c)):e.createElement(e.Fragment,null,e.createElement(ee,{color:X.colors.gray600,className:"expert__name"},l),e.createElement(s,{color:X.colors.gray500,size:"p4",className:"specialty"},c))))))},Rn=function(t){var n=t.articleLink,a=t.authorLink,l=t.authorName,o=t.avatarImg,i=t.banner,r=t.categoryLink,c=t.categoryName,m=t.className,d=t.dataEventActionForBanner,p=t.dataEventActionForBookmark,u=t.dataEventActionForCategory,g=t.dataEventActionForTitle,h=t.dataEventCategoryForBanner,v=t.dataEventCategoryForBookmark,f=t.dataEventCategoryForCategory,E=t.dataEventCategoryForTitle,y=t.dataEventLabelForBanner,x=t.dataEventLabelForBookmark,w=t.dataEventLabelForCategory,b=t.dataEventLabelForTitle,k=t.direction,C=void 0===k?"horizontal":k,N=t.hasAffiliate,L=t.isBookmark,z=void 0!==L&&L,_=t.isBookmarkDisplayed,M=void 0===_||_,S=t.isMobile,B=void 0===S||S,F=t.onBookmark,D=t.onClickCategoryName,A=t.section,j=void 0===A?"normal":A,I=t.size,T=void 0===I?"md":I,H=t.specialty,P=t.style,W=t.styleBanner,V=t.styleLabel,O=t.styleTitle,G=t.text,U=t.title,Z=t.type,R=void 0===Z?"author":Z,q=t.uploadTime,K=t.articleLinkTarget,X=function(e){e.stopPropagation(),F&&F()},$="lg"===T&&"expert"===R?"h4":"lg"===T&&"home"===j?B?"h4":"h3":"lg"===T?"h4":"h5",ee="lg"===T?"p3":"p4",te=B||"home"!==j||"lg"!==T||"author"!==R?"c2":"c1";return e.createElement(Y,{className:m,"data-size":T,style:P,"data-direction":C,"data-is-expert":"expert"===R||void 0},e.createElement("div",{className:"banner",style:W},e.createElement(Q,{"data-event-category":h,"data-event-action":d,"data-event-label":y,href:n||"#",target:K},i),N&&e.createElement("div",{className:"shoppable"},e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("rect",{width:"24",height:"24",rx:"12",fill:"#1B3250"}),e.createElement("path",{d:"M16.6667 8.00033H15.3333C15.3333 6.16033 13.84 4.66699 12 4.66699C10.16 4.66699 8.66667 6.16033 8.66667 8.00033H7.33333C6.6 8.00033 6 8.60033 6 9.33366V17.3337C6 18.067 6.6 18.667 7.33333 18.667H16.6667C17.4 18.667 18 18.067 18 17.3337V9.33366C18 8.60033 17.4 8.00033 16.6667 8.00033ZM12 6.00033C13.1067 6.00033 14 6.89366 14 8.00033H10C10 6.89366 10.8933 6.00033 12 6.00033ZM12 12.667C10.4467 12.667 9.14 11.607 8.77333 10.167C8.66 9.74699 8.98667 9.33366 9.42 9.33366C9.73333 9.33366 9.98667 9.56033 10.0733 9.86699C10.3067 10.7137 11.08 11.3337 12 11.3337C12.92 11.3337 13.6933 10.7137 13.9267 9.86699C14.0133 9.56033 14.2667 9.33366 14.58 9.33366C15.0133 9.33366 15.3333 9.74699 15.2267 10.167C14.86 11.607 13.5533 12.667 12 12.667Z",fill:"white"})))),e.createElement("div",{className:"content"},e.createElement("div",{className:"inner-content"},e.createElement(s,{style:V,className:"label",size:te,type:"caption"},e.createElement(Q,{"data-event-category":f,"data-event-action":u,"data-event-label":w,href:r||"#",onClick:D},c),M&&e.createElement("a",{className:"bookmark",onClick:X},z?e.createElement("svg",{"data-event-category":v,"data-event-action":p,"data-event-label":x,width:"14",height:"16",viewBox:"0 0 14 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M13 15L7 11.1111L1 15V2.55556C1 2.143 1.18061 1.74733 1.5021 1.45561C1.82359 1.16389 2.25963 1 2.71429 1H11.2857C11.7404 1 12.1764 1.16389 12.4979 1.45561C12.8194 1.74733 13 2.143 13 2.55556V15Z",fill:"#2ED69E",stroke:"#2ED69E",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})):e.createElement("svg",{"data-event-category":v,"data-event-action":p,"data-event-label":x,width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M12.75 2.25H5.25C4.425 2.25 3.75 2.925 3.75 3.75V15.75L9 13.5L14.25 15.75V3.75C14.25 2.925 13.575 2.25 12.75 2.25Z",fill:"#D2D6DC"})))),e.createElement(J,{tag:$,style:O,className:"title",as:"lg"===T?"h2":"h3"},e.createElement(Q,{"data-event-category":E,"data-event-action":g,"data-event-label":b,href:n||"#",target:K},U)),G&&e.createElement("a",{href:n||"#",target:K},e.createElement(s,{size:ee,className:"text"},G))),e.createElement("div",{className:"footer"},"author"===R?e.createElement(Un,{size:T,avatarImg:o,authorName:l,authorLink:a,uploadTime:q,handleClick:X,isBookmarked:z,dataEventCategoryForBookmark:v,dataEventActionForBookmark:p,dataEventLabelForBookmark:x}):e.createElement(Zn,{size:T,isMobile:B,avatarImg:o,specialty:H,name:l,link:a,handleClick:X,isBookmarked:z,dataEventCategoryForBookmark:v,dataEventActionForBookmark:p,dataEventLabelForBookmark:x}))))},qn=function(t){var n=t.LinkComponent,a=t.page,l=t.isLast,o=t.onChangePage,i=a.label,r=a.value,c=a.isDropdown,s=a.dropdownItems,m=a.dataEventCategory,d=a.dataEventAction,p=a.dataEventLabel;return c?e.createElement(Rt,{options:s,placeholder:"...",id:"",placeholderIcon:null,onChange:o,className:"collapsed-breadcrumb"}):e.createElement(ae,{title:"string"!=typeof i?r:i,"data-last":l},n&&e.createElement(n,{"data-event-category":m,"data-event-action":d,"data-event-label":p,href:r||"#"},i))},Kn=function(t){var n=t.className,l=t.pages,i=t.size,r=t.LinkComponent,c=void 0===r?"a":r,s=t.onChangePage,m=t.separator,d=a((function(){return l.map((function(e,t){return l.length>4?t>1&&t<l.length-2?null:1===t?H(H({},e),{isDropdown:1===t,dropdownItems:l.slice(1,l.length-2)}):e:e})).filter(Boolean)}),[l]),p=Zt(d.length);return e.createElement(te,{"data-size":i,className:n},d.map((function(t,n){var a=n+1===d.length;return e.createElement(o,{key:p[n]},e.createElement(qn,{LinkComponent:c,page:t,isLast:a,onChangePage:s}),!a&&(m||e.createElement(ne,{"data-size":i})))})))},Xn=function(t){var n=t.imgBanner,a=t.label,l=t.className,o=t.style,i=t.href,r=void 0===i?"":i,c=t.dataEventCategory,m=t.dataEventAction,d=t.dataEventLabel;return e.createElement(le,{"data-event-category":c,"data-event-action":m,"data-event-label":d,className:l,style:o,href:r,onClick:function(e){""===r&&e.preventDefault()}},e.createElement("div",{className:"banner"},n),e.createElement("div",{className:"content"},e.createElement(s,{className:"category_name",size:"sm",type:"bold"},a)))},Jn=function(t){var n=t.name,a=t.values,l=void 0===a?[]:a,o=t.onChanges,i=t.options,r=void 0===i?[]:i,c=t.className,s=t.type,m=void 0===s?"vertical":s,d=t.isDisabled,p=t.isRectangle,u=function(e,t){var n=l.slice();if(t)n.push(e);else{var a=n.findIndex((function(t){return t===e}));n.splice(a,1)}o&&o(n)};return e.createElement(oe,{className:c,"data-type":m,"data-is-rectangle":p||void 0},r.map((function(t,a){return e.createElement(Hn,{label:t.label,name:n,key:"".concat(a,"-").concat(t.value),checked:l.includes(t.value),value:t.value,isDisabled:d||t.disabled,onChange:!d&&u,isRectangle:p})})))},Yn=function(t){var n=t.size,a=t.iconPosition,l=t.className,o=t.children,i=t.icon;return e.createElement(ie,{className:l,"data-size":n,"data-icon-position":a},"left"===a&&i,o,"right"===a&&i)},Qn=function(n){var a=n.type,o=n.numberOfStep,r=n.activeStep,c=n.labelPrefix,s=n.detailSteps,m=n.className,d=n.onChange,p=t(0),u=p[0],g=p[1],h=function(t){var n=t.trackClassName,a=W(t,["trackClassName"]);return e.createElement(me,H({},a,{className:n}),e.createElement(de,null))},v=e.createElement(re,{className:m+" progress-bar"},e.createElement(h,null),e.createElement((function(t){var n=t.trackLength,a=t.activeStep,l=t.labelPrefix,i=void 0===l?"Step":l,r=t.onChange;return e.createElement(e.Fragment,null,Array.from({length:o},(function(e,t){return t})).map((function(t,l){return e.createElement(pe,{"data-is-active":l===a,"data-label":l,style:{left:l*n/(o-1)},onClick:function(){r&&r(l)},key:l},l+1,e.createElement(ue,{"data-step-passed":l<=a},i+" "+(l+1)))})))}),{trackLength:u,activeStep:r,labelPrefix:c,onChange:d})),f=e.createElement("svg",{"data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 5.5 9.5"},e.createElement("title",null,"chevron-right"),e.createElement("path",{d:"M.75 8.75l4-4-4-4",fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5})),E=e.createElement(ce,null,s&&Array.from({length:s.length},(function(e,t){return t})).map((function(t,n){var a;return e.createElement(se,{key:n,"data-selected":n===r,onClick:function(){d&&d(n)}},null===(a=s[n])||void 0===a?void 0:a.text," ",n<s.length-1&&f)}))),y=e.createElement(re,{className:m+" progress-bar"},e.createElement((function(t){var n=t.detailSteps,a=t.activeStep,l=t.onChange,o=Zt(n.length);return e.createElement(e.Fragment,null,Array.from({length:n.length},(function(e,t){return t})).map((function(t,i){return e.createElement(ge,{key:o[i],style:{left:100/n.length*i+"%",width:100/n.length+"%"},onClick:function(){l&&l(i)}},n[i].icon?e.createElement(he,{onClick:function(){l&&l(i)}},n[i].icon):e.createElement(ve,{"data-is-active":i===a,"data-label":t,onClick:function(){l&&l(i)},key:i},i+1),e.createElement(fe,{"data-step-passed":i<a+1},n[i].text,e.createElement(Ee,null,n[i].description)),i<n.length-1&&e.createElement(h,{"data-step-passed":i<a,trackClassName:"progress-track","data-track-type":"detail"}))})))}),{activeStep:r,detailSteps:s,onChange:d})),x=i(Jt((function(){var e=document.querySelector(".progress-bar");e&&g(e.offsetWidth)}),1e3),[]);return l((function(){var e=document.querySelector(".progress-bar");return g(null==e?void 0:e.offsetWidth),window.addEventListener("resize",x),function(){window.removeEventListener("resize",x)}}),[]),"step-track"===a&&v||"breadcrumb"===a&&E||"detail-track"===a&&y},$n=Object.freeze({__proto__:null,SideMenu:ye,SideHeader:xe,UserInfo:we,MenuLink:be}),ea=function(t){var n=t.isDisabled,a=t.isLeft,l=t.onClick,o=t.className,i=t.scheme,r=void 0===i?"hellosites":i;return e.createElement(Ne,{onClick:l,"data-is-disabled":n,"data-is-left":a,className:o},e.createElement("svg",{width:"8",height:"12",viewBox:"0 0 8 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a?e.createElement("path",{d:"M2.92902 6.00015L6.75002 2.17915C7.16402 1.76515 7.16402 1.09315 6.75002 0.679152C6.33602 0.265152 5.66402 0.265152 5.25002 0.679152L0.636023 5.29315C0.245023 5.68415 0.245023 6.31715 0.636023 6.70715L5.25002 11.3212C5.66402 11.7352 6.33602 11.7352 6.75002 11.3212C7.16402 10.9072 7.16402 10.2352 6.75002 9.82115L2.92902 6.00015Z",fill:"hellosites"===r?"#595959":"#E55C8A"}):e.createElement("path",{d:"M5.07095 6.00015L1.24995 2.17915C0.835953 1.76515 0.835953 1.09315 1.24995 0.679152C1.66395 0.265152 2.33595 0.265152 2.74995 0.679152L7.36395 5.29315C7.75495 5.68415 7.75495 6.31715 7.36395 6.70715L2.74995 11.3212C2.33595 11.7352 1.66395 11.7352 1.24995 11.3212C0.835953 10.9072 0.835953 10.2352 1.24995 9.82115L5.07095 6.00015Z",fill:"hellosites"===r?"#595959":"#E55C8A"})))},ta=function(n){for(var a=n.row,l=n.column,o=n.children,i=n.scheme,r=void 0===i?"hellosites":i,c=n.classNameLeftArrow,s=void 0===c?"":c,m=n.classNameRightArrow,d=void 0===m?"":m,p=n.mode,u=void 0===p?"snap":p,g=n.isDotsShown,h=void 0===g||g,v=n.isArrowShown,f=void 0!==v&&v,E=n.dataEventCategory,y=n.dataEventAction,x=n.dataEventLabel,w=n.onChangePage,b=e.useState(0),k=b[0],C=b[1],N=t(!1),L=N[0],z=N[1],_=Yt({defaultAnimation:{duration:1e3},initial:0,slideChanged:function(e){C(e.track.details.rel),w&&w(e.track.details.rel)},created:function(){z(!0)},drag:!0,mode:u,slides:{spacing:12}}),M=_[0],S=_[1],B=[],F=a*l,D=0;D<o.length;D+=F){var A=o.slice(D,D+F);B.push(A)}return e.createElement(ke,{row:a,column:l},e.createElement("div",{className:"navigation-wrapper"},e.createElement("div",{ref:M,className:"keen-slider slides-wrapper"},B.map((function(t,n){return e.createElement("div",{key:n,className:"keen-slider__slide page-items"},t.map((function(t,n){return e.createElement("div",{key:n},t)})))}))),L&&S.current&&f&&e.createElement(e.Fragment,null,e.createElement(ea,{isLeft:!0,onClick:function(e){var t;return e.stopPropagation()||(null===(t=S.current)||void 0===t?void 0:t.prev())},isDisabled:0===k,scheme:r,className:"left-arrow ".concat(s),"data-event-category":E,"data-event-action":y,"data-event-label":x}),e.createElement(ea,{isLeft:!1,onClick:function(e){var t;return e.stopPropagation()||(null===(t=S.current)||void 0===t?void 0:t.next())},isDisabled:k===S.current.track.details.slides.length-1,scheme:r,className:"right-arrow ".concat(d),"data-event-category":E,"data-event-action":y,"data-event-label":x}))),L&&S.current&&h&&e.createElement("div",{className:"dots"},P([],Array(S.current.track.details.slides.length),!0).map((function(t,n){return e.createElement(Ce,{key:n,onClick:function(){var e;null===(e=S.current)||void 0===e||e.moveToIdx(n)},"data-is-active":k===n,"data-is-hellosites":"hellosites"===r})}))))},na=function(t){var n=t.type,a=t.description,l=t.value,o=t.withIcon,i=t.isInACard,r=t.cardColor,c=t.className;return e.createElement(Le,{className:c,"data-size":n,"data-is-in-card":"big"===n&&i,"data-card-color":r},e.createElement(ze,null,"small"===n&&e.createElement(_e,{"data-color":r}),a),e.createElement(Me,{"data-size":n},"small"!==n&&o,l))},aa=Object.freeze({__proto__:null,Table:Se,Cell:Be,Head:Fe,Row:De,Body:Ae}),la=function(n){var a=n.style,o=n.initialTab,i=n.tabContent,r=n.onChange,c=n.className,m=n.dataEventCategory,d=n.dataEventAction,p=n.dataEventLabel,u=n.id,g=t(o||0),h=g[0],v=g[1],f=Zt(i.length);return l((function(){v(o)}),[o]),e.createElement(je,{style:a,className:c,role:"tablist",id:u},i.map((function(t,n){return e.createElement(Ie,{"data-is-tab-active":h===n||void 0,"aria-selected":h===n,role:"tab",onClick:function(){v(n),r&&r(n)},onKeyDown:function(e){"Enter"===e.key&&(v(n),r&&r(n))},key:f[n],"data-event-category":m,"data-event-action":d,"data-event-label":p,tabIndex:0},e.createElement(Te,null,t.icon&&e.createElement(He,null,t.icon),e.createElement(s,{size:t.textSize||"sm",type:t.textType||"bold",color:t.textColor||X.colors.gray800,dataEventCategory:t.dataEventCategory,dataEventAction:t.dataEventAction,dataEventLabel:t.dataEventLabel},t.name)))})))},oa=function(t){var n=t.thankyou,a=t.thankyouSubtitle,l=t.className,o=t.style;return e.createElement(Pe,{className:l,style:o},e.createElement("div",{className:"survey-inner-wrapper"},e.createElement(We,null,e.createElement("div",{className:"survey-thankyou-wrapper-inner"},e.createElement("svg",{viewBox:"0 0 122 122",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"survey-thankyou-icon"},e.createElement("path",{d:"M61.5 122C94.6371 122 121.5 95.1371 121.5 62C121.5 28.8629 94.6371 2 61.5 2C28.3629 2 1.5 28.8629 1.5 62C1.5 95.1371 28.3629 122 61.5 122Z",fill:"#E3F2FF"}),e.createElement("ellipse",{cx:"61.5",cy:"110.36",rx:"48",ry:"3.36",fill:"#91CAFF"}),e.createElement("path",{d:"M82.9048 72.6663H101.5L87.597 40H35.403L21.5 72.6663H40.0952V91H83.0786L82.9048 72.6663Z",fill:"#2C74DF"}),e.createElement("path",{d:"M74.4004 15.0005H39.863C36.9017 15.0005 34.5 17.4022 34.5 20.3635V72.5769C34.5 75.5383 36.9017 77.9399 39.863 77.9399H83.1357C86.097 77.9399 88.4987 75.5383 88.4987 72.5769V29.0988L88.4987 21.0005C88.4987 17.6868 85.8124 15.0005 82.4987 15.0005H74.4004Z",fill:"white"}),e.createElement("path",{d:"M88.8529 80.1077H34.1469C31.8699 80.1077 30.06 78.3036 30.06 76.0338V65.3837C30.06 63.1139 31.8699 61.3098 34.1469 61.3098H88.8529C91.1299 61.3098 92.9398 63.1139 92.9398 65.3837V76.0338C92.9398 78.3036 91.1299 80.1077 88.8529 80.1077Z",fill:"#E4E8EC"}),e.createElement("path",{d:"M90.838 85.4512H32.1618C29.8849 85.4512 28.075 83.6471 28.075 81.3774V70.7272C28.075 68.4575 29.8849 66.6533 32.1618 66.6533H90.7796C93.0566 66.6533 94.8665 68.4575 94.8665 70.7272V81.3774C94.9249 83.6471 93.0566 85.4512 90.838 85.4512Z",fill:"white"}),e.createElement("path",{d:"M103.748 75.4919V105.755C103.748 107.675 102.172 109.247 100.245 109.247H23.0031C21.0764 109.247 19.5 107.675 19.5 105.755V75.4919C19.5 73.5713 21.0764 72 23.0031 72H42.3866C44.3133 72 45.8897 73.5713 45.8897 75.4919V80.8461C45.8897 81.1952 46.1232 81.428 46.4735 81.428H76.7749C77.1253 81.428 77.3588 81.1952 77.3588 80.8461V75.4919C77.3588 73.5713 78.9352 72 80.8618 72H100.245C102.172 72 103.748 73.5713 103.748 75.4919Z",fill:"#45A4FF"}),e.createElement("path",{d:"M51.9541 91.3767V94.4612C51.9541 96.0907 53.2386 97.3711 54.8733 97.3711H67.7179C69.3526 97.3711 70.6371 96.0907 70.6371 94.4612V91.3767",stroke:"#2C74DF",strokeWidth:"3",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M120.5 38.0251C118.5 37.7793 117.25 39.3768 118.125 41.22L118.375 41.9573C119.125 43.8006 118 45.398 116 45.1523L115.25 45.0294C113.25 44.7836 112 46.3811 112.875 48.2244L113.25 48.9616C114 50.8049 112.875 52.4025 110.875 52.1567L110.125 52.0337C108.625 51.9109 107.5 52.7712 107.5 54",stroke:"#FE921D",strokeWidth:"1.9096",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M1.53299 62C1.2644 63.413 2.6745 64.337 4.35323 63.8478L5.02472 63.6304C6.70346 63.087 8.11356 64.0109 7.84496 65.4783L7.7107 66.0217C7.4421 67.4348 8.8522 68.3587 10.5309 67.8696L11.2024 67.6522C12.8812 67.1087 14.2913 68.0326 14.0227 69.5L13.8884 70.0435C13.687 71.1304 14.4256 71.8913 15.5 72",stroke:"#00B16A",strokeWidth:"2.8751",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M118 92C119.381 92 120.5 90.8807 120.5 89.5C120.5 88.1193 119.381 87 118 87C116.619 87 115.5 88.1193 115.5 89.5C115.5 90.8807 116.619 92 118 92Z",stroke:"#00B16A",strokeWidth:"2.8751",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M82.0001 3.18747L83.1875 7.53467L87.5347 6.34727L86.3473 2.00007L82.0001 3.18747Z",stroke:"#00B16A",strokeWidth:"2.1628",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M17.0001 28C18.1046 28 19 27.1045 19 25.9999C19 24.8954 18.1046 24 17.0001 24C15.8955 24 15 24.8954 15 25.9999C15 27.1045 15.8955 28 17.0001 28Z",stroke:"#FE921D",strokeWidth:"2.3278",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M61.5 26.6667C54.136 26.6667 48.1667 32.6361 48.1667 40.0001C48.1667 47.3641 54.136 53.3334 61.5 53.3334C68.864 53.3334 74.8334 47.3641 74.8334 40.0001C74.8334 32.6361 68.864 26.6667 61.5 26.6667ZM69.1094 36.9427L59.776 46.2761C59.516 46.5361 59.1747 46.6667 58.8334 46.6667C58.492 46.6667 58.1507 46.5361 57.8907 46.2761L53.8907 42.2761C53.3694 41.7547 53.3694 40.9121 53.8907 40.3907C54.412 39.8694 55.2547 39.8694 55.776 40.3907L58.8334 43.4481L67.224 35.0574C67.7454 34.5361 68.588 34.5361 69.1094 35.0574C69.6307 35.5787 69.6307 36.4214 69.1094 36.9427Z",fill:"#00CB8A"})),n&&e.createElement(J,{className:"survey-thankyou-title",tag:"h3"},n),a&&e.createElement(s,{className:"survey-thankyou-subtitle",size:"p3"},a)))))},ia=function(n){var a=n.items,o=n.className,i=n.style,r=n.backgroundPanelStyle,c=n.isOpen,s=n.onOpen,m=n.onClose,d=n.disableBackdropClick,p=n.siteType,u=void 0===p?"hb":p,g=n.animationType,h=void 0===g?"zoom":g,v=n.zIndex,f=void 0===v?300:v,E=t(!!c),y=E[0],x=E[1];l((function(){x(!!c)}),[c]);var w=function(){x(!1),m&&m()};return e.createElement(Ve,{style:i,className:o,"data-floatmenu-open":y,"data-site-type":u,"data-animation-type":h},e.createElement(Oe,{className:"float-button-group__panel",style:H({zIndex:f},r),onClick:d?void 0:w}),e.createElement(Ge,{className:"float-button-group___content",style:{zIndex:f}},e.createElement(Ue,null,a.map((function(t,n){return e.createElement(Ze,{className:"float-item-button-".concat(n),style:H(H({},"zoom"===h&&{bottom:64*(a.length-1-n),transitionDelay:"".concat(Re/a.length*(y?a.length-1-n:n),"ms")}),"slide"===h&&{bottom:64*(a.length-1-n),transitionDelay:"".concat(Re/a.length*(y?n:a.length-1-n),"ms")}),key:n,onClick:function(){t.onClick(),t.keepMenuOnClick||x(!1)}},e.createElement(qe,{style:H({},"zoom"===h&&{transitionDelay:"".concat(Re/a.length*(y?a.length-1-n:n),"ms")})},t.label),e.createElement(Ke,{className:"float-item-button__icon-wrapper",style:H({},("zoom"===h||"slide"===h)&&{transitionDelay:"".concat(Re/a.length*(y?a.length-1-n:n),"ms")})},t.icon))}))),e.createElement(Xe,{onClick:y?w:function(){x(!0),s&&s()}})))},ra=function(t){var n=t.className,a=t.policiesUrl,l=t.onAcceptClick,o=t.translations,i=void 0===o?{acceptButton:"Accept",policiesButton:"Our Policies"}:o,r=t.title,c=void 0===r?"":r,s=t.description,m=void 0===s?"":s,d=t.theme,p=void 0===d?"helloSites":d,u=t.isOpen,g=void 0===u||u,h=t.useDefaultPosition,v=void 0===h||h,f=t.trackingAttributes;return e.createElement(Je,{className:n,"data-theme":p,"data-is-open":g,"data-default-position":v},e.createElement(Ye,{"data-has-content":!!c},c),e.createElement(Qe,{dangerouslySetInnerHTML:{__html:m}}),e.createElement($e,null,e.createElement(et,{role:"button",tabIndex:0,on:"tap:consent-element.accept",onClick:l,"data-event-category":null==f?void 0:f.dataEventCategory,"data-event-action":null==f?void 0:f.dataEventAction,"data-event-label":null==f?void 0:f.dataEventLabel},i.acceptButton),e.createElement(tt,{href:a},i.policiesButton)))},ca=function(t){var n,a,l,o,i,r,c,s,m,d,p,u,g,h,v,f,E,y,x,w=t.SEOData,b=void 0===w?{}:w,k=t.isAmp,C=void 0!==k&&k,N=t.locale,L=void 0===N?"vi-VN":N,z=t.routerPathname,_=t.routerQuery,M=t.nextHead,S=t.siteType,B=t.seoCustom,F=t.userId,D=t.forcedCanonicalUrl,A=b.totalPages,j=b.currentPage,I=b.SEOTitle,T=void 0===I?"":I,W=b.SEODescription,V=void 0===W?"":W,O=b.SEOImage,G=b.seoType,U=b.SEOImageWidth,Z=b.SEOImageHeight,R=b.customMetaData,q=void 0===R?[]:R,K=b.isIndexable,X=void 0===K||K,J=b.hasNoCanonical,Y=void 0!==J&&J,Q=X&&hn?"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1":"noindex",$=process.env.NEXT_PUBLIC_BASE_API_URL,ee=b.canonicalUrl||z;Object.keys(_).forEach((function(e){var t=_[e];t&&Array.isArray(t)&&(ee=ee.replace("[...".concat(e,"]"),t.join("/")))}));var te,ne=L||"en-PH",ae="helloSites"===S?pn[ne]:"www.marrybaby.vn",le=ee.endsWith("/")?"":"/";if(b.apiMetaData&&"string"==typeof b.apiMetaData){var oe=null===(n=b.apiMetaData)||void 0===n?void 0:n.match(/<title.*?>(.*)<\/title>/),ie=" - Page ".concat(j," of ").concat(A),re=j&&1!==j&&oe?b.apiMetaData.replace(oe[0],oe[0].includes("-")?oe[0].replace("-",ie+" - "):"<title>".concat(oe[1].concat(ie),"</title>")).replace('<link rel="canonical" href="https://'.concat(ae).concat(ee).concat(le,'" />'),'<link rel="canonical" href="https://'.concat(ae).concat(ee).concat(le,"?page=").concat(j,'" />')):b.apiMetaData,ce=(te=nt(re,{trim:!0})).find((function(e){var t,n;return"og:image"===(null===(t=e.props)||void 0===t?void 0:t.property)||"og:image:secure_url"===(null===(n=e.props)||void 0===n?void 0:n.property)}));if(!ce){var se="https://".concat(ae,"/images/").concat(L,".png");te=P(P([],te,!0),[e.createElement("meta",{key:"og:image",property:"og:image",content:(null===(a=b.openGraph)||void 0===a?void 0:a.image)||se||""}),e.createElement("meta",{key:"og:image:secure_url",property:"og:image:secure_url",content:(null===(l=b.openGraph)||void 0===l?void 0:l.image)||se}),e.createElement("meta",{key:"og:image:width",property:"og:image:width",content:(null===(o=b.openGraph)||void 0===o?void 0:o.imageWidth)&&String(null===(i=b.openGraph)||void 0===i?void 0:i.imageWidth)||"1200"}),e.createElement("meta",{key:"og:image:height",property:"og:image:height",content:(null===(r=b.openGraph)||void 0===r?void 0:r.imageHeight)&&String(null===(c=b.openGraph)||void 0===c?void 0:c.imageHeight)||"630"})],!1)}}var me="https://".concat(ae,"/images/").concat(L,".png");return e.createElement(M,null,e.createElement("link",{rel:"preconnect",href:"https://fonts.gstatic.com"}),"marryBaby"===S&&e.createElement("link",{href:"https://fonts.googleapis.com/css2?family=Inter&family=Krub:wght@600&display=swap",rel:"stylesheet"}),"km-KH"===L?e.createElement("link",{href:"https://fonts.googleapis.com/css2?family=Battambang:wght@400;700&display=swap",rel:"stylesheet"}):"id-ID"===L||"ms-MY"===L?e.createElement(e.Fragment,null):e.createElement("link",{href:"https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;0,800;1,300;1,400;1,600;1,700;1,800&display=swap",rel:"preload",as:"style"}),e.createElement("link",{rel:"preconnect",href:$}),e.createElement("meta",{charSet:"UTF-8"}),!C&&e.createElement("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover"}),e.createElement("meta",{name:"google",content:"notranslate"}),e.createElement("meta",{name:"robots",content:Q}),e.createElement("meta",{property:"fb:app_id",content:"653713035016537"}),q.map((function(t,n){return e.createElement("meta",H({key:n},t))})),e.createElement("meta",{name:"theme-color",content:"helloSites"===S?"#2c87f3":"#e85388"}),e.createElement("meta",{name:"page_type",content:"Home"}),e.createElement("meta",{name:"page_platform",content:"WEB"}),e.createElement("meta",{name:"page_language",content:ne}),e.createElement("meta",{name:"ahrefs-site-verification",content:"46e7521a2b89a1013149c4685bbe02a1d36a4732fef98655142b829bc87cba4d"}),C&&e.createElement(e.Fragment,null,e.createElement("script",{async:!0,"custom-element":"amp-analytics",src:"https://cdn.ampproject.org/v0/amp-analytics-0.1.js"}),e.createElement("script",{async:!0,"custom-element":"amp-fx-collection",src:"https://cdn.ampproject.org/v0/amp-fx-collection-0.1.js"}),e.createElement("script",{async:!0,"custom-element":"amp-ad",src:"https://cdn.ampproject.org/v0/amp-ad-0.1.js"}),e.createElement("script",{async:!0,"custom-element":"amp-next-page",src:"https://cdn.ampproject.org/v0/amp-next-page-1.0.js"}),e.createElement("script",{async:!0,"custom-element":"amp-sticky-ad",src:"https://cdn.ampproject.org/v0/amp-sticky-ad-1.0.js"}),e.createElement("script",{async:!0,"custom-element":"amp-social-share",src:"https://cdn.ampproject.org/v0/amp-social-share-0.1.js"}),e.createElement("script",{async:!0,"custom-element":"amp-bind",src:"https://cdn.ampproject.org/v0/amp-bind-0.1.js"})),!te&&e.createElement(e.Fragment,null,"helloSites"===S?e.createElement("title",null,B?T:T+" - "+(null===(s=un[L])||void 0===s?void 0:s.SITE_NAME)):e.createElement("title",null,T),!Y&&e.createElement("link",{rel:"canonical",href:"https://".concat(ae).concat(ee)}),e.createElement("meta",{name:"description",content:V||(null===(m=b.openGraph)||void 0===m?void 0:m.description)}),b.schemaData&&e.createElement("script",{type:"application/ld+json",className:"yoast-schema-graph",dangerouslySetInnerHTML:{__html:b.schemaData}}),e.createElement("meta",{property:"og:locale",content:L}),e.createElement("meta",{property:"og:type",content:G||"website"}),e.createElement("meta",{property:"og:title",content:(null===(d=b.openGraph)||void 0===d?void 0:d.title)||T}),e.createElement("meta",{property:"og:description",content:(null===(p=b.openGraph)||void 0===p?void 0:p.description)||V}),e.createElement("meta",{property:"og:url",content:"https://".concat(ae).concat(ee)}),e.createElement("meta",{property:"og:site_name",content:"https://".concat(ae)}),e.createElement("meta",{property:"og:image",content:(null===(u=b.openGraph)||void 0===u?void 0:u.image)||O||me||""}),e.createElement("meta",{property:"og:image:secure_url",content:(null===(g=b.openGraph)||void 0===g?void 0:g.image)||O||me}),e.createElement("meta",{property:"og:image:width",content:(null===(h=b.openGraph)||void 0===h?void 0:h.imageWidth)&&String(null===(v=b.openGraph)||void 0===v?void 0:v.imageWidth)||U&&String(U)||"1200"}),e.createElement("meta",{property:"og:image:height",content:(null===(f=b.openGraph)||void 0===f?void 0:f.imageHeight)&&String(null===(E=b.openGraph)||void 0===E?void 0:E.imageHeight)||Z&&String(Z)||"630"}),e.createElement("meta",{name:"twitter:card",content:"summary_large_image"}),e.createElement("meta",{name:"twitter:title",content:(null===(y=b.twitter)||void 0===y?void 0:y.title)||T}),e.createElement("meta",{name:"twitter:description",content:V}),e.createElement("meta",{name:"twitter:image",content:(null===(x=b.twitter)||void 0===x?void 0:x.image)||O})),("helloSites"===S?gn[ne]||[]:gn.marryBaby).map((function(t,n){return"link"===t.type?e.createElement("link",{key:"favicon-".concat(n),rel:t.rel,href:t.href,sizes:t.sizes}):"meta"===t.type?e.createElement("meta",{key:n,name:t.name,content:t.content}):null})),Array.isArray(te)&&D?te.filter((function(e){return"canonical"!==e.props.name&&"canonical"!==e.props.rel})):te,D&&e.createElement("link",{rel:"canonical",href:D}),!b.hasNoAmp&&"vi-VN"!==L&&e.createElement("link",{rel:"amphtml",href:"https://".concat(ae).concat(ee).concat(le,"?amp=1")}),F&&"undefined"!=typeof window?e.createElement("script",{dangerouslySetInnerHTML:{__html:"window.dataLayer = window.dataLayer || []; window.dataLayer.push({'userID': '".concat(F,"'});")}}):null)},sa=function(t){var n=t.className,a=t.heading,l=t.isMobile,o=t.bannerUrl,i=t.bannerUrlLarge,r=t.medicalReview,c=t.icon,s=t.isSide,m=t.style,d=l?"h5":"h4",p=l?o:i||o;return e.createElement(at,{"data-is-mobile":l,style:m},e.createElement(lt,{className:n,"data-banner-url":p,"data-is-mobile":l},e.createElement(j,{className:"container"},e.createElement(ot,null,e.createElement(it,{"data-is-side":s},e.createElement(rt,{"data-is-mobile":l},e.createElement(J,{color:X.colors.white,tag:d,as:"h2"},a)),r&&e.createElement(ct,{"data-is-mobile":l},r)),e.createElement(st,null,c)))))},ma=function(t){var n,a=t.isMobile,l=t.locale,o=t.onSubmitDueDate,i=t.dueDatePageInfo,r=t.expertUrl,c=t.isSide,m=fn().t;return e.createElement(mt,{"data-is-side":c},e.createElement(sa,{isSide:c,bannerUrl:Qt.getAssetPath("embedToolBannerPink.svg"),icon:e.createElement("img",{alt:"health-tool-icon",src:null==i?void 0:i.featured_image,style:{objectFit:"contain",marginLeft:"auto"}}),heading:m("healthTools.dueDateCalculator"),medicalReview:(null===(n=null==i?void 0:i.reviewed_by)||void 0===n?void 0:n.display_name)?e.createElement(s,{size:"n1",color:X.colors.white},e.createElement("span",{dangerouslySetInnerHTML:{__html:m("toolPage.toolReviewer",{expert_name:'<a\n style="color: white"\n href="'.concat(r,'"\n >\n ').concat(null==i?void 0:i.reviewed_by.display_name,"\n </a>"),date:null==i?void 0:i.reviewed_date})}}),e.createElement("span",null)):void 0,isMobile:a}),e.createElement(j,null,e.createElement(dt,{onSubmit:function(e){return e.preventDefault()},className:"due-date-cal","data-is-side":c},e.createElement(pt,{locale:l,onSubmitDueDate:o,isSide:c}))))},da=function(t){var n=t.src,a=t.title,l=t.backgroundSrc,o=t.className,i=t.reviewedSection,r=t.isAmp,c=t.isSide;return e.createElement(ut,{className:o},e.createElement(gt,{style:{backgroundImage:'url("'.concat(l,'")')}},e.createElement(ht,{"data-is-side":c},e.createElement(vt,{"data-is-side":c},e.createElement(J,{tag:"h4",color:"white"},a),i),e.createElement(ft,null,r?e.createElement("amp-img",{src:n||"",alt:a,width:"140",height:"140"}):e.createElement("img",{src:n||"",style:{objectFit:"contain"},alt:a})))))},pa=function(t){var n,a,l,o=t.backgroundDesktopSrc,i=t.backgroundMobileSrc,r=t.title,c=t.className,m=t.isSide,d=t.isAmp,p=t.ovulationContent,u=fn().t,g=qt(null==p?void 0:p.reviewed_by);return e.createElement(Et,{className:c,"data-is-side":m},e.createElement(yt,{style:{backgroundImage:"url('".concat(i||o,"')")}},e.createElement(xt,null,e.createElement(J,{tag:"h5",color:"white"},r),(null===(n=null==p?void 0:p.reviewed_by)||void 0===n?void 0:n.display_name)?e.createElement(s,{size:"n1",color:"white",style:{marginTop:"0.3rem"}},e.createElement("span",{dangerouslySetInnerHTML:{__html:u("articlePage.articleReviewerBy",{name:'<a\n style="color: white"\n href="'.concat(g,'"\n >\n ').concat(p.reviewed_by.display_name,"\n </a>")})}}),e.createElement("span",null,u("tools.heading.on")),e.createElement("span",null,null==p?void 0:p.reviewed_date)):null),e.createElement(wt,{"data-is-side":m},d?e.createElement("amp-img",{src:(null==p?void 0:p.featured_image)||"",alt:r,width:"100%",height:"100%"}):e.createElement("img",{src:(null==p?void 0:p.featured_image)||"",style:{width:"100%",objectFit:"contain",marginTop:"20px"},alt:r}))),e.createElement(da,{className:"desktop-only",src:(null==p?void 0:p.featured_image)||"",backgroundSrc:o||i||"",title:r,reviewedSection:(null===(a=null==p?void 0:p.reviewed_by)||void 0===a?void 0:a.display_name)&&""!==(null===(l=null==p?void 0:p.reviewed_by)||void 0===l?void 0:l.display_name)&&e.createElement(s,{size:"n1",color:X.colors.white,style:{marginTop:12}},e.createElement("span",{dangerouslySetInnerHTML:{__html:u("toolPage.toolReviewer",{expert_name:'<a\n style="color: white"\n href="'.concat(g,'"\n >\n ').concat(p.reviewed_by.display_name,"\n </a>"),date:null==p?void 0:p.reviewed_date})}}),e.createElement("span",null)),isSide:m}))},ua=function(t){var n=t.onSubmitOvulation,a=t.locale,l=t.ovulationPageInfo,o=t.ovulationContent,i=t.isSide,r=void 0!==i&&i,c=fn().t,s=Kt(l||null);return e.createElement(mt,{"data-is-side":r},e.createElement(pa,{backgroundDesktopSrc:Qt.getAssetPath("embedToolBannerPink.svg"),backgroundMobileSrc:Qt.getAssetPath("embedToolBannerPink.svg"),title:c("healthTools.ovulationCalculator"),reviewedBy:s.reviewedBy,reviewedDate:s.reviewedDate,ovulationContent:o,isSide:r}),e.createElement(j,null,e.createElement(dt,{onSubmit:function(e){return e.preventDefault()},className:"ovulation-cal","data-is-side":r},e.createElement(bt,{locale:a,onSubmitOvulation:n,isSide:r}))))},ga=function(a){var o=a.info,i=a.onChange,r=a.errorMessage,c=void 0===r?{}:r,s=fn().t,m=t({weightBefore:!1,height:!1,weight:!1}),d=m[0],p=m[1],u=t(0),g=u[0],h=u[1],v=n(null);l((function(){h(v.current.clientHeight)}));var f=function(e,t){""!==e&&(isNaN(e)||isNaN(parseFloat(e)))||t(e)};return l((function(){i&&i(H({},o))}),[]),l((function(){p({weightBefore:!1,height:!1,weight:!1})}),[c]),e.createElement(e.Fragment,null,e.createElement("div",{className:"input-form-pwg"},e.createElement(I,{placeholder:s("pwg.placeholder.height"),className:"input-section",label:e.createElement("span",{style:{color:X.colors.gray600,fontWeight:"bold",marginBottom:"9px",fontSize:"12px"},className:"label-text"},s("pregnancyWeightGain.heightInput")," ",e.createElement("span",{style:{color:"".concat(X.colors.gray300)}},s("bmi.heightInput.desc"))),errorMessage:d.height?"":null==c?void 0:c.height,size:"sm",isNumerousKeyboard:!0,name:"pwg-height",value:null==o?void 0:o.height,onChange:function(e){f(e,(function(e){p((function(e){return H(H({},e),{height:!0})}));var t=H(H({},o),{height:e});i&&i(t)}))}})),e.createElement("div",{className:"input-form-pwg"},e.createElement(I,{placeholder:s("pwg.placeholder.weight"),className:"input-section",label:e.createElement("span",{style:{color:X.colors.gray600,fontWeight:"bold",marginBottom:"9px",fontSize:"12px"},ref:v,className:"label-text"},s("pregnancyWeightGain.weightBeforeInput")," ",e.createElement("span",{style:{color:"".concat(X.colors.gray300)}},s("pregnancyWeightGain.weightInput.desc"))),errorMessage:d.weightBefore?"":null==c?void 0:c.weightBefore,size:"sm",isNumerousKeyboard:!0,name:"pwg-weightBefore",onChange:function(e){f(e,(function(e){p((function(e){return H(H({},e),{weightBefore:!0})}));var t=H(H({},o),{weightBefore:e});i&&i(t)}))},value:null==o?void 0:o.weightBefore})),e.createElement("div",{className:"input-form-pwg"},e.createElement(I,{placeholder:s("pwg.placeholder.weight"),className:"input-section",label:e.createElement("span",{style:{color:X.colors.gray600,fontWeight:"bold",marginBottom:"9px",fontSize:"12px",minHeight:g},className:"label-text"},s("pregnancyWeightGain.weightInput")," ",e.createElement("span",{style:{color:"".concat(X.colors.gray300)}},s("pregnancyWeightGain.weightInput.desc"))),errorMessage:d.weight?"":null==c?void 0:c.weight,size:"sm",isNumerousKeyboard:!0,name:"pwg-weight",value:null==o?void 0:o.weight,onChange:function(e){f(e,(function(e){p((function(e){return H(H({},e),{weight:!0})}));var t=H(H({},o),{weight:e});i&&i(t)}))}})))},ha=function(n){var l,o,i=n.locale,r=n.onClick,c=n.inputErrorMessage,m=n.pwgContent,d=n.onFormChange,p=n.info,u=n.isMobile,g=n.isSide,h=void 0!==g&&g,v=fn().t,f=t(!1),E=f[0],y=f[1],x=t("notwins"),w=x[0],b=x[1],k=t({label:"1",value:1}),C=k[0],N=k[1],L=a((function(){return P([],Array(40),!0).map((function(e,t){return{label:"".concat(t+1),value:"".concat(t+1)}}))}),[]),z=En(i).getHealthToolLink,_=a((function(){return z(Xt.PWG)}),[z]),M=(null===(l=null==m?void 0:m.reviewedBy)||void 0===l?void 0:l.display_name)?e.createElement(s,{size:"n1",color:X.colors.white},e.createElement("span",{dangerouslySetInnerHTML:{__html:v("toolPage.toolReviewer",{expert_name:'<a\n style="color: white"\n href="'.concat(qt(null==m?void 0:m.reviewedBy),'"\n >\n ').concat(null===(o=null==m?void 0:m.reviewedBy)||void 0===o?void 0:o.display_name,"\n </a>"),date:null==m?void 0:m.reviewedDate})}}),e.createElement("span",null)):void 0;return e.createElement(mt,{"data-is-side":h},e.createElement(sa,{bannerUrl:Qt.getAssetPath("embedToolBannerPink.svg"),icon:e.createElement("img",{alt:"health-tool-icon",src:m.featuredImage,style:{objectFit:"contain",marginLeft:"auto"}}),heading:v("pregnancyWeightGain.heading"),medicalReview:M,isMobile:u,isSide:h}),e.createElement(j,null,e.createElement(dt,{onSubmit:function(e){return e.preventDefault()},className:"pwg-view-mobile","data-is-side":h},e.createElement(kt,{className:"hide-asking-mobile","data-is-side":h},e.createElement(T,{size:"label2",style:{display:"block",fontWeight:"bold",color:X.colors.gray600,fontSize:"12px"},className:"label",htmlFor:"gender-selector"},v("pregnancyWeightGain.havingTwins")),e.createElement(Ct,{options:[{value:"twins",label:v("switchBtn.yes")},{value:"notwins",label:v("switchBtn.no")}],value:w,onChange:function(e){return b(e)},className:"gender-selector",id:"twins-check",type:"circle",direction:"horizontal",size:"small",group:"group1"})),e.createElement(Nt,{"data-is-side":h},e.createElement(vn,{checked:E,onChange:function(){return y(!E)}}),e.createElement(T,{size:"label2",style:{display:"inline-block",color:X.colors.gray800,fontSize:"14px"},htmlFor:"gender-selector"},v("tool.askChecking"))),e.createElement(Lt,null,e.createElement(zt,{className:"input-section input-form-pwg","data-is-side":h},e.createElement(T,{size:"label2",style:{display:"inline-block",marginBottom:"9px",color:X.colors.gray600,fontWeight:"bold",fontSize:"12px"},htmlFor:"gender-selector"},v("pregnancyWeightGain.weekInput")),e.createElement(Rt,{options:L,placeholder:String(C.label),id:"weight-gain-dropdown",size:"md",value:C,onChange:function(e){return N({label:e.label,value:e.value})}})),e.createElement(ga,{info:p,errorMessage:c,onChange:d})),e.createElement(kt,{className:"hide-asking-desk","data-is-side":h},e.createElement(T,{size:"label2",style:{display:"block",fontWeight:"bold",color:X.colors.gray600,fontSize:"12px"},className:"label",htmlFor:"gender-selector"},v("pregnancyWeightGain.havingTwins")),e.createElement(Ct,{options:[{value:"twins",label:v("switchBtn.yes")},{value:"notwins",label:v("switchBtn.no")}],value:w,onChange:function(e){return b(e)},className:"gender-selector",id:"twins-check-mobile",type:"circle",direction:"horizontal",size:"small",group:"group1"})),e.createElement(_t,{"data-is-side":h},e.createElement(K,{dataEventCategory:"Health Tool",dataEventAction:"Due Date",dataEventLabel:"https://".concat(pn[i],"/").concat(_),className:"due-date-calculate-button",size:"lg",color:"primary",onClick:function(){return r(w,C.value)},role:"button"},v("dueDatePage.lastPeriod.calculate"))))))},va=function(t){var n=t.ampNextArticles,a=(null==n?void 0:n.filter(Boolean))||[];if(!(null==a?void 0:a.length))return null;return e.createElement("amp-next-page",null,e.createElement("script",{type:"application/json",dangerouslySetInnerHTML:{__html:JSON.stringify(a.map((function(e){return{image:e.image||"",title:e.title?JSON.stringify(e.title):"",url:e.link||""}})))}}),e.createElement("div",H({},{separator:""},{className:"amp-page-seperator",style:{color:"#8C8C8C",textTransform:"uppercase",fontSize:11,fontWeight:700,marginLeft:16}}),"Next article:"))},fa=function(){return"undefined"!=typeof window&&window.innerWidth<Z.BREAK_POINT_MOBILE},Ea=function(){return"undefined"!=typeof window&&window.innerWidth>=Z.BREAK_POINT_MOBILE&&window.innerWidth<Z.BREAK_POINT_PC};var ya={"en-PH":xn,"vi-VN":bn,"zh-TW":kn,"id-ID":wn};function xa(n){var o=n.value,i=void 0===o?{from:null,to:null}:o,r=t(null),c=r[0],s=r[1],m=function(){var e=t(fa()),n=e[0],a=e[1],o=t(Ea()),i=o[0],r=o[1];return l((function(){var e=function(){a(fa()),r(Ea())};return window.addEventListener("resize",e),function(){window.removeEventListener("resize",e)}}),[]),{isMobile:n,isLargeMobile:i}}().isMobile,d=t((function(){return i})),p=d[0],u=d[1],g=t((function(){var e;return en(null!==(e=i.from)&&void 0!==e?e:new Date)})),h=g[0],v=g[1],f=a((function(){return tn(h,1)}),[h]);var E=H(H({},n),{goToNextMonth:function(){v((function(e){return tn(e,1)}))},goToPreviousMonth:function(){v((function(e){return an(e,1)}))},range:p,setRange:u,hoverDay:c,setHoverDay:s});return e.createElement(e.Fragment,null,e.createElement(wa,H({},E,{date:h})),!m&&e.createElement(Mt,null),!m&&e.createElement(wa,H({},E,{date:f})))}function wa(t){var n=t.date,o=t.range,i=t.setRange,r=t.onChange,c=t.goToPreviousMonth,s=t.goToNextMonth,m=t.minDate,d=t.maxDate,p=t.close,u=void 0===p?function(){}:p,g=t.autoClose,h=void 0!==g&&g,v=t.hoverDay,f=t.setHoverDay,E=fn().locale,y=a((function(){var e;return null!==(e=ya[E])&&void 0!==e?e:ya["en-PH"]}),[E]),x=a((function(){return nn(n,"MMMM",{locale:y})}),[n,y]),w=a((function(){return y?[1,2,3,4,5,6,0].map((function(e){return y.localize.day(e,{width:"narrow"})})):[]}),[y]);function b(t,n){if(null===t)return e.createElement(Ht,{key:"idx-".concat(n),"data-empty":"true"});var a=t.getDate(),l=on(t),r=!!o.from&&rn(o.from,t),c=!!o.to&&rn(o.to,t),s=r||c,p=!1;null!==v&&o.from&&$t(o.from,v)&&!o.to?p=cn(t,{start:o.from,end:v}):o.from&&o.to&&(p=cn(t,{start:o.from,end:o.to}));var g=!1;return m&&d?g=!cn(t,{start:m,end:d}):m?g=$t(t,m):d&&(g=sn(t,d)),e.createElement(Ht,{key:a,"data-is-today":l,"data-is-past":!l&&mn(t),"data-is-selected":s,"data-is-disabled":g,"data-in-range":p,"data-is-from":r,"data-is-to":c,onMouseEnter:function(){f(t)},onMouseLeave:function(){return f(null)},onClick:function(){g||i((function(e){return h&&o.from&&!o.to&&u(),function(e,t){return t.from||t.to?t.from&&t.to?{from:e,to:null}:t.from?$t(e,t.from)?H(H({},t),{from:e}):H(H({},t),{to:e}):t:H(H({},t),{from:e})}(t,e)}))}},e.createElement(Pt,{onClick:function(){}},e.createElement("p",null,a)))}return l((function(){o.from&&o.to&&r(o)}),[o]),e.createElement(St,{className:"calendar-wrapper"},e.createElement(Bt,null,e.createElement(K,{onClick:c,size:"md",color:"ghost",icon:e.createElement("img",{src:Qt.getAssetPath("calendarArrowLeft.svg")})}),e.createElement("div",{className:"calendar-month"},x,e.createElement("strong",null,nn(n,"yyyy"))),e.createElement(K,{onClick:s,size:"md",color:"ghost",icon:e.createElement("img",{src:Qt.getAssetPath("calendarArrowRight.svg")})})),e.createElement(Ft,null,e.createElement("div",null,e.createElement(Dt,null,w.map((function(t,n){return e.createElement(At,{key:"".concat(t,"-").concat(n)},t)})))),e.createElement("div",null,function(){for(var t=n.getFullYear(),a=n.getMonth(),l=ln(n),i=[],r=1;r<=l;r++)i.push(new Date(t,a,r));var c=i[0]?i[0].getDay():0;if(1!==c){var s=0===c?6:c-1;for(r=0;r<s;r++)i.unshift(null)}return e.createElement(jt,{key:"month-".concat(a),"data-month-index":a,"data-has-range":Boolean(o.from&&o.to)},e.createElement(It,null,e.createElement(Tt,null,i.map(b))))}())))}function ba(l){var o=l.inputSize,i=void 0===o?"md":o,r=l.name,c=void 0===r?"date-range-picker":r,s=l.value,m=l.minDate,d=l.maxDate,p=l.onChange,u=l.className,g=l.autoClose,h=void 0!==g&&g;s||(s={from:null,to:null});var v=t(!1),f=v[0],E=v[1];function y(){E(!1)}var x=n(null);function w(e){p&&p(e)}function b(e){return nn(e,"dd/MM/yyyy")}yn(x,(function(){y()}));var k=a((function(){return s.from&&s.to?rn(s.from,s.to)?b(s.from):"".concat(b(s.from)," - ").concat(b(s.to)):""}),[s.from,s.to]);return e.createElement(Wt,{className:[u,f&&"focused"].filter(Boolean).join(" "),ref:x},e.createElement("label",{htmlFor:c},e.createElement(I,{size:i,value:k,name:c,actionIcon:e.createElement("img",{src:Qt.getAssetPath("calendar.svg")}),onFocus:function(){return E(!0)}})),f?e.createElement(Vt,{onMouseDown:function(e){e.stopPropagation()}},e.createElement(xa,{value:s,onChange:w,minDate:m,maxDate:d,close:y,autoClose:h})):null)}var ka,Ca,Na=function(){return e.createElement("svg",{width:"17",height:"16",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M6.86364 10.6666H5.22727C4.86912 10.6666 4.51448 10.5977 4.18359 10.4637C3.8527 10.3296 3.55205 10.1332 3.2988 9.8856C2.78734 9.3855 2.5 8.70722 2.5 7.99998C2.5 7.29274 2.78734 6.61446 3.2988 6.11436C3.81026 5.61426 4.50396 5.33331 5.22727 5.33331H6.86364M9.78374 5.33331H11.7727C12.1309 5.33331 12.4855 5.40229 12.8164 5.5363C13.1473 5.67031 13.4479 5.86674 13.7012 6.11436C13.9545 6.36198 14.1553 6.65596 14.2924 6.97949C14.4295 7.30303 14.5 7.64979 14.5 7.99998C14.5 8.35017 14.4295 8.69693 14.2924 9.02047C14.1553 9.344 13.9545 9.63798 13.7012 9.8856C13.4479 10.1332 13.1473 10.3296 12.8164 10.4637C12.4855 10.5977 12.1309 10.6666 11.7727 10.6666H9.78374",stroke:"#595959",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M6.5 8H10.5",stroke:"#595959",strokeLinecap:"round",strokeLinejoin:"round"}))},La=function(t){var n=t.url,a=t.onCopied,l=t.locale,o=fn().t,i=Cn(n||"").filter((function(e){return!e.allowedLocales||e.allowedLocales.includes(l)}));return e.createElement(Ot,null,e.createElement(s,{size:"p3",color:X.colors.gray800},o("shareContainer.title")),e.createElement("div",{className:"icon-group"},i.map((function(t,n){return e.createElement("a",{key:n,href:t.href,target:"_blank",rel:"noreferrer"},t.icon)})),e.createElement(K,{size:"sm",type:"button",color:"tertiary",className:"share",style:{},icon:e.createElement(Na,null),onClick:function(){return V(void 0,void 0,void 0,(function(){var e;return O(this,(function(t){switch(t.label){case 0:return[4,null===(e=null===navigator||void 0===navigator?void 0:navigator.clipboard)||void 0===e?void 0:e.writeText(n)];case 1:return t.sent(),null==a||a(),[2]}}))}))}})))},za=function(){return e.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"copy"},e.createElement("path",{d:"M4 2.5C3.17125 2.5 2.5 3.17125 2.5 4V13.75C2.5 14.164 2.836 14.5 3.25 14.5C3.664 14.5 4 14.164 4 13.75V4H13.75C14.164 4 14.5 3.664 14.5 3.25C14.5 2.836 14.164 2.5 13.75 2.5H4ZM7 5.5C6.17125 5.5 5.5 6.17125 5.5 7V16C5.5 16.8287 6.17125 17.5 7 17.5H16C16.8287 17.5 17.5 16.8287 17.5 16V7C17.5 6.17125 16.8287 5.5 16 5.5H7ZM7 7H16V16H7V7Z",fill:"#595959"}))},_a=function(t){var n=t.open,a=t.title,o=t.onClose,r=t.onCopied,c=t.onShared,m=t.url,d=t.locale,p=W(t,["open","title","onClose","onCopied","onShared","url","locale"]),u=fn().t,g=i((function(){return V(void 0,void 0,void 0,(function(){var e;return O(this,(function(t){switch(t.label){case 0:return[4,null===(e=null===navigator||void 0===navigator?void 0:navigator.clipboard)||void 0===e?void 0:e.writeText(m)];case 1:return t.sent(),null==r||r(),[2]}}))}))}),[m,r]),h=Cn(m||"").filter((function(e){return!e.allowedLocales||e.allowedLocales.includes(d)}));return l((function(){n&&navigator.share&&navigator.share({title:null!=a?a:"Read This Post",url:m}).then((function(){null==c||c()})).catch((function(){null==o||o()}))}),[m,a,c,n]),"undefined"!=typeof navigator&&navigator.share?null:e.createElement(Gt,H({title:u("share.title"),onClose:o,open:n,placement:"bottom"},p),e.createElement("div",{className:"share-container"},e.createElement("div",{className:"icon-container"},e.createElement(s,{type:"semiBold",size:"s3",color:X.colors.gray600},u("share.title")),e.createElement("div",{className:"icon-group"},h.map((function(t,n){return e.createElement("a",{key:n,href:t.href,target:"_blank",rel:"noreferrer"},t.icon)})))),e.createElement("div",{className:"link-container"},e.createElement(s,{type:"semiBold",size:"s3",color:X.colors.gray600},u("share.copyLink")),e.createElement("div",{className:"input-group"},e.createElement(Nn,{name:"link",size:"md",value:m,isDisabled:!0}),e.createElement(K,{size:"md",type:"button",color:"tertiary",icon:e.createElement(za,null),onClick:g})))))},Ma=dn.footer(ka||(ka=G(["\n background-color: #1b3250;\n\n .inner {\n padding: 64px 24px 98px 24px;\n "," {\n padding: 64px 0;\n }\n margin: 0 auto;\n //max-width: 1168px;\n\n &[data-type='mini'] {\n padding: 24px 0;\n }\n }\n\n .footer-logo {\n max-width: 132px;\n max-height: 32px;\n margin-bottom: 24px;\n &[data-is-sehat='true'] {\n max-width: 250px;\n }\n\n img {\n object-fit: contain;\n }\n }\n\n .social {\n margin-top: 24px;\n\n "," {\n margin-top: 32px;\n p {\n font-size: 13px;\n }\n }\n\n "," {\n p {\n font-size: 12px;\n }\n }\n\n p {\n color: ",";\n }\n }\n\n .icons {\n margin-top: 12px;\n margin-bottom: 20px;\n > a:not(:last-child) {\n margin-right: 16px;\n }\n\n .social-icon {\n width: 32px;\n height: 32px;\n }\n }\n\n .newsletter {\n > p {\n color: ",";\n\n font-size: 14px;\n line-height: 22px;\n\n "," {\n max-width: 380px;\n line-height: 28.5px;\n }\n }\n }\n\n hr {\n height: 1px;\n border: none;\n margin: 16px 0 16px 0;\n "," {\n margin-top: 0px;\n }\n background: ",";\n opacity: 0.1;\n outline: none;\n }\n\n .hrMobile {\n "," {\n display: none;\n }\n }\n\n .copyright {\n padding-top: 8px;\n\n "," {\n display: flex;\n flex-direction: row-reverse;\n align-items: center;\n justify-content: space-between;\n }\n\n .copyright-content {\n width: 90%;\n color: ",";\n font-size: 12px;\n }\n\n .copyright-image-wrapper {\n flex-shrink: 0;\n flex-wrap: wrap;\n display: flex;\n max-width: 35%;\n justify-content: flex-end;\n "," {\n justify-content: flex-start;\n max-width: unset;\n }\n .copyright-image {\n &:not(:last-child) {\n margin-right: 0.5rem;\n }\n align-self: flex-start;\n\n img {\n max-width: 100px;\n margin-bottom: 16px;\n }\n }\n }\n\n &[data-is-amp='true'] {\n img {\n margin-bottom: 0;\n }\n }\n }\n\n .copyright-certificate {\n color: ",";\n "," {\n font-size: 11px;\n }\n "," {\n font-size: 12px;\n }\n }\n\n .biglinks {\n margin-bottom: 12px;\n }\n\n .bigLink {\n display: block;\n color: ",";\n font-size: 14px;\n font-weight: ",";\n text-decoration: none;\n word-break: break-word;\n\n &:not(:last-child) {\n margin-bottom: 12px;\n }\n\n "," {\n display: inline-block;\n width: 50%;\n font-size: 16px;\n }\n }\n\n .mHalf {\n display: inline-block;\n width: 50%;\n padding-right: 24px;\n margin-bottom: 24px;\n vertical-align: top;\n\n p {\n color: ",";\n\n "," {\n margin-bottom: 8px;\n font-size: 13px;\n line-height: 20px;\n }\n "," {\n margin-bottom: 12px;\n font-size: 14px;\n }\n }\n }\n\n .otherSites {\n p {\n margin-bottom: 12px;\n color: ",";\n font-size: 12px;\n "," {\n font-size: 13px;\n }\n "," {\n font-size: 13px;\n }\n }\n\n .flags {\n display: flex;\n margin-bottom: 8px;\n\n div {\n margin-right: 10px;\n }\n }\n }\n\n .link {\n display: block;\n text-decoration: none;\n\n p {\n color: ",";\n font-weight: ",";\n word-break: break-word;\n }\n\n &:not(:last-child) {\n margin-bottom: 12px;\n }\n }\n\n .columns {\n "," {\n display: flex;\n flex-direction: row;\n width: 100%;\n\n > div:nth-child(1) {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n flex-basis: 40%;\n }\n\n > div:nth-child(2) {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n flex-basis: 60%;\n\n > div:nth-child(1) {\n flex-basis: 45%;\n }\n\n > div:not(:last-child) {\n flex-basis: 27.5%;\n }\n\n > div:last-child() {\n flex-basis: 0;\n }\n }\n }\n }\n\n .signupButton {\n display: none;\n border: none;\n margin-top: 16px;\n outline: none;\n text-transform: uppercase;\n }\n"],["\n background-color: #1b3250;\n\n .inner {\n padding: 64px 24px 98px 24px;\n "," {\n padding: 64px 0;\n }\n margin: 0 auto;\n //max-width: 1168px;\n\n &[data-type='mini'] {\n padding: 24px 0;\n }\n }\n\n .footer-logo {\n max-width: 132px;\n max-height: 32px;\n margin-bottom: 24px;\n &[data-is-sehat='true'] {\n max-width: 250px;\n }\n\n img {\n object-fit: contain;\n }\n }\n\n .social {\n margin-top: 24px;\n\n "," {\n margin-top: 32px;\n p {\n font-size: 13px;\n }\n }\n\n "," {\n p {\n font-size: 12px;\n }\n }\n\n p {\n color: ",";\n }\n }\n\n .icons {\n margin-top: 12px;\n margin-bottom: 20px;\n > a:not(:last-child) {\n margin-right: 16px;\n }\n\n .social-icon {\n width: 32px;\n height: 32px;\n }\n }\n\n .newsletter {\n > p {\n color: ",";\n\n font-size: 14px;\n line-height: 22px;\n\n "," {\n max-width: 380px;\n line-height: 28.5px;\n }\n }\n }\n\n hr {\n height: 1px;\n border: none;\n margin: 16px 0 16px 0;\n "," {\n margin-top: 0px;\n }\n background: ",";\n opacity: 0.1;\n outline: none;\n }\n\n .hrMobile {\n "," {\n display: none;\n }\n }\n\n .copyright {\n padding-top: 8px;\n\n "," {\n display: flex;\n flex-direction: row-reverse;\n align-items: center;\n justify-content: space-between;\n }\n\n .copyright-content {\n width: 90%;\n color: ",";\n font-size: 12px;\n }\n\n .copyright-image-wrapper {\n flex-shrink: 0;\n flex-wrap: wrap;\n display: flex;\n max-width: 35%;\n justify-content: flex-end;\n "," {\n justify-content: flex-start;\n max-width: unset;\n }\n .copyright-image {\n &:not(:last-child) {\n margin-right: 0.5rem;\n }\n align-self: flex-start;\n\n img {\n max-width: 100px;\n margin-bottom: 16px;\n }\n }\n }\n\n &[data-is-amp='true'] {\n img {\n margin-bottom: 0;\n }\n }\n }\n\n .copyright-certificate {\n color: ",";\n "," {\n font-size: 11px;\n }\n "," {\n font-size: 12px;\n }\n }\n\n .biglinks {\n margin-bottom: 12px;\n }\n\n .bigLink {\n display: block;\n color: ",";\n font-size: 14px;\n font-weight: ",";\n text-decoration: none;\n word-break: break-word;\n\n &:not(:last-child) {\n margin-bottom: 12px;\n }\n\n "," {\n display: inline-block;\n width: 50%;\n font-size: 16px;\n }\n }\n\n .mHalf {\n display: inline-block;\n width: 50%;\n padding-right: 24px;\n margin-bottom: 24px;\n vertical-align: top;\n\n p {\n color: ",";\n\n "," {\n margin-bottom: 8px;\n font-size: 13px;\n line-height: 20px;\n }\n "," {\n margin-bottom: 12px;\n font-size: 14px;\n }\n }\n }\n\n .otherSites {\n p {\n margin-bottom: 12px;\n color: ",";\n font-size: 12px;\n "," {\n font-size: 13px;\n }\n "," {\n font-size: 13px;\n }\n }\n\n .flags {\n display: flex;\n margin-bottom: 8px;\n\n div {\n margin-right: 10px;\n }\n }\n }\n\n .link {\n display: block;\n text-decoration: none;\n\n p {\n color: ",";\n font-weight: ",";\n word-break: break-word;\n }\n\n &:not(:last-child) {\n margin-bottom: 12px;\n }\n }\n\n .columns {\n "," {\n display: flex;\n flex-direction: row;\n width: 100%;\n\n > div:nth-child(1) {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n flex-basis: 40%;\n }\n\n > div:nth-child(2) {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n flex-basis: 60%;\n\n > div:nth-child(1) {\n flex-basis: 45%;\n }\n\n > div:not(:last-child) {\n flex-basis: 27.5%;\n }\n\n > div:last-child() {\n flex-basis: 0;\n }\n }\n }\n }\n\n .signupButton {\n display: none;\n border: none;\n margin-top: 16px;\n outline: none;\n text-transform: uppercase;\n }\n"])),R.mbDown,R.mbDown,R.mbUp,(function(e){return e.theme.colors.neutral500}),(function(e){return e.theme.colors.neutral500}),R.mbUp,R.mbDown,(function(e){return e.theme.colors.neutral500}),R.mbUp,R.mbUp,(function(e){return e.theme.colors.neutral500}),R.mbDown,(function(e){return e.theme.colors.neutral500}),R.mbDown,R.mbUp,(function(e){return e.theme.colors.white}),(function(e){return e.theme.sizes.fwBold}),R.mbDown,(function(e){return e.theme.colors.neutral500}),R.mbDown,R.mbUp,(function(e){return e.theme.colors.neutral500}),R.mbDown,R.mbUp,(function(e){return e.theme.colors.white}),(function(e){return e.theme.sizes.fwBold}),R.mbUp),Sa=dn.div(Ca||(Ca=G(["\n width: 32px;\n height: 32px;\n margin-right: 10px;\n\n &[data-is-mobile='true'] {\n width: 24px;\n height: 24px;\n }\n\n .country-flag {\n width: 100%;\n height: 100%;\n }\n"],["\n width: 32px;\n height: 32px;\n margin-right: 10px;\n\n &[data-is-mobile='true'] {\n width: 24px;\n height: 24px;\n }\n\n .country-flag {\n width: 100%;\n height: 100%;\n }\n"]))),Ba=function(t){var n=t.url,a=t.isMobile,l=t.dataEventCategory,o=t.dataEventAction,i=t.dataEventLabel,r=t.isAmp;return e.createElement(Sa,{"data-is-mobile":a},r?e.createElement("amp-img",{className:"country-flag",src:n,alt:"Country Flag","data-event-category":l,"data-event-action":o,"data-content-label":i}):e.createElement("img",{className:"country-flag lazy","data-src":n,alt:"Country Flag","data-event-category":l,"data-event-action":o,"data-content-label":i}))},Fa=function(t){var n,a,o,i,r,c,m,d,p,u,g,h,v,f,E,y,x,w,b,k,C,N,L,z,_,M,S,B,F,D,A=t.className,I=t.type,T=void 0===I?"main":I,H=t.footerInfo,P=t.isMobile,W=t.locale,V=t.isAmp,O=fn().t,G=null==H?void 0:H.menu;l((function(){setTimeout((function(){return null==q?void 0:q.update()}),100)}),[]);var U=(null===(a=null===(n=null==H?void 0:H.general)||void 0===n?void 0:n.verified)||void 0===a?void 0:a.filter(Boolean))||[];return e.createElement(Ma,{as:V&&"mini"===T?"div":"footer",className:A,style:"mini"===T?{backgroundColor:X.colors.neutral50}:{},"next-page-hide":!0},e.createElement(j,null,e.createElement("div",{className:"inner","data-type":T,"next-page-hide":""},"main"===T?e.createElement(e.Fragment,null,e.createElement("a",{href:"/"},V?(null===(i=null==H?void 0:H.general)||void 0===i?void 0:i.logo)?e.createElement("amp-img",{src:null===(r=null==H?void 0:H.general)||void 0===r?void 0:r.logo,alt:"Site logo",width:"132",height:"32",style:{marginBottom:24}}):null:e.createElement("img",{className:"footer-logo lazy","data-src":null===(o=null==H?void 0:H.general)||void 0===o?void 0:o.logo,alt:"Logo","data-is-sehat":"id-ID"===W})),e.createElement("div",{className:"columns"},e.createElement("div",{className:"newsletter"},e.createElement(s,{size:"p1",type:"bold"},null===(c=null==H?void 0:H.general)||void 0===c?void 0:c.content),e.createElement(K,{className:"signupButton",color:"primary",size:"lg"},O("footer.signUp")),e.createElement("div",{className:"social"},e.createElement(s,{size:"sm",type:"regular"},null===(m=null==H?void 0:H.social)||void 0===m?void 0:m.title),e.createElement("div",{className:"icons"},null===(p=null===(d=null==H?void 0:H.social)||void 0===d?void 0:d.socials)||void 0===p?void 0:p.map((function(t,n){return e.createElement("a",{key:n,"data-event-category":"Footer","data-event-action":"Follow us - ".concat(t.name),"data-content-label":t.url,href:t.url},V?e.createElement("amp-img",{"data-event-category":"Footer","data-event-action":"Follow us - ".concat(t.name),"data-content-label":t.url,src:t.icon,alt:"Logo Social",width:"32",height:"32"}):e.createElement("img",{"data-event-category":"Footer","data-event-action":"Follow us - ".concat(t.name),"data-content-label":t.url,"data-src":t.icon,alt:"Logo Social",className:"social-icon lazy"}))}))),e.createElement("hr",{className:"hrMobile"}))),e.createElement("div",null,G&&e.createElement(e.Fragment,null,e.createElement("div",{className:"biglinks"},null===(g=null===(u=G[0])||void 0===u?void 0:u.items)||void 0===g?void 0:g.map((function(t,n){return e.createElement("a",{"data-event-category":"Footer","data-event-action":t.title,"data-event-label":"https://".concat(pn[W]).concat(t.url),className:"bigLink",key:n,href:t.url},t.title)}))),e.createElement("hr",{className:"hrMobile"}),e.createElement("div",{className:"mHalf"},e.createElement(s,{type:"regular",size:"sm",className:"linkTitle"},null===(h=G[1])||void 0===h?void 0:h.menu_title),null===(f=null===(v=G[1])||void 0===v?void 0:v.items)||void 0===f?void 0:f.map((function(t,n){return e.createElement("a",{"data-event-category":"Footer","data-event-action":t.title,"data-event-label":"https://".concat(pn[W]).concat(t.url),className:"link",href:t.url,key:n},e.createElement(s,{size:"sm",type:"regular",dataEventCategory:"Footer",dataEventAction:t.title,dataEventLabel:"https://".concat(pn[W]).concat(t.url)},t.title))}))),e.createElement("div",{className:"mHalf"},e.createElement(s,{type:"regular",size:"sm",className:"linkTitle"},null===(E=G[2])||void 0===E?void 0:E.menu_title),null===(x=null===(y=G[2])||void 0===y?void 0:y.items)||void 0===x?void 0:x.map((function(t,n){return t.url&&e.createElement("a",{"data-event-category":"Footer","data-event-action":t.title,"data-event-label":t.url,className:"link",href:t.url,key:n},e.createElement(s,{size:"sm",type:"regular",dataEventCategory:"Footer",dataEventAction:t.title,dataEventLabel:t.url},t.title))})))),!V&&e.createElement(e.Fragment,null,e.createElement("hr",{className:"hrMobile"}),e.createElement("div",{className:"otherSites"},e.createElement(s,{type:"regular",size:"sm",className:"linkTitle"},null===(w=null==H?void 0:H.branch)||void 0===w?void 0:w.title),e.createElement("div",{className:"flags"},null===(k=null===(b=null==H?void 0:H.branch)||void 0===b?void 0:b.branch)||void 0===k?void 0:k.map((function(t,n){return e.createElement("a",{className:"link",href:t.url,key:n,"data-event-category":"Footer","data-event-action":t.name,"data-event-label":t.url},e.createElement(Ba,{url:t.flag,isMobile:P,dataEventCategory:"Footer",dataEventAction:t.name,dataEventLabel:t.url,isAmp:V}))}))))))),e.createElement("hr",null),e.createElement("div",{className:"copyright","data-is-amp":V||void 0},e.createElement("div",{className:"copyright-image-wrapper"},U.length?U.map((function(t,n){return e.createElement("a",{href:t.url,key:n,className:"copyright-image"},V?e.createElement("amp-img",{src:t.image,alt:"DMCA Icon",width:"100",height:"36"}):e.createElement("img",{className:"lazy","data-src":t.image,alt:"DMCA Icon"}))})):null),e.createElement(s,{size:"xs",type:"regular",className:"copyright-content"},null===(C=null==H?void 0:H.general)||void 0===C?void 0:C.copyright)),"vi-VN"===W&&e.createElement(s,{className:"copyright-certificate",size:"xs",type:"regular",color:"white"},"Giấy xác nhận cung cấp dịch vụ mạng xã hội trực tuyến số 529/GP-BTTTT, HN ngày 03/12/2019")):e.createElement(e.Fragment,null,(null==H?void 0:H.menu)&&e.createElement("div",{className:"columns"},e.createElement("div",{className:"mHalf"},e.createElement(s,{type:"regular",size:"sm",className:"linkTitle"},null===(N=null==H?void 0:H.menu[1])||void 0===N?void 0:N.menu_title),null===(z=null===(L=null==H?void 0:H.menu[1])||void 0===L?void 0:L.items)||void 0===z?void 0:z.map((function(t){return e.createElement("a",{className:"link",href:t.url,key:t.title,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Information","data-content-title":t.title,"data-content-id":"https://".concat(pn[W]).concat(t.url),"data-event-category":"Footer","data-event-action":t.title,"data-event-label":"https://".concat(pn[W]).concat(t.url)},e.createElement(s,{dataEventCategory:"Footer",dataEventAction:t.title,dataEventLabel:"https://".concat(pn[W]).concat(t.url),size:"sm",type:"regular",style:{color:X.colors.gray800}},t.title))}))),e.createElement("div",{className:"mHalf"},e.createElement(s,{type:"regular",size:"sm",className:"linkTitle"},null===(_=null==H?void 0:H.menu[2])||void 0===_?void 0:_.menu_title),null===(S=null===(M=null==H?void 0:H.menu[2])||void 0===M?void 0:M.items)||void 0===S?void 0:S.map((function(t,n){return e.createElement("a",{className:"link",href:t.url,key:n,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Hello Health","data-content-title":t.title,"data-content-id":t.url,"data-event-category":"Footer","data-event-action":t.title,"data-event-label":t.url},e.createElement(s,{size:"sm",type:"regular",style:{color:X.colors.gray800},dataEventCategory:"Footer",dataEventAction:t.title,dataEventLabel:t.url},t.title))}))),!V&&"mini"!==T&&e.createElement("hr",{className:"hrMobile"}),e.createElement("div",{className:"newsletter"},e.createElement("div",{className:"social"},e.createElement(s,{size:"sm",type:"regular"},null===(B=null==H?void 0:H.social)||void 0===B?void 0:B.title),e.createElement("div",{className:"icons"},null===(D=null===(F=null==H?void 0:H.social)||void 0===F?void 0:F.socials)||void 0===D?void 0:D.map((function(t,n){return e.createElement("a",{key:n,"data-event-category":"Footer","data-event-action":"Follow us - ".concat(t.name),"data-content-label":t.url,href:t.url},V?e.createElement("amp-img",{"data-event-category":"Footer","data-event-action":"Follow us - ".concat(t.name),"data-content-label":t.url,src:t.icon,alt:"Logo Social",width:"32",height:"32"}):e.createElement("img",{"data-event-category":"Footer","data-event-action":"Follow us - ".concat(t.name),"data-content-label":t.url,"data-src":t.icon,alt:"Logo Social",className:"social-icon lazy"}))}))))))))))};dn((function(t){var n=t.type,a=W(t,["type"]);return e.createElement(n,a)}))(Da||(Da=G(["\n color: var(--text-color, ",");\n font-family: Krub;\n font-weight: 600;\n letter-spacing: -0.2px;\n\n &[data-type='headline-1'] {\n font-size: 40px;\n line-height: 60px;\n }\n &[data-type='headline-2'] {\n font-size: 32px;\n line-height: 48px;\n }\n &[data-type='headline-3'] {\n font-size: 24px;\n line-height: 40px;\n }\n &[data-type='headline-4'] {\n font-size: 18px;\n line-height: 32px;\n }\n"],["\n color: var(--text-color, ",");\n font-family: Krub;\n font-weight: 600;\n letter-spacing: -0.2px;\n\n &[data-type='headline-1'] {\n font-size: 40px;\n line-height: 60px;\n }\n &[data-type='headline-2'] {\n font-size: 32px;\n line-height: 48px;\n }\n &[data-type='headline-3'] {\n font-size: 24px;\n line-height: 40px;\n }\n &[data-type='headline-4'] {\n font-size: 18px;\n line-height: 32px;\n }\n"])),(function(e){return e.theme.mbColors.dark}));var Da,Aa,ja,Ia,Ta,Ha,Pa,Wa,Va,Oa=dn.p(Aa||(Aa=G(["\n color: var(--text-color, ",");\n letter-spacing: -0.2px;\n\n &[data-type='subtitle-1'] {\n font-size: 16px;\n font-weight: 600;\n line-height: 26px;\n }\n &[data-type='subtitle-2'] {\n font-size: 14px;\n font-weight: 500;\n line-height: 24px;\n }\n &[data-type='subtitle-3'] {\n font-size: 12px;\n font-weight: 500;\n line-height: 20px;\n }\n &[data-type='bodytext-1'] {\n font-size: 16px;\n font-weight: 400;\n line-height: 28px;\n }\n &[data-type='bodytext-2'] {\n font-size: 14px;\n font-weight: 400;\n line-height: 24px;\n }\n &[data-type='bodytext-3'] {\n font-size: 12px;\n font-weight: 400;\n line-height: 20px;\n }\n &[data-type='caption-1'] {\n font-size: 10px;\n font-weight: 500;\n letter-spacing: -0.1px;\n line-height: 14px;\n }\n &[data-type='caption-2'] {\n font-size: 10px;\n font-weight: 400;\n letter-spacing: -0.1px;\n line-height: 14px;\n }\n"],["\n color: var(--text-color, ",");\n letter-spacing: -0.2px;\n\n &[data-type='subtitle-1'] {\n font-size: 16px;\n font-weight: 600;\n line-height: 26px;\n }\n &[data-type='subtitle-2'] {\n font-size: 14px;\n font-weight: 500;\n line-height: 24px;\n }\n &[data-type='subtitle-3'] {\n font-size: 12px;\n font-weight: 500;\n line-height: 20px;\n }\n &[data-type='bodytext-1'] {\n font-size: 16px;\n font-weight: 400;\n line-height: 28px;\n }\n &[data-type='bodytext-2'] {\n font-size: 14px;\n font-weight: 400;\n line-height: 24px;\n }\n &[data-type='bodytext-3'] {\n font-size: 12px;\n font-weight: 400;\n line-height: 20px;\n }\n &[data-type='caption-1'] {\n font-size: 10px;\n font-weight: 500;\n letter-spacing: -0.1px;\n line-height: 14px;\n }\n &[data-type='caption-2'] {\n font-size: 10px;\n font-weight: 400;\n letter-spacing: -0.1px;\n line-height: 14px;\n }\n"])),(function(e){return e.theme.mbColors.dark})),Ga=function(t){var n=t.type,a=t.color,l=t.style,o=W(t,["type","color","style"]);return e.createElement(Oa,H({"data-type":n,style:H(H({},l),a&&{"--text-color":a})},o))},Ua=dn.footer(ja||(ja=G(["\n position: relative;\n overflow: hidden;\n\n .icons {\n margin-top: 12px;\n margin-bottom: 20px;\n > a:not(:last-child) {\n margin-right: 16px;\n }\n }\n\n a {\n text-decoration: none;\n }\n a :hover {\n color: ",";\n }\n"],["\n position: relative;\n overflow: hidden;\n\n .icons {\n margin-top: 12px;\n margin-bottom: 20px;\n > a:not(:last-child) {\n margin-right: 16px;\n }\n }\n\n a {\n text-decoration: none;\n }\n a :hover {\n color: ",";\n }\n"])),(function(e){return e.theme.mbColors.cobalt})),Za=dn.div(Ia||(Ia=G(["\n position: relative;\n padding: 80px 0 40px;\n margin: auto 68px;\n display: flex;\n justify-content: space-between;\n align-items: flex-start;\n\n border-bottom: 1px solid\n ",";\n\n "," {\n margin: auto 16px;\n flex-wrap: wrap;\n row-gap: 32px;\n column-gap: 16px;\n }\n\n "," {\n margin: auto 0;\n }\n"],["\n position: relative;\n padding: 80px 0 40px;\n margin: auto 68px;\n display: flex;\n justify-content: space-between;\n align-items: flex-start;\n\n border-bottom: 1px solid\n ",";\n\n "," {\n margin: auto 16px;\n flex-wrap: wrap;\n row-gap: 32px;\n column-gap: 16px;\n }\n\n "," {\n margin: auto 0;\n }\n"])),(function(e){return e.theme.colors.neutral200}),R.tdDown,R.mbDown),Ra=dn.div(Ta||(Ta=G(["\n display: flex;\n justify-content: space-between;\n gap: 12px;\n flex-direction: column;\n\n "," {\n flex: 1 1 160px;\n }\n .title {\n padding-bottom: 4px;\n }\n"],["\n display: flex;\n justify-content: space-between;\n gap: 12px;\n flex-direction: column;\n\n "," {\n flex: 1 1 160px;\n }\n .title {\n padding-bottom: 4px;\n }\n"])),R.mbDown),qa=dn.div(Ha||(Ha=G(["\n display: flex;\n justify-content: space-between;\n gap: 12px;\n flex-direction: column;\n"],["\n display: flex;\n justify-content: space-between;\n gap: 12px;\n flex-direction: column;\n"]))),Ka=dn.div(Pa||(Pa=G(["\n padding: 40px 0;\n position: relative;\n\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 24px;\n flex-direction: column;\n text-align: center;\n\n .content {\n max-width: 680px;\n width: 100%;\n }\n .social-link {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 4px;\n\n img {\n width: 32px;\n height: 32px;\n }\n }\n\n "," {\n padding: 32px 0;\n }\n"],["\n padding: 40px 0;\n position: relative;\n\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 24px;\n flex-direction: column;\n text-align: center;\n\n .content {\n max-width: 680px;\n width: 100%;\n }\n .social-link {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 4px;\n\n img {\n width: 32px;\n height: 32px;\n }\n }\n\n "," {\n padding: 32px 0;\n }\n"])),R.mbDown),Xa=dn.div(Wa||(Wa=G(["\n background-color: ",";\n padding: 16px 0;\n position: relative;\n\n img {\n width: 89px;\n height: 32px;\n }\n .content {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 174px;\n margin: auto 68px;\n\n "," {\n margin: auto 16px;\n }\n\n "," {\n flex-direction: column-reverse;\n gap: 16px;\n align-items: flex-start;\n margin: auto 0;\n }\n }\n\n .verify {\n display: flex;\n align-items: flex-start;\n gap: 8px;\n }\n"],["\n background-color: ",";\n padding: 16px 0;\n position: relative;\n\n img {\n width: 89px;\n height: 32px;\n }\n .content {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 174px;\n margin: auto 68px;\n\n "," {\n margin: auto 16px;\n }\n\n "," {\n flex-direction: column-reverse;\n gap: 16px;\n align-items: flex-start;\n margin: auto 0;\n }\n }\n\n .verify {\n display: flex;\n align-items: flex-start;\n gap: 8px;\n }\n"])),(function(e){return e.theme.mbColors.dark}),R.tdDown,R.mbDown),Ja=dn.div(Va||(Va=G(["\n overflow: hidden;\n &:before {\n position: absolute;\n top: 0;\n left: 50%;\n display: block;\n width: 150%;\n height: 100%;\n background-color: ",";\n border-radius: 2150px 2150px 0 0 / 200px 200px 0 0;\n content: '';\n transform: translateX(-50%);\n }\n\n "," {\n &:before {\n width: 100%;\n }\n }\n"],["\n overflow: hidden;\n &:before {\n position: absolute;\n top: 0;\n left: 50%;\n display: block;\n width: 150%;\n height: 100%;\n background-color: ",";\n border-radius: 2150px 2150px 0 0 / 200px 200px 0 0;\n content: '';\n transform: translateX(-50%);\n }\n\n "," {\n &:before {\n width: 100%;\n }\n }\n"])),(function(e){return e.theme.mbColors.lightGray}),R.mbDown),Ya=function(t){var n,a=t.logoType,l=void 0===a?"marryBaby":a,o=t.footerMenu,i=t.background;if(!o)return null;var r=o.general,c=o.menu,s=o.socials;return e.createElement(Ua,{style:{backgroundColor:i||"none"}},e.createElement(Ja,null,e.createElement(j,null,e.createElement(Za,null,null==c?void 0:c.map((function(t,n){var a=t.menu_title,l=t.items;return e.createElement(Ra,{key:"mbf".concat(n)},e.createElement(Ga,{className:"title",type:"subtitle-1",color:X.mbColors.pink},a),null==l?void 0:l.map((function(t,n){var a=t.title,l=t.url;return e.createElement("a",{"data-event-category":"Footer","data-event-action":"Click","data-event-label":"".concat(l),className:"link",href:l,key:"footer-links-".concat(n)},e.createElement(qa,{key:"mbitem".concat(n)},e.createElement(Ga,{type:"bodytext-2",color:X.mbColors.gray},a)))})))})))),e.createElement(j,null,e.createElement(Ka,null,e.createElement(Ut,{className:"logo",type:l,width:"127px"}),e.createElement("div",{className:"content"},e.createElement(Ga,{type:"bodytext-2",color:X.mbColors.gray},null==r?void 0:r.content)),e.createElement("div",{className:"social-link"},null==s?void 0:s.map((function(t,n){var a=t.icon,l=t.name,o=t.url;return e.createElement("a",{key:"social".concat(n),target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - ".concat(l),"data-content-label":l,href:o},e.createElement("img",{src:a,alt:l}))}))))),e.createElement(Xa,null,e.createElement(j,null,e.createElement("div",{className:"content"},e.createElement(Ga,{type:"bodytext-3",color:X.colors.white},null==r?void 0:r.copyright),e.createElement("div",{className:"verify"},null===(n=null==r?void 0:r.verified)||void 0===n?void 0:n.map((function(t,n){var a=t.image,l=t.url;return e.createElement("img",{key:"imgMbFt".concat(n),src:a,alt:l})}))))))))},Qa=function(t){var n=t.type,a=t.isMobile,o=void 0===a||a,i=t.locale,r=t.footerInfo,c=t.isAmp,s=t.siteType;return l((function(){setTimeout((function(){return null==q?void 0:q.update()}),500)}),[]),"helloSites"===s?e.createElement(Fa,{isAmp:c,isMobile:o,type:n,locale:i,footerInfo:r||{}}):e.createElement(Ya,{footerMenu:r,background:null==t?void 0:t.background})};export{Ln as A,zn as B,Hn as C,ma as D,Mn as F,Sn as G,Yn as I,ua as O,Fn as P,On as R,Dn as S,An as T,In as U,_n as a,jn as b,Tn as c,Gn as d,Rn as e,Kn as f,Xn as g,Jn as h,Qn as i,$n as j,ta as k,na as l,aa as m,la as n,oa as o,ia as p,ra as q,ca as r,sa as s,ha as t,va as u,ba as v,La as w,_a as x,Qa as y};