@hhgtech/hhg-components 1.18.75 → 1.18.76
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/components.js +1 -1
- package/build/esm/components.js +1 -1
- package/build/esm/hooks/useCSSFocusPopupHelper.d.ts +1 -0
- package/build/esm/index-84f7b563.js +2 -0
- package/build/esm/index-84f7b563.js.map +1 -0
- package/build/esm/{index-5296c5f5.js → index-9e5ad931.js} +2 -2
- package/build/esm/{index-5296c5f5.js.map → index-9e5ad931.js.map} +1 -1
- package/build/esm/index.js +1 -1
- package/build/esm/navigation.js +1 -1
- package/build/hooks/useCSSFocusPopupHelper.d.ts +1 -0
- package/build/{index-62f15145.js → index-0cf8a15e.js} +2 -2
- package/build/{index-62f15145.js.map → index-0cf8a15e.js.map} +1 -1
- package/build/index-2fe768f4.js +2 -0
- package/build/index-2fe768f4.js.map +1 -0
- package/build/index.js +1 -1
- package/build/navigation.js +1 -1
- package/package.json +1 -1
- package/build/esm/index-07cad1fc.js +0 -2
- package/build/esm/index-07cad1fc.js.map +0 -1
- package/build/index-00fdf194.js +0 -2
- package/build/index-00fdf194.js.map +0 -1
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import n,{useState as e,useRef as t,useMemo as a,useEffect as i,Fragment as o,useCallback as r}from"react";import{S as l,d as s,T as c,e as d,f as p,g as m,h as g,i as u,j as h,k as f,l as x,m as v,n as y,o as b,p as E,q as w,r as k,s as C,t as L,u as M,v as S,w as T,x as N,y as z,z as A,A as B,B as _,D,E as F,F as P,G as I,H,J as R,K as j,M as U,N as O,O as V,Q as G,R as Z,U as Y,V as W,W as Q,X as q,Y as K,Z as J,_ as X,$,a0 as nn,a1 as en,a2 as tn,a3 as an,a4 as on,a as rn,C as ln,P as sn,a5 as cn}from"./cookieHelper-d56ad2dd.js";import{_ as dn,a as pn,b as mn,c as gn,d as un,e as hn}from"./tslib.es6-fd0a5c98.js";import{f as fn,M as xn,u as vn}from"./useTranslations-5638eb68.js";import{Range as yn,getTrackBackground as bn,useThumbOverlap as En}from"react-range";import{B as wn,H as kn,A as Cn,o as Ln,P as Mn}from"./index.styled-38673270.js";import{t as Sn,i as Tn,d as Nn}from"./theme-d85b3a33.js";import{j as zn,k as An,l as Bn,m as _n,n as Dn,o as Fn,p as Pn,q as In,r as Hn,s as Rn,t as jn,u as Un,v as On,w as Vn,x as Gn,y as Zn,z as Yn,A as Wn,B as Qn,C as qn,E as Kn,G as Jn,H as Xn,I as $n,J as ne,K as ee,O as te,Q as ae,R as ie,T as oe,V as re,W as le,X as se,Y as ce,Z as de,_ as pe,$ as me,a0 as ge,a1 as ue,a2 as he,a3 as fe,a4 as xe,a5 as ve,a6 as ye,a7 as be,a8 as Ee,a9 as we,aa as ke,ab as Ce,ac as Le,ad as Me,ae as Se,af as Te,ag as Ne,ah as ze,ai as Ae,aj as Be,ak as _e,al as De,am as Fe,an as Pe,ao as Ie,ap as He,aq as Re,ar as je,as as Ue,at as Oe,au as Ve,av as Ge,aw as Ze,ax as Ye,ay as We,az as Qe,aA as qe,aB as Ke,aC as Je,aD as Xe,U as $e,aE as nt,aF as et,aG as tt,aH as at,aI as it,aJ as ot,aK as rt,aL as lt,aM as st,aN as ct,aO as dt,aP as pt,aQ as mt,aR as gt,aS as ut,aT as ht,d as ft}from"./index-9e5ad931.js";import{useId as xt}from"react-id-generator";import{a as vt,D as yt}from"./index-57a6e743.js";import{format as bt}from"date-fns";import Et from"react-day-picker/DayPickerInput";import{u as wt}from"./useScrollbarSize-99db33e1.js";import{createPortal as kt}from"react-dom";import{throttle as Ct,debounce as Lt}from"lodash";import{L as Mt,F as St,d as Tt,Z as Nt,M as zt,a as At,S as Bt,b as _t}from"./constants-dc22740c.js";import Dt from"styled-components";import Ft from"react-loading-skeleton";import{T as Pt}from"./translationsProvider-94e1d5d1.js";var It=function(e){var t=e.style,a=e.onClose,i=e.text,o=e.type,r=e.contentIcon,p=e.closeIcon,m=e.className,g=e.description;return n.createElement(l,{style:t,"data-alert-type":o,className:m},n.createElement(s,null,n.createElement("div",{className:"icon-title"},r,n.createElement(c,{type:"bold",size:"label1"},i)),n.createElement(c,{type:"regular",size:"p3"},g)),n.createElement(d,{onClick:a},p))},Ht=function(e){var t=e.amount,a=e.type,i=e.size,o=void 0===i?"medium":i,r=e.color,l=void 0===r?"primary":r,s=e.icon,c=e.className;return n.createElement(p,{"data-notification-type":a,"data-notification-size":o,"data-notification-color":l,"data-has-icon":!!s||void 0,notificationType:a,notificationSize:o,notificationColor:l,hasIcon:!!s,className:c},n.createElement("div",null,t&&n.createElement("span",null,t)," ",s&&n.createElement("div",null,s)))},Rt=function(e){var t=e.style,a=e.children,i=e.className,o=e.size,r=void 0===o?"lg":o,l=e.type,s=void 0===l?"bold":l,c=e.upperCase,d=e.as,p=void 0===d?"h4":d,g=e.color;return n.createElement(m,{style:dn({color:g},t),className:i,"data-size":r,"data-type":s,"data-uppercase":c,as:p},a)},jt=function(a){var i=a.className,o=a.value,r=a.options,l=a.onUploadSelected,s=a.id,c=a.placeholderIcon,d=a.placeholder,p=a.style,m=e(!1),v=m[0],y=m[1],b=function(){return y(!v)},E=t(r.map((function(e){return"upload"===e.type&&n.createElement("input",{id:"uploader-dropdown-input-"+s+"-"+e.value,key:"uploader-dropdown-input-"+s+"-"+e.value,accept:e.fileAcceptedType,multiple:e.multiple,type:"file",style:{display:"none"},onChange:function(n){console.log("change"),l(n.target.files)}})}))),w=n.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 12.17 14.83"},n.createElement("defs",null,n.createElement("clipPath",{id:"prefix__clip-path",transform:"translate(-1.92 -1.54)"},n.createElement("path",{fill:"none",d:"M0 .96h16v16H0z"})),n.createElement("style",null,".prefix__cls-3{fill:none;stroke:#595959;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px}")),n.createElement("title",null,"File"),n.createElement("g",{clipPath:"url(#prefix__clip-path)"},n.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)"}),n.createElement("path",{className:"prefix__cls-3",d:"M8.67 2.29V7h4.66",transform:"translate(-1.92 -1.54)"}))),k=n.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 13.5 13.5"},n.createElement("defs",null,n.createElement("style",null,".prefix__cls-1{fill:none;stroke:#595959;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px}")),n.createElement("title",null,"download"),n.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=n.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 13.5 13.5"},n.createElement("defs",null,n.createElement("style",null,".prefix__cls-1{fill:none;stroke:#595959;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px}")),n.createElement("title",null,"upload"),n.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 n.createElement(g,{className:i,"data-dropdown-open":!!v,id:s,"data-has-icons":!0,style:p,onBlur:function(){return y(!1)},tabIndex:0},n.createElement(u,{onClick:b},c||w," ",n.createElement("span",null,o&&o.value?o.label:d)),v&&n.createElement(h,{onClick:b,"data-has-icons":!0},r.map((function(e){return n.createElement(f,{key:"".concat(s,"-").concat(e.value),"data-selected":o&&o.value===e.value||void 0,onClick:function(){return"upload"===e.type?function(n){var e;null===(e=document.querySelector(n))||void 0===e||e.click()}("#uploader-dropdown-input-"+s+"-"+e.value):void((n=e.url)&&window.open(n,"_blank"));var n}},n.createElement(x,null,e.icon||"download"===e.type?k:C),e.label)}))),n.createElement(n.Fragment,null,E.current))},Ut=function(e){var t=e.className,a=e.columns,i=e.columnsDesktop,o=e.gridTemplateColumns,r=e.gridTemplateColumnsDesktop,l=e.gap,s=e.children,c=e.justifyChildren,d=e.style,p=e.alignItems;return n.createElement(v,{className:t,style:d,theme:{columns:a,columnsDesktop:i,gap:l,justifyChildren:c,gridTemplateColumns:o,gridTemplateColumnsDesktop:r,alignItems:p}},s)},Ot=function(t){var a=t.pagesAmount,r=t.activePage,l=t.handlePageChange,s=t.handleClick,c=t.href,d=t.queryPageName,p=void 0===d?"page":d,m=pn([],Array(a),!0).map((function(n,e){return e+1})),g=e(r<=4?m.slice(0,5):r>=m.length-3?m.slice(m.length-5,m.length):m.slice(r-2,r+1)),u=g[0],h=g[1];return i((function(){r<=4?h(m.slice(0,5)):r>=m.length-3?h(m.slice(m.length-5,m.length)):h(m.slice(r-2,r+1))}),[r]),n.createElement(o,null,r>4&&n.createElement(o,null,n.createElement(E,{onClick:function(){return l(1)}},c?n.createElement("a",{href:c,onClick:s},1):1),n.createElement(E,null,"...")),u.map((function(e){return n.createElement(E,{key:"".concat("pagination","+").concat(e),"data-page-active":e===r||void 0,onClick:function(){return l(e)}},c?n.createElement("a",{href:fn(c,e,p),onClick:s},e):e)})),r<m.length-3&&n.createElement(o,null,n.createElement(E,null,"..."),n.createElement(E,{onClick:function(){return l(m.length)}},c?n.createElement("a",{href:fn(c,m.length,p),onClick:s},m.length):m.length)))},Vt=function(t){var o=t.className,r=t.pagesAmount,l=t.currentPage,s=t.onChange,c=t.onClick,d=t.style,p=t.href,m=t.queryPageName,g=void 0===m?"page":m,u=pn([],Array(r),!0).map((function(n,e){return e+1})),h=e(l),f=h[0],x=h[1],v=a((function(){return p&&p.endsWith("&page=")?p.replace("&page=",""):p}),[p]),w=r-1,k=function(n){n<=r&&n>0&&(x(n),s(n))},C=function(n){c&&c(n)};return i((function(){x(l)}),[l]),n.createElement(y,{className:o,style:d},n.createElement(b,{className:"prev-page",onClick:function(){return k(f-1)},"data-last-page":1===f||void 0},v?n.createElement("a",{href:fn(v,f,g),onClick:C},n.createElement("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M5.5 9L1.5 5L5.5 1",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))):n.createElement("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M5.5 9L1.5 5L5.5 1",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))),u.length>8?n.createElement(Ot,{pagesAmount:r,activePage:f,handlePageChange:k,handleClick:C,href:v,queryPageName:g}):u.map((function(e){return n.createElement(E,{key:"".concat("pagination","+").concat(e),"data-page-active":e===f||void 0,onClick:function(){return k(e)}},v?n.createElement("a",{href:fn(v,e,g),onClick:C},e):e)})),n.createElement(b,{className:"next-page",onClick:function(){return k(f+1)},"data-last-page":f===w+1||void 0},v?n.createElement("a",{href:fn(v,f,g),onClick:C},n.createElement("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M1.5 9L5.5 5L1.5 1",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))):n.createElement("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M1.5 9L5.5 5L1.5 1",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))))},Gt=function(e){var t=e.type,a=e.size,i=void 0===a?"small":a,o=e.label,r=e.name,l=e.checked,s=e.value,c=e.className,d=e.isDisabled,p=void 0!==d&&d,m=e.onChange,g=e.dataEventCategory,u=e.dataEventAction,h=e.dataEventLabel,f=!!u&&!!g&&!!h?{"data-event-category":g,"data-event-action":u,"data-event-label":h}:{};return n.createElement(w,{"data-disabled":p,className:c,"data-type":t,"data-size":i},n.createElement("input",dn({type:"radio",checked:l,name:r,id:"".concat(r,"-").concat(s),value:s,onChange:function(){return m(s)}},f)),n.createElement("label",dn({htmlFor:"".concat(r,"-").concat(s)},f),o))},Zt=function(e){var t=e.size,a=e.children,i=e.style,o=e.className;return n.createElement(k,{style:i,className:o,"data-shadow-size":t},a)};function Yt(e){var t=e.rangeRef,a=e.values,i=e.index,o=En(t,a,i,1," - ",(function(n){return n})),r=o[0],l=o[1];return n.createElement(n.Fragment,null,n.createElement(T,{"data-label":i,style:l},r),n.createElement(N,{"data-label":i}))}var Wt=function(t){var a=t.step,o=t.min,r=t.max,l=t.value,s=t.onChange,d=t.className,p=t.heading,m=t.isMobile,g=void 0!==m&&m,u=["#DBDFE5","#2D87F3","#DBDFE5"],h=n.useRef(),f=e(l),x=f[0],v=f[1];i((function(){v(l)}),[l[0],l[1]]);return n.createElement(C,{className:d},n.createElement(yn,{ref:h,values:x[0]>=o&&x[1]<=r?x:[o,r],onChange:v,onFinalChange:s,renderThumb:function(e){var t=e.props,a=e.index;return n.createElement(L,dn({},t),n.createElement(Yt,{rangeRef:h.current,values:x,index:a,isMobile:g}))},renderTrack:function(e){var t=e.props,a=e.children,i={background:bn({values:x,colors:u,min:o,max:r})};return n.createElement(n.Fragment,null,p&&n.createElement(c,{size:"md",type:"bold"},p),n.createElement(M,{onMouseDown:t.onMouseDown,onTouchStart:t.onTouchStart,style:dn({},t.style)},n.createElement(S,{ref:t.ref,style:i},a)))},step:a,min:o,max:r}))},Qt=function(e){var t=e.type,a=e.children,i=e.style,o=e.isInline,r=e.isSquared,l=void 0!==r&&r,s=e.className,d=e.isLight,p=e.hasMorePadding,m=e.isLink,g=e.isSelected,u=e.textProps,h=void 0===u?{size:"sm"}:u,f=h.color?{"--text-props-color":h.color}:{};return n.createElement(z,{"data-is-squared":l||void 0,"data-tag-type":t,"data-is-light":d||void 0,"data-has-more-padding":p||void 0,"data-is-inline":o||void 0,style:dn(dn({},i),f),className:s,"data-is-selected":g||void 0,"data-is-link":m||void 0,tagType:t,isInline:o,tagHasMorePadding:p,tagIsLight:d,tagIsSquared:l,tagIsALink:m},n.createElement(c,dn({},h),a))},qt=function(e){var t=e.className,a=e.id,i=e.onChange,o=e.checked,r=e.style,l=e.label;return n.createElement(A,{className:t,style:r},n.createElement("input",{type:"checkbox",id:a,onChange:i,checked:o}),n.createElement("label",{htmlFor:a},n.createElement(B,null),l&&n.createElement(_,null,l)))},Kt=function(e){var t=e.size,a=e.isDisabled,i=e.className,o=e.link,r=e.style;return n.createElement(D,{className:i,"data-size":t,style:r,"data-disabled":a||void 0},o)},Jt=function(e){var t=e.type,a=e.withIcon,i=e.onFileSelected,o=e.inputId,r=e.withElement,l=e.fileAcceptType,s=e.multiple,c=e.value,d=e.className,p=function(){var n;null===(n=document.querySelector("#uploader-input-"+o))||void 0===n||n.click()};return n.createElement(F,{className:d},"badge"===t?n.createElement(P,{onClick:p,"data-is-attached-to-element":!!r},r,n.createElement(I,{"data-is-attached-to-element":!!r},a)):r?n.createElement("div",{onClick:p},r):n.createElement(wn,{size:"md",color:"secondary",className:"default-button",icon:a,onClick:p},n.createElement(H,null,n.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 13.5 13.5"},n.createElement("defs",null,n.createElement("style",null,".prefix__cls-1{fill:none;stroke:#000;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px}")),n.createElement("title",null,"upload"),n.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")),n.createElement("input",{id:"uploader-input-"+o,accept:l,multiple:s,type:"file",style:{display:"none"},onChange:function(n){i(n.target.files)},value:c}))},Xt=function(e){var t=e.label,a=e.name,i=e.checked,o=e.className,r=e.isDisabled,l=e.onChange,s=e.value,c=e.isRectangle;return n.createElement(R,{className:o,"data-disabled":r||void 0,"data-is-rectangle":c||void 0,"data-label-text":t},n.createElement("input",{type:"checkbox",checked:i,name:a,onChange:function(){return l(s,!i)},disabled:r,value:s,id:"".concat(a,"-").concat(s),"data-label-text":t}),!c&&n.createElement("label",{htmlFor:"".concat(a,"-").concat(s)},t))},$t="data:image/svg+xml,%3csvg width='32' height='32' viewBox='0 0 32 32' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M27 0H5C2.23858 0 0 2.23858 0 5V27C0 29.7614 2.23858 32 5 32H27C29.7614 32 32 29.7614 32 27V5C32 2.23858 29.7614 0 27 0Z' fill='%231778F2'/%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M20.314 32V19.499H23.569L24 15.19H20.314L20.32 13.034C20.32 11.911 20.42 11.309 21.943 11.309H23.977V7H20.722C16.812 7 15.437 9.09 15.437 12.604V15.191H13V19.499H15.437V32H20.314Z' fill='white'/%3e%3c/svg%3e",na="data:image/svg+xml,%3csvg width='32' height='32' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M24.9 31.983L7.13 32c-3.909.004-7.11-3.191-7.114-7.1L0 7.13C-.004 3.222 3.191.021 7.1.017L24.87 0c3.909-.004 7.11 3.191 7.114 7.1L32 24.87c.004 3.91-3.191 7.11-7.1 7.114z' fill='url(%23prefix__paint0_radial)'/%3e%3cpath d='M24.9 31.983L7.13 32c-3.909.004-7.11-3.191-7.114-7.1L0 7.13C-.004 3.222 3.191.021 7.1.017L24.87 0c3.909-.004 7.11 3.191 7.114 7.1L32 24.87c.004 3.91-3.191 7.11-7.1 7.114z' fill='url(%23prefix__paint1_radial)'/%3e%3cpath d='M16 22.22A6.226 6.226 0 019.781 16c0-3.43 2.79-6.219 6.22-6.219a6.226 6.226 0 016.218 6.22c0 3.428-2.79 6.218-6.219 6.218zm0-10.662A4.447 4.447 0 0011.558 16 4.447 4.447 0 0016 20.442 4.447 4.447 0 0020.442 16 4.447 4.447 0 0016 11.558zM22.664 10.67a1.333 1.333 0 100-2.666 1.333 1.333 0 000 2.665z' fill='white'/%3e%3cpath d='M21.33 27.55H10.67a6.226 6.226 0 01-6.22-6.22V10.67c0-3.43 2.79-6.22 6.22-6.22h10.66a6.226 6.226 0 016.22 6.22v10.66c0 3.43-2.791 6.22-6.22 6.22zM10.67 6.226a4.447 4.447 0 00-4.443 4.442V21.33a4.447 4.447 0 004.442 4.442H21.33a4.447 4.447 0 004.442-4.442V10.67a4.447 4.447 0 00-4.442-4.443H10.67z' fill='white'/%3e%3cdefs%3e%3cradialGradient id='prefix__paint0_radial' cx='0' cy='0' r='1' gradientUnits='userSpaceOnUse' gradientTransform='translate(11.896 32.023) scale(39.8892)'%3e%3cstop stop-color='%23FD5'/%3e%3cstop offset='.328' stop-color='%23FF543F'/%3e%3cstop offset='.348' stop-color='%23FC5245'/%3e%3cstop offset='.504' stop-color='%23E64771'/%3e%3cstop offset='.643' stop-color='%23D53E91'/%3e%3cstop offset='.761' stop-color='%23CC39A4'/%3e%3cstop offset='.841' stop-color='%23C837AB'/%3e%3c/radialGradient%3e%3cradialGradient id='prefix__paint1_radial' cx='0' cy='0' r='1' gradientUnits='userSpaceOnUse' gradientTransform='matrix(26.4865 0 0 17.6479 5.15 -.4)'%3e%3cstop stop-color='%234168C9'/%3e%3cstop offset='.999' stop-color='%234168C9' stop-opacity='0'/%3e%3c/radialGradient%3e%3c/defs%3e%3c/svg%3e",ea=function(e){return n.createElement("svg",dn({},e,{viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"}),n.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"}))},ta=function(e){return n.createElement("svg",dn({},e,{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"}),n.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"}))},aa=function(e){return n.createElement("svg",dn({},e,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"}),n.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"}),n.createElement("mask",{id:"mask0_3555_5815",maskUnits:"userSpaceOnUse",x:"2",y:"0",width:"10",height:"24"},n.createElement("rect",{x:"2",width:"10",height:"24",fill:"#C4C4C4"})),n.createElement("g",{mask:"url(#mask0_3555_5815)"},n.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"})))},ia="data:image/svg+xml,%3csvg width='32' height='32' viewBox='0 0 32 32' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='32' height='32' rx='6' fill='%23D42428'/%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M7 12C7 10.8954 7.89543 10 9 10H9.68946H10H22H22.31H23C24.1046 10 25 10.8954 25 12V12.5633V20C25 21.1046 24.1046 22 23 22H22.3098H22H10H9.68946H9C7.89543 22 7 21.1046 7 20V19.4367V12.5633V12ZM14.1994 12.4438V18.8997L19.34 15.6719L14.1994 12.4438Z' fill='white'/%3e%3c/svg%3e",oa="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGYAAABnCAYAAADygzfHAAAACXBIWXMAACE4AAAhOAFFljFgAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAABu7SURBVHgB7V0JmFTVlf7ve1XV1St0N93sdouACMiiRFSi4G6iIjFOJpp8EcwySSYTIONoEvMNGNeZxAhRs0y+CCT6xRijEpe4RBHRIILaIkuzN3svLL3QXfu7c86979XW1UtVF7hQB17X2+ou59yz3nNvCfQCpJT9j/nDk0yBWYZhTLekrBZAf+SgR5BAsxCokZb8QArxemGe65nefE90WygRxB+25lKh83KEyBrUwRBLETaW5eeLuq5e6pIw/mBkLnHGwhxBjhvUEfYX5ntcy1I9TEkYIsoDxC3z4u8plrTk4vfrj9U88HZ9/6c3t0yCsKaLSKjakOgvhC5O8om+oO9IVYF0rqSuUNhVS/VEwBQGTi+xcOeVI3D5mEp4TBc+4dBMRw0dH9Dxvt8f3i1JDQghrqXr6vgXCV+LCjzm/OQCOhHGFwwvIXzNjrtVB0vOyf+fDVSRfy4VRQQTWeAiCdMC8g0LN4wtwZ1XjUFlgbt72frJhTo6ltKxzO8PzYBhLEA8gQSWEufMif+CEX/BnBJPFOKaxV6POTn/f9+dSCTbRbcWZocouuLT+1FLrz8ND143HpVe16eVKAzVULjDCq/XLf2EU8Zt9CnhvINxHwdRXBzzBWebhrHEubYseUdhvnshFr79gOaS7ABX6LYiuG5UMe6+ehROKc6DyzRwksEiEmvzfb7QQjIEFjg3pbTmF3g9i/hcEcbn81XDcK+AzV5MzQKvex4WrmZCzUYWwBkBA9wSt04bhG+eNwwlbuIS8Snmk+5hKfV9Toc/xESayzcIE815HvNUum5WQ9VweW5CTObV5ee5bE7JDlFUHVRrVYGFx28cjx9Mr9ZE+TQLr55hNjHAAwHGtdZBbAr17/CHlXTSHBMIs/6o5nNyImd77nmb7ptLkAXgCkwySUYWBvGnm87ChIoCItJJTZBkmE9WWw0hhSVWjGvaA+FZxDZP2y/V5d+79iL6jIq1voCQBtUXwRlFIfxl9lk4vbzwZOeSVMCm9am+YGSX4zOGLXmRIaSc4bxBrLWchE68WOsDSLK8JEYWhPCEIkpBjiipgYkxj31E54YKfQlDTHRuRCQojmPNRjaABSb8eHzO2RhTxpxy0lle6cBcwxA10SthTDfIG5/kXE995INqZIVbyHG0QlhywzicyZyS0yk9QX/TjIW+SNJUG/GxsE1NwUnIArilhbsuH46rRpUTW+aI0hswTTOKexY2SfIlJtYyrsCy8JUxxfiPadXI0SQtmB5/kUQY2QeOodgXHZcO9eDns8bCxQHMHGXSger4i2SO6UMcTKDCFcHi68eiNI/sL5FT9mlCAu6zhj0Xxb/uvqIKI0u95LvkiNJXyMrEB8+sXFaVh6+ePVyFXnLQd+jz0GailMggRYrHwG1PjOWg79BnwrAjdP24cowfUJhT9lmEPhBGTxj3I4U/n6LFrpwMyyr0gTA0V0+0+dLYcowekI8cZBf6oPwlCkUI3502XHFLjl+yCxkThklx6anFOKOyOEeU4wAZiDIiCYkwdySIr50zhLz9HBwPyIAwOhususSNi0ZWkiUmkYPsQwaiTPsql44oRpH5UQgxnUZ4PGqmiUIELYm1uw+hZk8zBhV7cPmEU1DsEifcFciAMAIuGcHnxlUgXexwx1UJ0UxNddMpNnovWqzkzE6eCXXu6Kc024fjEWKwqF13/G0dHn5rHzosLbIn9avBSz+8GqXeE5sdmlFtXiuAKVVladKFR7qFI/4IXt9yEPWtAbT7/TgWolEasMC4DtCUgaS5HOYHN80cMe4LCCFFHgMlhV4awV6MKMvHyMr+yFe5ttkljt8Clq7ZhTYrn8eEEtMfUjs31bdgWnU5TiSkTRgevROHFqM8z0yPMNTT/S0BXPLzF7HTL4gQRrREzQlSZQnAzm/m4epkPgv7OddtRkK4ZswALL15GgqPQ16aVBMWDgiEqZ2HWn040ZCm8idkURR56vB+KhE8rW8S/v741lbs9JmIqM4bGuVCRtGuQOh345GjZ3r4ewaCZh7+vuUQ1h9owfEAEf2j22FRvR2BUFQMnyhIE7v8hQgmDSlM25zjvg4tLyL9RPJCiStbX0gn/19qfSOdt0VixXHAg2JQSQGyDVrniYQbzJEhGozCbvGJgrRFmWmFMX5wEdIG6tX1Z1WjrqkVT66vR0NzAL5QmMgstZLnD1YqUqrRKQ0XQnQk6hEt3K6dUIFTSNd0ts0STIek6+RnseUhTjnchjAPnKR3o2Olu85BvxRPvL4I2TQJI5FHhKkeUIy0gVqZ7zbxk2vOwo+v0bci1AtLxjpAhhBCIQstviAeWbMDd724E1ZS/RXuCBbMnKSi2p2Uv2TdZSFC4pHsCPo0iLsiFNOTKn3KtC05abGxwcQ3VLKIQwZuTyRBZMkEsdoVovl7Ydu/40HFmaYGtYOlimlk5oKnTZiB/TzIz6AupdptJJj2Hbda5KTPNdBzt4FtTX785tUthBQXosucCNk8S3rfrIk4tbSokyhlhDa2B/DIqlo8t6EJWxvbECYCVPbz4jNDS/D1aaNwwehBytJ77sO9+NsH+0HGHr53yTiMG1yi+IaJqXWJs7TKEbHJfbHrpPYcaAvh0dXbqbyD2H64FeEwDcA8F6rKCnD28BLMnDAcM84YrLRqOnq594Sx5f8pJXlABtJWRDsbu4Pkc6qjORjBvy17C01hd0ItzCFfmVCJr0yp7pQSxUT587rduOWp99AQMInzGAFu9ay1NYIdLS14esNqzCTfi7Xb8k2NCAu36sdLm1Zgze1XobLQrbsotSmiBolNo1TTf2Fi9cWvbsadf69FO9WltKbwqPdbgkB9vQ9r6fj9mv2YWJmP+2+YgvOrKnrtfqWlw1kRDi4yVZL48dCE7HUveGod1h8Kd9ItpxVL/OzL58HjirErIzFMx6/e2IqvP7oWBwOGchITwB7wfsONJzY348naowjx+BXsMwns8xl4s3av0i38npWsJCTssJOMa2cEtz65Bj9+YSta4SGRaS9xTAIWwwGqd21TEP/6mzewevfhXlt3aVplEmWF7gSTMlsQiUTwl/d2Y8m7DXrEx3WgzGXhoa9egLK8xOayeHx2/T785PnNCLiIk4WZomHJGVrQRGc/ij7CdOxv7YDpKO5kvAkRE2mqnWH8+h8b8Ot/7keYkK4HUCpkxO5L6s/BoBtzlqxCLRk/ltUzcdIgjC6sjDzw7LKLtsLWN7ThR8s/QLs0FMIdi8lFxsZtF4/ARaeVJnZfMkJ9+M8na9AaMRPEDYs91kflHgsDPOQ1WSGljFO2mxDb7It7llxJ9KZ+sLHxGO5bsRsh05MoaunKSzbm6H4mGShh2+CIvcFCZucxA//+6BoK91joCXqhY7hBljqE1J6/HnHIEtcIHGzz4bt/XE1ixbS7ogt20cXNnxmK7186njPgE8xjtqoee3sn9nSEE7pBKhxVhQJ3keU2/fSBcJPo23DgCO59bgNW7GlXYicZ2sMyikKZ4ENpPWPZK67Zanzw1Vo0BmV0IPBfJvqMqiL8+OozSeEPQIC4/9n39+D25evREHa4WBDZgFV7fHhh/V58aXJ1t/jrJceI6EdK/68P4CNb8yfP1mBtQyDKJaph1NnPVBi4Y+YEeEwDiasFpBJBr2xupM6aca2U6E/U/MPN5+HLZCQMLc5HRYGHpicG4vFvTcfUQeT7GJ1Hqz8cgaNFUskCJcjowaGOIP5OdcarCa5zUqUHf/zGNMw4rRIlZOpV5JPYOm8Eln39fLjDwYRSIzTC/vreHoSk7FbwpO35s7KVVnaoEiHkP/TaRjy67qDyOWL1WBheCPzfzReiotDTuZEkFyLUhK1HOIYVe8pImjWuEuefals/whlDAqVk48+7cizMcCRFO2IRu2hH486dq52NLWhqDyZkmXpkCD+8cjwGFXhVGc6YZdfgklEVuPT0igRXlf9tPthKAVuZDY5BtK1H231xTc0ceNy+urUR9/1jp+3hx4TYYK+B3371PIytLEqd1UkvMXqb2zrskqK3cdn4YSk7xcQ5p6pcjejkoSptUSDtqEMqYAl4kHQaK/x4Ag4s8mDayIqYNIkDF33pQtaNMp5LDTRTRD3Ug57pJWFiVdZTKKWvYoybtP1QG77/pzU4yirCiVzSk3wRxt1XnYHLRlcoonRXVcRKinATUku97pTvsqlfSJEHM4VJGQ5rJPU0k3DMF9YYi87aGiqaUaoMolRoEehfVBhnmAi73SwUuh/caU8t72vrW6SVv9tByvHWP6/FtlbHKtblcTrUN6cOw43nngqjB+obkkM8MknoEEf7Al3W29QRUPokGYRhxMximbperik/L5nbJFopfHS0o4s6uT3t/k5TE4boeSVE2oThOZVIhnMgjBz20h9+ZRNe2NGqR5JwrBuJyRV5uP2qiRQqMXrkSm54Zb/EdZ08dfBO3aG4QGQMOIb25tYGMlU7x5MMw7Y8hS4j9dgXKqJt0KCKL7qZJvle3bAPMpJEcMmOqIW3dzR1Cmz295jIcxk99q8HSCz2sI+DjBFkAkyYFzcewIKXtpJVZSZ4y7yE43c3nUtOpMtGkEywlKTzT+r7zDHjBxcnNI/Le2zNXmxtalPmdExvWDhKCLz/lVoaVCkIAyvBY+kKC9UDiqh97oQ6/WSq3/fSZhwOhKNtg21iv1LbgJe3HlURhiiQCBs7uJ+K03UHaQQxuUMUuXW5saW+GYNGVCA9sLCXlOd3/vQuhSk8CU94NA4tL8HT7+3FcyTP3BTI5CRCwzSUdaM8AaGV6YDCPEwcVobqskJcNmYQntl0mCK7MWQ3kbM561dv4t4vnIkZY4bC6xbYsL8Z85Xo5AHVGSNupTMMxbVCpFbKjNqBxQU455RiPL+jLUobjpHVNluY9dAK3P3FyZhSXUF+jMTjFNhcyBEJNmzinD6ez5o1cSj1pXvK9JIwQk/1clicRlzN/jZcOKIiLRsgRCPllsfXYn8KcczNrmnowPsNdU5tQCcB4ASiLVTnW3hk9nm4jnyVu57fiL3BxLZub7Nww9L3UOpeCzcRtzEQQYgDjF20uMCjDQYmTSwu1vldojG+ccEo/GPnu/DHcQGb7qvrg7j8wTcxvMBF4pL0WRAqtCTjiULfYXE9c3IVeoL0dIwtg9fts0VFGtBO8yzv7G7pRrnG6wp9HTv0PRV/oM7WUeDxR3+tQTHJgzuvHQ8PhVxEkhcSonmQxogbB4ImESUPXXnFfKfMa6pvuWmYenrYcOiKMYNxI0W5TWnFFaeDmCHTjV1+gfqQqQZwLIog1YAqdYXxu9nno6AXaV+9J4zj/FMDVu9uRjBNwhSQwptA8xNqRNqhdT51jq797mSQCglej1b7N54zArdMr1Y7OonkMpjLHdPWjl2xPtHnul6TRvewUp0U7yUxOrhfQcL7/J4ZF7DxUojnnlmTcRX5J4aaIk9EUkxvJsYSykmHPv6t8zCB9EtvEkjSdjD5ZE9rGJso6JiO2eyhkb7w2smYVEr+hOyAOxJQwUUVYCSkGmTBCD5kRDlkXR8S5UYYi26YCt4myE0W3IKrJ+Gh68ZhkCukjAIGRXAVoTDUeT8EcNuFw/BfF1ahhGY1tREmMbFc4PLxVcpn4rj53BkjkRcJae+d2vX5qgJcPaFaIVPYoYQKcip//7WpuPWzQ1FuhuN4MZ4YQkUf8igaffWIYrw272JcQqGh3u6jI3yBcBS7+feu7f5tQhrLSUER34UzBuP2i0emlT7ElkqAkHWUrLojx9oRoDn/QNCvwuAcGg+R0uQJqJ7IPay0GGMqi6MTZo79drA9hMfe2o5XtjZhz6Fj4Dy2wf0KcfHoMsy5cCyGFecpcbhyaz1W1B6kOJqJL54zGkPovtMPDjk9/+E+ikrUY9KQfvjy1JHIN1JnYnJ/ahta8fLmA1i57RB2NRwjP8lSyB9U6sVZw/uRoh+GqWQQuEXPLoA/GLN20ySMFkM8KqdUWFj1vWnECaoYpAtO+EMIvTemEyjsDaHVvLqRmtnZo2ZlzBNmXJ6LB7klobfqtAkZl3Dh2GPxLn8qSdBVu1Q/lG3EgVUlKLX4kzpBK9bWnvsVT5j0MzFtq2V9fQC7jvgxqsybUbaqEg1R59L+7GU53RFPUGOinXJeS2qgE4S0UwyRjLR0pIAWcTyiDDjBIBlXhuhyIq17SNMq0zKbk+848W7ZO3tPeCJcNkEgM6SlKin1VeblZ7zUjzu1lAjTLrPRsRwkQ0YLl1TqKIm0pogHS/65W6UJ5SC7kD5hbAZh4rAT9cAbO9FuxU8n5SAbkJkoU8TR3vKBYB4eXrUDuYVl2YU+bcDAXi7Pc92/Yg92tQU+0YbAxw0yJExsRo49kKPCi1uXb1DTvTniZAcy5xghYtYgnb9A05Gv7TxMDlbOEMgG9HEvGaEcK+aaDiMP856upQmjWLJeDjKHPhLGBtu73dIG3LZ8I1qCIWTHcTt5ITuEUSDItzHx2IY2MgZ2qQTxnL7JHLJHGCc6SwG7B9c04KkPD+QI0wfIIsdAEYdXabVKF255bidW729Ri3sU5GiUFmSXMAp0zPZAyIVvP7EJO5oDmjg5lZMWHAfC2HPcZK1tbjPw7Sc3oKE9pOZAcqKtG0hCzXEgjF0PL1KVBlbuC+IHz2xQW4DkoPeQXcJIO8WUZybVEVE+ztO1x/Dw67U51zMZbC7hjCPtYsQge4RRYioSTabg/ABIjqSF1VqW+1ftw67mDuQgEVi872lux7wnEqf1s8gxescLh1vURgp8T23cE1Gb+2w+0JLTM3HAGHr/YBu+8NAKPPpeQ8Kz7Oz1ZOcJ6xwxS8/NKI6xFX6E10EGMaTEi9zumRp4w4bH39mFHz27AQd8UDuBxEPfCWPneqlsF72Dga6WTWTOTpE6X+zsgfkYO7RUZ5Tg5AVO1WroCOD+lzfjV6t2wS9cKZei95kwjtiCnVUv7U189OqciEonKkAIt31uMvJOYoqoPQloSL6+rQm3/mUtNhwJI2K40NXe7pkTxklrVdlM0s4NI8Wv1o/QFROGl65aYXx3ejWuGNP7LMRPEyjMECp2k+Hzs5c34g9r98FnmbCMrGT7p65Si7CIzSW8cpY5JKR1C3itvcT14wfh9ivP7DFZ+9MIPGb3tvixZFUtlqzZi73tltofR/YiES+jPTGjufd2RqPao1KJrbCt9HXC+NkD3bj/S5NR4unjJsA9rSr6OEBstYXSte3kUP+tZjd+/tImfHg4qBZq6Z07emeVZsYxMpb9HtMpIeW3MJE4C/6iYV48+p1LMMBr9nl7RIt9I6Gd14/rDzso54DQcDQQwRNrt+O3b+zAxiMBmgph5R4/MHvX/owII2J0sZnHVvZElEIZwpxzh+PuL05BoZkuIqVCvjK3hV6t1Ub03lbfgmMBH06tGEAmdx54CZKMLj8/8YRyZmh1cqwE73iyrq4Jfybz9+kP9ts7QLH56UamkBFhFNdKvY0JlFnMqwDCGNvfxOIbLsAFpw1Qm7alizTO9D/sD2PNtoN4a9dhvLmtERsPtpBY0Gvri4wIRg0swrnV5fjchCGYUlWJcq8rukHciQKOlrdTt9dsb8ALmw7gtU0N2ELcEVS+iDsrIjeJMLIZPf5Oma1fbENPbYFMumXO5Er87F/OURsc6ERr/ZaR4tvSXmHFi0aPRQRFBA7jjS0H8eqWQ1i3+wiaLTPK/lJ4dVI4/W+BiXWNIbzbWI9fr9mHUlcEU04ZgItGV+D8UQMxdlgZSnjzaugtgtXmDXGyv8vzhNZBPZD2wiVOLglTL/zUzu0NrVhVuxdv7m7Fys37cTTsIpPXbqeROXfYwD/tG8V9MsfU0dHDL/vFNd4+4wU+E6sGYM/RYygtLkKeaYKNMJeh37KkUGsw2/xBNBxpxY7GZmxuaMf7e5uxfu9RNAZ45tNlqy5PEsJEwpI6pwURkt2HiYAv7mrDy3QYL2xDmcfC6YNLMG5If4wfVITRFUUYUlaMAf1KUOwVKhufl5AYjgy2865Z7Cjjnq7bgxJNbe3YfahFEWJLYwc+PNCMjfsPoyVkqg3olAnMyweNWJv6DAL8y7EznMtkwqxEj4SJk+u2D8OO0rynNsGMrIeLzGfe640XFblMU7U7QmY0hzN51LEytOy1nNrjdcXYKs0+Osu0lVA1ec0lHft8eHNvh+YYHuvEzQXERf1J5JV4PSgs9MLrkjR49LL1ALWNlwgdaw+g1RdSGyqwRRW2lbajRqE4N4aBrIPUPx3vAO881SxsFrru9NKap7Y091CC0LuJx5mwKsncYKR7EBJxBmFE16jpL+ysWgkcZ8tK2ntvWjTFDSJAkDvJGpr3Jzja3s03hSbAR/ATH2cMLH6dPmbbrWhmYVPnPJx37qBmrWe6Aytu9yFnwWMs+S/FWiwkjLATae4mVNUbB/cjM8Xr3vv+Z3c7FzR2a0ieWCudG2cPKiIxJhb3rqxkr+9kDk32FeQykjqzopeGqOP9Zp5xrsnsnEuaYFH3XMMjz4pTwwkV9NaxzUEMdplSLiVL9lrnhrCMZwy/11UjtanGOO3fdttnJ5Htd0fX5djqUGgHyzGNE+3QHPQaCNct93x+Bp1V23fqvF6x3CgVopnCKFHx5TLEErlw6lL6RhciTesMQ8T2epSG3gVC5n7KNz2QcpH8xVXLTcNY4Nyi+Zpl/KkwSVyzyOEagmpfyFqAhefPY9nXVZkqbimE7QrEaf6TMLSfEZD4kr+YOT/AuI5xyy4DrqV8ogjDXEOBx6j4onD+PF8owsSZncw5MYGlXWf2FthK6xQTy9GnK5CaU2beHAxbCynCMM95QKHFO/LztZWcgL4Of2gRIXhutAQhFuW7jTvEHW+zxRCjLIcrrIgd9ufJMQqvhHV02Qm15CAlHCXM/NS6/5plxCn/HU8UOl9U4HXPd647YbDdF1xqGMZNcbfq6K2F+fesXWnAmk3Uomeimp1MDu/z3D4TyeKwv33OxLFEXAhTRz2jNTqTnzGL24i5RHEtc1baCCQa52qfoJTRZRGN/DpVCp3mpvOq7UqjXC/iVvr20mgRcXXo6ziQdsQ5qeP8kwU04H9Z7DYW7194xSTS448gJr5Ir1hLC/M9cxLrSQHJnGNDHdWwPELm9fQHV1d3BPwz3AaqqgYWTyIE9PcHQmobeFY+QfoMWfrHECIRS/3slf5lpfh9+6Dvg6O19I4V0ZtOO7Ohlg4kOnM/zqbUOr/ANtZ50zeOcznzQ1LvWclilQeGmt2Weo2b2lrEXl3tIM6y63DEclcTCTLpSm9/ot80paFigmrjO0PvtEHtaW4PhetoamblzIlVH8y9aGTz5GGlE6Ul54q4QKVullwczyndEobB5wvOhrYWqpGDrAMR+yiNlJ8WeD2LUj3vVhn4fL5qGgtEIBZfOQJlAaSKTVryl16yhImzu3Tke62l2wPhWcT7swzTqKLSJyWx5McZPlKPV7shZGlR6Iuk+XIiSE13BMnBxxz+HzMU/YREgmfCAAAAAElFTkSuQmCC",ra=function(t){var a=t.gap,i=void 0===a?2:a,o=t.size,r=void 0===o?24:o,l=t.star,s=t.totalStars,c=void 0===s?5:s,d=t.onSelect,p=t.hideEmptyStars,m=t.style,g=t.className,u=Math.floor(l),h=l-u>=.5?1:0,f=e(null),x=f[0],v=f[1],y=x||u,b=x?0:h;return n.createElement(j,{"data-selectable":!!d,style:dn({"--gap":i,"--star-size":r},m),className:g},Array.from({length:p?u+h:c}).map((function(e,t){var a=function(){return!!d&&v(t+1)},i=function(){return!!d&&v(null)};return t+1<=y?n.createElement(ta,{key:t,onClick:function(){return null==d?void 0:d(t+1)},onMouseOver:a,onMouseLeave:i}):t+1===y+b?n.createElement(aa,{key:t,onClick:function(){return null==d?void 0:d(t+1)},onMouseOver:a,onMouseLeave:i}):n.createElement(ea,{key:t,onClick:function(){return null==d?void 0:d(t+1)},onMouseOver:a,onMouseLeave:i})})))},la={Ask:U,BarChart:O,Booking:V,Bookmark:G,Community:Z,EditSpecial:Y,Family:W,Font:Q,Heart:q,Home:K,Like:J,MyCommunity:X,PlusSpecial:$,Recalculate:nn,Scale:en,Share:tn,Stethoscope:an},sa=function(e){var t=e.percent,a=e.style;return n.createElement(on,{style:dn({"--progress":t},a)})},ca=function(e){var t=e.avatarImg,a=e.authorName,i=e.authorLink,o=e.uploadTime,r=e.size;return n.createElement(Bn,null,n.createElement("div",{className:"author"},n.createElement("div",{className:"avatar","data-size":r},t),n.createElement("div",{className:"poster","data-is-disabled-url":!i},n.createElement(c,{size:"lg"===r?"p3":"p4"},n.createElement("a",{href:i},n.createElement("span",{className:"name"},a),"•"," "),n.createElement("span",null,o)))))},da=function(e){var t=e.isMobile,a=e.avatarImg,i=e.name,o=e.link,r=e.size,l=void 0===r?"lg":r,s=e.specialty;return e.handleClick,e.isBookmarked,e.dataEventCategoryForBookmark,e.dataEventActionForBookmark,e.dataEventLabelForBookmark,n.createElement(Bn,null,n.createElement("div",{className:"author"},n.createElement("div",{className:"expert-avatar","data-size":l},a),n.createElement("div",{className:"expert","data-is-disabled-url":!o},t?n.createElement("a",{href:o},"lg"===l?n.createElement(n.Fragment,null,n.createElement(kn,{tag:"h6",className:"expert__name",color:Sn.colors.gray600},i),n.createElement(c,{color:Sn.colors.gray500,size:"p3",className:"specialty"},s)):n.createElement(n.Fragment,null,n.createElement(kn,{tag:"h6",className:"expert__name",color:Sn.colors.gray600},i))):n.createElement("a",{href:o},"lg"===l?n.createElement(n.Fragment,null,n.createElement(kn,{tag:"h6",className:"expert__name",color:Sn.colors.gray600},i),n.createElement(c,{color:Sn.colors.gray500,size:"p3",className:"specialty"},s)):n.createElement(n.Fragment,null,n.createElement(_n,{color:Sn.colors.gray600,className:"expert__name"},i),n.createElement(c,{color:Sn.colors.gray500,size:"p4",className:"specialty"},s))))))},pa=function(e){var t=e.articleLink,a=e.authorLink,i=e.authorName,o=e.avatarImg,r=e.banner,l=e.categoryLink,s=e.categoryName,d=e.className,p=e.dataEventActionForBanner,m=e.dataEventActionForBookmark,g=e.dataEventActionForCategory,u=e.dataEventActionForTitle,h=e.dataEventCategoryForBanner,f=e.dataEventCategoryForBookmark,x=e.dataEventCategoryForCategory,v=e.dataEventCategoryForTitle,y=e.dataEventLabelForBanner,b=e.dataEventLabelForBookmark,E=e.dataEventLabelForCategory,w=e.dataEventLabelForTitle,k=e.direction,C=void 0===k?"horizontal":k,L=e.hasAffiliate,M=e.isBookmark,S=void 0!==M&&M,T=e.isBookmarkDisplayed,N=void 0===T||T,z=e.isMobile,A=void 0===z||z,B=e.onBookmark,_=e.onClickCategoryName,D=e.section,F=void 0===D?"normal":D,P=e.size,I=void 0===P?"md":P,H=e.specialty,R=e.style,j=e.styleBanner,U=e.styleLabel,O=e.styleTitle,V=e.text,G=e.title,Z=e.type,Y=void 0===Z?"author":Z,W=e.uploadTime,Q=function(n){n.stopPropagation(),B&&B()},q="lg"===I&&"expert"===Y?"h4":"lg"===I&&"home"===F?A?"h4":"h3":"lg"===I?"h4":"h5",K="lg"===I?"p3":"p4",J=A||"home"!==F||"lg"!==I||"author"!==Y?"c2":"c1";return n.createElement(zn,{className:d,"data-size":I,style:R,"data-direction":C,"data-is-expert":"expert"===Y||void 0},n.createElement("div",{className:"banner",style:j},n.createElement(An,{"data-event-category":h,"data-event-action":p,"data-event-label":y,href:t||"#"},r),L&&n.createElement("div",{className:"shoppable"},n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("rect",{width:"24",height:"24",rx:"12",fill:"#1B3250"}),n.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"})))),n.createElement("div",{className:"content"},n.createElement("div",{className:"inner-content"},n.createElement(c,{style:U,className:"label",size:J,type:"caption"},n.createElement(An,{"data-event-category":x,"data-event-action":g,"data-event-label":E,href:l||"#",onClick:_},s),N&&n.createElement("a",{className:"bookmark",onClick:Q},S?n.createElement("svg",{"data-event-category":f,"data-event-action":m,"data-event-label":b,width:"14",height:"16",viewBox:"0 0 14 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.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"})):n.createElement("svg",{"data-event-category":f,"data-event-action":m,"data-event-label":b,width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.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"})))),n.createElement(kn,{tag:q,style:O,className:"title",as:"lg"===I?"h2":"h3"},n.createElement(An,{"data-event-category":v,"data-event-action":u,"data-event-label":w,href:t||"#"},G)),V&&n.createElement("a",{href:t||"#"},n.createElement(c,{size:K,className:"text"},V))),n.createElement("div",{className:"footer"},"author"===Y?n.createElement(ca,{size:I,avatarImg:o,authorName:i,authorLink:a,uploadTime:W,handleClick:Q,isBookmarked:S,dataEventCategoryForBookmark:f,dataEventActionForBookmark:m,dataEventLabelForBookmark:b}):n.createElement(da,{size:I,isMobile:A,avatarImg:o,specialty:H,name:i,link:a,handleClick:Q,isBookmarked:S,dataEventCategoryForBookmark:f,dataEventActionForBookmark:m,dataEventLabelForBookmark:b}))))},ma=function(e){var t=e.LinkComponent,a=e.page,i=e.isLast,o=e.onChangePage,r=a.label,l=a.value,s=a.isDropdown,c=a.dropdownItems,d=a.dataEventCategory,p=a.dataEventAction,m=a.dataEventLabel;return s?n.createElement(vt,{options:c,placeholder:"...",id:"",placeholderIcon:null,onChange:o,className:"collapsed-breadcrumb"}):n.createElement(Pn,{title:"string"!=typeof r?l:r,"data-last":i},t&&n.createElement(t,{"data-event-category":d,"data-event-action":p,"data-event-label":m,href:l||"#"},r))},ga=function(e){var t=e.className,i=e.pages,r=e.size,l=e.LinkComponent,s=void 0===l?"a":l,c=e.onChangePage,d=e.separator,p=a((function(){return i.map((function(n,e){return i.length>4?e>1&&e<i.length-2?null:1===e?dn(dn({},n),{isDropdown:1===e,dropdownItems:i.slice(1,i.length-2)}):n:n})).filter(Boolean)}),[i]),m=xt(p.length);return n.createElement(Dn,{"data-size":r,className:t},p.map((function(e,t){var a=t+1===p.length;return n.createElement(o,{key:m[t]},n.createElement(ma,{LinkComponent:s,page:e,isLast:a,onChangePage:c}),!a&&(d||n.createElement(Fn,{"data-size":r})))})))},ua=function(e){var t=e.imgBanner,a=e.label,i=e.className,o=e.style,r=e.href,l=void 0===r?"":r,s=e.dataEventCategory,d=e.dataEventAction,p=e.dataEventLabel;return n.createElement(In,{"data-event-category":s,"data-event-action":d,"data-event-label":p,className:i,style:o,href:l,onClick:function(n){""===l&&n.preventDefault()}},n.createElement("div",{className:"banner"},t),n.createElement("div",{className:"content"},n.createElement(c,{className:"category_name",size:"sm",type:"bold"},a)))},ha=function(e){var t=e.name,a=e.values,i=void 0===a?[]:a,o=e.onChanges,r=e.options,l=void 0===r?[]:r,s=e.className,c=e.type,d=void 0===c?"vertical":c,p=e.isDisabled,m=e.isRectangle,g=function(n,e){var t=i.slice();if(e)t.push(n);else{var a=t.findIndex((function(e){return e===n}));t.splice(a,1)}o&&o(t)};return n.createElement(Hn,{className:s,"data-type":d,"data-is-rectangle":m||void 0},l.map((function(e,a){return n.createElement(Xt,{label:e.label,name:t,key:"".concat(a,"-").concat(e.value),checked:i.includes(e.value),value:e.value,isDisabled:p||e.disabled,onChange:!p&&g,isRectangle:m})})))},fa={"vi-VN":["Tháng 1","Tháng 2","Tháng 3","Tháng 4","Tháng 5","Tháng 6","Tháng 7","Tháng 8","Tháng 9","Tháng 10","Tháng 11","Tháng 12"],"id-ID":["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","November","Desember"],"ms-MY":["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","November","Desember"],"km-KH":["មករា","ខែកុម្ភៈ","មីនា","ខែមេសា","ឧសភា","មិថុនា","ខែកក្កដា","សីហា","ខែកញ្ញា","តុលា","វិច្ឆិកា","ធ្នូ"],"en-PH":["January","February","March","April","May","June","July","August","September","October","November","December"],"th-TH":["มกราคม","กุมภาพันธ์","มีนาคม","เมษายน","อาจ","มิถุนายน","กรกฎาคม","สิงหาคม","กันยายน","ตุลาคม","พฤศจิกายน","ธันวาคม"],"my-MM":["ဇန်နဝါရီလ","ဖေဖော်ဝါရီလ","မတ်လ","ပြီလ","မေလ","ဇွန","ဇူလိုင်လ","သြဂုတ်လ","စက်တင်ဘာ","အောက်တိုဘာ","နိုဝင်ဘာ","ဒီဇင်ဘာ"],"zh-TW":["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],"hi-IN":["जनवरी","फ़रवरी","जुलूस","अप्रैल","मई","जून","जुलाई","अगस्त","सितंबर","अक्टूबर","नवंबर","दिसंबर"]},xa=function(a){var o=a.alignRight,r=void 0===o||o,l=a.placeholder,s=a.displayDateFormat,c=a.onChange,d=a.customInput,p=a.pickedDate,m=a.className,g=a.isStatic,u=a.disabledDays,h=a.modifiers,f=a.UnHideOnClickOutside,x=a.initialMonth,v=a.locale,y=void 0===v?"en-PH":v,b=t(!1),E=bt,w=e(x||new Date),k=w[0],C=w[1],L=t(null),M=t(null),S=fa[y],T=function(n){f||L.current&&L.current.contains(n.target)||M.current&&M.current.hideDayPicker()},N=(new Date).getFullYear(),z=new Date(N-150,0),A=new Date(N+1,0),B=function(e){for(var t=e.date,a=e.onChange,i=e.monthLabels,o=[],r=A.getFullYear();r>=z.getFullYear();r-=1)o.push(r);var l=function(n){var e=n.target.form,t=e.year,i=e.month;a(new Date(t.value,i.value))};return n.createElement("div",{className:"DayPicker-Caption"},n.createElement(jn,null,n.createElement("select",{name:"month",onChange:l,value:t.getMonth()},i.map((function(e,t){return n.createElement("option",{key:e,value:t},e)}))),n.createElement("select",{name:"year",onChange:l,value:t.getFullYear()},o.map((function(e){return n.createElement("option",{key:e,value:e},e)})))))};return i((function(){return document.addEventListener("mousedown",T,!1),function(){document.removeEventListener("mousedown",T,!1)}}),[]),n.createElement(Rn,{className:m,"data-align-right":r,ref:L,"data-is-static":g||void 0},n.createElement(Et,{ref:M,inputProps:{readOnly:!0},keepFocus:!1,classNames:{container:"pickerContainer",overlayWrapper:"pickerOverlayWrapper",overlay:"pickerOverlay"},component:d&&n.forwardRef((function(e,t){return n.createElement(d,dn({},e))})),onDayPickerHide:function(){b.current=!1},onDayPickerShow:function(){b.current=!0},dayPickerProps:{month:k,className:"picker",selectedDays:p,canChangeMonth:!0,enableOutsideDaysClick:!g,firstDayOfWeek:1,captionElement:function(e){var t=e.date,a=e.localeUtils.getMonths();return n.createElement(B,{date:t,monthLabels:S||a,onChange:C})},disabledDays:u||void 0,modifiers:h},format:s||"yyyy-MM-dd",formatDate:function(n,e){return E(n,e)},hideOnDayClick:!g,placeholder:l||"",onDayChange:function(n){var e;e=n,M.current&&!g&&M.current.hideDayPicker(),c&&c(e)},showOverlay:g}))},va=function(e){var t=e.size,a=e.iconPosition,i=e.className,o=e.children,r=e.icon;return n.createElement(Un,{className:i,"data-size":t,"data-icon-position":a},"left"===a&&r,o,"right"===a&&r)},ya=function(){document.querySelectorAll('.hhg-modal[data-open="true"]').length<1&&document.body.classList.remove("hhc-modal-show")},ba=function(){document.querySelectorAll('.hhg-modal[data-open="true"]').length<1&&(document.body.style.overflow="",document.body.style.paddingRight="",document.body.classList.remove("hhc-disabled-scroll"))},Ea=function(a){var o=a.type,r=void 0===o?"lead":o,l=a.closeIcon,s=a.isOpen,c=void 0===s||s,d=a.onClose,p=a.children,m=a.className,g=void 0===m?"":m,u=a.animationType,h=void 0===u?"slideTop":u,f=a.isStaticBackdrop,x=void 0!==f&&f,v=e(!1),y=v[0],b=v[1],E=t(null),w=wt().width;if(!E.current&&y&&(E.current=document.createElement("div")),i((function(){return b(!0),function(){b(!1),ya(),ba()}}),[]),i((function(){if(y){var n=((e=document.getElementById("hhg-modals"))||((e=document.createElement("div")).setAttribute("id","hhg-modals"),document.body.append(e)),e);return n.appendChild(E.current),function(){n.removeChild(E.current)}}var e}),[y]),i((function(){c?document.body.classList.add("hhc-modal-show"):ya()}),[c]),i((function(){c?(document.body.style.overflow="hidden",document.body.style.paddingRight=w+"px",document.body.classList.add("hhc-disabled-scroll")):ba()}),[c,w]),!y)return null;var k=["hhg-modal__wrapper",g,h].filter((function(n){return n})).join(" ");return kt(n.createElement(On,{className:k,"data-open":c,"data-type":r},!x&&n.createElement(Vn,{"data-open":c,onClick:d,"data-type":r}),!x&&"video"===r&&!!l&&n.createElement("div",{className:"hhg-modal__close",onClick:d},l),n.createElement(Gn,{className:"hhg-modal","data-open":c},n.createElement("div",{className:"video"===r?"hhg-modal__video":"hhg-modal__content"},!!l&&"video"!==r&&n.createElement("div",{className:"hhg-modal__close",onClick:d},l),p))),E.current)},wa=function(t){var a=t.type,o=t.numberOfStep,l=t.activeStep,s=t.labelPrefix,c=t.detailSteps,d=t.className,p=t.onChange,m=e(0),g=m[0],u=m[1],h=function(e){var t=e.trackClassName,a=mn(e,["trackClassName"]);return n.createElement(Qn,dn({},a,{className:t}),n.createElement(qn,null))},f=n.createElement(Zn,{className:d+" progress-bar"},n.createElement(h,null),n.createElement((function(e){var t=e.trackLength,a=e.activeStep,i=e.labelPrefix,r=void 0===i?"Step":i,l=e.onChange;return n.createElement(n.Fragment,null,Array.from({length:o},(function(n,e){return e})).map((function(e,i){return n.createElement(Kn,{"data-is-active":i===a,"data-label":i,style:{left:i*t/(o-1)},onClick:function(){l&&l(i)},key:i},i+1,n.createElement(Jn,{"data-step-passed":i<=a},r+" "+(i+1)))})))}),{trackLength:g,activeStep:l,labelPrefix:s,onChange:p})),x=n.createElement("svg",{"data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 5.5 9.5"},n.createElement("title",null,"chevron-right"),n.createElement("path",{d:"M.75 8.75l4-4-4-4",fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5})),v=n.createElement(Yn,null,c&&Array.from({length:c.length},(function(n,e){return e})).map((function(e,t){var a;return n.createElement(Wn,{key:t,"data-selected":t===l,onClick:function(){p&&p(t)}},null===(a=c[t])||void 0===a?void 0:a.text," ",t<c.length-1&&x)}))),y=n.createElement(Zn,{className:d+" progress-bar"},n.createElement((function(e){var t=e.detailSteps,a=e.activeStep,i=e.onChange,o=xt(t.length);return n.createElement(n.Fragment,null,Array.from({length:t.length},(function(n,e){return e})).map((function(e,r){return n.createElement(Xn,{key:o[r],style:{left:100/t.length*r+"%",width:100/t.length+"%"},onClick:function(){i&&i(r)}},t[r].icon?n.createElement($n,{onClick:function(){i&&i(r)}},t[r].icon):n.createElement(ne,{"data-is-active":r===a,"data-label":e,onClick:function(){i&&i(r)},key:r},r+1),n.createElement(ee,{"data-step-passed":r<a+1},t[r].text,n.createElement(te,null,t[r].description)),r<t.length-1&&n.createElement(h,{"data-step-passed":r<a,trackClassName:"progress-track","data-track-type":"detail"}))})))}),{activeStep:l,detailSteps:c,onChange:p})),b=r(Ct((function(){var n=document.querySelector(".progress-bar");n&&u(n.offsetWidth)}),1e3),[]);return i((function(){var n=document.querySelector(".progress-bar");return u(null==n?void 0:n.offsetWidth),window.addEventListener("resize",b),function(){window.removeEventListener("resize",b)}}),[]),"step-track"===a&&f||"breadcrumb"===a&&v||"detail-track"===a&&y},ka=function(t){var a=t.id,i=t.value,r=t.options,l=t.className,s=t.type,c=void 0===s?"circle":s,d=t.isDisabled,p=t.size,m=void 0===p?"small":p,g=t.direction,u=void 0===g?"vertical":g,h=t.group,f=void 0===h?"group1":h,x=t.onChange,v=t.dataEventCategory,y=t.dataEventAction,b=t.dataEventLabel,E=e(i),w=E[0],k=E[1],C=function(n){k(n),x&&x(n)};return n.createElement(ae,{className:l,"data-direction":u,"data-group":f},r.map((function(e){var t=w===e.value;return n.createElement(o,{key:"".concat(a,"-").concat(e.value)},n.createElement(Gt,{type:c,size:m,label:e.label,name:a,checked:t,value:e.value,isDisabled:d,onChange:!d&&C,dataEventCategory:v,dataEventAction:y,dataEventLabel:b}),t&&e.renderActivated&&e.renderActivated())})))},Ca=Object.freeze({__proto__:null,SideMenu:ie,SideHeader:oe,UserInfo:re,MenuLink:le}),La=n;function Ma(n){return Array.prototype.slice.call(n)}function Sa(n,e){var t=Math.floor(n);return t===e||t+1===e?n:e}function Ta(){return Date.now()}function Na(n,e,t){if(e="data-keen-slider-"+e,null===t)return n.removeAttribute(e);n.setAttribute(e,t||"")}function za(n,e){return e=e||document,"function"==typeof n&&(n=n(e)),Array.isArray(n)?n:"string"==typeof n?Ma(e.querySelectorAll(n)):n instanceof HTMLElement?[n]:n instanceof NodeList?Ma(n):[]}function Aa(n){n.raw&&(n=n.raw),n.cancelable&&!n.defaultPrevented&&n.preventDefault()}function Ba(n){n.raw&&(n=n.raw),n.stopPropagation&&n.stopPropagation()}function _a(){var n=[];return{add:function(e,t,a,i){e.addListener?e.addListener(a):e.addEventListener(t,a,i),n.push([e,t,a,i])},input:function(n,e,t,a){this.add(n,e,function(n){return function(e){e.nativeEvent&&(e=e.nativeEvent);var t=e.changedTouches||[],a=e.targetTouches||[],i=e.detail&&e.detail.x?e.detail:null;return n({id:i?i.identifier?i.identifier:"i":a[0]?a[0]?a[0].identifier:"e":"d",idChanged:i?i.identifier?i.identifier:"i":t[0]?t[0]?t[0].identifier:"e":"d",raw:e,x:i&&i.x?i.x:a[0]?a[0].screenX:i?i.x:e.pageX,y:i&&i.y?i.y:a[0]?a[0].screenY:i?i.y:e.pageY})}}(t),a)},purge:function(){n.forEach((function(n){n[0].removeListener?n[0].removeListener(n[2]):n[0].removeEventListener(n[1],n[2],n[3])})),n=[]}}}function Da(n,e,t){return Math.min(Math.max(n,e),t)}function Fa(n){return(n>0?1:0)-(n<0?1:0)||+n}function Pa(n){var e=n.getBoundingClientRect();return{height:Sa(e.height,n.offsetHeight),width:Sa(e.width,n.offsetWidth)}}function Ia(n,e,t,a){var i=n&&n[e];return null==i?t:a&&"function"==typeof i?i():i}function Ha(n){return Math.round(1e6*n)/1e6}function Ra(n,e){if(n===e)return!0;var t=typeof n;if(t!==typeof e)return!1;if("object"!==t||null===n||null===e)return"function"===t&&n.toString()===e.toString();if(n.length!==e.length||Object.getOwnPropertyNames(n).length!==Object.getOwnPropertyNames(e).length)return!1;for(var a in n)if(!Ra(n[a],e[a]))return!1;return!0}var ja=function(){return ja=Object.assign||function(n){for(var e,t=1,a=arguments.length;t<a;t++)for(var i in e=arguments[t])Object.prototype.hasOwnProperty.call(e,i)&&(n[i]=e[i]);return n},ja.apply(this,arguments)};function Ua(n,e,t){if(t||2===arguments.length)for(var a,i=0,o=e.length;i<o;i++)!a&&i in e||(a||(a=Array.prototype.slice.call(e,0,i)),a[i]=e[i]);return n.concat(a||Array.prototype.slice.call(e))}function Oa(n){var e,t,a,i,o,r,l,s,c,d,p,m,g,u,h=1/0,f=[],x=null,v=0;function y(n){T(v+n)}function b(n){var e=E(v+n).abs;return C(e)?e:null}function E(n){var e=Math.floor(Math.abs(Ha(n/t))),a=Ha((n%t+t)%t);a===t&&(a=0);var i=Fa(n),o=l.indexOf(Ua([],l,!0).reduce((function(n,e){return Math.abs(e-a)<Math.abs(n-a)?e:n}))),s=o;return i<0&&e++,o===r&&(s=0,e+=i>0?1:-1),{abs:s+e*r*i,origin:o,rel:s}}function w(n,e,t){var a;if(e||!M())return k(n,t);if(!C(n))return null;var i=E(null!=t?t:v),o=i.abs,l=n-i.rel,s=o+l;a=k(s);var c=k(s-r*Fa(l));return(null!==c&&Math.abs(c)<Math.abs(a)||null===a)&&(a=c),Ha(a)}function k(n,e){if(null==e&&(e=Ha(v)),!C(n)||null===n)return null;n=Math.round(n);var a=E(e),i=a.abs,o=a.rel,s=a.origin,c=S(n),d=(e%t+t)%t,p=l[s],m=Math.floor((n-(i-o))/r)*t;return Ha(p-d-p+l[c]+m+(s===r?t:0))}function C(n){return L(n)===n}function L(n){return Da(n,c,d)}function M(){return i.loop}function S(n){return(n%r+r)%r}function T(e){var t;t=e-v,f.push({distance:t,timestamp:Ta()}),f.length>6&&(f=f.slice(-6)),v=Ha(e);var a=N().abs;if(a!==x){var i=null!==x;x=a,i&&n.emit("slideChanged")}}function N(l){var s=l?null:function(){if(r){var n=M(),e=n?(v%t+t)%t:v,l=(n?v%t:v)-o[0][2],s=0-(l<0&&n?t-Math.abs(l):l),h=0,f=E(v),x=f.abs,y=f.rel,b=o[y][2],w=o.map((function(e,a){var o=s+h;(o<0-e[0]||o>1)&&(o+=(Math.abs(o)>t-1&&n?t:0)*Fa(-o));var l=a-y,c=Fa(l),d=l+x;n&&(-1===c&&o>b&&(d+=r),1===c&&o<b&&(d-=r),null!==p&&d<p&&(o+=t),null!==m&&d>m&&(o-=t));var g=o+e[0]+e[1],u=Math.max(o>=0&&g<=1?1:g<0||o>1?0:o<0?Math.min(1,(e[0]+o)/e[0]):(1-o)/e[0],0);return h+=e[0]+e[1],{abs:d,distance:i.rtl?-1*o+1-e[0]:o,portion:u,size:e[0]}}));return x=L(x),y=S(x),{abs:L(x),length:a,max:u,maxIdx:d,min:g,minIdx:c,position:v,progress:n?e/t:v/a,rel:y,slides:w,slidesLength:t}}}();return e.details=s,n.emit("detailsChanged"),s}return e={absToRel:S,add:y,details:null,distToIdx:b,idxToDist:w,init:function(e){if(function(){if(i=n.options,o=(i.trackConfig||[]).map((function(n){return[Ia(n,"size",1),Ia(n,"spacing",0),Ia(n,"origin",0)]})),r=o.length){t=Ha(o.reduce((function(n,e){return n+e[0]+e[1]}),0));var e,c=r-1;a=Ha(t+o[0][2]-o[c][0]-o[c][2]-o[c][1]),l=o.reduce((function(n,t){if(!n)return[0];var a=o[n.length-1],i=n[n.length-1]+(a[0]+a[2])+a[1];return i-=t[2],n[n.length-1]>i&&(i=n[n.length-1]),i=Ha(i),n.push(i),(!e||e<i)&&(s=n.length-1),e=i,n}),null),0===a&&(s=0),l.push(Ha(t))}}(),!r)return N(!0);var f;!function(){var e=n.options.range,t=n.options.loop;p=c=t?Ia(t,"min",-1/0):0,m=d=t?Ia(t,"max",h):s;var a=Ia(e,"min",null),i=Ia(e,"max",null);a&&(c=a),i&&(d=i),g=c===-1/0?c:n.track.idxToDist(c||0,!0,0),u=d===h?d:w(d,!0,0),null===i&&(m=d),Ia(e,"align",!1)&&d!==h&&0===o[S(d)][2]&&(u-=1-o[S(d)][0],d=b(u-v)),g=Ha(g),u=Ha(u)}(),f=e,Number(f)===f?y(k(L(e))):N()},to:T,velocity:function(){var n=Ta(),e=f.reduce((function(e,t){var a=t.distance,i=t.timestamp;return n-i>200||(Fa(a)!==Fa(e.distance)&&e.distance&&(e={distance:0,lastTimestamp:0,time:0}),e.time&&(e.distance+=a),e.lastTimestamp&&(e.time+=i-e.lastTimestamp),e.lastTimestamp=i),e}),{distance:0,lastTimestamp:0,time:0});return e.distance/e.time||0}}}function Va(n){var e,t,a,i,o,r,l;function s(n){return 2*n}function c(n){return Da(n,r,l)}function d(n){return 1-Math.pow(1-n,3)}function p(){u();var e="free-snap"===n.options.mode,t=n.track,r=t.velocity();a=Fa(r);var l=n.track.details,p=[];if(r||!e){var g=m(r),h=g.dist,f=g.dur;if(f=s(f),h*=a,e){var x=t.idxToDist(t.distToIdx(h),!0);x&&(h=x)}p.push({distance:h,duration:f,easing:d});var v=l.position,y=v+h;if(y<i||y>o){var b=y<i?i-v:o-v,E=0,w=r;if(Fa(b)===a){var k=Math.min(Math.abs(b)/Math.abs(h),1),C=function(n){return 1-Math.pow(1-n,1/3)}(k)*f;p[0].earlyExit=C,w=r*(1-k)}else p[0].earlyExit=0,E+=b;var L=m(w,100),M=L.dist*a;n.options.rubberband&&(p.push({distance:M,duration:s(L.dur),easing:d}),p.push({distance:-M+E,duration:500,easing:d}))}n.animator.start(p)}else n.moveToIdx(c(l.abs),!0,{duration:500,easing:function(n){return 1+--n*n*n*n*n}})}function m(n,e){void 0===e&&(e=1e3);var t=147e-9+(n=Math.abs(n))/e;return{dist:Math.pow(n,2)/t,dur:n/t}}function g(){var e=n.track.details;e&&(i=e.min,o=e.max,r=e.minIdx,l=e.maxIdx)}function u(){n.animator.stop()}n.on("updated",g),n.on("optionsChanged",g),n.on("created",g),n.on("dragStarted",(function(){u(),e=t=n.track.details.abs})),n.on("dragEnded",(function(){var a=n.options.mode;"snap"===a&&function(){var a=n.track,r=n.track.details,l=r.position,s=Fa(a.velocity());(l>o||l<i)&&(s=0);var d=e+s;0===r.slides[a.absToRel(d)].portion&&(d-=s),e!==t&&(d=t),Fa(a.idxToDist(d,!0))!==s&&(d+=s),d=c(d);var p=a.idxToDist(d,!0);n.animator.start([{distance:p,duration:500,easing:function(n){return 1+--n*n*n*n*n}}])}(),"free"!==a&&"free-snap"!==a||p()})),n.on("dragged",(function(){t=n.track.details.abs}))}function Ga(n){var e,t,a,i,o,r,l,s,c,d,p,m,g,u,h,f,x,v,y=_a();function b(e){if(r&&s===e.id){var g=C(e);if(c){if(!k(e))return w(e);d=g,c=!1,n.emit("dragChecked")}if(f)return d=g;Aa(e);var u=function(e){if(x===-1/0&&v===1/0)return e;var a=n.track.details,r=a.length,l=a.position,s=Da(e,x-l,v-l);if(0===r)return 0;if(!n.options.rubberband)return s;if(l<=v&&l>=x)return e;if(l<x&&t>0||l>v&&t<0)return e;var c=(l<x?l-x:l-v)/r,d=i*r,p=Math.abs(c*d),m=Math.max(0,1-p/o*2);return m*m*e}(l(d-g)/i*a);t=Fa(u);var h=n.track.details.position;(h>x&&h<v||h===x&&t>0||h===v&&t<0)&&Ba(e),p+=u,!m&&Math.abs(p*i)>5&&(m=!0),n.track.add(u),d=g,n.emit("dragged")}}function E(e){!r&&n.track.details&&n.track.details.length&&(p=0,r=!0,m=!1,c=!0,s=e.id,k(e),d=C(e),n.emit("dragStarted"))}function w(e){r&&s===e.idChanged&&(r=!1,n.emit("dragEnded"))}function k(n){var e=L(),t=e?n.y:n.x,a=e?n.x:n.y,i=void 0!==g&&void 0!==u&&Math.abs(u-a)<=Math.abs(g-t);return g=t,u=a,i}function C(n){return L()?n.y:n.x}function L(){return n.options.vertical}function M(){i=n.size,o=L()?window.innerHeight:window.innerWidth;var e=n.track.details;e&&(x=e.min,v=e.max)}function S(n){m&&(Ba(n),Aa(n))}function T(){if(y.purge(),n.options.drag&&!n.options.disabled){var t;t=n.options.dragSpeed||1,l="function"==typeof t?t:function(n){return n*t},a=n.options.rtl?-1:1,M(),e=n.container,function(){var n="data-keen-slider-clickable";za("[".concat(n,"]:not([").concat(n,"=false])"),e).map((function(n){y.add(n,"mousedown",Ba),y.add(n,"touchstart",Ba)}))}(),y.add(e,"dragstart",(function(n){Aa(n)})),y.add(e,"click",S,{capture:!0}),y.input(e,"ksDragStart",E),y.input(e,"ksDrag",b),y.input(e,"ksDragEnd",w),y.input(e,"mousedown",E),y.input(e,"mousemove",b),y.input(e,"mouseleave",w),y.input(e,"mouseup",w),y.input(e,"touchstart",E,{passive:!0}),y.input(e,"touchmove",b,{passive:!1}),y.input(e,"touchend",w),y.input(e,"touchcancel",w),y.add(window,"wheel",(function(n){r&&Aa(n)}));var i="data-keen-slider-scrollable";za("[".concat(i,"]:not([").concat(i,"=false])"),n.container).map((function(n){return function(n){var e;y.input(n,"touchstart",(function(n){e=C(n),f=!0,h=!0}),{passive:!0}),y.input(n,"touchmove",(function(t){var a=L(),i=a?n.scrollHeight-n.clientHeight:n.scrollWidth-n.clientWidth,o=e-C(t),r=a?n.scrollTop:n.scrollLeft,l=a&&"scroll"===n.style.overflowY||!a&&"scroll"===n.style.overflowX;if(e=C(t),(o<0&&r>0||o>0&&r<i)&&h&&l)return f=!0;h=!1,Aa(t),f=!1})),y.input(n,"touchend",(function(){f=!1}))}(n)}))}}n.on("updated",M),n.on("optionsChanged",T),n.on("created",T),n.on("destroyed",y.purge)}function Za(n){var e,t,a=null;function i(e,t,a){n.animator.active?r(e,t,a):requestAnimationFrame((function(){return r(e,t,a)}))}function o(){i(!1,!1,t)}function r(t,i,o){var r=0,l=n.size,d=n.track.details;if(d&&e){var p=d.slides;e.forEach((function(n,e){if(t)!a&&i&&s(n,null,o),c(n,null,o);else{if(!p[e])return;var d=p[e].size*l;!a&&i&&s(n,d,o),c(n,p[e].distance*l-r,o),r+=d}}))}}function l(e){return"performance"===n.options.renderMode?Math.round(e):e}function s(n,e,t){var a=t?"height":"width";null!==e&&(e=l(e)+"px"),n.style["min-"+a]=e,n.style["max-"+a]=e}function c(n,e,t){if(null!==e){e=l(e);var a=t?e:0;e="translate3d(".concat(t?0:e,"px, ").concat(a,"px, 0)")}n.style.transform=e,n.style["-webkit-transform"]=e}function d(){e&&(r(!0,!0,t),e=null),n.on("detailsChanged",o,!0)}function p(){i(!1,!0,t)}function m(){d(),t=n.options.vertical,n.options.disabled||"custom"===n.options.renderMode||(a="auto"===Ia(n.options.slides,"perView",null),n.on("detailsChanged",o),(e=n.slides).length&&p())}n.on("created",m),n.on("optionsChanged",m),n.on("beforeOptionsChanged",(function(){d()})),n.on("updated",p),n.on("destroyed",d)}function Ya(n,e){return function(t){var a,i,o,r,l,s=_a();function c(n){var e;Na(t.container,"reverse","rtl"!==(e=t.container,window.getComputedStyle(e,null).getPropertyValue("direction"))||n?null:""),Na(t.container,"v",t.options.vertical&&!n?"":null),Na(t.container,"disabled",t.options.disabled&&!n?"":null)}function d(){p()&&f()}function p(){var n=null;if(r.forEach((function(e){e.matches&&(n=e.__media)})),n===a)return!1;a||t.emit("beforeOptionsChanged"),a=n;var e=n?o.breakpoints[n]:o;return t.options=ja(ja({},o),e),c(),E(),w(),v(),!0}function m(n){var e=Pa(n);return(t.options.vertical?e.height:e.width)/t.size||1}function g(){return t.options.trackConfig.length}function u(n){for(var l in a=!1,o=ja(ja({},e),n),s.purge(),i=t.size,r=[],o.breakpoints||[]){var c=window.matchMedia(l);c.__media=l,r.push(c),s.add(c,"change",d)}s.add(window,"orientationchange",b),s.add(window,"resize",y),p()}function h(n){t.animator.stop();var e=t.track.details;t.track.init(null!=n?n:e?e.abs:0)}function f(n){h(n),t.emit("optionsChanged")}function x(n,e){if(n)return u(n),void f(e);E(),w();var a=g();v(),g()!==a?f(e):h(e),t.emit("updated")}function v(){var n=t.options.slides;if("function"==typeof n)return t.options.trackConfig=n(t.size,t.slides);for(var e=t.slides,a=e.length,i="number"==typeof n?n:Ia(n,"number",a,!0),o=[],r=Ia(n,"perView",1,!0),l=Ia(n,"spacing",0,!0)/t.size||0,s="auto"===r?l:l/r,c=Ia(n,"origin","auto"),d=0,p=0;p<i;p++){var g="auto"===r?m(e[p]):1/r-l+s,u="center"===c?.5-g/2:"auto"===c?0:c;o.push({origin:u,size:g,spacing:l}),d+=g}if(d+=l*(i-1),"auto"===c&&!t.options.loop&&1!==r){var h=0;o.map((function(n){var e=d-h;return h+=n.size+l,e>=1||(n.origin=1-e-(d>1?0:1-d)),n}))}t.options.trackConfig=o}function y(){E();var n=t.size;t.options.disabled||n===i||(i=n,x())}function b(){y(),setTimeout(y,500),setTimeout(y,2e3)}function E(){var n=Pa(t.container);t.size=(t.options.vertical?n.height:n.width)||1}function w(){t.slides=za(t.options.selector,t.container)}t.container=(l=za(n,document)).length?l[0]:null,t.destroy=function(){s.purge(),t.emit("destroyed"),c(!0)},t.prev=function(){t.moveToIdx(t.track.details.abs-1,!0)},t.next=function(){t.moveToIdx(t.track.details.abs+1,!0)},t.update=x,u(t.options)}}var Wa,Qa,qa,Ka,Ja,Xa,$a,ni,ei,ti,ai,ii,oi,ri,li,si,ci=function(n,e,t){try{return function(n,e){var t,a={};return t={emit:function(n){a[n]&&a[n].forEach((function(n){n(t)}));var e=t.options&&t.options[n];e&&e(t)},moveToIdx:function(n,e,a){var i=t.track.idxToDist(n,e);if(i){var o=t.options.defaultAnimation;t.animator.start([{distance:i,duration:Ia(a||o,"duration",500),easing:Ia(a||o,"easing",(function(n){return 1+--n*n*n*n*n}))}])}},on:function(n,e,t){void 0===t&&(t=!1),a[n]||(a[n]=[]);var i=a[n].indexOf(e);i>-1?t&&delete a[n][i]:t||a[n].push(e)},options:n},function(){if(t.track=Oa(t),t.animator=function(n){var e,t,a,i,o,r;function l(e){r||(r=e),s(!0);var o=e-r;o>a&&(o=a);var p=i[t];if(p[3]<o)return t++,l(e);var m=p[2],g=p[4],u=p[0],h=p[1]*(0,p[5])(0===g?1:(o-m)/g);if(h&&n.track.to(u+h),o<a)return d();r=null,s(!1),c(null),n.emit("animationEnded")}function s(n){e.active=n}function c(n){e.targetIdx=n}function d(){var n;n=l,o=window.requestAnimationFrame(n)}function p(){var e;e=o,window.cancelAnimationFrame(e),s(!1),c(null),r&&n.emit("animationStopped"),r=null}return e={active:!1,start:function(e){if(p(),n.track.details){var o=0,r=n.track.details.position;t=0,a=0,i=e.map((function(n){var e,t=r,i=null!==(e=n.earlyExit)&&void 0!==e?e:n.duration,l=n.easing,s=n.distance*l(i/n.duration)||0;r+=s;var c=a;return a+=i,o+=s,[t,n.distance,c,a,n.duration,l]})),c(n.track.distToIdx(o)),d(),n.emit("animationStarted")}},stop:p,targetIdx:null}}(t),e)for(var n=0,a=e;n<a.length;n++)(0,a[n])(t);t.track.init(t.options.initial||0),t.emit("created")}(),t}(e,Ua([Ya(n,{drag:!0,mode:"snap",renderMode:"precision",rubberband:!0,selector:".keen-slider__slide"}),Za,Ga,Va],t||[],!0))}catch(n){console.error(n)}},di=function(n,e){var t=La.useRef(null),a=La.useRef(!1),i=La.useRef(n),o=La.useCallback((function(o){o?(i.current=n,t.current=new ci(o,n,e),a.current=!1):(t.current&&t.current.destroy&&t.current.destroy(),t.current=null)}),[]);return La.useEffect((function(){Ra(i.current,n)||(i.current=n,t.current&&t.current.update(i.current))}),[n]),[o,t]},pi=function(e){var t=e.isDisabled,a=e.isLeft,i=e.onClick,o=e.className,r=e.scheme,l=void 0===r?"hellosites":r;return n.createElement(de,{onClick:i,"data-is-disabled":t,"data-is-left":a,className:o},n.createElement("svg",{width:"8",height:"12",viewBox:"0 0 8 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a?n.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"===l?"#595959":"#E55C8A"}):n.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"===l?"#595959":"#E55C8A"})))},mi=function(t){for(var a=t.row,i=t.column,o=t.children,r=t.scheme,l=void 0===r?"hellosites":r,s=t.classNameLeftArrow,c=void 0===s?"":s,d=t.classNameRightArrow,p=void 0===d?"":d,m=t.mode,g=void 0===m?"snap":m,u=t.isDotsShown,h=void 0===u||u,f=t.isArrowShown,x=void 0!==f&&f,v=t.dataEventCategory,y=t.dataEventAction,b=t.dataEventLabel,E=t.onChangePage,w=n.useState(0),k=w[0],C=w[1],L=e(!1),M=L[0],S=L[1],T=di({defaultAnimation:{duration:1e3},initial:0,slideChanged:function(n){C(n.track.details.rel),E&&E(n.track.details.rel)},created:function(){S(!0)},drag:!0,mode:g,slides:{spacing:12}}),N=T[0],z=T[1],A=[],B=a*i,_=0;_<o.length;_+=B){var D=o.slice(_,_+B);A.push(D)}return n.createElement(se,{row:a,column:i},n.createElement("div",{className:"navigation-wrapper"},n.createElement("div",{ref:N,className:"keen-slider slides-wrapper"},A.map((function(e,t){return n.createElement("div",{key:t,className:"keen-slider__slide page-items"},e.map((function(e,t){return n.createElement("div",{key:t},e)})))}))),M&&z.current&&x&&n.createElement(n.Fragment,null,n.createElement(pi,{isLeft:!0,onClick:function(n){var e;return n.stopPropagation()||(null===(e=z.current)||void 0===e?void 0:e.prev())},isDisabled:0===k,scheme:l,className:"left-arrow ".concat(c),"data-event-category":v,"data-event-action":y,"data-event-label":b}),n.createElement(pi,{isLeft:!1,onClick:function(n){var e;return n.stopPropagation()||(null===(e=z.current)||void 0===e?void 0:e.next())},isDisabled:k===z.current.track.details.slides.length-1,scheme:l,className:"right-arrow ".concat(p),"data-event-category":v,"data-event-action":y,"data-event-label":b}))),M&&z.current&&h&&n.createElement("div",{className:"dots"},pn([],Array(z.current.track.details.slides.length),!0).map((function(e,t){return n.createElement(ce,{key:t,onClick:function(){var n;null===(n=z.current)||void 0===n||n.moveToIdx(t)},"data-is-active":k===t,"data-is-hellosites":"hellosites"===l})}))))},gi=function(e){var t=e.type,a=e.description,i=e.value,o=e.withIcon,r=e.isInACard,l=e.cardColor,s=e.className;return n.createElement(pe,{className:s,"data-size":t,"data-is-in-card":"big"===t&&r,"data-card-color":l},n.createElement(me,null,"small"===t&&n.createElement(ge,{"data-color":l}),a),n.createElement(ue,{"data-size":t},"small"!==t&&o,i))},ui=Object.freeze({__proto__:null,Table:he,Cell:fe,Head:xe,Row:ve,Body:ye}),hi=function(t){var a=t.style,o=t.initialTab,r=t.tabContent,l=t.onChange,s=t.className,d=t.dataEventCategory,p=t.dataEventAction,m=t.dataEventLabel,g=e(o||0),u=g[0],h=g[1],f=xt(r.length);return i((function(){h(o)}),[o]),n.createElement(be,{style:a,className:s,role:"tablist"},r.map((function(e,t){return n.createElement(Ee,{"data-is-tab-active":u===t||void 0,"aria-selected":u===t,role:"tab",onClick:function(){h(t),l&&l(t)},key:f[t],"data-event-category":d,"data-event-action":p,"data-event-label":m},n.createElement(we,null,e.icon&&n.createElement(ke,null,e.icon),n.createElement(c,{size:e.textSize||"sm",type:e.textType||"bold",color:e.textColor||Sn.colors.gray800,dataEventCategory:e.dataEventCategory,dataEventAction:e.dataEventAction,dataEventLabel:e.dataEventLabel},e.name)))})))},fi=function(e){var t=e.thankyou,a=e.thankyouSubtitle,i=e.className,o=e.style;return n.createElement(Ce,{className:i,style:o},n.createElement("div",{className:"survey-inner-wrapper"},n.createElement(Le,null,n.createElement("div",{className:"survey-thankyou-wrapper-inner"},n.createElement("svg",{viewBox:"0 0 122 122",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"survey-thankyou-icon"},n.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"}),n.createElement("ellipse",{cx:"61.5",cy:"110.36",rx:"48",ry:"3.36",fill:"#91CAFF"}),n.createElement("path",{d:"M82.9048 72.6663H101.5L87.597 40H35.403L21.5 72.6663H40.0952V91H83.0786L82.9048 72.6663Z",fill:"#2C74DF"}),n.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"}),n.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"}),n.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"}),n.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"}),n.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"}),n.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"}),n.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"}),n.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"}),n.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"}),n.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"}),n.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"})),t&&n.createElement(kn,{className:"survey-thankyou-title",tag:"h3"},t),a&&n.createElement(c,{className:"survey-thankyou-subtitle",size:"p3"},a)))))},xi=function(t){var a=t.items,o=t.className,r=t.style,l=t.backgroundPanelStyle,s=t.isOpen,c=t.onOpen,d=t.onClose,p=t.disableBackdropClick,m=t.siteType,g=void 0===m?"hb":m,u=t.animationType,h=void 0===u?"zoom":u,f=t.zIndex,x=void 0===f?300:f,v=e(!!s),y=v[0],b=v[1];i((function(){b(!!s)}),[s]);var E=function(){b(!1),d&&d()};return n.createElement(Me,{style:r,className:o,"data-floatmenu-open":y,"data-site-type":g,"data-animation-type":h},n.createElement(Se,{className:"float-button-group__panel",style:dn({zIndex:x},l),onClick:p?void 0:E}),n.createElement(Te,{className:"float-button-group___content",style:{zIndex:x}},n.createElement(Ne,null,a.map((function(e,t){return n.createElement(ze,{className:"float-item-button-".concat(t),style:dn(dn({},"zoom"===h&&{bottom:64*(a.length-1-t),transitionDelay:"".concat(Ae/a.length*(y?a.length-1-t:t),"ms")}),"slide"===h&&{bottom:64*(a.length-1-t),transitionDelay:"".concat(Ae/a.length*(y?t:a.length-1-t),"ms")}),key:t,onClick:function(){e.onClick(),e.keepMenuOnClick||b(!1)}},n.createElement(Be,{style:dn({},"zoom"===h&&{transitionDelay:"".concat(Ae/a.length*(y?a.length-1-t:t),"ms")})},e.label),n.createElement(_e,{className:"float-item-button__icon-wrapper",style:dn({},("zoom"===h||"slide"===h)&&{transitionDelay:"".concat(Ae/a.length*(y?a.length-1-t:t),"ms")})},e.icon))}))),n.createElement(De,{onClick:y?E:function(){b(!0),c&&c()}})))},vi=function(e){var t=e.className,a=e.policiesUrl,i=e.onAcceptClick,o=e.translations,r=void 0===o?{acceptButton:"Accept",policiesButton:"Our Policies"}:o,l=e.title,s=void 0===l?"":l,c=e.description,d=void 0===c?"":c,p=e.theme,m=void 0===p?"helloSites":p,g=e.isOpen,u=void 0===g||g,h=e.useDefaultPosition,f=void 0===h||h,x=e.trackingAttributes;return n.createElement(Fe,{className:t,"data-theme":m,"data-is-open":u,"data-default-position":f},n.createElement(Pe,{"data-has-content":!!s},s),n.createElement(Ie,{dangerouslySetInnerHTML:{__html:d}}),n.createElement(He,null,n.createElement(Re,{role:"button",tabIndex:0,on:"tap:consent-element.accept",onClick:i,"data-event-category":null==x?void 0:x.dataEventCategory,"data-event-action":null==x?void 0:x.dataEventAction,"data-event-label":null==x?void 0:x.dataEventLabel},r.acceptButton),n.createElement(je,{href:a},r.policiesButton)))},yi=function(e){var t,a,i,o,r,l,s,c,d,p,m,g,u,h,f,x,v,y,b,E=e.SEOData,w=void 0===E?{}:E,k=e.isAmp,C=void 0!==k&&k,L=e.locale,M=void 0===L?"vi-VN":L,S=e.routerPathname,T=e.routerQuery,N=e.nextHead,z=e.siteType,A=e.seoCustom,B=e.userId,_=e.forcedCanonicalUrl,D=w.totalPages,F=w.currentPage,P=w.SEOTitle,I=void 0===P?"":P,H=w.SEODescription,R=void 0===H?"":H,j=w.SEOImage,U=w.seoType,O=w.SEOImageWidth,V=w.SEOImageHeight,G=w.customMetaData,Z=void 0===G?[]:G,Y=w.isIndexable,W=void 0===Y||Y,Q=w.hasNoCanonical,q=void 0!==Q&&Q,K=W&&Tn?"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1":"noindex",J=process.env.NEXT_PUBLIC_BASE_API_URL,X=w.canonicalUrl||S;Object.keys(T).forEach((function(n){var e=T[n];e&&Array.isArray(e)&&(X=X.replace("[...".concat(n,"]"),e.join("/")))}));var $,nn=M||"en-PH",en="helloSites"===z?Tt[nn]:"www.marrybaby.vn",tn=X.endsWith("/")?"":"/";if(w.apiMetaData&&"string"==typeof w.apiMetaData){var an=null===(t=w.apiMetaData)||void 0===t?void 0:t.match(/<title.*?>(.*)<\/title>/),on=" - Page ".concat(F," of ").concat(D),rn=F&&1!==F&&an?w.apiMetaData.replace(an[0],an[0].includes("-")?an[0].replace("-",on+" - "):"<title>".concat(an[1].concat(on),"</title>")).replace('<link rel="canonical" href="https://'.concat(en).concat(X).concat(tn,'" />'),'<link rel="canonical" href="https://'.concat(en).concat(X).concat(tn,"?page=").concat(F,'" />')):w.apiMetaData,ln=($=Ue(rn,{trim:!0})).find((function(n){var e,t;return"og:image"===(null===(e=n.props)||void 0===e?void 0:e.property)||"og:image:secure_url"===(null===(t=n.props)||void 0===t?void 0:t.property)}));if(!ln){var sn="https://".concat(en,"/images/").concat(M,".png");$=pn(pn([],$,!0),[n.createElement("meta",{key:"og:image",property:"og:image",content:(null===(a=w.openGraph)||void 0===a?void 0:a.image)||sn||""}),n.createElement("meta",{key:"og:image:secure_url",property:"og:image:secure_url",content:(null===(i=w.openGraph)||void 0===i?void 0:i.image)||sn}),n.createElement("meta",{key:"og:image:width",property:"og:image:width",content:(null===(o=w.openGraph)||void 0===o?void 0:o.imageWidth)&&String(null===(r=w.openGraph)||void 0===r?void 0:r.imageWidth)||"1200"}),n.createElement("meta",{key:"og:image:height",property:"og:image:height",content:(null===(l=w.openGraph)||void 0===l?void 0:l.imageHeight)&&String(null===(s=w.openGraph)||void 0===s?void 0:s.imageHeight)||"630"})],!1)}}var cn="https://".concat(en,"/images/").concat(M,".png");return n.createElement(N,null,n.createElement("link",{rel:"preconnect",href:"https://fonts.gstatic.com"}),"marryBaby"===z&&n.createElement("link",{href:"https://fonts.googleapis.com/css2?family=Inter&family=Krub:wght@600&display=swap",rel:"stylesheet"}),"km-KH"===M?n.createElement("link",{href:"https://fonts.googleapis.com/css2?family=Battambang:wght@400;700&display=swap",rel:"stylesheet"}):"id-ID"===M||"ms-MY"===M?n.createElement(n.Fragment,null):n.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"}),n.createElement("link",{rel:"preconnect",href:J}),n.createElement("meta",{charSet:"UTF-8"}),!C&&n.createElement("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover"}),n.createElement("meta",{name:"google",content:"notranslate"}),n.createElement("meta",{name:"robots",content:K}),n.createElement("meta",{property:"fb:app_id",content:"653713035016537"}),Z.map((function(e,t){return n.createElement("meta",dn({key:t},e))})),n.createElement("meta",{name:"theme-color",content:"helloSites"===z?"#2c87f3":"#e85388"}),n.createElement("meta",{name:"page_type",content:"Home"}),n.createElement("meta",{name:"page_platform",content:"WEB"}),n.createElement("meta",{name:"page_language",content:nn}),n.createElement("meta",{name:"ahrefs-site-verification",content:"46e7521a2b89a1013149c4685bbe02a1d36a4732fef98655142b829bc87cba4d"}),C&&n.createElement(n.Fragment,null,n.createElement("script",{async:!0,"custom-element":"amp-analytics",src:"https://cdn.ampproject.org/v0/amp-analytics-0.1.js"}),n.createElement("script",{async:!0,"custom-element":"amp-fx-collection",src:"https://cdn.ampproject.org/v0/amp-fx-collection-0.1.js"}),n.createElement("script",{async:!0,"custom-element":"amp-ad",src:"https://cdn.ampproject.org/v0/amp-ad-0.1.js"}),n.createElement("script",{async:!0,"custom-element":"amp-next-page",src:"https://cdn.ampproject.org/v0/amp-next-page-1.0.js"}),n.createElement("script",{async:!0,"custom-element":"amp-sticky-ad",src:"https://cdn.ampproject.org/v0/amp-sticky-ad-1.0.js"}),n.createElement("script",{async:!0,"custom-element":"amp-social-share",src:"https://cdn.ampproject.org/v0/amp-social-share-0.1.js"}),n.createElement("script",{async:!0,"custom-element":"amp-bind",src:"https://cdn.ampproject.org/v0/amp-bind-0.1.js"})),!$&&n.createElement(n.Fragment,null,"helloSites"===z?n.createElement("title",null,A?I:I+" - "+(null===(c=Mt[M])||void 0===c?void 0:c.SITE_NAME)):n.createElement("title",null,I),!q&&n.createElement("link",{rel:"canonical",href:"https://".concat(en).concat(X)}),n.createElement("meta",{name:"description",content:R||(null===(d=w.openGraph)||void 0===d?void 0:d.description)}),w.schemaData&&n.createElement("script",{type:"application/ld+json",className:"yoast-schema-graph",dangerouslySetInnerHTML:{__html:w.schemaData}}),n.createElement("meta",{property:"og:locale",content:M}),n.createElement("meta",{property:"og:type",content:U||"website"}),n.createElement("meta",{property:"og:title",content:(null===(p=w.openGraph)||void 0===p?void 0:p.title)||I}),n.createElement("meta",{property:"og:description",content:(null===(m=w.openGraph)||void 0===m?void 0:m.description)||R}),n.createElement("meta",{property:"og:url",content:"https://".concat(en).concat(X)}),n.createElement("meta",{property:"og:site_name",content:"https://".concat(en)}),n.createElement("meta",{property:"og:image",content:(null===(g=w.openGraph)||void 0===g?void 0:g.image)||j||cn||""}),n.createElement("meta",{property:"og:image:secure_url",content:(null===(u=w.openGraph)||void 0===u?void 0:u.image)||j||cn}),n.createElement("meta",{property:"og:image:width",content:(null===(h=w.openGraph)||void 0===h?void 0:h.imageWidth)&&String(null===(f=w.openGraph)||void 0===f?void 0:f.imageWidth)||O&&String(O)||"1200"}),n.createElement("meta",{property:"og:image:height",content:(null===(x=w.openGraph)||void 0===x?void 0:x.imageHeight)&&String(null===(v=w.openGraph)||void 0===v?void 0:v.imageHeight)||V&&String(V)||"630"}),n.createElement("meta",{name:"twitter:card",content:"summary_large_image"}),n.createElement("meta",{name:"twitter:title",content:(null===(y=w.twitter)||void 0===y?void 0:y.title)||I}),n.createElement("meta",{name:"twitter:description",content:R}),n.createElement("meta",{name:"twitter:image",content:(null===(b=w.twitter)||void 0===b?void 0:b.image)||j})),("helloSites"===z?St[nn]||[]:St.marryBaby).map((function(e,t){return"link"===e.type?n.createElement("link",{key:"favicon-".concat(t),rel:e.rel,href:e.href,sizes:e.sizes}):"meta"===e.type?n.createElement("meta",{key:t,name:e.name,content:e.content}):null})),Array.isArray($)&&_?$.filter((function(n){return"canonical"!==n.props.name&&"canonical"!==n.props.rel})):$,_&&n.createElement("link",{rel:"canonical",href:_}),!w.hasNoAmp&&"vi-VN"!==M&&n.createElement("link",{rel:"amphtml",href:"https://".concat(en).concat(X).concat(tn,"?amp=1")}),B&&"undefined"!=typeof window?n.createElement("script",{dangerouslySetInnerHTML:{__html:"window.dataLayer = window.dataLayer || []; window.dataLayer.push({'userID': '".concat(B,"'});")}}):null)},bi=function(e){var t=e.ampNextArticles,a=(null==t?void 0:t.filter(Boolean))||[];if(!(null==a?void 0:a.length))return null;return n.createElement("amp-next-page",null,n.createElement("script",{type:"application/json",dangerouslySetInnerHTML:{__html:JSON.stringify(a.map((function(n){return{image:n.image||"",title:n.title?JSON.stringify(n.title):"",url:n.link||""}})))}}),n.createElement("div",dn({},{separator:""},{className:"amp-page-seperator",style:{color:"#8C8C8C",textTransform:"uppercase",fontSize:11,fontWeight:700,marginLeft:16}}),"Next article:"))},Ei=Dt.div(Wa||(Wa=gn(["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"],["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"]))),wi=Dt.div(Qa||(Qa=gn(["\n &[data-category-list-type='sub'] {\n padding-bottom: 72px;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n }\n\n margin-top: 16px;\n"],["\n &[data-category-list-type='sub'] {\n padding-bottom: 72px;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n }\n\n margin-top: 16px;\n"]))),ki=Dt.div(qa||(qa=gn(["\n & > :not(:last-child) {\n border-bottom: 1px solid\n ",";\n }\n\n & > div > :not(:last-child) {\n border-bottom: 1px solid\n ",";\n }\n"],["\n & > :not(:last-child) {\n border-bottom: 1px solid\n ",";\n }\n\n & > div > :not(:last-child) {\n border-bottom: 1px solid\n ",";\n }\n"])),(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.neutral100})),Ci=Dt.div(Ka||(Ka=gn(["\n display: flex;\n width: 100%;\n height: 48px;\n align-items: center;\n justify-content: space-between;\n padding: 8px;\n background-color: ",";\n font-size: ",";\n\n &[data-is-heading-category='true'] {\n border-bottom: none;\n background-color: ",";\n color: ",";\n font-weight: ",";\n }\n &[data-event-category] > * {\n pointer-events: none;\n }\n"],["\n display: flex;\n width: 100%;\n height: 48px;\n align-items: center;\n justify-content: space-between;\n padding: 8px;\n background-color: ",";\n font-size: ",";\n\n &[data-is-heading-category='true'] {\n border-bottom: none;\n background-color: ",";\n color: ",";\n font-weight: ",";\n }\n &[data-event-category] > * {\n pointer-events: none;\n }\n"])),(function(n){return n.theme.colors.white}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.colors.blue50}),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fwBold})),Li=Dt.div(Ja||(Ja=gn([""],[""]))),Mi=Dt.div(Xa||(Xa=gn(["\n display: flex;\n"],["\n display: flex;\n"]))),Si=Dt.div($a||($a=gn(["\n display: flex;\n align-items: center;\n\n "," {\n padding: 8px;\n }\n margin-bottom: 12px;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 24px;\n\n &[data-theme='marryBaby'] {\n color: ",";\n }\n &[data-event-category] * {\n pointer-events: none;\n }\n"],["\n display: flex;\n align-items: center;\n\n "," {\n padding: 8px;\n }\n margin-bottom: 12px;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 24px;\n\n &[data-theme='marryBaby'] {\n color: ",";\n }\n &[data-event-category] * {\n pointer-events: none;\n }\n"])),xn.mbDown,(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwBold}),(function(n){return n.theme.mbColors.pink})),Ti=Dt.div(ni||(ni=gn(["\n display: flex;\n align-items: center;\n\n margin-left: 10px;\n"],["\n display: flex;\n align-items: center;\n\n margin-left: 10px;\n"]))),Ni=Dt.div(ei||(ei=gn(["\n position: fixed;\n z-index: ",";\n top: 69px;\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n background-color: transparent;\n &[data-is-display='false'] {\n display: none;\n }\n"],["\n position: fixed;\n z-index: ",";\n top: 69px;\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n background-color: transparent;\n &[data-is-display='false'] {\n display: none;\n }\n"])),Nt.menuCategoryPopupWrapper),zi=Dt.div(ti||(ti=gn(["\n z-index: ",";\n align-items: center;\n\n border: 1px solid ",";\n background-color: ",";\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n"],["\n z-index: ",";\n align-items: center;\n\n border: 1px solid ",";\n background-color: ",";\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n"])),Nt.menuCategoryPopupContainer,(function(n){return n.theme.colors.neutral50}),(function(n){return n.theme.colors.white})),Ai=Dt.div(ai||(ai=gn(["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n padding: 48px 0;\n\n > :first-child {\n flex: 2;\n }\n\n > :not(:first-child) {\n flex: 1;\n }\n"],["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n padding: 48px 0;\n\n > :first-child {\n flex: 2;\n }\n\n > :not(:first-child) {\n flex: 1;\n }\n"]))),Bi=Dt.div(ii||(ii=gn(["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n\n &[data-disabled-divider='false'] {\n border-right: 1px solid #e4e8ec;\n }\n"],["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n\n &[data-disabled-divider='false'] {\n border-right: 1px solid #e4e8ec;\n }\n"]))),_i=Dt.div(oi||(oi=gn(["\n width: 20%;\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n }\n\n & > a:hover {\n color: ",";\n }\n\n .iconMenu {\n display: flex;\n align-items: center;\n\n > .imageContainer {\n display: flex;\n width: 32px;\n min-width: 32px;\n align-items: center;\n margin-right: 16px;\n }\n }\n &[data-event-category] > * {\n pointer-events: none;\n }\n"],["\n width: 20%;\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n }\n\n & > a:hover {\n color: ",";\n }\n\n .iconMenu {\n display: flex;\n align-items: center;\n\n > .imageContainer {\n display: flex;\n width: 32px;\n min-width: 32px;\n align-items: center;\n margin-right: 16px;\n }\n }\n &[data-event-category] > * {\n pointer-events: none;\n }\n"])),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwRegular}),(function(n){return n.theme.colors.primaryBase})),Di=Dt.div(ri||(ri=gn(["\n display: none;\n"],["\n display: none;\n"]))),Fi=Dt.div(li||(li=gn(["\n position: absolute;\n top: 16px;\n right: 0;\n display: flex;\n align-items: center;\n cursor: pointer;\n"],["\n position: absolute;\n top: 16px;\n right: 0;\n display: flex;\n align-items: center;\n cursor: pointer;\n"]))),Pi=Dt.div(si||(si=gn(["\n height: 1px;\n flex: 1;\n margin: 0 16px;\n background-color: ",";\n"],["\n height: 1px;\n flex: 1;\n margin: 0 16px;\n background-color: ",";\n"])),(function(n){return n.theme.mbColors.lightGray})),Ii=Dt.div(Wi||(Wi=gn(["\n position: fixed;\n z-index: 200;\n top: 0;\n width: 100vw;\n height: 100%;\n overflow-x: hidden;\n overflow-y: scroll;\n\n &[data-opened='false'] {\n left: -100%;\n //transition: left 0.1s;\n\n animation-duration: 0.2s;\n animation-name: leftDisappears;\n }\n\n &[data-opened='undefined'] {\n left: -100%;\n }\n\n &[data-opened='true'] {\n left: 0;\n //transition: left 0.1s;\n\n animation-duration: 0.2s;\n animation-name: leftAppears;\n }\n\n &[data-sub-level-opened='false'] {\n right: -100%;\n //transition: right 0.1s;\n\n animation-duration: 0.2s;\n animation-name: rightDisappears;\n }\n\n &[data-sub-level-opened='undefined'] {\n right: -100%;\n }\n\n &[data-sub-level-opened='true'] {\n right: 0;\n //transition: right 0.1s;\n\n animation-duration: 0.2s;\n animation-name: rightAppears;\n }\n"],["\n position: fixed;\n z-index: 200;\n top: 0;\n width: 100vw;\n height: 100%;\n overflow-x: hidden;\n overflow-y: scroll;\n\n &[data-opened='false'] {\n left: -100%;\n //transition: left 0.1s;\n\n animation-duration: 0.2s;\n animation-name: leftDisappears;\n }\n\n &[data-opened='undefined'] {\n left: -100%;\n }\n\n &[data-opened='true'] {\n left: 0;\n //transition: left 0.1s;\n\n animation-duration: 0.2s;\n animation-name: leftAppears;\n }\n\n &[data-sub-level-opened='false'] {\n right: -100%;\n //transition: right 0.1s;\n\n animation-duration: 0.2s;\n animation-name: rightDisappears;\n }\n\n &[data-sub-level-opened='undefined'] {\n right: -100%;\n }\n\n &[data-sub-level-opened='true'] {\n right: 0;\n //transition: right 0.1s;\n\n animation-duration: 0.2s;\n animation-name: rightAppears;\n }\n"]))),Hi=Dt.div(Qi||(Qi=gn(["\n position: relative;\n top: 0;\n\n display: flex;\n width: 100vw;\n min-height: 100%;\n flex-direction: column;\n\n background-color: ",";\n overflow-x: hidden;\n\n &[data-type='category'] {\n z-index: 300;\n\n // momentum scrolling IOS will display under layer if not doing this\n &[data-is-sub-category-opened='true'] {\n animation-duration: 0.2s;\n animation-name: fading;\n }\n }\n\n &[data-type='sub-category'] {\n z-index: 400;\n }\n\n .category-button {\n border: none;\n }\n"],["\n position: relative;\n top: 0;\n\n display: flex;\n width: 100vw;\n min-height: 100%;\n flex-direction: column;\n\n background-color: ",";\n overflow-x: hidden;\n\n &[data-type='category'] {\n z-index: 300;\n\n // momentum scrolling IOS will display under layer if not doing this\n &[data-is-sub-category-opened='true'] {\n animation-duration: 0.2s;\n animation-name: fading;\n }\n }\n\n &[data-type='sub-category'] {\n z-index: 400;\n }\n\n .category-button {\n border: none;\n }\n"])),(function(n){return n.theme.colors.white})),Ri=Dt.div(qi||(qi=gn(["\n position: fixed;\n bottom: 0;\n left: 0;\n display: flex;\n width: 100%;\n height: 72px;\n align-items: flex-start;\n justify-content: center;\n\n background: linear-gradient(0deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);\n\n .button-image {\n stroke-color: blue;\n }\n\n &[data-site-type='marryBaby'] {\n padding: 0 16px;\n .category-button {\n width: 100%;\n height: 48px;\n }\n }\n"],["\n position: fixed;\n bottom: 0;\n left: 0;\n display: flex;\n width: 100%;\n height: 72px;\n align-items: flex-start;\n justify-content: center;\n\n background: linear-gradient(0deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);\n\n .button-image {\n stroke-color: blue;\n }\n\n &[data-site-type='marryBaby'] {\n padding: 0 16px;\n .category-button {\n width: 100%;\n height: 48px;\n }\n }\n"]))),ji=Dt.div(Ki||(Ki=gn(["\n display: flex;\n\n width: 100%;\n height: 100%;\n flex: 1;\n flex-direction: column;\n align-items: center;\n\n padding-top: 0px;\n //position: absolute;\n\n //top: 0px;\n\n //z-index: -1;\n\n background-color: ",";\n\n &[data-type='sub-level'] {\n padding: 4px 16px 16px;\n background-color: ",";\n }\n\n & > div:first-child {\n justify-self: flex-start;\n }\n\n &[data-with-search-input='false'] {\n //padding-top: 64px;\n }\n"],["\n display: flex;\n\n width: 100%;\n height: 100%;\n flex: 1;\n flex-direction: column;\n align-items: center;\n\n padding-top: 0px;\n //position: absolute;\n\n //top: 0px;\n\n //z-index: -1;\n\n background-color: ",";\n\n &[data-type='sub-level'] {\n padding: 4px 16px 16px;\n background-color: ",";\n }\n\n & > div:first-child {\n justify-self: flex-start;\n }\n\n &[data-with-search-input='false'] {\n //padding-top: 64px;\n }\n"])),(function(n){return n.theme.colors.white}),(function(n){return n.theme.colors.white})),Ui=Dt.div(Ji||(Ji=gn(["\n display: flex;\n\n &[data-card-array-no-margin-style='true'] {\n margin: 8px 0;\n\n & > div {\n width: 0;\n flex: 1;\n margin: 0 -1px;\n }\n }\n\n &[data-card-array-no-margin-style='false'] {\n margin: 8px -4px;\n\n & > div {\n flex: 1;\n margin: 0 4px;\n }\n }\n"],["\n display: flex;\n\n &[data-card-array-no-margin-style='true'] {\n margin: 8px 0;\n\n & > div {\n width: 0;\n flex: 1;\n margin: 0 -1px;\n }\n }\n\n &[data-card-array-no-margin-style='false'] {\n margin: 8px -4px;\n\n & > div {\n flex: 1;\n margin: 0 4px;\n }\n }\n"]))),Oi=Dt.div(Xi||(Xi=gn(["\n position: relative;\n\n display: flex;\n width: 100%;\n height: 100%;\n flex: 1;\n flex-direction: column;\n\n overflow-y: scroll;\n"],["\n position: relative;\n\n display: flex;\n width: 100%;\n height: 100%;\n flex: 1;\n flex-direction: column;\n\n overflow-y: scroll;\n"]))),Vi=Dt.div($i||($i=gn(["\n flex: 1;\n padding: 16px;\n background-color: ",";\n"],["\n flex: 1;\n padding: 16px;\n background-color: ",";\n"])),(function(n){return n.theme.colors.white}));Dt.div(no||(no=gn(["\n margin-top: 64px;\n"],["\n margin-top: 64px;\n"])));var Gi=Dt.div(eo||(eo=gn(["\n background-color: ",";\n\n &[data-is-sub-category-opened='true'] {\n display: none;\n }\n\n &[data-hide-on-search='true'] {\n display: none;\n }\n"],["\n background-color: ",";\n\n &[data-is-sub-category-opened='true'] {\n display: none;\n }\n\n &[data-hide-on-search='true'] {\n display: none;\n }\n"])),(function(n){return n.theme.colors.white}));Dt.div(to||(to=gn(["\n padding: 24px 0;\n"],["\n padding: 24px 0;\n"])));var Zi=Dt.div(ao||(ao=gn(["\n display: flex;\n width: 100%;\n align-items: center;\n justify-content: center;\n\n & > div:first-child {\n margin-right: 8px;\n }\n"],["\n display: flex;\n width: 100%;\n align-items: center;\n justify-content: center;\n\n & > div:first-child {\n margin-right: 8px;\n }\n"])));Dt.div(io||(io=gn(["\n position: fixed;\n z-index: ",";\n top: 69px;\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n background-color: transparent;\n &[data-is-display='false'] {\n display: none;\n }\n"],["\n position: fixed;\n z-index: ",";\n top: 69px;\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n background-color: transparent;\n &[data-is-display='false'] {\n display: none;\n }\n"])),Nt.menuCategoryPopupWrapper),Dt.div(oo||(oo=gn(["\n z-index: ",";\n align-items: center;\n\n border: 1px solid ",";\n background-color: ",";\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n"],["\n z-index: ",";\n align-items: center;\n\n border: 1px solid ",";\n background-color: ",";\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n"])),Nt.menuCategoryPopupContainer,(function(n){return n.theme.colors.neutral50}),(function(n){return n.theme.colors.white})),Dt.div(ro||(ro=gn(["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n padding: 48px 0;\n"],["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n padding: 48px 0;\n"]))),Dt.div(lo||(lo=gn(["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n &[data-disabled-divider='false'] {\n border-right: 1px solid #e4e8ec;\n }\n"],["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n &[data-disabled-divider='false'] {\n border-right: 1px solid #e4e8ec;\n }\n"]))),Dt.div(so||(so=gn(["\n width: 20%;\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n }\n\n & > a:hover {\n color: ",";\n }\n\n .iconMenu {\n display: flex;\n align-items: center;\n\n > .imageContainer {\n display: flex;\n width: 32px;\n min-width: 32px;\n align-items: center;\n margin-right: 16px;\n }\n }\n"],["\n width: 20%;\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n }\n\n & > a:hover {\n color: ",";\n }\n\n .iconMenu {\n display: flex;\n align-items: center;\n\n > .imageContainer {\n display: flex;\n width: 32px;\n min-width: 32px;\n align-items: center;\n margin-right: 16px;\n }\n }\n"])),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwRegular}),(function(n){return n.theme.colors.primaryBase})),Dt.div(co||(co=gn(["\n display: none;\n"],["\n display: none;\n"]))),Dt.div(po||(po=gn(["\n width: 33%;\n height: 48px;\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n display: flex;\n align-items: center;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n\n & > :first-child {\n margin-right: 16px;\n }\n }\n\n & > a > p:hover {\n color: ",";\n }\n"],["\n width: 33%;\n height: 48px;\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n display: flex;\n align-items: center;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n\n & > :first-child {\n margin-right: 16px;\n }\n }\n\n & > a > p:hover {\n color: ",";\n }\n"])),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwRegular}),(function(n){return n.theme.colors.primaryBase})),Dt.div(mo||(mo=gn(["\n display: flex;\n align-items: center;\n\n padding-right: 16px;\n margin-bottom: 12px;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 24px;\n\n &[data-theme='marryBaby'] {\n color: ",";\n }\n"],["\n display: flex;\n align-items: center;\n\n padding-right: 16px;\n margin-bottom: 12px;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 24px;\n\n &[data-theme='marryBaby'] {\n color: ",";\n }\n"])),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwBold}),(function(n){return n.theme.mbColors.pink}));var Yi=Dt.div(go||(go=gn(["\n display: flex;\n align-items: center;\n\n margin-left: 10px;\n"],["\n display: flex;\n align-items: center;\n\n margin-left: 10px;\n"])));Dt.div(uo||(uo=gn(["\n position: absolute;\n top: 16px;\n right: 0;\n display: flex;\n align-items: center;\n cursor: pointer;\n"],["\n position: absolute;\n top: 16px;\n right: 0;\n display: flex;\n align-items: center;\n cursor: pointer;\n"]))),Dt.div(ho||(ho=gn(["\n display: block;\n"],["\n display: block;\n"]))),Dt.div(fo||(fo=gn(["\n .amp-sidebar {\n width: 100vw;\n\n background-color: ",";\n }\n\n .categories__spotlight {\n display: grid;\n margin: 16px;\n margin-bottom: 32px;\n grid-gap: 8px;\n grid-template-columns: 1fr 1fr;\n\n a {\n text-decoration: none;\n }\n }\n\n .categoryCard {\n display: flex;\n width: 100%;\n flex-direction: column;\n align-items: center;\n padding: 16px;\n border-radius: 6px;\n color: ",";\n\n svg {\n margin-bottom: 4px;\n }\n\n &.active {\n background: ",";\n box-shadow: 0px 16px 24px rgba(0, 0, 0, 0.06),\n 0px 2px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);\n color: white;\n }\n\n &:not(.active) {\n box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 2px rgba(0, 0, 0, 0.06), 0px 0px 1px rgba(0, 0, 0, 0.04);\n }\n }\n\n .amp__menu-header {\n display: grid;\n grid-template-columns: 1fr 1fr 1fr;\n\n svg {\n margin-left: 16px;\n }\n\n > div {\n align-self: center;\n\n &:nth-child(2) {\n justify-self: center;\n }\n }\n }\n\n .logo {\n margin: 22px 0;\n }\n\n .categories {\n margin: 0 16px;\n\n li {\n display: block;\n width: 100%;\n\n + li {\n border-top: 1px solid\n ",";\n }\n\n a {\n display: block;\n margin: 12px 0;\n color: ",";\n text-decoration: none;\n }\n }\n }\n"],["\n .amp-sidebar {\n width: 100vw;\n\n background-color: ",";\n }\n\n .categories__spotlight {\n display: grid;\n margin: 16px;\n margin-bottom: 32px;\n grid-gap: 8px;\n grid-template-columns: 1fr 1fr;\n\n a {\n text-decoration: none;\n }\n }\n\n .categoryCard {\n display: flex;\n width: 100%;\n flex-direction: column;\n align-items: center;\n padding: 16px;\n border-radius: 6px;\n color: ",";\n\n svg {\n margin-bottom: 4px;\n }\n\n &.active {\n background: ",";\n box-shadow: 0px 16px 24px rgba(0, 0, 0, 0.06),\n 0px 2px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);\n color: white;\n }\n\n &:not(.active) {\n box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 2px rgba(0, 0, 0, 0.06), 0px 0px 1px rgba(0, 0, 0, 0.04);\n }\n }\n\n .amp__menu-header {\n display: grid;\n grid-template-columns: 1fr 1fr 1fr;\n\n svg {\n margin-left: 16px;\n }\n\n > div {\n align-self: center;\n\n &:nth-child(2) {\n justify-self: center;\n }\n }\n }\n\n .logo {\n margin: 22px 0;\n }\n\n .categories {\n margin: 0 16px;\n\n li {\n display: block;\n width: 100%;\n\n + li {\n border-top: 1px solid\n ",";\n }\n\n a {\n display: block;\n margin: 12px 0;\n color: ",";\n text-decoration: none;\n }\n }\n }\n"])),(function(n){return n.theme.colors.neutral50}),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.gray800}));var Wi,Qi,qi,Ki,Ji,Xi,$i,no,eo,to,ao,io,oo,ro,lo,so,co,po,mo,go,uo,ho,fo,xo,vo,yo=Dt.div(xo||(xo=gn(["\n width: 20%;\n height: 2px;\n\n background-color: ",";\n border-radius: 2px;\n"],["\n width: 20%;\n height: 2px;\n\n background-color: ",";\n border-radius: 2px;\n"])),(function(n){return n.theme.mbColors.pink})),bo=Dt.div(vo||(vo=gn(["\n .fake-search-input {\n margin-bottom: 24px;\n pointer-events: none;\n }\n"],["\n .fake-search-input {\n margin-bottom: 24px;\n pointer-events: none;\n }\n"]))),Eo=Dt.header(Io||(Io=gn(["\n position: absolute;\n top: 0px;\n left: 0px;\n width: 100%;\n align-items: center;\n justify-content: center;\n /* overflow-x: hidden; */\n\n border-bottom: 1px solid\n ",";\n background-color: ",";\n\n &[data-site-type='marryBaby'] {\n border-bottom: none;\n }\n\n &[data-fixed-bar='true'] {\n position: fixed;\n top: 0;\n }\n\n &[data-fixed-bar='false'] {\n position: absolute;\n }\n\n &[data-collapsed='true'] {\n top: -100%;\n transition: top 0.5s;\n }\n\n &[data-collapsed='false'] {\n top: 0px;\n transition: top 0.5s;\n }\n\n .top-bar-header {\n line-height: normal;\n }\n\n &[data-header-type='home'] {\n position: fixed;\n z-index: ",";\n }\n\n &[data-header-type='popup'] {\n position: absolute;\n z-index: ",";\n }\n\n &[data-header-type='popup-sub-level'] {\n position: absolute;\n z-index: ",";\n }\n\n &[data-is-displayed='false'] {\n //display: none;\n visibility: hidden;\n }\n\n &[data-is-amp='true'] {\n position: relative;\n }\n\n .menu-handler:focus #categories-menu {\n left: 0;\n transition: left 0.1s;\n }\n"],["\n position: absolute;\n top: 0px;\n left: 0px;\n width: 100%;\n align-items: center;\n justify-content: center;\n /* overflow-x: hidden; */\n\n border-bottom: 1px solid\n ",";\n background-color: ",";\n\n &[data-site-type='marryBaby'] {\n border-bottom: none;\n }\n\n &[data-fixed-bar='true'] {\n position: fixed;\n top: 0;\n }\n\n &[data-fixed-bar='false'] {\n position: absolute;\n }\n\n &[data-collapsed='true'] {\n top: -100%;\n transition: top 0.5s;\n }\n\n &[data-collapsed='false'] {\n top: 0px;\n transition: top 0.5s;\n }\n\n .top-bar-header {\n line-height: normal;\n }\n\n &[data-header-type='home'] {\n position: fixed;\n z-index: ",";\n }\n\n &[data-header-type='popup'] {\n position: absolute;\n z-index: ",";\n }\n\n &[data-header-type='popup-sub-level'] {\n position: absolute;\n z-index: ",";\n }\n\n &[data-is-displayed='false'] {\n //display: none;\n visibility: hidden;\n }\n\n &[data-is-amp='true'] {\n position: relative;\n }\n\n .menu-handler:focus #categories-menu {\n left: 0;\n transition: left 0.1s;\n }\n"])),(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.white}),Nt.headerContainerHome,Nt.headerContainerPopup,Nt.headerContainerPopupSUbLevel),wo=Dt.header(Ho||(Ho=gn(["\n position: absolute;\n bottom: 20px;\n left: 16px;\n display: flex;\n align-items: center;\n"],["\n position: absolute;\n bottom: 20px;\n left: 16px;\n display: flex;\n align-items: center;\n"]))),ko=Dt.div(Ro||(Ro=gn(["\n margin-right: 8px;\n &[data-event-category] > * {\n pointer-events: none;\n }\n"],["\n margin-right: 8px;\n &[data-event-category] > * {\n pointer-events: none;\n }\n"]))),Co=Dt.div(jo||(jo=gn(["\n position: relative;\n display: flex;\n width: 100%;\n height: 64px;\n justify-content: center;\n\n padding: 8px 0;\n margin-top: 64px;\n &[data-sponsored='true'] {\n margin-top: 105px;\n }\n &[data-sitewide-banner-shown='true'] {\n margin-top: 128px;\n }\n\n background-color: ",";\n\n #search-input-home,\n #search-input-home-temp,\n #search-input-popup {\n position: relative;\n z-index: ",";\n width: 100%;\n box-shadow: 0px 0px 5px rgba(38, 38, 38, 0.08);\n }\n\n .displayIcon {\n z-index: ",";\n display: flex;\n width: 24px;\n height: 24px;\n align-items: center;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n opacity: 0;\n }\n\n &[data-is-displayed='true'] {\n opacity: 1;\n transition: opacity 0.2s;\n }\n\n &[data-header-type='popup'] {\n position: fixed;\n z-index: ",";\n left: 0;\n width: 100vw;\n }\n"],["\n position: relative;\n display: flex;\n width: 100%;\n height: 64px;\n justify-content: center;\n\n padding: 8px 0;\n margin-top: 64px;\n &[data-sponsored='true'] {\n margin-top: 105px;\n }\n &[data-sitewide-banner-shown='true'] {\n margin-top: 128px;\n }\n\n background-color: ",";\n\n #search-input-home,\n #search-input-home-temp,\n #search-input-popup {\n position: relative;\n z-index: ",";\n width: 100%;\n box-shadow: 0px 0px 5px rgba(38, 38, 38, 0.08);\n }\n\n .displayIcon {\n z-index: ",";\n display: flex;\n width: 24px;\n height: 24px;\n align-items: center;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n opacity: 0;\n }\n\n &[data-is-displayed='true'] {\n opacity: 1;\n transition: opacity 0.2s;\n }\n\n &[data-header-type='popup'] {\n position: fixed;\n z-index: ",";\n left: 0;\n width: 100vw;\n }\n"])),(function(n){return n.theme.colors.white}),Nt.menuSearchInputPopup,Nt.menuSearchInputDisplayIcon,Nt.menuSearchPopup),Lo=Dt.div(Uo||(Uo=gn(["\n position: fixed;\n z-index: 201;\n top: 0;\n left: 0;\n\n width: 100%;\n align-items: center;\n\n background-color: ",";\n\n transition: height 0.3s;\n\n .menu-handler-item {\n gap: 8px;\n a {\n text-decoration: none;\n }\n }\n\n &[data-site-type='helloSites'] {\n border-bottom: 1px solid\n ",";\n }\n\n &[data-marry-baby-tone='pink'] {\n background-color: ",";\n }\n\n //categories\n .menu-handler-categories:focus > .menu-handler-item {\n pointer-events: none;\n }\n .menu-handler-categories:focus-within .top-menu-categories {\n display: block;\n }\n .menu-handler-categories:focus .top-menu-health-tools {\n display: none;\n }\n\n //health tools\n .menu-handler-health-tools:focus > .menu-handler-item {\n pointer-events: none;\n }\n .menu-handler-health-tools:focus-within .top-menu-health-tools {\n display: block;\n }\n .menu-handler-health-tools:focus .top-menu-categories {\n display: none;\n }\n\n //communities\n .menu-handler-communities:focus > .menu-handler-item {\n pointer-events: none;\n }\n .menu-handler-communities:focus-within .top-menu-communities {\n display: block;\n }\n .menu-handler-communities:focus .top-menu-care-specialties {\n display: none;\n }\n\n //care\n .menu-handler-care-specialties:focus > .menu-handler-item {\n pointer-events: none;\n }\n .menu-handler-care-specialties:focus-within .top-menu-care-specialties {\n display: block;\n }\n .menu-handler-care-specialties:focus .top-menu-communities {\n display: none;\n }\n"],["\n position: fixed;\n z-index: 201;\n top: 0;\n left: 0;\n\n width: 100%;\n align-items: center;\n\n background-color: ",";\n\n transition: height 0.3s;\n\n .menu-handler-item {\n gap: 8px;\n a {\n text-decoration: none;\n }\n }\n\n &[data-site-type='helloSites'] {\n border-bottom: 1px solid\n ",";\n }\n\n &[data-marry-baby-tone='pink'] {\n background-color: ",";\n }\n\n //categories\n .menu-handler-categories:focus > .menu-handler-item {\n pointer-events: none;\n }\n .menu-handler-categories:focus-within .top-menu-categories {\n display: block;\n }\n .menu-handler-categories:focus .top-menu-health-tools {\n display: none;\n }\n\n //health tools\n .menu-handler-health-tools:focus > .menu-handler-item {\n pointer-events: none;\n }\n .menu-handler-health-tools:focus-within .top-menu-health-tools {\n display: block;\n }\n .menu-handler-health-tools:focus .top-menu-categories {\n display: none;\n }\n\n //communities\n .menu-handler-communities:focus > .menu-handler-item {\n pointer-events: none;\n }\n .menu-handler-communities:focus-within .top-menu-communities {\n display: block;\n }\n .menu-handler-communities:focus .top-menu-care-specialties {\n display: none;\n }\n\n //care\n .menu-handler-care-specialties:focus > .menu-handler-item {\n pointer-events: none;\n }\n .menu-handler-care-specialties:focus-within .top-menu-care-specialties {\n display: block;\n }\n .menu-handler-care-specialties:focus .top-menu-communities {\n display: none;\n }\n"])),(function(n){return n.theme.colors.white}),(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.mbColors.lightPink})),Mo=Dt.div(Oo||(Oo=gn(["\n display: flex;\n height: 100%;\n align-items: center;\n\n justify-content: space-between;\n padding: 0;\n"],["\n display: flex;\n height: 100%;\n align-items: center;\n\n justify-content: space-between;\n padding: 0;\n"]))),So=Dt.div(Vo||(Vo=gn(["\n display: flex;\n align-items: center;\n"],["\n display: flex;\n align-items: center;\n"]))),To=Dt.div(Go||(Go=gn(["\n padding-right: 16px;\n &[data-is-having-border='true'] {\n border-right: 1px solid\n ",";\n }\n"],["\n padding-right: 16px;\n &[data-is-having-border='true'] {\n border-right: 1px solid\n ",";\n }\n"])),(function(n){return n.theme.colors.neutral100})),No=Dt.div(Zo||(Zo=gn(["\n padding: 0 16px;\n\n & > div {\n background-color: ",";\n }\n\n &[data-marry-baby-theme='white'] > div {\n background-color: ",";\n }\n\n #search-input-home,\n #search-input-home-temp {\n height: 32px;\n box-sizing: border-box;\n padding: 0 16px 0 48px;\n border: 1px solid ",";\n border-radius: 6px;\n filter: drop-shadow(0px 1px 1px rgba(0, 0, 0, 0.1));\n outline: none;\n }\n\n &[data-is-styled-borderless='true'] {\n #search-input-home,\n #search-input-home-temp {\n height: 40px;\n border: 1px solid ",";\n border-radius: 16px;\n filter: none;\n }\n }\n"],["\n padding: 0 16px;\n\n & > div {\n background-color: ",";\n }\n\n &[data-marry-baby-theme='white'] > div {\n background-color: ",";\n }\n\n #search-input-home,\n #search-input-home-temp {\n height: 32px;\n box-sizing: border-box;\n padding: 0 16px 0 48px;\n border: 1px solid ",";\n border-radius: 6px;\n filter: drop-shadow(0px 1px 1px rgba(0, 0, 0, 0.1));\n outline: none;\n }\n\n &[data-is-styled-borderless='true'] {\n #search-input-home,\n #search-input-home-temp {\n height: 40px;\n border: 1px solid ",";\n border-radius: 16px;\n filter: none;\n }\n }\n"])),(function(n){return n.theme.colors.white}),(function(n){return n.theme.mbColors.lightGray}),(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.white})),zo=Dt.div(Yo||(Yo=gn(["\n display: flex;\n align-items: center;\n\n & > :not(:first-child) {\n margin-left: 6px;\n }\n"],["\n display: flex;\n align-items: center;\n\n & > :not(:first-child) {\n margin-left: 6px;\n }\n"]))),Ao=Dt.div(Wo||(Wo=gn(["\n display: flex;\n align-items: center;\n\n margin-left: 8px;\n"],["\n display: flex;\n align-items: center;\n\n margin-left: 8px;\n"]))),Bo=Dt.div(Qo||(Qo=gn(["\n display: flex;\n align-items: center;\n\n margin-left: 4px;\n"],["\n display: flex;\n align-items: center;\n\n margin-left: 4px;\n"]))),_o=Dt.div(qo||(qo=gn(["\n margin-right: 8px;\n & > div {\n display: flex;\n align-items: center;\n\n cursor: pointer;\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n\n user-select: none;\n }\n\n &[data-is-active='true'] {\n color: ",";\n\n div[data-site-type='marryBaby'] & {\n color: ",";\n }\n }\n\n &[data-is-active='false'] {\n color: ",";\n\n div[data-site-type='marryBaby'] & {\n color: ",";\n }\n }\n .care-navigator {\n color: ",";\n font-size: 14px;\n font-weight: 700;\n }\n"],["\n margin-right: 8px;\n & > div {\n display: flex;\n align-items: center;\n\n cursor: pointer;\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n\n user-select: none;\n }\n\n &[data-is-active='true'] {\n color: ",";\n\n div[data-site-type='marryBaby'] & {\n color: ",";\n }\n }\n\n &[data-is-active='false'] {\n color: ",";\n\n div[data-site-type='marryBaby'] & {\n color: ",";\n }\n }\n .care-navigator {\n color: ",";\n font-size: 14px;\n font-weight: 700;\n }\n"])),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwBold}),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.mbColors.pink}),(function(n){return n.theme.colors.secondaryDark}),(function(n){return n.theme.mbColors.dark}),(function(n){return n.theme.colors.secondaryDark})),Do=Dt.div(Ko||(Ko=gn(["\n flex-shrink: 0;\n & > div {\n display: flex;\n align-items: center;\n\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n\n user-select: none;\n }\n "," {\n position: absolute;\n right: 16px;\n bottom: 16px;\n height: 32px;\n display: flex;\n }\n .menu-handler-item {\n gap: 8px;\n .care-button {\n text-decoration: none;\n }\n }\n\n .login-btn-mobile[data-color='secondary'][data-size='sm'] {\n padding-right: 1rem;\n padding-left: 1rem;\n }\n"],["\n flex-shrink: 0;\n & > div {\n display: flex;\n align-items: center;\n\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n\n user-select: none;\n }\n "," {\n position: absolute;\n right: 16px;\n bottom: 16px;\n height: 32px;\n display: flex;\n }\n .menu-handler-item {\n gap: 8px;\n .care-button {\n text-decoration: none;\n }\n }\n\n .login-btn-mobile[data-color='secondary'][data-size='sm'] {\n padding-right: 1rem;\n padding-left: 1rem;\n }\n"])),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwBold}),xn.mbDown),Fo=Dt.div(Jo||(Jo=gn(["\n display: block;\n"],["\n display: block;\n"]))),Po=Dt.div(Xo||(Xo=gn([""],[""])));Dt.div($o||($o=gn(["\n .amp-sidebar {\n width: 100vw;\n max-width: 100vw;\n background-color: ",";\n }\n\n .nav-card {\n display: flex;\n width: 100%;\n flex-direction: column;\n align-items: center;\n padding: 16px;\n border-radius: 6px;\n color: ",";\n\n span {\n margin-top: 4px;\n font-size: 13px;\n font-weight: ",";\n }\n\n svg {\n margin-bottom: 4px;\n }\n\n &.active {\n background: ",";\n box-shadow: 0px 16px 24px rgba(0, 0, 0, 0.06),\n 0px 2px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);\n color: white;\n }\n\n &:not(.active) {\n box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 2px rgba(0, 0, 0, 0.06), 0px 0px 1px rgba(0, 0, 0, 0.04);\n color: ",";\n }\n }\n\n .categories__spotlight {\n display: grid;\n margin: 16px;\n margin-bottom: 32px;\n grid-gap: 8px;\n grid-template-columns: 1fr 1fr;\n\n a {\n text-decoration: none;\n }\n }\n\n .amp__menu-header {\n display: grid;\n grid-template-columns: 1fr 1fr 1fr;\n\n > div:first-child > amp-img {\n margin-left: 1rem;\n }\n\n svg {\n margin-left: 16px;\n }\n\n > div {\n align-self: center;\n\n &:nth-child(2) {\n justify-self: center;\n }\n }\n }\n\n .logo {\n margin: 22px 0;\n\n img {\n object-fit: contain;\n }\n }\n\n .categories {\n margin: 0 16px;\n\n li {\n position: relative;\n display: block;\n width: 100%;\n\n + li {\n border-top: 1px solid\n ",";\n }\n\n &.health-tool {\n display: flex;\n align-items: center;\n\n amp-img {\n margin-right: 1rem;\n }\n + li {\n border-top: none;\n }\n\n a {\n display: flex;\n align-items: center;\n }\n }\n\n a {\n display: block;\n margin: 16px 0;\n color: ",";\n text-decoration: none;\n }\n\n &::after {\n position: absolute;\n top: 50%;\n right: 0;\n content: url(\"data:image/svg+xml,%3Csvg width='6' height='10' viewBox='0 0 6 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 9L5 5L1 1' stroke='%23595959' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A\");\n }\n }\n }\n"],["\n .amp-sidebar {\n width: 100vw;\n max-width: 100vw;\n background-color: ",";\n }\n\n .nav-card {\n display: flex;\n width: 100%;\n flex-direction: column;\n align-items: center;\n padding: 16px;\n border-radius: 6px;\n color: ",";\n\n span {\n margin-top: 4px;\n font-size: 13px;\n font-weight: ",";\n }\n\n svg {\n margin-bottom: 4px;\n }\n\n &.active {\n background: ",";\n box-shadow: 0px 16px 24px rgba(0, 0, 0, 0.06),\n 0px 2px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);\n color: white;\n }\n\n &:not(.active) {\n box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 2px rgba(0, 0, 0, 0.06), 0px 0px 1px rgba(0, 0, 0, 0.04);\n color: ",";\n }\n }\n\n .categories__spotlight {\n display: grid;\n margin: 16px;\n margin-bottom: 32px;\n grid-gap: 8px;\n grid-template-columns: 1fr 1fr;\n\n a {\n text-decoration: none;\n }\n }\n\n .amp__menu-header {\n display: grid;\n grid-template-columns: 1fr 1fr 1fr;\n\n > div:first-child > amp-img {\n margin-left: 1rem;\n }\n\n svg {\n margin-left: 16px;\n }\n\n > div {\n align-self: center;\n\n &:nth-child(2) {\n justify-self: center;\n }\n }\n }\n\n .logo {\n margin: 22px 0;\n\n img {\n object-fit: contain;\n }\n }\n\n .categories {\n margin: 0 16px;\n\n li {\n position: relative;\n display: block;\n width: 100%;\n\n + li {\n border-top: 1px solid\n ",";\n }\n\n &.health-tool {\n display: flex;\n align-items: center;\n\n amp-img {\n margin-right: 1rem;\n }\n + li {\n border-top: none;\n }\n\n a {\n display: flex;\n align-items: center;\n }\n }\n\n a {\n display: block;\n margin: 16px 0;\n color: ",";\n text-decoration: none;\n }\n\n &::after {\n position: absolute;\n top: 50%;\n right: 0;\n content: url(\"data:image/svg+xml,%3Csvg width='6' height='10' viewBox='0 0 6 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 9L5 5L1 1' stroke='%23595959' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A\");\n }\n }\n }\n"])),(function(n){return n.theme.colors.neutral50}),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.sizes.fwBold}),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.gray800}));var Io,Ho,Ro,jo,Uo,Oo,Vo,Go,Zo,Yo,Wo,Qo,qo,Ko,Jo,Xo,$o,nr,er,tr,ar,ir,or=Dt.div(nr||(nr=gn(["\n width: 40px;\n height: 40px;\n cursor: pointer;\n\n img {\n border-radius: 50%;\n }\n\n .avatar {\n width: 40px;\n height: 40px;\n object-fit: cover;\n }\n\n .avatar-default {\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: ",";\n border-radius: 50%;\n color: white;\n font-size: 20px;\n font-weight: bold;\n }\n"],["\n width: 40px;\n height: 40px;\n cursor: pointer;\n\n img {\n border-radius: 50%;\n }\n\n .avatar {\n width: 40px;\n height: 40px;\n object-fit: cover;\n }\n\n .avatar-default {\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: ",";\n border-radius: 50%;\n color: white;\n font-size: 20px;\n font-weight: bold;\n }\n"])),(function(n){return n.theme.colors.secondaryBase})),rr=function(){return n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.97183 10.8732C3.97183 7.0617 7.0617 3.97183 10.8732 3.97183C14.6848 3.97183 17.7746 7.0617 17.7746 10.8732C17.7746 14.6848 14.6848 17.7746 10.8732 17.7746C7.0617 17.7746 3.97183 14.6848 3.97183 10.8732ZM10.8732 2C5.97268 2 2 5.97268 2 10.8732C2 15.7738 5.97268 19.7465 10.8732 19.7465C12.9683 19.7465 14.8938 19.0204 16.4118 17.8061L20.3169 21.7112C20.702 22.0963 21.3262 22.0963 21.7112 21.7112C22.0963 21.3262 22.0963 20.702 21.7112 20.3169L17.8061 16.4118C19.0204 14.8938 19.7465 12.9683 19.7465 10.8732C19.7465 5.97268 15.7738 2 10.8732 2Z",fill:"#8C8C8C"}))},lr=Dt.div(er||(er=gn(["\n amp-sidebar {\n width: 100vw;\n max-width: 100vw;\n background-color: ",";\n }\n\n .nav-card {\n display: flex;\n width: 100%;\n flex-direction: column;\n align-items: center;\n padding: 16px;\n border-radius: 6px;\n color: ",";\n\n span {\n margin-top: 4px;\n font-size: 13px;\n font-weight: ",";\n }\n\n svg {\n margin-bottom: 4px;\n }\n\n &.active {\n background: ",";\n box-shadow: 0px 16px 24px rgba(0, 0, 0, 0.06),\n 0px 2px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);\n color: white;\n }\n\n &:not(.active) {\n box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 2px rgba(0, 0, 0, 0.06), 0px 0px 1px rgba(0, 0, 0, 0.04);\n color: ",";\n }\n }\n\n .categories__spotlight {\n display: grid;\n margin: 16px;\n margin-bottom: 32px;\n grid-gap: 8px;\n grid-template-columns: 1fr 1fr;\n\n a {\n text-decoration: none;\n }\n }\n\n .amp__menu-header {\n display: grid;\n grid-template-columns: 1fr 1fr 1fr;\n\n > div:first-child > amp-img {\n margin-left: 1rem;\n }\n\n svg {\n margin-left: 16px;\n }\n\n > div {\n align-self: center;\n\n &:nth-child(2) {\n justify-self: center;\n }\n }\n }\n\n .logo {\n margin: 22px 0;\n\n img {\n object-fit: contain;\n }\n }\n\n .categories {\n margin: 0 16px;\n\n li {\n position: relative;\n display: block;\n width: 100%;\n\n + li {\n border-top: 1px solid\n ",";\n }\n\n &.health-tool {\n display: flex;\n align-items: center;\n\n amp-img {\n margin-right: 1rem;\n }\n + li {\n border-top: none;\n }\n\n a {\n display: flex;\n align-items: center;\n }\n }\n\n a {\n display: block;\n margin: 16px 0;\n color: ",";\n text-decoration: none;\n }\n\n &:not(.spotlight-li)::after {\n position: absolute;\n top: 50%;\n right: 0;\n content: url(\"data:image/svg+xml,%3Csvg width='6' height='10' viewBox='0 0 6 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 9L5 5L1 1' stroke='%23595959' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A\");\n }\n }\n }\n"],["\n amp-sidebar {\n width: 100vw;\n max-width: 100vw;\n background-color: ",";\n }\n\n .nav-card {\n display: flex;\n width: 100%;\n flex-direction: column;\n align-items: center;\n padding: 16px;\n border-radius: 6px;\n color: ",";\n\n span {\n margin-top: 4px;\n font-size: 13px;\n font-weight: ",";\n }\n\n svg {\n margin-bottom: 4px;\n }\n\n &.active {\n background: ",";\n box-shadow: 0px 16px 24px rgba(0, 0, 0, 0.06),\n 0px 2px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);\n color: white;\n }\n\n &:not(.active) {\n box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 2px rgba(0, 0, 0, 0.06), 0px 0px 1px rgba(0, 0, 0, 0.04);\n color: ",";\n }\n }\n\n .categories__spotlight {\n display: grid;\n margin: 16px;\n margin-bottom: 32px;\n grid-gap: 8px;\n grid-template-columns: 1fr 1fr;\n\n a {\n text-decoration: none;\n }\n }\n\n .amp__menu-header {\n display: grid;\n grid-template-columns: 1fr 1fr 1fr;\n\n > div:first-child > amp-img {\n margin-left: 1rem;\n }\n\n svg {\n margin-left: 16px;\n }\n\n > div {\n align-self: center;\n\n &:nth-child(2) {\n justify-self: center;\n }\n }\n }\n\n .logo {\n margin: 22px 0;\n\n img {\n object-fit: contain;\n }\n }\n\n .categories {\n margin: 0 16px;\n\n li {\n position: relative;\n display: block;\n width: 100%;\n\n + li {\n border-top: 1px solid\n ",";\n }\n\n &.health-tool {\n display: flex;\n align-items: center;\n\n amp-img {\n margin-right: 1rem;\n }\n + li {\n border-top: none;\n }\n\n a {\n display: flex;\n align-items: center;\n }\n }\n\n a {\n display: block;\n margin: 16px 0;\n color: ",";\n text-decoration: none;\n }\n\n &:not(.spotlight-li)::after {\n position: absolute;\n top: 50%;\n right: 0;\n content: url(\"data:image/svg+xml,%3Csvg width='6' height='10' viewBox='0 0 6 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 9L5 5L1 1' stroke='%23595959' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A\");\n }\n }\n }\n"])),(function(n){return n.theme.colors.neutral50}),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.sizes.fwBold}),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.gray800})),sr=Dt.a(tr||(tr=gn(["\n position: relative;\n margin: 0 16px 24px;\n display: block;\n text-decoration: none;\n\n svg {\n position: absolute;\n left: 12px;\n top: 12px;\n }\n\n .amp-search-input {\n border: 1px solid ",";\n height: 48px;\n border-radius: 6px;\n background-color: ",";\n padding-left: 48px;\n }\n"],["\n position: relative;\n margin: 0 16px 24px;\n display: block;\n text-decoration: none;\n\n svg {\n position: absolute;\n left: 12px;\n top: 12px;\n }\n\n .amp-search-input {\n border: 1px solid ",";\n height: 48px;\n border-radius: 6px;\n background-color: ",";\n padding-left: 48px;\n }\n"])),(function(n){return n.theme.colors.gray200}),(function(n){return n.theme.colors.white})),cr=function(e){var t=e.locale,a=e.categoriesSSR,i=e.healthToolsSSR,o=e.spotlightsSSR,r=e.serviceUrls,l=e.together,s=e.care,c=e.basePath,d=e.searchPlaceholder,p=Oe();return n.createElement(lr,null,n.createElement("amp-sidebar",{id:"discover-amp-sidebar",layout:"nodisplay",style:{width:"100vw",maxWidth:"100vw"}},n.createElement("amp-nested-menu",{layout:"fill"},n.createElement("ul",{style:{paddingBottom:24}},n.createElement("div",{className:"amp__menu-header"},n.createElement(Fo,{on:"tap:discover-amp-sidebar.close",role:"button",tabIndex:1},n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"}))),n.createElement("div",{className:"logo"},n.createElement(rn,{height:"32px",width:"121px",type:Mt.LOGO_TYPE,isAmp:!0,badge:"id-ID"===t?n.createElement("amp-img",{src:Ve,width:"56",height:"23"}):void 0})),n.createElement("div",null)),n.createElement(sr,{href:"/search"},n.createElement(rr,null),n.createElement("input",{className:"amp-search-input",type:"text",placeholder:d,readOnly:!0})),n.createElement("div",{className:"categories__spotlight"},n.createElement(Po,{on:"tap:AMP.setState({healthToolsActive: true})",className:"nav-card active","data-amp-bind-class":"healthToolsActive ? 'nav-card active' : 'nav-card not-active'",role:"button",tabIndex:1},n.createElement("amp-img",{src:Ge,width:"48",height:"48"}),n.createElement("span",null,p("home.navigator.menuItem.discover"))),n.createElement(Po,{role:"button",tabIndex:1,className:"nav-card",on:"tap:AMP.setState({healthToolsActive: false})","data-amp-bind-class":"healthToolsActive ? 'nav-card not-active' : 'nav-card active'"},n.createElement("amp-img",{src:Ze,width:"48",height:"48"}),n.createElement("span",null,p("home.navigator.menuItem.healthTools"))),l.TOGETHER_MENU_COUNTRIES_ENABLED.includes(t)&&n.createElement("a",{href:r.TOGETHER_URL_FE},n.createElement(Po,{role:"button",tabIndex:1,className:"nav-card",on:"tap:AMP.setState({healthToolsActive: false})"},n.createElement("amp-img",{src:Ye,width:"48",height:"48"}),n.createElement("span",null,p("home.navigator.menuItem.together")))),s.CARE_MENU_COUNTRIES_ENABLED.includes(t)&&n.createElement("a",{href:r.CARE_URL_FE},n.createElement(Po,{role:"button",tabIndex:1,className:"nav-card"},n.createElement("amp-img",{src:We,width:"48",height:"48"}),n.createElement("span",null,p("home.navigator.menuItem.helloCare"))))),n.createElement("ul",{className:"categories","data-amp-bind-hidden":"!healthToolsActive",style:{marginBottom:24}},n.createElement(kn,{tag:"h3",fontWeight:"bold",style:{marginBottom:24}},p("home.navigator.menuItem.discover")),a&&a.length>1&&a.map((function(e){return n.createElement("li",{key:e.name},n.createElement("a",{href:e.permalink},e.displayName))})),n.createElement("a",{style:{textDecoration:"none"},href:"".concat(r.DISCOVER_URL_FE,"/categories/")},n.createElement(Si,{key:"all-categories"},p("home.navigator.menuItem.allCategories"),n.createElement(Yi,null,n.createElement("amp-img",{src:"".concat(c,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},height:"16",width:"16",alt:p("home.navigator.menuItem.allCategories")}))))),n.createElement("ul",{className:"categories","data-amp-bind-hidden":"!healthToolsActive"},n.createElement(kn,{tag:"h3",fontWeight:"bold",style:{marginBottom:24}},p("home.navigator.menuItem.spotlights")),o&&o.length>0&&o.map((function(e){return n.createElement("li",{key:e.id,className:"spotlight-li"},n.createElement("a",{href:e.permalink},e.name))})),n.createElement("a",{style:{textDecoration:"none"},href:"".concat(r.DISCOVER_URL_FE,"/spotlight/")},n.createElement(Si,{key:"all-spotlight"},p("home.navigator.menuItem.allSpotlight"),n.createElement(Yi,null,n.createElement("amp-img",{src:"".concat(c,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},height:"16",width:"16",alt:p("home.navigator.menuItem.allSpotlight")}))))),n.createElement("ul",{className:"categories","data-amp-bind-hidden":"healthToolsActive",hidden:!0},i&&i.length>1&&i.map((function(e,t){return e.healthTools&&e.healthTools.length>0&&n.createElement(n.Fragment,{key:t},n.createElement(kn,{tag:"h4",fontWeight:"bold"},e.name),e.healthTools.map((function(e){return n.createElement("li",{key:e.title,className:"health-tool"},n.createElement("a",{href:e.link},n.createElement("amp-img",{width:"32",height:"32",src:e.icon}),n.createElement("span",null,e.title)))})))})))))))},dr="data:image/svg+xml,%3csvg width='17' height='16' viewBox='0 0 17 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M6.5 12L10.5 8L6.5 4' stroke='white' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e",pr="data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M18 6L6 18' stroke='%23262626' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3e%3cpath d='M6 6L18 18' stroke='%23262626' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e",mr="data:image/svg+xml,%3csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M10 17.5C14.1421 17.5 17.5 14.1421 17.5 10C17.5 5.85786 14.1421 2.5 10 2.5C5.85786 2.5 2.5 5.85786 2.5 10C2.5 14.1421 5.85786 17.5 10 17.5Z' stroke='%232D87F3' stroke-width='1.65' stroke-linecap='round' stroke-linejoin='round'/%3e%3cpath d='M10 13.7499V9.58325' stroke='%232D87F3' stroke-width='1.65' stroke-linecap='round' stroke-linejoin='round'/%3e%3cpath d='M10 6.25H10.0125' stroke='%232D87F3' stroke-width='1.85' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e",gr=Dt.footer(ar||(ar=gn(["\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 {\n width: 10%;\n align-self: flex-start;\n\n img {\n max-width: 100px;\n margin-bottom: 16px;\n\n "," {\n margin-bottom: 0px;\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 {\n width: 10%;\n align-self: flex-start;\n\n img {\n max-width: 100px;\n margin-bottom: 16px;\n\n "," {\n margin-bottom: 0px;\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"])),xn.mbDown,xn.mbDown,xn.mbUp,(function(n){return n.theme.colors.neutral500}),(function(n){return n.theme.colors.neutral500}),xn.mbUp,xn.mbDown,(function(n){return n.theme.colors.neutral500}),xn.mbUp,xn.mbUp,(function(n){return n.theme.colors.neutral500}),xn.mbUp,(function(n){return n.theme.colors.neutral500}),xn.mbDown,xn.mbUp,(function(n){return n.theme.colors.white}),(function(n){return n.theme.sizes.fwBold}),xn.mbDown,(function(n){return n.theme.colors.neutral500}),xn.mbDown,xn.mbUp,(function(n){return n.theme.colors.neutral500}),xn.mbDown,xn.mbUp,(function(n){return n.theme.colors.white}),(function(n){return n.theme.sizes.fwBold}),xn.mbUp),ur=Dt.div(ir||(ir=gn(["\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"]))),hr=function(e){var t=e.url,a=e.isMobile,i=e.dataEventCategory,o=e.dataEventAction,r=e.dataEventLabel;return n.createElement(ur,{"data-is-mobile":a},n.createElement("img",{className:"country-flag",src:t,alt:"Country Flag","data-event-category":i,"data-event-action":o,"data-content-label":r}))},fr=function(e){var t,a,i,o,r,l,s,d,p,m,g,u,h,f,x,v,y,b,E,w,k,C,L,M,S,T,N,z,A,B,_,D,F,P,I,H=e.className,R=e.type,j=void 0===R?"main":R,U=e.footerInfo,O=e.isMobile,V=e.locale,G=e.isAmp,Z=Oe(),Y=null==U?void 0:U.menu;return n.createElement(gr,{as:G&&"mini"===j?"div":"footer",className:H,style:"mini"===j?{backgroundColor:Sn.colors.neutral50}:{},"next-page-hide":!0},n.createElement(ln,null,n.createElement("div",{className:"inner","data-type":j,"next-page-hide":""},"main"===j?n.createElement(n.Fragment,null,n.createElement("a",{href:"/"},G?(null===(a=null==U?void 0:U.general)||void 0===a?void 0:a.logo)?n.createElement("amp-img",{src:null===(i=null==U?void 0:U.general)||void 0===i?void 0:i.logo,alt:"Site logo",width:"132",height:"32",style:{marginBottom:24}}):null:n.createElement("img",{className:"footer-logo",src:null===(t=null==U?void 0:U.general)||void 0===t?void 0:t.logo,alt:"Logo","data-is-sehat":"id-ID"===V})),n.createElement("div",{className:"columns"},n.createElement("div",{className:"newsletter"},n.createElement(c,{size:"p1",type:"bold"},null===(o=null==U?void 0:U.general)||void 0===o?void 0:o.content),n.createElement(wn,{className:"signupButton",color:"primary",size:"lg"},Z("footer.signUp")),n.createElement("div",{className:"social"},n.createElement(c,{size:"sm",type:"regular"},null===(r=null==U?void 0:U.social)||void 0===r?void 0:r.title),n.createElement("div",{className:"icons"},null===(s=null===(l=null==U?void 0:U.social)||void 0===l?void 0:l.socials)||void 0===s?void 0:s.map((function(e,t){return n.createElement("a",{key:t,"data-event-category":"Footer","data-event-action":"Follow us - ".concat(e.name),"data-content-label":e.url,href:e.url},G?n.createElement("amp-img",{"data-event-category":"Footer","data-event-action":"Follow us - ".concat(e.name),"data-content-label":e.url,src:e.icon,alt:"Logo Social",width:"32",height:"32"}):n.createElement("img",{"data-event-category":"Footer","data-event-action":"Follow us - ".concat(e.name),"data-content-label":e.url,src:e.icon,alt:"Logo Social",className:"social-icon"}))}))),n.createElement("hr",{className:"hrMobile"}))),n.createElement("div",null,Y&&n.createElement(n.Fragment,null,n.createElement("div",{className:"biglinks"},null===(p=null===(d=Y[0])||void 0===d?void 0:d.items)||void 0===p?void 0:p.map((function(e,t){return n.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":"https://".concat(Tt[V]).concat(e.url),className:"bigLink",key:t,href:e.url},e.title)}))),n.createElement("hr",{className:"hrMobile"}),n.createElement("div",{className:"mHalf"},n.createElement(c,{type:"regular",size:"sm",className:"linkTitle"},null===(m=Y[1])||void 0===m?void 0:m.menu_title),null===(u=null===(g=Y[1])||void 0===g?void 0:g.items)||void 0===u?void 0:u.map((function(e,t){return n.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":"https://".concat(Tt[V]).concat(e.url),className:"link",href:e.url,key:t},n.createElement(c,{size:"sm",type:"regular",dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:"https://".concat(Tt[V]).concat(e.url)},e.title))}))),n.createElement("div",{className:"mHalf"},n.createElement(c,{type:"regular",size:"sm",className:"linkTitle"},null===(h=Y[2])||void 0===h?void 0:h.menu_title),null===(x=null===(f=Y[2])||void 0===f?void 0:f.items)||void 0===x?void 0:x.map((function(e,t){return e.url&&n.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":e.url,className:"link",href:e.url,key:t},n.createElement(c,{size:"sm",type:"regular",dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:e.url},e.title))})))),!G&&n.createElement(n.Fragment,null,n.createElement("hr",{className:"hrMobile"}),n.createElement("div",{className:"otherSites"},n.createElement(c,{type:"regular",size:"sm",className:"linkTitle"},null===(v=null==U?void 0:U.branch)||void 0===v?void 0:v.title),n.createElement("div",{className:"flags"},null===(b=null===(y=null==U?void 0:U.branch)||void 0===y?void 0:y.branch)||void 0===b?void 0:b.map((function(e,t){return n.createElement("a",{className:"link",href:e.url,key:t,"data-event-category":"Footer","data-event-action":e.name,"data-event-label":e.url},n.createElement(hr,{url:e.flag,isMobile:O,dataEventCategory:"Footer",dataEventAction:e.name,dataEventLabel:e.url}))}))))))),n.createElement("hr",null),n.createElement("div",{className:"copyright","data-is-amp":G||void 0},(null===(E=null==U?void 0:U.general)||void 0===E?void 0:E.verified)&&n.createElement("a",{href:null===(k=null===(w=null==U?void 0:U.general)||void 0===w?void 0:w.verified[0])||void 0===k?void 0:k.url,className:"copyright-image"},G?n.createElement("amp-img",{src:null===(L=null===(C=null==U?void 0:U.general)||void 0===C?void 0:C.verified[0])||void 0===L?void 0:L.image,alt:"DMCA Icon",width:"100",height:"36"}):n.createElement("img",{src:null===(S=null===(M=null==U?void 0:U.general)||void 0===M?void 0:M.verified[0])||void 0===S?void 0:S.image,alt:"DMCA Icon"})),n.createElement(c,{size:"xs",type:"regular",className:"copyright-content"},null===(T=null==U?void 0:U.general)||void 0===T?void 0:T.copyright)),"vi-VN"===V&&n.createElement(c,{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")):n.createElement(n.Fragment,null,(null==U?void 0:U.menu)&&n.createElement("div",{className:"columns"},n.createElement("div",{className:"mHalf"},n.createElement(c,{type:"regular",size:"sm",className:"linkTitle"},null===(N=null==U?void 0:U.menu[1])||void 0===N?void 0:N.menu_title),null===(A=null===(z=null==U?void 0:U.menu[1])||void 0===z?void 0:z.items)||void 0===A?void 0:A.map((function(e){return n.createElement("a",{className:"link",href:e.url,key:e.title,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Information","data-content-title":e.title,"data-content-id":"https://".concat(Tt[V]).concat(e.url),"data-event-category":"Footer","data-event-action":e.title,"data-event-label":"https://".concat(Tt[V]).concat(e.url)},n.createElement(c,{dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:"https://".concat(Tt[V]).concat(e.url),size:"sm",type:"regular",style:{color:Sn.colors.gray800}},e.title))}))),n.createElement("div",{className:"mHalf"},n.createElement(c,{type:"regular",size:"sm",className:"linkTitle"},null===(B=null==U?void 0:U.menu[2])||void 0===B?void 0:B.menu_title),null===(D=null===(_=null==U?void 0:U.menu[2])||void 0===_?void 0:_.items)||void 0===D?void 0:D.map((function(e,t){return n.createElement("a",{className:"link",href:e.url,key:t,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Hello Health","data-content-title":e.title,"data-content-id":e.url,"data-event-category":"Footer","data-event-action":e.title,"data-event-label":e.url},n.createElement(c,{size:"sm",type:"regular",style:{color:Sn.colors.gray800},dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:e.url},e.title))}))),!G&&"mini"!==j&&n.createElement("hr",{className:"hrMobile"}),n.createElement("div",{className:"newsletter"},n.createElement("div",{className:"social"},n.createElement(c,{size:"sm",type:"regular"},null===(F=null==U?void 0:U.social)||void 0===F?void 0:F.title),n.createElement("div",{className:"icons"},null===(I=null===(P=null==U?void 0:U.social)||void 0===P?void 0:P.socials)||void 0===I?void 0:I.map((function(e,t){return n.createElement("a",{key:t,"data-event-category":"Footer","data-event-action":"Follow us - ".concat(e.name),"data-content-label":e.url,href:e.url},G?n.createElement("amp-img",{"data-event-category":"Footer","data-event-action":"Follow us - ".concat(e.name),"data-content-label":e.url,src:e.icon,alt:"Logo Social",width:"32",height:"32"}):n.createElement("img",{"data-event-category":"Footer","data-event-action":"Follow us - ".concat(e.name),"data-content-label":e.url,src:e.icon,alt:"Logo Social",className:"social-icon"}))}))))))))))};Dt((function(e){var t=e.type,a=mn(e,["type"]);return n.createElement(t,a)}))(xr||(xr=gn(["\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(n){return n.theme.mbColors.dark}));var xr,vr,yr=Dt.p(vr||(vr=gn(["\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(n){return n.theme.mbColors.dark})),br=function(e){var t=e.type,a=e.color,i=e.style,o=mn(e,["type","color","style"]);return n.createElement(yr,dn({"data-type":t,style:dn(dn({},i),a&&{"--text-color":a})},o))};Dt.footer(Er||(Er=gn(["\n position: relative;\n background: ",";\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: 0;\n }\n }\n\n .footer-logo {\n max-width: 132px;\n margin-bottom: 24px;\n }\n\n .social {\n margin-top: 24px;\n\n "," {\n margin-top: 32px;\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\n .newsletter {\n > p {\n color: ",";\n\n font-size: 14px;\n line-height: 22px;\n\n "," {\n max-width: 380px;\n font-size: 19px;\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 p {\n color: ",";\n }\n\n img {\n max-width: 100px;\n margin-bottom: 16px;\n\n "," {\n margin-bottom: 0px;\n }\n }\n\n &[data-is-amp='true'] {\n img {\n margin-bottom: 0;\n }\n }\n }\n\n .biglinks {\n margin-bottom: 12px;\n }\n\n .bigLink {\n display: block;\n color: ",";\n font-size: 19px;\n font-weight: ",";\n text-decoration: none;\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 margin-bottom: 12px;\n color: ",";\n }\n\n "," {\n margin-bottom: 8px;\n }\n }\n\n .otherSites {\n p {\n margin-bottom: 12px;\n color: ",";\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 }\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 {\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 position: relative;\n background: ",";\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: 0;\n }\n }\n\n .footer-logo {\n max-width: 132px;\n margin-bottom: 24px;\n }\n\n .social {\n margin-top: 24px;\n\n "," {\n margin-top: 32px;\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\n .newsletter {\n > p {\n color: ",";\n\n font-size: 14px;\n line-height: 22px;\n\n "," {\n max-width: 380px;\n font-size: 19px;\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 p {\n color: ",";\n }\n\n img {\n max-width: 100px;\n margin-bottom: 16px;\n\n "," {\n margin-bottom: 0px;\n }\n }\n\n &[data-is-amp='true'] {\n img {\n margin-bottom: 0;\n }\n }\n }\n\n .biglinks {\n margin-bottom: 12px;\n }\n\n .bigLink {\n display: block;\n color: ",";\n font-size: 19px;\n font-weight: ",";\n text-decoration: none;\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 margin-bottom: 12px;\n color: ",";\n }\n\n "," {\n margin-bottom: 8px;\n }\n }\n\n .otherSites {\n p {\n margin-bottom: 12px;\n color: ",";\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 }\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 {\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"])),(function(n){return n.theme.mbColors.lightGray}),xn.mbDown,xn.mbDown,(function(n){return n.theme.colors.white}),(function(n){return n.theme.colors.neutral500}),xn.mbUp,xn.mbDown,(function(n){return n.theme.colors.neutral500}),xn.mbUp,xn.mbUp,(function(n){return n.theme.colors.white}),xn.mbUp,(function(n){return n.theme.colors.white}),(function(n){return n.theme.sizes.fwBold}),xn.mbDown,(function(n){return n.theme.colors.neutral500}),xn.mbDown,(function(n){return n.theme.colors.neutral500}),(function(n){return n.theme.colors.white}),(function(n){return n.theme.sizes.fwBold}),xn.mbUp);var Er,wr,kr,Cr,Lr,Mr,Sr,Tr,Nr,zr,Ar,Br,_r,Dr,Fr,Pr,Ir,Hr,Rr,jr,Ur,Or,Vr,Gr,Zr,Yr=Dt.div(wr||(wr=gn([""],[""]))),Wr=Dt.div(kr||(kr=gn(["\n position: relative;\n overflow: hidden;\n padding: 40px 40px 100px 40px;\n\n .icons-links {\n position: relative;\n display: flex;\n justify-content: space-between;\n }\n"],["\n position: relative;\n overflow: hidden;\n padding: 40px 40px 100px 40px;\n\n .icons-links {\n position: relative;\n display: flex;\n justify-content: space-between;\n }\n"]))),Qr=Dt.div(Cr||(Cr=gn(["\n position: relative;\n margin: 80px 0 0;\n\n "," {\n margin-top: 0px;\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: #f3f3f3;\n content: '';\n transform: translateX(-50%);\n border-radius: 100% 100% 0 0 / 30% 30%;\n }\n }\n"],["\n position: relative;\n margin: 80px 0 0;\n\n "," {\n margin-top: 0px;\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: #f3f3f3;\n content: '';\n transform: translateX(-50%);\n border-radius: 100% 100% 0 0 / 30% 30%;\n }\n }\n"])),xn.mbDown),qr=Dt.div(Lr||(Lr=gn(["\n position: relative;\n padding: 0 16px;\n\n "," {\n padding: 48px 8px 0;\n }\n\n & .grid {\n display: flex;\n flex-wrap: wrap;\n margin: -8px;\n\n & > * {\n display: inline-block;\n flex: 0 0 25%;\n padding: 8px;\n color: ",";\n text-decoration: none;\n }\n\n "," {\n & > * {\n flex: 0 0 100%;\n text-align: center;\n }\n }\n }\n\n & .social-wrapper {\n margin-left: auto;\n }\n\n & .social {\n "," {\n & .icons-links {\n margin-top: 16px;\n\n & > a:not(:first-child) {\n margin-left: 10%;\n }\n\n & > a {\n text-decoration: none;\n }\n }\n }\n\n "," {\n width: 100%;\n display: flex;\n background: #fff;\n box-shadow: 0px 0px 24px rgba(0, 0, 0, 0.05);\n border-radius: 8px;\n padding: 20px 16px;\n align-items: center;\n max-width: 400px;\n margin: 32px auto 0px;\n\n & > p {\n font-size: 12px;\n line-height: 20px;\n }\n\n & .icons-links {\n margin-left: 8%;\n flex: 1;\n display: inline-flex;\n justify-content: space-between;\n }\n }\n\n & .icons-links {\n & > a {\n & > img {\n width: 24px;\n object-fit: contain;\n }\n }\n }\n }\n"],["\n position: relative;\n padding: 0 16px;\n\n "," {\n padding: 48px 8px 0;\n }\n\n & .grid {\n display: flex;\n flex-wrap: wrap;\n margin: -8px;\n\n & > * {\n display: inline-block;\n flex: 0 0 25%;\n padding: 8px;\n color: ",";\n text-decoration: none;\n }\n\n "," {\n & > * {\n flex: 0 0 100%;\n text-align: center;\n }\n }\n }\n\n & .social-wrapper {\n margin-left: auto;\n }\n\n & .social {\n "," {\n & .icons-links {\n margin-top: 16px;\n\n & > a:not(:first-child) {\n margin-left: 10%;\n }\n\n & > a {\n text-decoration: none;\n }\n }\n }\n\n "," {\n width: 100%;\n display: flex;\n background: #fff;\n box-shadow: 0px 0px 24px rgba(0, 0, 0, 0.05);\n border-radius: 8px;\n padding: 20px 16px;\n align-items: center;\n max-width: 400px;\n margin: 32px auto 0px;\n\n & > p {\n font-size: 12px;\n line-height: 20px;\n }\n\n & .icons-links {\n margin-left: 8%;\n flex: 1;\n display: inline-flex;\n justify-content: space-between;\n }\n }\n\n & .icons-links {\n & > a {\n & > img {\n width: 24px;\n object-fit: contain;\n }\n }\n }\n }\n"])),xn.mbDown,(function(n){return n.theme.colors.gray800}),xn.mbDown,xn.mbUp,xn.mbDown),Kr=Dt.div(Mr||(Mr=gn(["\n position: relative;\n\n "," {\n margin: 80px 0 0;\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: #f3f3f3;\n border-radius: 2150px 2150px 0 0 / 200px 200px 0 0;\n content: '';\n transform: translateX(-50%);\n }\n }\n\n "," {\n background-color: #f3f3f3;\n }\n"],["\n position: relative;\n\n "," {\n margin: 80px 0 0;\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: #f3f3f3;\n border-radius: 2150px 2150px 0 0 / 200px 200px 0 0;\n content: '';\n transform: translateX(-50%);\n }\n }\n\n "," {\n background-color: #f3f3f3;\n }\n"])),xn.mbUp,xn.mbDown),Jr=Dt.div(Sr||(Sr=gn(["\n position: relative;\n padding: 64px 16px 154px;\n text-align: center;\n\n "," {\n padding: 48px 8px 32px;\n }\n\n & .company-name {\n margin-top: 24px;\n }\n\n .logo {\n justify-content: center;\n }\n\n & .text-info {\n margin-top: 8px;\n > p {\n margin-bottom: 8px;\n }\n "," {\n text-align: left;\n margin-top: 16px;\n }\n }\n\n & .img-container {\n display: flex;\n max-width: 176px;\n height: 24px;\n justify-content: space-between;\n margin: 24px auto 0;\n\n "," {\n height: 32px;\n max-width: unset;\n justify-content: space-around;\n }\n\n img {\n width: unset;\n height: 100%;\n object-fit: contain;\n }\n }\n\n & > hr {\n border-color: ",";\n margin: 64px 0 18px;\n opacity: 0.1;\n }\n\n & .language-and-copyright {\n display: flex;\n justify-content: center;\n\n "," {\n margin-top: 60px;\n }\n\n & #footer-language-select {\n width: 100%;\n max-width: 114px;\n\n &[data-dropdown-open='true'] > div:after {\n transform: translateY(-60%) rotateZ(-180deg);\n }\n\n "," {\n order: 1;\n }\n\n & > div {\n padding: 0;\n\n & > div > svg {\n max-width: 22px;\n margin-right: 8px;\n transform: translateY(1px);\n }\n\n & > span {\n font-size: 12px;\n letter-spacing: -0.2px;\n line-height: 24px;\n }\n }\n\n & > ul[data-has-icons='true'] {\n width: 158px;\n max-width: 158px;\n border: none;\n border-radius: 4px;\n box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.08);\n\n "," {\n margin-top: 0;\n left: unset;\n right: 0;\n top: unset;\n bottom: 32px;\n }\n\n & li {\n font-size: 12px;\n letter-spacing: -0.2px;\n line-height: 24px;\n\n & > div {\n max-width: 22px;\n & svg {\n width: 22px;\n max-width: 22px;\n transform: translateY(3px);\n }\n }\n }\n }\n }\n\n & > p {\n color: ",";\n }\n }\n"],["\n position: relative;\n padding: 64px 16px 154px;\n text-align: center;\n\n "," {\n padding: 48px 8px 32px;\n }\n\n & .company-name {\n margin-top: 24px;\n }\n\n .logo {\n justify-content: center;\n }\n\n & .text-info {\n margin-top: 8px;\n > p {\n margin-bottom: 8px;\n }\n "," {\n text-align: left;\n margin-top: 16px;\n }\n }\n\n & .img-container {\n display: flex;\n max-width: 176px;\n height: 24px;\n justify-content: space-between;\n margin: 24px auto 0;\n\n "," {\n height: 32px;\n max-width: unset;\n justify-content: space-around;\n }\n\n img {\n width: unset;\n height: 100%;\n object-fit: contain;\n }\n }\n\n & > hr {\n border-color: ",";\n margin: 64px 0 18px;\n opacity: 0.1;\n }\n\n & .language-and-copyright {\n display: flex;\n justify-content: center;\n\n "," {\n margin-top: 60px;\n }\n\n & #footer-language-select {\n width: 100%;\n max-width: 114px;\n\n &[data-dropdown-open='true'] > div:after {\n transform: translateY(-60%) rotateZ(-180deg);\n }\n\n "," {\n order: 1;\n }\n\n & > div {\n padding: 0;\n\n & > div > svg {\n max-width: 22px;\n margin-right: 8px;\n transform: translateY(1px);\n }\n\n & > span {\n font-size: 12px;\n letter-spacing: -0.2px;\n line-height: 24px;\n }\n }\n\n & > ul[data-has-icons='true'] {\n width: 158px;\n max-width: 158px;\n border: none;\n border-radius: 4px;\n box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.08);\n\n "," {\n margin-top: 0;\n left: unset;\n right: 0;\n top: unset;\n bottom: 32px;\n }\n\n & li {\n font-size: 12px;\n letter-spacing: -0.2px;\n line-height: 24px;\n\n & > div {\n max-width: 22px;\n & svg {\n width: 22px;\n max-width: 22px;\n transform: translateY(3px);\n }\n }\n }\n }\n }\n\n & > p {\n color: ",";\n }\n }\n"])),xn.mbDown,xn.mbDown,xn.mbDown,(function(n){return n.theme.mbColors.midGray}),xn.mbDown,xn.mbDown,xn.mbDown,(function(n){return n.theme.mbColors.midGray})),Xr=Dt.div(Tr||(Tr=gn(["\n position: absolute;\n top: 0;\n right: -50%;\n width: 400px;\n height: 400px;\n background-color: #f2fcf7;\n border-radius: 50%;\n"],["\n position: absolute;\n top: 0;\n right: -50%;\n width: 400px;\n height: 400px;\n background-color: #f2fcf7;\n border-radius: 50%;\n"]))),$r=function(e){var t,a=e.socialLinks,i=void 0===a?zt.SOCIAL_LINKS:a,o=i.facebookLink,r=i.instagramLink,l=i.zaloLink,s=i.youtubeLink,c=e.copyrightText,d=e.logoType,p=void 0===d?"marryBaby":d,m=e.isMobile,g=e.footerMenu,u=void 0===g?[]:g,h=e.type,f=void 0===h?"main":h,x=Oe();return"main"===f?n.createElement(Yr,{className:"footer-container"},!m&&n.createElement("div",{className:"footer-divider"},n.createElement(ln,{type:"marryBaby"},n.createElement(yt,{style:{padding:"0 16px"},type:"solid"}))),n.createElement(Qr,null,n.createElement(ln,{type:"marryBaby"},n.createElement(qr,null,n.createElement("div",{className:"grid"},null===(t=m?null==u?void 0:u.slice(0,6):u)||void 0===t?void 0:t.map((function(e,t){var a=e.title,i=e.link;return n.createElement("a",{"data-event-category":"Footer","data-event-action":a,"data-event-label":"".concat(i),className:"link",href:i,key:"footer-links-".concat(t)},n.createElement(br,{color:Sn.colors.gray800,type:"subtitle-2"},a))})),n.createElement("div",{className:"social-wrapper"},n.createElement("div",{className:"social"},n.createElement(br,{type:"subtitle-2"},x("footer.followUsText")),n.createElement("div",{className:"icons-links"},o&&n.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Facebook","data-content-label":o,href:o},n.createElement("img",{src:$t,alt:"Facebook"})),s&&n.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Youtube","data-event-label":s,href:s},n.createElement("img",{src:ia,alt:"Youtube"})),r&&n.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Instagram","data-content-label":r,href:r},n.createElement("img",{src:na,alt:"Instagram"})),l&&n.createElement("a",{target:"_blank",rel:"noreferrer",href:l,"data-event-category":"Footer","data-event-action":"Follow us - Zalo","data-event-label":l},n.createElement("img",{src:oa,alt:"Zalo"}))))))))),n.createElement(Kr,null,n.createElement(ln,{type:"marryBaby"},n.createElement(Jr,null,n.createElement(rn,{className:"logo",type:p,width:"121px"}),n.createElement(br,{className:"company-name",type:"subtitle-2"},x("footer.info.companyName")),n.createElement("div",{className:"text-info"},n.createElement(br,{type:"bodytext-3"},x("footer.info.address")),n.createElement(br,{type:"bodytext-3"},x("footer.info.license")),n.createElement(br,{type:"bodytext-3"},x("footer.info.email"))),n.createElement("div",{className:"img-container"},n.createElement("img",{src:"/images/dmca_protected.png",alt:"DMCA protected"}),n.createElement("a",{href:"http://online.gov.vn/Home/WebDetails/25055?AspxAutoDetectCookieSupport=1",target:"_blank",rel:"noreferrer"},n.createElement("img",{src:"/images/mit_registered.png",alt:"MIT registered"}))),!m&&n.createElement(yt,{type:"solid"}),n.createElement("div",{className:"language-and-copyright"},n.createElement(br,{type:"bodytext-3"},c)))))):n.createElement(Wr,null,n.createElement(Xr,null),n.createElement(br,{type:"subtitle-3",style:{marginBottom:24,textTransform:"uppercase",fontWeight:Sn.sizes.fwSemiBold},color:Sn.mbColors.midGray},x("footer.followUsText")),n.createElement("div",{className:"icons-links"},o&&n.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Facebook","data-content-label":o,href:o},n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M21 5.75V18.25C21 19.765 19.765 21 18.25 21H15.5V14H17.31C17.565 14 17.78 13.81 17.81 13.56L17.995 12.06C18.015 11.92 17.97 11.775 17.875 11.67C17.78 11.56 17.645 11.5 17.5 11.5H15.5V9.75C15.5 9.2 15.95 8.75 16.5 8.75H17.5C17.775 8.75 18 8.525 18 8.25V6.56C18 6.305 17.8 6.09 17.545 6.065C17.515 6.06 16.81 6 15.915 6C13.715 6 12.5 7.31 12.5 9.685V11.5H10.5C10.225 11.5 10 11.725 10 12V13.5C10 13.775 10.225 14 10.5 14H12.5V21H5.75C4.235 21 3 19.765 3 18.25V5.75C3 4.235 4.235 3 5.75 3H18.25C19.765 3 21 4.235 21 5.75Z",fill:"url(#paint0_linear)"}),n.createElement("defs",null,n.createElement("linearGradient",{id:"paint0_linear",x1:"12",y1:"3",x2:"12",y2:"21",gradientUnits:"userSpaceOnUse"},n.createElement("stop",{stopColor:"#4DABF7"}),n.createElement("stop",{offset:"1",stopColor:"#2668DA"}))))),s&&n.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Youtube","data-event-label":s,href:s},n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M11.9287 4.25C8.75236 4.25 5.80117 4.47631 4.11719 4.82812C4.1136 4.82907 4.11002 4.83005 4.10645 4.83105C2.83774 5.11535 1.64309 6.02412 1.3916 7.44727L1.39062 7.45312C1.19742 8.60013 1 10.0953 1 12.25C1 14.4006 1.1981 15.8562 1.44238 17.0635C1.70004 18.4446 2.86711 19.3809 4.15527 19.6689C4.16144 19.6707 4.16762 19.6723 4.17383 19.6738C5.93135 20.0201 8.79923 20.25 11.9756 20.25C15.1519 20.25 18.0213 20.0201 19.7793 19.6738C19.7855 19.6723 19.7917 19.6707 19.7979 19.6689C21.0666 19.3847 22.2612 18.4759 22.5127 17.0527C22.5134 17.0492 22.514 17.0456 22.5146 17.042C22.7049 15.8716 22.9514 14.3778 23 12.2197C23.0001 12.2142 23.0001 12.2087 23 12.2031C23 10.0438 22.7529 8.53934 22.5117 7.34766C22.2561 5.96354 21.0877 5.02474 19.7979 4.73633C19.7781 4.73195 19.7583 4.72836 19.7383 4.72559C18.0232 4.48448 15.1056 4.25 11.9287 4.25ZM10.0781 8.50098C10.2633 8.49715 10.4548 8.54095 10.6348 8.64258L14.9365 11.0732C15.662 11.4832 15.662 12.5177 14.9365 12.9277L10.6348 15.3584C9.91527 15.7644 9.01855 15.2502 9.01855 14.4307V9.56934C9.01855 8.95471 9.52252 8.51246 10.0781 8.50098Z",fill:"#EB3223"}))),r&&n.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Instagram","data-content-label":r,href:r},n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M8.25 2.5C5.08319 2.5 2.5 5.08319 2.5 8.25V15.75C2.5 18.9164 5.0831 21.5 8.25 21.5H15.75C18.9165 21.5 21.5 18.9165 21.5 15.75V8.25C21.5 5.0831 18.9164 2.5 15.75 2.5H8.25ZM8.25 4H15.75C18.1056 4 20 5.8939 20 8.25V15.75C20 18.1055 18.1055 20 15.75 20H8.25C5.8939 20 4 18.1056 4 15.75V8.25C4 5.89381 5.89381 4 8.25 4ZM17 6C16.4475 6 16 6.4475 16 7C16 7.5525 16.4475 8 17 8C17.5525 8 18 7.5525 18 7C18 6.4475 17.5525 6 17 6ZM12 7C9.24759 7 7 9.24759 7 12C7 14.7524 9.24759 17 12 17C14.7524 17 17 14.7524 17 12C17 9.24759 14.7524 7 12 7ZM12 8.5C13.9416 8.5 15.5 10.0584 15.5 12C15.5 13.9416 13.9416 15.5 12 15.5C10.0584 15.5 8.5 13.9416 8.5 12C8.5 10.0584 10.0584 8.5 12 8.5Z",fill:"url(#paint0_radial)"}),n.createElement("defs",null,n.createElement("radialGradient",{id:"paint0_radial",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(0.499995 26) rotate(-47.9508) scale(34.3402 30.014)"},n.createElement("stop",{offset:"0.073",stopColor:"#EACC7B"}),n.createElement("stop",{offset:"0.184",stopColor:"#ECAA59"}),n.createElement("stop",{offset:"0.307",stopColor:"#EF802E"}),n.createElement("stop",{offset:"0.358",stopColor:"#EF6D3A"}),n.createElement("stop",{offset:"0.46",stopColor:"#F04B50"}),n.createElement("stop",{offset:"0.516",stopColor:"#F03E58"}),n.createElement("stop",{offset:"0.689",stopColor:"#DB359E"}),n.createElement("stop",{offset:"0.724",stopColor:"#CE37A4"}),n.createElement("stop",{offset:"0.789",stopColor:"#AC3CB4"}),n.createElement("stop",{offset:"0.877",stopColor:"#7544CF"}),n.createElement("stop",{offset:"0.98",stopColor:"#2B4FF2"}))))),l&&n.createElement("a",{target:"_blank",rel:"noreferrer",href:l,"data-event-category":"Footer","data-event-action":"Follow us - Zalo","data-event-label":l},n.createElement("div",{style:{height:24,width:24}},n.createElement("img",{src:"/icons/zalo.png",alt:"Zalo"})))))},nl=function(e){var t,a,i,o,r,l,s,c,d,p,m,g=e.type,u=e.isMobile,h=void 0===u||u,f=e.locale,x=e.footerInfo,v=e.isAmp,y=e.siteType,b=e.ampNextArticle,E=e.routerQuery;return"helloSites"===y?n.createElement(n.Fragment,null,v&&(null!==(a=null===(t=null==E?void 0:E.slug)||void 0===t?void 0:t.length)&&void 0!==a?a:"")>1&&n.createElement("amp-next-page",null,n.createElement("script",{type:"application/json",dangerouslySetInnerHTML:{__html:'\n [\n {\n "image": "'.concat(null===(i=null==b?void 0:b.articleOne)||void 0===i?void 0:i.image,'",\n "title": ').concat(JSON.stringify(null===(o=null==b?void 0:b.articleOne)||void 0===o?void 0:o.title),',\n "url": "').concat(null===(r=null==b?void 0:b.articleOne)||void 0===r?void 0:r.link,'"\n },\n {\n "image": "').concat(null===(l=null==b?void 0:b.articleTwo)||void 0===l?void 0:l.image,'",\n "title": ').concat(JSON.stringify(null===(s=null==b?void 0:b.articleTwo)||void 0===s?void 0:s.title),',\n "url": "').concat(null===(c=null==b?void 0:b.articleTwo)||void 0===c?void 0:c.link,'"\n },\n {\n "image": "').concat(null===(d=null==b?void 0:b.articleThree)||void 0===d?void 0:d.image,'",\n "title": ').concat(JSON.stringify(null===(p=null==b?void 0:b.articleThree)||void 0===p?void 0:p.title),',\n "url": "').concat(null===(m=null==b?void 0:b.articleThree)||void 0===m?void 0:m.link,'"\n }\n ]\n ')}}),n.createElement("div",dn({},{separator:""},{className:"amp-page-seperator",style:{color:"#8C8C8C",textTransform:"uppercase",fontSize:11,fontWeight:700,marginLeft:16}}),"Next article:")),n.createElement(fr,{isAmp:v,isMobile:h,type:g,locale:f,footerInfo:x||{}})):n.createElement($r,{isMobile:h,locale:f,footerMenu:x||[],copyrightText:"© 2022 MarryBaby.vn",socialLinks:e.marryBabySocialLinks,type:g})},el=Dt.div(Nr||(Nr=gn(["\n width: 100vw;\n"],["\n width: 100vw;\n"]))),tl=Dt.div(zr||(zr=gn(["\n @keyframes menuLeftToRightTrans {\n from {\n margin-left: -300%;\n opacity: 0;\n }\n to {\n margin-left: 0;\n opacity: 1;\n }\n }\n\n @keyframes menuRightToLeftTrans {\n from {\n margin-right: -300%;\n opacity: 0;\n }\n to {\n margin-right: 0;\n opacity: 1;\n }\n }\n\n @keyframes leftAppears {\n from {\n left: -50%;\n opacity: 0;\n }\n to {\n left: 0;\n opacity: 1;\n }\n }\n\n @keyframes leftDisappears {\n from {\n left: 0;\n opacity: 1;\n }\n to {\n left: -50%;\n opacity: 0;\n }\n }\n\n @keyframes rightAppears {\n from {\n right: -50%;\n opacity: 0;\n }\n to {\n right: 0;\n opacity: 1;\n }\n }\n\n @keyframes rightDisappears {\n from {\n right: 0;\n opacity: 1;\n }\n to {\n right: -50%;\n opacity: 0;\n }\n }\n\n @keyframes expandingTopToBottom {\n from {\n margin-top: -100%;\n opacity: 0;\n }\n to {\n margin-top: 0;\n opacity: 1;\n }\n }\n\n @keyframes collapsingBottomToTop {\n from {\n margin-top: 0;\n opacity: 1;\n }\n to {\n margin-top: -100%;\n opacity: 0;\n }\n }\n\n width: 100%;\n\n ","\n\n background-color: ",";\n\n &[data-menu-opened='true'] {\n visibility: hidden;\n }\n"],["\n @keyframes menuLeftToRightTrans {\n from {\n margin-left: -300%;\n opacity: 0;\n }\n to {\n margin-left: 0;\n opacity: 1;\n }\n }\n\n @keyframes menuRightToLeftTrans {\n from {\n margin-right: -300%;\n opacity: 0;\n }\n to {\n margin-right: 0;\n opacity: 1;\n }\n }\n\n @keyframes leftAppears {\n from {\n left: -50%;\n opacity: 0;\n }\n to {\n left: 0;\n opacity: 1;\n }\n }\n\n @keyframes leftDisappears {\n from {\n left: 0;\n opacity: 1;\n }\n to {\n left: -50%;\n opacity: 0;\n }\n }\n\n @keyframes rightAppears {\n from {\n right: -50%;\n opacity: 0;\n }\n to {\n right: 0;\n opacity: 1;\n }\n }\n\n @keyframes rightDisappears {\n from {\n right: 0;\n opacity: 1;\n }\n to {\n right: -50%;\n opacity: 0;\n }\n }\n\n @keyframes expandingTopToBottom {\n from {\n margin-top: -100%;\n opacity: 0;\n }\n to {\n margin-top: 0;\n opacity: 1;\n }\n }\n\n @keyframes collapsingBottomToTop {\n from {\n margin-top: 0;\n opacity: 1;\n }\n to {\n margin-top: -100%;\n opacity: 0;\n }\n }\n\n width: 100%;\n\n ","\n\n background-color: ",";\n\n &[data-menu-opened='true'] {\n visibility: hidden;\n }\n"])),(function(n){return n.hasStickyBottomBar&&"padding-bottom: 80px;"}),(function(n){return n.theme.colors.white})),al=Dt.div(Ar||(Ar=gn(["\n width: 100%;\n padding-bottom: 80px;\n\n background-color: ",";\n\n &[data-is-mobile='false'] {\n margin-top: 69px;\n &[data-sponsored='true'] {\n margin-top: 110px;\n &[data-sitewide='true'] {\n margin-top: 173px;\n }\n }\n &[data-sitewide='true'] {\n margin-top: 133px;\n }\n }\n &[data-is-mobile='true'] {\n &[data-sitewide='true'],\n &[data-sponsored='true'] {\n margin-top: 60px;\n }\n }\n\n &[data-menu-opened='true'] {\n visibility: hidden;\n }\n"],["\n width: 100%;\n padding-bottom: 80px;\n\n background-color: ",";\n\n &[data-is-mobile='false'] {\n margin-top: 69px;\n &[data-sponsored='true'] {\n margin-top: 110px;\n &[data-sitewide='true'] {\n margin-top: 173px;\n }\n }\n &[data-sitewide='true'] {\n margin-top: 133px;\n }\n }\n &[data-is-mobile='true'] {\n &[data-sitewide='true'],\n &[data-sponsored='true'] {\n margin-top: 60px;\n }\n }\n\n &[data-menu-opened='true'] {\n visibility: hidden;\n }\n"])),(function(n){return n.theme.colors.white})),il=Dt.div(Br||(Br=gn(["\n display: flex;\n align-items: center;\n gap: 8px;\n"],["\n display: flex;\n align-items: center;\n gap: 8px;\n"]))),ol=Dt.a(_r||(_r=gn(["\n &[data-is-active='true'] {\n color: unset;\n }\n font-size: 14px;\n font-weight: 700;\n line-height: 22px;\n text-decoration: none;\n"],["\n &[data-is-active='true'] {\n color: unset;\n }\n font-size: 14px;\n font-weight: 700;\n line-height: 22px;\n text-decoration: none;\n"]))),rl=function(e){var t,a,i,o,r,l,s,c,d,p,m,g,u,h,f,x,v,y,b,E=e.children,w=e.SEOData,k=void 0===w?{}:w,C=e.isAmp,L=void 0!==C&&C,M=e.locale,S=void 0===M?"vi-VN":M,T=e.routerPathname,N=e.routerQuery,z=e.nextHead,A=e.siteType,B=e.seoCustom,_=e.userId,D=e.forcedCanonicalUrl,F=e.usingDefaultHead,P="production"===process.env.NEXT_PUBLIC_DEPLOY_ENV,I=k.totalPages,H=k.currentPage,R=k.SEOTitle,j=void 0===R?"":R,U=k.SEODescription,O=void 0===U?"":U,V=k.SEOImage,G=k.seoType,Z=k.SEOImageWidth,Y=k.SEOImageHeight,W=k.customMetaData,Q=void 0===W?[]:W,q=k.isIndexable,K=void 0===q||q,J=k.hasNoCanonical,X=void 0!==J&&J,$=K&&P?"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1":"noindex",nn=process.env.NEXT_PUBLIC_BASE_API_URL,en=k.canonicalUrl||T;Object.keys(N).forEach((function(n){var e=N[n];e&&Array.isArray(e)&&(en=en.replace("[...".concat(n,"]"),e.join("/")))}));var tn,an=S||"en-PH",on="helloSites"===A?Tt[an]:"www.marrybaby.vn",rn=en.endsWith("/")?"":"/";if(k.apiMetaData&&"string"==typeof k.apiMetaData){var ln=null===(t=k.apiMetaData)||void 0===t?void 0:t.match(/<title.*?>(.*)<\/title>/),sn=" - Page ".concat(H," of ").concat(I),cn=H&&1!==H&&ln?k.apiMetaData.replace(ln[0],ln[0].includes("-")?ln[0].replace("-",sn+" - "):"<title>".concat(ln[1].concat(sn),"</title>")).replace('<link rel="canonical" href="https://'.concat(on).concat(en).concat(rn,'" />'),'<link rel="canonical" href="https://'.concat(on).concat(en).concat(rn,"?page=").concat(H,'" />')):k.apiMetaData,mn=(tn=Ue(cn,{trim:!0})).find((function(n){var e,t;return"og:image"===(null===(e=n.props)||void 0===e?void 0:e.property)||"og:image:secure_url"===(null===(t=n.props)||void 0===t?void 0:t.property)}));if(!mn){var gn="https://".concat(on,"/images/").concat(S,".png");tn=pn(pn([],tn,!0),[n.createElement("meta",{key:"og:image",property:"og:image",content:(null===(a=k.openGraph)||void 0===a?void 0:a.image)||gn||""}),n.createElement("meta",{key:"og:image:secure_url",property:"og:image:secure_url",content:(null===(i=k.openGraph)||void 0===i?void 0:i.image)||gn}),n.createElement("meta",{key:"og:image:width",property:"og:image:width",content:(null===(o=k.openGraph)||void 0===o?void 0:o.imageWidth)&&String(null===(r=k.openGraph)||void 0===r?void 0:r.imageWidth)||"1200"}),n.createElement("meta",{key:"og:image:height",property:"og:image:height",content:(null===(l=k.openGraph)||void 0===l?void 0:l.imageHeight)&&String(null===(s=k.openGraph)||void 0===s?void 0:s.imageHeight)||"630"})],!1)}}var un="https://".concat(on,"/images/").concat(S,".png");return n.createElement(n.Fragment,null,z&&F&&n.createElement(z,null,n.createElement("link",{rel:"preconnect",href:"https://fonts.gstatic.com"}),"marryBaby"===A&&n.createElement("link",{href:"https://fonts.googleapis.com/css2?family=Inter&family=Krub:wght@600&display=swap",rel:"stylesheet"}),"km-KH"===S?n.createElement("link",{href:"https://fonts.googleapis.com/css2?family=Battambang:wght@400;700&display=swap",rel:"stylesheet"}):"id-ID"===S||"ms-MY"===S?n.createElement(n.Fragment,null):n.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"}),n.createElement("link",{rel:"preconnect",href:nn}),n.createElement("meta",{charSet:"UTF-8"}),!L&&n.createElement("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover"}),n.createElement("meta",{name:"google",content:"notranslate"}),n.createElement("meta",{name:"robots",content:$}),n.createElement("meta",{property:"fb:app_id",content:"653713035016537"}),Q.map((function(e,t){return n.createElement("meta",dn({key:t},e))})),n.createElement("meta",{name:"theme-color",content:"helloSites"===A?"#2c87f3":"#e85388"}),n.createElement("meta",{name:"page_type",content:"Home"}),n.createElement("meta",{name:"page_platform",content:"WEB"}),n.createElement("meta",{name:"page_language",content:an}),n.createElement("meta",{name:"ahrefs-site-verification",content:"46e7521a2b89a1013149c4685bbe02a1d36a4732fef98655142b829bc87cba4d"}),L&&n.createElement(n.Fragment,null,n.createElement("script",{async:!0,"custom-element":"amp-analytics",src:"https://cdn.ampproject.org/v0/amp-analytics-0.1.js"}),n.createElement("script",{async:!0,"custom-element":"amp-fx-collection",src:"https://cdn.ampproject.org/v0/amp-fx-collection-0.1.js"}),n.createElement("script",{async:!0,"custom-element":"amp-ad",src:"https://cdn.ampproject.org/v0/amp-ad-0.1.js"}),n.createElement("script",{async:!0,"custom-element":"amp-next-page",src:"https://cdn.ampproject.org/v0/amp-next-page-1.0.js"}),n.createElement("script",{async:!0,"custom-element":"amp-sticky-ad",src:"https://cdn.ampproject.org/v0/amp-sticky-ad-1.0.js"}),n.createElement("script",{async:!0,"custom-element":"amp-social-share",src:"https://cdn.ampproject.org/v0/amp-social-share-0.1.js"}),n.createElement("script",{async:!0,"custom-element":"amp-bind",src:"https://cdn.ampproject.org/v0/amp-bind-0.1.js"})),!tn&&n.createElement(n.Fragment,null,"helloSites"===A?n.createElement("title",null,B?j:j+" - "+(null===(c=Mt[S])||void 0===c?void 0:c.SITE_NAME)):n.createElement("title",null,j),!X&&n.createElement("link",{rel:"canonical",href:"https://".concat(on).concat(en)}),n.createElement("meta",{name:"description",content:O||(null===(d=k.openGraph)||void 0===d?void 0:d.description)}),k.schemaData&&n.createElement("script",{type:"application/ld+json",className:"yoast-schema-graph",dangerouslySetInnerHTML:{__html:k.schemaData}}),n.createElement("meta",{property:"og:locale",content:S}),n.createElement("meta",{property:"og:type",content:G||"website"}),n.createElement("meta",{property:"og:title",content:(null===(p=k.openGraph)||void 0===p?void 0:p.title)||j}),n.createElement("meta",{property:"og:description",content:(null===(m=k.openGraph)||void 0===m?void 0:m.description)||O}),n.createElement("meta",{property:"og:url",content:"https://".concat(on).concat(en)}),n.createElement("meta",{property:"og:site_name",content:"https://".concat(on)}),n.createElement("meta",{property:"og:image",content:(null===(g=k.openGraph)||void 0===g?void 0:g.image)||V||un||""}),n.createElement("meta",{property:"og:image:secure_url",content:(null===(u=k.openGraph)||void 0===u?void 0:u.image)||V||un}),n.createElement("meta",{property:"og:image:width",content:(null===(h=k.openGraph)||void 0===h?void 0:h.imageWidth)&&String(null===(f=k.openGraph)||void 0===f?void 0:f.imageWidth)||Z&&String(Z)||"1200"}),n.createElement("meta",{property:"og:image:height",content:(null===(x=k.openGraph)||void 0===x?void 0:x.imageHeight)&&String(null===(v=k.openGraph)||void 0===v?void 0:v.imageHeight)||Y&&String(Y)||"630"}),n.createElement("meta",{name:"twitter:card",content:"summary_large_image"}),n.createElement("meta",{name:"twitter:title",content:(null===(y=k.twitter)||void 0===y?void 0:y.title)||j}),n.createElement("meta",{name:"twitter:description",content:O}),n.createElement("meta",{name:"twitter:image",content:(null===(b=k.twitter)||void 0===b?void 0:b.image)||V})),("helloSites"===A?St[an]||[]:St.marryBaby).map((function(e,t){return"link"===e.type?n.createElement("link",{key:"favicon-".concat(t),rel:e.rel,href:e.href,sizes:e.sizes}):"meta"===e.type?n.createElement("meta",{key:t,name:e.name,content:e.content}):null})),Array.isArray(tn)&&D?tn.filter((function(n){return"canonical"!==n.props.name&&"canonical"!==n.props.rel})):tn,D&&n.createElement("link",{rel:"canonical",href:D}),!k.hasNoAmp&&"vi-VN"!==S&&n.createElement("link",{rel:"amphtml",href:"https://".concat(on).concat(en).concat(rn,"?amp=1")}),_&&"undefined"!=typeof window?n.createElement("script",{dangerouslySetInnerHTML:{__html:"window.dataLayer = window.dataLayer || []; window.dataLayer.push({'userID': '".concat(_,"'});")}}):null),z&&!F&&n.createElement(z,null),E)},ll=Dt.div(Dr||(Dr=gn(["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"],["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"]))),sl=Dt.div(Fr||(Fr=gn(["\n & > a:not(:last-child) > div {\n border-bottom: 1px solid\n ",";\n }\n\n &[data-category-list-type='sub'] {\n padding-bottom: 72px;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n }\n"],["\n & > a:not(:last-child) > div {\n border-bottom: 1px solid\n ",";\n }\n\n &[data-category-list-type='sub'] {\n padding-bottom: 72px;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n }\n"])),(function(n){return n.theme.colors.neutral100})),cl=Dt.div(Pr||(Pr=gn(["\n display: flex;\n width: 100%;\n height: 64px;\n align-items: center;\n justify-content: flex-start;\n padding: 8px;\n\n //border-bottom: 1px solid ",";\n background-color: ",";\n font-size: ",";\n\n &[data-is-heading-category='true'] {\n border-bottom: none;\n background-color: ",";\n color: ",";\n font-weight: ",";\n }\n > * {\n pointer-events: none;\n }\n"],["\n display: flex;\n width: 100%;\n height: 64px;\n align-items: center;\n justify-content: flex-start;\n padding: 8px;\n\n //border-bottom: 1px solid ",";\n background-color: ",";\n font-size: ",";\n\n &[data-is-heading-category='true'] {\n border-bottom: none;\n background-color: ",";\n color: ",";\n font-weight: ",";\n }\n > * {\n pointer-events: none;\n }\n"])),(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.white}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.colors.blue50}),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fwBold})),dl=Dt.div(Ir||(Ir=gn([""],[""]))),pl=Dt.div(Hr||(Hr=gn(["\n padding-right: 16px;\n"],["\n padding-right: 16px;\n"]))),ml=Dt.div(Rr||(Rr=gn(["\n position: fixed;\n z-index: ",";\n top: 69px;\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n background-color: transparent;\n &[data-is-display='false'] {\n display: none;\n }\n"],["\n position: fixed;\n z-index: ",";\n top: 69px;\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n background-color: transparent;\n &[data-is-display='false'] {\n display: none;\n }\n"])),Nt.menuCategoryPopupWrapper),gl=Dt.div(jr||(jr=gn(["\n z-index: ",";\n align-items: center;\n\n border: 1px solid ",";\n background-color: ",";\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n"],["\n z-index: ",";\n align-items: center;\n\n border: 1px solid ",";\n background-color: ",";\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n"])),Nt.menuCategoryPopupContainer,(function(n){return n.theme.colors.neutral50}),(function(n){return n.theme.colors.white})),ul=Dt.div(Ur||(Ur=gn(["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n padding: 48px 0;\n"],["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n padding: 48px 0;\n"]))),hl=Dt.div(Or||(Or=gn(["\n width: 33%;\n height: 48px;\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n display: flex;\n align-items: center;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n\n & > :first-child {\n margin-right: 16px;\n }\n }\n\n & > a > p:hover {\n color: ",";\n }\n\n [data-event-category] > * {\n pointer-events: none;\n }\n"],["\n width: 33%;\n height: 48px;\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n display: flex;\n align-items: center;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n\n & > :first-child {\n margin-right: 16px;\n }\n }\n\n & > a > p:hover {\n color: ",";\n }\n\n [data-event-category] > * {\n pointer-events: none;\n }\n"])),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwRegular}),(function(n){return n.theme.colors.primaryBase})),fl=Dt.div(Vr||(Vr=gn(["\n display: flex;\n align-items: center;\n\n "," {\n padding: 8px;\n }\n\n padding-right: 16px;\n margin-bottom: 12px;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 24px;\n\n &[data-theme='marryBaby'] {\n color: ",";\n }\n &[data-event-category] * {\n pointer-events: none;\n }\n"],["\n display: flex;\n align-items: center;\n\n "," {\n padding: 8px;\n }\n\n padding-right: 16px;\n margin-bottom: 12px;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 24px;\n\n &[data-theme='marryBaby'] {\n color: ",";\n }\n &[data-event-category] * {\n pointer-events: none;\n }\n"])),xn.mbDown,(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwBold}),(function(n){return n.theme.mbColors.pink})),xl=Dt.div(Gr||(Gr=gn(["\n display: flex;\n align-items: center;\n\n margin-left: 10px;\n"],["\n display: flex;\n align-items: center;\n\n margin-left: 10px;\n"]))),vl=Dt.div(Zr||(Zr=gn(["\n position: absolute;\n top: 16px;\n right: 0;\n display: flex;\n align-items: center;\n cursor: pointer;\n"],["\n position: absolute;\n top: 16px;\n right: 0;\n display: flex;\n align-items: center;\n cursor: pointer;\n"]))),yl=function(){return n.createElement(ll,{style:{marginTop:"16px"}},n.createElement("div",null,n.createElement(Ft,{height:46})),n.createElement("div",null,n.createElement(Ft,{height:46})),n.createElement("div",null,n.createElement(Ft,{height:46})))},bl=function(e){var t,a,i,o,r=e.careSpecialties,l=e.onSelectCareSpecialty,s=e.isLoading,c=e.desktopPopupType,d=e.onClosePopup,p=e.basePath,m=e.locale,g=e.isMobile,u=e.siteType,h=e.CARE_URL_FE,f=Oe();return g?n.createElement(n.Fragment,null,s?n.createElement(sl,null,n.createElement(yl,null)):n.createElement(sl,{"data-category-list-type":"main"},n.createElement(kn,{style:{marginTop:16},tag:"h5"},f("menu.care.searchBySpecialties")),r.map((function(e,t){return n.createElement("a",{key:"tool-"+t},n.createElement(cl,{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(h).concat(Qe({type:"DOCTOR",specialtySlug:e.slug,locale:m})),onClick:function(){l(e)}},n.createElement(pl,null,n.createElement("img",{alt:"health-tool-icon",src:e.thumbnail||"".concat(p,"/images/avatar.jpg"),style:{width:"32px",height:"32px"}})),n.createElement(dl,null,e.name)))})),n.createElement("a",{style:{textDecoration:"none"},href:"".concat(h,"/").concat(null===(t=At[m])||void 0===t?void 0:t.SPECIALTIES)},n.createElement(fl,{key:"all-categories","data-theme":u,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(h,"/").concat(null===(a=At[m])||void 0===a?void 0:a.SPECIALTIES)},f("home.navigator.menuItem.allSpecialties"),n.createElement(xl,null,"helloSites"===u?n.createElement("img",{src:"".concat(p,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:f("home.navigator.menuItem.allSpecialties")}):n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M6.5 12H17.5M17.5 12L12.9118 8M17.5 12L12.9118 16",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}))))))):n.createElement(ml,{className:"top-menu-care-specialties",onClick:d,"data-is-display":"care"===c},n.createElement(gl,null,n.createElement(ln,{style:{padding:"0 16px"},type:u},n.createElement(ul,{"data-popup-type":c,onClick:function(n){n.stopPropagation()}},n.createElement(n.Fragment,null,r.map((function(e){return n.createElement(hl,{key:"care-specialty-".concat(e.id),onClick:d},n.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(h).concat(Qe({type:"DOCTOR",specialtySlug:e.slug,locale:m})),style:{textDecoration:"none",color:Sn.colors.gray800},className:"iconMenu no-replace-click",href:"".concat(h).concat(Qe({type:"DOCTOR",specialtySlug:e.slug,locale:m}))},n.createElement("div",{style:{display:"flex"}},n.createElement("img",{alt:"care-specialty-icon",src:e.thumbnail||"".concat(p,"/images/avatar.jpg"),style:{width:"32px",height:"32px"}})),n.createElement("p",null,e.name)))})),n.createElement("a",{style:{textDecoration:"none"},href:"".concat(h,"/").concat(null===(i=At[m])||void 0===i?void 0:i.SPECIALTIES)},n.createElement(fl,{onClick:d,key:"all-care-specialties","data-theme":u,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(h,"/").concat(null===(o=At[m])||void 0===o?void 0:o.SPECIALTIES)},f("home.navigator.menuItem.allSpecialties"),n.createElement(xl,null,"helloSites"===u?n.createElement("img",{src:"".concat(p,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:f("home.navigator.menuItem.allSpecialties")}):n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M6.5 12H17.5M17.5 12L12.9118 8M17.5 12L12.9118 16",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"})))))),n.createElement(vl,{onClick:d},n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})))))))},El=function(){return n.createElement(Ei,{style:{marginTop:"16px"}},n.createElement("div",null,n.createElement(Ft,{height:46})),n.createElement("div",null,n.createElement(Ft,{height:46})),n.createElement("div",null,n.createElement(Ft,{height:46})))},wl=Dt.div(Tl||(Tl=gn(["\n "," {\n margin: 48px 0;\n }\n\n "," {\n padding: 0 16px;\n }\n"],["\n "," {\n margin: 48px 0;\n }\n\n "," {\n padding: 0 16px;\n }\n"])),xn.mbDown,xn.mbUp),kl=Dt.div(Nl||(Nl=gn(["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"],["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"]))),Cl=Dt.div(zl||(zl=gn(["\n "," {\n & > :not(:last-child) {\n border-bottom: 1px solid\n ",";\n }\n\n & > div > :not(:last-child) {\n border-bottom: 1px solid\n ",";\n }\n }\n\n &[data-category-list-type='sub'] {\n padding-bottom: 72px;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n }\n\n display: flex;\n flex-direction: column;\n"],["\n "," {\n & > :not(:last-child) {\n border-bottom: 1px solid\n ",";\n }\n\n & > div > :not(:last-child) {\n border-bottom: 1px solid\n ",";\n }\n }\n\n &[data-category-list-type='sub'] {\n padding-bottom: 72px;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n }\n\n display: flex;\n flex-direction: column;\n"])),xn.mbDown,(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.neutral100}));Dt.div(Al||(Al=gn(["\n "," {\n & > :not(:last-child) {\n border-bottom: 1px solid\n ",";\n }\n\n & > div > :not(:last-child) {\n border-bottom: 1px solid\n ",";\n }\n }\n"],["\n "," {\n & > :not(:last-child) {\n border-bottom: 1px solid\n ",";\n }\n\n & > div > :not(:last-child) {\n border-bottom: 1px solid\n ",";\n }\n }\n"])),xn.mbDown,(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.neutral100}));var Ll=Dt.div(Bl||(Bl=gn(["\n display: flex;\n width: 100%;\n height: 48px;\n align-items: center;\n justify-content: space-between;\n\n background-color: ",";\n font-size: ",";\n font-weight: ",";\n\n &[data-is-heading-category='true'] {\n border-bottom: none;\n background-color: ",";\n color: ",";\n font-weight: ",";\n }\n\n "," {\n padding: 8px;\n }\n &[data-event-category] > * {\n pointer-events: none;\n }\n"],["\n display: flex;\n width: 100%;\n height: 48px;\n align-items: center;\n justify-content: space-between;\n\n background-color: ",";\n font-size: ",";\n font-weight: ",";\n\n &[data-is-heading-category='true'] {\n border-bottom: none;\n background-color: ",";\n color: ",";\n font-weight: ",";\n }\n\n "," {\n padding: 8px;\n }\n &[data-event-category] > * {\n pointer-events: none;\n }\n"])),(function(n){return n.theme.colors.white}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwRegular}),(function(n){return n.theme.colors.blue50}),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fwBold}),xn.mbDown),Ml=Dt.div(_l||(_l=gn(["\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n }\n\n & > a:hover {\n color: ",";\n }\n\n .iconMenu {\n display: flex;\n align-items: center;\n\n > .imageContainer {\n display: flex;\n width: 32px;\n min-width: 32px;\n align-items: center;\n margin-right: 16px;\n }\n }\n &[data-event-category] > * {\n pointer-events: none;\n }\n"],["\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n }\n\n & > a:hover {\n color: ",";\n }\n\n .iconMenu {\n display: flex;\n align-items: center;\n\n > .imageContainer {\n display: flex;\n width: 32px;\n min-width: 32px;\n align-items: center;\n margin-right: 16px;\n }\n }\n &[data-event-category] > * {\n pointer-events: none;\n }\n"])),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwRegular}),(function(n){return n.theme.colors.primaryBase})),Sl=Dt.div(Dl||(Dl=gn([""],[""])));Dt.div(Fl||(Fl=gn([""],[""])));var Tl,Nl,zl,Al,Bl,_l,Dl,Fl,Pl,Il,Hl=Dt.div(Pl||(Pl=gn(["\n display: flex;\n align-items: center;\n\n "," {\n padding: 8px;\n }\n\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 24px;\n\n &[data-theme='marryBaby'] {\n color: ",";\n }\n &[data-event-category] * {\n pointer-events: none;\n }\n"],["\n display: flex;\n align-items: center;\n\n "," {\n padding: 8px;\n }\n\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 24px;\n\n &[data-theme='marryBaby'] {\n color: ",";\n }\n &[data-event-category] * {\n pointer-events: none;\n }\n"])),xn.mbDown,(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwBold}),(function(n){return n.theme.mbColors.pink})),Rl=Dt.div(Il||(Il=gn(["\n display: flex;\n align-items: center;\n\n margin-left: 10px;\n"],["\n display: flex;\n align-items: center;\n\n margin-left: 10px;\n"]))),jl=function(){return n.createElement(kl,{style:{marginTop:"16px"}},n.createElement("div",null,n.createElement(Ft,{height:46})),n.createElement("div",null,n.createElement(Ft,{height:46})),n.createElement("div",null,n.createElement(Ft,{height:46})))},Ul=function(e){var t=e.isDisplayed,a=void 0!==t&&t,i=e.spotlights,o=e.isLoading,r=e.className,l=e.isMobile,s=e.DISCOVER_URL_FE,c=e.basePath,d=e.locale,p=e.siteType,m=Oe();return a?n.createElement(wl,null,n.createElement(kn,{tag:"h3",style:{marginBottom:24}},m("home.navigator.menuItem.spotlights")),o&&a?n.createElement(Cl,{className:r},n.createElement(jl,null)):n.createElement(Cl,{"data-is-displayed":a,className:r},i.map((function(e,t){return n.createElement(Ml,{style:{textDecoration:"none"},key:"spotlight-"+t},l?n.createElement("a",{href:e.permalink,style:{textDecoration:"none",color:Sn.colors.gray800}},n.createElement(Ll,{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(Tt[d]).concat(e.permalink)},n.createElement(Sl,null,e.name))):n.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(Tt[d]).concat(e.permalink),style:{textDecoration:"none",pointerEvents:"auto"},href:"".concat(s).concat(e.permalink)},e.name))})),n.createElement("a",{style:{textDecoration:"none"},href:"".concat(s,"/spotlight/")},n.createElement(Hl,{key:"all-spotlights","data-theme":p,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(s,"/spotlight/")},m("home.navigator.menuItem.allSpotlight"),n.createElement(Rl,null,"helloSites"===p?n.createElement("img",{src:"".concat(c,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:m("home.navigator.menuItem.allSpotlight")}):n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M6.5 12H17.5M17.5 12L12.9118 8M17.5 12L12.9118 16",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}))))))):null},Ol=function(e){var t=e.locale,a=e.basePath,i=e.isDisplayed,o=void 0!==i&&i,r=e.categories,l=e.spotlightsList,s=e.type,d=e.onSelectCategory,p=e.onClosePopup,m=e.desktopPopupType,g=e.isMobile,u=e.isLoading,h=e.DISCOVER_URL_FE,f=e.siteType,x=void 0===f?"helloSites":f,v=Oe();return g?n.createElement(n.Fragment,null,u&&o?n.createElement(wi,null,n.createElement(El,null)):n.createElement(wi,{"data-is-displayed":o,"data-category-list-type":s},n.createElement(kn,{tag:"h3",style:{marginBottom:8}},v("home.navigator.menuItem.healthCategories")),n.createElement(ki,null,r.map((function(e,i){return n.createElement("div",{key:s+"-category-"+i},n.createElement("a",{style:{textDecoration:"none",color:Sn.colors.gray800},onClick:function(n){e.childCates&&e.childCates.length>0&&"sub"!==s&&n.preventDefault()},href:h+e.permalink},n.createElement(Ci,{onClick:function(){null==d||d(e)},"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(Tt[t]).concat(e.permalink),"data-is-heading-category":"sub"===s&&e.childCates&&e.childCates.length>0},n.createElement(Li,null,e.displayName),"main"===s&&n.createElement(Mi,null,"helloSites"===x?n.createElement("img",{src:"".concat(a,"/svg/chevronRight.svg"),style:{width:"16px",height:"16px"},alt:e.categoryName}):n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M6.5 12H17.5M17.5 12L12.9118 8M17.5 12L12.9118 16",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"})))),"sub"===s&&e.childCates&&e.childCates.length>0&&e.childCates.map((function(e,t){return n.createElement("a",{style:{textDecoration:"none"},href:e.permalink,key:s+"-2-"+t},n.createElement(Ci,{"data-is-heading-category":"sub"===s&&e.childCates&&e.childCates.length>0},n.createElement(c,{size:"p3"},e.displayName)))}))))})),n.createElement("a",{style:{textDecoration:"none"},href:"".concat(h,"/categories/")},n.createElement(Si,{key:"all-categories","data-theme":x,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(h,"/categories/")},v("home.navigator.menuItem.allCategories"),n.createElement(Ti,null,"helloSites"===x?n.createElement("img",{src:"".concat(a,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:v("home.navigator.menuItem.allCategories")}):n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M6.5 12H17.5M17.5 12L12.9118 8M17.5 12L12.9118 16",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"})))))),n.createElement(Ul,{isDisplayed:"main"===s,spotlights:l,isLoading:!1,isMobile:g,basePath:a,DISCOVER_URL_FE:h,locale:t,siteType:x}))):n.createElement(Ni,{className:"top-menu-categories",onClick:p,"data-is-display":"categories"===m},n.createElement(zi,null,n.createElement(ln,{style:{padding:"0 16px"},type:x},n.createElement(Ai,{"data-popup-type":m,onClick:function(n){n.stopPropagation()}},n.createElement("div",null,n.createElement(kn,{tag:"h3",style:{marginBottom:24}},v("home.navigator.menuItem.healthCategories")),n.createElement(Bi,{"data-disabled-divider":0===l.length},r.map((function(e,a){return n.createElement(_i,{style:{textDecoration:"none"},key:e.categoryName+a},n.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(Tt[t]).concat(e.permalink),style:{textDecoration:"none",pointerEvents:"auto"},onClick:p,href:"".concat(h).concat(e.permalink)},e.displayName),n.createElement(Di,null,e.childCates&&e.childCates.map((function(e,a){return n.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(Tt[t]).concat(e.permalink),style:{textDecoration:"none",pointerEvents:"auto"},href:e.permalink,key:a},e.displayName)}))))})),n.createElement("a",{style:{textDecoration:"none"},href:"".concat(h,"/categories/")},n.createElement(Si,{onClick:p,key:"all-categories","data-theme":x,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(h,"/categories/")},v("home.navigator.menuItem.allCategories"),n.createElement(Ti,null,"helloSites"===x?n.createElement("img",{src:"".concat(a,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:v("home.navigator.menuItem.allCategories")}):n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M6.5 12H17.5M17.5 12L12.9118 8M17.5 12L12.9118 16",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}))))))),n.createElement(Ul,{isDisplayed:"main"===s,spotlights:l,isLoading:!1,basePath:a,DISCOVER_URL_FE:h,locale:t,siteType:x}),n.createElement(Fi,{onClick:p},n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})))))))},Vl=Dt.div(Jl||(Jl=gn([""],[""]))),Gl=Dt.div(Xl||(Xl=gn(["\n display: flex;\n width: 40px;\n height: 40px;\n align-items: center;\n justify-content: center;\n\n margin-right: 16px;\n border-radius: 50%;\n"],["\n display: flex;\n width: 40px;\n height: 40px;\n align-items: center;\n justify-content: center;\n\n margin-right: 16px;\n border-radius: 50%;\n"]))),Zl=Dt.div($l||($l=gn(["\n display: flex;\n margin-left: 48px;\n\n > :first-child {\n margin-right: 24px;\n }\n"],["\n display: flex;\n margin-left: 48px;\n\n > :first-child {\n margin-right: 24px;\n }\n"]))),Yl=Dt.div(ns||(ns=gn(["\n display: flex;\n width: 100%;\n align-items: center;\n justify-content: space-between;\n padding: 16px 20px;\n //height: 40px;\n\n background-color: ",";\n font-size: ",";\n\n &[data-is-heading-category='true'] {\n border-bottom: none;\n background-color: ",";\n color: ",";\n font-weight: ",";\n }\n\n > svg:first-child {\n margin-right: 24px;\n }\n"],["\n display: flex;\n width: 100%;\n align-items: center;\n justify-content: space-between;\n padding: 16px 20px;\n //height: 40px;\n\n background-color: ",";\n font-size: ",";\n\n &[data-is-heading-category='true'] {\n border-bottom: none;\n background-color: ",";\n color: ",";\n font-weight: ",";\n }\n\n > svg:first-child {\n margin-right: 24px;\n }\n"])),(function(n){return n.theme.colors.white}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.colors.blue50}),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fwBold})),Wl=Dt.div(es||(es=gn(["\n overflow: hidden;\n > .expanding {\n animation-duration: 0.3s;\n animation-name: expandingTopToBottom;\n }\n\n > .collapsing {\n margin-top: -100%;\n animation-duration: 0.3s;\n animation-name: collapsingBottomToTop;\n }\n"],["\n overflow: hidden;\n > .expanding {\n animation-duration: 0.3s;\n animation-name: expandingTopToBottom;\n }\n\n > .collapsing {\n margin-top: -100%;\n animation-duration: 0.3s;\n animation-name: collapsingBottomToTop;\n }\n"]))),Ql=Dt.div(ts||(ts=gn(["\n position: absolute;\n z-index: ",";\n top: 64px;\n\n min-width: 375px;\n align-items: center;\n background-color: transparent;\n &[data-is-display='false'] {\n display: none;\n }\n"],["\n position: absolute;\n z-index: ",";\n top: 64px;\n\n min-width: 375px;\n align-items: center;\n background-color: transparent;\n &[data-is-display='false'] {\n display: none;\n }\n"])),Nt.menuCategoryPopupWrapper),ql=Dt.div(as||(as=gn(["\n position: fixed;\n top: 69px;\n left: 0;\n width: 100vw;\n height: 100vh;\n"],["\n position: fixed;\n top: 69px;\n left: 0;\n width: 100vw;\n height: 100vh;\n"]))),Kl=Dt.div(is||(is=gn(["\n z-index: ",";\n\n width: 100%;\n\n max-height: 80vh;\n\n padding: 20px 0;\n\n border: 1px solid ",";\n //align-items: center;\n //display: flex;\n //flex: 1;\n background-color: ",";\n\n border-radius: 16px;\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n\n overflow-y: auto;\n"],["\n z-index: ",";\n\n width: 100%;\n\n max-height: 80vh;\n\n padding: 20px 0;\n\n border: 1px solid ",";\n //align-items: center;\n //display: flex;\n //flex: 1;\n background-color: ",";\n\n border-radius: 16px;\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n\n overflow-y: auto;\n"])),Nt.menuCategoryPopupContainer,(function(n){return n.theme.colors.neutral50}),(function(n){return n.theme.colors.white}));Dt.div(os||(os=gn(["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n padding: 24px;\n"],["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n padding: 24px;\n"])));var Jl,Xl,$l,ns,es,ts,as,is,os,rs,ls,ss=Dt.div(rs||(rs=gn(["\n position: relative;\n display: flex;\n flex-direction: column;\n"],["\n position: relative;\n display: flex;\n flex-direction: column;\n"])));Dt.div(ls||(ls=gn(["\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n }\n\n & > a:hover {\n color: ",";\n }\n\n .iconMenu {\n display: flex;\n align-items: center;\n\n > .imageContainer {\n display: flex;\n width: 32px;\n min-width: 32px;\n align-items: center;\n margin-right: 16px;\n }\n }\n"],["\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n }\n\n & > a:hover {\n color: ",";\n }\n\n .iconMenu {\n display: flex;\n align-items: center;\n\n > .imageContainer {\n display: flex;\n width: 32px;\n min-width: 32px;\n align-items: center;\n margin-right: 16px;\n }\n }\n"])),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwRegular}),(function(n){return n.theme.colors.primaryBase}));var cs,ds,ps,ms,gs,us,hs,fs,xs,vs,ys,bs,Es,ws=function(t){var a=t.isDisplayed,i=void 0!==a&&a,o=t.categories,r=t.type,l=t.onSelectCategory,s=t.desktopPopupType,c=t.isMobile,d=t.isLoading,p=t.MARRY_BABY_FE,m=e(-1),g=m[0],u=m[1],h=e(!1),f=h[0],x=h[1];return c?n.createElement(n.Fragment,null,d&&i?n.createElement(wi,null,n.createElement(El,null)):n.createElement(wi,{"data-is-displayed":i,"data-category-list-type":r,style:{marginTop:24}},n.createElement(Vl,{className:"marry-bb-menu-categories"},o.map((function(e,t){return n.createElement("div",{key:r+"-category-"+t,className:"wrapper-menu-category wrapper-menu-category-".concat(t),"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn".concat(e.permalink)},n.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn".concat(e.permalink),style:{textDecoration:"none",color:Sn.colors.gray800},onClick:function(n){n.preventDefault()},href:"".concat(p).concat(e.permalink)},n.createElement(Yl,{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn".concat(e.permalink),onClick:function(){var n;"main"===r||0===(null===(n=e.childCates)||void 0===n?void 0:n.length)?null==l||l(e):g===t?(x(!0),setTimeout((function(){u(-1),setTimeout((function(){x(!1)}),100)}),300)):u(t)},style:{display:"flex",alignItems:"center",justifyContent:"space-between"}},"main"===r?n.createElement(Gl,{style:{backgroundColor:e.imageColor}},n.createElement("img",{src:e.iconUrl,style:{width:"24px",height:"24px"},alt:e.name})):n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M12 10C10.9 10 10 10.9 10 12C10 13.1 10.9 14 12 14C13.1 14 14 13.1 14 12C14 10.9 13.1 10 12 10Z",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})),n.createElement(br,{style:{fontWeight:Sn.sizes.fwSemiBold},type:"subtitle-2"},e.displayName),n.createElement(Pi,null),"main"===r?n.createElement(Mi,null,n.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M8.5 6L11 8.5L8.5 11",stroke:"#9495A0",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}))):n.createElement(Mi,null,g!==t?n.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M8.5 6L11 8.5L8.5 11",stroke:"#9495A0",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"})):n.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M11.5 7.5L9 10L6.5 7.5",stroke:"#2661AD",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}))))),"sub"===r&&e.childCates&&g===t&&e.childCates.length>0&&n.createElement(Wl,null,n.createElement("div",{className:f?"collapsing":"expanding"},e.childCates.map((function(t,a){return n.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn".concat(e.permalink),style:{textDecoration:"none"},href:"".concat(p).concat(t.permalink),key:r+"-2-"+a},n.createElement(Yl,{"data-is-heading-category":"sub"===r&&t.childCates&&t.childCates.length>0},n.createElement(Zl,null,n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M12 10C10.9 10 10 10.9 10 12C10 13.1 10.9 14 12 14C13.1 14 14 13.1 14 12C14 10.9 13.1 10 12 10Z",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})),n.createElement(br,{type:"subtitle-2"},t.displayName))))})))),n.createElement("div",{style:{display:"none"}},e.childCates&&e.childCates.map((function(e,t){return n.createElement("a",{href:"".concat(p).concat(e.permalink),key:t,style:{textDecoration:"none"}},n.createElement("div",{"data-is-heading-category":"sub"===r&&e.childCates&&e.childCates.length>0},n.createElement("p",null,e.displayName)))}))))}))))):n.createElement(Ql,{className:"top-menu-categories","data-is-display":"categories"===s,tabIndex:0},n.createElement(ql,null),n.createElement(Kl,{"data-popup-type":s},n.createElement(ss,{className:"marry-bb-menu-categories"},d?n.createElement("div",{style:{width:"100%",padding:"0 20px"}},n.createElement(El,null)):o.map((function(e,t){return n.createElement("div",{className:"wrapper-menu-category wrapper-menu-category-".concat(t),"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn".concat(e.permalink),key:r+"-category-"+t,onClick:function(){l(e)}},n.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn".concat(e.permalink),style:{textDecoration:"none",color:Sn.colors.gray800},href:"".concat(p).concat(e.permalink)},n.createElement(Yl,{style:{display:"flex",alignItems:"center",justifyContent:"flex-start"}},n.createElement(Gl,{style:{backgroundColor:e.imageColor}},n.createElement("img",{src:e.iconUrl,style:{width:"24px",height:"24px"},alt:e.name})),n.createElement(br,{style:{fontWeight:Sn.sizes.fwSemiBold},type:"subtitle-2"},e.displayName))))})))))},ks=function(e){var t=e.isDisplayed,a=void 0!==t&&t,i=e.locale,o=e.discoverApiDomain,r=e.basePath,l=e.categories,s=e.spotlightsList,c=e.type,d=e.onSelectCategory,p=e.onClosePopup,m=e.desktopPopupType,g=e.isMobile,u=e.isLoading,h=e.callApiHandler,f=e.DISCOVER_URL_FE,x=e.MARRY_BABY_FE,v=e.siteType,y=void 0===v?"helloSites":v;return"helloSites"===y?n.createElement(Ol,{locale:i,basePath:r,DISCOVER_URL_FE:f,isDisplayed:a,type:c,onSelectCategory:d,categories:l,spotlightsList:s,isLoading:u,isMobile:g,siteType:y,onClosePopup:p,desktopPopupType:m}):n.createElement(ws,{basePath:r,callApiHandler:h,discoverApiDomain:o,isDisplayed:a,type:c,onSelectCategory:d,categories:l,isLoading:u,isMobile:g,MARRY_BABY_FE:x,desktopPopupType:m})},Cs=Dt.div(cs||(cs=gn(["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"],["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"]))),Ls=Dt.div(ds||(ds=gn(["\n & > :not(:last-child) {\n border-bottom: 1px solid\n ",";\n }\n\n & > div > :not(:last-child) {\n border-bottom: 1px solid\n ",";\n }\n\n &[data-category-list-type='sub'] {\n padding-bottom: 72px;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n }\n\n //margin-top: 112px;\n"],["\n & > :not(:last-child) {\n border-bottom: 1px solid\n ",";\n }\n\n & > div > :not(:last-child) {\n border-bottom: 1px solid\n ",";\n }\n\n &[data-category-list-type='sub'] {\n padding-bottom: 72px;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n }\n\n //margin-top: 112px;\n"])),(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.neutral100})),Ms=Dt.div(ps||(ps=gn(["\n display: flex;\n width: 100%;\n height: 56px;\n align-items: center;\n justify-content: space-between;\n padding: 8px;\n background-color: ",";\n font-size: ",";\n\n &[data-is-heading-category='true'] {\n border-bottom: none;\n background-color: ",";\n color: ",";\n font-weight: ",";\n }\n &[data-event-category] > * {\n pointer-events: none;\n }\n"],["\n display: flex;\n width: 100%;\n height: 56px;\n align-items: center;\n justify-content: space-between;\n padding: 8px;\n background-color: ",";\n font-size: ",";\n\n &[data-is-heading-category='true'] {\n border-bottom: none;\n background-color: ",";\n color: ",";\n font-weight: ",";\n }\n &[data-event-category] > * {\n pointer-events: none;\n }\n"])),(function(n){return n.theme.colors.white}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.colors.blue50}),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fwBold})),Ss=Dt.div(ms||(ms=gn([""],[""]))),Ts=Dt.div(gs||(gs=gn([""],[""]))),Ns=Dt.div(us||(us=gn(["\n display: flex;\n align-items: center;\n\n > :first-child {\n min-width: 40px;\n margin-right: 16px;\n }\n"],["\n display: flex;\n align-items: center;\n\n > :first-child {\n min-width: 40px;\n margin-right: 16px;\n }\n"]))),zs=Dt.div(hs||(hs=gn(["\n position: fixed;\n z-index: ",";\n top: 69px;\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n background-color: transparent;\n &[data-is-display='false'] {\n display: none;\n }\n"],["\n position: fixed;\n z-index: ",";\n top: 69px;\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n background-color: transparent;\n &[data-is-display='false'] {\n display: none;\n }\n"])),Nt.menuCategoryPopupWrapper),As=Dt.div(fs||(fs=gn(["\n z-index: ",";\n align-items: center;\n\n border: 1px solid ",";\n background-color: ",";\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n"],["\n z-index: ",";\n align-items: center;\n\n border: 1px solid ",";\n background-color: ",";\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n"])),Nt.menuCategoryPopupContainer,(function(n){return n.theme.colors.neutral50}),(function(n){return n.theme.colors.white})),Bs=Dt.div(xs||(xs=gn(["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n padding: 48px 0;\n"],["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n padding: 48px 0;\n"]))),_s=Dt.div(vs||(vs=gn(["\n width: 33%;\n height: 48px;\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n display: flex;\n align-items: center;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n\n & > :first-child {\n margin-right: 16px;\n }\n }\n\n & > a > p:hover {\n color: ",";\n }\n [data-event-category] > * {\n pointer-events: none;\n }\n"],["\n width: 33%;\n height: 48px;\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n display: flex;\n align-items: center;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n\n & > :first-child {\n margin-right: 16px;\n }\n }\n\n & > a > p:hover {\n color: ",";\n }\n [data-event-category] > * {\n pointer-events: none;\n }\n"])),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwRegular}),(function(n){return n.theme.colors.primaryBase})),Ds=Dt.div(ys||(ys=gn(["\n display: flex;\n align-items: center;\n\n padding-right: 16px;\n margin-bottom: 12px;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 24px;\n\n &[data-theme='marryBaby'] {\n color: ",";\n }\n &[data-event-category] * {\n pointer-events: none;\n }\n"],["\n display: flex;\n align-items: center;\n\n padding-right: 16px;\n margin-bottom: 12px;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 24px;\n\n &[data-theme='marryBaby'] {\n color: ",";\n }\n &[data-event-category] * {\n pointer-events: none;\n }\n"])),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwBold}),(function(n){return n.theme.mbColors.pink})),Fs=Dt.div(bs||(bs=gn(["\n display: flex;\n align-items: center;\n\n margin-left: 10px;\n"],["\n display: flex;\n align-items: center;\n\n margin-left: 10px;\n"]))),Ps=Dt.div(Es||(Es=gn(["\n position: absolute;\n top: 16px;\n right: 0;\n display: flex;\n align-items: center;\n cursor: pointer;\n"],["\n position: absolute;\n top: 16px;\n right: 0;\n display: flex;\n align-items: center;\n cursor: pointer;\n"]))),Is=function(){return n.createElement(Cs,{style:{marginTop:"16px"}},n.createElement("div",null,n.createElement(Ft,{height:46})),n.createElement("div",null,n.createElement(Ft,{height:46})),n.createElement("div",null,n.createElement(Ft,{height:46})))},Hs=function(e){var t=e.isDisplayed,a=e.communities,i=e.type,o=e.onSelectCommunity,r=e.onClosePopup,l=e.isLoading,s=e.basePath,c=e.TOGETHER_URL_FE,d=e.siteType,p=void 0===d?"helloSites":d,m=e.isMobile,g=e.locale,u=e.desktopPopupType,h=Oe();return m?n.createElement(n.Fragment,null,l&&t?n.createElement(Ls,null,n.createElement(Is,null)):n.createElement(Ls,{"data-category-list-type":i,"data-is-displayed":t},"main"===i&&a.map((function(e,t){return n.createElement("div",{key:i+"-category-"+t},n.createElement("a",{style:{textDecoration:"none",color:Sn.colors.gray800},onClick:function(n){n.preventDefault()},href:"".concat(c,"/").concat(e.communitySlug)},n.createElement(Ms,{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(Tt[g],"/").concat(e.communitySlug),onClick:function(){o({community:e,isSetToSubMenu:!0})},"data-is-heading-category":!1},n.createElement(Ns,null,n.createElement("img",{src:e.thumbnail,style:{width:"40px",height:"40px"},alt:e.title}),n.createElement(Ss,null,e.title)),n.createElement(Ts,null,"helloSites"===p?n.createElement("img",{src:"".concat(s,"/svg/chevronRight.svg"),style:{width:"16px",height:"16px"},alt:e.title}):n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M6.5 12H17.5M17.5 12L12.9118 8M17.5 12L12.9118 16",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}))))))})),"sub"===i&&a.map((function(e,t){return n.createElement("div",{key:i+"-category-"+t},n.createElement("a",{style:{textDecoration:"none",color:Sn.colors.gray800},onClick:function(n){n.preventDefault()},href:"".concat(c,"/").concat(e.communitySlug)},n.createElement(Ms,{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(Tt[g],"/").concat(e.communitySlug),onClick:function(){o({community:e,isSetToSubMenu:!1})},"data-is-heading-category":!1},n.createElement(Ns,null,n.createElement("img",{src:e.thumbnail,style:{width:"40px",height:"40px"},alt:e.title}),n.createElement(Ss,null,e.title)))))})),n.createElement("a",{style:{textDecoration:"none"},href:c+"/"},n.createElement(Ds,{onClick:r,key:"all-communities","data-theme":p,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":c+"/"},h("home.navigator.menuItem.allCommunities"),n.createElement(Fs,null,n.createElement("img",{src:"".concat(s,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:h("home.navigator.menuItem.allCommunities")})))))):n.createElement(zs,{className:"top-menu-communities",onClick:r,"data-is-display":"communities"===u},n.createElement(As,null,n.createElement(ln,{style:{padding:"0 16px"},type:p},n.createElement(Bs,{"data-popup-type":u,onClick:function(n){n.stopPropagation()}},n.createElement(n.Fragment,null,a.map((function(e){return n.createElement(_s,{key:e.title,onClick:r},n.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(Tt[g],"/").concat(e.communitySlug),style:{textDecoration:"none",color:Sn.colors.gray800},className:"iconMenu",href:"".concat(c,"/").concat(e.communitySlug)},n.createElement("div",{style:{display:"flex"}},n.createElement("img",{alt:"health-tool-icon",src:e.thumbnail||"".concat(s,"/images/avatar.jpg"),style:{width:"32px",height:"32px"}})),n.createElement("p",null,e.title)))})),n.createElement("a",{style:{textDecoration:"none"},href:c+"/"},n.createElement(Ds,{onClick:r,key:"all-communities","data-theme":p,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":c+"/"},h("home.navigator.menuItem.allCommunities"),n.createElement(Fs,null,n.createElement("img",{src:"".concat(s,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:h("home.navigator.menuItem.allCommunities")}))))),n.createElement(Ps,{onClick:r},n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})))))))},Rs=Dt.div(Gs||(Gs=gn(["\n display: flex;\n width: 48px;\n height: 48px;\n align-items: center;\n justify-content: center;\n\n margin-right: 16px;\n\n //background-color: ",";\n border-radius: 50%;\n"],["\n display: flex;\n width: 48px;\n height: 48px;\n align-items: center;\n justify-content: center;\n\n margin-right: 16px;\n\n //background-color: ",";\n border-radius: 50%;\n"])),(function(n){return n.theme.mbColors.lightGray})),js=Dt.div(Zs||(Zs=gn(["\n display: flex;\n width: 100%;\n height: 64px;\n align-items: center;\n justify-content: flex-start;\n padding: 8px 16px;\n background-color: ",";\n font-size: ",";\n"],["\n display: flex;\n width: 100%;\n height: 64px;\n align-items: center;\n justify-content: flex-start;\n padding: 8px 16px;\n background-color: ",";\n font-size: ",";\n"])),(function(n){return n.theme.colors.white}),(function(n){return n.theme.sizes.fsParagraph4})),Us=Dt.div(Ys||(Ys=gn(["\n position: absolute;\n z-index: ",";\n top: 64px;\n\n min-width: 375px;\n align-items: center;\n background-color: transparent;\n &[data-is-display='false'] {\n display: none;\n }\n"],["\n position: absolute;\n z-index: ",";\n top: 64px;\n\n min-width: 375px;\n align-items: center;\n background-color: transparent;\n &[data-is-display='false'] {\n display: none;\n }\n"])),Nt.menuCategoryPopupWrapper),Os=Dt.div(Ws||(Ws=gn(["\n position: fixed;\n top: 69px;\n left: 0;\n width: 100vw;\n height: 100vh;\n"],["\n position: fixed;\n top: 69px;\n left: 0;\n width: 100vw;\n height: 100vh;\n"]))),Vs=Dt.div(Qs||(Qs=gn(["\n z-index: ",";\n\n width: 100%;\n\n max-height: 80vh;\n\n padding: 20px 0;\n\n border: 1px solid ",";\n //align-items: center;\n //display: flex;\n //flex: 1;\n background-color: ",";\n\n border-radius: 16px;\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n\n overflow-y: auto;\n"],["\n z-index: ",";\n\n width: 100%;\n\n max-height: 80vh;\n\n padding: 20px 0;\n\n border: 1px solid ",";\n //align-items: center;\n //display: flex;\n //flex: 1;\n background-color: ",";\n\n border-radius: 16px;\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n\n overflow-y: auto;\n"])),Nt.menuCategoryPopupContainer,(function(n){return n.theme.colors.neutral50}),(function(n){return n.theme.colors.white}));Dt.div(qs||(qs=gn(["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n padding: 24px;\n"],["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n padding: 24px;\n"])));var Gs,Zs,Ys,Ws,Qs,qs,Ks,Js,Xs=Dt.div(Ks||(Ks=gn(["\n position: relative;\n display: flex;\n flex-direction: column;\n"],["\n position: relative;\n display: flex;\n flex-direction: column;\n"])));Dt.div(Js||(Js=gn(["\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n }\n\n & > a:hover {\n color: ",";\n }\n\n .iconMenu {\n display: flex;\n align-items: center;\n\n > .imageContainer {\n display: flex;\n width: 32px;\n min-width: 32px;\n align-items: center;\n margin-right: 16px;\n }\n }\n"],["\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n }\n\n & > a:hover {\n color: ",";\n }\n\n .iconMenu {\n display: flex;\n align-items: center;\n\n > .imageContainer {\n display: flex;\n width: 32px;\n min-width: 32px;\n align-items: center;\n margin-right: 16px;\n }\n }\n"])),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwRegular}),(function(n){return n.theme.colors.primaryBase}));var $s=function(e){var t=e.isDisplayed,a=void 0!==t&&t,i=e.communities,o=e.onSelectCommunity,r=e.isLoading,l=e.basePath,s=e.type,c=e.isMobile,d=e.onClosePopup,p=e.desktopPopupType,m=e.TOGETHER_URL_FE;return c?r&&a?n.createElement(Ls,null,n.createElement(Is,null)):n.createElement(Ls,{style:{marginTop:24},"data-category-list-type":s,"data-is-displayed":a},i.map((function(e,t){return n.createElement("a",{className:"wrapper-menu-community wrapper-menu-community-".concat(t," iconMenu"),key:"community-"+t,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn/community/".concat(e.communitySlug)},n.createElement(js,{onClick:function(){o({community:e,isSetToSubMenu:!1})}},n.createElement(Rs,null,n.createElement("img",{alt:"health-tool-icon",src:e.thumbnail||"".concat(l,"/images/avatar.jpg"),style:{width:"24px",height:"24px"}})),n.createElement(Ss,null,e.title)))}))):n.createElement(Us,{className:"top-menu-communities",onClick:d,"data-is-display":"communities"===p},n.createElement(Os,null),n.createElement(Vs,{"data-popup-type":p,onClick:function(n){n.stopPropagation()}},n.createElement(Xs,null,r?n.createElement("div",{style:{width:"100%",padding:"0 20px"}},n.createElement(Is,null)):i.map((function(e,t){return n.createElement("a",{className:"wrapper-menu-community wrapper-menu-community-".concat(t," iconMenu"),"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn/community/".concat(e.communitySlug),style:{textDecoration:"none",color:Sn.colors.gray800},href:"".concat(m,"/").concat(e.communitySlug),key:e.title},n.createElement(js,{onClick:d},n.createElement(Rs,{style:{backgroundColor:e.color||Sn.mbColors.lightGray}},n.createElement("img",{alt:e.communitySlug,src:e.thumbnail||"".concat(l,"/images/avatar.jpg"),style:{width:"24px",height:"24px"}})),n.createElement(br,{style:{fontWeight:Sn.sizes.fwSemiBold},type:"subtitle-2"},e.title)))})))))},nc=function(e){var t=e.isDisplayed,a=void 0!==t&&t,i=e.locale,o=e.communities,r=e.type,l=e.onSelectCommunity,s=e.onClosePopup,c=e.isLoading,d=e.basePath,p=e.TOGETHER_URL_FE,m=e.siteType,g=void 0===m?"helloSites":m,u=e.isMobile,h=e.desktopPopupType,f=e.togetherApiDomain;return"helloSites"===g?n.createElement(Hs,{isDisplayed:a,locale:i,TOGETHER_URL_FE:p,basePath:d,type:r,onSelectCommunity:l,communities:o,isLoading:c,isMobile:u,siteType:g,togetherApiDomain:f,desktopPopupType:h,onClosePopup:s}):n.createElement($s,{isDisplayed:a,locale:i,TOGETHER_URL_FE:p,basePath:d,type:r,onSelectCommunity:l,communities:o,isLoading:c,isMobile:u,togetherApiDomain:f,desktopPopupType:h,onClosePopup:s})},ec=Dt.div(gc||(gc=gn(["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"],["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"]))),tc=Dt.div(uc||(uc=gn(["\n &[data-category-list-type='sub'] {\n padding-bottom: 72px;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n }\n .title {\n margin-bottom: 8px;\n margin-top: 24px;\n }\n"],["\n &[data-category-list-type='sub'] {\n padding-bottom: 72px;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n }\n .title {\n margin-bottom: 8px;\n margin-top: 24px;\n }\n"]))),ac=Dt.div(hc||(hc=gn(["\n display: flex;\n width: 100%;\n height: 64px;\n align-items: center;\n justify-content: flex-start;\n padding: 8px;\n background-color: ",";\n font-size: ",";\n border-bottom: 1px solid\n ",";\n\n &[data-is-heading-category='true'] {\n /* border-bottom: none; */\n background-color: ",";\n color: ",";\n font-weight: ",";\n }\n > * {\n pointer-events: none;\n }\n"],["\n display: flex;\n width: 100%;\n height: 64px;\n align-items: center;\n justify-content: flex-start;\n padding: 8px;\n background-color: ",";\n font-size: ",";\n border-bottom: 1px solid\n ",";\n\n &[data-is-heading-category='true'] {\n /* border-bottom: none; */\n background-color: ",";\n color: ",";\n font-weight: ",";\n }\n > * {\n pointer-events: none;\n }\n"])),(function(n){return n.theme.colors.white}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.blue50}),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fwBold})),ic=Dt.div(fc||(fc=gn([""],[""]))),oc=Dt.div(xc||(xc=gn(["\n padding-right: 16px;\n"],["\n padding-right: 16px;\n"]))),rc=Dt.div(vc||(vc=gn(["\n position: fixed;\n z-index: ",";\n top: 69px;\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n background-color: transparent;\n &[data-is-display='false'] {\n display: none;\n }\n"],["\n position: fixed;\n z-index: ",";\n top: 69px;\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n background-color: transparent;\n &[data-is-display='false'] {\n display: none;\n }\n"])),Nt.menuCategoryPopupWrapper),lc=Dt.div(yc||(yc=gn(["\n z-index: ",";\n align-items: center;\n\n border: 1px solid ",";\n background-color: ",";\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n"],["\n z-index: ",";\n align-items: center;\n\n border: 1px solid ",";\n background-color: ",";\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n"])),Nt.menuCategoryPopupContainer,(function(n){return n.theme.colors.neutral50}),(function(n){return n.theme.colors.white})),sc=Dt.div(bc||(bc=gn(["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n padding: 48px 0;\n"],["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n padding: 48px 0;\n"]))),cc=Dt.div(Ec||(Ec=gn(["\n width: 33%;\n height: 48px;\n padding-right: 16px;\n margin-bottom: 12px;\n\n &[data-grouped='true'] {\n width: 100%;\n }\n\n & > a {\n display: flex;\n align-items: center;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n\n & > :first-child {\n margin-right: 16px;\n }\n }\n\n & > a > p:hover {\n color: ",";\n }\n [data-event-category] > * {\n pointer-events: none;\n }\n"],["\n width: 33%;\n height: 48px;\n padding-right: 16px;\n margin-bottom: 12px;\n\n &[data-grouped='true'] {\n width: 100%;\n }\n\n & > a {\n display: flex;\n align-items: center;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n\n & > :first-child {\n margin-right: 16px;\n }\n }\n\n & > a > p:hover {\n color: ",";\n }\n [data-event-category] > * {\n pointer-events: none;\n }\n"])),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwRegular}),(function(n){return n.theme.colors.primaryBase})),dc=Dt.div(wc||(wc=gn(["\n display: flex;\n align-items: center;\n\n padding-right: 16px;\n margin-bottom: 12px;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 24px;\n\n &[data-theme='marryBaby'] {\n color: ",";\n }\n &[data-event-category] * {\n pointer-events: none;\n }\n"],["\n display: flex;\n align-items: center;\n\n padding-right: 16px;\n margin-bottom: 12px;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 24px;\n\n &[data-theme='marryBaby'] {\n color: ",";\n }\n &[data-event-category] * {\n pointer-events: none;\n }\n"])),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwBold}),(function(n){return n.theme.mbColors.pink})),pc=Dt.div(kc||(kc=gn(["\n display: flex;\n align-items: center;\n\n margin-left: 10px;\n"],["\n display: flex;\n align-items: center;\n\n margin-left: 10px;\n"]))),mc=Dt.div(Cc||(Cc=gn(["\n position: absolute;\n top: 16px;\n right: 0;\n display: flex;\n align-items: center;\n cursor: pointer;\n"],["\n position: absolute;\n top: 16px;\n right: 0;\n display: flex;\n align-items: center;\n cursor: pointer;\n"])));Dt.div(Lc||(Lc=gn(["\n &[data-is-displayed='false'] {\n display: none;\n }\n"],["\n &[data-is-displayed='false'] {\n display: none;\n }\n"])));var gc,uc,hc,fc,xc,vc,yc,bc,Ec,wc,kc,Cc,Lc,Mc,Sc,Tc=Dt.div(Mc||(Mc=gn(["\n margin-bottom: 56px;\n margin-top: 18px;\n"],["\n margin-bottom: 56px;\n margin-top: 18px;\n"]))),Nc=Dt.div(Sc||(Sc=gn(["\n position: relative;\n display: flex;\n width: 25%;\n flex-direction: column;\n align-items: flex-start;\n justify-content: flex-start;\n margin-bottom: 24px;\n h1 {\n margin-bottom: 20px;\n }\n"],["\n position: relative;\n display: flex;\n width: 25%;\n flex-direction: column;\n align-items: flex-start;\n justify-content: flex-start;\n margin-bottom: 24px;\n h1 {\n margin-bottom: 20px;\n }\n"]))),zc=function(){return n.createElement(ec,{style:{marginTop:"16px"}},n.createElement("div",null,n.createElement(Ft,{height:46})),n.createElement("div",null,n.createElement(Ft,{height:46})),n.createElement("div",null,n.createElement(Ft,{height:46})))},Ac=function(e){var t=e.healthTools,a=e.onSelectHealthTool,i=e.basePath,o=e.isDesktop,r=e.onClosePopup,l=e.HEALTH_TOOL_URL_FE,s=e.locale,c=e.isGrouped;return(null==t?void 0:t.length)?o?n.createElement(n.Fragment,null,t.map((function(e,t){return n.createElement(cc,{"data-grouped":c,key:e.title,onClick:r},n.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(Tt[s]).concat(e.link),style:{textDecoration:"none",color:Sn.colors.gray800},className:"iconMenu",href:e.link.startsWith("http")?e.link:"".concat(l).concat(e.link)},n.createElement("div",{style:{display:"flex"}},n.createElement("img",{alt:"health-tool-icon",src:e.icon||"/images/avatar.jpg",style:{width:"32px",height:"32px"}})),n.createElement("p",null,e.title)))}))):n.createElement(n.Fragment,null,t.map((function(e,t){return n.createElement("a",{key:"tool-"+t},n.createElement(ac,{onClick:function(){a(e)},"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(Tt[s]).concat(e.link)},n.createElement(oc,null,n.createElement("img",{alt:"health-tool-icon",src:e.icon||"".concat(i,"/images/avatar.jpg"),style:{width:"32px",height:"32px"}})),n.createElement(ic,null,e.title)))}))):null},Bc=function(e){var t,a,i,o,r=e.isDisplayed,l=e.healthTools,s=e.healthToolsByCategory,c=e.onSelectHealthTool,d=e.isLoading,p=e.basePath,m=e.locale,g=e.isMobile,u=e.onClosePopup,h=e.desktopPopupType,f=e.HEALTH_TOOL_URL_FE,x=e.STATIC_PAGES,v=e.siteType,y=Oe();return g?n.createElement(n.Fragment,null,d&&r?n.createElement(tc,null,n.createElement(zc,null)):n.createElement(tc,{"data-category-list-type":"main","data-is-displayed":r},(null==s?void 0:s.length)?s.map((function(e,t){var a;return!!(null===(a=e.healthTools)||void 0===a?void 0:a.length)&&n.createElement(n.Fragment,{key:"category-health-tool-".concat(t)},n.createElement(kn,{tag:"h4",fontWeight:"bold",className:"title"},n.createElement("span",{dangerouslySetInnerHTML:{__html:e.name}})),n.createElement(Ac,{healthTools:e.healthTools.slice(0,4),onSelectHealthTool:c,basePath:p,HEALTH_TOOL_URL_FE:f,locale:m}))})):n.createElement(Ac,{healthTools:l,onSelectHealthTool:c,basePath:p,HEALTH_TOOL_URL_FE:f,locale:m}),n.createElement(Tc,null,n.createElement("a",{href:"".concat(f).concat((null===(t=x[m])||void 0===t?void 0:t.HEALTH_TOOLS)||""),style:{textDecoration:"none"}},n.createElement(dc,{key:"all-health-tools-mobile","data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(f).concat((null===(a=x[m])||void 0===a?void 0:a.HEALTH_TOOLS)||"")},y("home.navigator.menuItem.allHealthTools"),n.createElement(pc,null,n.createElement("img",{src:"".concat(p,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:y("home.navigator.menuItem.allHealthTools")}))))))):n.createElement(rc,{className:"top-menu-health-tools",onClick:u,"data-is-display":"tools"===h},n.createElement(lc,null,n.createElement(ln,{style:{padding:"0 16px"}},n.createElement(sc,{"data-popup-type":h,onClick:function(n){n.stopPropagation()}},n.createElement(n.Fragment,null,(null==s?void 0:s.length)?s.map((function(e,t){var a;return!!(null===(a=e.healthTools)||void 0===a?void 0:a.length)&&n.createElement(Nc,{key:"health-tools-categories-".concat(t)},n.createElement(kn,{tag:"h4",as:"h1",fontWeight:"bold"},n.createElement("span",{dangerouslySetInnerHTML:{__html:e.name}})),n.createElement(Ac,{healthTools:e.healthTools.slice(0,4),onSelectHealthTool:c,basePath:p,HEALTH_TOOL_URL_FE:f,locale:m,isDesktop:!0,isGrouped:!0,onClosePopup:u}))})):n.createElement(Ac,{healthTools:l,onSelectHealthTool:c,basePath:p,HEALTH_TOOL_URL_FE:f,locale:m,isDesktop:!0,onClosePopup:u}),n.createElement("a",{style:{textDecoration:"none"},href:"".concat(f).concat((null===(i=x[m])||void 0===i?void 0:i.HEALTH_TOOLS)||"")},n.createElement(dc,{onClick:u,key:"all-health-tools","data-theme":v,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(f).concat((null===(o=x[m])||void 0===o?void 0:o.HEALTH_TOOLS)||"")},y("home.navigator.menuItem.allHealthTools"),n.createElement(pc,null,n.createElement("img",{src:"".concat(p,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:y("home.navigator.menuItem.allHealthTools")}))))),n.createElement(mc,{onClick:u},n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})))))))},_c=Dt.div(Hc||(Hc=gn(["\n display: flex;\n width: 48px;\n height: 48px;\n align-items: center;\n justify-content: center;\n\n margin-right: 16px;\n\n background-color: ",";\n border-radius: 50%;\n"],["\n display: flex;\n width: 48px;\n height: 48px;\n align-items: center;\n justify-content: center;\n\n margin-right: 16px;\n\n background-color: ",";\n border-radius: 50%;\n"])),(function(n){return n.theme.mbColors.lightGray})),Dc=Dt.div(Rc||(Rc=gn(["\n display: flex;\n width: 100%;\n height: 64px;\n align-items: center;\n justify-content: flex-start;\n padding: 8px 16px;\n background-color: ",";\n font-size: ",";\n"],["\n display: flex;\n width: 100%;\n height: 64px;\n align-items: center;\n justify-content: flex-start;\n padding: 8px 16px;\n background-color: ",";\n font-size: ",";\n"])),(function(n){return n.theme.colors.white}),(function(n){return n.theme.sizes.fsParagraph4})),Fc=Dt.div(jc||(jc=gn(["\n position: absolute;\n z-index: ",";\n top: 64px;\n\n min-width: 375px;\n align-items: center;\n background-color: transparent;\n &[data-is-display='false'] {\n display: none;\n }\n"],["\n position: absolute;\n z-index: ",";\n top: 64px;\n\n min-width: 375px;\n align-items: center;\n background-color: transparent;\n &[data-is-display='false'] {\n display: none;\n }\n"])),Nt.menuCategoryPopupWrapper),Pc=Dt.div(Uc||(Uc=gn(["\n position: fixed;\n top: 69px;\n left: 0;\n width: 100vw;\n height: 100vh;\n"],["\n position: fixed;\n top: 69px;\n left: 0;\n width: 100vw;\n height: 100vh;\n"]))),Ic=Dt.div(Oc||(Oc=gn(["\n z-index: ",";\n\n width: 100%;\n\n max-height: 80vh;\n\n padding: 20px 0;\n\n border: 1px solid ",";\n //align-items: center;\n //display: flex;\n //flex: 1;\n background-color: ",";\n\n border-radius: 16px;\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n\n overflow-y: auto;\n"],["\n z-index: ",";\n\n width: 100%;\n\n max-height: 80vh;\n\n padding: 20px 0;\n\n border: 1px solid ",";\n //align-items: center;\n //display: flex;\n //flex: 1;\n background-color: ",";\n\n border-radius: 16px;\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n\n overflow-y: auto;\n"])),Nt.menuCategoryPopupContainer,(function(n){return n.theme.colors.neutral50}),(function(n){return n.theme.colors.white}));Dt.div(Vc||(Vc=gn(["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n padding: 24px;\n"],["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n padding: 24px;\n"])));var Hc,Rc,jc,Uc,Oc,Vc,Gc,Zc,Yc=Dt.div(Gc||(Gc=gn(["\n position: relative;\n display: flex;\n flex-direction: column;\n"],["\n position: relative;\n display: flex;\n flex-direction: column;\n"])));Dt.div(Zc||(Zc=gn(["\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n }\n\n & > a:hover {\n color: ",";\n }\n\n .iconMenu {\n display: flex;\n align-items: center;\n\n > .imageContainer {\n display: flex;\n width: 32px;\n min-width: 32px;\n align-items: center;\n margin-right: 16px;\n }\n }\n"],["\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n }\n\n & > a:hover {\n color: ",";\n }\n\n .iconMenu {\n display: flex;\n align-items: center;\n\n > .imageContainer {\n display: flex;\n width: 32px;\n min-width: 32px;\n align-items: center;\n margin-right: 16px;\n }\n }\n"])),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwRegular}),(function(n){return n.theme.colors.primaryBase}));var Wc,Qc,qc=function(e){var t=e.isDisplayed,a=void 0!==t&&t,i=e.healthTools,o=e.onSelectHealthTool,r=e.isLoading,l=e.basePath,s=e.isMobile,c=e.onClosePopup,d=e.HEALTH_TOOL_URL_FE,p=e.desktopPopupType;return s?r&&a?n.createElement(tc,null,n.createElement(zc,null)):n.createElement(tc,{style:{marginTop:24},"data-category-list-type":"main","data-is-displayed":a},i.map((function(e,t){return n.createElement("a",{key:"tool-"+t,className:"wrapper-menu-health-tool wrapper-menu-health-tool-".concat(t),"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://https://marrybaby.vn".concat(e.link)},n.createElement(Dc,{onClick:function(){o(e)}},n.createElement(_c,null,n.createElement("img",{alt:"health-tool-icon",src:e.icon||"".concat(l,"/images/avatar.jpg"),style:{width:"24px",height:"24px"}})),n.createElement(ic,null,e.title)))}))):n.createElement(Fc,{className:"top-menu-health-tools",onClick:c,"data-is-display":"tools"===p},n.createElement(Pc,null),n.createElement(Ic,{"data-popup-type":p,onClick:function(n){n.stopPropagation()}},n.createElement(Yc,null,r?n.createElement("div",{style:{width:"100%",padding:"0 20px"}},n.createElement(zc,null)):i.map((function(e,t){return n.createElement("a",{className:"wrapper-menu-health-tool wrapper-menu-health-tool-".concat(t," iconMenu"),"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn".concat(e.link),style:{textDecoration:"none",color:Sn.colors.gray800},href:e.link.startsWith("http")?e.link:"".concat(d).concat(e.link),key:e.title,onClick:function(n){n.stopPropagation()}},n.createElement(Dc,{onClick:c},n.createElement(_c,null,n.createElement("img",{alt:e.title,src:e.icon||"/images/avatar.jpg",style:{width:"24px",height:"24px"}})),n.createElement(br,{style:{fontWeight:Sn.sizes.fwSemiBold},type:"subtitle-2"},e.title)))})))))},Kc=function(e){var t=e.isDisplayed,a=void 0!==t&&t,i=e.healthTools,o=e.healthToolsByCategory,r=e.onSelectHealthTool,l=e.isLoading,s=e.basePath,c=e.locale,d=e.isMobile,p=e.onClosePopup,m=e.desktopPopupType,g=e.HEALTH_TOOL_URL_FE,u=e.siteType,h=e.discoverApiDomain,f=e.STATIC_PAGES;return"helloSites"===u?n.createElement(Bc,{isDisplayed:a,locale:c,basePath:s,discoverApiDomain:h,HEALTH_TOOL_URL_FE:g,onSelectHealthTool:r,healthTools:i,healthToolsByCategory:o,isLoading:l,isMobile:d,siteType:u,desktopPopupType:m,onClosePopup:p,STATIC_PAGES:f}):n.createElement(qc,{isDisplayed:a,basePath:s,discoverApiDomain:h,HEALTH_TOOL_URL_FE:g,onSelectHealthTool:r,healthTools:i||o.reduce((function(n,e){return n.concat(e.healthTools)}),[]),isLoading:l,isMobile:d,desktopPopupType:m,onClosePopup:p})},Jc=Dt.div(Wc||(Wc=gn(["\n & > div {\n width: 100%;\n min-height: 109px;\n }\n"],["\n & > div {\n width: 100%;\n min-height: 109px;\n }\n"]))),Xc=Dt.div(Qc||(Qc=gn(["\n min-height: 116px;\n padding: 8px 8px;\n border: 1px solid ",";\n //border-radius: 6px;\n background-color: ",";\n box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04), 0px 0px 2px rgba(0, 0, 0, 0.06),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n text-align: center;\n transition: 0.2s ease-in-out;\n\n &[data-is-active='true'] {\n background-color: ",";\n p {\n color: ",";\n }\n }\n\n & > :last-child {\n margin-top: 8px;\n }\n\n &[data-card-position='left'] {\n border-bottom-left-radius: 6px;\n border-top-left-radius: 6px;\n }\n\n &[data-card-position='right'] {\n border-bottom-right-radius: 6px;\n border-top-right-radius: 6px;\n }\n\n &[data-card-position='whatever'] {\n border-radius: 6px;\n }\n"],["\n min-height: 116px;\n padding: 8px 8px;\n border: 1px solid ",";\n //border-radius: 6px;\n background-color: ",";\n box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04), 0px 0px 2px rgba(0, 0, 0, 0.06),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n text-align: center;\n transition: 0.2s ease-in-out;\n\n &[data-is-active='true'] {\n background-color: ",";\n p {\n color: ",";\n }\n }\n\n & > :last-child {\n margin-top: 8px;\n }\n\n &[data-card-position='left'] {\n border-bottom-left-radius: 6px;\n border-top-left-radius: 6px;\n }\n\n &[data-card-position='right'] {\n border-bottom-right-radius: 6px;\n border-top-right-radius: 6px;\n }\n\n &[data-card-position='whatever'] {\n border-radius: 6px;\n }\n"])),(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.white}),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.colors.white})),$c=function(){return n.createElement(n.Fragment,null,n.createElement(Jc,null,n.createElement("div",null,n.createElement(Ft,{height:109})),n.createElement("div",null,n.createElement(Ft,{height:109})),n.createElement("div",null,n.createElement(Ft,{height:109})),n.createElement("div",null,n.createElement(Ft,{height:109})),n.createElement("div",null,n.createElement(Ft,{height:109})),n.createElement("div",null,n.createElement(Ft,{height:109}))))},nd=function(e){var t=e.specialty,a=e.id,i=e.isActive,o=void 0!==i&&i,r=e.position,l=e.className,s=e.onClick;return t.name&&""!==t.name?n.createElement(Xc,{onClick:function(){s&&s(a)},className:l,"data-is-active":o,"data-card-position":r},n.createElement("img",{src:t.thumbnail,style:{objectFit:"contain",height:"55px",width:"55px"},alt:"category-menu-card"}),n.createElement(c,{type:"bold",size:"label2"},t.name)):n.createElement($c,null)};function ed(){return n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M14.5 17L9.5 12L14.5 7",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}))}function td(){return n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"}))}function ad(e){var t=e.siteType,a=e.type;return"helloSites"===t?n.createElement("img",{"data-list-type":"Header","data-content-type":"Navigation","data-content-topic":"Hamburger",src:"data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M4 12H20' stroke='%23262626' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3e%3cpath d='M4 6H20' stroke='%23262626' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3e%3cpath d='M4 18H20' stroke='%23262626' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e",style:{width:"24px",height:"24px"},alt:a}):n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.34961 15C3.34961 14.641 3.64062 14.35 3.99961 14.35L13.9996 14.35C14.3586 14.35 14.6496 14.641 14.6496 15C14.6496 15.359 14.3586 15.65 13.9996 15.65L3.99961 15.65C3.64062 15.65 3.34961 15.359 3.34961 15ZM3.34961 8.99999C3.34961 8.64101 3.64062 8.34999 3.99961 8.34999L19.9992 8.34999C20.3582 8.34999 20.6492 8.64101 20.6492 8.99999C20.6492 9.35898 20.3582 9.64999 19.9992 9.64999L3.99961 9.64999C3.64062 9.64999 3.34961 9.35898 3.34961 8.99999Z",fill:"#3E3F58"}))}function id(e){var t,a,i=e.type,o=e.isStatic,r=e.isAmp,l=e.isDisplayed,s=e.siteType,d=e.isCollapsed,p=e.sitewideBannerShown,m=e.sitewideBanner,g=e.sitewideBannerClosed,u=e.setSitewideBannerClosed,h=e.isMobile,f=e.onMenuClick,x=e.menu,v=e.isSearchIconDisplayed,y=e.statics,b=y.DISCOVER_URL_FE,E=y.SSO_URL,w=y.HOME_PAGE_URL,k=y.CARE_URL_FE,C=e.basePath,L=e.languageMenu,M=e.enabledExperimentalCareHeader,S=e.onCareHeaderClick,T=e.logoType,N=e.locale,z=e.isInit,A=e.title,B=e.sponsorComponent,_=e.currentUrl,D=e.userInfo,F=e.currentPopupType,P=e.avatar,I=e.profileMenu,H=e.isLoginButtonDisplayed,R=e.goToLogin,j=e.isSearchBarDisplay,U=e.searchPlaceholder,O=e.onSearchValueChanged,V=e.keyPressed,G=Oe(),Z=!!B,Y=!!(null===(a=null===(t=null==B?void 0:B.props)||void 0===t?void 0:t.sponsoredBy)||void 0===a?void 0:a.length),W=p&&!!m&&!g,Q=xd({isSiteWide:!!m&&!g,isShowingSiteWideBanner:W,isSponsored:Z,hasSponsoredBanners:Y,isMobile:!0}),q=Q.headerRef,K=Q.headerHeight;return n.createElement(n.Fragment,null,n.createElement(Eo,{"data-header-type":i,"data-collapsed":!o&&d,"data-with-search-input":"popup-sub-level"!==i,"data-is-displayed":l,"data-is-amp":r,"data-sponsored":Z,"data-site-type":s,"data-sitewide-banner-shown":W,id:"site-header",ref:q},m?n.isValidElement(m)?n.cloneElement(m,{isCollapsed:d,setBannerClosed:u,isAmp:r,isMobile:h}):m:null,n.createElement("div",{style:dn(dn({position:"relative",height:64,display:"flex",alignItems:"center",justifyContent:"helloSites"===s?"center":"flex-start",background:"white"},"marryBaby"===s?{paddingLeft:66}:{}),void 0!==L||M?{paddingLeft:M?48:64,gap:24,justifyContent:"unset"}:{})},n.createElement(wo,null,n.createElement(ko,{on:"tap:discover-amp-sidebar",role:"button",className:"menu-handler",tabIndex:0},n.createElement("div",{onClick:function(){return null==f?void 0:f("categories")}},"home"===i&&n.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"Hamburger Navigation URL"},n.createElement(ad,{siteType:s,type:i})),"popup"===i&&n.createElement(td,null),"popup-sub-level"===i&&n.createElement(ed,null)),x),v&&"helloSites"===s&&"home"===i&&n.createElement(ko,{style:{paddingRight:16}},n.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click",style:{paddingRight:16,paddingTop:8,position:"relative"},href:"".concat(w,"/search?s=&page=1")},n.createElement("img",{src:"".concat(C,"/images/search.svg"),style:{width:"24px",height:"24px"},alt:i}),n.createElement("input",{style:{width:"32px",height:"32px",position:"absolute",left:"-2px",bottom:"0",opacity:0,zIndex:1e4}})))),"popup"!==i&&n.createElement(Do,{"data-is-profile":!0,className:z?"":"menu-handler-health-tools"},n.createElement("div",{className:"menu-handler-item"},v&&"marryBaby"===s&&"home"===i&&n.createElement(ko,{style:{justifySelf:"flex-end"}},n.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click",style:{display:"flex"},href:"".concat(b,"/search?s=&page=1")},n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M3.31573 13.7811L3.94855 13.6326L3.31573 13.7811ZM3.31573 8.324L3.94855 8.47244L3.31573 8.324ZM18.7893 8.324L19.4221 8.17556L18.7893 8.324ZM18.7893 13.781L19.4221 13.9295L18.7893 13.781ZM13.781 18.7893L13.6326 18.1565L13.781 18.7893ZM8.324 18.7893L8.17556 19.4221L8.324 18.7893ZM8.324 3.31573L8.17556 2.6829L8.324 3.31573ZM13.781 3.31573L13.9295 2.6829L13.781 3.31573ZM20.5404 21.4596C20.7942 21.7135 21.2058 21.7135 21.4596 21.4596C21.7135 21.2058 21.7135 20.7942 21.4596 20.5404L20.5404 21.4596ZM3.94855 13.6326C3.55048 11.9356 3.55048 10.1695 3.94855 8.47244L2.6829 8.17556C2.23903 10.0679 2.23903 12.0372 2.68291 13.9295L3.94855 13.6326ZM18.1565 8.47244C18.5546 10.1695 18.5546 11.9356 18.1565 13.6326L19.4221 13.9295C19.866 12.0372 19.866 10.0679 19.4221 8.17556L18.1565 8.47244ZM13.6326 18.1565C11.9356 18.5546 10.1695 18.5546 8.47244 18.1565L8.17556 19.4221C10.0679 19.866 12.0372 19.866 13.9295 19.4221L13.6326 18.1565ZM8.47244 3.94855C10.1695 3.55048 11.9356 3.55048 13.6326 3.94855L13.9295 2.6829C12.0372 2.23903 10.0679 2.23903 8.17556 2.6829L8.47244 3.94855ZM8.47244 18.1565C6.22776 17.63 4.47508 15.8773 3.94855 13.6326L2.68291 13.9295C3.32219 16.6549 5.45019 18.7829 8.17556 19.4221L8.47244 18.1565ZM13.9295 19.4221C16.6549 18.7829 18.7829 16.6549 19.4221 13.9295L18.1565 13.6326C17.63 15.8773 15.8773 17.63 13.6326 18.1565L13.9295 19.4221ZM13.6326 3.94855C15.8773 4.47508 17.63 6.22775 18.1565 8.47244L19.4221 8.17556C18.7829 5.45019 16.6549 3.32219 13.9295 2.6829L13.6326 3.94855ZM8.17556 2.6829C5.45019 3.32219 3.32219 5.45018 2.6829 8.17556L3.94855 8.47244C4.47508 6.22775 6.22775 4.47508 8.47244 3.94855L8.17556 2.6829ZM16.8755 17.7948L20.5404 21.4596L21.4596 20.5404L17.7948 16.8755L16.8755 17.7948Z",fill:"#3E3F58"})),n.createElement("input",{style:{width:"32px",height:"32px",position:"absolute",left:"-2px",bottom:"0",opacity:0,zIndex:1e4}}))),M&&n.createElement(n.Fragment,null,S?n.createElement(wn,{size:"sm",color:"primary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:_,onClick:S},G("login.booking")):n.createElement("a",{href:k,className:"care-button"},n.createElement(wn,{size:"sm",color:"primary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:_},G("login.booking")))),(null==D?void 0:D.id)?n.createElement(Ao,{style:{position:"relative"}},n.createElement("div",{onClick:function(){return f&&f("profile")}},"profile"===F?n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})):P),I):r?n.createElement("a",{"data-vars-event-category":"Sign Up","data-vars-event-action":"Button Click","data-vars-event-label":_,href:"".concat(E,"?returnUrl=").concat(_.replace("?amp=1","")),style:{textDecoration:"none"}},"vi-VN"===N?n.createElement(or,{onClick:R},n.createElement("img",{src:qe,className:"avatar",alt:"avatar"})):n.createElement(wn,{className:"login-btn-mobile",size:"sm",color:"secondary",onClick:R},G("navigation.loginJoin"))):H&&n.createElement("a",{"data-event-category":"Sign Up","data-event-action":"Button Click","data-event-label":_},M?n.createElement(or,{onClick:R},n.createElement("img",{src:qe,className:"avatar",alt:"avatar"})):"helloSites"===s?n.createElement(wn,{className:"login-btn-mobile",size:"sm",color:"secondary",onClick:R},G("navigation.loginJoin")):n.createElement("div",{className:"login-btn-mobile",onClick:R,style:{paddingLeft:16}},n.createElement(c,{size:"p3"},G("navigation.loginJoin")))))),("home"===i||"popup"===i)&&n.createElement("a",{href:w||""},n.createElement(rn,{type:T,height:"27px",width:"121px",style:{display:"flex"},badge:"id-ID"===N?n.createElement("img",{src:Ve,style:{width:56,height:23,maxWidth:56},width:"56",height:"23"}):void 0})),void 0!==L&&n.createElement(_o,{"data-is-active":!0,className:z?"":"menu-handler-language",onClick:function(){f&&f("language")}},L),A&&n.createElement(kn,{className:"top-bar-header",tag:"h5"},A)),B?n.isValidElement(B)?n.cloneElement(B,{isCollapsed:d,locale:N,isMobile:h,isAmp:r}):B:null),j?n.createElement(Co,{"data-header-type":i,"data-is-displayed":l,"data-sitewide-banner-shown":p&&!!m},n.createElement(sn,{style:{minHeight:"auto",minWidth:"100%",padding:"0 16px"},name:"search-input-"+i+(z?"":"-temp"),size:"md",placeholder:U,onChange:O,onKeyPress:V,type:"search",autoFocus:!1,displayIcon:n.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click"},n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M11 18C14.866 18 18 14.866 18 11C18 7.13401 14.866 4 11 4C7.13401 4 4 7.13401 4 11C4 14.866 7.13401 18 11 18Z",stroke:"#8C8C8C",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M20 20L16 16",stroke:"#8C8C8C",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})))})):n.createElement(n.Fragment,null,!r&&n.createElement("div",{style:{height:K}})))}var od,rd,ld,sd,cd,dd,pd,md,gd,ud,hd,fd,xd=function(n){var o=n.hasSponsoredBanners,l=n.isSiteWide,s=n.isSponsored,c=n.isShowingSiteWideBanner,d=n.isMobile,p=t(null),m=e(0),g=m[0],u=m[1],h=r(Lt((function(){var n,e=(null===(n=p.current)||void 0===n?void 0:n.clientHeight)||0;window.scrollY<=e+30&&u(e)}),100),[]);i((function(){return window.addEventListener("resize",h),window.addEventListener("scroll",h),function(){window.removeEventListener("resize",h),window.removeEventListener("scroll",h)}}),[]),i((function(){h()}),[l,c,s,o,p.current]);var f=a((function(){var n=d?64:69;return c&&(n+=64),s&&(n+=40),n}),[d,c,s]);return{headerHeight:g||f,headerRef:p}},vd=function(o){var l,s,c,d=o.siteType,p=o.basePath,m=o.statics,g=o.currentPopupType,u=void 0===g?"none":g,h=o.isDisplayed,f=void 0===h||h,x=o.isSearchBarDisplay,v=void 0===x||x,y=o.searchPlaceholder,b=void 0===y?"":y,E=o.openPopup,w=o.onTopBarAppears,k=o.onSearchChange,C=o.onSearchKeyPress,L=o.menu,M=o.isAmp,S=o.profileMenu,T=o.isMobile,N=void 0!==T&&T,z=o.isLoginButtonDisplayed,A=o.title,B=o.type,_=void 0===B?"home":B,D=o.onMenuClick,F=o.isStatic,P=void 0!==F&&F,I=o.routerAsPath,H=o.locale,R=o.userInfo,j=o.marryBaby,U=(void 0===j?{tone:"white"}:j).tone,O=o.menuItems,V=void 0===O?[]:O,G=o.isInit,Z=o.sitewideBanner,Y=o.sitewideBannerShown,W=void 0===Y||Y,Q=o.sponsorComponent,q=o.languageMenu,K=o.isSearchIconDisplayed,J=void 0!==K&&K,X=o.enabledExperimentalCareHeader,$=o.onCareHeaderClick,nn=m.SSO_URL,en=m.HOME_PAGE_URL,tn=m.CARE_URL_FE,an=Oe(),on=!!Q,cn=e(!1),dn=cn[0],pn=cn[1],mn=e(!1),gn=mn[0],un=mn[1],hn=e(!1),fn=hn[0],xn=hn[1],vn=e(G||!1),yn=vn[0],bn=vn[1],En=t(47),kn=t(!1),Ln=t(!1),Mn="helloSites"===d?"https://".concat(Tt[H]).concat(I):"https://www.marrybaby.vn".concat(I),Tn=a((function(){var e=(null==R?void 0:R.name)||(null==R?void 0:R.username);return n.createElement(Cn,{type:"rounded",size:"small",avatarUrl:null==R?void 0:R.avatar,firstLetter:e&&e.length?e[0].toUpperCase():"A",backgroundColor:"marryBaby"===d?Sn.mbColors.pink:Sn.colors.secondaryBase,isAmp:M})}),[null==R?void 0:R.username,null==R?void 0:R.name,null==R?void 0:R.avatar]),Nn=function(){var n=window.location.href;window.location.href=nn?"".concat(nn,"?returnUrl=").concat(n):n},zn="helloSites"===d?null===(l=Mt[H])||void 0===l?void 0:l.LOGO_TYPE:d,An="undefined"!=typeof window,Bn=function(n){null==k||k(n)},_n=r(Ct((function(){var n;if("home"===_){var e=window,t=null===(n=document.querySelector(".sticky-container"))||void 0===n?void 0:n.clientHeight;An&&e&&(e.scrollY>En.current&&e.scrollY>64&&!kn.current&&(kn.current=!0,pn(!0)),e.scrollY<En.current&&kn.current&&(kn.current=!1,pn(!1),t&&e.scrollY),e.scrollY<En.current&&t&&e.scrollY,v?(e.scrollY<64&&e.scrollY<En.current&&Ln.current&&(Ln.current=!1),e.scrollY>8&&e.scrollY>En.current&&!Ln.current&&(Ln.current=!0)):Ln.current=!0,e.scrollY>=0&&(En.current=e.scrollY))}}),300),[]);i((function(){null==w||w(!dn)}),[dn]);var Dn=function(n){var e,t;C&&C(n,null!==(t=null===(e=document.getElementById("search-input-"+_))||void 0===e?void 0:e.value)&&void 0!==t?t:"")};i((function(){N&&_n()}),[]),i((function(){return window.addEventListener("scroll",_n,{passive:!0}),function(){window.removeEventListener("scroll",_n)}}),[]),i((function(){bn(!0)}),[]),i((function(){"undefined"!=typeof window&&xn(Boolean(fn))}),[]);var Fn=n.createElement(n.Fragment,null,V.find((function(n){return"categories"===n.id}))&&n.createElement(_o,{"data-is-active":"categories"===u,className:yn?"":"menu-handler-categories",tabIndex:0,onClick:function(){null==E||E("categories"),setTimeout((function(){var n,e;null===(e=null===(n=document.getElementsByClassName("top-menu-categories"))||void 0===n?void 0:n[0])||void 0===e||e.focus()}),100)}},n.createElement("div",{className:"menu-handler-item"},an("home.navigator.menuItem.discover"),n.createElement(Bo,null,n.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M11.5 7.5L9 10L6.5 7.5",stroke:"#202135",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"})))),"categories"===u&&n.createElement("div",null,L)),V.find((function(n){return"healthTools"===n.id}))&&n.createElement(_o,{"data-is-active":"tools"===u,className:yn?"":"menu-handler-health-tools",tabIndex:0},n.createElement("div",{className:"menu-handler-item",onClick:function(){E&&E("tools")}},an("home.navigator.menuItem.healthTools"),n.createElement(Bo,null,n.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M11.5 7.5L9 10L6.5 7.5",stroke:"#202135",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"})))),"tools"===u&&n.createElement("div",null,L)),V.find((function(n){return"care"===n.id}))&&!X&&n.createElement(_o,{"data-is-active":"care"===u,className:yn?"":"menu-handler-care-specialties",tabIndex:0},n.createElement("div",{className:"menu-handler-item",onClick:function(){E&&E("care")}},an("home.navigator.menuItem.helloCare"),n.createElement(Bo,null,n.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M11.5 7.5L9 10L6.5 7.5",stroke:"#202135",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"})))),"care"===u&&n.createElement("div",null,L)),V.find((function(n){return"together"===n.id}))&&n.createElement(_o,{"data-is-active":"communities"===u,className:yn?"":"menu-handler-communities",tabIndex:0},n.createElement("div",{className:"menu-handler-item",onClick:function(){E&&E("communities")}},an("home.navigator.menuItem.helloTogether"),n.createElement(Bo,null,n.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M11.5 7.5L9 10L6.5 7.5",stroke:"#202135",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"})))),"communities"===u&&n.createElement("div",null,L))),Pn=!!(null===(c=null===(s=null==Q?void 0:Q.props)||void 0===s?void 0:s.sponsoredBy)||void 0===c?void 0:c.length),In=W&&!!Z&&!gn,Hn=xd({isSiteWide:!!Z&&!gn,isShowingSiteWideBanner:In,isSponsored:on,hasSponsoredBanners:Pn}),Rn=Hn.headerRef,jn=Hn.headerHeight;return N?n.createElement(id,{type:_,isStatic:P,isAmp:M,isDisplayed:f,siteType:d,isCollapsed:dn,sitewideBannerShown:W,sitewideBanner:Z,sitewideBannerClosed:gn,setSitewideBannerClosed:un,isMobile:N,onMenuClick:D,menu:L,isSearchIconDisplayed:J,statics:m,basePath:p,languageMenu:q,enabledExperimentalCareHeader:X,logoType:zn,locale:H,isInit:yn,title:A,sponsorComponent:Q,currentUrl:Mn,userInfo:R,currentPopupType:u,avatar:Tn,profileMenu:S,isLoginButtonDisplayed:z,goToLogin:Nn,isSearchBarDisplay:v,searchPlaceholder:b,onSearchValueChanged:Bn,keyPressed:Dn}):n.createElement(n.Fragment,null,n.createElement("div",{style:{height:jn}}),n.createElement(Lo,{ref:Rn,"data-site-type":d,"data-marry-baby-tone":"marryBaby"===d&&U,"data-sponsored":on,"data-sitewide-banner-shown":In},Z?n.isValidElement(Z)?n.cloneElement(Z,{isCollapsed:dn,setBannerClosed:un}):Z:null,n.createElement(ln,{style:{height:69,padding:"0 16px"},type:d},n.createElement(Mo,null,n.createElement(So,null,n.createElement("a",{href:en},n.createElement(To,{"data-is-having-border":"helloSites"===d},n.createElement(rn,{style:{display:"flex"},type:zn,height:"27px",width:"121px",badge:"id-ID"===H?n.createElement("img",{src:Ve,style:{width:56,height:23,maxWidth:56},width:"56",height:"23"}):void 0}))),v&&"helloSites"===d&&n.createElement(No,{"data-header-type":_,"data-is-displayed":f,"data-sitewide-banner-shown":W&&!!Z},n.createElement(sn,{style:{minHeight:"32px",maxHeight:"32px",minWidth:"100%",backgroundColor:Sn.colors.white},name:"search-input-"+_+(yn?"":"-temp"),autoFocus:!1,size:"sm",placeholder:b,onChange:Bn,onKeyPress:Dn,displayIcon:n.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click",style:{width:"24px",height:"24px",transform:"scale(0.8)"}},n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.875 11C4.875 7.61726 7.61726 4.875 11 4.875C14.3827 4.875 17.125 7.61726 17.125 11C17.125 14.3827 14.3827 17.125 11 17.125C7.61726 17.125 4.875 14.3827 4.875 11ZM11 3.125C6.65076 3.125 3.125 6.65076 3.125 11C3.125 15.3492 6.65076 18.875 11 18.875C12.8594 18.875 14.5683 18.2306 15.9155 17.1529L19.3813 20.6187C19.723 20.9604 20.277 20.9604 20.6187 20.6187C20.9604 20.277 20.9604 19.723 20.6187 19.3813L17.1529 15.9155C18.2306 14.5683 18.875 12.8594 18.875 11C18.875 6.65076 15.3492 3.125 11 3.125Z",fill:"#8C8C8C"})))})),"marryBaby"===d&&n.createElement("div",{style:{marginLeft:28,display:"flex"}},Fn)),n.createElement(zo,null,"helloSites"===d&&Fn,v&&"marryBaby"===d&&n.createElement(No,{"data-header-type":_,"data-is-displayed":f,"data-is-styled-borderless":"marryBaby"===d,"data-marry-baby-theme":U},n.createElement(sn,{style:{minHeight:"40px",maxHeight:"40px",minWidth:"100%",borderRadius:16},name:"search-input-"+_+(yn?"":"-temp"),autoFocus:!1,size:"sm",placeholder:b,onChange:Bn,onKeyPress:Dn,displayIcon:n.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click",style:{width:"24px",height:"24px"}},n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M3.31573 13.7811L3.94855 13.6326L3.31573 13.7811ZM3.31573 8.324L3.94855 8.47244L3.31573 8.324ZM18.7893 8.324L19.4221 8.17556L18.7893 8.324ZM18.7893 13.781L19.4221 13.9295L18.7893 13.781ZM13.781 18.7893L13.6326 18.1565L13.781 18.7893ZM8.324 18.7893L8.17556 19.4221L8.324 18.7893ZM8.324 3.31573L8.17556 2.6829L8.324 3.31573ZM13.781 3.31573L13.9295 2.6829L13.781 3.31573ZM20.5404 21.4596C20.7942 21.7135 21.2058 21.7135 21.4596 21.4596C21.7135 21.2058 21.7135 20.7942 21.4596 20.5404L20.5404 21.4596ZM3.94855 13.6326C3.55048 11.9356 3.55048 10.1695 3.94855 8.47244L2.6829 8.17556C2.23903 10.0679 2.23903 12.0372 2.68291 13.9295L3.94855 13.6326ZM18.1565 8.47244C18.5546 10.1695 18.5546 11.9356 18.1565 13.6326L19.4221 13.9295C19.866 12.0372 19.866 10.0679 19.4221 8.17556L18.1565 8.47244ZM13.6326 18.1565C11.9356 18.5546 10.1695 18.5546 8.47244 18.1565L8.17556 19.4221C10.0679 19.866 12.0372 19.866 13.9295 19.4221L13.6326 18.1565ZM8.47244 3.94855C10.1695 3.55048 11.9356 3.55048 13.6326 3.94855L13.9295 2.6829C12.0372 2.23903 10.0679 2.23903 8.17556 2.6829L8.47244 3.94855ZM8.47244 18.1565C6.22776 17.63 4.47508 15.8773 3.94855 13.6326L2.68291 13.9295C3.32219 16.6549 5.45019 18.7829 8.17556 19.4221L8.47244 18.1565ZM13.9295 19.4221C16.6549 18.7829 18.7829 16.6549 19.4221 13.9295L18.1565 13.6326C17.63 15.8773 15.8773 17.63 13.6326 18.1565L13.9295 19.4221ZM13.6326 3.94855C15.8773 4.47508 17.63 6.22775 18.1565 8.47244L19.4221 8.17556C18.7829 5.45019 16.6549 3.32219 13.9295 2.6829L13.6326 3.94855ZM8.17556 2.6829C5.45019 3.32219 3.32219 5.45018 2.6829 8.17556L3.94855 8.47244C4.47508 6.22775 6.22775 4.47508 8.47244 3.94855L8.17556 2.6829ZM16.8755 17.7948L20.5404 21.4596L21.4596 20.5404L17.7948 16.8755L16.8755 17.7948Z",fill:"#3E3F58"})))})),void 0!==q&&n.createElement(_o,{"data-is-active":!0,className:yn?"":"menu-handler-language",onClick:function(){E&&E("language")}},q),n.createElement(Do,{"data-is-active":"profile"===u,"data-is-profile":!0,className:yn?"":"menu-handler-health-tools",tabIndex:0},n.createElement("div",{className:"menu-handler-item"},X&&n.createElement(n.Fragment,null,$?n.createElement(wn,{className:"login-btn-mobile",size:"sm",color:"secondary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:Mn,onClick:$},an("login.booking")):n.createElement("a",{href:tn,className:"care-button no-replace-click"},n.createElement(wn,{className:"login-btn-mobile",size:"sm",color:"secondary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:Mn},an("login.booking")))),(null==R?void 0:R.id)?n.createElement(Ao,{style:{position:"relative"}},n.createElement("div",{onClick:function(){return E&&E("profile")}},Tn),S):z&&n.createElement("a",{"data-event-category":"Sign Up","data-event-action":"Button Click","data-event-label":Mn},X?n.createElement(or,{onClick:Nn},n.createElement("img",{src:qe,className:"avatar",alt:"avatar"})):"helloSites"===d?n.createElement(wn,{size:"md",color:"secondary",onClick:Nn},an("navigation.loginJoin")):n.createElement(wn,{size:"md",color:"secondary",theme:"marryBaby",onClick:Nn},an("navigation.loginJoin")))))))),Q?n.isValidElement(Q)?n.cloneElement(Q,{isCollapsed:dn,locale:H,isMobile:N,isAmp:M}):Q:null))},yd=function(e){var t=e.selectedMenuMainItem,a=e.spotlightsList,i=e.locale,o=e.basePath,r=e.callApiHandler,l=e.discoverApiDomain,s=e.DISCOVER_URL_FE,c=e.MARRY_BABY_FE,d=e.onSelectCategory,p=e.isMobile,m=e.siteType,g=e.onCategoryClick,u=Oe(),h=t.childCates,f=t.categoryName;return n.createElement(ji,{"data-type":"sub-level","data-with-search-input":!1},n.createElement(Oi,null,n.createElement(ks,{isDisplayed:!0,locale:i,basePath:o,callApiHandler:r,discoverApiDomain:l,DISCOVER_URL_FE:s,MARRY_BABY_FE:c,categories:h||[],spotlightsList:a,type:"sub",onSelectCategory:d,isMobile:p,siteType:m,desktopPopupType:"none",isLoading:!1,onClosePopup:void 0}),n.createElement(Ri,{"data-site-type":m},n.createElement(wn,{onClick:g,className:"category-button",size:"md",theme:m},n.createElement(Zi,null,n.createElement("div",null,u("home.menu.category.view",{category:f})),"helloSites"===m?n.createElement("img",{src:dr,style:{width:"16px",height:"16px"},className:"button-image",alt:u("home.menu.category.view",{category:f})}):n.createElement("svg",{width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M7 12H18M18 12L13.4118 8M18 12L13.4118 16",stroke:"white",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"})))))))},bd=function(t){var a=t.selectedMenuMainItem,o=t.onCommunityClick,r=t.onSelectCommunity,l=t.basePath,s=void 0===l?"":l,c=t.callApiHandler,d=t.togetherApiDomain,p=t.locale,m=t.TOGETHER_URL_FE,g=t.siteType,u=t.isMobile,h=Oe(),f=e([]),x=f[0],v=f[1],y=e(!1),b=y[0],E=y[1],w=a.communityId,k=a.title;return i((function(){E(!0),un(void 0,void 0,void 0,(function(){var n,e,t,a,i;return hn(this,(function(o){switch(o.label){case 0:return[4,c("helloSites"===g?Je(p,d,{communityId:w}):Xe(p,d,{communityId:w}),"GET")];case 1:return null!==(n=o.sent())&&(null===(i=null===(a=null===(t=null==n?void 0:n.data)||void 0===t?void 0:t.data)||void 0===a?void 0:a.topics)||void 0===i?void 0:i.length)>0&&(e=n.data.data.topics.map(Ke),v(e)),E(!1),[2]}}))}))}),[a]),n.createElement(ji,{"data-type":"sub-level","data-with-search-input":!1},n.createElement(Oi,null,n.createElement(nc,{isDisplayed:!0,locale:p,communities:x,type:"sub",onSelectCommunity:r,isLoading:b,basePath:s,TOGETHER_URL_FE:m,togetherApiDomain:d,siteType:g,isMobile:u,desktopPopupType:"none",onClosePopup:void 0}),n.createElement(Ri,null,n.createElement(wn,{onClick:o,className:"category-button",size:"md"},n.createElement(Zi,null,n.createElement("div",null,h("home.menu.category.view",{category:k})),n.createElement("img",{src:dr,style:{width:"16px",height:"16px"},className:"button-image",alt:h("home.menu.category.view",{category:k})}))))))},Ed={categories:{icon:n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.1174 3.67709C12.8717 2.70759 11.1272 2.70787 9.8809 3.67705L14.1174 3.67709ZM14.1174 3.67709L19.717 8.0327C20.5579 8.68619 21.049 9.69161 21.049 10.7561V17.6001C21.049 19.5056 19.5045 21.0501 17.599 21.0501H6.39918C4.49368 21.0501 2.94922 19.5056 2.94922 17.6001V10.7561C2.94922 9.6915 3.44016 8.68619 4.28119 8.0327L9.8809 3.67705M10.679 4.70326L5.07908 9.05903C4.5556 9.46579 4.24922 10.0921 4.24922 10.7561V17.6001C4.24922 18.7876 5.21165 19.7501 6.39918 19.7501H17.599C18.7866 19.7501 19.749 18.7876 19.749 17.6001V10.7561C19.749 10.0921 19.4429 9.46599 18.9194 9.05923L13.3192 4.70322C12.5433 4.09928 11.4561 4.09892 10.679 4.70326Z",fill:"#3E3F58"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.2363 13.1623C12.5537 12.4791 11.4456 12.4788 10.7619 13.1625C10.0783 13.8461 10.0783 14.9535 10.7619 15.6371C11.4455 16.3207 12.5529 16.3207 13.2365 15.6371C13.9201 14.9535 13.9201 13.8461 13.2365 13.1625L13.2363 13.1623ZM14.1558 12.2433C12.9651 11.0518 11.0338 11.0522 9.84268 12.2433C8.6514 13.4346 8.6514 15.3651 9.84268 16.5563C11.034 17.7476 12.9645 17.7476 14.1558 16.5563C15.347 15.3651 15.347 13.4346 14.1558 12.2433Z",fill:"#3E3F58"})),color:Sn.mbColors.lightPink},healthTools:{icon:n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.7899 3.65C17.1559 3.65 16.6802 4.2267 16.6809 4.79725L16.6809 4.798C16.6809 5.41974 17.104 6.05554 17.7236 6.58451C18.0209 6.83831 18.3337 7.04083 18.5977 7.17695C18.7296 7.245 18.8416 7.29248 18.9268 7.32147C18.9708 7.33646 18.9995 7.34373 19.0149 7.34719C19.0302 7.34373 19.0589 7.33646 19.1029 7.32147C19.1881 7.29248 19.3001 7.245 19.4321 7.17695C19.696 7.04083 20.0088 6.83831 20.3061 6.58451C20.9257 6.05554 21.3489 5.41974 21.3489 4.798C21.3489 4.22619 20.8732 3.65 20.2399 3.65C19.8662 3.65 19.6352 3.81824 19.4969 3.97109C19.3738 4.10711 19.199 4.1848 19.0156 4.185C18.8321 4.1852 18.6572 4.10789 18.5338 3.97214C18.3936 3.81789 18.1622 3.65 17.7899 3.65ZM15.3809 4.79838C15.3797 3.63503 16.318 2.35 17.7899 2.35C18.2971 2.35 18.703 2.4988 19.0145 2.69438C19.3261 2.49862 19.7323 2.35 20.2399 2.35C21.7125 2.35 22.6489 3.63581 22.6489 4.798C22.6489 5.98926 21.875 6.95446 21.1501 7.57324C20.7752 7.89331 20.3789 8.15136 20.028 8.33233C19.8525 8.42282 19.6807 8.49802 19.522 8.55207C19.3755 8.60198 19.1942 8.65 19.0149 8.65C18.8355 8.65 18.6543 8.60198 18.5077 8.55207C18.349 8.49802 18.1772 8.42282 18.0018 8.33233C17.6509 8.15136 17.2545 7.89331 16.8796 7.57324C16.1548 6.95452 15.381 5.98947 15.3809 4.79838ZM15.3809 4.79838C15.3809 4.79825 15.3809 4.79813 15.3809 4.798H16.0309L15.3809 4.79875C15.3809 4.79863 15.3809 4.7985 15.3809 4.79838Z",fill:"#3E3F58"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.91051 8.78301C4.23607 5.03996 7.79796 2.35 12.0002 2.35C12.3662 2.35 12.7248 2.37267 13.077 2.41455C13.4334 2.45693 13.6881 2.78027 13.6457 3.13674C13.6033 3.49322 13.28 3.74784 12.9235 3.70545C12.6196 3.66932 12.3123 3.65 12.0002 3.65C8.36849 3.65 5.28438 5.97404 4.13594 9.21698C4.0161 9.55538 3.64463 9.73255 3.30624 9.61271C2.96785 9.49287 2.79067 9.12141 2.91051 8.78301Z",fill:"#3E3F58"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.07473 7.35106C9.33041 7.35465 9.56024 7.50781 9.66196 7.74242L12.5334 14.3647L13.6702 11.7415C13.7732 11.5038 14.0075 11.35 14.2666 11.35H15.9996C16.3586 11.35 16.6496 11.641 16.6496 12C16.6496 12.359 16.3586 12.65 15.9996 12.65H14.6933L13.13 16.2575C13.027 16.4951 12.7927 16.649 12.5337 16.649C12.2746 16.649 12.0403 16.4952 11.9373 16.2576L9.0434 9.58369L7.78547 12.2752C7.6786 12.5039 7.44902 12.65 7.19661 12.65H2.99961C2.64062 12.65 2.34961 12.359 2.34961 12C2.34961 11.641 2.64062 11.35 2.99961 11.35H6.78291L8.47675 7.72578C8.58502 7.49413 8.81905 7.34747 9.07473 7.35106Z",fill:"#3E3F58"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.8654 10.3543C21.222 10.313 21.5446 10.5686 21.5859 10.9252C21.6264 11.2747 21.6502 11.6328 21.6502 12C21.6502 17.33 17.3302 21.65 12.0002 21.65C7.79796 21.65 4.23607 18.96 2.91051 15.217C2.79067 14.8786 2.96785 14.5071 3.30624 14.3873C3.64463 14.2674 4.0161 14.4446 4.13594 14.783C5.28438 18.026 8.36849 20.35 12.0002 20.35C16.6122 20.35 20.3502 16.612 20.3502 12C20.3502 11.6892 20.3301 11.3813 20.2945 11.0748C20.2532 10.7182 20.5088 10.3956 20.8654 10.3543Z",fill:"#3E3F58"})),color:Sn.mbColors.lightOrange},together:{icon:n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.99961 4.65C7.4256 4.65 6.14961 5.92599 6.14961 7.5C6.14961 9.07401 7.4256 10.35 8.99961 10.35C10.5736 10.35 11.8496 9.07401 11.8496 7.5C11.8496 5.92599 10.5736 4.65 8.99961 4.65ZM4.84961 7.5C4.84961 5.20802 6.70763 3.35 8.99961 3.35C11.2916 3.35 13.1496 5.20802 13.1496 7.5C13.1496 9.79198 11.2916 11.65 8.99961 11.65C6.70763 11.65 4.84961 9.79198 4.84961 7.5ZM6.71218 15.0233L6.53409 15.0517C4.87235 15.3169 3.64961 16.7503 3.64961 18.433C3.64961 18.9395 4.06015 19.35 4.56658 19.35H13.4326C13.9391 19.35 14.3496 18.9395 14.3496 18.433C14.3496 16.7503 13.1269 15.3169 11.4651 15.0517L11.287 15.0233C9.77167 14.7814 8.22754 14.7814 6.71218 15.0233ZM6.5073 13.7395C8.15839 13.476 9.84083 13.476 11.4919 13.7395L11.67 13.768C13.9626 14.1338 15.6496 16.1114 15.6496 18.433C15.6496 19.6574 14.657 20.65 13.4326 20.65H4.56658C3.34218 20.65 2.34961 19.6574 2.34961 18.433C2.34961 16.1114 4.03657 14.1338 6.3292 13.768L6.5073 13.7395Z",fill:"#3E3F58"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.3496 4C14.3496 3.64101 14.6406 3.35 14.9996 3.35C17.2916 3.35 19.1496 5.20802 19.1496 7.5C19.1496 9.79198 17.2916 11.65 14.9996 11.65C14.6406 11.65 14.3496 11.359 14.3496 11C14.3496 10.641 14.6406 10.35 14.9996 10.35C16.5736 10.35 17.8496 9.07401 17.8496 7.5C17.8496 5.92599 16.5736 4.65 14.9996 4.65C14.6406 4.65 14.3496 4.35898 14.3496 4ZM15.5908 14.3814C15.5908 14.0224 15.8818 13.7314 16.2408 13.7314H17.2089C17.3632 13.7314 17.5175 13.7436 17.67 13.768C19.9626 14.1338 21.6496 16.1114 21.6496 18.433C21.6496 19.6574 20.657 20.65 19.4326 20.65H17.3895C17.0305 20.65 16.7395 20.359 16.7395 20C16.7395 19.641 17.0305 19.35 17.3895 19.35H19.4326C19.9391 19.35 20.3496 18.9395 20.3496 18.433C20.3496 16.7503 19.1269 15.3169 17.4651 15.0517C17.3805 15.0382 17.2947 15.0314 17.2089 15.0314H16.2408C15.8818 15.0314 15.5908 14.7404 15.5908 14.3814Z",fill:"#3E3F58"})),color:Sn.mbColors.lightBlue}},wd=function(e){var t,a,i,o=e.item,r=e.isActive,l=e.isGoingForward,s=e.onServiceClicked;return n.createElement("div",{style:{display:"flex",flex:1,flexDirection:"column",alignItems:"center",justifyContent:"center"}},n.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",height:56,width:56,marginBottom:8,borderRadius:16},onClick:function(){null==s||s(o.id)}},n.createElement("div",{style:dn({display:"flex",alignItems:"center",justifyContent:"center",height:48,width:48,flexShrink:0,backgroundColor:null!==(a=null===(t=Ed[o.id])||void 0===t?void 0:t.color)&&void 0!==a?a:"white",borderRadius:16},r?{height:56,width:56,boxShadow:"0px 0px 24px rgba(0, 0, 0, 0.08)",border:"4px solid white"}:{})},null===(i=Ed[o.id])||void 0===i?void 0:i.icon)),n.createElement(br,{type:"subtitle-3",color:r&&Sn.mbColors.pink,style:{fontWeight:Sn.sizes.fwSemiBold}},o.name),r&&(l?n.createElement(yo,{style:{animationDuration:"0.2s",animationName:"menuLeftToRightTrans"}}):n.createElement(yo,{style:{animationDuration:"0.2s",animationName:"menuRightToLeftTrans"}})))},kd=function(a){var i=a.menuItems,o=a.activeItem,r=a.onServiceClicked,l=e(0),s=l[0],c=l[1],d=t(!0);return n.createElement("div",{style:{display:"flex",alignItems:"flex-start",justifyContent:"space-evenly"}},i.map((function(e,t){return n.createElement(wd,{onServiceClicked:function(n){d.current=s<t,c(t),null==r||r(n)},key:"item"+t,item:e,isGoingForward:d.current,isActive:o.id===e.id})})))},Cd=function(t){var a=t.isMobile,o=void 0!==a&&a,r=t.isMobileMenuOpened,l=void 0===r?void 0:r,s=t.categories,c=t.healthTools,d=t.healthToolsByCategory,p=t.careSpecialties,m=t.togetherCommunities,g=t.spotlightsList,u=t.closePopup,h=t.popupType,f=void 0===h?"none":h,x=t.onMobileMenuClick,v=t.footer,y=t.care.CARE_URL_FE,b=t.discover,E=b.discoverApiDomain,w=b.DISCOVER_URL_FE,k=t.together,C=k.togetherApiDomain,L=k.TOGETHER_URL_FE,M=t.sso.SSO_URL,S=t.statics,T=S.MARRY_BABY_FE,N=S.HOME_PAGE_URL,z=S.STATIC_PAGES,A=S.HEALTH_TOOL_URL_FE,B=t.marryBaby.tone,_=t.locale,D=t.siteType,F=t.basePath,P=t.callApiHandler,I=t.activeMenuService,H=t.menuItems,R=t.routerAsPath,j=Oe(),U=e(!1),O=U[0],V=U[1],G=e(s),Z=G[0],Y=G[1],W=e(void 0),Q=W[0],q=W[1],K=e(void 0),J=K[0],X=K[1],$=e(!1),nn=$[0],en=$[1],tn=e(null==H?void 0:H.find((function(n){return n.id===I}))),an=tn[0],on=tn[1],rn=e(!1),ln=rn[0],cn=rn[1],dn=e(!1),pn=dn[0],mn=dn[1],gn=function(){Q&&(window.location.href=Q.permalink),yn(),u&&u()},un=function(){Q&&(window.location.href="".concat(L,"/").concat(Q.communitySlug)),yn(),u&&u()},hn=function(n){n.childCates&&n.childCates.length>0?(V(!0),q(n)):(window.location.href="helloSites"===D?w+n.permalink:T+n.permalink,yn(),u&&u())},fn=function(n){var e=n.community;n.isSetToSubMenu?(V(!0),q(e)):(window.location.href="".concat(L,"/").concat(e.communitySlug),yn(),u&&u())},xn=function(n){window.location.href=n.link.startsWith("http")?n.link:A+n.link,yn(),u&&u()},vn=function(n){window.location.href=y+Qe({type:"DOCTOR",specialtySlug:n.slug,locale:_}),null==u||u()},yn=function(){q(void 0),V(!1)},bn=function(n){on(H.find((function(e){return e.id===n})))},En=Mt[_||"en-PH"]||{};return i((function(){var e;X("categories"===an.id?(null===(e=null==Q?void 0:Q.childCates)||void 0===e?void 0:e.length)>0&&n.createElement(yd,{selectedMenuMainItem:Q,spotlightsList:[],locale:_,basePath:F,callApiHandler:P,discoverApiDomain:E,DISCOVER_URL_FE:w,MARRY_BABY_FE:T,onSelectCategory:hn,isMobile:o,siteType:D,onCategoryClick:gn}):"together"===an.id&&Q&&n.createElement(bd,{selectedMenuMainItem:Q,onCommunityClick:un,onSelectCommunity:fn,TOGETHER_URL_FE:L,basePath:F,callApiHandler:P,locale:_,togetherApiDomain:C,siteType:D,isMobile:o}))}),[Q,an]),i((function(){cn(!0)}),[]),i((function(){!pn&&l&&mn(!0)}),[l]),i((function(){Y(s)}),[s]),o?n.createElement(n.Fragment,null,n.createElement(Ii,{id:ln?"":"categories-menu","data-opened":l||(pn?l:"undefined"),key:ln?"t":"f"},n.createElement(Hi,{"data-opened":l,"data-type":"category","data-is-sub-category-opened":O},n.createElement(vd,{siteType:D,locale:_,isDisplayed:!0,searchPlaceholder:"",statics:{DISCOVER_URL_FE:w,SSO_URL:M,HOME_PAGE_URL:N,MARRY_BABY_FE:T,CARE_URL_FE:y},isMobile:o,isLoginButtonDisplayed:!1,type:"popup",onMenuClick:function(){return null==x?void 0:x("categories")},onSearchChange:function(n){en(""!==n),Y(n&&""!==n?s.filter((function(e){return e.categoryName.toLowerCase().search(n.toLowerCase())>-1||e.slug.replace("-","").toLowerCase().search(n.replace(" ","").toLowerCase())>-1})):s)},isSearchBarDisplay:!1,basePath:F,isAmp:!1,isInit:!1,isStatic:!1,routerAsPath:R,title:"",onTopBarAppears:void 0,currentPopupType:"none",marryBaby:{tone:B},menu:void 0,menuItems:void 0,onSearchKeyPress:void 0,openPopup:void 0,profileMenu:void 0,userInfo:void 0}),n.createElement(ji,null,n.createElement(Oi,null,n.createElement(Vi,null,n.createElement(Gi,{"data-hide-on-search":nn,"data-is-sub-category-opened":O},"helloSites"===D?n.createElement(n.Fragment,null,n.createElement(bo,{onClick:function(){window.location.href="".concat(Ln(_),"/search")}},n.createElement(sn,{className:"fake-search-input",name:"search-input-menu-service"+(ln?"":"-temp"),size:"md",placeholder:j("home.search",{site:En?En.SITE_NAME:""}),onChange:function(){},type:"search",autoFocus:!1,onFocus:function(n){n.preventDefault()},value:"",displayIcon:n.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click"},n.createElement(rr,null))})),n.createElement(kn,{tag:"h5",color:Sn.colors.gray800},j("menu.categories.title")),n.createElement(Ui,{"data-card-array-no-margin-style":!0},H.map((function(e,t){return n.createElement(nd,{onClick:bn,key:"service-"+t,specialty:e,id:e.id,isActive:e.id===an.id,isMobile:o,position:0===t?"left":t===H.length-1?"right":"center"})})))):n.createElement(kd,{menuItems:H,activeItem:an,onServiceClicked:bn})),n.createElement(ks,{isDisplayed:"categories"===an.id,locale:_,basePath:F,callApiHandler:P,onClosePopup:u,discoverApiDomain:E,DISCOVER_URL_FE:w,MARRY_BABY_FE:T,type:"main",onSelectCategory:hn,categories:Z,spotlightsList:g,isLoading:!1,isMobile:o,siteType:D,desktopPopupType:f}),n.createElement(Kc,{isDisplayed:"healthTools"===an.id,locale:_,basePath:F,discoverApiDomain:E,HEALTH_TOOL_URL_FE:A,onSelectHealthTool:xn,onClosePopup:u,desktopPopupType:f,healthTools:c,healthToolsByCategory:d,isLoading:!1,isMobile:o,siteType:D,STATIC_PAGES:z}),"care"===an.id&&n.createElement(bl,{locale:_,basePath:F,onSelectCareSpecialty:vn,onClosePopup:u,careSpecialties:p,isLoading:!1,siteType:D,isMobile:o,desktopPopupType:f,CARE_URL_FE:y}),n.createElement(nc,{isDisplayed:"together"===an.id,locale:_,TOGETHER_URL_FE:L,basePath:F,type:"main",onSelectCommunity:fn,onClosePopup:u,communities:m,isLoading:!1,isMobile:o,siteType:D,togetherApiDomain:C,desktopPopupType:f})),v)))),O&&n.createElement(Ii,{"data-sub-level-opened":O||(pn?O:"undefined")},n.createElement(Hi,{"data-type":"sub-category","data-is-sub-category-opened":O},n.createElement(vd,{siteType:D,locale:_,isDisplayed:l&&O,searchPlaceholder:"",menuItems:void 0,statics:{DISCOVER_URL_FE:w,SSO_URL:M,HOME_PAGE_URL:N,MARRY_BABY_FE:T,CARE_URL_FE:y},isMobile:o,isLoginButtonDisplayed:!1,type:"popup-sub-level",title:"categories"===an.id?null==Q?void 0:Q.categoryName:null==Q?void 0:Q.title,isSearchBarDisplay:!1,basePath:F,isAmp:!1,isInit:!1,isStatic:!1,routerAsPath:R,currentPopupType:"none",marryBaby:{tone:B},menu:void 0,openPopup:void 0,profileMenu:void 0,userInfo:void 0,onSearchKeyPress:void 0,onTopBarAppears:void 0,onMenuClick:yn,onSearchChange:void 0}),J))):n.createElement(n.Fragment,null,n.createElement(ks,{isDisplayed:"categories"===f,locale:_,basePath:F,callApiHandler:P,discoverApiDomain:E,DISCOVER_URL_FE:w,MARRY_BABY_FE:T,type:"main",desktopPopupType:f,onSelectCategory:hn,onClosePopup:u,categories:Z,spotlightsList:g,isLoading:!1,isMobile:o,siteType:D}),n.createElement(Kc,{isDisplayed:"tools"===f,locale:_,basePath:F,discoverApiDomain:E,HEALTH_TOOL_URL_FE:A,desktopPopupType:f,onSelectHealthTool:xn,onClosePopup:u,healthToolsByCategory:d,healthTools:c,isLoading:!1,isMobile:o,siteType:D,STATIC_PAGES:z}),n.createElement(nc,{isDisplayed:"communities"===f,locale:_,TOGETHER_URL_FE:L,basePath:F,type:"main",onSelectCommunity:fn,communities:m,isLoading:!1,isMobile:o,siteType:D,togetherApiDomain:C,desktopPopupType:f,onClosePopup:u}),"care"===f&&n.createElement(bl,{locale:_,basePath:F,onSelectCareSpecialty:vn,careSpecialties:p,isLoading:!1,desktopPopupType:f,siteType:D,isMobile:o,CARE_URL_FE:y,onClosePopup:u}))},Ld=Dt.div(od||(od=gn(["\n background-color: white;\n text-align: center;\n .cancle-img {\n margin-top: 24px;\n "," {\n width: 80px;\n height: 80px;\n }\n\n "," {\n width: 100px;\n height: 100px;\n }\n }\n\n h2 {\n margin-top: 32px;\n color: ",";\n font-style: normal;\n font-weight: bold;\n "," {\n font-size: 24px;\n line-height: 32px;\n }\n\n "," {\n font-size: 32px;\n line-height: 42px;\n }\n }\n\n p {\n margin-top: 8px;\n color: ",";\n font-style: normal;\n font-weight: normal;\n "," {\n font-size: 16px;\n line-height: 24px;\n }\n\n "," {\n font-size: 16px;\n line-height: 24px;\n }\n }\n"],["\n background-color: white;\n text-align: center;\n .cancle-img {\n margin-top: 24px;\n "," {\n width: 80px;\n height: 80px;\n }\n\n "," {\n width: 100px;\n height: 100px;\n }\n }\n\n h2 {\n margin-top: 32px;\n color: ",";\n font-style: normal;\n font-weight: bold;\n "," {\n font-size: 24px;\n line-height: 32px;\n }\n\n "," {\n font-size: 32px;\n line-height: 42px;\n }\n }\n\n p {\n margin-top: 8px;\n color: ",";\n font-style: normal;\n font-weight: normal;\n "," {\n font-size: 16px;\n line-height: 24px;\n }\n\n "," {\n font-size: 16px;\n line-height: 24px;\n }\n }\n"])),xn.mbDown,xn.mbUp,(function(n){return n.theme.colors.gray800}),xn.mbDown,xn.mbUp,(function(n){return n.theme.colors.gray600}),xn.mbDown,xn.mbUp),Md=Dt.div(rd||(rd=gn(["\n display: flex;\n\n "," {\n margin-top: 24px;\n }\n\n "," {\n margin-top: 32px;\n }\n justify-content: space-around;\n button {\n flex: 1;\n margin: 4px;\n }\n\n ","\n"],["\n display: flex;\n\n "," {\n margin-top: 24px;\n }\n\n "," {\n margin-top: 32px;\n }\n justify-content: space-around;\n button {\n flex: 1;\n margin: 4px;\n }\n\n ","\n"])),xn.mbDown,xn.mbUp,(function(n){return"marryBaby"===n.siteType?"\n .cancel-button {\n background-color: #E55C8A;\n }\n .cancel-button:hover {\n background-color: #E55C8A !important;\n }\n .logout-button {\n border-color: #E55C8A;\n color: #E55C8A;\n }\n ":""})),Sd=function(e){var t=e.callPostLogOutApi,a=e.openLogoutPopup,o=e.onCloseHandler,r=e.onLogoutHandler,l=e.basePath,s=e.siteType,c=void 0===s?"helloSites":s,d=Oe();i((function(){document.body.classList.toggle("noscroll",a)}),[a]);return n.createElement(Mn,{type:"confirm",isOpen:a,closeIcon:n.createElement("img",{src:pr,style:{width:24,height:24},alt:"close-icon"}),onClose:o},n.createElement(Ld,null,"helloSites"===c&&n.createElement("img",{className:"cancle-img",src:"".concat(l,"/images/arrowDoor.svg"),alt:"close-account"}),n.createElement("h2",null,d("helloSites"===c?"logout.popup.ask1":"logout.popup.ask.mb")),n.createElement("p",null,d("logout.popup.ask2")),n.createElement(Md,{siteType:c},n.createElement(wn,{className:"logout-button",color:"tertiary",size:"lg",onClick:function(){un(void 0,void 0,void 0,(function(){return hn(this,(function(n){switch(n.label){case 0:return[4,null==t?void 0:t()];case 1:return n.sent(),null==r||r(),window.location.reload(),[2]}}))}))}},d("logout.popup.button.logout")),n.createElement(wn,{className:"cancel-button",color:"primary",size:"lg",onClick:o},d("logout.popup.button.cancel")))))},Td=Dt.div(ld||(ld=gn(["\n position: absolute;\n right: 0;\n background-color: ",";\n\n &[data-animation='true'] {\n transition: all 0.5s ease-in-out;\n }\n\n &[data-open='true'] {\n z-index: 200;\n top: 120%;\n opacity: 1;\n visibility: visible;\n }\n\n &[data-open='false'] {\n display: none;\n }\n\n &[data-type='lead'] {\n width: 332px;\n height: 460px;\n\n div {\n top: -15px;\n right: -15px;\n }\n }\n\n &[data-type='welcome'] {\n position: fixed;\n "," {\n width: 100%;\n height: 424px;\n bottom: 0;\n top: unset;\n }\n "," {\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n width: 100%;\n min-height: 445px;\n max-width: 407px;\n }\n }\n\n &[data-type='due-date'] {\n position: fixed;\n "," {\n width: 100%;\n height: 100%;\n overflow-y: scroll;\n bottom: 0;\n top: unset;\n }\n "," {\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n width: 100vw;\n height: 55vw;\n max-height: 598px;\n max-width: 1080px;\n }\n }\n\n .popup-content {\n z-index: 111;\n height: 100%;\n }\n\n &[data-type='form'] {\n width: 496px;\n height: 548px;\n }\n\n &[data-type='confirm'] {\n width: 380px;\n height: 252px;\n }\n\n &[data-type='profile'] {\n /* min-height: 415px; */\n "," {\n border-radius: 6px;\n box-shadow: 0px 4px 8px\n ",";\n &:before {\n position: absolute;\n right: 11px;\n bottom: 100%;\n width: 0;\n height: 0;\n border: 0.5rem solid transparent;\n border-top: none;\n border-bottom-color: #fff;\n content: '';\n filter: drop-shadow(0 -0.0625rem 0.0625rem rgba(0, 0, 0, 0.1));\n }\n }\n "," {\n position: fixed;\n left: 0;\n top: 64px;\n width: 100%;\n }\n "," {\n width: 368px;\n }\n }\n\n .close-button {\n position: absolute;\n top: 0;\n right: 0;\n width: 32px;\n height: 32px;\n cursor: pointer;\n\n img {\n width: 100%;\n height: 100%;\n border-radius: 50%;\n }\n }\n"],["\n position: absolute;\n right: 0;\n background-color: ",";\n\n &[data-animation='true'] {\n transition: all 0.5s ease-in-out;\n }\n\n &[data-open='true'] {\n z-index: 200;\n top: 120%;\n opacity: 1;\n visibility: visible;\n }\n\n &[data-open='false'] {\n display: none;\n }\n\n &[data-type='lead'] {\n width: 332px;\n height: 460px;\n\n div {\n top: -15px;\n right: -15px;\n }\n }\n\n &[data-type='welcome'] {\n position: fixed;\n "," {\n width: 100%;\n height: 424px;\n bottom: 0;\n top: unset;\n }\n "," {\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n width: 100%;\n min-height: 445px;\n max-width: 407px;\n }\n }\n\n &[data-type='due-date'] {\n position: fixed;\n "," {\n width: 100%;\n height: 100%;\n overflow-y: scroll;\n bottom: 0;\n top: unset;\n }\n "," {\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n width: 100vw;\n height: 55vw;\n max-height: 598px;\n max-width: 1080px;\n }\n }\n\n .popup-content {\n z-index: 111;\n height: 100%;\n }\n\n &[data-type='form'] {\n width: 496px;\n height: 548px;\n }\n\n &[data-type='confirm'] {\n width: 380px;\n height: 252px;\n }\n\n &[data-type='profile'] {\n /* min-height: 415px; */\n "," {\n border-radius: 6px;\n box-shadow: 0px 4px 8px\n ",";\n &:before {\n position: absolute;\n right: 11px;\n bottom: 100%;\n width: 0;\n height: 0;\n border: 0.5rem solid transparent;\n border-top: none;\n border-bottom-color: #fff;\n content: '';\n filter: drop-shadow(0 -0.0625rem 0.0625rem rgba(0, 0, 0, 0.1));\n }\n }\n "," {\n position: fixed;\n left: 0;\n top: 64px;\n width: 100%;\n }\n "," {\n width: 368px;\n }\n }\n\n .close-button {\n position: absolute;\n top: 0;\n right: 0;\n width: 32px;\n height: 32px;\n cursor: pointer;\n\n img {\n width: 100%;\n height: 100%;\n border-radius: 50%;\n }\n }\n"])),(function(n){return n.theme.colors.white}),xn.mbDown,xn.mbUp,xn.mbDown,xn.mbUp,xn.mbUp,(function(n){return n.theme.colors.gray200}),xn.mbDown,xn.mbUp),Nd=Dt.div(sd||(sd=gn(["\n position: fixed;\n z-index: 150;\n top: 69px;\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n\n "," {\n background-color: transparent;\n &[data-type='welcome'] {\n background: rgba(38, 38, 38, 0.3);\n }\n &[data-type='due-date'] {\n background: rgba(38, 38, 38, 0.3);\n }\n }\n\n "," {\n background: rgba(38, 38, 38, 0.3);\n }\n\n &[data-type='welcome'] {\n top: 0;\n }\n\n &[data-open='false'] {\n display: none;\n }\n"],["\n position: fixed;\n z-index: 150;\n top: 69px;\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n\n "," {\n background-color: transparent;\n &[data-type='welcome'] {\n background: rgba(38, 38, 38, 0.3);\n }\n &[data-type='due-date'] {\n background: rgba(38, 38, 38, 0.3);\n }\n }\n\n "," {\n background: rgba(38, 38, 38, 0.3);\n }\n\n &[data-type='welcome'] {\n top: 0;\n }\n\n &[data-open='false'] {\n display: none;\n }\n"])),xn.mbUp,xn.mbDown),zd=function(e){var t=e.type,a=void 0===t?"lead":t,i=e.closeIcon,o=e.isOpen,r=void 0===o||o,l=e.onClose,s=e.children,c=e.enableAnimation,d=void 0===c||c,p=e.targetAvatar,m=e.id,g=e.className;return n.createElement(n.Fragment,null,n.createElement(Td,{"data-open":r,"data-type":a,"data-animation":d,"data-target":p,id:m,className:g},n.createElement("div",{className:"popup-content"},!!i&&n.createElement("div",{className:"close-button",onClick:l},i),s)),n.createElement(Nd,{"data-type":a,"data-open":r,onClick:l,id:m?"wrapper-".concat(m):void 0,className:"".concat(g||"","-wrapper")}))},Ad=function(e){var t=e.SSO_URL,a=e.UP_BASEPATH,i=e.isOpen,o=e.locale,r=e.targetAvatar,l=e.userInfo,s=e.ENABLE_CARE_PROFILE_MENU_LOCALES,c=e.ENABLE_COMMUNITY_PROFILE_MENU_LOCALES,d=e.closePopup,p=e.siteType,m=void 0===p?"helloSites":p,g=e.dispatchLogout,u=e.userProfileRouterPush,h=e.isUserProfileNavigatorMenuHidden,f=e.isMyHealthEnabled,x=void 0!==f&&f,v=e.togetherApiDomain,y=function(n){u?u("/".concat(n)):t&&(window.location.href="".concat(t).concat(a,"/").concat(n))},b=function(n){y(n),d()};return n.createElement(zd,{isOpen:i,type:"profile",enableAnimation:!1,targetAvatar:r,onClose:d},n.createElement(Pt,{locale:o},n.createElement($e,{SSO_URL:t,UP_BASEPATH:a,themeName:m,userInfo:l,ENABLE_COMMUNITY_PROFILE_MENU_LOCALES:c,ENABLE_CARE_PROFILE_MENU_LOCALES:s,onClickLogout:function(){g&&(g(),d())},onClickMenuItem:b,onClickNavigationCard:b,onClickMyProfileButton:function(){y("profile"),d()},userProfileRouterPush:u,isUserProfileNavigatorMenuHidden:h,isMyHealthEnabled:x,togetherApiDomain:v})))},Bd=Dt.div(cd||(cd=gn(["\n position: relative;\n"],["\n position: relative;\n"]))),_d=Dt.div(dd||(dd=gn([""],[""]))),Dd=Dt.div(pd||(pd=gn(["\n position: absolute;\n z-index: 21;\n top: 100%;\n right: 0;\n width: 327px;\n padding: 8px;\n background: white;\n border-radius: 4px;\n filter: drop-shadow(0px 8px 40px rgba(0, 0, 0, 0.1));\n\n &[data-is-open='false'] {\n display: none;\n }\n &[data-show-indicator='true'] {\n &:before {\n position: absolute;\n right: 11px;\n bottom: 100%;\n width: 0;\n height: 0;\n border: 0.5rem solid transparent;\n border-top: none;\n border-bottom-color: #fff;\n content: '';\n filter: drop-shadow(0 -0.0625rem 0.0625rem rgba(0, 0, 0, 0.1));\n }\n }\n"],["\n position: absolute;\n z-index: 21;\n top: 100%;\n right: 0;\n width: 327px;\n padding: 8px;\n background: white;\n border-radius: 4px;\n filter: drop-shadow(0px 8px 40px rgba(0, 0, 0, 0.1));\n\n &[data-is-open='false'] {\n display: none;\n }\n &[data-show-indicator='true'] {\n &:before {\n position: absolute;\n right: 11px;\n bottom: 100%;\n width: 0;\n height: 0;\n border: 0.5rem solid transparent;\n border-top: none;\n border-bottom-color: #fff;\n content: '';\n filter: drop-shadow(0 -0.0625rem 0.0625rem rgba(0, 0, 0, 0.1));\n }\n }\n"]))),Fd=Dt.div(md||(md=gn(["\n display: flex;\n height: 40px;\n align-items: center;\n justify-content: space-between;\n\n padding: 0 16px;\n border-radius: 6px;\n cursor: pointer;\n\n .check-icon {\n width: 16px;\n height: 16px;\n }\n &[data-selected='false'] {\n background-color: ",";\n }\n"],["\n display: flex;\n height: 40px;\n align-items: center;\n justify-content: space-between;\n\n padding: 0 16px;\n border-radius: 6px;\n cursor: pointer;\n\n .check-icon {\n width: 16px;\n height: 16px;\n }\n &[data-selected='false'] {\n background-color: ",";\n }\n"])),(function(n){return n.theme.colors.gray100})),Pd=Dt.div(gd||(gd=gn(["\n position: fixed;\n z-index: 20;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n cursor: default;\n"],["\n position: fixed;\n z-index: 20;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n cursor: default;\n"]))),Id=function(t){var a=t.options,i=t.label,o=t.selected,r=t.onChange,l=t.showSelected,s=void 0===l||l,d=t.style,p=void 0===d?{}:d,m=t.showIndicator,g=void 0===m||m,u=e(!1),h=u[0],f=u[1];return n.createElement(n.Fragment,null,n.createElement(Bd,null,n.createElement(_d,{onClick:function(){return f((function(n){return!n}))}},!!i&&i),n.createElement(Dd,{"data-is-open":h,style:p,"data-show-indicator":g},a.map((function(e,t){return n.createElement(Fd,{key:t,"data-selected":s&&o===e.value,onClick:function(n){o!==e.value&&(r(e.value),f((function(n){return!n}))),n.stopPropagation()}},n.createElement(c,{size:"p3"},e.label),s&&o===e.value&&n.createElement("img",{src:"data:image/svg+xml,%3csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M13.3346 4L6.0013 11.3333L2.66797 8' stroke='%23737373' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e",alt:"check",className:"check-icon"}))})))),h&&n.createElement(Pd,{onClick:function(){return f(!1)}}))},Hd=function(n){var e="undefined"!=typeof window&&document.querySelector(n),t=e&&window.getComputedStyle(e);return t&&t.getPropertyValue("display")},Rd=function(o){var r,l=o.siteType,s=o.MetaPageTitle,c=o.MetaPageDescription,d=o.MetaPageImage,p=o.footerInfo,m=o.children,g=o.ssrMenuContent,u=void 0===g?{}:g,h=u.categories,f=void 0===h?[]:h,x=u.healthTools,v=void 0===x?[]:x,y=u.healthToolsByCategory,b=void 0===y?[]:y,E=u.careSpecialties,w=void 0===E?[]:E,k=u.togetherCommunities,C=void 0===k?[]:k,L=u.spotlightsList,M=void 0===L?[]:L,S=o.SEOData,T=void 0===S?{}:S,N=o.UP_BASEPATH,z=void 0===N?Bt.SSO_USER_PROFILE:N,A=o.isStatic,B=void 0!==A&&A,_=o.seoType,D=void 0===_?"website":_,F=o.isMobile,P=o.isMyHealthEnabled,I=void 0!==P&&P,H=o.logoutHandlers,R=H.isLogoutPopupOpened,j=H.callPostLogOutApi,U=H.onClosePopup,O=H.onLogout,V=o.marryBaby,G=void 0===V?{tone:"white",marryBabyApiDomain:"",socialLinks:{facebookLink:"",instagramLink:"",linkedinLink:"",twitterLink:"",youtubeLink:"",zaloLink:""}}:V,Z=G.tone,Y=void 0===Z?"white":Z,W=G.marryBabyApiDomain,Q=G.socialLinks,q=void 0===Q?{}:Q,K=q.facebookLink,J=void 0===K?"":K,X=q.instagramLink,$=void 0===X?"":X,nn=q.linkedinLink,en=void 0===nn?"":nn,tn=q.twitterLink,an=void 0===tn?"":tn,on=q.youtubeLink,rn=void 0===on?"":on,ln=q.zaloLink,sn=void 0===ln?"":ln,cn=o.statics,pn=void 0===cn?{LOCALE_SPECS:Mt,STATIC_PAGES:_t}:cn,mn=pn.DISCOVER_URL_FE,gn=pn.TOGETHER_URL_FE,fn=pn.MARRY_BABY_FE,xn=pn.HOME_PAGE_URL,vn=pn.HEALTH_TOOL_URL_FE,yn=pn.CARE_URL_FE,bn=pn.LOCALE_SPECS,En=void 0===bn?Mt:bn,wn=pn.STATIC_PAGES,kn=void 0===wn?_t:wn,Cn=o.sso,Ln=void 0===Cn?{}:Cn,Mn=Ln.dispatchLogout,Sn=Ln.SSO_URL,Tn=o.together,Nn=void 0===Tn?{TOGETHER_MENU_COUNTRIES_ENABLED:["id-ID","vi-VN"],ENABLE_COMMUNITY_PROFILE_MENU_LOCALES:["id-ID","vi-VN"],togetherApiDomain:""}:Tn,zn=Nn.TOGETHER_MENU_COUNTRIES_ENABLED,An=Nn.ENABLE_COMMUNITY_PROFILE_MENU_LOCALES,Bn=Nn.togetherApiDomain,_n=o.care,Dn=void 0===_n?{CARE_MENU_COUNTRIES_ENABLED:["vi-VN","id-ID","en-PH"],ENABLE_CARE_PROFILE_MENU_LOCALES:[],menuActionType:"redirectOnly",careApiDomain:""}:_n,Fn=Dn.CARE_MENU_COUNTRIES_ENABLED,Pn=Dn.ENABLE_CARE_PROFILE_MENU_LOCALES,In=Dn.careApiDomain,Hn=o.discover,Rn=(void 0===Hn?{discoverApiDomain:""}:Hn).discoverApiDomain,jn=o.activeMenuService,Un=void 0===jn?"categories":jn,On=o.basePath,Vn=o.isAmp,Gn=void 0!==Vn&&Vn,Zn=o.nextHead,Yn=o.routerPathname,Wn=o.routerQuery,Qn=o.routerAsPath,qn=o.locale,Kn=o.userState,Jn=o.callApiHandler,Xn=o.userProfileRouterPush,$n=o.onTopBarAppears,ne=o.forcedCanonicalUrl,ee=o.isUserProfileNavigatorMenuHidden,te=o.sitewideBanner,ae=o.sitewideBannerShown,ie=void 0===ae||ae,oe=o.sponsorComponent,re=o.languageOptions,le=o.isSearchBarDisplay,se=o.ampSubBar,ce=o.isSearchIconDisplayed,de=void 0===ce||ce,pe=o.enabledExperimentalCareHeader,me=void 0!==pe&&pe,ge=o.onCareHeaderClick,ue=o.dueDatePopup,he=o.welcomePopup,fe=o.ampNextArticle,xe=o.usingDefaultHead,ve=void 0===xe||xe,ye=o.acceptCookiePopup,be=o.seoCustom,Ee=o.hasStickyBottomBar,we=void 0===Ee||Ee,ke="boolean"==typeof le?le:!F,Ce=Oe(),Le=En[qn||"en-PH"]||{},Me=a((function(){var n;return(null===(n=Qn.split("?"))||void 0===n?void 0:n[0])||""}),[Qn]),Se=a((function(){return"".concat(On).concat("/"===Me.slice(-1)?Me:"".concat(Me,"/"))}),[Me]),Te=a((function(){return(null==re?void 0:re.find((function(n){return n.value!==Se})))||null}),[re,Se]),Ne=e(p),ze=Ne[0],Ae=Ne[1],Be=e(f),_e=Be[0],De=Be[1],Fe=e(v),Pe=Fe[0],Ie=Fe[1],He=e(b),Re=He[0],je=He[1],Ue=e(w),Ve=Ue[0],Qe=Ue[1],qe=e(C),Ke=qe[0],Je=qe[1],Xe=e(M),$e=Xe[0],ht=Xe[1],ft=mn||"https://".concat(Tt[qn])||"",xt="undefined"!=typeof window,vt=xt&&document.querySelector("#categories-menu"),yt=vt&&xt&&window.getComputedStyle(vt),bt=yt&&yt.getPropertyValue("left"),Et=t("0px"===bt),wt=e(Et.current),kt=wt[0],Ct=wt[1],Lt=Hd(".top-menu-categories"),St=Hd(".top-menu-health-tools"),Nt=Hd(".top-menu-communities"),zt=Hd(".top-menu-care-specialties"),At=e(Lt&&"none"!==Lt?"categories":St&&"none"!==St?"tools":Nt&&"none"!==Nt?"communities":zt&&"none"!==zt?"care":"none"),Dt=At[0],Ft=At[1],Pt=a((function(){var e,t;return n.createElement(il,null,null===(t=null===(e=qn.split("-"))||void 0===e?void 0:e[0])||void 0===t?void 0:t.toUpperCase(),n.createElement("img",{src:"language"===Dt?"data:image/svg+xml,%3csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M4 10L8 6L12 10' stroke='%232D87F3' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e":"data:image/svg+xml,%3csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12 6L8 10L4 6' stroke='%231B3250' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e",style:{width:"16px",height:"16px"},alt:Ce("home.navigator.menuItem.language")}))}),[Dt,qn]),It=Kn.userInfo,Ht=Kn.isLoggedIn,Rt=function(n){Dt!==n&&(Ft(n),Ct(!0)),Dt===n&&(Ft("none"),Ct(!1))},jt=function(){Ct(!1),Ft("none")},Ut=function(n,e){"Enter"===n.key&&(window.location.href="".concat(xn,"/search/?s=").concat(e))},Ot=null===(r=null==En?void 0:En[qn])||void 0===r?void 0:r.SITE_NAME_FORMATTED,Vt=[{name:Ce("home.navigator.menuItem.discover"),id:"categories",link:"./posts/abc",niceName:"",thumbnail:Ge,isDisplayed:!0},{name:Ce("home.navigator.menuItem.healthTools"),id:"healthTools",link:"./en",thumbnail:Ze,isDisplayed:!0}];(null==zn?void 0:zn.includes(qn))&&Vt.push({name:Ce("home.navigator.menuItem.helloTogether"),id:"together",link:gn+"/",thumbnail:Ye,isDisplayed:!0}),(null==Fn?void 0:Fn.includes(qn))&&Vt.push({name:Ce("home.navigator.menuItem.helloCare"),id:"care",link:"/care",thumbnail:We,isDisplayed:!0}),i((function(){document.documentElement.style.overflow=kt?"hidden":""}),[kt]);var Gt=!!oe;i((function(){Ht&&("first_login"===(null==Wn?void 0:Wn.source)?(null==It?void 0:It.email)&&""!==(null==It?void 0:It.email)?window.insider_object={user:dn({uuid:null==It?void 0:It.id,email:null==It?void 0:It.email,gdpr_optin:!0,email_optin:!0,sign_up:!0},(null==It?void 0:It.name)?{name:null==It?void 0:It.name}:{})}:window.insider_object={user:dn({uuid:null==It?void 0:It.id,sign_up:!0},(null==It?void 0:It.name)?{name:null==It?void 0:It.name}:{})}:(null==It?void 0:It.email)&&""!==(null==It?void 0:It.email)?window.insider_object={user:dn({uuid:null==It?void 0:It.id,email:null==It?void 0:It.email,gdpr_optin:!0,email_optin:!0,log_in:!0},(null==It?void 0:It.name)?{name:null==It?void 0:It.name}:{})}:window.insider_object={user:dn({uuid:null==It?void 0:It.id,log_in:!0},(null==It?void 0:It.name)?{name:null==It?void 0:It.name}:{})}),un(void 0,void 0,void 0,(function(){var n,e;return hn(this,(function(t){switch(t.label){case 0:return ze?[3,3]:[4,fetch("helloSites"===l?nt(qn,Rn):et(qn,W))];case 1:return[4,t.sent().json()];case 2:return e=t.sent(),[3,4];case 3:e=null,t.label=4;case 4:return(n=e)&&1===n.status&&n.data&&!ze&&Ae("helloSites"===l?n.data||{}:n.data.footers||[]),[2]}}))})),un(void 0,void 0,void 0,(function(){var n,e,t,a,i,o;return hn(this,(function(r){switch(r.label){case 0:return f&&0!==(null==f?void 0:f.length)||0!==(null==_e?void 0:_e.length)?[3,3]:(i={},[4,fetch(at(qn,Rn))]);case 1:return[4,r.sent().json()];case 2:return i.response=r.sent(),t=i,[3,4];case 3:t={},r.label=4;case 4:return n=t.response,null!==(e=void 0===n?{}:n)&&1===e.status&&(null===(o=e.data)||void 0===o?void 0:o.length)>0&&(a=e.data.map(tt),0===_e.length&&De(a)),[2]}}))})),un(void 0,void 0,void 0,(function(){var n,e,t,a,i,o,r,s,c;return hn(this,(function(d){switch(d.label){case 0:return M&&0!==(null==M?void 0:M.length)||"helloSites"!==l||0!==(null==$e?void 0:$e.length)?[3,3]:(i={},[4,fetch(rt(qn,Rn,{perPage:100,orderBy:"start_date"}))]);case 1:return[4,d.sent().json()];case 2:return i.response=d.sent(),t=i,[3,4];case 3:t={},d.label=4;case 4:return n=t.response,1===(null==(e=void 0===n?{}:n)?void 0:e.status)&&(null===(r=null===(o=null==e?void 0:e.data)||void 0===o?void 0:o.articles)||void 0===r?void 0:r.length)>0&&(a=null===(c=null===(s=e.data)||void 0===s?void 0:s.articles)||void 0===c?void 0:c.map(it).filter(ot).slice(0,4),0===$e.length&&ht(a)),[2]}}))})),un(void 0,void 0,void 0,(function(){var n,e,t,a,i,o,r;return hn(this,(function(s){switch(s.label){case 0:return(null==v?void 0:v.length)||(null==Pe?void 0:Pe.length)||(null==b?void 0:b.length)||(null==b?void 0:b.length)?[3,6]:(o={},"helloSites"!==l?[3,2]:[4,fetch(dt(qn,Rn))]);case 1:return a=s.sent(),[3,4];case 2:return[4,fetch(ct(qn,W))];case 3:a=s.sent(),s.label=4;case 4:return[4,a.json()];case 5:return o.response=s.sent(),t=o,[3,7];case 6:t={},s.label=7;case 7:return n=t.response,null!==(e=void 0===n?{}:n)&&1===e.status&&(null===(r=e.data)||void 0===r?void 0:r.length)>0&&("helloSites"===l?(i=e.data.map(lt),0===Pe.length&&je(i)):(i=e.data.map(st),0===Pe.length&&Ie(i))),[2]}}))})),un(void 0,void 0,void 0,(function(){var n,e,t,a,i,o,r;return hn(this,(function(l){switch(l.label){case 0:return w&&0!==(null==w?void 0:w.length)||!Fn.includes(qn)||0!==(null==Ve?void 0:Ve.length)?[3,3]:(i={},[4,fetch(pt(qn,In))]);case 1:return[4,l.sent().json()];case 2:return i.response=l.sent(),t=i,[3,4];case 3:t={},l.label=4;case 4:return n=t.response,null!==(e=void 0===n?{}:n)&&1===e._status&&(null===(r=null===(o=e._data)||void 0===o?void 0:o.specialties)||void 0===r?void 0:r.length)>0&&(a=e._data.specialties,0===Ve.length&&Qe(a)),[2]}}))})),un(void 0,void 0,void 0,(function(){var n,e,t,a,i,o,r,s,c;return hn(this,(function(d){switch(d.label){case 0:return C&&0!==(null==C?void 0:C.length)||!zn.includes(qn)||0!==(null==Ke?void 0:Ke.length)?[3,3]:(i={},[4,fetch("helloSites"===l?gt(qn,Bn):ut(qn,Bn))]);case 1:return[4,d.sent().json()];case 2:return i.response=d.sent(),t=i,[3,4];case 3:t={},d.label=4;case 4:return n=t.response,(null===(r=null===(o=null==(e=void 0===n?{}:n)?void 0:e.data)||void 0===o?void 0:o.communities)||void 0===r?void 0:r.length)>0&&(a=(null===(c=null===(s=null==e?void 0:e.data)||void 0===s?void 0:s.communities)||void 0===c?void 0:c.map(mt))||[],0===Ke.length&&Je(a)),[2]}}))}))}),[]);var Zt=n.createElement(Ad,{locale:qn,UP_BASEPATH:z,SSO_URL:Sn,userProfileRouterPush:Xn,dispatchLogout:Mn,isOpen:"profile"===Dt,isMyHealthEnabled:I,ENABLE_CARE_PROFILE_MENU_LOCALES:Pn,ENABLE_COMMUNITY_PROFILE_MENU_LOCALES:An,closePopup:jt,userInfo:It,siteType:l,isUserProfileNavigatorMenuHidden:ee,togetherApiDomain:Bn}),Yt=Gn&&{"next-page-hide":""};return n.createElement(rl,{SEOData:dn({SEOTitle:s,SEOImage:d,SEODescription:c,siteName:Ot,seoType:D},T),isAmp:Gn,locale:qn,routerPathname:Yn,routerQuery:Wn,nextHead:Zn,siteType:l,forcedCanonicalUrl:ne,userId:null==It?void 0:It.id,usingDefaultHead:ve,seoCustom:be},n.createElement(Sd,{basePath:On,callPostLogOutApi:j,openLogoutPopup:R,onCloseHandler:U,onLogoutHandler:O,siteType:l}),ue,he,ye,F?n.createElement(n.Fragment,null,n.createElement(el,null,n.createElement("section",dn({className:Gn?"amp-header":void 0,"next-page-replace":"hhg-navigator","amp-fx":"float-in-top"},Yt),n.createElement(vd,{siteType:l,statics:{DISCOVER_URL_FE:ft,SSO_URL:Sn,HOME_PAGE_URL:xn,MARRY_BABY_FE:fn,CARE_URL_FE:yn},marryBaby:{tone:Y},menuItems:Vt,menu:Gn?void 0:n.createElement(Cd,{key:"mobile-menu-popup",menuItems:Vt,siteType:l,isMobileMenuOpened:"categories"===Dt,categories:_e,healthTools:Pe,healthToolsByCategory:Re,careSpecialties:Ve,togetherCommunities:Ke,spotlightsList:$e,onMobileMenuClick:Rt,isMobile:F,closePopup:jt,footer:n.createElement(nl,{locale:qn,isMobile:F,basePath:On,isAmp:Gn,footerInfo:ze,type:"mini",siteType:l,marryBabySocialLinks:{facebookLink:J,instagramLink:$,linkedinLink:en,twitterLink:an,youtubeLink:rn,zaloLink:sn}}),locale:qn,callApiHandler:Jn,basePath:On,together:{TOGETHER_MENU_COUNTRIES_ENABLED:zn,togetherApiDomain:Bn||W,TOGETHER_URL_FE:gn},care:{CARE_MENU_COUNTRIES_ENABLED:Fn,careApiDomain:In,CARE_URL_FE:yn},discover:{discoverApiDomain:Rn,DISCOVER_URL_FE:ft},activeMenuService:Un,statics:{DISCOVER_URL_FE:ft,HOME_PAGE_URL:xn,HEALTH_TOOL_URL_FE:vn,MARRY_BABY_FE:fn,TOGETHER_URL_FE:gn,STATIC_PAGES:kn},marryBaby:{tone:Y},routerAsPath:Qn,popupType:"none",sso:{SSO_URL:Sn}}),profileMenu:Zt,type:"home",currentPopupType:Dt,isMobile:F,isLoginButtonDisplayed:!0,onMenuClick:Rt,searchPlaceholder:Ce("home.search",{site:"helloSites"===l?null==Le?void 0:Le.SITE_NAME:"Marry Baby"}),onTopBarAppears:function(n){$n&&$n(n)},isSearchBarDisplay:ke,onSearchKeyPress:Ut,isStatic:Gn||B,sponsorComponent:oe,locale:qn,userInfo:Kn.userInfo,basePath:On,isAmp:Gn,isDisplayed:!0,isInit:!1,onSearchChange:void 0,openPopup:void 0,routerAsPath:Qn,title:"",sitewideBanner:te,sitewideBannerShown:ie,isSearchIconDisplayed:de,enabledExperimentalCareHeader:me,languageMenu:void 0!==re&&re.length>1?n.createElement(n.Fragment,null,2===re.length&&Te?n.createElement(ol,{"data-is-active":!0,href:(null==Te?void 0:Te.value)||"#"},null==Te?void 0:Te.label):n.createElement(Id,{options:re,selected:Se,label:Pt,onChange:function(n){"undefined"!=typeof window&&(window.location.href=n)},style:{width:100},showSelected:!0,showIndicator:!1})):void 0}),void 0!==se&&n.createElement(n.Fragment,null,se)),Gn?n.createElement(al,{className:"root-container","data-menu-opened":Et.current,"data-sponsored":Gt,"data-is-mobile":F,"data-sitewide":!!te},m,n.createElement(nl,{isAmp:Gn,isMobile:F,locale:qn,basePath:On,footerInfo:ze,type:"main",siteType:l,marryBabySocialLinks:{facebookLink:J,instagramLink:$,linkedinLink:en,twitterLink:an,youtubeLink:rn,zaloLink:sn},ampNextArticle:fe,routerQuery:Wn})):n.createElement(tl,{className:"root-container","data-menu-opened":Et.current,"data-sponsored":Gt,"data-is-mobile":F,"data-sitewide":!!te,hasStickyBottomBar:we},n.createElement(n.Fragment,null,m,n.createElement(nl,{isAmp:Gn,isMobile:F,locale:qn,basePath:On,footerInfo:ze,type:"main",siteType:l,marryBabySocialLinks:{facebookLink:J,instagramLink:$,linkedinLink:en,twitterLink:an,youtubeLink:rn,zaloLink:sn},ampNextArticle:fe,routerQuery:Wn})))),Gn&&n.createElement(cr,{locale:qn,categoriesSSR:f,healthToolsSSR:b,spotlightsSSR:M,serviceUrls:{TOGETHER_URL_FE:gn,CARE_URL_FE:yn,DISCOVER_URL_FE:ft},together:{TOGETHER_MENU_COUNTRIES_ENABLED:zn,ENABLE_COMMUNITY_PROFILE_MENU_LOCALES:An,togetherApiDomain:Bn},care:{CARE_MENU_COUNTRIES_ENABLED:Fn,ENABLE_CARE_PROFILE_MENU_LOCALES:Pn,careApiDomain:In},basePath:On,searchPlaceholder:Ce("home.search",{site:"helloSites"===l?null==Le?void 0:Le.SITE_NAME:"Marry Baby"})})):n.createElement(n.Fragment,null,n.createElement(vd,{siteType:l,menuItems:Vt,marryBaby:{tone:Y},locale:qn,currentPopupType:Dt,onSearchKeyPress:Ut,openPopup:function(n){Dt!==n&&Ft(n),Dt===n&&Ft("none")},isMobile:F,isLoginButtonDisplayed:!0,isSearchBarDisplay:!Gn&&ke,searchPlaceholder:Ce("home.search",{site:"helloSites"===l?null==Le?void 0:Le.SITE_NAME:"Marry Baby"}),sitewideBannerShown:ie,statics:{DISCOVER_URL_FE:ft,SSO_URL:Sn,HOME_PAGE_URL:xn,MARRY_BABY_FE:fn,CARE_URL_FE:yn},menu:n.createElement(Cd,{menuItems:Vt,siteType:l,isMobile:F,popupType:Dt,closePopup:function(){Ft("none")},categories:_e,healthTools:Pe,healthToolsByCategory:Re,careSpecialties:Ve,togetherCommunities:Ke,spotlightsList:$e,locale:qn,callApiHandler:Jn,basePath:On,together:{TOGETHER_MENU_COUNTRIES_ENABLED:zn,togetherApiDomain:Bn,TOGETHER_URL_FE:gn},care:{careApiDomain:In,CARE_MENU_COUNTRIES_ENABLED:Fn,CARE_URL_FE:yn},discover:{discoverApiDomain:Rn,DISCOVER_URL_FE:ft},statics:{DISCOVER_URL_FE:ft,HOME_PAGE_URL:xn,HEALTH_TOOL_URL_FE:vn,MARRY_BABY_FE:fn,TOGETHER_URL_FE:gn,STATIC_PAGES:kn},activeMenuService:Un,marryBaby:{tone:Y},routerAsPath:Qn,footer:void 0,isMobileMenuOpened:void 0,sso:{SSO_URL:Sn},onMobileMenuClick:void 0}),profileMenu:Zt,userInfo:Kn.userInfo,sponsorComponent:oe,type:"home",basePath:On,isAmp:Gn,isDisplayed:!0,isInit:!1,onSearchChange:void 0,isStatic:!1,routerAsPath:Qn,title:"",onMenuClick:void 0,onTopBarAppears:void 0,sitewideBanner:te,languageMenu:void 0!==re&&re.length>1?n.createElement(n.Fragment,null,2===re.length&&Te?n.createElement(ol,{"data-is-active":!0,href:(null==Te?void 0:Te.value)||"#"},null==Te?void 0:Te.label):n.createElement(Id,{options:re,selected:Se,label:Pt,onChange:function(n){"undefined"!=typeof window&&(window.location.href=n)},style:{width:100},showSelected:!0,showIndicator:!1})):void 0,enabledExperimentalCareHeader:me,onCareHeaderClick:ge}),Gn?n.createElement(al,{className:"root-container","data-menu-opened":kt,"data-is-mobile":F,"data-sponsored":Gt,"data-sitewide":!!te},m):n.createElement(tl,{className:"root-container","data-menu-opened":kt,"data-is-mobile":F,"data-sponsored":Gt,"data-sitewide":!!te,hasStickyBottomBar:we},m),n.createElement(nl,{type:"main",locale:qn,basePath:On,isMobile:F,isAmp:Gn,footerInfo:ze,siteType:l,marryBabySocialLinks:{facebookLink:J,instagramLink:$,linkedinLink:en,twitterLink:an,youtubeLink:rn,zaloLink:sn}})))},jd=function(e){return n.createElement(ht.Provider,{value:{translation:e.translation||ft}},n.createElement(Rd,dn({},e)))},Ud=Dt.div(ud||(ud=gn(["\n position: relative;\n display: flex;\n overflow: hidden;\n align-items: center;\n justify-content: center;\n background-position: center;\n background-size: cover;\n transition: height 0.3s;\n background-color: ",";\n\n &[data-is-marrybaby='true'] {\n background-color: ",";\n }\n\n &[data-is-mobile='true'] {\n &[data-is-marrybaby='false'] {\n justify-content: flex-start;\n }\n }\n &[data-is-mobile='false'] {\n justify-content: center;\n }\n\n &[data-is-collapse='false'] {\n height: 64px;\n &[data-is-marrybaby='true'] {\n &[data-is-mobile='true'] {\n height: 120px;\n }\n }\n }\n &[data-is-collapse='true'] {\n height: 0;\n }\n\n .amp-close-banner * {\n pointer-events: none;\n }\n\n .content {\n display: -webkit-box;\n overflow: hidden;\n padding-right: 48px;\n -webkit-box-orient: vertical;\n color: white;\n font-size: 16px;\n font-weight: 600;\n -webkit-line-clamp: 2;\n line-height: 24px;\n text-overflow: ellipsis;\n a {\n color: white;\n }\n &[data-is-mobile='true'] {\n font-size: 14px;\n }\n }\n"],["\n position: relative;\n display: flex;\n overflow: hidden;\n align-items: center;\n justify-content: center;\n background-position: center;\n background-size: cover;\n transition: height 0.3s;\n background-color: ",";\n\n &[data-is-marrybaby='true'] {\n background-color: ",";\n }\n\n &[data-is-mobile='true'] {\n &[data-is-marrybaby='false'] {\n justify-content: flex-start;\n }\n }\n &[data-is-mobile='false'] {\n justify-content: center;\n }\n\n &[data-is-collapse='false'] {\n height: 64px;\n &[data-is-marrybaby='true'] {\n &[data-is-mobile='true'] {\n height: 120px;\n }\n }\n }\n &[data-is-collapse='true'] {\n height: 0;\n }\n\n .amp-close-banner * {\n pointer-events: none;\n }\n\n .content {\n display: -webkit-box;\n overflow: hidden;\n padding-right: 48px;\n -webkit-box-orient: vertical;\n color: white;\n font-size: 16px;\n font-weight: 600;\n -webkit-line-clamp: 2;\n line-height: 24px;\n text-overflow: ellipsis;\n a {\n color: white;\n }\n &[data-is-mobile='true'] {\n font-size: 14px;\n }\n }\n"])),(function(n){return n.theme.colors.secondaryBase}),(function(n){return n.theme.mbColors.cobalt})),Od=Dt.div(hd||(hd=gn(["\n max-width: 100px;\n margin-right: 16px;\n height: 100%;\n img {\n width: 64px;\n height: 64px;\n object-fit: contain;\n }\n &[data-is-marrybaby='true'] {\n height: unset;\n max-height: 100%;\n }\n &[data-is-mobile='true'] {\n img {\n width: 52px;\n height: 52px;\n }\n }\n"],["\n max-width: 100px;\n margin-right: 16px;\n height: 100%;\n img {\n width: 64px;\n height: 64px;\n object-fit: contain;\n }\n &[data-is-marrybaby='true'] {\n height: unset;\n max-height: 100%;\n }\n &[data-is-mobile='true'] {\n img {\n width: 52px;\n height: 52px;\n }\n }\n"]))),Vd=Dt.div(fd||(fd=gn(["\n position: absolute;\n right: 20px;\n width: 24px;\n height: 24px;\n cursor: pointer;\n &[data-is-marrybaby='true'] {\n background-color: ",";\n border-radius: 50%;\n top: 12px;\n right: 32px;\n padding: 10px;\n height: 40px;\n width: 40px;\n .close-icon {\n width: 20px;\n height: 20px;\n }\n &[data-is-mobile='true'] {\n position: absolute;\n top: 8px;\n right: 8px;\n padding: 8px;\n height: 32px;\n width: 32px;\n .close-icon {\n width: 100%;\n height: 100%;\n }\n }\n }\n"],["\n position: absolute;\n right: 20px;\n width: 24px;\n height: 24px;\n cursor: pointer;\n &[data-is-marrybaby='true'] {\n background-color: ",";\n border-radius: 50%;\n top: 12px;\n right: 32px;\n padding: 10px;\n height: 40px;\n width: 40px;\n .close-icon {\n width: 20px;\n height: 20px;\n }\n &[data-is-mobile='true'] {\n position: absolute;\n top: 8px;\n right: 8px;\n padding: 8px;\n height: 32px;\n width: 32px;\n .close-icon {\n width: 100%;\n height: 100%;\n }\n }\n }\n"])),(function(n){return n.theme.colors.white})),Gd=function(a){var o=a.icon,r=a.content,l=a.isCollapsed,s=a.isMobile,c=a.type,d=a.onClose,p=a.setBannerClosed,m=a.dispatch,g=a.dispatchActionType,u=a.cookieName,h=a._overrideCloseHandler,f=a.isAmp,x=a.siteType,v=a.dataEventCategory,y=void 0===v?"Header Banner":v,b=a.dataEventAction,E=void 0===b?"Close Click":b,w=a.dataEventLabel,k=void 0===w?"":w,C=a.dataTracking,L=void 0===C?"true":C,M=e(!1),S=M[0],T=M[1],N=e(!1),z=N[0],A=N[1],B=r;f&&(B=B.replace("data-event","data-vars-event").replace('data-vars-event-category="'.concat(y,'"'),'data-vars-event-category="'.concat(y,'" data-vars-tracking="').concat(L,'"')));var _=t(64);i((function(){var n=Ct((function(){window.scrollY<_.current?A(!1):window.scrollY>64&&A(!0),_.current=window.scrollY}),300);return window.addEventListener("scroll",n),function(){window.removeEventListener("scroll",n)}}),[]);var D="marryBaby"===x,F=D?pr:"data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M18 6L6 18' stroke='white' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3e%3cpath d='M6 6L18 18' stroke='white' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e";return i((function(){p&&p(S||l||z)}),[p,S,l,z]),n.createElement(Ud,{"data-is-mobile":s,"data-is-collapse":S||l||z,"data-is-marrybaby":D},o?n.createElement(Od,{"data-is-marrybaby":D},f?n.createElement("amp-img",{src:o,width:"76",height:"52"}):n.createElement("img",{src:o,className:"icon","data-is-mobile":s})):null,r?n.createElement("span",{className:"content","data-is-marrybaby":D,"data-is-mobile":s,dangerouslySetInnerHTML:{__html:B}}):null,n.createElement(Vd,dn({role:"button",tabIndex:0},{on:'tap:sitewide-container.hide(),site-header.toggleClass(class="amp-closed")'},{"data-is-marrybaby":D,"data-vars-event-category":y,"data-vars-event-action":E,"data-vars-event-label":k||"","data-vars-tracking":L||"",className:"amp-close-banner",onClick:function(){T(!0),h?h():(d&&d(),u&&cn(u,"true"),c&&m&&m({type:g,payload:{type:c}}))},"data-is-mobile":s}),f?n.createElement("amp-img",{src:F,width:"24",height:"24"}):n.createElement("img",{src:F,className:"close-icon"})))};Dt.div(Zd||(Zd=gn(["\n display: flex;\n align-items: center;\n padding: 0.5rem 0;\n\n &[data-type-mobile='true'] {\n justify-content: space-between;\n }\n\n amp-img img {\n object-fit: contain;\n object-position: right;\n }\n"],["\n display: flex;\n align-items: center;\n padding: 0.5rem 0;\n\n &[data-type-mobile='true'] {\n justify-content: space-between;\n }\n\n amp-img img {\n object-fit: contain;\n object-position: right;\n }\n"])));var Zd,Yd,Wd,Qd,qd,Kd=Dt.div(Yd||(Yd=gn(["\n display: flex;\n height: 40px;\n align-items: center;\n justify-content: center;\n padding: 8px 0;\n border-top: 1px solid #e4e8ec;\n background-color: ",";\n cursor: pointer;\n text-decoration: none;\n\n &[data-align-left='true'] {\n justify-content: start;\n }\n .sticky-sponsored-info-icon {\n display: inline;\n }\n\n .sponsored-logo {\n width: auto;\n height: 24px;\n vertical-align: middle;\n }\n\n "," {\n height: 44px;\n }\n\n &[data-show-popup='true'] {\n .sticky-sponsored-info-icon {\n position: relative;\n &:before {\n position: absolute;\n z-index: 9;\n top: 100%;\n left: 9px;\n border-right: 6px transparent solid;\n border-bottom: 8px white solid;\n border-left: 6px transparent solid;\n content: ' ';\n transform: translateX(calc(-50% + 3px));\n }\n }\n }\n\n &.open .amp-sponsored-popup {\n display: block;\n }\n\n &[data-is-amp] {\n margin-top: -10px;\n > [class*='Container'] {\n display: flex;\n align-items: center;\n }\n }\n"],["\n display: flex;\n height: 40px;\n align-items: center;\n justify-content: center;\n padding: 8px 0;\n border-top: 1px solid #e4e8ec;\n background-color: ",";\n cursor: pointer;\n text-decoration: none;\n\n &[data-align-left='true'] {\n justify-content: start;\n }\n .sticky-sponsored-info-icon {\n display: inline;\n }\n\n .sponsored-logo {\n width: auto;\n height: 24px;\n vertical-align: middle;\n }\n\n "," {\n height: 44px;\n }\n\n &[data-show-popup='true'] {\n .sticky-sponsored-info-icon {\n position: relative;\n &:before {\n position: absolute;\n z-index: 9;\n top: 100%;\n left: 9px;\n border-right: 6px transparent solid;\n border-bottom: 8px white solid;\n border-left: 6px transparent solid;\n content: ' ';\n transform: translateX(calc(-50% + 3px));\n }\n }\n }\n\n &.open .amp-sponsored-popup {\n display: block;\n }\n\n &[data-is-amp] {\n margin-top: -10px;\n > [class*='Container'] {\n display: flex;\n align-items: center;\n }\n }\n"])),(function(n){return n.theme.colors.neutral50}),xn.mbUp),Jd=Dt.div(Wd||(Wd=gn(["\n position: absolute;\n top: 30px;\n left: 50%;\n &[data-align-left='true'] {\n left: 190px;\n }\n width: 350px;\n padding: 1rem;\n border: 1px solid #f2f2f2;\n background: white;\n border-radius: 6px;\n transform: translateX(-50%);\n "," {\n width: calc(100% - 2rem);\n }\n\n &[data-is-amp] {\n display: none;\n position: fixed;\n z-index: 999;\n top: 100px;\n left: 50%;\n\n &.open {\n display: block;\n }\n }\n\n .button-container {\n display: flex;\n justify-content: space-between;\n button {\n flex: 1;\n }\n button:first-child {\n margin-right: 0.5rem;\n "," {\n margin-right: 1rem;\n }\n }\n }\n"],["\n position: absolute;\n top: 30px;\n left: 50%;\n &[data-align-left='true'] {\n left: 190px;\n }\n width: 350px;\n padding: 1rem;\n border: 1px solid #f2f2f2;\n background: white;\n border-radius: 6px;\n transform: translateX(-50%);\n "," {\n width: calc(100% - 2rem);\n }\n\n &[data-is-amp] {\n display: none;\n position: fixed;\n z-index: 999;\n top: 100px;\n left: 50%;\n\n &.open {\n display: block;\n }\n }\n\n .button-container {\n display: flex;\n justify-content: space-between;\n button {\n flex: 1;\n }\n button:first-child {\n margin-right: 0.5rem;\n "," {\n margin-right: 1rem;\n }\n }\n }\n"])),xn.mbDown,xn.mbUp),Xd=function(t){var a=t.className,i=t.isMobile,o=t.isCollapsed,r=t.sponsoredType,l=t.sponsoredBy,s=t.isAmp,d=t.locale,p=Oe(),m=e(!1),g=m[0],u=m[1];return n.createElement(Kd,{className:a,onClick:function(){return u(!0)},"data-show-popup":g&&(!i||!o)&&!s,"data-align-left":l&&!!(null==l?void 0:l.logo),"data-is-amp":s||void 0},n.createElement(ln,{style:{position:"relative",padding:"0 16px"}},"content"===r?n.createElement(c,{size:i?"p4":"p3",color:"#737373"},n.createElement("div",{className:"sticky-sponsored-info-icon"},s?n.createElement("amp-img",{height:"20",width:"20",style:{verticalAlign:"middle",marginLeft:"0.3rem",marginBottom:"0.1rem"},src:mr}):n.createElement("img",{src:mr,style:{width:20,height:20,verticalAlign:"middle",marginRight:"0.3rem",marginBottom:"0.1rem"}})),l&&(null==l?void 0:l.logo)?n.createElement(n.Fragment,null," ",p("articlePage.sponsoredContentBy")," ",n.createElement("img",{className:"sponsored-logo",src:(null==l?void 0:l.logo)||"",alt:"sponsored-logo"})):p("articlePage.sponsoredContent")):n.createElement(c,{size:"p2",color:"#737373"},p("articlePage.sponsoredArticle"),n.createElement("div",{className:"sticky-sponsored-info-icon"},s?n.createElement("amp-img",{height:"20",width:"20",style:{verticalAlign:"middle",marginLeft:"0.3rem",marginBottom:"0.1rem"},src:mr,on:"tap:sponsored-by.toggleClass(class='open')",tabIndex:0,role:"button"}):n.createElement("img",{src:mr,style:{width:20,height:20,verticalAlign:"middle",marginLeft:"0.3rem",marginBottom:"0.1rem"}}))),!g||i&&o||s?null:n.createElement($d,{sponsoredBy:l,isAmp:s,onClose:function(){return u(!1)},locale:d})))},$d=function(e){var t=e.sponsoredBy,a=e.isAmp,i=e.onClose,o=e.locale||"en-PH",r=Oe();return n.createElement(Jd,{"data-align-left":t&&!!(null==t?void 0:t.logo),"data-is-amp":a||void 0,id:"sponsored-by",className:a?"amp-sponsored-popup":void 0},n.createElement(c,{size:"p3",style:{marginBottom:"1rem"}},r("articlePage.sponsoredByStickyPopup.content")),n.createElement("div",{className:"button-container",onClick:function(n){n.stopPropagation()}},n.createElement(wn,{size:"md",color:"secondary",onClick:i,isAmp:a,on:"tap:sponsored-by.toggleClass(class='open')"},r("articlePage.sponsoredByStickyPopup.close")),n.createElement(wn,{size:"md",onClick:function(){window.location.href="/static".concat(_t[o].ADVERTISING_SPONSOR_POLICY)},isAmp:a,on:"tap:AMP.navigateTo(url='/static".concat(_t[o].ADVERTISING_SPONSOR_POLICY,"')")},r("articlePage.sponsoredByStickyPopup.policies"))))},np=Dt.footer(Qd||(Qd=gn(["\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 {\n width: 10%;\n align-self: flex-start;\n\n img {\n max-width: 100px;\n margin-bottom: 16px;\n\n "," {\n margin-bottom: 0px;\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 {\n width: 10%;\n align-self: flex-start;\n\n img {\n max-width: 100px;\n margin-bottom: 16px;\n\n "," {\n margin-bottom: 0px;\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"])),xn.mbDown,xn.mbDown,xn.mbUp,(function(n){return n.theme.colors.neutral500}),(function(n){return n.theme.colors.neutral500}),xn.mbUp,xn.mbDown,(function(n){return n.theme.colors.neutral500}),xn.mbUp,xn.mbUp,(function(n){return n.theme.colors.neutral500}),xn.mbUp,(function(n){return n.theme.colors.neutral500}),xn.mbDown,xn.mbUp,(function(n){return n.theme.colors.white}),(function(n){return n.theme.sizes.fwBold}),xn.mbDown,(function(n){return n.theme.colors.neutral500}),xn.mbDown,xn.mbUp,(function(n){return n.theme.colors.neutral500}),xn.mbDown,xn.mbUp,(function(n){return n.theme.colors.white}),(function(n){return n.theme.sizes.fwBold}),xn.mbUp),ep=Dt.div(qd||(qd=gn(["\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"]))),tp=function(e){var t=e.url,a=e.isMobile,i=e.dataEventCategory,o=e.dataEventAction,r=e.dataEventLabel;return n.createElement(ep,{"data-is-mobile":a},n.createElement("img",{className:"country-flag",src:t,alt:"Country Flag","data-event-category":i,"data-event-action":o,"data-content-label":r}))},ap=function(e){var t,a,i,o,r,l,s,d,p,m,g,u,h,f,x,v,y,b,E,w,k,C,L,M,S,T,N,z,A,B,_,D,F,P,I,H=e.className,R=e.type,j=void 0===R?"main":R,U=e.footerInfo,O=e.isMobile,V=e.locale,G=e.isAmp,Z=vn().t,Y=null==U?void 0:U.menu;return n.createElement(np,{as:G&&"mini"===j?"div":"footer",className:H,style:"mini"===j?{backgroundColor:Sn.colors.neutral50}:{},"next-page-hide":!0},n.createElement(ln,null,n.createElement("div",{className:"inner","data-type":j,"next-page-hide":""},"main"===j?n.createElement(n.Fragment,null,n.createElement("a",{href:"/"},G?(null===(a=null==U?void 0:U.general)||void 0===a?void 0:a.logo)?n.createElement("amp-img",{src:null===(i=null==U?void 0:U.general)||void 0===i?void 0:i.logo,alt:"Site logo",width:"132",height:"32",style:{marginBottom:24}}):null:n.createElement("img",{className:"footer-logo",src:null===(t=null==U?void 0:U.general)||void 0===t?void 0:t.logo,alt:"Logo","data-is-sehat":"id-ID"===V})),n.createElement("div",{className:"columns"},n.createElement("div",{className:"newsletter"},n.createElement(c,{size:"p1",type:"bold"},null===(o=null==U?void 0:U.general)||void 0===o?void 0:o.content),n.createElement(wn,{className:"signupButton",color:"primary",size:"lg"},Z("footer.signUp")),n.createElement("div",{className:"social"},n.createElement(c,{size:"sm",type:"regular"},null===(r=null==U?void 0:U.social)||void 0===r?void 0:r.title),n.createElement("div",{className:"icons"},null===(s=null===(l=null==U?void 0:U.social)||void 0===l?void 0:l.socials)||void 0===s?void 0:s.map((function(e,t){return n.createElement("a",{key:t,"data-event-category":"Footer","data-event-action":"Follow us - ".concat(e.name),"data-content-label":e.url,href:e.url},G?n.createElement("amp-img",{"data-event-category":"Footer","data-event-action":"Follow us - ".concat(e.name),"data-content-label":e.url,src:e.icon,alt:"Logo Social",width:"32",height:"32"}):n.createElement("img",{"data-event-category":"Footer","data-event-action":"Follow us - ".concat(e.name),"data-content-label":e.url,src:e.icon,alt:"Logo Social",className:"social-icon"}))}))),n.createElement("hr",{className:"hrMobile"}))),n.createElement("div",null,Y&&n.createElement(n.Fragment,null,n.createElement("div",{className:"biglinks"},null===(p=null===(d=Y[0])||void 0===d?void 0:d.items)||void 0===p?void 0:p.map((function(e,t){return n.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":"https://".concat(Nn[V]).concat(e.url),className:"bigLink",key:t,href:e.url},e.title)}))),n.createElement("hr",{className:"hrMobile"}),n.createElement("div",{className:"mHalf"},n.createElement(c,{type:"regular",size:"sm",className:"linkTitle"},null===(m=Y[1])||void 0===m?void 0:m.menu_title),null===(u=null===(g=Y[1])||void 0===g?void 0:g.items)||void 0===u?void 0:u.map((function(e,t){return n.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":"https://".concat(Nn[V]).concat(e.url),className:"link",href:e.url,key:t},n.createElement(c,{size:"sm",type:"regular",dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:"https://".concat(Nn[V]).concat(e.url)},e.title))}))),n.createElement("div",{className:"mHalf"},n.createElement(c,{type:"regular",size:"sm",className:"linkTitle"},null===(h=Y[2])||void 0===h?void 0:h.menu_title),null===(x=null===(f=Y[2])||void 0===f?void 0:f.items)||void 0===x?void 0:x.map((function(e,t){return e.url&&n.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":e.url,className:"link",href:e.url,key:t},n.createElement(c,{size:"sm",type:"regular",dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:e.url},e.title))})))),!G&&n.createElement(n.Fragment,null,n.createElement("hr",{className:"hrMobile"}),n.createElement("div",{className:"otherSites"},n.createElement(c,{type:"regular",size:"sm",className:"linkTitle"},null===(v=null==U?void 0:U.branch)||void 0===v?void 0:v.title),n.createElement("div",{className:"flags"},null===(b=null===(y=null==U?void 0:U.branch)||void 0===y?void 0:y.branch)||void 0===b?void 0:b.map((function(e,t){return n.createElement("a",{className:"link",href:e.url,key:t,"data-event-category":"Footer","data-event-action":e.name,"data-event-label":e.url},n.createElement(tp,{url:e.flag,isMobile:O,dataEventCategory:"Footer",dataEventAction:e.name,dataEventLabel:e.url}))}))))))),n.createElement("hr",null),n.createElement("div",{className:"copyright","data-is-amp":G||void 0},(null===(E=null==U?void 0:U.general)||void 0===E?void 0:E.verified)&&n.createElement("a",{href:null===(k=null===(w=null==U?void 0:U.general)||void 0===w?void 0:w.verified[0])||void 0===k?void 0:k.url,className:"copyright-image"},G?n.createElement("amp-img",{src:null===(L=null===(C=null==U?void 0:U.general)||void 0===C?void 0:C.verified[0])||void 0===L?void 0:L.image,alt:"DMCA Icon",width:"100",height:"36"}):n.createElement("img",{src:null===(S=null===(M=null==U?void 0:U.general)||void 0===M?void 0:M.verified[0])||void 0===S?void 0:S.image,alt:"DMCA Icon"})),n.createElement(c,{size:"xs",type:"regular",className:"copyright-content"},null===(T=null==U?void 0:U.general)||void 0===T?void 0:T.copyright)),"vi-VN"===V&&n.createElement(c,{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")):n.createElement(n.Fragment,null,(null==U?void 0:U.menu)&&n.createElement("div",{className:"columns"},n.createElement("div",{className:"mHalf"},n.createElement(c,{type:"regular",size:"sm",className:"linkTitle"},null===(N=null==U?void 0:U.menu[1])||void 0===N?void 0:N.menu_title),null===(A=null===(z=null==U?void 0:U.menu[1])||void 0===z?void 0:z.items)||void 0===A?void 0:A.map((function(e){return n.createElement("a",{className:"link",href:e.url,key:e.title,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Information","data-content-title":e.title,"data-content-id":"https://".concat(Nn[V]).concat(e.url),"data-event-category":"Footer","data-event-action":e.title,"data-event-label":"https://".concat(Nn[V]).concat(e.url)},n.createElement(c,{dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:"https://".concat(Nn[V]).concat(e.url),size:"sm",type:"regular",style:{color:Sn.colors.gray800}},e.title))}))),n.createElement("div",{className:"mHalf"},n.createElement(c,{type:"regular",size:"sm",className:"linkTitle"},null===(B=null==U?void 0:U.menu[2])||void 0===B?void 0:B.menu_title),null===(D=null===(_=null==U?void 0:U.menu[2])||void 0===_?void 0:_.items)||void 0===D?void 0:D.map((function(e,t){return n.createElement("a",{className:"link",href:e.url,key:t,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Hello Health","data-content-title":e.title,"data-content-id":e.url,"data-event-category":"Footer","data-event-action":e.title,"data-event-label":e.url},n.createElement(c,{size:"sm",type:"regular",style:{color:Sn.colors.gray800},dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:e.url},e.title))}))),!G&&"mini"!==j&&n.createElement("hr",{className:"hrMobile"}),n.createElement("div",{className:"newsletter"},n.createElement("div",{className:"social"},n.createElement(c,{size:"sm",type:"regular"},null===(F=null==U?void 0:U.social)||void 0===F?void 0:F.title),n.createElement("div",{className:"icons"},null===(I=null===(P=null==U?void 0:U.social)||void 0===P?void 0:P.socials)||void 0===I?void 0:I.map((function(e,t){return n.createElement("a",{key:t,"data-event-category":"Footer","data-event-action":"Follow us - ".concat(e.name),"data-content-label":e.url,href:e.url},G?n.createElement("amp-img",{"data-event-category":"Footer","data-event-action":"Follow us - ".concat(e.name),"data-content-label":e.url,src:e.icon,alt:"Logo Social",width:"32",height:"32"}):n.createElement("img",{"data-event-category":"Footer","data-event-action":"Follow us - ".concat(e.name),"data-content-label":e.url,src:e.icon,alt:"Logo Social",className:"social-icon"}))}))))))))))};Dt((function(e){var t=e.type,a=mn(e,["type"]);return n.createElement(t,a)}))(ip||(ip=gn(["\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(n){return n.theme.mbColors.dark}));var ip,op,rp=Dt.p(op||(op=gn(["\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(n){return n.theme.mbColors.dark})),lp=function(e){var t=e.type,a=e.color,i=e.style,o=mn(e,["type","color","style"]);return n.createElement(rp,dn({"data-type":t,style:dn(dn({},i),a&&{"--text-color":a})},o))};Dt.footer(sp||(sp=gn(["\n position: relative;\n background: ",";\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: 0;\n }\n }\n\n .footer-logo {\n max-width: 132px;\n margin-bottom: 24px;\n }\n\n .social {\n margin-top: 24px;\n\n "," {\n margin-top: 32px;\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\n .newsletter {\n > p {\n color: ",";\n\n font-size: 14px;\n line-height: 22px;\n\n "," {\n max-width: 380px;\n font-size: 19px;\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 p {\n color: ",";\n }\n\n img {\n max-width: 100px;\n margin-bottom: 16px;\n\n "," {\n margin-bottom: 0px;\n }\n }\n\n &[data-is-amp='true'] {\n img {\n margin-bottom: 0;\n }\n }\n }\n\n .biglinks {\n margin-bottom: 12px;\n }\n\n .bigLink {\n display: block;\n color: ",";\n font-size: 19px;\n font-weight: ",";\n text-decoration: none;\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 margin-bottom: 12px;\n color: ",";\n }\n\n "," {\n margin-bottom: 8px;\n }\n }\n\n .otherSites {\n p {\n margin-bottom: 12px;\n color: ",";\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 }\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 {\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 position: relative;\n background: ",";\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: 0;\n }\n }\n\n .footer-logo {\n max-width: 132px;\n margin-bottom: 24px;\n }\n\n .social {\n margin-top: 24px;\n\n "," {\n margin-top: 32px;\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\n .newsletter {\n > p {\n color: ",";\n\n font-size: 14px;\n line-height: 22px;\n\n "," {\n max-width: 380px;\n font-size: 19px;\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 p {\n color: ",";\n }\n\n img {\n max-width: 100px;\n margin-bottom: 16px;\n\n "," {\n margin-bottom: 0px;\n }\n }\n\n &[data-is-amp='true'] {\n img {\n margin-bottom: 0;\n }\n }\n }\n\n .biglinks {\n margin-bottom: 12px;\n }\n\n .bigLink {\n display: block;\n color: ",";\n font-size: 19px;\n font-weight: ",";\n text-decoration: none;\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 margin-bottom: 12px;\n color: ",";\n }\n\n "," {\n margin-bottom: 8px;\n }\n }\n\n .otherSites {\n p {\n margin-bottom: 12px;\n color: ",";\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 }\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 {\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"])),(function(n){return n.theme.mbColors.lightGray}),xn.mbDown,xn.mbDown,(function(n){return n.theme.colors.white}),(function(n){return n.theme.colors.neutral500}),xn.mbUp,xn.mbDown,(function(n){return n.theme.colors.neutral500}),xn.mbUp,xn.mbUp,(function(n){return n.theme.colors.white}),xn.mbUp,(function(n){return n.theme.colors.white}),(function(n){return n.theme.sizes.fwBold}),xn.mbDown,(function(n){return n.theme.colors.neutral500}),xn.mbDown,(function(n){return n.theme.colors.neutral500}),(function(n){return n.theme.colors.white}),(function(n){return n.theme.sizes.fwBold}),xn.mbUp);var sp,cp,dp,pp,mp,gp,up,hp,fp=Dt.div(cp||(cp=gn([""],[""]))),xp=Dt.div(dp||(dp=gn(["\n position: relative;\n overflow: hidden;\n padding: 40px 40px 100px 40px;\n\n .icons-links {\n position: relative;\n display: flex;\n justify-content: space-between;\n }\n"],["\n position: relative;\n overflow: hidden;\n padding: 40px 40px 100px 40px;\n\n .icons-links {\n position: relative;\n display: flex;\n justify-content: space-between;\n }\n"]))),vp=Dt.div(pp||(pp=gn(["\n position: relative;\n margin: 80px 0 0;\n\n "," {\n margin-top: 0px;\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: #f3f3f3;\n content: '';\n transform: translateX(-50%);\n border-radius: 100% 100% 0 0 / 30% 30%;\n }\n }\n"],["\n position: relative;\n margin: 80px 0 0;\n\n "," {\n margin-top: 0px;\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: #f3f3f3;\n content: '';\n transform: translateX(-50%);\n border-radius: 100% 100% 0 0 / 30% 30%;\n }\n }\n"])),xn.mbDown),yp=Dt.div(mp||(mp=gn(["\n position: relative;\n padding: 0 16px;\n\n "," {\n padding: 48px 8px 0;\n }\n\n & .grid {\n display: flex;\n flex-wrap: wrap;\n margin: -8px;\n\n & > * {\n display: inline-block;\n flex: 0 0 25%;\n padding: 8px;\n color: ",";\n text-decoration: none;\n }\n\n "," {\n & > * {\n flex: 0 0 100%;\n text-align: center;\n }\n }\n }\n\n & .social-wrapper {\n margin-left: auto;\n }\n\n & .social {\n "," {\n & .icons-links {\n margin-top: 16px;\n\n & > a:not(:first-child) {\n margin-left: 10%;\n }\n\n & > a {\n text-decoration: none;\n }\n }\n }\n\n "," {\n width: 100%;\n display: flex;\n background: #fff;\n box-shadow: 0px 0px 24px rgba(0, 0, 0, 0.05);\n border-radius: 8px;\n padding: 20px 16px;\n align-items: center;\n max-width: 400px;\n margin: 32px auto 0px;\n\n & > p {\n font-size: 12px;\n line-height: 20px;\n }\n\n & .icons-links {\n margin-left: 8%;\n flex: 1;\n display: inline-flex;\n justify-content: space-between;\n }\n }\n\n & .icons-links {\n & > a {\n & > img {\n width: 24px;\n object-fit: contain;\n }\n }\n }\n }\n"],["\n position: relative;\n padding: 0 16px;\n\n "," {\n padding: 48px 8px 0;\n }\n\n & .grid {\n display: flex;\n flex-wrap: wrap;\n margin: -8px;\n\n & > * {\n display: inline-block;\n flex: 0 0 25%;\n padding: 8px;\n color: ",";\n text-decoration: none;\n }\n\n "," {\n & > * {\n flex: 0 0 100%;\n text-align: center;\n }\n }\n }\n\n & .social-wrapper {\n margin-left: auto;\n }\n\n & .social {\n "," {\n & .icons-links {\n margin-top: 16px;\n\n & > a:not(:first-child) {\n margin-left: 10%;\n }\n\n & > a {\n text-decoration: none;\n }\n }\n }\n\n "," {\n width: 100%;\n display: flex;\n background: #fff;\n box-shadow: 0px 0px 24px rgba(0, 0, 0, 0.05);\n border-radius: 8px;\n padding: 20px 16px;\n align-items: center;\n max-width: 400px;\n margin: 32px auto 0px;\n\n & > p {\n font-size: 12px;\n line-height: 20px;\n }\n\n & .icons-links {\n margin-left: 8%;\n flex: 1;\n display: inline-flex;\n justify-content: space-between;\n }\n }\n\n & .icons-links {\n & > a {\n & > img {\n width: 24px;\n object-fit: contain;\n }\n }\n }\n }\n"])),xn.mbDown,(function(n){return n.theme.colors.gray800}),xn.mbDown,xn.mbUp,xn.mbDown),bp=Dt.div(gp||(gp=gn(["\n position: relative;\n\n "," {\n margin: 80px 0 0;\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: #f3f3f3;\n border-radius: 2150px 2150px 0 0 / 200px 200px 0 0;\n content: '';\n transform: translateX(-50%);\n }\n }\n\n "," {\n background-color: #f3f3f3;\n }\n"],["\n position: relative;\n\n "," {\n margin: 80px 0 0;\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: #f3f3f3;\n border-radius: 2150px 2150px 0 0 / 200px 200px 0 0;\n content: '';\n transform: translateX(-50%);\n }\n }\n\n "," {\n background-color: #f3f3f3;\n }\n"])),xn.mbUp,xn.mbDown),Ep=Dt.div(up||(up=gn(["\n position: relative;\n padding: 64px 16px 154px;\n text-align: center;\n\n "," {\n padding: 48px 8px 32px;\n }\n\n & .company-name {\n margin-top: 24px;\n }\n\n .logo {\n justify-content: center;\n }\n\n & .text-info {\n margin-top: 8px;\n > p {\n margin-bottom: 8px;\n }\n "," {\n text-align: left;\n margin-top: 16px;\n }\n }\n\n & .img-container {\n display: flex;\n max-width: 176px;\n height: 24px;\n justify-content: space-between;\n margin: 24px auto 0;\n\n "," {\n height: 32px;\n max-width: unset;\n justify-content: space-around;\n }\n\n img {\n width: unset;\n height: 100%;\n object-fit: contain;\n }\n }\n\n & > hr {\n border-color: ",";\n margin: 64px 0 18px;\n opacity: 0.1;\n }\n\n & .language-and-copyright {\n display: flex;\n justify-content: center;\n\n "," {\n margin-top: 60px;\n }\n\n & #footer-language-select {\n width: 100%;\n max-width: 114px;\n\n &[data-dropdown-open='true'] > div:after {\n transform: translateY(-60%) rotateZ(-180deg);\n }\n\n "," {\n order: 1;\n }\n\n & > div {\n padding: 0;\n\n & > div > svg {\n max-width: 22px;\n margin-right: 8px;\n transform: translateY(1px);\n }\n\n & > span {\n font-size: 12px;\n letter-spacing: -0.2px;\n line-height: 24px;\n }\n }\n\n & > ul[data-has-icons='true'] {\n width: 158px;\n max-width: 158px;\n border: none;\n border-radius: 4px;\n box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.08);\n\n "," {\n margin-top: 0;\n left: unset;\n right: 0;\n top: unset;\n bottom: 32px;\n }\n\n & li {\n font-size: 12px;\n letter-spacing: -0.2px;\n line-height: 24px;\n\n & > div {\n max-width: 22px;\n & svg {\n width: 22px;\n max-width: 22px;\n transform: translateY(3px);\n }\n }\n }\n }\n }\n\n & > p {\n color: ",";\n }\n }\n"],["\n position: relative;\n padding: 64px 16px 154px;\n text-align: center;\n\n "," {\n padding: 48px 8px 32px;\n }\n\n & .company-name {\n margin-top: 24px;\n }\n\n .logo {\n justify-content: center;\n }\n\n & .text-info {\n margin-top: 8px;\n > p {\n margin-bottom: 8px;\n }\n "," {\n text-align: left;\n margin-top: 16px;\n }\n }\n\n & .img-container {\n display: flex;\n max-width: 176px;\n height: 24px;\n justify-content: space-between;\n margin: 24px auto 0;\n\n "," {\n height: 32px;\n max-width: unset;\n justify-content: space-around;\n }\n\n img {\n width: unset;\n height: 100%;\n object-fit: contain;\n }\n }\n\n & > hr {\n border-color: ",";\n margin: 64px 0 18px;\n opacity: 0.1;\n }\n\n & .language-and-copyright {\n display: flex;\n justify-content: center;\n\n "," {\n margin-top: 60px;\n }\n\n & #footer-language-select {\n width: 100%;\n max-width: 114px;\n\n &[data-dropdown-open='true'] > div:after {\n transform: translateY(-60%) rotateZ(-180deg);\n }\n\n "," {\n order: 1;\n }\n\n & > div {\n padding: 0;\n\n & > div > svg {\n max-width: 22px;\n margin-right: 8px;\n transform: translateY(1px);\n }\n\n & > span {\n font-size: 12px;\n letter-spacing: -0.2px;\n line-height: 24px;\n }\n }\n\n & > ul[data-has-icons='true'] {\n width: 158px;\n max-width: 158px;\n border: none;\n border-radius: 4px;\n box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.08);\n\n "," {\n margin-top: 0;\n left: unset;\n right: 0;\n top: unset;\n bottom: 32px;\n }\n\n & li {\n font-size: 12px;\n letter-spacing: -0.2px;\n line-height: 24px;\n\n & > div {\n max-width: 22px;\n & svg {\n width: 22px;\n max-width: 22px;\n transform: translateY(3px);\n }\n }\n }\n }\n }\n\n & > p {\n color: ",";\n }\n }\n"])),xn.mbDown,xn.mbDown,xn.mbDown,(function(n){return n.theme.mbColors.midGray}),xn.mbDown,xn.mbDown,xn.mbDown,(function(n){return n.theme.mbColors.midGray})),wp=Dt.div(hp||(hp=gn(["\n position: absolute;\n top: 0;\n right: -50%;\n width: 400px;\n height: 400px;\n background-color: #f2fcf7;\n border-radius: 50%;\n"],["\n position: absolute;\n top: 0;\n right: -50%;\n width: 400px;\n height: 400px;\n background-color: #f2fcf7;\n border-radius: 50%;\n"]))),kp={SOCIAL_LINKS:{facebookLink:"https://www.facebook.com/marry.baby.vn",instagramLink:"https://www.instagram.com/marrybaby.vn",zaloLink:"http://zalo.me/806483414530291942",youtubeLink:"https://www.youtube.com/user/marrybabyvn"}},Cp=function(e){var t,a=e.socialLinks,i=void 0===a?kp.SOCIAL_LINKS:a,o=i.facebookLink,r=i.instagramLink,l=i.zaloLink,s=i.youtubeLink,c=e.copyrightText,d=e.logoType,p=void 0===d?"marryBaby":d,m=e.isMobile,g=e.footerMenu,u=void 0===g?[]:g,h=e.type,f=void 0===h?"main":h,x=vn().t;return"main"===f?n.createElement(fp,{className:"footer-container"},!m&&n.createElement("div",{className:"footer-divider"},n.createElement(ln,{type:"marryBaby"},n.createElement(yt,{style:{padding:"0 16px"},type:"solid"}))),n.createElement(vp,null,n.createElement(ln,{type:"marryBaby"},n.createElement(yp,null,n.createElement("div",{className:"grid"},null===(t=m?null==u?void 0:u.slice(0,6):u)||void 0===t?void 0:t.map((function(e,t){var a=e.title,i=e.link;return n.createElement("a",{"data-event-category":"Footer","data-event-action":a,"data-event-label":"".concat(i),className:"link",href:i,key:"footer-links-".concat(t)},n.createElement(lp,{color:Sn.colors.gray800,type:"subtitle-2"},a))})),n.createElement("div",{className:"social-wrapper"},n.createElement("div",{className:"social"},n.createElement(lp,{type:"subtitle-2"},x("footer.followUsText")),n.createElement("div",{className:"icons-links"},o&&n.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Facebook","data-content-label":o,href:o},n.createElement("img",{src:$t,alt:"Facebook"})),s&&n.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Youtube","data-event-label":s,href:s},n.createElement("img",{src:ia,alt:"Youtube"})),r&&n.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Instagram","data-content-label":r,href:r},n.createElement("img",{src:na,alt:"Instagram"})),l&&n.createElement("a",{target:"_blank",rel:"noreferrer",href:l,"data-event-category":"Footer","data-event-action":"Follow us - Zalo","data-event-label":l},n.createElement("img",{src:oa,alt:"Zalo"}))))))))),n.createElement(bp,null,n.createElement(ln,{type:"marryBaby"},n.createElement(Ep,null,n.createElement(rn,{className:"logo",type:p,width:"121px"}),n.createElement(lp,{className:"company-name",type:"subtitle-2"},x("footer.info.companyName")),n.createElement("div",{className:"text-info"},n.createElement(lp,{type:"bodytext-3"},x("footer.info.address")),n.createElement(lp,{type:"bodytext-3"},x("footer.info.license")),n.createElement(lp,{type:"bodytext-3"},x("footer.info.email"))),n.createElement("div",{className:"img-container"},n.createElement("img",{src:"/images/dmca_protected.png",alt:"DMCA protected"}),n.createElement("a",{href:"http://online.gov.vn/Home/WebDetails/25055?AspxAutoDetectCookieSupport=1",target:"_blank",rel:"noreferrer"},n.createElement("img",{src:"/images/mit_registered.png",alt:"MIT registered"}))),!m&&n.createElement(yt,{type:"solid"}),n.createElement("div",{className:"language-and-copyright"},n.createElement(lp,{type:"bodytext-3"},c)))))):n.createElement(xp,null,n.createElement(wp,null),n.createElement(lp,{type:"subtitle-3",style:{marginBottom:24,textTransform:"uppercase",fontWeight:Sn.sizes.fwSemiBold},color:Sn.mbColors.midGray},x("footer.followUsText")),n.createElement("div",{className:"icons-links"},o&&n.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Facebook","data-content-label":o,href:o},n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M21 5.75V18.25C21 19.765 19.765 21 18.25 21H15.5V14H17.31C17.565 14 17.78 13.81 17.81 13.56L17.995 12.06C18.015 11.92 17.97 11.775 17.875 11.67C17.78 11.56 17.645 11.5 17.5 11.5H15.5V9.75C15.5 9.2 15.95 8.75 16.5 8.75H17.5C17.775 8.75 18 8.525 18 8.25V6.56C18 6.305 17.8 6.09 17.545 6.065C17.515 6.06 16.81 6 15.915 6C13.715 6 12.5 7.31 12.5 9.685V11.5H10.5C10.225 11.5 10 11.725 10 12V13.5C10 13.775 10.225 14 10.5 14H12.5V21H5.75C4.235 21 3 19.765 3 18.25V5.75C3 4.235 4.235 3 5.75 3H18.25C19.765 3 21 4.235 21 5.75Z",fill:"url(#paint0_linear)"}),n.createElement("defs",null,n.createElement("linearGradient",{id:"paint0_linear",x1:"12",y1:"3",x2:"12",y2:"21",gradientUnits:"userSpaceOnUse"},n.createElement("stop",{stopColor:"#4DABF7"}),n.createElement("stop",{offset:"1",stopColor:"#2668DA"}))))),s&&n.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Youtube","data-event-label":s,href:s},n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M11.9287 4.25C8.75236 4.25 5.80117 4.47631 4.11719 4.82812C4.1136 4.82907 4.11002 4.83005 4.10645 4.83105C2.83774 5.11535 1.64309 6.02412 1.3916 7.44727L1.39062 7.45312C1.19742 8.60013 1 10.0953 1 12.25C1 14.4006 1.1981 15.8562 1.44238 17.0635C1.70004 18.4446 2.86711 19.3809 4.15527 19.6689C4.16144 19.6707 4.16762 19.6723 4.17383 19.6738C5.93135 20.0201 8.79923 20.25 11.9756 20.25C15.1519 20.25 18.0213 20.0201 19.7793 19.6738C19.7855 19.6723 19.7917 19.6707 19.7979 19.6689C21.0666 19.3847 22.2612 18.4759 22.5127 17.0527C22.5134 17.0492 22.514 17.0456 22.5146 17.042C22.7049 15.8716 22.9514 14.3778 23 12.2197C23.0001 12.2142 23.0001 12.2087 23 12.2031C23 10.0438 22.7529 8.53934 22.5117 7.34766C22.2561 5.96354 21.0877 5.02474 19.7979 4.73633C19.7781 4.73195 19.7583 4.72836 19.7383 4.72559C18.0232 4.48448 15.1056 4.25 11.9287 4.25ZM10.0781 8.50098C10.2633 8.49715 10.4548 8.54095 10.6348 8.64258L14.9365 11.0732C15.662 11.4832 15.662 12.5177 14.9365 12.9277L10.6348 15.3584C9.91527 15.7644 9.01855 15.2502 9.01855 14.4307V9.56934C9.01855 8.95471 9.52252 8.51246 10.0781 8.50098Z",fill:"#EB3223"}))),r&&n.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Instagram","data-content-label":r,href:r},n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M8.25 2.5C5.08319 2.5 2.5 5.08319 2.5 8.25V15.75C2.5 18.9164 5.0831 21.5 8.25 21.5H15.75C18.9165 21.5 21.5 18.9165 21.5 15.75V8.25C21.5 5.0831 18.9164 2.5 15.75 2.5H8.25ZM8.25 4H15.75C18.1056 4 20 5.8939 20 8.25V15.75C20 18.1055 18.1055 20 15.75 20H8.25C5.8939 20 4 18.1056 4 15.75V8.25C4 5.89381 5.89381 4 8.25 4ZM17 6C16.4475 6 16 6.4475 16 7C16 7.5525 16.4475 8 17 8C17.5525 8 18 7.5525 18 7C18 6.4475 17.5525 6 17 6ZM12 7C9.24759 7 7 9.24759 7 12C7 14.7524 9.24759 17 12 17C14.7524 17 17 14.7524 17 12C17 9.24759 14.7524 7 12 7ZM12 8.5C13.9416 8.5 15.5 10.0584 15.5 12C15.5 13.9416 13.9416 15.5 12 15.5C10.0584 15.5 8.5 13.9416 8.5 12C8.5 10.0584 10.0584 8.5 12 8.5Z",fill:"url(#paint0_radial)"}),n.createElement("defs",null,n.createElement("radialGradient",{id:"paint0_radial",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(0.499995 26) rotate(-47.9508) scale(34.3402 30.014)"},n.createElement("stop",{offset:"0.073",stopColor:"#EACC7B"}),n.createElement("stop",{offset:"0.184",stopColor:"#ECAA59"}),n.createElement("stop",{offset:"0.307",stopColor:"#EF802E"}),n.createElement("stop",{offset:"0.358",stopColor:"#EF6D3A"}),n.createElement("stop",{offset:"0.46",stopColor:"#F04B50"}),n.createElement("stop",{offset:"0.516",stopColor:"#F03E58"}),n.createElement("stop",{offset:"0.689",stopColor:"#DB359E"}),n.createElement("stop",{offset:"0.724",stopColor:"#CE37A4"}),n.createElement("stop",{offset:"0.789",stopColor:"#AC3CB4"}),n.createElement("stop",{offset:"0.877",stopColor:"#7544CF"}),n.createElement("stop",{offset:"0.98",stopColor:"#2B4FF2"}))))),l&&n.createElement("a",{target:"_blank",rel:"noreferrer",href:l,"data-event-category":"Footer","data-event-action":"Follow us - Zalo","data-event-label":l},n.createElement("div",{style:{height:24,width:24}},n.createElement("img",{src:"/icons/zalo.png",alt:"Zalo"})))))},Lp=function(e){var t=e.type,a=e.isMobile,i=void 0===a||a,o=e.locale,r=e.footerInfo,l=e.isAmp;return"helloSites"===e.siteType?n.createElement(ap,{isAmp:l,isMobile:i,type:t,locale:o,footerInfo:r||{}}):n.createElement(Cp,{isMobile:i,locale:o,footerMenu:r||[],copyrightText:"© 2022 MarryBaby.vn",socialLinks:e.marryBabySocialLinks,type:t})};export{It as A,Ht as B,Xt as C,xa as D,Lp as E,jt as F,Ut as G,la as I,rl as L,Ea as M,jd as N,Vt as P,Gt as R,Zt as S,Qt as T,Kt as U,Rt as a,Wt as b,qt as c,Jt as d,ra as e,sa as f,pa as g,ga as h,ua as i,ha as j,va as k,wa as l,ka as m,Ca as n,mi as o,gi as p,ui as q,hi as r,fi as s,xi as t,vi as u,yi as v,bi as w,Gd as x,vd as y,Xd as z};
|
|
2
|
+
//# sourceMappingURL=index-84f7b563.js.map
|