@hhgtech/hhg-components 1.20.8 → 1.20.9

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.
@@ -1 +1 @@
1
- import e,{useState as t,useRef as a,useMemo as n,useEffect as l,Fragment as o,useCallback as i}from"react";import{S as r,d as c,T as s,e as m,f as d,g as p,h as u,i as g,j as v,k as h,l as E,m as y,n as f,o as C,p as k,q as b,r as w,s as L,t as A,u as S,v as N,w as x,x as T,y as B,z as F,A as M,B as U,D as W,E as D,F as V,G as R,H as I,I as H,J as q,P,a as O,C as G}from"./index.styled-4154e676.js";import{b as j,c as Z,d as z,_ as Q,a as _}from"./tslib.es6-6ae0d506.js";import{i as Y,u as K}from"./useTranslations-0b650088.js";import{Range as X,getTrackBackground as J,useThumbOverlap as $}from"react-range";import{B as ee,H as te}from"./index.styled-25acea1f.js";import{t as ae,i as ne,d as le}from"./theme-0e20eeec.js";import{l as oe,m as ie,n as re,o as ce,p as se,q as me,r as de,s as pe,t as ue,u as ge,v as ve,w as he,x as Ee,y as ye,z as fe,B as Ce,E as ke,F as be,H as we,I as Le,J as Ae,K as Se,N as Ne,O as xe,Q as Te,V as Be,W as Fe,X as Me,Y as Ue,Z as We,_ as De,$ as Ve,a0 as Re,a1 as Ie,a2 as He,a3 as qe,a4 as Pe,a5 as Oe,a6 as Ge,a7 as je,a8 as Ze,a9 as ze,aa as Qe,ab as _e,ac as Ye,ad as Ke,ae as Xe,af as Je,ag as $e,ah as et,ai as tt,aj as at,ak as nt,al as lt,am as ot,an as it,ao as rt,ap as ct,aq as st,ar as mt,as as dt,at as pt,au as ut,av as gt,aw as vt,ax as ht,ay as Et,az as yt,aA as ft,aB as Ct,aC as kt,aD as bt,aE as wt,aF as Lt,aG as At,aH as St,aI as Nt,aJ as xt,aK as Tt,A as Bt,aL as Ft,aM as Mt,aN as Ut,aO as Wt,P as Dt,aP as Vt,aQ as Rt,aR as It,aS as Ht,aT as qt,aU as Pt,aV as Ot,aW as Gt,aX as jt,aY as Zt,aZ as zt,a_ as Qt,a$ as _t,b0 as Yt,b1 as Kt,b2 as Xt,d as Jt}from"./index.styled-b183dd15.js";import{useId as $t}from"react-id-generator";import{a as ea,S as ta,b as aa,c as na,d as la,e as oa,f as ia,g as ra,h as ca,i as sa,D as ma,j as da,k as pa,M as ua,l as ga,m as va,n as ha,o as Ea,p as ya,q as fa,r as Ca,s as ka,t as ba,u as wa,v as La,w as Aa,x as Sa,y as Na,z as xa,A as Ta,B as Ba,C as Fa,E as Ma,F as Ua,G as Wa,H as Da,I as Va,J as Ra,K as Ia,L as Ha,N as qa,O as Pa,P as Oa,Q as Ga,R as ja,T as Za,U as za,V as Qa,W as _a,X as Ya,Y as Ka,Z as Xa,_ as Ja,$ as $a,a0 as en,a1 as tn,a2 as an,a3 as nn,a4 as ln,a5 as on,a6 as rn,a7 as cn,a8 as sn,a9 as mn,aa as dn,ab as pn,ac as un,ad as gn,ae as vn,af as hn,ag as En,ah as yn,ai as fn,aj as Cn,ak as kn,al as bn,am as wn,an as Ln,ao as An,ap as Sn,aq as Nn,ar as xn,as as Tn,at as Bn,au as Fn,av as Mn,aw as Un,ax as Wn,ay as Dn,az as Vn,aA as Rn,aB as In,aC as Hn,aD as qn,aE as Pn,aF as On,aG as Gn,aH as jn,aI as Zn,aJ as zn,aK as Qn,aL as _n,aM as Yn,aN as Kn,aO as Xn,aP as Jn,aQ as $n,aR as el,aS as tl,aT as al,aU as nl,aV as ll,aW as ol,aX as il,aY as rl,aZ as cl,a_ as sl,a$ as ml,b0 as dl,b1 as pl,b2 as ul,b3 as gl,b4 as vl,b5 as hl,b6 as El,b7 as yl,b8 as fl,b9 as Cl,ba as kl,bb as bl,bc as wl,bd as Ll,be as Al,bf as Sl,bg as Nl,bh as xl,bi as Tl,bj as Bl,bk as Fl,bl as Ml,bm as Ul,bn as Wl,bo as Dl,bp as Vl,bq as Rl,br as Il,bs as Hl,bt as ql,bu as Pl,bv as Ol,bw as Gl,bx as jl,by as Zl,bz as zl,bA as Ql,bB as _l,bC as Yl,bD as Kl}from"./index.styled-c6e48a65.js";import{format as Xl,isBefore as Jl,startOfMonth as $l,addMonths as eo,subMonths as to,getDaysInMonth as ao,isToday as no,isSameDay as lo,isWithinInterval as oo,isAfter as io,isPast as ro}from"date-fns";import co from"react-day-picker/DayPickerInput";import{throttle as so,debounce as mo}from"lodash";import{useKeenSlider as po}from"keen-slider/react";import"react-dom";import{L as uo,F as go,d as vo,I as ho,M as Eo,a as yo,S as fo,b as Co}from"./constants-4e52a6b1.js";import{u as ko}from"./useOutsideClick-6004483a.js";import bo from"date-fns/locale/en-US";import wo from"date-fns/locale/id";import Lo from"date-fns/locale/vi";import Ao from"date-fns/locale/zh-TW";import{l as So}from"./lazyLoad-d80d3fd1.js";import"lodash/debounce";import"styled-components";import{u as No,i as xo,f as To,h as Bo,j as Fo,k as Mo,l as Uo,U as Wo}from"./index-4e0e051f.js";import Do from"react-loading-skeleton";import{T as Vo}from"./translationsProvider-1ddfe46a.js";import{s as Ro}from"./cookieHelper-0e8521c3.js";var Io=function(t){var a=t.style,n=t.onClose,l=t.text,o=t.type,i=t.contentIcon,d=t.closeIcon,p=t.className,u=t.description;return e.createElement(r,{style:a,"data-alert-type":o,className:p},e.createElement(c,null,e.createElement("div",{className:"icon-title"},i,e.createElement(s,{type:"bold",size:"label1"},l)),e.createElement(s,{type:"regular",size:"p3"},u)),e.createElement(m,{onClick:n},d))},Ho=function(t){var a=t.amount,n=t.type,l=t.size,o=void 0===l?"medium":l,i=t.color,r=void 0===i?"primary":i,c=t.icon,s=t.className;return e.createElement(d,{"data-notification-type":n,"data-notification-size":o,"data-notification-color":r,"data-has-icon":!!c||void 0,notificationType:n,notificationSize:o,notificationColor:r,hasIcon:!!c,className:s},e.createElement("div",null,a&&e.createElement("span",null,a)," ",c&&e.createElement("div",null,c)))},qo=function(t){var a=t.style,n=t.children,l=t.className,o=t.size,i=void 0===o?"lg":o,r=t.type,c=void 0===r?"bold":r,s=t.upperCase,m=t.as,d=void 0===m?"h4":m,u=t.color;return e.createElement(p,{style:j({color:u},a),className:l,"data-size":i,"data-type":c,"data-uppercase":s,as:d},n)},Po=function(n){var l=n.className,o=n.value,i=n.options,r=n.onUploadSelected,c=n.id,s=n.placeholderIcon,m=n.placeholder,d=n.style,p=t(!1),y=p[0],f=p[1],C=function(){return f(!y)},k=a(i.map((function(t){return"upload"===t.type&&e.createElement("input",{id:"uploader-dropdown-input-"+c+"-"+t.value,key:"uploader-dropdown-input-"+c+"-"+t.value,accept:t.fileAcceptedType,multiple:t.multiple,type:"file",style:{display:"none"},onChange:function(e){console.log("change"),r(e.target.files)}})}))),b=e.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 12.17 14.83"},e.createElement("defs",null,e.createElement("clipPath",{id:"prefix__clip-path",transform:"translate(-1.92 -1.54)"},e.createElement("path",{fill:"none",d:"M0 .96h16v16H0z"})),e.createElement("style",null,".prefix__cls-3{fill:none;stroke:#595959;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px}")),e.createElement("title",null,"File"),e.createElement("g",{clipPath:"url(#prefix__clip-path)"},e.createElement("path",{className:"prefix__cls-3",d:"M8.67 2.29H4a1.33 1.33 0 00-1.33 1.33v10.67A1.33 1.33 0 004 15.62h8a1.33 1.33 0 001.33-1.33V7z",transform:"translate(-1.92 -1.54)"}),e.createElement("path",{className:"prefix__cls-3",d:"M8.67 2.29V7h4.66",transform:"translate(-1.92 -1.54)"}))),w=e.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 13.5 13.5"},e.createElement("defs",null,e.createElement("style",null,".prefix__cls-1{fill:none;stroke:#595959;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px}")),e.createElement("title",null,"download"),e.createElement("path",{className:"prefix__cls-1",d:"M14 11v2.66A1.33 1.33 0 0112.67 15H3.33A1.33 1.33 0 012 13.62V11M4.67 7.62L8 11l3.33-3.34M8 11V3",transform:"translate(-1.25 -2.21)"})),L=e.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 13.5 13.5"},e.createElement("defs",null,e.createElement("style",null,".prefix__cls-1{fill:none;stroke:#595959;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px}")),e.createElement("title",null,"upload"),e.createElement("path",{className:"prefix__cls-1",d:"M14 11v2.66A1.33 1.33 0 0112.67 15H3.33A1.33 1.33 0 012 13.62V11M11.33 6.29L8 3 4.67 6.29M8 3v8",transform:"translate(-1.25 -2.21)"}));return e.createElement(u,{className:l,"data-dropdown-open":!!y,id:c,"data-has-icons":!0,style:d,onBlur:function(){return f(!1)},tabIndex:0},e.createElement(g,{onClick:C},s||b," ",e.createElement("span",null,o&&o.value?o.label:m)),y&&e.createElement(v,{onClick:C,"data-has-icons":!0},i.map((function(t){return e.createElement(h,{key:"".concat(c,"-").concat(t.value),"data-selected":o&&o.value===t.value||void 0,onClick:function(){return"upload"===t.type?function(e){var t;null===(t=document.querySelector(e))||void 0===t||t.click()}("#uploader-dropdown-input-"+c+"-"+t.value):void((e=t.url)&&window.open(e,"_blank"));var e}},e.createElement(E,null,t.icon||"download"===t.type?w:L),t.label)}))),e.createElement(e.Fragment,null,k.current))},Oo=function(t){var a=t.className,n=t.columns,l=t.columnsDesktop,o=t.gridTemplateColumns,i=t.gridTemplateColumnsDesktop,r=t.gap,c=t.children,s=t.justifyChildren,m=t.style,d=t.alignItems;return e.createElement(y,{className:a,style:m,theme:{columns:n,columnsDesktop:l,gap:r,justifyChildren:s,gridTemplateColumns:o,gridTemplateColumnsDesktop:i,alignItems:d}},c)},Go=function(a){var n=a.pagesAmount,i=a.activePage,r=a.handlePageChange,c=a.handleClick,s=a.href,m=a.queryPageName,d=void 0===m?"page":m,p=Z([],Array(n),!0).map((function(e,t){return t+1})),u=t(i<=4?p.slice(0,5):i>=p.length-3?p.slice(p.length-5,p.length):p.slice(i-2,i+1)),g=u[0],v=u[1];return l((function(){i<=4?v(p.slice(0,5)):i>=p.length-3?v(p.slice(p.length-5,p.length)):v(p.slice(i-2,i+1))}),[i]),e.createElement(o,null,i>4&&e.createElement(o,null,e.createElement(k,{onClick:function(){return r(1)}},s?e.createElement("a",{href:s,onClick:c},1):1),e.createElement(k,null,"...")),g.map((function(t){return e.createElement(k,{key:"".concat("pagination","+").concat(t),"data-page-active":t===i||void 0,onClick:function(){return r(t)}},s?e.createElement("a",{href:Y(s,t,d),onClick:c},t):t)})),i<p.length-3&&e.createElement(o,null,e.createElement(k,null,"..."),e.createElement(k,{onClick:function(){return r(p.length)}},s?e.createElement("a",{href:Y(s,p.length,d),onClick:c},p.length):p.length)))},jo=function(a){var o=a.className,i=a.pagesAmount,r=a.currentPage,c=a.onChange,s=a.onClick,m=a.style,d=a.href,p=a.queryPageName,u=void 0===p?"page":p,g=Z([],Array(i),!0).map((function(e,t){return t+1})),v=t(r),h=v[0],E=v[1],y=n((function(){return d&&d.endsWith("&page=")?d.replace("&page=",""):d}),[d]),b=i-1,w=function(e){e<=i&&e>0&&(E(e),c(e))},L=function(e){s&&s(e)};return l((function(){E(r)}),[r]),e.createElement(f,{className:o,style:m},e.createElement(C,{className:"prev-page",onClick:function(){return w(h-1)},"data-last-page":1===h||void 0},y?e.createElement("a",{href:Y(y,h,u),onClick:L},e.createElement("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M5.5 9L1.5 5L5.5 1",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))):e.createElement("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M5.5 9L1.5 5L5.5 1",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))),g.length>8?e.createElement(Go,{pagesAmount:i,activePage:h,handlePageChange:w,handleClick:L,href:y,queryPageName:u}):g.map((function(t){return e.createElement(k,{key:"".concat("pagination","+").concat(t),"data-page-active":t===h||void 0,onClick:function(){return w(t)}},y?e.createElement("a",{href:Y(y,t,u),onClick:L},t):t)})),e.createElement(C,{className:"next-page",onClick:function(){return w(h+1)},"data-last-page":h===b+1||void 0},y?e.createElement("a",{href:Y(y,h,u),onClick:L},e.createElement("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M1.5 9L5.5 5L1.5 1",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))):e.createElement("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M1.5 9L5.5 5L1.5 1",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))))},Zo=function(t){var a=t.size,n=t.children,l=t.style,o=t.className;return e.createElement(b,{style:l,className:o,"data-shadow-size":a},n)};function zo(t){var a=t.rangeRef,n=t.values,l=t.index,o=$(a,n,l,1," - ",(function(e){return e})),i=o[0],r=o[1];return e.createElement(e.Fragment,null,e.createElement(N,{"data-label":l,style:r},i),e.createElement(x,{"data-label":l}))}var Qo=function(a){var n=a.step,o=a.min,i=a.max,r=a.value,c=a.onChange,m=a.className,d=a.heading,p=a.isMobile,u=void 0!==p&&p,g=["#DBDFE5","#2D87F3","#DBDFE5"],v=e.useRef(),h=t(r),E=h[0],y=h[1];l((function(){y(r)}),[r[0],r[1]]);return e.createElement(w,{className:m},e.createElement(X,{ref:v,values:E[0]>=o&&E[1]<=i?E:[o,i],onChange:y,onFinalChange:c,renderThumb:function(t){var a=t.props,n=t.index;return e.createElement(L,j({},a),e.createElement(zo,{rangeRef:v.current,values:E,index:n,isMobile:u}))},renderTrack:function(t){var a=t.props,n=t.children,l={background:J({values:E,colors:g,min:o,max:i})};return e.createElement(e.Fragment,null,d&&e.createElement(s,{size:"md",type:"bold"},d),e.createElement(A,{onMouseDown:a.onMouseDown,onTouchStart:a.onTouchStart,style:j({},a.style)},e.createElement(S,{ref:a.ref,style:l},n)))},step:n,min:o,max:i}))},_o=function(t){var a=t.type,n=t.children,l=t.style,o=t.isInline,i=t.isSquared,r=void 0!==i&&i,c=t.className,m=t.isLight,d=t.hasMorePadding,p=t.isLink,u=t.isSelected,g=t.textProps,v=void 0===g?{size:"sm"}:g,h=v.color?{"--text-props-color":v.color}:{};return e.createElement(T,{"data-is-squared":r||void 0,"data-tag-type":a,"data-is-light":m||void 0,"data-has-more-padding":d||void 0,"data-is-inline":o||void 0,style:j(j({},l),h),className:c,"data-is-selected":u||void 0,"data-is-link":p||void 0,tagType:a,isInline:o,tagHasMorePadding:d,tagIsLight:m,tagIsSquared:r,tagIsALink:p},e.createElement(s,j({},v),n))},Yo=function(t){var a=t.className,n=t.id,l=t.onChange,o=t.checked,i=t.style,r=t.label;return e.createElement(B,{className:a,style:i},e.createElement("input",{type:"checkbox",id:n,onChange:l,checked:o}),e.createElement("label",{htmlFor:n},e.createElement(F,null),r&&e.createElement(M,null,r)))},Ko=function(t){var a=t.size,n=t.isDisabled,l=t.className,o=t.link,i=t.style;return e.createElement(U,{className:l,"data-size":a,style:i,"data-disabled":n||void 0},o)},Xo=function(t){var a=t.type,n=t.withIcon,l=t.onFileSelected,o=t.inputId,i=t.withElement,r=t.fileAcceptType,c=t.multiple,s=t.value,m=t.className,d=function(){var e;null===(e=document.querySelector("#uploader-input-"+o))||void 0===e||e.click()};return e.createElement(W,{className:m},"badge"===a?e.createElement(D,{onClick:d,"data-is-attached-to-element":!!i},i,e.createElement(V,{"data-is-attached-to-element":!!i},n)):i?e.createElement("div",{onClick:d},i):e.createElement(ee,{size:"md",color:"secondary",className:"default-button",icon:n,onClick:d},e.createElement(R,null,e.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 13.5 13.5"},e.createElement("defs",null,e.createElement("style",null,".prefix__cls-1{fill:none;stroke:#000;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px}")),e.createElement("title",null,"upload"),e.createElement("path",{className:"prefix__cls-1",d:"M14 10v2.67A1.33 1.33 0 0112.67 14H3.33A1.33 1.33 0 012 12.67V10M11.33 5.33L8 2 4.67 5.33M8 2v8",transform:"translate(-1.25 -1.25)"})),"Upload Image")),e.createElement("input",{id:"uploader-input-"+o,accept:r,multiple:c,type:"file",style:{display:"none"},onChange:function(e){l(e.target.files)},value:s}))},Jo=function(t){var a=t.label,n=t.name,l=t.checked,o=t.className,i=t.isDisabled,r=t.onChange,c=t.value,s=t.isRectangle;return e.createElement(I,{className:o,"data-disabled":i||void 0,"data-is-rectangle":s||void 0,"data-label-text":a},e.createElement("input",{type:"checkbox",checked:l,name:n,onChange:function(){return r(c,!l)},disabled:i,value:c,id:"".concat(n,"-").concat(c),"data-label-text":a}),!s&&e.createElement("label",{htmlFor:"".concat(n,"-").concat(c)},a))},$o="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",ei="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",ti=function(t){return e.createElement("svg",j({},t,{viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"}),e.createElement("path",{d:"M16.0002 23.0266L22.8935 27.1866C23.4002 27.4933 24.0268 27.04 23.8935 26.4666L22.0668 18.6266L28.1468 13.36C28.5868 12.9733 28.3602 12.24 27.7602 12.1866L19.7468 11.5066L16.6135 4.11996C16.3868 3.57329 15.6135 3.57329 15.3868 4.11996L12.2535 11.5066L4.24016 12.1866C3.65349 12.24 3.41349 12.9733 3.86682 13.36L9.94682 18.6266L8.12016 26.4666C7.98682 27.04 8.61349 27.4933 9.12016 27.1866L16.0002 23.0266Z",fill:"#D2D6DC"}))},ai=function(t){return e.createElement("svg",j({},t,{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"}),e.createElement("path",{d:"M16.0002 23.0266L22.8935 27.1866C23.4002 27.4933 24.0268 27.04 23.8935 26.4666L22.0668 18.6266L28.1468 13.36C28.5868 12.9733 28.3602 12.24 27.7602 12.1866L19.7468 11.5066L16.6135 4.11996C16.3868 3.57329 15.6135 3.57329 15.3868 4.11996L12.2535 11.5066L4.24016 12.1866C3.65349 12.24 3.41349 12.9733 3.86682 13.36L9.94682 18.6266L8.12016 26.4666C7.98682 27.04 8.61349 27.4933 9.12016 27.1866L16.0002 23.0266Z",fill:"#FFC326"}))},ni=function(t){return e.createElement("svg",j({},t,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"}),e.createElement("path",{d:"M12.0001 17.2697L17.1701 20.3897C17.5501 20.6197 18.0201 20.2797 17.9201 19.8497L16.5501 13.9697L21.1101 10.0197C21.4401 9.72973 21.2701 9.17973 20.8201 9.13973L14.8101 8.62973L12.4601 3.08973C12.2901 2.67973 11.7101 2.67973 11.5401 3.08973L9.19006 8.62973L3.18006 9.13973C2.74006 9.17973 2.56006 9.72973 2.90006 10.0197L7.46006 13.9697L6.09006 19.8497C5.99006 20.2797 6.46006 20.6197 6.84006 20.3897L12.0001 17.2697Z",fill:"#E4E8EC"}),e.createElement("mask",{id:"mask0_3555_5815",maskUnits:"userSpaceOnUse",x:"2",y:"0",width:"10",height:"24"},e.createElement("rect",{x:"2",width:"10",height:"24",fill:"#C4C4C4"})),e.createElement("g",{mask:"url(#mask0_3555_5815)"},e.createElement("path",{d:"M11.9998 17.2697L17.1698 20.3897C17.5498 20.6197 18.0198 20.2797 17.9198 19.8497L16.5498 13.9697L21.1098 10.0197C21.4398 9.72973 21.2698 9.17973 20.8198 9.13973L14.8098 8.62973L12.4598 3.08973C12.2898 2.67973 11.7098 2.67973 11.5398 3.08973L9.18981 8.62973L3.17981 9.13973C2.73981 9.17973 2.55981 9.72973 2.89981 10.0197L7.45981 13.9697L6.08981 19.8497C5.98981 20.2797 6.45981 20.6197 6.83981 20.3897L11.9998 17.2697Z",fill:"#FFC326"})))},li="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",oi="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGYAAABnCAYAAADygzfHAAAACXBIWXMAACE4AAAhOAFFljFgAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAABu7SURBVHgB7V0JmFTVlf7ve1XV1St0N93sdouACMiiRF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5xyy4DrqV8ogjDXEOBx6j4onD+PF8owsSZncw5MYGlXWf2FthK6xQTy9GnK5CaU2beHAxbCynCMM95QKHFO/LztZWcgL4Of2gRIXhutAQhFuW7jTvEHW+zxRCjLIcrrIgd9ufJMQqvhHV02Qm15CAlHCXM/NS6/5plxCn/HU8UOl9U4HXPd647YbDdF1xqGMZNcbfq6K2F+fesXWnAmk3Uomeimp1MDu/z3D4TyeKwv33OxLFEXAhTRz2jNTqTnzGL24i5RHEtc1baCCQa52qfoJTRZRGN/DpVCp3mpvOq7UqjXC/iVvr20mgRcXXo6ziQdsQ5qeP8kwU04H9Z7DYW7194xSTS448gJr5Ir1hLC/M9cxLrSQHJnGNDHdWwPELm9fQHV1d3BPwz3AaqqgYWTyIE9PcHQmobeFY+QfoMWfrHECIRS/3slf5lpfh9+6Dvg6O19I4V0ZtOO7Ohlg4kOnM/zqbUOr/ANtZ50zeOcznzQ1LvWclilQeGmt2Weo2b2lrEXl3tIM6y63DEclcTCTLpSm9/ot80paFigmrjO0PvtEHtaW4PhetoamblzIlVH8y9aGTz5GGlE6Ul54q4QKVullwczyndEobB5wvOhrYWqpGDrAMR+yiNlJ8WeD2LUj3vVhn4fL5qGgtEIBZfOQJlAaSKTVryl16yhImzu3Tke62l2wPhWcT7swzTqKLSJyWx5McZPlKPV7shZGlR6Iuk+XIiSE13BMnBxxz+HzMU/YREgmfCAAAAAElFTkSuQmCC",ii=function(a){var n=a.gap,l=void 0===n?2:n,o=a.size,i=void 0===o?24:o,r=a.star,c=a.totalStars,s=void 0===c?5:c,m=a.onSelect,d=a.hideEmptyStars,p=a.style,u=a.className,g=Math.floor(r),v=r-g>=.5?1:0,h=t(null),E=h[0],y=h[1],f=E||g,C=E?0:v;return e.createElement(H,{"data-selectable":!!m,style:j({"--gap":l,"--star-size":i},p),className:u},Array.from({length:d?g+v:s}).map((function(t,a){var n=function(){return!!m&&y(a+1)},l=function(){return!!m&&y(null)};return a+1<=f?e.createElement(ai,{key:a,onClick:function(){return null==m?void 0:m(a+1)},onMouseOver:n,onMouseLeave:l}):a+1===f+C?e.createElement(ni,{key:a,onClick:function(){return null==m?void 0:m(a+1)},onMouseOver:n,onMouseLeave:l}):e.createElement(ti,{key:a,onClick:function(){return null==m?void 0:m(a+1)},onMouseOver:n,onMouseLeave:l})})))},ri=function(t){var a=t.percent,n=t.style;return e.createElement(q,{style:j({"--progress":a},n)})},ci=function(t){var a=t.avatarImg,n=t.authorName,l=t.authorLink,o=t.uploadTime,i=t.size;return e.createElement(re,null,e.createElement("div",{className:"author"},e.createElement("div",{className:"avatar","data-size":i},a),e.createElement("div",{className:"poster","data-is-disabled-url":!l},e.createElement(s,{size:"lg"===i?"p3":"p4"},e.createElement("a",{href:l},e.createElement("span",{className:"name"},n),"•"," "),e.createElement("span",null,o)))))},si=function(t){var a=t.isMobile,n=t.avatarImg,l=t.name,o=t.link,i=t.size,r=void 0===i?"lg":i,c=t.specialty;return t.handleClick,t.isBookmarked,t.dataEventCategoryForBookmark,t.dataEventActionForBookmark,t.dataEventLabelForBookmark,e.createElement(re,null,e.createElement("div",{className:"author"},e.createElement("div",{className:"expert-avatar","data-size":r},n),e.createElement("div",{className:"expert","data-is-disabled-url":!o},a?e.createElement("a",{href:o},"lg"===r?e.createElement(e.Fragment,null,e.createElement(te,{tag:"h6",className:"expert__name",color:ae.colors.gray600},l),e.createElement(s,{color:ae.colors.gray500,size:"p3",className:"specialty"},c)):e.createElement(e.Fragment,null,e.createElement(te,{tag:"h6",className:"expert__name",color:ae.colors.gray600},l))):e.createElement("a",{href:o},"lg"===r?e.createElement(e.Fragment,null,e.createElement(te,{tag:"h6",className:"expert__name",color:ae.colors.gray600},l),e.createElement(s,{color:ae.colors.gray500,size:"p3",className:"specialty"},c)):e.createElement(e.Fragment,null,e.createElement(ce,{color:ae.colors.gray600,className:"expert__name"},l),e.createElement(s,{color:ae.colors.gray500,size:"p4",className:"specialty"},c))))))},mi=function(t){var a=t.articleLink,n=t.authorLink,l=t.authorName,o=t.avatarImg,i=t.banner,r=t.categoryLink,c=t.categoryName,m=t.className,d=t.dataEventActionForBanner,p=t.dataEventActionForBookmark,u=t.dataEventActionForCategory,g=t.dataEventActionForTitle,v=t.dataEventCategoryForBanner,h=t.dataEventCategoryForBookmark,E=t.dataEventCategoryForCategory,y=t.dataEventCategoryForTitle,f=t.dataEventLabelForBanner,C=t.dataEventLabelForBookmark,k=t.dataEventLabelForCategory,b=t.dataEventLabelForTitle,w=t.direction,L=void 0===w?"horizontal":w,A=t.hasAffiliate,S=t.isBookmark,N=void 0!==S&&S,x=t.isBookmarkDisplayed,T=void 0===x||x,B=t.isMobile,F=void 0===B||B,M=t.onBookmark,U=t.onClickCategoryName,W=t.section,D=void 0===W?"normal":W,V=t.size,R=void 0===V?"md":V,I=t.specialty,H=t.style,q=t.styleBanner,P=t.styleLabel,O=t.styleTitle,G=t.text,j=t.title,Z=t.type,z=void 0===Z?"author":Z,Q=t.uploadTime,_=t.articleLinkTarget,Y=function(e){e.stopPropagation(),M&&M()},K="lg"===R&&"expert"===z?"h4":"lg"===R&&"home"===D?F?"h4":"h3":"lg"===R?"h4":"h5",X="lg"===R?"p3":"p4",J=F||"home"!==D||"lg"!==R||"author"!==z?"c2":"c1";return e.createElement(oe,{className:m,"data-size":R,style:H,"data-direction":L,"data-is-expert":"expert"===z||void 0},e.createElement("div",{className:"banner",style:q},e.createElement(ie,{"data-event-category":v,"data-event-action":d,"data-event-label":f,href:a||"#",target:_},i),A&&e.createElement("div",{className:"shoppable"},e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("rect",{width:"24",height:"24",rx:"12",fill:"#1B3250"}),e.createElement("path",{d:"M16.6667 8.00033H15.3333C15.3333 6.16033 13.84 4.66699 12 4.66699C10.16 4.66699 8.66667 6.16033 8.66667 8.00033H7.33333C6.6 8.00033 6 8.60033 6 9.33366V17.3337C6 18.067 6.6 18.667 7.33333 18.667H16.6667C17.4 18.667 18 18.067 18 17.3337V9.33366C18 8.60033 17.4 8.00033 16.6667 8.00033ZM12 6.00033C13.1067 6.00033 14 6.89366 14 8.00033H10C10 6.89366 10.8933 6.00033 12 6.00033ZM12 12.667C10.4467 12.667 9.14 11.607 8.77333 10.167C8.66 9.74699 8.98667 9.33366 9.42 9.33366C9.73333 9.33366 9.98667 9.56033 10.0733 9.86699C10.3067 10.7137 11.08 11.3337 12 11.3337C12.92 11.3337 13.6933 10.7137 13.9267 9.86699C14.0133 9.56033 14.2667 9.33366 14.58 9.33366C15.0133 9.33366 15.3333 9.74699 15.2267 10.167C14.86 11.607 13.5533 12.667 12 12.667Z",fill:"white"})))),e.createElement("div",{className:"content"},e.createElement("div",{className:"inner-content"},e.createElement(s,{style:P,className:"label",size:J,type:"caption"},e.createElement(ie,{"data-event-category":E,"data-event-action":u,"data-event-label":k,href:r||"#",onClick:U},c),T&&e.createElement("a",{className:"bookmark",onClick:Y},N?e.createElement("svg",{"data-event-category":h,"data-event-action":p,"data-event-label":C,width:"14",height:"16",viewBox:"0 0 14 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M13 15L7 11.1111L1 15V2.55556C1 2.143 1.18061 1.74733 1.5021 1.45561C1.82359 1.16389 2.25963 1 2.71429 1H11.2857C11.7404 1 12.1764 1.16389 12.4979 1.45561C12.8194 1.74733 13 2.143 13 2.55556V15Z",fill:"#2ED69E",stroke:"#2ED69E",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})):e.createElement("svg",{"data-event-category":h,"data-event-action":p,"data-event-label":C,width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M12.75 2.25H5.25C4.425 2.25 3.75 2.925 3.75 3.75V15.75L9 13.5L14.25 15.75V3.75C14.25 2.925 13.575 2.25 12.75 2.25Z",fill:"#D2D6DC"})))),e.createElement(te,{tag:K,style:O,className:"title",as:"lg"===R?"h2":"h3"},e.createElement(ie,{"data-event-category":y,"data-event-action":g,"data-event-label":b,href:a||"#",target:_},j)),G&&e.createElement("a",{href:a||"#",target:_},e.createElement(s,{size:X,className:"text"},G))),e.createElement("div",{className:"footer"},"author"===z?e.createElement(ci,{size:R,avatarImg:o,authorName:l,authorLink:n,uploadTime:Q,handleClick:Y,isBookmarked:N,dataEventCategoryForBookmark:h,dataEventActionForBookmark:p,dataEventLabelForBookmark:C}):e.createElement(si,{size:R,isMobile:F,avatarImg:o,specialty:I,name:l,link:n,handleClick:Y,isBookmarked:N,dataEventCategoryForBookmark:h,dataEventActionForBookmark:p,dataEventLabelForBookmark:C}))))},di=function(t){var a=t.LinkComponent,n=t.page,l=t.isLast,o=t.onChangePage,i=n.label,r=n.value,c=n.isDropdown,s=n.dropdownItems,m=n.dataEventCategory,d=n.dataEventAction,p=n.dataEventLabel;return c?e.createElement(ea,{options:s,placeholder:"...",id:"",placeholderIcon:null,onChange:o,className:"collapsed-breadcrumb"}):e.createElement(de,{title:"string"!=typeof i?r:i,"data-last":l},a&&e.createElement(a,{"data-event-category":m,"data-event-action":d,"data-event-label":p,href:r||"#"},i))},pi=function(t){var a=t.className,l=t.pages,i=t.size,r=t.LinkComponent,c=void 0===r?"a":r,s=t.onChangePage,m=t.separator,d=n((function(){return l.map((function(e,t){return l.length>4?t>1&&t<l.length-2?null:1===t?j(j({},e),{isDropdown:1===t,dropdownItems:l.slice(1,l.length-2)}):e:e})).filter(Boolean)}),[l]),p=$t(d.length);return e.createElement(se,{"data-size":i,className:a},d.map((function(t,a){var n=a+1===d.length;return e.createElement(o,{key:p[a]},e.createElement(di,{LinkComponent:c,page:t,isLast:n,onChangePage:s}),!n&&(m||e.createElement(me,{"data-size":i})))})))},ui=function(t){var a=t.imgBanner,n=t.label,l=t.className,o=t.style,i=t.href,r=void 0===i?"":i,c=t.dataEventCategory,m=t.dataEventAction,d=t.dataEventLabel;return e.createElement(pe,{"data-event-category":c,"data-event-action":m,"data-event-label":d,className:l,style:o,href:r,onClick:function(e){""===r&&e.preventDefault()}},e.createElement("div",{className:"banner"},a),e.createElement("div",{className:"content"},e.createElement(s,{className:"category_name",size:"sm",type:"bold"},n)))},gi=function(t){var a=t.name,n=t.values,l=void 0===n?[]:n,o=t.onChanges,i=t.options,r=void 0===i?[]:i,c=t.className,s=t.type,m=void 0===s?"vertical":s,d=t.isDisabled,p=t.isRectangle,u=function(e,t){var a=l.slice();if(t)a.push(e);else{var n=a.findIndex((function(t){return t===e}));a.splice(n,1)}o&&o(a)};return e.createElement(ue,{className:c,"data-type":m,"data-is-rectangle":p||void 0},r.map((function(t,n){return e.createElement(Jo,{label:t.label,name:a,key:"".concat(n,"-").concat(t.value),checked:l.includes(t.value),value:t.value,isDisabled:d||t.disabled,onChange:!d&&u,isRectangle:p})})))},vi={"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":["जनवरी","फ़रवरी","जुलूस","अप्रैल","मई","जून","जुलाई","अगस्त","सितंबर","अक्टूबर","नवंबर","दिसंबर"]},hi=function(n){var o=n.alignRight,i=void 0===o||o,r=n.placeholder,c=n.displayDateFormat,s=n.onChange,m=n.customInput,d=n.pickedDate,p=n.className,u=n.isStatic,g=n.disabledDays,v=n.modifiers,h=n.UnHideOnClickOutside,E=n.initialMonth,y=n.locale,f=void 0===y?"en-PH":y,C=a(!1),k=Xl,b=t(E||new Date),w=b[0],L=b[1],A=a(null),S=a(null),N=vi[f],x=function(e){h||A.current&&A.current.contains(e.target)||S.current&&S.current.hideDayPicker()},T=(new Date).getFullYear(),B=new Date(T-150,0),F=new Date(T+1,0),M=function(t){for(var a=t.date,n=t.onChange,l=t.monthLabels,o=[],i=F.getFullYear();i>=B.getFullYear();i-=1)o.push(i);var r=function(e){var t=e.target.form,a=t.year,l=t.month;n(new Date(a.value,l.value))};return e.createElement("div",{className:"DayPicker-Caption"},e.createElement(ve,null,e.createElement("select",{name:"month",onChange:r,value:a.getMonth()},l.map((function(t,a){return e.createElement("option",{key:t,value:a},t)}))),e.createElement("select",{name:"year",onChange:r,value:a.getFullYear()},o.map((function(t){return e.createElement("option",{key:t,value:t},t)})))))};return l((function(){return document.addEventListener("mousedown",x,!1),function(){document.removeEventListener("mousedown",x,!1)}}),[]),e.createElement(ge,{className:p,"data-align-right":i,ref:A,"data-is-static":u||void 0},e.createElement(co,{ref:S,inputProps:{readOnly:!0},keepFocus:!1,classNames:{container:"pickerContainer",overlayWrapper:"pickerOverlayWrapper",overlay:"pickerOverlay"},component:m&&e.forwardRef((function(t,a){return e.createElement(m,j({},t))})),onDayPickerHide:function(){C.current=!1},onDayPickerShow:function(){C.current=!0},dayPickerProps:{month:w,className:"picker",selectedDays:d,canChangeMonth:!0,enableOutsideDaysClick:!u,firstDayOfWeek:1,captionElement:function(t){var a=t.date,n=t.localeUtils,l=null==n?void 0:n.getMonths();return e.createElement(M,{date:a,monthLabels:N||l,onChange:L})},disabledDays:g||void 0,modifiers:v},format:c||"yyyy-MM-dd",formatDate:function(e,t){return k(e,t)},hideOnDayClick:!u,placeholder:r||"",onDayChange:function(e){var t;t=e,S.current&&!u&&S.current.hideDayPicker(),s&&s(t)},showOverlay:u}))},Ei=function(t){var a=t.size,n=t.iconPosition,l=t.className,o=t.children,i=t.icon;return e.createElement(he,{className:l,"data-size":a,"data-icon-position":n},"left"===n&&i,o,"right"===n&&i)},yi=function(a){var n=a.type,o=a.numberOfStep,r=a.activeStep,c=a.labelPrefix,s=a.detailSteps,m=a.className,d=a.onChange,p=t(0),u=p[0],g=p[1],v=function(t){var a=t.trackClassName,n=z(t,["trackClassName"]);return e.createElement(Ce,j({},n,{className:a}),e.createElement(ke,null))},h=e.createElement(Ee,{className:m+" progress-bar"},e.createElement(v,null),e.createElement((function(t){var a=t.trackLength,n=t.activeStep,l=t.labelPrefix,i=void 0===l?"Step":l,r=t.onChange;return e.createElement(e.Fragment,null,Array.from({length:o},(function(e,t){return t})).map((function(t,l){return e.createElement(be,{"data-is-active":l===n,"data-label":l,style:{left:l*a/(o-1)},onClick:function(){r&&r(l)},key:l},l+1,e.createElement(we,{"data-step-passed":l<=n},i+" "+(l+1)))})))}),{trackLength:u,activeStep:r,labelPrefix:c,onChange:d})),E=e.createElement("svg",{"data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 5.5 9.5"},e.createElement("title",null,"chevron-right"),e.createElement("path",{d:"M.75 8.75l4-4-4-4",fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5})),y=e.createElement(ye,null,s&&Array.from({length:s.length},(function(e,t){return t})).map((function(t,a){var n;return e.createElement(fe,{key:a,"data-selected":a===r,onClick:function(){d&&d(a)}},null===(n=s[a])||void 0===n?void 0:n.text," ",a<s.length-1&&E)}))),f=e.createElement(Ee,{className:m+" progress-bar"},e.createElement((function(t){var a=t.detailSteps,n=t.activeStep,l=t.onChange,o=$t(a.length);return e.createElement(e.Fragment,null,Array.from({length:a.length},(function(e,t){return t})).map((function(t,i){return e.createElement(Le,{key:o[i],style:{left:100/a.length*i+"%",width:100/a.length+"%"},onClick:function(){l&&l(i)}},a[i].icon?e.createElement(Ae,{onClick:function(){l&&l(i)}},a[i].icon):e.createElement(Se,{"data-is-active":i===n,"data-label":t,onClick:function(){l&&l(i)},key:i},i+1),e.createElement(Ne,{"data-step-passed":i<n+1},a[i].text,e.createElement(xe,null,a[i].description)),i<a.length-1&&e.createElement(v,{"data-step-passed":i<n,trackClassName:"progress-track","data-track-type":"detail"}))})))}),{activeStep:r,detailSteps:s,onChange:d})),C=i(so((function(){var e=document.querySelector(".progress-bar");e&&g(e.offsetWidth)}),1e3),[]);return l((function(){var e=document.querySelector(".progress-bar");return g(null==e?void 0:e.offsetWidth),window.addEventListener("resize",C),function(){window.removeEventListener("resize",C)}}),[]),"step-track"===n&&h||"breadcrumb"===n&&y||"detail-track"===n&&f},fi=Object.freeze({__proto__:null,SideMenu:Te,SideHeader:Be,UserInfo:Fe,MenuLink:Me}),Ci=function(t){var a=t.isDisabled,n=t.isLeft,l=t.onClick,o=t.className,i=t.scheme,r=void 0===i?"hellosites":i;return e.createElement(De,{onClick:l,"data-is-disabled":a,"data-is-left":n,className:o},e.createElement("svg",{width:"8",height:"12",viewBox:"0 0 8 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n?e.createElement("path",{d:"M2.92902 6.00015L6.75002 2.17915C7.16402 1.76515 7.16402 1.09315 6.75002 0.679152C6.33602 0.265152 5.66402 0.265152 5.25002 0.679152L0.636023 5.29315C0.245023 5.68415 0.245023 6.31715 0.636023 6.70715L5.25002 11.3212C5.66402 11.7352 6.33602 11.7352 6.75002 11.3212C7.16402 10.9072 7.16402 10.2352 6.75002 9.82115L2.92902 6.00015Z",fill:"hellosites"===r?"#595959":"#E55C8A"}):e.createElement("path",{d:"M5.07095 6.00015L1.24995 2.17915C0.835953 1.76515 0.835953 1.09315 1.24995 0.679152C1.66395 0.265152 2.33595 0.265152 2.74995 0.679152L7.36395 5.29315C7.75495 5.68415 7.75495 6.31715 7.36395 6.70715L2.74995 11.3212C2.33595 11.7352 1.66395 11.7352 1.24995 11.3212C0.835953 10.9072 0.835953 10.2352 1.24995 9.82115L5.07095 6.00015Z",fill:"hellosites"===r?"#595959":"#E55C8A"})))},ki=function(a){for(var n=a.row,l=a.column,o=a.children,i=a.scheme,r=void 0===i?"hellosites":i,c=a.classNameLeftArrow,s=void 0===c?"":c,m=a.classNameRightArrow,d=void 0===m?"":m,p=a.mode,u=void 0===p?"snap":p,g=a.isDotsShown,v=void 0===g||g,h=a.isArrowShown,E=void 0!==h&&h,y=a.dataEventCategory,f=a.dataEventAction,C=a.dataEventLabel,k=a.onChangePage,b=e.useState(0),w=b[0],L=b[1],A=t(!1),S=A[0],N=A[1],x=po({defaultAnimation:{duration:1e3},initial:0,slideChanged:function(e){L(e.track.details.rel),k&&k(e.track.details.rel)},created:function(){N(!0)},drag:!0,mode:u,slides:{spacing:12}}),T=x[0],B=x[1],F=[],M=n*l,U=0;U<o.length;U+=M){var W=o.slice(U,U+M);F.push(W)}return e.createElement(Ue,{row:n,column:l},e.createElement("div",{className:"navigation-wrapper"},e.createElement("div",{ref:T,className:"keen-slider slides-wrapper"},F.map((function(t,a){return e.createElement("div",{key:a,className:"keen-slider__slide page-items"},t.map((function(t,a){return e.createElement("div",{key:a},t)})))}))),S&&B.current&&E&&e.createElement(e.Fragment,null,e.createElement(Ci,{isLeft:!0,onClick:function(e){var t;return e.stopPropagation()||(null===(t=B.current)||void 0===t?void 0:t.prev())},isDisabled:0===w,scheme:r,className:"left-arrow ".concat(s),"data-event-category":y,"data-event-action":f,"data-event-label":C}),e.createElement(Ci,{isLeft:!1,onClick:function(e){var t;return e.stopPropagation()||(null===(t=B.current)||void 0===t?void 0:t.next())},isDisabled:w===B.current.track.details.slides.length-1,scheme:r,className:"right-arrow ".concat(d),"data-event-category":y,"data-event-action":f,"data-event-label":C}))),S&&B.current&&v&&e.createElement("div",{className:"dots"},Z([],Array(B.current.track.details.slides.length),!0).map((function(t,a){return e.createElement(We,{key:a,onClick:function(){var e;null===(e=B.current)||void 0===e||e.moveToIdx(a)},"data-is-active":w===a,"data-is-hellosites":"hellosites"===r})}))))},bi=function(t){var a=t.type,n=t.description,l=t.value,o=t.withIcon,i=t.isInACard,r=t.cardColor,c=t.className;return e.createElement(Ve,{className:c,"data-size":a,"data-is-in-card":"big"===a&&i,"data-card-color":r},e.createElement(Re,null,"small"===a&&e.createElement(Ie,{"data-color":r}),n),e.createElement(He,{"data-size":a},"small"!==a&&o,l))},wi=Object.freeze({__proto__:null,Table:qe,Cell:Pe,Head:Oe,Row:Ge,Body:je}),Li=function(a){var n=a.style,o=a.initialTab,i=a.tabContent,r=a.onChange,c=a.className,m=a.dataEventCategory,d=a.dataEventAction,p=a.dataEventLabel,u=a.id,g=t(o||0),v=g[0],h=g[1],E=$t(i.length);return l((function(){h(o)}),[o]),e.createElement(Ze,{style:n,className:c,role:"tablist",id:u},i.map((function(t,a){return e.createElement(ze,{"data-is-tab-active":v===a||void 0,"aria-selected":v===a,role:"tab",onClick:function(){h(a),r&&r(a)},onKeyDown:function(e){"Enter"===e.key&&(h(a),r&&r(a))},key:E[a],"data-event-category":m,"data-event-action":d,"data-event-label":p,tabIndex:0},e.createElement(Qe,null,t.icon&&e.createElement(_e,null,t.icon),e.createElement(s,{size:t.textSize||"sm",type:t.textType||"bold",color:t.textColor||ae.colors.gray800,dataEventCategory:t.dataEventCategory,dataEventAction:t.dataEventAction,dataEventLabel:t.dataEventLabel},t.name)))})))},Ai=function(t){var a=t.thankyou,n=t.thankyouSubtitle,l=t.className,o=t.style;return e.createElement(Ye,{className:l,style:o},e.createElement("div",{className:"survey-inner-wrapper"},e.createElement(Ke,null,e.createElement("div",{className:"survey-thankyou-wrapper-inner"},e.createElement("svg",{viewBox:"0 0 122 122",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"survey-thankyou-icon"},e.createElement("path",{d:"M61.5 122C94.6371 122 121.5 95.1371 121.5 62C121.5 28.8629 94.6371 2 61.5 2C28.3629 2 1.5 28.8629 1.5 62C1.5 95.1371 28.3629 122 61.5 122Z",fill:"#E3F2FF"}),e.createElement("ellipse",{cx:"61.5",cy:"110.36",rx:"48",ry:"3.36",fill:"#91CAFF"}),e.createElement("path",{d:"M82.9048 72.6663H101.5L87.597 40H35.403L21.5 72.6663H40.0952V91H83.0786L82.9048 72.6663Z",fill:"#2C74DF"}),e.createElement("path",{d:"M74.4004 15.0005H39.863C36.9017 15.0005 34.5 17.4022 34.5 20.3635V72.5769C34.5 75.5383 36.9017 77.9399 39.863 77.9399H83.1357C86.097 77.9399 88.4987 75.5383 88.4987 72.5769V29.0988L88.4987 21.0005C88.4987 17.6868 85.8124 15.0005 82.4987 15.0005H74.4004Z",fill:"white"}),e.createElement("path",{d:"M88.8529 80.1077H34.1469C31.8699 80.1077 30.06 78.3036 30.06 76.0338V65.3837C30.06 63.1139 31.8699 61.3098 34.1469 61.3098H88.8529C91.1299 61.3098 92.9398 63.1139 92.9398 65.3837V76.0338C92.9398 78.3036 91.1299 80.1077 88.8529 80.1077Z",fill:"#E4E8EC"}),e.createElement("path",{d:"M90.838 85.4512H32.1618C29.8849 85.4512 28.075 83.6471 28.075 81.3774V70.7272C28.075 68.4575 29.8849 66.6533 32.1618 66.6533H90.7796C93.0566 66.6533 94.8665 68.4575 94.8665 70.7272V81.3774C94.9249 83.6471 93.0566 85.4512 90.838 85.4512Z",fill:"white"}),e.createElement("path",{d:"M103.748 75.4919V105.755C103.748 107.675 102.172 109.247 100.245 109.247H23.0031C21.0764 109.247 19.5 107.675 19.5 105.755V75.4919C19.5 73.5713 21.0764 72 23.0031 72H42.3866C44.3133 72 45.8897 73.5713 45.8897 75.4919V80.8461C45.8897 81.1952 46.1232 81.428 46.4735 81.428H76.7749C77.1253 81.428 77.3588 81.1952 77.3588 80.8461V75.4919C77.3588 73.5713 78.9352 72 80.8618 72H100.245C102.172 72 103.748 73.5713 103.748 75.4919Z",fill:"#45A4FF"}),e.createElement("path",{d:"M51.9541 91.3767V94.4612C51.9541 96.0907 53.2386 97.3711 54.8733 97.3711H67.7179C69.3526 97.3711 70.6371 96.0907 70.6371 94.4612V91.3767",stroke:"#2C74DF",strokeWidth:"3",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M120.5 38.0251C118.5 37.7793 117.25 39.3768 118.125 41.22L118.375 41.9573C119.125 43.8006 118 45.398 116 45.1523L115.25 45.0294C113.25 44.7836 112 46.3811 112.875 48.2244L113.25 48.9616C114 50.8049 112.875 52.4025 110.875 52.1567L110.125 52.0337C108.625 51.9109 107.5 52.7712 107.5 54",stroke:"#FE921D",strokeWidth:"1.9096",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M1.53299 62C1.2644 63.413 2.6745 64.337 4.35323 63.8478L5.02472 63.6304C6.70346 63.087 8.11356 64.0109 7.84496 65.4783L7.7107 66.0217C7.4421 67.4348 8.8522 68.3587 10.5309 67.8696L11.2024 67.6522C12.8812 67.1087 14.2913 68.0326 14.0227 69.5L13.8884 70.0435C13.687 71.1304 14.4256 71.8913 15.5 72",stroke:"#00B16A",strokeWidth:"2.8751",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M118 92C119.381 92 120.5 90.8807 120.5 89.5C120.5 88.1193 119.381 87 118 87C116.619 87 115.5 88.1193 115.5 89.5C115.5 90.8807 116.619 92 118 92Z",stroke:"#00B16A",strokeWidth:"2.8751",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M82.0001 3.18747L83.1875 7.53467L87.5347 6.34727L86.3473 2.00007L82.0001 3.18747Z",stroke:"#00B16A",strokeWidth:"2.1628",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M17.0001 28C18.1046 28 19 27.1045 19 25.9999C19 24.8954 18.1046 24 17.0001 24C15.8955 24 15 24.8954 15 25.9999C15 27.1045 15.8955 28 17.0001 28Z",stroke:"#FE921D",strokeWidth:"2.3278",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M61.5 26.6667C54.136 26.6667 48.1667 32.6361 48.1667 40.0001C48.1667 47.3641 54.136 53.3334 61.5 53.3334C68.864 53.3334 74.8334 47.3641 74.8334 40.0001C74.8334 32.6361 68.864 26.6667 61.5 26.6667ZM69.1094 36.9427L59.776 46.2761C59.516 46.5361 59.1747 46.6667 58.8334 46.6667C58.492 46.6667 58.1507 46.5361 57.8907 46.2761L53.8907 42.2761C53.3694 41.7547 53.3694 40.9121 53.8907 40.3907C54.412 39.8694 55.2547 39.8694 55.776 40.3907L58.8334 43.4481L67.224 35.0574C67.7454 34.5361 68.588 34.5361 69.1094 35.0574C69.6307 35.5787 69.6307 36.4214 69.1094 36.9427Z",fill:"#00CB8A"})),a&&e.createElement(te,{className:"survey-thankyou-title",tag:"h3"},a),n&&e.createElement(s,{className:"survey-thankyou-subtitle",size:"p3"},n)))))},Si=function(a){var n=a.items,o=a.className,i=a.style,r=a.backgroundPanelStyle,c=a.isOpen,s=a.onOpen,m=a.onClose,d=a.disableBackdropClick,p=a.siteType,u=void 0===p?"hb":p,g=a.animationType,v=void 0===g?"zoom":g,h=a.zIndex,E=void 0===h?300:h,y=t(!!c),f=y[0],C=y[1];l((function(){C(!!c)}),[c]);var k=function(){C(!1),m&&m()};return e.createElement(Xe,{style:i,className:o,"data-floatmenu-open":f,"data-site-type":u,"data-animation-type":v},e.createElement(Je,{className:"float-button-group__panel",style:j({zIndex:E},r),onClick:d?void 0:k}),e.createElement($e,{className:"float-button-group___content",style:{zIndex:E}},e.createElement(et,null,n.map((function(t,a){return e.createElement(tt,{className:"float-item-button-".concat(a),style:j(j({},"zoom"===v&&{bottom:64*(n.length-1-a),transitionDelay:"".concat(at/n.length*(f?n.length-1-a:a),"ms")}),"slide"===v&&{bottom:64*(n.length-1-a),transitionDelay:"".concat(at/n.length*(f?a:n.length-1-a),"ms")}),key:a,onClick:function(){t.onClick(),t.keepMenuOnClick||C(!1)}},e.createElement(nt,{style:j({},"zoom"===v&&{transitionDelay:"".concat(at/n.length*(f?n.length-1-a:a),"ms")})},t.label),e.createElement(lt,{className:"float-item-button__icon-wrapper",style:j({},("zoom"===v||"slide"===v)&&{transitionDelay:"".concat(at/n.length*(f?n.length-1-a:a),"ms")})},t.icon))}))),e.createElement(ot,{onClick:f?k:function(){C(!0),s&&s()}})))},Ni=function(t){var a=t.className,n=t.policiesUrl,l=t.onAcceptClick,o=t.translations,i=void 0===o?{acceptButton:"Accept",policiesButton:"Our Policies"}:o,r=t.title,c=void 0===r?"":r,s=t.description,m=void 0===s?"":s,d=t.theme,p=void 0===d?"helloSites":d,u=t.isOpen,g=void 0===u||u,v=t.useDefaultPosition,h=void 0===v||v,E=t.trackingAttributes;return e.createElement(it,{className:a,"data-theme":p,"data-is-open":g,"data-default-position":h},e.createElement(rt,{"data-has-content":!!c},c),e.createElement(ct,{dangerouslySetInnerHTML:{__html:m}}),e.createElement(st,null,e.createElement(mt,{role:"button",tabIndex:0,on:"tap:consent-element.accept",onClick:l,"data-event-category":null==E?void 0:E.dataEventCategory,"data-event-action":null==E?void 0:E.dataEventAction,"data-event-label":null==E?void 0:E.dataEventLabel},i.acceptButton),e.createElement(dt,{href:n},i.policiesButton)))},xi=function(t){var a,n,l,o,i,r,c,s,m,d,p,u,g,v,h,E,y,f,C,k=t.SEOData,b=void 0===k?{}:k,w=t.isAmp,L=void 0!==w&&w,A=t.locale,S=void 0===A?"vi-VN":A,N=t.routerPathname,x=t.routerQuery,T=t.nextHead,B=t.siteType,F=t.seoCustom,M=t.userId,U=t.forcedCanonicalUrl,W=b.totalPages,D=b.currentPage,V=b.SEOTitle,R=void 0===V?"":V,I=b.SEODescription,H=void 0===I?"":I,q=b.SEOImage,P=b.seoType,O=b.SEOImageWidth,G=b.SEOImageHeight,z=b.customMetaData,Q=void 0===z?[]:z,_=b.isIndexable,Y=void 0===_||_,K=b.hasNoCanonical,X=void 0!==K&&K,J=Y&&ne?"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1":"noindex",$=process.env.NEXT_PUBLIC_BASE_API_URL,ee=b.canonicalUrl||N;Object.keys(x).forEach((function(e){var t=x[e];t&&Array.isArray(t)&&(ee=ee.replace("[...".concat(e,"]"),t.join("/")))}));var te,ae=S||"en-PH",le="helloSites"===B?vo[ae]:"www.marrybaby.vn",oe=ee.endsWith("/")?"":"/";if(b.apiMetaData&&"string"==typeof b.apiMetaData){var ie=null===(a=b.apiMetaData)||void 0===a?void 0:a.match(/<title.*?>(.*)<\/title>/),re=" - Page ".concat(D," of ").concat(W),ce=D&&1!==D&&ie?b.apiMetaData.replace(ie[0],ie[0].includes("-")?ie[0].replace("-",re+" - "):"<title>".concat(ie[1].concat(re),"</title>")).replace('<link rel="canonical" href="https://'.concat(le).concat(ee).concat(oe,'" />'),'<link rel="canonical" href="https://'.concat(le).concat(ee).concat(oe,"?page=").concat(D,'" />')):b.apiMetaData,se=(te=pt(ce,{trim:!0})).find((function(e){var t,a;return"og:image"===(null===(t=e.props)||void 0===t?void 0:t.property)||"og:image:secure_url"===(null===(a=e.props)||void 0===a?void 0:a.property)}));if(!se){var me="https://".concat(le,"/images/").concat(S,".png");te=Z(Z([],te,!0),[e.createElement("meta",{key:"og:image",property:"og:image",content:(null===(n=b.openGraph)||void 0===n?void 0:n.image)||me||""}),e.createElement("meta",{key:"og:image:secure_url",property:"og:image:secure_url",content:(null===(l=b.openGraph)||void 0===l?void 0:l.image)||me}),e.createElement("meta",{key:"og:image:width",property:"og:image:width",content:(null===(o=b.openGraph)||void 0===o?void 0:o.imageWidth)&&String(null===(i=b.openGraph)||void 0===i?void 0:i.imageWidth)||"1200"}),e.createElement("meta",{key:"og:image:height",property:"og:image:height",content:(null===(r=b.openGraph)||void 0===r?void 0:r.imageHeight)&&String(null===(c=b.openGraph)||void 0===c?void 0:c.imageHeight)||"630"})],!1)}}var de="https://".concat(le,"/images/").concat(S,".png");return e.createElement(T,null,e.createElement("link",{rel:"preconnect",href:"https://fonts.gstatic.com"}),"marryBaby"===B&&e.createElement("link",{href:"https://fonts.googleapis.com/css2?family=Inter&family=Krub:wght@600&display=swap",rel:"stylesheet"}),"km-KH"===S?e.createElement("link",{href:"https://fonts.googleapis.com/css2?family=Battambang:wght@400;700&display=swap",rel:"stylesheet"}):"id-ID"===S||"ms-MY"===S?e.createElement(e.Fragment,null):e.createElement("link",{href:"https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;0,800;1,300;1,400;1,600;1,700;1,800&display=swap",rel:"preload",as:"style"}),e.createElement("link",{rel:"preconnect",href:$}),e.createElement("meta",{charSet:"UTF-8"}),!L&&e.createElement("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover"}),e.createElement("meta",{name:"google",content:"notranslate"}),e.createElement("meta",{name:"robots",content:J}),e.createElement("meta",{property:"fb:app_id",content:"653713035016537"}),Q.map((function(t,a){return e.createElement("meta",j({key:a},t))})),e.createElement("meta",{name:"theme-color",content:"helloSites"===B?"#2c87f3":"#e85388"}),e.createElement("meta",{name:"page_type",content:"Home"}),e.createElement("meta",{name:"page_platform",content:"WEB"}),e.createElement("meta",{name:"page_language",content:ae}),e.createElement("meta",{name:"ahrefs-site-verification",content:"46e7521a2b89a1013149c4685bbe02a1d36a4732fef98655142b829bc87cba4d"}),L&&e.createElement(e.Fragment,null,e.createElement("script",{async:!0,"custom-element":"amp-analytics",src:"https://cdn.ampproject.org/v0/amp-analytics-0.1.js"}),e.createElement("script",{async:!0,"custom-element":"amp-fx-collection",src:"https://cdn.ampproject.org/v0/amp-fx-collection-0.1.js"}),e.createElement("script",{async:!0,"custom-element":"amp-ad",src:"https://cdn.ampproject.org/v0/amp-ad-0.1.js"}),e.createElement("script",{async:!0,"custom-element":"amp-next-page",src:"https://cdn.ampproject.org/v0/amp-next-page-1.0.js"}),e.createElement("script",{async:!0,"custom-element":"amp-sticky-ad",src:"https://cdn.ampproject.org/v0/amp-sticky-ad-1.0.js"}),e.createElement("script",{async:!0,"custom-element":"amp-social-share",src:"https://cdn.ampproject.org/v0/amp-social-share-0.1.js"}),e.createElement("script",{async:!0,"custom-element":"amp-bind",src:"https://cdn.ampproject.org/v0/amp-bind-0.1.js"})),!te&&e.createElement(e.Fragment,null,"helloSites"===B?e.createElement("title",null,F?R:R+" - "+(null===(s=uo[S])||void 0===s?void 0:s.SITE_NAME)):e.createElement("title",null,R),!X&&e.createElement("link",{rel:"canonical",href:"https://".concat(le).concat(ee)}),e.createElement("meta",{name:"description",content:H||(null===(m=b.openGraph)||void 0===m?void 0:m.description)}),b.schemaData&&e.createElement("script",{type:"application/ld+json",className:"yoast-schema-graph",dangerouslySetInnerHTML:{__html:b.schemaData}}),e.createElement("meta",{property:"og:locale",content:S}),e.createElement("meta",{property:"og:type",content:P||"website"}),e.createElement("meta",{property:"og:title",content:(null===(d=b.openGraph)||void 0===d?void 0:d.title)||R}),e.createElement("meta",{property:"og:description",content:(null===(p=b.openGraph)||void 0===p?void 0:p.description)||H}),e.createElement("meta",{property:"og:url",content:"https://".concat(le).concat(ee)}),e.createElement("meta",{property:"og:site_name",content:"https://".concat(le)}),e.createElement("meta",{property:"og:image",content:(null===(u=b.openGraph)||void 0===u?void 0:u.image)||q||de||""}),e.createElement("meta",{property:"og:image:secure_url",content:(null===(g=b.openGraph)||void 0===g?void 0:g.image)||q||de}),e.createElement("meta",{property:"og:image:width",content:(null===(v=b.openGraph)||void 0===v?void 0:v.imageWidth)&&String(null===(h=b.openGraph)||void 0===h?void 0:h.imageWidth)||O&&String(O)||"1200"}),e.createElement("meta",{property:"og:image:height",content:(null===(E=b.openGraph)||void 0===E?void 0:E.imageHeight)&&String(null===(y=b.openGraph)||void 0===y?void 0:y.imageHeight)||G&&String(G)||"630"}),e.createElement("meta",{name:"twitter:card",content:"summary_large_image"}),e.createElement("meta",{name:"twitter:title",content:(null===(f=b.twitter)||void 0===f?void 0:f.title)||R}),e.createElement("meta",{name:"twitter:description",content:H}),e.createElement("meta",{name:"twitter:image",content:(null===(C=b.twitter)||void 0===C?void 0:C.image)||q})),("helloSites"===B?go[ae]||[]:go.marryBaby).map((function(t,a){return"link"===t.type?e.createElement("link",{key:"favicon-".concat(a),rel:t.rel,href:t.href,sizes:t.sizes}):"meta"===t.type?e.createElement("meta",{key:a,name:t.name,content:t.content}):null})),Array.isArray(te)&&U?te.filter((function(e){return"canonical"!==e.props.name&&"canonical"!==e.props.rel})):te,U&&e.createElement("link",{rel:"canonical",href:U}),!b.hasNoAmp&&"vi-VN"!==S&&e.createElement("link",{rel:"amphtml",href:"https://".concat(le).concat(ee).concat(oe,"?amp=1")}),M&&"undefined"!=typeof window?e.createElement("script",{dangerouslySetInnerHTML:{__html:"window.dataLayer = window.dataLayer || []; window.dataLayer.push({'userID': '".concat(M,"'});")}}):null)},Ti=function(t){var a=t.ampNextArticles,n=(null==a?void 0:a.filter(Boolean))||[];if(!(null==n?void 0:n.length))return null;return e.createElement("amp-next-page",null,e.createElement("script",{type:"application/json",dangerouslySetInnerHTML:{__html:JSON.stringify(n.map((function(e){return{image:e.image||"",title:e.title?JSON.stringify(e.title):"",url:e.link||""}})))}}),e.createElement("div",j({},{separator:""},{className:"amp-page-seperator",style:{color:"#8C8C8C",textTransform:"uppercase",fontSize:11,fontWeight:700,marginLeft:16}}),"Next article:"))};var Bi={"en-PH":bo,"vi-VN":Lo,"zh-TW":Ao,"id-ID":wo};function Fi(a){var l=a.value,o=void 0===l?{from:null,to:null}:l,i=t(null),r=i[0],c=i[1],s=No().isMobile,m=t((function(){return o})),d=m[0],p=m[1],u=t((function(){var e;return $l(null!==(e=o.from)&&void 0!==e?e:new Date)})),g=u[0],v=u[1],h=n((function(){return eo(g,1)}),[g]);var E=j(j({},a),{goToNextMonth:function(){v((function(e){return eo(e,1)}))},goToPreviousMonth:function(){v((function(e){return to(e,1)}))},range:d,setRange:p,hoverDay:r,setHoverDay:c});return e.createElement(e.Fragment,null,e.createElement(Mi,j({},E,{date:g})),!s&&e.createElement(ut,null),!s&&e.createElement(Mi,j({},E,{date:h})))}function Mi(t){var a=t.date,o=t.range,i=t.setRange,r=t.onChange,c=t.goToPreviousMonth,s=t.goToNextMonth,m=t.minDate,d=t.maxDate,p=t.close,u=void 0===p?function(){}:p,g=t.autoClose,v=void 0!==g&&g,h=t.hoverDay,E=t.setHoverDay,y=K().locale,f=n((function(){var e;return null!==(e=Bi[y])&&void 0!==e?e:Bi["en-PH"]}),[y]),C=n((function(){return Xl(a,"MMMM",{locale:f})}),[a,f]),k=n((function(){return f?[1,2,3,4,5,6,0].map((function(e){return f.localize.day(e,{width:"narrow"})})):[]}),[f]);function b(t,a){if(null===t)return e.createElement(bt,{key:"idx-".concat(a),"data-empty":"true"});var n=t.getDate(),l=no(t),r=!!o.from&&lo(o.from,t),c=!!o.to&&lo(o.to,t),s=r||c,p=!1;null!==h&&o.from&&Jl(o.from,h)&&!o.to?p=oo(t,{start:o.from,end:h}):o.from&&o.to&&(p=oo(t,{start:o.from,end:o.to}));var g=!1;return m&&d?g=!oo(t,{start:m,end:d}):m?g=Jl(t,m):d&&(g=io(t,d)),e.createElement(bt,{key:n,"data-is-today":l,"data-is-past":!l&&ro(t),"data-is-selected":s,"data-is-disabled":g,"data-in-range":p,"data-is-from":r,"data-is-to":c,onMouseEnter:function(){E(t)},onMouseLeave:function(){return E(null)},onClick:function(){g||i((function(e){return v&&o.from&&!o.to&&u(),function(e,t){return t.from||t.to?t.from&&t.to?{from:e,to:null}:t.from?Jl(e,t.from)?j(j({},t),{from:e}):j(j({},t),{to:e}):t:j(j({},t),{from:e})}(t,e)}))}},e.createElement(wt,{onClick:function(){}},e.createElement("p",null,n)))}return l((function(){o.from&&o.to&&r(o)}),[o]),e.createElement(gt,{className:"calendar-wrapper"},e.createElement(vt,null,e.createElement(ee,{onClick:c,size:"md",color:"ghost",icon:e.createElement("img",{src:"data:image/svg+xml,%3csvg width='7' height='13' viewBox='0 0 7 13' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M5.66875 11.814L1.46875 6.657L5.66875 1.5' stroke='%23262626' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e"})}),e.createElement("div",{className:"calendar-month"},C,e.createElement("strong",null,Xl(a,"yyyy"))),e.createElement(ee,{onClick:s,size:"md",color:"ghost",icon:e.createElement("img",{src:"data:image/svg+xml,%3csvg width='7' height='13' viewBox='0 0 7 13' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M1.46875 11.814L5.66875 6.657L1.46875 1.5' stroke='%23262626' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e"})})),e.createElement(ht,null,e.createElement("div",null,e.createElement(Et,null,k.map((function(t,a){return e.createElement(yt,{key:"".concat(t,"-").concat(a)},t)})))),e.createElement("div",null,function(){for(var t=a.getFullYear(),n=a.getMonth(),l=ao(a),i=[],r=1;r<=l;r++)i.push(new Date(t,n,r));var c=i[0]?i[0].getDay():0;if(1!==c){var s=0===c?6:c-1;for(r=0;r<s;r++)i.unshift(null)}return e.createElement(ft,{key:"month-".concat(n),"data-month-index":n,"data-has-range":Boolean(o.from&&o.to)},e.createElement(Ct,null,e.createElement(kt,null,i.map(b))))}())))}function Ui(l){var o=l.inputSize,i=void 0===o?"md":o,r=l.name,c=void 0===r?"date-range-picker":r,s=l.value,m=l.minDate,d=l.maxDate,p=l.onChange,u=l.className,g=l.autoClose,v=void 0!==g&&g;s||(s={from:null,to:null});var h=t(!1),E=h[0],y=h[1];function f(){y(!1)}var C=a(null);function k(e){p&&p(e)}function b(e){return Xl(e,"dd/MM/yyyy")}ko(C,(function(){f()}));var w=n((function(){return s.from&&s.to?lo(s.from,s.to)?b(s.from):"".concat(b(s.from)," - ").concat(b(s.to)):""}),[s.from,s.to]);return e.createElement(Lt,{className:[u,E&&"focused"].filter(Boolean).join(" "),ref:C},e.createElement("label",{htmlFor:c},e.createElement(P,{size:i,value:w,name:c,actionIcon:e.createElement("img",{src:"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 fill-rule='evenodd' clip-rule='evenodd' d='M12.9168 1.99984H13.5835C14.3168 1.99984 14.9168 2.59984 14.9168 3.33317V13.9998C14.9168 14.7332 14.3168 15.3332 13.5835 15.3332H2.91683C2.1835 15.3332 1.5835 14.7332 1.5835 13.9998V3.33317C1.5835 2.59984 2.1835 1.99984 2.91683 1.99984H3.5835V1.33317C3.5835 0.966504 3.8835 0.666504 4.25016 0.666504C4.61683 0.666504 4.91683 0.966504 4.91683 1.33317V1.99984H11.5835V1.33317C11.5835 0.966504 11.8835 0.666504 12.2502 0.666504C12.6168 0.666504 12.9168 0.966504 12.9168 1.33317V1.99984ZM3.5835 13.9998H12.9168C13.2835 13.9998 13.5835 13.6998 13.5835 13.3332V5.33317H2.91683V13.3332C2.91683 13.6998 3.21683 13.9998 3.5835 13.9998Z' fill='%23595959'/%3e%3c/svg%3e"}),autoFocus:!1,onFocus:function(){return y(!0)}})),E?e.createElement(At,{onMouseDown:function(e){e.stopPropagation()}},e.createElement(Fi,{value:s,onChange:k,minDate:m,maxDate:d,close:f,autoClose:v})):null)}var Wi=function(t){return[{icon:e.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M27.5 0H5.5C2.73858 0 0.5 2.23858 0.5 5V27C0.5 29.7614 2.73858 32 5.5 32H27.5C30.2614 32 32.5 29.7614 32.5 27V5C32.5 2.23858 30.2614 0 27.5 0Z",fill:"#1778F2"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.814 32V19.499H24.069L24.5 15.19H20.814L20.82 13.034C20.82 11.911 20.92 11.309 22.443 11.309H24.477V7H21.222C17.312 7 15.937 9.09 15.937 12.604V15.191H13.5V19.499H15.937V32H20.814Z",fill:"white"})),name:"Facebook",href:"https://www.facebook.com/sharer/sharer.php?u=".concat(t)},{icon:e.createElement("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},e.createElement("path",{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:"url(#pattern0)"}),e.createElement("defs",null,e.createElement("pattern",{id:"pattern0",patternContentUnits:"objectBoundingBox",width:"1",height:"1"},e.createElement("use",{xlinkHref:"#image0_384_76633",transform:"scale(0.000721501)"})),e.createElement("image",{id:"image0_384_76633",width:"1386",height:"1386",xlinkHref:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABWoAAAVqCAMAAABAkLdAAAABoVBMVEX9/v4VcvsKbPsBW98AaP5uqPycxP0AaP4BW98nffv9/v6HuP5Umf0GbP4xg/1toez1+v4HX+Aievsgeft5rvwkff6aw/4lcuM5if1Qlv0QZeFlo/1lovxvqfze7P4BW+AAY/IceP5sqP4BX+qavvKszf4BXeQLbPtyq/1CjvyLuv5NlPw4f+YRcv4Ia/ySvv0fbuNKiujr8/4qgPxen/5RjumtzvzQ4/1JlP6Gse92rv5jmusteOUsgv4Pcf5iov55r/ybxP3Y6P5ypO13p+05gfkfev4pdeS00v3t9P5dl+ri7v51rPwbbOLF3P0/jv7U5v5Vmfy+2f2gxv2KtPCMu/1MlPwAaP5AhOcAY/QBXOJGkf4BW98BYe0AY/IAZ/39/v79/v79/v631P2fxPlJkvylyf39/v6Bru/9/v4UcvsBW9/9/v4AaP4FafsEaPv7/f4FaPu/2f3t9f6/2P3O4v2+1fa+2P7e6/4UcvtDjvzt9Pzd6voAZvnd6/7N4v7O3/gAZ/yvz/2uy/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9BpdwcXn4XKCAFI6ebi4OJOa3vAV2PQ5dKuUntxcXX49bctfTukk74dAe9y8yGJm6Oru1Vm/wLfZ84l/Z3++AAAAABJRU5ErkJggg=="}))),name:"Zalo",href:"https://sp.zalo.me/share?href=".concat(t)},{icon:e.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("rect",{x:"0.5",width:"32",height:"32",rx:"4",fill:"#1FA1F3"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.2304 13.2349L16.2708 13.8692L15.5964 13.7916C13.1417 13.4938 10.9972 12.484 9.17631 10.788L8.2861 9.94646L8.05683 10.5679C7.57124 11.9532 7.88149 13.4161 8.89305 14.4001C9.43257 14.9438 9.31116 15.0215 8.38052 14.6978C8.05683 14.5943 7.77357 14.5166 7.74658 14.5554C7.65216 14.646 7.97591 15.8241 8.23218 16.2902C8.58286 16.9376 9.29766 17.5719 10.08 17.9474L10.7409 18.2452L9.9586 18.2581C9.20324 18.2581 9.17631 18.271 9.25723 18.5429C9.52699 19.3844 10.5925 20.2777 11.7794 20.6661L12.6157 20.938L11.8873 21.3523C10.8083 21.9478 9.54049 22.2844 8.2726 22.3103C7.66566 22.3232 7.16663 22.375 7.16663 22.4139C7.16663 22.5433 8.81213 23.2684 9.76976 23.5531C12.6427 24.3947 16.055 24.0322 18.6177 22.5951C20.4385 21.5724 22.2593 19.5398 23.1091 17.5719C23.5677 16.5232 24.0263 14.6072 24.0263 13.688C24.0263 13.0925 24.0667 13.0148 24.822 12.3027C25.2671 11.8885 25.6853 11.4353 25.7662 11.3059C25.901 11.0598 25.8875 11.0598 25.1997 11.28C24.0532 11.6683 23.8913 11.6166 24.4579 11.034C24.876 10.6197 25.375 9.86879 25.375 9.64873C25.375 9.60987 25.1727 9.67458 24.9434 9.79112C24.7006 9.92061 24.1611 10.1148 23.7565 10.2313L23.0281 10.4514L22.3673 10.0241C22.0031 9.79112 21.4905 9.53219 21.2208 9.45452C20.5329 9.27327 19.4809 9.29918 18.8605 9.50628C17.1745 10.0889 16.1089 11.5907 16.2304 13.2349Z",fill:"white"})),name:"Twitter",href:"https://twitter.com/intent/tweet?url=".concat(t)},{icon:e.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("g",{clipPath:"url(#clip0_687_88944)"},e.createElement("path",{d:"M29.5309 0H3.46909C1.82931 0 0.5 1.32931 0.5 2.96909V29.0309C0.5 30.6707 1.82931 32 3.46909 32H29.5309C31.1707 32 32.5 30.6707 32.5 29.0309V2.96909C32.5 1.32931 31.1707 0 29.5309 0Z",fill:"url(#paint0_linear_687_88944)"}),e.createElement("path",{d:"M23.5545 8.94548C21.8898 7.2642 19.6792 6.23313 17.3212 6.03825C14.9633 5.84336 12.6134 6.49749 10.6953 7.88265C8.77715 9.2678 7.41716 11.2928 6.86059 13.5924C6.30403 15.8919 6.58753 18.3147 7.65997 20.4237L6.60724 25.5346C6.59632 25.5854 6.59601 25.638 6.60633 25.689C6.61665 25.74 6.63739 25.7883 6.66724 25.8309C6.71097 25.8956 6.77338 25.9454 6.84616 25.9737C6.91893 26.0019 6.99859 26.0073 7.07451 25.9891L12.0836 24.8018C14.1866 25.8471 16.5923 26.1124 18.8725 25.5505C21.1528 24.9885 23.1597 23.6358 24.5362 21.7331C25.9128 19.8303 26.5696 17.5009 26.3898 15.1593C26.21 12.8177 25.2053 10.6158 23.5545 8.94548ZM21.9927 21.4109C20.8409 22.5595 19.3578 23.3176 17.7523 23.5786C16.1468 23.8395 14.4998 23.5901 13.0436 22.8655L12.3454 22.52L9.27451 23.2473L9.2836 23.2091L9.91997 20.1182L9.57815 19.4437C8.83408 17.9823 8.57159 16.323 8.82831 14.7034C9.08502 13.0837 9.84775 11.5869 11.0072 10.4273C12.4642 8.97083 14.4399 8.15263 16.5 8.15263C18.56 8.15263 20.5358 8.97083 21.9927 10.4273C22.0051 10.4415 22.0185 10.4549 22.0327 10.4673C23.4716 11.9275 24.2748 13.8974 24.2673 15.9474C24.2598 17.9974 23.4422 19.9613 21.9927 21.4109Z",fill:"white"}),e.createElement("path",{d:"M21.7199 19.1436C21.3436 19.7364 20.749 20.4618 20.0017 20.6418C18.6926 20.9582 16.6836 20.6527 14.1836 18.3218L14.1526 18.2946C11.9545 16.2564 11.3836 14.56 11.5217 13.2146C11.5981 12.4509 12.2345 11.76 12.7708 11.3091C12.8556 11.2367 12.9562 11.1852 13.0645 11.1586C13.1727 11.1321 13.2857 11.1312 13.3944 11.1561C13.503 11.181 13.6044 11.231 13.6903 11.3021C13.7761 11.3732 13.8442 11.4634 13.889 11.5655L14.6981 13.3836C14.7507 13.5015 14.7702 13.6315 14.7545 13.7596C14.7388 13.8878 14.6885 14.0092 14.609 14.1109L14.1999 14.6418C14.1121 14.7515 14.0592 14.8848 14.0478 15.0248C14.0365 15.1648 14.0673 15.305 14.1363 15.4273C14.3654 15.8291 14.9145 16.42 15.5236 16.9673C16.2072 17.5855 16.9654 18.1509 17.4454 18.3436C17.5738 18.3961 17.715 18.4089 17.8508 18.3804C17.9866 18.3519 18.1107 18.2834 18.2072 18.1836L18.6817 17.7055C18.7733 17.6152 18.8872 17.5508 19.0117 17.5188C19.1363 17.4869 19.2671 17.4886 19.3908 17.5236L21.3126 18.0691C21.4187 18.1016 21.5158 18.158 21.5967 18.2338C21.6776 18.3096 21.7401 18.4029 21.7794 18.5066C21.8187 18.6103 21.8338 18.7216 21.8235 18.832C21.8132 18.9424 21.7777 19.049 21.7199 19.1436Z",fill:"white"})),e.createElement("defs",null,e.createElement("linearGradient",{id:"paint0_linear_687_88944",x1:"16.5",y1:"0.130909",x2:"16.5",y2:"30.4509",gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#36F46C"}),e.createElement("stop",{offset:"1",stopColor:"#03D749"})),e.createElement("clipPath",{id:"clip0_687_88944"},e.createElement("rect",{width:"32",height:"32",fill:"white",transform:"translate(0.5)"})))),name:"WhatsApp",href:"https://wa.me/?text=".concat(t)},{icon:e.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("rect",{x:"0.5",width:"32",height:"32",rx:"4",fill:"#0077B5"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.3571 9.07077C11.3349 7.97643 10.6126 7.14288 9.43969 7.14288C8.26679 7.14288 7.5 7.97643 7.5 9.07077C7.5 10.1425 8.24415 11 9.39516 11H9.4171C10.6126 11 11.3571 10.1425 11.3571 9.07077ZM11.3571 12.286H7.5V23.8574H11.3571V12.286ZM20.651 12.286C23.4224 12.286 25.5 13.9022 25.5 17.3748L25.4999 23.8571H21.2885V17.8086C21.2885 16.2894 20.6791 15.2526 19.1545 15.2526C17.991 15.2526 17.2979 15.9515 16.9935 16.6265C16.8822 16.8685 16.8548 17.2056 16.8548 17.5435V23.8574H12.6429C12.6429 23.8574 12.6984 13.6127 12.6429 12.5518H16.8548V14.1531C17.4138 13.3834 18.415 12.286 20.651 12.286Z",fill:"white"})),name:"LinkedIn",href:"https://www.linkedin.com/sharing/share-offsite/?url=".concat(t)}]},Di=function(t){var a=t.url,n=t.onCopied,l=Wi(a||"");return e.createElement(St,null,e.createElement(s,{size:"p3",color:ae.colors.gray800},"Share the results"),e.createElement("div",{className:"icon-group"},l.map((function(t,a){return e.createElement("a",{key:a,href:t.href,target:"_blank",rel:"noreferrer"},t.icon)})),e.createElement(ee,{size:"sm",type:"button",color:"tertiary",className:"share",style:{},icon:e.createElement("svg",{width:"17",height:"16",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M6.86364 10.6666H5.22727C4.86912 10.6666 4.51448 10.5977 4.18359 10.4637C3.8527 10.3296 3.55205 10.1332 3.2988 9.8856C2.78734 9.3855 2.5 8.70722 2.5 7.99998C2.5 7.29274 2.78734 6.61446 3.2988 6.11436C3.81026 5.61426 4.50396 5.33331 5.22727 5.33331H6.86364M9.78374 5.33331H11.7727C12.1309 5.33331 12.4855 5.40229 12.8164 5.5363C13.1473 5.67031 13.4479 5.86674 13.7012 6.11436C13.9545 6.36198 14.1553 6.65596 14.2924 6.97949C14.4295 7.30303 14.5 7.64979 14.5 7.99998C14.5 8.35017 14.4295 8.69693 14.2924 9.02047C14.1553 9.344 13.9545 9.63798 13.7012 9.8856C13.4479 10.1332 13.1473 10.3296 12.8164 10.4637C12.4855 10.5977 12.1309 10.6666 11.7727 10.6666H9.78374",stroke:"#595959",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M6.5 8H10.5",stroke:"#595959",strokeLinecap:"round",strokeLinejoin:"round"})),onClick:function(){return Q(void 0,void 0,void 0,(function(){var e;return _(this,(function(t){switch(t.label){case 0:return[4,null===(e=null===navigator||void 0===navigator?void 0:navigator.clipboard)||void 0===e?void 0:e.writeText(a)];case 1:return t.sent(),null==n||n(),[2]}}))}))}})))},Vi=function(t){var a=t.open,n=t.title,o=t.onClose,r=t.onCopied,c=t.onShared,m=t.url,d=z(t,["open","title","onClose","onCopied","onShared","url"]),p=K().t,u=i((function(){return Q(void 0,void 0,void 0,(function(){var e;return _(this,(function(t){switch(t.label){case 0:return[4,null===(e=null===navigator||void 0===navigator?void 0:navigator.clipboard)||void 0===e?void 0:e.writeText(m)];case 1:return t.sent(),null==r||r(),[2]}}))}))}),[m,r]),g=Wi(m||"");return l((function(){a&&navigator.share&&navigator.share({title:n||"Read This Post",url:m}).then((function(){null==c||c()})).catch((function(){null==o||o()}))}),[m,n,c,a]),navigator.share?null:e.createElement(Nt,j({title:p("share.title"),onClose:o,open:a,placement:"bottom"},d),e.createElement("div",{className:"share-container"},e.createElement("div",{className:"icon-container"},e.createElement(s,{type:"semiBold",size:"s3",color:ae.colors.gray600},p("share.title")),e.createElement("div",{className:"icon-group"},g.map((function(t,a){return e.createElement("a",{key:a,href:t.href,target:"_blank",rel:"noreferrer"},t.icon)})))),e.createElement("div",{className:"link-container"},e.createElement(s,{type:"semiBold",size:"s3",color:ae.colors.gray600},p("share.copyLink")),e.createElement("div",{className:"input-group"},e.createElement(ho,{name:"link",size:"md",value:m,isDisabled:!0}),e.createElement(ee,{size:"md",type:"button",color:"tertiary",icon:e.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"copy"},e.createElement("path",{d:"M4 2.5C3.17125 2.5 2.5 3.17125 2.5 4V13.75C2.5 14.164 2.836 14.5 3.25 14.5C3.664 14.5 4 14.164 4 13.75V4H13.75C14.164 4 14.5 3.664 14.5 3.25C14.5 2.836 14.164 2.5 13.75 2.5H4ZM7 5.5C6.17125 5.5 5.5 6.17125 5.5 7V16C5.5 16.8287 6.17125 17.5 7 17.5H16C16.8287 17.5 17.5 16.8287 17.5 16V7C17.5 6.17125 16.8287 5.5 16 5.5H7ZM7 7H16V16H7V7Z",fill:"#595959"})),onClick:u})))))},Ri=function(){return e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.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"}))},Ii=function(t){var a=t.locale,n=t.categoriesSSR,l=t.healthToolsSSR,o=t.spotlightsSSR,i=t.serviceUrls,r=t.together,c=t.care,s=t.basePath,m=t.searchPlaceholder,d=xt();return e.createElement(ta,null,e.createElement("amp-sidebar",{id:"discover-amp-sidebar",layout:"nodisplay",style:{width:"100vw",maxWidth:"100vw"}},e.createElement("amp-nested-menu",{layout:"fill"},e.createElement("ul",{style:{paddingBottom:24}},e.createElement("div",{className:"amp__menu-header"},e.createElement(aa,{on:"tap:discover-amp-sidebar.close",role:"button",tabIndex:1},e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"}))),e.createElement("div",{className:"logo"},e.createElement(O,{height:"32px",width:"121px",type:uo.LOGO_TYPE,isAmp:!0,badge:"id-ID"===a?e.createElement("amp-img",{src:xo,width:"56",height:"23"}):void 0})),e.createElement("div",null)),e.createElement(na,{href:"/search"},e.createElement(Ri,null),e.createElement("input",{className:"amp-search-input",type:"text",placeholder:m,readOnly:!0})),e.createElement("div",{className:"categories__spotlight"},e.createElement(la,{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},e.createElement("amp-img",{src:To,width:"48",height:"48"}),e.createElement("span",null,d("home.navigator.menuItem.discover"))),e.createElement(la,{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'"},e.createElement("amp-img",{src:Bo,width:"48",height:"48"}),e.createElement("span",null,d("home.navigator.menuItem.healthTools"))),r.TOGETHER_MENU_COUNTRIES_ENABLED.includes(a)&&e.createElement("a",{href:i.TOGETHER_URL_FE},e.createElement(la,{role:"button",tabIndex:1,className:"nav-card",on:"tap:AMP.setState({healthToolsActive: false})"},e.createElement("amp-img",{src:Fo,width:"48",height:"48"}),e.createElement("span",null,d("home.navigator.menuItem.together")))),c.CARE_MENU_COUNTRIES_ENABLED.includes(a)&&e.createElement("a",{href:i.CARE_URL_FE},e.createElement(la,{role:"button",tabIndex:1,className:"nav-card"},e.createElement("amp-img",{src:Mo,width:"48",height:"48"}),e.createElement("span",null,d("home.navigator.menuItem.helloCare"))))),e.createElement("ul",{className:"categories","data-amp-bind-hidden":"!healthToolsActive",style:{marginBottom:24}},e.createElement(te,{tag:"h3",fontWeight:"bold",style:{marginBottom:24}},d("home.navigator.menuItem.discover")),n&&n.length>1&&n.map((function(t){return e.createElement("li",{key:t.name},e.createElement("a",{href:t.permalink},t.displayName))})),e.createElement("a",{style:{textDecoration:"none"},href:"".concat(i.DISCOVER_URL_FE,"/categories/")},e.createElement(oa,{key:"all-categories"},d("home.navigator.menuItem.allCategories"),e.createElement(ia,null,e.createElement("amp-img",{src:"".concat(s,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},height:"16",width:"16",alt:d("home.navigator.menuItem.allCategories")}))))),e.createElement("ul",{className:"categories","data-amp-bind-hidden":"!healthToolsActive"},e.createElement(te,{tag:"h3",fontWeight:"bold",style:{marginBottom:24}},d("home.navigator.menuItem.spotlights")),o&&o.length>0&&o.map((function(t){return e.createElement("li",{key:t.id,className:"spotlight-li"},e.createElement("a",{href:t.permalink},t.name))})),e.createElement("a",{style:{textDecoration:"none"},href:"".concat(i.DISCOVER_URL_FE,"/spotlight/")},e.createElement(oa,{key:"all-spotlight"},d("home.navigator.menuItem.allSpotlight"),e.createElement(ia,null,e.createElement("amp-img",{src:"".concat(s,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},height:"16",width:"16",alt:d("home.navigator.menuItem.allSpotlight")}))))),e.createElement("ul",{className:"categories","data-amp-bind-hidden":"healthToolsActive",hidden:!0},l&&l.length>1&&l.map((function(t,a){return t.healthTools&&t.healthTools.length>0&&e.createElement(e.Fragment,{key:a},e.createElement(te,{tag:"h4",fontWeight:"bold"},t.name),t.healthTools.map((function(t){return e.createElement("li",{key:t.title,className:"health-tool"},e.createElement("a",{href:t.link},e.createElement("amp-img",{width:"32",height:"32",src:t.icon}),e.createElement("span",null,t.title)))})))})))))))},Hi="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",qi="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",Pi="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",Oi=function(t){var a=t.url,n=t.isMobile,l=t.dataEventCategory,o=t.dataEventAction,i=t.dataEventLabel;return e.createElement(ca,{"data-is-mobile":n},e.createElement("img",{className:"country-flag",src:a,alt:"Country Flag","data-event-category":l,"data-event-action":o,"data-content-label":i}))},Gi=function(t){var a,n,l,o,i,r,c,m,d,p,u,g,v,h,E,y,f,C,k,b,w,L,A,S,N,x,T,B,F,M,U,W,D,V,R,I=t.className,H=t.type,q=void 0===H?"main":H,P=t.footerInfo,O=t.isMobile,j=t.locale,Z=t.isAmp,z=xt(),Q=null==P?void 0:P.menu;return e.createElement(ra,{as:Z&&"mini"===q?"div":"footer",className:I,style:"mini"===q?{backgroundColor:ae.colors.neutral50}:{},"next-page-hide":!0},e.createElement(G,null,e.createElement("div",{className:"inner","data-type":q,"next-page-hide":""},"main"===q?e.createElement(e.Fragment,null,e.createElement("a",{href:"/"},Z?(null===(n=null==P?void 0:P.general)||void 0===n?void 0:n.logo)?e.createElement("amp-img",{src:null===(l=null==P?void 0:P.general)||void 0===l?void 0:l.logo,alt:"Site logo",width:"132",height:"32",style:{marginBottom:24}}):null:e.createElement("img",{className:"footer-logo",src:null===(a=null==P?void 0:P.general)||void 0===a?void 0:a.logo,alt:"Logo","data-is-sehat":"id-ID"===j})),e.createElement("div",{className:"columns"},e.createElement("div",{className:"newsletter"},e.createElement(s,{size:"p1",type:"bold"},null===(o=null==P?void 0:P.general)||void 0===o?void 0:o.content),e.createElement(ee,{className:"signupButton",color:"primary",size:"lg"},z("footer.signUp")),e.createElement("div",{className:"social"},e.createElement(s,{size:"sm",type:"regular"},null===(i=null==P?void 0:P.social)||void 0===i?void 0:i.title),e.createElement("div",{className:"icons"},null===(c=null===(r=null==P?void 0:P.social)||void 0===r?void 0:r.socials)||void 0===c?void 0:c.map((function(t,a){return e.createElement("a",{key:a,"data-event-category":"Footer","data-event-action":"Follow us - ".concat(t.name),"data-content-label":t.url,href:t.url},Z?e.createElement("amp-img",{"data-event-category":"Footer","data-event-action":"Follow us - ".concat(t.name),"data-content-label":t.url,src:t.icon,alt:"Logo Social",width:"32",height:"32"}):e.createElement("img",{"data-event-category":"Footer","data-event-action":"Follow us - ".concat(t.name),"data-content-label":t.url,src:t.icon,alt:"Logo Social",className:"social-icon"}))}))),e.createElement("hr",{className:"hrMobile"}))),e.createElement("div",null,Q&&e.createElement(e.Fragment,null,e.createElement("div",{className:"biglinks"},null===(d=null===(m=Q[0])||void 0===m?void 0:m.items)||void 0===d?void 0:d.map((function(t,a){return e.createElement("a",{"data-event-category":"Footer","data-event-action":t.title,"data-event-label":"https://".concat(vo[j]).concat(t.url),className:"bigLink",key:a,href:t.url},t.title)}))),e.createElement("hr",{className:"hrMobile"}),e.createElement("div",{className:"mHalf"},e.createElement(s,{type:"regular",size:"sm",className:"linkTitle"},null===(p=Q[1])||void 0===p?void 0:p.menu_title),null===(g=null===(u=Q[1])||void 0===u?void 0:u.items)||void 0===g?void 0:g.map((function(t,a){return e.createElement("a",{"data-event-category":"Footer","data-event-action":t.title,"data-event-label":"https://".concat(vo[j]).concat(t.url),className:"link",href:t.url,key:a},e.createElement(s,{size:"sm",type:"regular",dataEventCategory:"Footer",dataEventAction:t.title,dataEventLabel:"https://".concat(vo[j]).concat(t.url)},t.title))}))),e.createElement("div",{className:"mHalf"},e.createElement(s,{type:"regular",size:"sm",className:"linkTitle"},null===(v=Q[2])||void 0===v?void 0:v.menu_title),null===(E=null===(h=Q[2])||void 0===h?void 0:h.items)||void 0===E?void 0:E.map((function(t,a){return t.url&&e.createElement("a",{"data-event-category":"Footer","data-event-action":t.title,"data-event-label":t.url,className:"link",href:t.url,key:a},e.createElement(s,{size:"sm",type:"regular",dataEventCategory:"Footer",dataEventAction:t.title,dataEventLabel:t.url},t.title))})))),!Z&&e.createElement(e.Fragment,null,e.createElement("hr",{className:"hrMobile"}),e.createElement("div",{className:"otherSites"},e.createElement(s,{type:"regular",size:"sm",className:"linkTitle"},null===(y=null==P?void 0:P.branch)||void 0===y?void 0:y.title),e.createElement("div",{className:"flags"},null===(C=null===(f=null==P?void 0:P.branch)||void 0===f?void 0:f.branch)||void 0===C?void 0:C.map((function(t,a){return e.createElement("a",{className:"link",href:t.url,key:a,"data-event-category":"Footer","data-event-action":t.name,"data-event-label":t.url},e.createElement(Oi,{url:t.flag,isMobile:O,dataEventCategory:"Footer",dataEventAction:t.name,dataEventLabel:t.url}))}))))))),e.createElement("hr",null),e.createElement("div",{className:"copyright","data-is-amp":Z||void 0},(null===(k=null==P?void 0:P.general)||void 0===k?void 0:k.verified)&&e.createElement("a",{href:null===(w=null===(b=null==P?void 0:P.general)||void 0===b?void 0:b.verified[0])||void 0===w?void 0:w.url,className:"copyright-image"},Z?e.createElement("amp-img",{src:null===(A=null===(L=null==P?void 0:P.general)||void 0===L?void 0:L.verified[0])||void 0===A?void 0:A.image,alt:"DMCA Icon",width:"100",height:"36"}):e.createElement("img",{src:null===(N=null===(S=null==P?void 0:P.general)||void 0===S?void 0:S.verified[0])||void 0===N?void 0:N.image,alt:"DMCA Icon"})),e.createElement(s,{size:"xs",type:"regular",className:"copyright-content"},null===(x=null==P?void 0:P.general)||void 0===x?void 0:x.copyright)),"vi-VN"===j&&e.createElement(s,{className:"copyright-certificate",size:"xs",type:"regular",color:"white"},"Giấy xác nhận cung cấp dịch vụ mạng xã hội trực tuyến số 529/GP-BTTTT, HN ngày 03/12/2019")):e.createElement(e.Fragment,null,(null==P?void 0:P.menu)&&e.createElement("div",{className:"columns"},e.createElement("div",{className:"mHalf"},e.createElement(s,{type:"regular",size:"sm",className:"linkTitle"},null===(T=null==P?void 0:P.menu[1])||void 0===T?void 0:T.menu_title),null===(F=null===(B=null==P?void 0:P.menu[1])||void 0===B?void 0:B.items)||void 0===F?void 0:F.map((function(t){return e.createElement("a",{className:"link",href:t.url,key:t.title,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Information","data-content-title":t.title,"data-content-id":"https://".concat(vo[j]).concat(t.url),"data-event-category":"Footer","data-event-action":t.title,"data-event-label":"https://".concat(vo[j]).concat(t.url)},e.createElement(s,{dataEventCategory:"Footer",dataEventAction:t.title,dataEventLabel:"https://".concat(vo[j]).concat(t.url),size:"sm",type:"regular",style:{color:ae.colors.gray800}},t.title))}))),e.createElement("div",{className:"mHalf"},e.createElement(s,{type:"regular",size:"sm",className:"linkTitle"},null===(M=null==P?void 0:P.menu[2])||void 0===M?void 0:M.menu_title),null===(W=null===(U=null==P?void 0:P.menu[2])||void 0===U?void 0:U.items)||void 0===W?void 0:W.map((function(t,a){return e.createElement("a",{className:"link",href:t.url,key:a,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Hello Health","data-content-title":t.title,"data-content-id":t.url,"data-event-category":"Footer","data-event-action":t.title,"data-event-label":t.url},e.createElement(s,{size:"sm",type:"regular",style:{color:ae.colors.gray800},dataEventCategory:"Footer",dataEventAction:t.title,dataEventLabel:t.url},t.title))}))),!Z&&"mini"!==q&&e.createElement("hr",{className:"hrMobile"}),e.createElement("div",{className:"newsletter"},e.createElement("div",{className:"social"},e.createElement(s,{size:"sm",type:"regular"},null===(D=null==P?void 0:P.social)||void 0===D?void 0:D.title),e.createElement("div",{className:"icons"},null===(R=null===(V=null==P?void 0:P.social)||void 0===V?void 0:V.socials)||void 0===R?void 0:R.map((function(t,a){return e.createElement("a",{key:a,"data-event-category":"Footer","data-event-action":"Follow us - ".concat(t.name),"data-content-label":t.url,href:t.url},Z?e.createElement("amp-img",{"data-event-category":"Footer","data-event-action":"Follow us - ".concat(t.name),"data-content-label":t.url,src:t.icon,alt:"Logo Social",width:"32",height:"32"}):e.createElement("img",{"data-event-category":"Footer","data-event-action":"Follow us - ".concat(t.name),"data-content-label":t.url,src:t.icon,alt:"Logo Social",className:"social-icon"}))}))))))))))},ji=function(t){var a,n=t.socialLinks,l=void 0===n?Eo.SOCIAL_LINKS:n,o=l.facebookLink,i=l.instagramLink,r=l.zaloLink,c=l.youtubeLink,s=t.copyrightText,m=t.logoType,d=void 0===m?"marryBaby":m,p=t.isMobile,u=t.footerMenu,g=void 0===u?[]:u,v=t.type,h=void 0===v?"main":v,E=xt();return"main"===h?e.createElement(sa,{className:"footer-container"},!p&&e.createElement("div",{className:"footer-divider"},e.createElement(G,{type:"marryBaby"},e.createElement(ma,{style:{padding:"0 16px"},type:"solid"}))),e.createElement(da,null,e.createElement(G,{type:"marryBaby"},e.createElement(pa,null,e.createElement("div",{className:"grid"},null===(a=p?null==g?void 0:g.slice(0,6):g)||void 0===a?void 0:a.map((function(t,a){var n=t.title,l=t.link;return e.createElement("a",{"data-event-category":"Footer","data-event-action":n,"data-event-label":"".concat(l),className:"link",href:l,key:"footer-links-".concat(a)},e.createElement(ua,{color:ae.colors.gray800,type:"subtitle-2"},n))})),e.createElement("div",{className:"social-wrapper"},e.createElement("div",{className:"social"},e.createElement(ua,{type:"subtitle-2"},E("footer.followUsText")),e.createElement("div",{className:"icons-links"},o&&e.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Facebook","data-content-label":o,href:o},e.createElement("img",{src:$o,alt:"Facebook"})),c&&e.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Youtube","data-event-label":c,href:c},e.createElement("img",{src:li,alt:"Youtube"})),i&&e.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Instagram","data-content-label":i,href:i},e.createElement("img",{src:ei,alt:"Instagram"})),r&&e.createElement("a",{target:"_blank",rel:"noreferrer",href:r,"data-event-category":"Footer","data-event-action":"Follow us - Zalo","data-event-label":r},e.createElement("img",{src:oi,alt:"Zalo"}))))))))),e.createElement(ga,null,e.createElement(G,{type:"marryBaby"},e.createElement(va,null,e.createElement(O,{className:"logo",type:d,width:"121px"}),e.createElement(ua,{className:"company-name",type:"subtitle-2"},E("footer.info.companyName")),e.createElement("div",{className:"text-info"},e.createElement(ua,{type:"bodytext-3"},E("footer.info.address")),e.createElement(ua,{type:"bodytext-3"},E("footer.info.license")),e.createElement(ua,{type:"bodytext-3"},E("footer.info.email"))),e.createElement("div",{className:"img-container"},e.createElement("img",{src:"/images/dmca_protected.png",alt:"DMCA protected"}),e.createElement("a",{href:"http://online.gov.vn/Home/WebDetails/25055?AspxAutoDetectCookieSupport=1",target:"_blank",rel:"noreferrer"},e.createElement("img",{src:"/images/mit_registered.png",alt:"MIT registered"}))),!p&&e.createElement(ma,{type:"solid"}),e.createElement("div",{className:"language-and-copyright"},e.createElement(ua,{type:"bodytext-3"},s)))))):e.createElement(ha,null,e.createElement(Ea,null),e.createElement(ua,{type:"subtitle-3",style:{marginBottom:24,textTransform:"uppercase",fontWeight:ae.sizes.fwSemiBold},color:ae.mbColors.midGray},E("footer.followUsText")),e.createElement("div",{className:"icons-links"},o&&e.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Facebook","data-content-label":o,href:o},e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.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)"}),e.createElement("defs",null,e.createElement("linearGradient",{id:"paint0_linear",x1:"12",y1:"3",x2:"12",y2:"21",gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#4DABF7"}),e.createElement("stop",{offset:"1",stopColor:"#2668DA"}))))),c&&e.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Youtube","data-event-label":c,href:c},e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.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"}))),i&&e.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Instagram","data-content-label":i,href:i},e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.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)"}),e.createElement("defs",null,e.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)"},e.createElement("stop",{offset:"0.073",stopColor:"#EACC7B"}),e.createElement("stop",{offset:"0.184",stopColor:"#ECAA59"}),e.createElement("stop",{offset:"0.307",stopColor:"#EF802E"}),e.createElement("stop",{offset:"0.358",stopColor:"#EF6D3A"}),e.createElement("stop",{offset:"0.46",stopColor:"#F04B50"}),e.createElement("stop",{offset:"0.516",stopColor:"#F03E58"}),e.createElement("stop",{offset:"0.689",stopColor:"#DB359E"}),e.createElement("stop",{offset:"0.724",stopColor:"#CE37A4"}),e.createElement("stop",{offset:"0.789",stopColor:"#AC3CB4"}),e.createElement("stop",{offset:"0.877",stopColor:"#7544CF"}),e.createElement("stop",{offset:"0.98",stopColor:"#2B4FF2"}))))),r&&e.createElement("a",{target:"_blank",rel:"noreferrer",href:r,"data-event-category":"Footer","data-event-action":"Follow us - Zalo","data-event-label":r},e.createElement("div",{style:{height:24,width:24}},e.createElement("img",{src:"/icons/zalo.png",alt:"Zalo"})))))},Zi=function(t){var a,n,l,o,i,r,c,s,m,d,p,u=t.type,g=t.isMobile,v=void 0===g||g,h=t.locale,E=t.footerInfo,y=t.isAmp,f=t.siteType,C=t.ampNextArticle,k=t.routerQuery;return"helloSites"===f?e.createElement(e.Fragment,null,y&&(null!==(n=null===(a=null==k?void 0:k.slug)||void 0===a?void 0:a.length)&&void 0!==n?n:"")>1&&e.createElement("amp-next-page",null,e.createElement("script",{type:"application/json",dangerouslySetInnerHTML:{__html:'\n [\n {\n "image": "'.concat(null===(l=null==C?void 0:C.articleOne)||void 0===l?void 0:l.image,'",\n "title": ').concat(JSON.stringify(null===(o=null==C?void 0:C.articleOne)||void 0===o?void 0:o.title),',\n "url": "').concat(null===(i=null==C?void 0:C.articleOne)||void 0===i?void 0:i.link,'"\n },\n {\n "image": "').concat(null===(r=null==C?void 0:C.articleTwo)||void 0===r?void 0:r.image,'",\n "title": ').concat(JSON.stringify(null===(c=null==C?void 0:C.articleTwo)||void 0===c?void 0:c.title),',\n "url": "').concat(null===(s=null==C?void 0:C.articleTwo)||void 0===s?void 0:s.link,'"\n },\n {\n "image": "').concat(null===(m=null==C?void 0:C.articleThree)||void 0===m?void 0:m.image,'",\n "title": ').concat(JSON.stringify(null===(d=null==C?void 0:C.articleThree)||void 0===d?void 0:d.title),',\n "url": "').concat(null===(p=null==C?void 0:C.articleThree)||void 0===p?void 0:p.link,'"\n }\n ]\n ')}}),e.createElement("div",j({},{separator:""},{className:"amp-page-seperator",style:{color:"#8C8C8C",textTransform:"uppercase",fontSize:11,fontWeight:700,marginLeft:16}}),"Next article:")),e.createElement(Gi,{isAmp:y,isMobile:v,type:u,locale:h,footerInfo:E||{}})):e.createElement(ji,{isMobile:v,locale:h,footerMenu:E||[],copyrightText:"© 2022 MarryBaby.vn",socialLinks:t.marryBabySocialLinks,type:u})},zi=function(t){var a,n,l,o,i,r,c,s,m,d,p,u,g,v,h,E,y,f,C,k=t.children,b=t.SEOData,w=void 0===b?{}:b,L=t.isAmp,A=void 0!==L&&L,S=t.locale,N=void 0===S?"vi-VN":S,x=t.routerPathname,T=t.routerQuery,B=t.nextHead,F=t.siteType,M=t.seoCustom,U=t.userId,W=t.forcedCanonicalUrl,D=t.usingDefaultHead,V="production"===process.env.NEXT_PUBLIC_DEPLOY_ENV,R=w.totalPages,I=w.currentPage,H=w.SEOTitle,q=void 0===H?"":H,P=w.SEODescription,O=void 0===P?"":P,G=w.SEOImage,z=w.seoType,Q=w.SEOImageWidth,_=w.SEOImageHeight,Y=w.customMetaData,K=void 0===Y?[]:Y,X=w.isIndexable,J=void 0===X||X,$=w.hasNoCanonical,ee=void 0!==$&&$,te=J&&V?"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1":"noindex",ae=process.env.NEXT_PUBLIC_BASE_API_URL,ne=w.canonicalUrl||x;Object.keys(T).forEach((function(e){var t=T[e];t&&Array.isArray(t)&&(ne=ne.replace("[...".concat(e,"]"),t.join("/")))}));var le,oe=N||"en-PH",ie="helloSites"===F?vo[oe]:"www.marrybaby.vn",re=ne.endsWith("/")?"":"/";if(w.apiMetaData&&"string"==typeof w.apiMetaData){var ce=null===(a=w.apiMetaData)||void 0===a?void 0:a.match(/<title.*?>(.*)<\/title>/),se=" - Page ".concat(I," of ").concat(R),me=I&&1!==I&&ce?w.apiMetaData.replace(ce[0],ce[0].includes("-")?ce[0].replace("-",se+" - "):"<title>".concat(ce[1].concat(se),"</title>")).replace('<link rel="canonical" href="https://'.concat(ie).concat(ne).concat(re,'" />'),'<link rel="canonical" href="https://'.concat(ie).concat(ne).concat(re,"?page=").concat(I,'" />')):w.apiMetaData,de=(le=pt(me,{trim:!0})).find((function(e){var t,a;return"og:image"===(null===(t=e.props)||void 0===t?void 0:t.property)||"og:image:secure_url"===(null===(a=e.props)||void 0===a?void 0:a.property)}));if(!de){var pe="https://".concat(ie,"/images/").concat(N,".png");le=Z(Z([],le,!0),[e.createElement("meta",{key:"og:image",property:"og:image",content:(null===(n=w.openGraph)||void 0===n?void 0:n.image)||pe||""}),e.createElement("meta",{key:"og:image:secure_url",property:"og:image:secure_url",content:(null===(l=w.openGraph)||void 0===l?void 0:l.image)||pe}),e.createElement("meta",{key:"og:image:width",property:"og:image:width",content:(null===(o=w.openGraph)||void 0===o?void 0:o.imageWidth)&&String(null===(i=w.openGraph)||void 0===i?void 0:i.imageWidth)||"1200"}),e.createElement("meta",{key:"og:image:height",property:"og:image:height",content:(null===(r=w.openGraph)||void 0===r?void 0:r.imageHeight)&&String(null===(c=w.openGraph)||void 0===c?void 0:c.imageHeight)||"630"})],!1)}}var ue="https://".concat(ie,"/images/").concat(N,".png");return e.createElement(e.Fragment,null,B&&D&&e.createElement(B,null,e.createElement("link",{rel:"preconnect",href:"https://fonts.gstatic.com"}),"marryBaby"===F&&e.createElement("link",{href:"https://fonts.googleapis.com/css2?family=Inter&family=Krub:wght@600&display=swap",rel:"stylesheet"}),"km-KH"===N?e.createElement("link",{href:"https://fonts.googleapis.com/css2?family=Battambang:wght@400;700&display=swap",rel:"stylesheet"}):"id-ID"===N||"ms-MY"===N?e.createElement(e.Fragment,null):e.createElement("link",{href:"https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;0,800;1,300;1,400;1,600;1,700;1,800&display=swap",rel:"preload",as:"style"}),e.createElement("link",{rel:"preconnect",href:ae}),e.createElement("meta",{charSet:"UTF-8"}),!A&&e.createElement("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover"}),e.createElement("meta",{name:"google",content:"notranslate"}),e.createElement("meta",{name:"robots",content:te}),e.createElement("meta",{property:"fb:app_id",content:"653713035016537"}),K.map((function(t,a){return e.createElement("meta",j({key:a},t))})),e.createElement("meta",{name:"theme-color",content:"helloSites"===F?"#2c87f3":"#e85388"}),e.createElement("meta",{name:"page_type",content:"Home"}),e.createElement("meta",{name:"page_platform",content:"WEB"}),e.createElement("meta",{name:"page_language",content:oe}),e.createElement("meta",{name:"ahrefs-site-verification",content:"46e7521a2b89a1013149c4685bbe02a1d36a4732fef98655142b829bc87cba4d"}),A&&e.createElement(e.Fragment,null,e.createElement("script",{async:!0,"custom-element":"amp-analytics",src:"https://cdn.ampproject.org/v0/amp-analytics-0.1.js"}),e.createElement("script",{async:!0,"custom-element":"amp-fx-collection",src:"https://cdn.ampproject.org/v0/amp-fx-collection-0.1.js"}),e.createElement("script",{async:!0,"custom-element":"amp-ad",src:"https://cdn.ampproject.org/v0/amp-ad-0.1.js"}),e.createElement("script",{async:!0,"custom-element":"amp-next-page",src:"https://cdn.ampproject.org/v0/amp-next-page-1.0.js"}),e.createElement("script",{async:!0,"custom-element":"amp-sticky-ad",src:"https://cdn.ampproject.org/v0/amp-sticky-ad-1.0.js"}),e.createElement("script",{async:!0,"custom-element":"amp-social-share",src:"https://cdn.ampproject.org/v0/amp-social-share-0.1.js"}),e.createElement("script",{async:!0,"custom-element":"amp-bind",src:"https://cdn.ampproject.org/v0/amp-bind-0.1.js"})),!le&&e.createElement(e.Fragment,null,"helloSites"===F?e.createElement("title",null,M?q:q+" - "+(null===(s=uo[N])||void 0===s?void 0:s.SITE_NAME)):e.createElement("title",null,q),!ee&&e.createElement("link",{rel:"canonical",href:"https://".concat(ie).concat(ne)}),e.createElement("meta",{name:"description",content:O||(null===(m=w.openGraph)||void 0===m?void 0:m.description)}),w.schemaData&&e.createElement("script",{type:"application/ld+json",className:"yoast-schema-graph",dangerouslySetInnerHTML:{__html:w.schemaData}}),e.createElement("meta",{property:"og:locale",content:N}),e.createElement("meta",{property:"og:type",content:z||"website"}),e.createElement("meta",{property:"og:title",content:(null===(d=w.openGraph)||void 0===d?void 0:d.title)||q}),e.createElement("meta",{property:"og:description",content:(null===(p=w.openGraph)||void 0===p?void 0:p.description)||O}),e.createElement("meta",{property:"og:url",content:"https://".concat(ie).concat(ne)}),e.createElement("meta",{property:"og:site_name",content:"https://".concat(ie)}),e.createElement("meta",{property:"og:image",content:(null===(u=w.openGraph)||void 0===u?void 0:u.image)||G||ue||""}),e.createElement("meta",{property:"og:image:secure_url",content:(null===(g=w.openGraph)||void 0===g?void 0:g.image)||G||ue}),e.createElement("meta",{property:"og:image:width",content:(null===(v=w.openGraph)||void 0===v?void 0:v.imageWidth)&&String(null===(h=w.openGraph)||void 0===h?void 0:h.imageWidth)||Q&&String(Q)||"1200"}),e.createElement("meta",{property:"og:image:height",content:(null===(E=w.openGraph)||void 0===E?void 0:E.imageHeight)&&String(null===(y=w.openGraph)||void 0===y?void 0:y.imageHeight)||_&&String(_)||"630"}),e.createElement("meta",{name:"twitter:card",content:"summary_large_image"}),e.createElement("meta",{name:"twitter:title",content:(null===(f=w.twitter)||void 0===f?void 0:f.title)||q}),e.createElement("meta",{name:"twitter:description",content:O}),e.createElement("meta",{name:"twitter:image",content:(null===(C=w.twitter)||void 0===C?void 0:C.image)||G})),("helloSites"===F?go[oe]||[]:go.marryBaby).map((function(t,a){return"link"===t.type?e.createElement("link",{key:"favicon-".concat(a),rel:t.rel,href:t.href,sizes:t.sizes}):"meta"===t.type?e.createElement("meta",{key:a,name:t.name,content:t.content}):null})),Array.isArray(le)&&W?le.filter((function(e){return"canonical"!==e.props.name&&"canonical"!==e.props.rel})):le,W&&e.createElement("link",{rel:"canonical",href:W}),!w.hasNoAmp&&"vi-VN"!==N&&e.createElement("link",{rel:"amphtml",href:"https://".concat(ie).concat(ne).concat(re,"?amp=1")}),U&&"undefined"!=typeof window?e.createElement("script",{dangerouslySetInnerHTML:{__html:"window.dataLayer = window.dataLayer || []; window.dataLayer.push({'userID': '".concat(U,"'});")}}):null),B&&!D&&e.createElement(B,null),k)},Qi=function(){return e.createElement(ya,{style:{marginTop:"16px"}},e.createElement("div",null,e.createElement(Do,{height:46})),e.createElement("div",null,e.createElement(Do,{height:46})),e.createElement("div",null,e.createElement(Do,{height:46})))},_i=function(t){var a,n,l,o,i=t.careSpecialties,r=t.onSelectCareSpecialty,c=t.isLoading,s=t.desktopPopupType,m=t.onClosePopup,d=t.basePath,p=t.locale,u=t.isMobile,g=t.siteType,v=t.CARE_URL_FE,h=xt();return u?e.createElement(e.Fragment,null,c?e.createElement(fa,null,e.createElement(Qi,null)):e.createElement(fa,{"data-category-list-type":"main"},e.createElement(te,{style:{marginTop:16},tag:"h5"},h("menu.care.searchBySpecialties")),i.map((function(t,a){return e.createElement("a",{key:"tool-"+a},e.createElement(Ca,{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(v).concat(Tt({type:"DOCTOR",specialtySlug:t.slug,locale:p})),onClick:function(){r(t)}},e.createElement(ka,null,e.createElement("img",{alt:"health-tool-icon",src:t.thumbnail||"".concat(d,"/images/avatar.jpg"),style:{width:"32px",height:"32px"}})),e.createElement(ba,null,t.name)))})),e.createElement("a",{style:{textDecoration:"none"},href:"".concat(v,"/").concat(null===(a=yo[p])||void 0===a?void 0:a.SPECIALTIES)},e.createElement(wa,{key:"all-categories","data-theme":g,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(v,"/").concat(null===(n=yo[p])||void 0===n?void 0:n.SPECIALTIES)},h("home.navigator.menuItem.allSpecialties"),e.createElement(La,null,"helloSites"===g?e.createElement("img",{src:"".concat(d,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:h("home.navigator.menuItem.allSpecialties")}):e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M6.5 12H17.5M17.5 12L12.9118 8M17.5 12L12.9118 16",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}))))))):e.createElement(Aa,{className:"top-menu-care-specialties",onClick:m,"data-is-display":"care"===s},e.createElement(Sa,null,e.createElement(G,{style:{padding:"0 16px"},type:g},e.createElement(Na,{"data-popup-type":s,onClick:function(e){e.stopPropagation()}},e.createElement(e.Fragment,null,i.map((function(t){return e.createElement(xa,{key:"care-specialty-".concat(t.id),onClick:m},e.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(v).concat(Tt({type:"DOCTOR",specialtySlug:t.slug,locale:p})),style:{textDecoration:"none",color:ae.colors.gray800},className:"iconMenu no-replace-click",href:"".concat(v).concat(Tt({type:"DOCTOR",specialtySlug:t.slug,locale:p}))},e.createElement("div",{style:{display:"flex"}},e.createElement("img",{alt:"care-specialty-icon",src:t.thumbnail||"".concat(d,"/images/avatar.jpg"),style:{width:"32px",height:"32px"}})),e.createElement("p",null,t.name)))})),e.createElement("a",{style:{textDecoration:"none"},href:"".concat(v,"/").concat(null===(l=yo[p])||void 0===l?void 0:l.SPECIALTIES)},e.createElement(wa,{onClick:m,key:"all-care-specialties","data-theme":g,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(v,"/").concat(null===(o=yo[p])||void 0===o?void 0:o.SPECIALTIES)},h("home.navigator.menuItem.allSpecialties"),e.createElement(La,null,"helloSites"===g?e.createElement("img",{src:"".concat(d,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:h("home.navigator.menuItem.allSpecialties")}):e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M6.5 12H17.5M17.5 12L12.9118 8M17.5 12L12.9118 16",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"})))))),e.createElement(Ta,{onClick:m},e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})))))))},Yi=function(){return e.createElement(Ba,{style:{marginTop:"16px"}},e.createElement("div",null,e.createElement(Do,{height:46})),e.createElement("div",null,e.createElement(Do,{height:46})),e.createElement("div",null,e.createElement(Do,{height:46})))},Ki=function(){return e.createElement(Fa,{style:{marginTop:"16px"}},e.createElement("div",null,e.createElement(Do,{height:46})),e.createElement("div",null,e.createElement(Do,{height:46})),e.createElement("div",null,e.createElement(Do,{height:46})))},Xi=function(t){var a=t.isDisplayed,n=void 0!==a&&a,l=t.spotlights,o=t.isLoading,i=t.className,r=t.isMobile,c=t.DISCOVER_URL_FE,s=t.basePath,m=t.locale,d=t.siteType,p=xt();return n?e.createElement(Ma,null,e.createElement(te,{tag:"h3",style:{marginBottom:24}},p("home.navigator.menuItem.spotlights")),o&&n?e.createElement(Ua,{className:i},e.createElement(Ki,null)):e.createElement(Ua,{"data-is-displayed":n,className:i},l.map((function(t,a){return e.createElement(Wa,{style:{textDecoration:"none"},key:"spotlight-"+a},r?e.createElement("a",{href:t.permalink,style:{textDecoration:"none",color:ae.colors.gray800}},e.createElement(Da,{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(vo[m]).concat(t.permalink)},e.createElement(Va,null,t.name))):e.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(vo[m]).concat(t.permalink),style:{textDecoration:"none",pointerEvents:"auto"},href:"".concat(c).concat(t.permalink)},t.name))})),e.createElement("a",{style:{textDecoration:"none"},href:"".concat(c,"/spotlight/")},e.createElement(Ra,{key:"all-spotlights","data-theme":d,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(c,"/spotlight/")},p("home.navigator.menuItem.allSpotlight"),e.createElement(Ia,null,"helloSites"===d?e.createElement("img",{src:"".concat(s,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:p("home.navigator.menuItem.allSpotlight")}):e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.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},Ji=function(t){var a=t.locale,n=t.basePath,l=t.isDisplayed,o=void 0!==l&&l,i=t.categories,r=t.spotlightsList,c=t.type,m=t.onSelectCategory,d=t.onClosePopup,p=t.desktopPopupType,u=t.isMobile,g=t.isLoading,v=t.DISCOVER_URL_FE,h=t.siteType,E=void 0===h?"helloSites":h,y=xt();return u?e.createElement(e.Fragment,null,g&&o?e.createElement(Ha,null,e.createElement(Yi,null)):e.createElement(Ha,{"data-is-displayed":o,"data-category-list-type":c},e.createElement(te,{tag:"h3",style:{marginBottom:8}},y("home.navigator.menuItem.healthCategories")),e.createElement(qa,null,i.map((function(t,l){return e.createElement("div",{key:c+"-category-"+l},e.createElement("a",{style:{textDecoration:"none",color:ae.colors.gray800},onClick:function(e){t.childCates&&t.childCates.length>0&&"sub"!==c&&e.preventDefault()},href:v+t.permalink},e.createElement(Pa,{onClick:function(){null==m||m(t)},"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(vo[a]).concat(t.permalink),"data-is-heading-category":"sub"===c&&t.childCates&&t.childCates.length>0},e.createElement(Oa,null,t.displayName),"main"===c&&e.createElement(Ga,null,"helloSites"===E?e.createElement("img",{src:"".concat(n,"/svg/chevronRight.svg"),style:{width:"16px",height:"16px"},alt:t.categoryName}):e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.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"===c&&t.childCates&&t.childCates.length>0&&t.childCates.map((function(t,a){return e.createElement("a",{style:{textDecoration:"none"},href:t.permalink,key:c+"-2-"+a},e.createElement(Pa,{"data-is-heading-category":"sub"===c&&t.childCates&&t.childCates.length>0},e.createElement(s,{size:"p3"},t.displayName)))}))))})),e.createElement("a",{style:{textDecoration:"none"},href:"".concat(v,"/categories/")},e.createElement(oa,{key:"all-categories","data-theme":E,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(v,"/categories/")},y("home.navigator.menuItem.allCategories"),e.createElement(ja,null,"helloSites"===E?e.createElement("img",{src:"".concat(n,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:y("home.navigator.menuItem.allCategories")}):e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M6.5 12H17.5M17.5 12L12.9118 8M17.5 12L12.9118 16",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"})))))),e.createElement(Xi,{isDisplayed:"main"===c,spotlights:r,isLoading:!1,isMobile:u,basePath:n,DISCOVER_URL_FE:v,locale:a,siteType:E}))):e.createElement(Za,{className:"top-menu-categories",onClick:d,"data-is-display":"categories"===p},e.createElement(za,null,e.createElement(G,{style:{padding:"0 16px"},type:E},e.createElement(Qa,{"data-popup-type":p,onClick:function(e){e.stopPropagation()}},e.createElement("div",null,e.createElement(te,{tag:"h3",style:{marginBottom:24}},y("home.navigator.menuItem.healthCategories")),e.createElement(_a,{"data-disabled-divider":0===r.length},i.map((function(t,n){return e.createElement(Ya,{style:{textDecoration:"none"},key:t.categoryName+n},e.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(vo[a]).concat(t.permalink),style:{textDecoration:"none",pointerEvents:"auto"},onClick:d,href:"".concat(v).concat(t.permalink)},t.displayName),e.createElement(Ka,null,t.childCates&&t.childCates.map((function(t,n){return e.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(vo[a]).concat(t.permalink),style:{textDecoration:"none",pointerEvents:"auto"},href:t.permalink,key:n},t.displayName)}))))})),e.createElement("a",{style:{textDecoration:"none"},href:"".concat(v,"/categories/")},e.createElement(oa,{onClick:d,key:"all-categories","data-theme":E,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(v,"/categories/")},y("home.navigator.menuItem.allCategories"),e.createElement(ja,null,"helloSites"===E?e.createElement("img",{src:"".concat(n,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:y("home.navigator.menuItem.allCategories")}):e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M6.5 12H17.5M17.5 12L12.9118 8M17.5 12L12.9118 16",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}))))))),e.createElement(Xi,{isDisplayed:"main"===c,spotlights:r,isLoading:!1,basePath:n,DISCOVER_URL_FE:v,locale:a,siteType:E}),e.createElement(Xa,{onClick:d},e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})))))))},$i=function(a){var n=a.isDisplayed,l=void 0!==n&&n,o=a.categories,i=a.type,r=a.onSelectCategory,c=a.desktopPopupType,s=a.isMobile,m=a.isLoading,d=a.MARRY_BABY_FE,p=t(-1),u=p[0],g=p[1],v=t(!1),h=v[0],E=v[1];return s?e.createElement(e.Fragment,null,m&&l?e.createElement(Ha,null,e.createElement(Yi,null)):e.createElement(Ha,{"data-is-displayed":l,"data-category-list-type":i,style:{marginTop:24}},e.createElement(Ja,{className:"marry-bb-menu-categories"},o.map((function(t,a){return e.createElement("div",{key:i+"-category-"+a,className:"wrapper-menu-category wrapper-menu-category-".concat(a),"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn".concat(t.permalink)},e.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn".concat(t.permalink),style:{textDecoration:"none",color:ae.colors.gray800},onClick:function(e){e.preventDefault()},href:"".concat(d).concat(t.permalink)},e.createElement($a,{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn".concat(t.permalink),onClick:function(){var e;"main"===i||0===(null===(e=t.childCates)||void 0===e?void 0:e.length)?null==r||r(t):u===a?(E(!0),setTimeout((function(){g(-1),setTimeout((function(){E(!1)}),100)}),300)):g(a)},style:{display:"flex",alignItems:"center",justifyContent:"space-between"}},"main"===i?e.createElement(en,{style:{backgroundColor:t.imageColor}},e.createElement("img",{src:t.iconUrl,style:{width:"24px",height:"24px"},alt:t.name})):e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.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"})),e.createElement(ua,{style:{fontWeight:ae.sizes.fwSemiBold},type:"subtitle-2"},t.displayName),e.createElement(tn,null),"main"===i?e.createElement(Ga,null,e.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M8.5 6L11 8.5L8.5 11",stroke:"#9495A0",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}))):e.createElement(Ga,null,u!==a?e.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M8.5 6L11 8.5L8.5 11",stroke:"#9495A0",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"})):e.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M11.5 7.5L9 10L6.5 7.5",stroke:"#2661AD",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}))))),"sub"===i&&t.childCates&&u===a&&t.childCates.length>0&&e.createElement(an,null,e.createElement("div",{className:h?"collapsing":"expanding"},t.childCates.map((function(a,n){return e.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn".concat(t.permalink),style:{textDecoration:"none"},href:"".concat(d).concat(a.permalink),key:i+"-2-"+n},e.createElement($a,{"data-is-heading-category":"sub"===i&&a.childCates&&a.childCates.length>0},e.createElement(nn,null,e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.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"})),e.createElement(ua,{type:"subtitle-2"},a.displayName))))})))),e.createElement("div",{style:{display:"none"}},t.childCates&&t.childCates.map((function(t,a){return e.createElement("a",{href:"".concat(d).concat(t.permalink),key:a,style:{textDecoration:"none"}},e.createElement("div",{"data-is-heading-category":"sub"===i&&t.childCates&&t.childCates.length>0},e.createElement("p",null,t.displayName)))}))))}))))):e.createElement(ln,{className:"top-menu-categories","data-is-display":"categories"===c,tabIndex:0},e.createElement(on,null),e.createElement(rn,{"data-popup-type":c},e.createElement(cn,{className:"marry-bb-menu-categories"},m?e.createElement("div",{style:{width:"100%",padding:"0 20px"}},e.createElement(Yi,null)):o.map((function(t,a){return e.createElement("div",{className:"wrapper-menu-category wrapper-menu-category-".concat(a),"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn".concat(t.permalink),key:i+"-category-"+a,onClick:function(){r(t)}},e.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn".concat(t.permalink),style:{textDecoration:"none",color:ae.colors.gray800},href:"".concat(d).concat(t.permalink)},e.createElement($a,{style:{display:"flex",alignItems:"center",justifyContent:"flex-start"}},e.createElement(en,{style:{backgroundColor:t.imageColor}},e.createElement("img",{src:t.iconUrl,style:{width:"24px",height:"24px"},alt:t.name})),e.createElement(ua,{style:{fontWeight:ae.sizes.fwSemiBold},type:"subtitle-2"},t.displayName))))})))))},er=function(t){var a=t.isDisplayed,n=void 0!==a&&a,l=t.locale,o=t.discoverApiDomain,i=t.basePath,r=t.categories,c=t.spotlightsList,s=t.type,m=t.onSelectCategory,d=t.onClosePopup,p=t.desktopPopupType,u=t.isMobile,g=t.isLoading,v=t.callApiHandler,h=t.DISCOVER_URL_FE,E=t.MARRY_BABY_FE,y=t.siteType,f=void 0===y?"helloSites":y;return"helloSites"===f?e.createElement(Ji,{locale:l,basePath:i,DISCOVER_URL_FE:h,isDisplayed:n,type:s,onSelectCategory:m,categories:r,spotlightsList:c,isLoading:g,isMobile:u,siteType:f,onClosePopup:d,desktopPopupType:p}):e.createElement($i,{basePath:i,callApiHandler:v,discoverApiDomain:o,isDisplayed:n,type:s,onSelectCategory:m,categories:r,isLoading:g,isMobile:u,MARRY_BABY_FE:E,desktopPopupType:p})},tr=function(){return e.createElement(sn,{style:{marginTop:"16px"}},e.createElement("div",null,e.createElement(Do,{height:46})),e.createElement("div",null,e.createElement(Do,{height:46})),e.createElement("div",null,e.createElement(Do,{height:46})))},ar=function(t){var a=t.isDisplayed,n=t.communities,l=t.type,o=t.onSelectCommunity,i=t.onClosePopup,r=t.isLoading,c=t.basePath,s=t.TOGETHER_URL_FE,m=t.siteType,d=void 0===m?"helloSites":m,p=t.isMobile,u=t.locale,g=t.desktopPopupType,v=xt();return p?e.createElement(e.Fragment,null,r&&a?e.createElement(mn,null,e.createElement(tr,null)):e.createElement(mn,{"data-category-list-type":l,"data-is-displayed":a},"main"===l&&n.map((function(t,a){return e.createElement("div",{key:l+"-category-"+a},e.createElement("a",{style:{textDecoration:"none",color:ae.colors.gray800},onClick:function(e){e.preventDefault()},href:"".concat(s,"/").concat(t.communitySlug)},e.createElement(dn,{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(vo[u],"/").concat(t.communitySlug),onClick:function(){o({community:t,isSetToSubMenu:!0})},"data-is-heading-category":!1},e.createElement(pn,null,e.createElement("img",{src:t.thumbnail,style:{width:"40px",height:"40px"},alt:t.title}),e.createElement(un,null,t.title)),e.createElement(gn,null,"helloSites"===d?e.createElement("img",{src:"".concat(c,"/svg/chevronRight.svg"),style:{width:"16px",height:"16px"},alt:t.title}):e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.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"===l&&n.map((function(t,a){return e.createElement("div",{key:l+"-category-"+a},e.createElement("a",{style:{textDecoration:"none",color:ae.colors.gray800},onClick:function(e){e.preventDefault()},href:"".concat(s,"/").concat(t.communitySlug)},e.createElement(dn,{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(vo[u],"/").concat(t.communitySlug),onClick:function(){o({community:t,isSetToSubMenu:!1})},"data-is-heading-category":!1},e.createElement(pn,null,e.createElement("img",{src:t.thumbnail,style:{width:"40px",height:"40px"},alt:t.title}),e.createElement(un,null,t.title)))))})),e.createElement("a",{style:{textDecoration:"none"},href:s+"/"},e.createElement(vn,{onClick:i,key:"all-communities","data-theme":d,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":s+"/"},v("home.navigator.menuItem.allCommunities"),e.createElement(hn,null,e.createElement("img",{src:"".concat(c,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:v("home.navigator.menuItem.allCommunities")})))))):e.createElement(En,{className:"top-menu-communities",onClick:i,"data-is-display":"communities"===g},e.createElement(yn,null,e.createElement(G,{style:{padding:"0 16px"},type:d},e.createElement(fn,{"data-popup-type":g,onClick:function(e){e.stopPropagation()}},e.createElement(e.Fragment,null,n.map((function(t){return e.createElement(Cn,{key:t.title,onClick:i},e.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(vo[u],"/").concat(t.communitySlug),style:{textDecoration:"none",color:ae.colors.gray800},className:"iconMenu",href:"".concat(s,"/").concat(t.communitySlug)},e.createElement("div",{style:{display:"flex"}},e.createElement("img",{alt:"health-tool-icon",src:t.thumbnail||"".concat(c,"/images/avatar.jpg"),style:{width:"32px",height:"32px"}})),e.createElement("p",null,t.title)))})),e.createElement("a",{style:{textDecoration:"none"},href:s+"/"},e.createElement(vn,{onClick:i,key:"all-communities","data-theme":d,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":s+"/"},v("home.navigator.menuItem.allCommunities"),e.createElement(hn,null,e.createElement("img",{src:"".concat(c,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:v("home.navigator.menuItem.allCommunities")}))))),e.createElement(kn,{onClick:i},e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})))))))},nr=function(t){var a=t.isDisplayed,n=void 0!==a&&a,l=t.communities,o=t.onSelectCommunity,i=t.isLoading,r=t.basePath,c=t.type,s=t.isMobile,m=t.onClosePopup,d=t.desktopPopupType,p=t.TOGETHER_URL_FE;return s?i&&n?e.createElement(mn,null,e.createElement(tr,null)):e.createElement(mn,{style:{marginTop:24},"data-category-list-type":c,"data-is-displayed":n},l.map((function(t,a){return e.createElement("a",{className:"wrapper-menu-community wrapper-menu-community-".concat(a," iconMenu"),key:"community-"+a,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn/community/".concat(t.communitySlug)},e.createElement(bn,{onClick:function(){o({community:t,isSetToSubMenu:!1})}},e.createElement(wn,null,e.createElement("img",{alt:"health-tool-icon",src:t.thumbnail||"".concat(r,"/images/avatar.jpg"),style:{width:"24px",height:"24px"}})),e.createElement(un,null,t.title)))}))):e.createElement(Ln,{className:"top-menu-communities",onClick:m,"data-is-display":"communities"===d},e.createElement(An,null),e.createElement(Sn,{"data-popup-type":d,onClick:function(e){e.stopPropagation()}},e.createElement(Nn,null,i?e.createElement("div",{style:{width:"100%",padding:"0 20px"}},e.createElement(tr,null)):l.map((function(t,a){return e.createElement("a",{className:"wrapper-menu-community wrapper-menu-community-".concat(a," iconMenu"),"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn/community/".concat(t.communitySlug),style:{textDecoration:"none",color:ae.colors.gray800},href:"".concat(p,"/").concat(t.communitySlug),key:t.title},e.createElement(bn,{onClick:m},e.createElement(wn,{style:{backgroundColor:t.color||ae.mbColors.lightGray}},e.createElement("img",{alt:t.communitySlug,src:t.thumbnail||"".concat(r,"/images/avatar.jpg"),style:{width:"24px",height:"24px"}})),e.createElement(ua,{style:{fontWeight:ae.sizes.fwSemiBold},type:"subtitle-2"},t.title)))})))))},lr=function(t){var a=t.isDisplayed,n=void 0!==a&&a,l=t.locale,o=t.communities,i=t.type,r=t.onSelectCommunity,c=t.onClosePopup,s=t.isLoading,m=t.basePath,d=t.TOGETHER_URL_FE,p=t.siteType,u=void 0===p?"helloSites":p,g=t.isMobile,v=t.desktopPopupType,h=t.togetherApiDomain;return"helloSites"===u?e.createElement(ar,{isDisplayed:n,locale:l,TOGETHER_URL_FE:d,basePath:m,type:i,onSelectCommunity:r,communities:o,isLoading:s,isMobile:g,siteType:u,togetherApiDomain:h,desktopPopupType:v,onClosePopup:c}):e.createElement(nr,{isDisplayed:n,locale:l,TOGETHER_URL_FE:d,basePath:m,type:i,onSelectCommunity:r,communities:o,isLoading:s,isMobile:g,togetherApiDomain:h,desktopPopupType:v,onClosePopup:c})},or=function(){return e.createElement(xn,{style:{marginTop:"16px"}},e.createElement("div",null,e.createElement(Do,{height:46})),e.createElement("div",null,e.createElement(Do,{height:46})),e.createElement("div",null,e.createElement(Do,{height:46})))},ir=function(t){var a=t.healthTools,n=t.onSelectHealthTool,l=t.basePath,o=t.isDesktop,i=t.onClosePopup,r=t.HEALTH_TOOL_URL_FE,c=t.locale,s=t.isGrouped;return(null==a?void 0:a.length)?o?e.createElement(e.Fragment,null,a.map((function(t,a){return e.createElement(In,{"data-grouped":s,key:t.title,onClick:i},e.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(vo[c]).concat(t.link),style:{textDecoration:"none",color:ae.colors.gray800},className:"iconMenu",href:t.link.startsWith("http")?t.link:"".concat(r).concat(t.link)},e.createElement("div",{style:{display:"flex"}},e.createElement("img",{alt:"health-tool-icon",src:t.icon||"/images/avatar.jpg",style:{width:"32px",height:"32px"}})),e.createElement("p",null,t.title)))}))):e.createElement(e.Fragment,null,a.map((function(t,a){return e.createElement("a",{key:"tool-"+a},e.createElement(Hn,{onClick:function(){n(t)},"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(vo[c]).concat(t.link)},e.createElement(qn,null,e.createElement("img",{alt:"health-tool-icon",src:t.icon||"".concat(l,"/images/avatar.jpg"),style:{width:"32px",height:"32px"}})),e.createElement(Pn,null,t.title)))}))):null},rr=function(t){var a,n,l,o,i=t.isDisplayed,r=t.healthTools,c=t.healthToolsByCategory,s=t.onSelectHealthTool,m=t.isLoading,d=t.basePath,p=t.locale,u=t.isMobile,g=t.onClosePopup,v=t.desktopPopupType,h=t.HEALTH_TOOL_URL_FE,E=t.STATIC_PAGES,y=t.siteType,f=xt();return u?e.createElement(e.Fragment,null,m&&i?e.createElement(Tn,null,e.createElement(or,null)):e.createElement(Tn,{"data-category-list-type":"main","data-is-displayed":i},(null==c?void 0:c.length)?c.map((function(t,a){var n;return!!(null===(n=t.healthTools)||void 0===n?void 0:n.length)&&e.createElement(e.Fragment,{key:"category-health-tool-".concat(a)},e.createElement(te,{tag:"h4",fontWeight:"bold",className:"title"},e.createElement("span",{dangerouslySetInnerHTML:{__html:t.name}})),e.createElement(ir,{healthTools:t.healthTools.slice(0,4),onSelectHealthTool:s,basePath:d,HEALTH_TOOL_URL_FE:h,locale:p}))})):e.createElement(ir,{healthTools:r,onSelectHealthTool:s,basePath:d,HEALTH_TOOL_URL_FE:h,locale:p}),e.createElement(Bn,null,e.createElement("a",{href:"".concat(h).concat((null===(a=E[p])||void 0===a?void 0:a.HEALTH_TOOLS)||""),style:{textDecoration:"none"}},e.createElement(Fn,{key:"all-health-tools-mobile","data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(h).concat((null===(n=E[p])||void 0===n?void 0:n.HEALTH_TOOLS)||"")},f("home.navigator.menuItem.allHealthTools"),e.createElement(Mn,null,e.createElement("img",{src:"".concat(d,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:f("home.navigator.menuItem.allHealthTools")}))))))):e.createElement(Un,{className:"top-menu-health-tools",onClick:g,"data-is-display":"tools"===v},e.createElement(Wn,null,e.createElement(G,{style:{padding:"0 16px"}},e.createElement(Dn,{"data-popup-type":v,onClick:function(e){e.stopPropagation()}},e.createElement(e.Fragment,null,(null==c?void 0:c.length)?c.map((function(t,a){var n;return!!(null===(n=t.healthTools)||void 0===n?void 0:n.length)&&e.createElement(Vn,{key:"health-tools-categories-".concat(a)},e.createElement(te,{tag:"h4",as:"h2",fontWeight:"bold"},e.createElement("span",{dangerouslySetInnerHTML:{__html:t.name}})),e.createElement(ir,{healthTools:t.healthTools.slice(0,4),onSelectHealthTool:s,basePath:d,HEALTH_TOOL_URL_FE:h,locale:p,isDesktop:!0,isGrouped:!0,onClosePopup:g}))})):e.createElement(ir,{healthTools:r,onSelectHealthTool:s,basePath:d,HEALTH_TOOL_URL_FE:h,locale:p,isDesktop:!0,onClosePopup:g}),e.createElement("a",{style:{textDecoration:"none"},href:"".concat(h).concat((null===(l=E[p])||void 0===l?void 0:l.HEALTH_TOOLS)||"")},e.createElement(Fn,{onClick:g,key:"all-health-tools","data-theme":y,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(h).concat((null===(o=E[p])||void 0===o?void 0:o.HEALTH_TOOLS)||"")},f("home.navigator.menuItem.allHealthTools"),e.createElement(Mn,null,e.createElement("img",{src:"".concat(d,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:f("home.navigator.menuItem.allHealthTools")}))))),e.createElement(Rn,{onClick:g},e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})))))))},cr=function(t){var a=t.isDisplayed,n=void 0!==a&&a,l=t.healthTools,o=t.onSelectHealthTool,i=t.isLoading,r=t.basePath,c=t.isMobile,s=t.onClosePopup,m=t.HEALTH_TOOL_URL_FE,d=t.desktopPopupType;return c?i&&n?e.createElement(Tn,null,e.createElement(or,null)):e.createElement(Tn,{style:{marginTop:24},"data-category-list-type":"main","data-is-displayed":n},l.map((function(t,a){return e.createElement("a",{key:"tool-"+a,className:"wrapper-menu-health-tool wrapper-menu-health-tool-".concat(a),"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://https://marrybaby.vn".concat(t.link)},e.createElement(On,{onClick:function(){o(t)}},e.createElement(Gn,null,e.createElement("img",{alt:"health-tool-icon",src:t.icon||"".concat(r,"/images/avatar.jpg"),style:{width:"24px",height:"24px"}})),e.createElement(Pn,null,t.title)))}))):e.createElement(jn,{className:"top-menu-health-tools",onClick:s,"data-is-display":"tools"===d},e.createElement(Zn,null),e.createElement(zn,{"data-popup-type":d,onClick:function(e){e.stopPropagation()}},e.createElement(Qn,null,i?e.createElement("div",{style:{width:"100%",padding:"0 20px"}},e.createElement(or,null)):l.map((function(t,a){return e.createElement("a",{className:"wrapper-menu-health-tool wrapper-menu-health-tool-".concat(a," iconMenu"),"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn".concat(t.link),style:{textDecoration:"none",color:ae.colors.gray800},href:t.link.startsWith("http")?t.link:"".concat(m).concat(t.link),key:t.title,onClick:function(e){e.stopPropagation()}},e.createElement(On,{onClick:s},e.createElement(Gn,null,e.createElement("img",{alt:t.title,src:t.icon||"/images/avatar.jpg",style:{width:"24px",height:"24px"}})),e.createElement(ua,{style:{fontWeight:ae.sizes.fwSemiBold},type:"subtitle-2"},t.title)))})))))},sr=function(t){var a=t.isDisplayed,n=void 0!==a&&a,l=t.healthTools,o=t.healthToolsByCategory,i=t.onSelectHealthTool,r=t.isLoading,c=t.basePath,s=t.locale,m=t.isMobile,d=t.onClosePopup,p=t.desktopPopupType,u=t.HEALTH_TOOL_URL_FE,g=t.siteType,v=t.discoverApiDomain,h=t.STATIC_PAGES;return"helloSites"===g?e.createElement(rr,{isDisplayed:n,locale:s,basePath:c,discoverApiDomain:v,HEALTH_TOOL_URL_FE:u,onSelectHealthTool:i,healthTools:l,healthToolsByCategory:o,isLoading:r,isMobile:m,siteType:g,desktopPopupType:p,onClosePopup:d,STATIC_PAGES:h}):e.createElement(cr,{isDisplayed:n,basePath:c,discoverApiDomain:v,HEALTH_TOOL_URL_FE:u,onSelectHealthTool:i,healthTools:l||o.reduce((function(e,t){return e.concat(t.healthTools)}),[]),isLoading:r,isMobile:m,desktopPopupType:p,onClosePopup:d})},mr=function(){return e.createElement(e.Fragment,null,e.createElement(_n,null,e.createElement("div",null,e.createElement(Do,{height:109})),e.createElement("div",null,e.createElement(Do,{height:109})),e.createElement("div",null,e.createElement(Do,{height:109})),e.createElement("div",null,e.createElement(Do,{height:109})),e.createElement("div",null,e.createElement(Do,{height:109})),e.createElement("div",null,e.createElement(Do,{height:109}))))},dr=function(t){var a=t.specialty,n=t.id,l=t.isActive,o=void 0!==l&&l,i=t.position,r=t.className,c=t.onClick;return a.name&&""!==a.name?e.createElement(Yn,{onClick:function(){c&&c(n)},className:r,"data-is-active":o,"data-card-position":i},e.createElement("img",{src:a.thumbnail,style:{objectFit:"contain",height:"55px",width:"55px"},alt:"category-menu-card"}),e.createElement(s,{type:"bold",size:"label2"},a.name)):e.createElement(mr,null)};function pr(){return e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M14.5 17L9.5 12L14.5 7",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}))}function ur(){return e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"}))}function gr(t){var a=t.siteType,n=t.type;return"helloSites"===a?e.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:n}):e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.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 vr(t){var a,n,l=t.type,o=t.isStatic,i=t.isAmp,r=t.isDisplayed,c=t.siteType,m=t.isCollapsed,d=t.sitewideBannerShown,p=t.sitewideBanner,u=t.sitewideBannerClosed,g=t.setSitewideBannerClosed,v=t.isMobile,h=t.onMenuClick,E=t.menu,y=t.isSearchIconDisplayed,f=t.statics,C=f.DISCOVER_URL_FE,k=f.SSO_URL,b=f.HOME_PAGE_URL,w=f.CARE_URL_FE,L=t.basePath,A=t.languageMenu,S=t.enabledExperimentalCareHeader,N=t.onCareHeaderClick,x=t.logoType,T=t.locale,B=t.isInit,F=t.title,M=t.sponsorComponent,U=t.currentUrl,W=t.userInfo,D=t.currentPopupType,V=t.avatar,R=t.profileMenu,I=t.isLoginButtonDisplayed,H=t.goToLogin,q=t.isSearchBarDisplay,G=t.searchPlaceholder,Z=t.onSearchValueChanged,z=t.keyPressed,Q=xt(),_=!!M,Y=!!(null===(n=null===(a=null==M?void 0:M.props)||void 0===a?void 0:a.sponsoredBy)||void 0===n?void 0:n.length),K=d&&!!p&&!u,X=hr({isSiteWide:!!p&&!u,isShowingSiteWideBanner:K,isSponsored:_,hasSponsoredBanners:Y,isMobile:!0}),J=X.headerRef,$=X.headerHeight;return e.createElement(e.Fragment,null,e.createElement(Kn,{"data-header-type":l,"data-collapsed":!o&&m,"data-with-search-input":"popup-sub-level"!==l,"data-is-displayed":r,"data-is-amp":i,"data-sponsored":_,"data-site-type":c,"data-sitewide-banner-shown":K,id:"site-header",ref:J},p?e.isValidElement(p)?e.cloneElement(p,{isCollapsed:m,setBannerClosed:g,isAmp:i,isMobile:v}):p:null,e.createElement("div",{style:j(j({position:"relative",height:64,display:"flex",alignItems:"center",justifyContent:"helloSites"===c?"center":"flex-start",background:"white"},"marryBaby"===c?{paddingLeft:66}:{}),void 0!==A||S?{paddingLeft:S?48:64,gap:24,justifyContent:"unset"}:{})},e.createElement(Xn,null,e.createElement(Jn,{on:"tap:discover-amp-sidebar",role:"button",className:"menu-handler",tabIndex:0},e.createElement("div",{onClick:function(){return null==h?void 0:h("categories")}},"home"===l&&e.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"Hamburger Navigation URL"},e.createElement(gr,{siteType:c,type:l})),"popup"===l&&e.createElement(ur,null),"popup-sub-level"===l&&e.createElement(pr,null)),E),y&&"helloSites"===c&&"home"===l&&e.createElement(Jn,{style:{paddingRight:16}},e.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click",style:{paddingRight:16,paddingTop:8,position:"relative"},href:"".concat(b,"/search?s=&page=1")},e.createElement("img",{src:"".concat(L,"/images/search.svg"),style:{width:"24px",height:"24px"},alt:l}),e.createElement("input",{style:{width:"32px",height:"32px",position:"absolute",left:"-2px",bottom:"0",opacity:0,zIndex:1e4}})))),"popup"!==l&&e.createElement($n,{"data-is-profile":!0,className:B?"":"menu-handler-health-tools"},e.createElement("div",{className:"menu-handler-item"},y&&"marryBaby"===c&&"home"===l&&e.createElement(Jn,{style:{justifySelf:"flex-end"}},e.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click",style:{display:"flex"},href:"".concat(C,"/search?s=&page=1")},e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.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"})),e.createElement("input",{style:{width:"32px",height:"32px",position:"absolute",left:"-2px",bottom:"0",opacity:0}}))),S&&e.createElement(e.Fragment,null,N?e.createElement(ee,{size:"sm",color:"primary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:U,onClick:N},Q("login.booking")):e.createElement("a",{href:w,className:"care-button"},e.createElement(ee,{size:"sm",color:"primary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:U},Q("login.booking")))),(null==W?void 0:W.id)?e.createElement(el,{style:{position:"relative"}},e.createElement("div",{onClick:function(){return h&&h("profile")}},"profile"===D?e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})):V),R):i?e.createElement("a",{"data-vars-event-category":"Sign Up","data-vars-event-action":"Button Click","data-vars-event-label":U,href:"".concat(k,"?returnUrl=").concat(U.replace("?amp=1","")),style:{textDecoration:"none"}},"vi-VN"===T?e.createElement(tl,{onClick:H},e.createElement("img",{src:Uo,className:"avatar",alt:"avatar"})):e.createElement(ee,{className:"login-btn-mobile",size:"sm",color:"secondary",onClick:H},Q("navigation.loginJoin"))):I&&e.createElement("a",{"data-event-category":"Sign Up","data-event-action":"Button Click","data-event-label":U},S?e.createElement(tl,{onClick:H},e.createElement("img",{src:Uo,className:"avatar",alt:"avatar"})):"helloSites"===c?e.createElement(ee,{className:"login-btn-mobile",size:"sm",color:"secondary",onClick:H},Q("navigation.loginJoin")):e.createElement("div",{className:"login-btn-mobile",onClick:H,style:{paddingLeft:16}},e.createElement(s,{size:"p3"},Q("navigation.loginJoin")))))),("home"===l||"popup"===l)&&e.createElement("a",{href:b||""},e.createElement(O,{type:x,height:"27px",width:"121px",style:{display:"flex"},badge:"id-ID"===T?e.createElement("img",{src:xo,style:{width:56,height:23,maxWidth:56},width:"56",height:"23"}):void 0})),void 0!==A&&e.createElement(al,{"data-is-active":!0,className:B?"":"menu-handler-language",onClick:function(){h&&h("language")}},A),F&&e.createElement(te,{className:"top-bar-header",tag:"h5"},F)),M?e.isValidElement(M)?e.cloneElement(M,{isCollapsed:m,locale:T,isMobile:v,isAmp:i}):M:null),q?e.createElement(nl,{"data-header-type":l,"data-is-displayed":r,"data-sitewide-banner-shown":d&&!!p},e.createElement(P,{style:{minHeight:"auto",minWidth:"100%",padding:"0 16px"},name:"search-input-"+l+(B?"":"-temp"),size:"md",placeholder:G,onChange:Z,onKeyPress:z,type:"search",autoFocus:!1,displayIcon:e.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click"},e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.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"}),e.createElement("path",{d:"M20 20L16 16",stroke:"#8C8C8C",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})))})):e.createElement(e.Fragment,null,!i&&e.createElement("div",{style:{height:$}})))}var hr=function(e){var o=e.hasSponsoredBanners,r=e.isSiteWide,c=e.isSponsored,s=e.isShowingSiteWideBanner,m=e.isMobile,d=a(null),p=t(0),u=p[0],g=p[1],v=i(mo((function(){var e,t=(null===(e=d.current)||void 0===e?void 0:e.clientHeight)||0;window.scrollY<=t+30&&g(t)}),100),[]);l((function(){return window.addEventListener("resize",v),window.addEventListener("scroll",v),function(){window.removeEventListener("resize",v),window.removeEventListener("scroll",v)}}),[]),l((function(){v()}),[r,s,c,o,d.current]);var h=n((function(){var e=m?64:69;return s&&(e+=64),c&&(e+=40),e}),[m,s,c]);return{headerHeight:u||h,headerRef:d}},Er=function(o){var r,c,s,m=o.siteType,d=o.basePath,p=o.statics,u=o.currentPopupType,g=void 0===u?"none":u,v=o.isDisplayed,h=void 0===v||v,E=o.isSearchBarDisplay,y=void 0===E||E,f=o.searchPlaceholder,C=void 0===f?"":f,k=o.openPopup,b=o.onTopBarAppears,w=o.onSearchChange,L=o.onSearchKeyPress,A=o.menu,S=o.isAmp,N=o.profileMenu,x=o.isMobile,T=void 0!==x&&x,B=o.isLoginButtonDisplayed,F=o.title,M=o.type,U=void 0===M?"home":M,W=o.onMenuClick,D=o.isStatic,V=void 0!==D&&D,R=o.routerAsPath,I=o.locale,H=o.userInfo,q=o.marryBaby,j=(void 0===q?{tone:"white"}:q).tone,Z=o.menuItems,z=void 0===Z?[]:Z,Q=o.isInit,_=o.sitewideBanner,Y=o.sitewideBannerShown,K=void 0===Y||Y,X=o.sponsorComponent,J=o.languageMenu,$=o.isSearchIconDisplayed,te=void 0!==$&&$,ne=o.enabledExperimentalCareHeader,le=o.onCareHeaderClick,oe=p.SSO_URL,ie=p.HOME_PAGE_URL,re=p.CARE_URL_FE,ce=xt(),se=!!X,me=t(!1),de=me[0],pe=me[1],ue=t(!1),ge=ue[0],ve=ue[1],he=t(!1),Ee=he[0],ye=he[1],fe=t(Q||!1),Ce=fe[0],ke=fe[1],be=a(47),we=a(!1),Le=a(!1),Ae="helloSites"===m?"https://".concat(vo[I]).concat(R):"https://www.marrybaby.vn".concat(R),Se=n((function(){var t=(null==H?void 0:H.name)||(null==H?void 0:H.username);return e.createElement(Bt,{type:"rounded",size:"small",avatarUrl:null==H?void 0:H.avatar,firstLetter:t&&t.length?t[0].toUpperCase():"A",backgroundColor:"marryBaby"===m?ae.mbColors.pink:ae.colors.secondaryBase,isAmp:S})}),[null==H?void 0:H.username,null==H?void 0:H.name,null==H?void 0:H.avatar]),Ne=function(){var e=window.location.href;window.location.href=oe?"".concat(oe,"?returnUrl=").concat(e):e},xe="helloSites"===m?null===(r=uo[I])||void 0===r?void 0:r.LOGO_TYPE:m,Te="undefined"!=typeof window,Be=function(e){null==w||w(e)},Fe=i(so((function(){var e;if("home"===U){var t=window,a=null===(e=document.querySelector(".sticky-container"))||void 0===e?void 0:e.clientHeight;Te&&t&&(t.scrollY>be.current&&t.scrollY>64&&!we.current&&(we.current=!0,pe(!0)),t.scrollY<be.current&&we.current&&(we.current=!1,pe(!1),a&&t.scrollY),t.scrollY<be.current&&a&&t.scrollY,y?(t.scrollY<64&&t.scrollY<be.current&&Le.current&&(Le.current=!1),t.scrollY>8&&t.scrollY>be.current&&!Le.current&&(Le.current=!0)):Le.current=!0,t.scrollY>=0&&(be.current=t.scrollY))}}),300),[]);l((function(){null==b||b(!de)}),[de]);var Me=function(e){var t,a;L&&L(e,null!==(a=null===(t=document.getElementById("search-input-"+U))||void 0===t?void 0:t.value)&&void 0!==a?a:"")};l((function(){T&&Fe()}),[]),l((function(){return window.addEventListener("scroll",Fe,{passive:!0}),function(){window.removeEventListener("scroll",Fe)}}),[]),l((function(){ke(!0)}),[]),l((function(){"undefined"!=typeof window&&ye(Boolean(Ee))}),[]);var Ue=e.createElement(e.Fragment,null,z.find((function(e){return"categories"===e.id}))&&e.createElement(al,{"data-is-active":"categories"===g,className:Ce?"":"menu-handler-categories",tabIndex:0,onClick:function(){null==k||k("categories"),setTimeout((function(){var e,t;null===(t=null===(e=document.getElementsByClassName("top-menu-categories"))||void 0===e?void 0:e[0])||void 0===t||t.focus()}),100)}},e.createElement("div",{className:"menu-handler-item"},ce("home.navigator.menuItem.discover"),e.createElement(ll,null,e.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M11.5 7.5L9 10L6.5 7.5",stroke:"#202135",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"})))),"categories"===g&&e.createElement("div",null,A)),z.find((function(e){return"healthTools"===e.id}))&&e.createElement(al,{"data-is-active":"tools"===g,className:Ce?"":"menu-handler-health-tools",tabIndex:0},e.createElement("div",{className:"menu-handler-item",onClick:function(){k&&k("tools")}},ce("home.navigator.menuItem.healthTools"),e.createElement(ll,null,e.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M11.5 7.5L9 10L6.5 7.5",stroke:"#202135",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"})))),"tools"===g&&e.createElement("div",null,A)),z.find((function(e){return"care"===e.id}))&&!ne&&e.createElement(al,{"data-is-active":"care"===g,className:Ce?"":"menu-handler-care-specialties",tabIndex:0},e.createElement("div",{className:"menu-handler-item",onClick:function(){k&&k("care")}},ce("home.navigator.menuItem.helloCare"),e.createElement(ll,null,e.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M11.5 7.5L9 10L6.5 7.5",stroke:"#202135",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"})))),"care"===g&&e.createElement("div",null,A)),z.find((function(e){return"together"===e.id}))&&e.createElement(al,{"data-is-active":"communities"===g,className:Ce?"":"menu-handler-communities",tabIndex:0},e.createElement("div",{className:"menu-handler-item",onClick:function(){k&&k("communities")}},ce("home.navigator.menuItem.helloTogether"),e.createElement(ll,null,e.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M11.5 7.5L9 10L6.5 7.5",stroke:"#202135",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"})))),"communities"===g&&e.createElement("div",null,A))),We=!!(null===(s=null===(c=null==X?void 0:X.props)||void 0===c?void 0:c.sponsoredBy)||void 0===s?void 0:s.length),De=K&&!!_&&!ge,Ve=hr({isSiteWide:!!_&&!ge,isShowingSiteWideBanner:De,isSponsored:se,hasSponsoredBanners:We}),Re=Ve.headerRef,Ie=Ve.headerHeight;return T?e.createElement(vr,{type:U,isStatic:V,isAmp:S,isDisplayed:h,siteType:m,isCollapsed:de,sitewideBannerShown:K,sitewideBanner:_,sitewideBannerClosed:ge,setSitewideBannerClosed:ve,isMobile:T,onMenuClick:W,menu:A,isSearchIconDisplayed:te,statics:p,basePath:d,languageMenu:J,enabledExperimentalCareHeader:ne,logoType:xe,locale:I,isInit:Ce,title:F,sponsorComponent:X,currentUrl:Ae,userInfo:H,currentPopupType:g,avatar:Se,profileMenu:N,isLoginButtonDisplayed:B,goToLogin:Ne,isSearchBarDisplay:y,searchPlaceholder:C,onSearchValueChanged:Be,keyPressed:Me}):e.createElement(e.Fragment,null,e.createElement("div",{style:{height:Ie}}),e.createElement(ol,{ref:Re,"data-site-type":m,"data-marry-baby-tone":"marryBaby"===m&&j,"data-sponsored":se,"data-sitewide-banner-shown":De},_?e.isValidElement(_)?e.cloneElement(_,{isCollapsed:de,setBannerClosed:ve}):_:null,e.createElement(G,{style:{height:69,padding:"0 16px"},type:m},e.createElement(il,null,e.createElement(rl,null,e.createElement("a",{href:ie},e.createElement(cl,{"data-is-having-border":"helloSites"===m},e.createElement(O,{style:{display:"flex"},type:xe,height:"27px",width:"121px",badge:"id-ID"===I?e.createElement("img",{src:xo,style:{width:56,height:23,maxWidth:56},width:"56",height:"23"}):void 0}))),y&&"helloSites"===m&&e.createElement(sl,{"data-header-type":U,"data-is-displayed":h,"data-sitewide-banner-shown":K&&!!_},e.createElement(P,{style:{minHeight:"32px",maxHeight:"32px",minWidth:"100%",backgroundColor:ae.colors.white},name:"search-input-"+U+(Ce?"":"-temp"),autoFocus:!1,size:"sm",placeholder:C,onChange:Be,onKeyPress:Me,displayIcon:e.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click",style:{width:"24px",height:"24px",transform:"scale(0.8)"}},e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.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"===m&&e.createElement("div",{style:{marginLeft:28,display:"flex"}},Ue)),e.createElement(ml,null,"helloSites"===m&&Ue,y&&"marryBaby"===m&&e.createElement(sl,{"data-header-type":U,"data-is-displayed":h,"data-is-styled-borderless":"marryBaby"===m,"data-marry-baby-theme":j},e.createElement(P,{style:{minHeight:"40px",maxHeight:"40px",minWidth:"100%",borderRadius:16},name:"search-input-"+U+(Ce?"":"-temp"),autoFocus:!1,size:"sm",placeholder:C,onChange:Be,onKeyPress:Me,displayIcon:e.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click",style:{width:"24px",height:"24px"}},e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.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!==J&&e.createElement(al,{"data-is-active":!0,className:Ce?"":"menu-handler-language",onClick:function(){k&&k("language")}},J),e.createElement($n,{"data-is-active":"profile"===g,"data-is-profile":!0,className:Ce?"":"menu-handler-health-tools",tabIndex:0},e.createElement("div",{className:"menu-handler-item"},ne&&e.createElement(e.Fragment,null,le?e.createElement(ee,{className:"login-btn-mobile",size:"sm",color:"secondary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:Ae,onClick:le},ce("login.booking")):e.createElement("a",{href:re,className:"care-button no-replace-click"},e.createElement(ee,{className:"login-btn-mobile",size:"sm",color:"secondary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:Ae},ce("login.booking")))),(null==H?void 0:H.id)?e.createElement(el,{style:{position:"relative"}},e.createElement("div",{onClick:function(){return k&&k("profile")}},Se),N):B&&e.createElement("a",{"data-event-category":"Sign Up","data-event-action":"Button Click","data-event-label":Ae},ne?e.createElement(tl,{onClick:Ne},e.createElement("img",{src:Uo,className:"avatar",alt:"avatar"})):"helloSites"===m?e.createElement(ee,{size:"md",color:"secondary",onClick:Ne},ce("navigation.loginJoin")):e.createElement(ee,{size:"md",color:"secondary",theme:"marryBaby",onClick:Ne},ce("navigation.loginJoin")))))))),X?e.isValidElement(X)?e.cloneElement(X,{isCollapsed:de,locale:I,isMobile:T,isAmp:S}):X:null))},yr=function(t){var a=t.selectedMenuMainItem,n=t.spotlightsList,l=t.locale,o=t.basePath,i=t.callApiHandler,r=t.discoverApiDomain,c=t.DISCOVER_URL_FE,s=t.MARRY_BABY_FE,m=t.onSelectCategory,d=t.isMobile,p=t.siteType,u=t.onCategoryClick,g=xt(),v=a.childCates,h=a.categoryName;return e.createElement(dl,{"data-type":"sub-level","data-with-search-input":!1},e.createElement(pl,null,e.createElement(er,{isDisplayed:!0,locale:l,basePath:o,callApiHandler:i,discoverApiDomain:r,DISCOVER_URL_FE:c,MARRY_BABY_FE:s,categories:v||[],spotlightsList:n,type:"sub",onSelectCategory:m,isMobile:d,siteType:p,desktopPopupType:"none",isLoading:!1,onClosePopup:void 0}),e.createElement(ul,{"data-site-type":p},e.createElement(ee,{onClick:u,className:"category-button",size:"md",theme:p},e.createElement(gl,null,e.createElement("div",null,g("home.menu.category.view",{category:h})),"helloSites"===p?e.createElement("img",{src:Hi,style:{width:"16px",height:"16px"},className:"button-image",alt:g("home.menu.category.view",{category:h})}):e.createElement("svg",{width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M7 12H18M18 12L13.4118 8M18 12L13.4118 16",stroke:"white",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"})))))))},fr=function(a){var n=a.selectedMenuMainItem,o=a.onCommunityClick,i=a.onSelectCommunity,r=a.basePath,c=void 0===r?"":r,s=a.callApiHandler,m=a.togetherApiDomain,d=a.locale,p=a.TOGETHER_URL_FE,u=a.siteType,g=a.isMobile,v=xt(),h=t([]),E=h[0],y=h[1],f=t(!1),C=f[0],k=f[1],b=n.communityId,w=n.title;return l((function(){k(!0),Q(void 0,void 0,void 0,(function(){var e,t,a,n,l;return _(this,(function(o){switch(o.label){case 0:return[4,s("helloSites"===u?Mt(d,m,{communityId:b}):Ut(d,m,{communityId:b}),"GET")];case 1:return null!==(e=o.sent())&&(null===(l=null===(n=null===(a=null==e?void 0:e.data)||void 0===a?void 0:a.data)||void 0===n?void 0:n.topics)||void 0===l?void 0:l.length)>0&&(t=e.data.data.topics.map(Ft),y(t)),k(!1),[2]}}))}))}),[n]),e.createElement(dl,{"data-type":"sub-level","data-with-search-input":!1},e.createElement(pl,null,e.createElement(lr,{isDisplayed:!0,locale:d,communities:E,type:"sub",onSelectCommunity:i,isLoading:C,basePath:c,TOGETHER_URL_FE:p,togetherApiDomain:m,siteType:u,isMobile:g,desktopPopupType:"none",onClosePopup:void 0}),e.createElement(ul,null,e.createElement(ee,{onClick:o,className:"category-button",size:"md"},e.createElement(gl,null,e.createElement("div",null,v("home.menu.category.view",{category:w})),e.createElement("img",{src:Hi,style:{width:"16px",height:"16px"},className:"button-image",alt:v("home.menu.category.view",{category:w})}))))))},Cr=function(a){var n=a.isMobile,o=void 0!==n&&n,i=a.isMobileMenuOpened,r=void 0===i?void 0:i,c=a.categories,s=a.healthTools,m=a.healthToolsByCategory,d=a.careSpecialties,p=a.togetherCommunities,u=a.spotlightsList,g=a.closePopup,v=a.popupType,h=void 0===v?"none":v,E=a.onMobileMenuClick,y=a.footer,f=a.care.CARE_URL_FE,C=a.discover,k=C.discoverApiDomain,b=C.DISCOVER_URL_FE,w=a.together,L=w.togetherApiDomain,A=w.TOGETHER_URL_FE,S=a.sso.SSO_URL,N=a.statics,x=N.MARRY_BABY_FE,T=N.HOME_PAGE_URL,B=N.STATIC_PAGES,F=N.HEALTH_TOOL_URL_FE,M=a.marryBaby.tone,U=a.locale,W=a.siteType,D=a.basePath,V=a.callApiHandler,R=a.activeMenuService,I=a.menuItems,H=a.routerAsPath,q=xt(),O=t(!1),G=O[0],j=O[1],Z=t(c),z=Z[0],Q=Z[1],_=t(void 0),Y=_[0],K=_[1],X=t(void 0),J=X[0],$=X[1],ee=t(!1),ne=ee[0],le=ee[1],oe=t(null==I?void 0:I.find((function(e){return e.id===R}))),ie=oe[0],re=oe[1],ce=t(!1),se=ce[0],me=ce[1],de=t(!1),pe=de[0],ue=de[1],ge=function(){Y&&(window.location.href=Y.permalink),Ce(),g&&g()},ve=function(){Y&&(window.location.href="".concat(A,"/").concat(Y.communitySlug)),Ce(),g&&g()},he=function(e){e.childCates&&e.childCates.length>0?(j(!0),K(e)):(window.location.href="helloSites"===W?b+e.permalink:x+e.permalink,Ce(),g&&g())},Ee=function(e){var t=e.community;e.isSetToSubMenu?(j(!0),K(t)):(window.location.href="".concat(A,"/").concat(t.communitySlug),Ce(),g&&g())},ye=function(e){window.location.href=e.link.startsWith("http")?e.link:F+e.link,Ce(),g&&g()},fe=function(e){window.location.href=f+Tt({type:"DOCTOR",specialtySlug:e.slug,locale:U}),null==g||g()},Ce=function(){K(void 0),j(!1)},ke=function(e){re(I.find((function(t){return t.id===e})))},be=uo[U||"en-PH"]||{};return l((function(){var t;$("categories"===ie.id?(null===(t=null==Y?void 0:Y.childCates)||void 0===t?void 0:t.length)>0&&e.createElement(yr,{selectedMenuMainItem:Y,spotlightsList:[],locale:U,basePath:D,callApiHandler:V,discoverApiDomain:k,DISCOVER_URL_FE:b,MARRY_BABY_FE:x,onSelectCategory:he,isMobile:o,siteType:W,onCategoryClick:ge}):"together"===ie.id&&Y&&e.createElement(fr,{selectedMenuMainItem:Y,onCommunityClick:ve,onSelectCommunity:Ee,TOGETHER_URL_FE:A,basePath:D,callApiHandler:V,locale:U,togetherApiDomain:L,siteType:W,isMobile:o}))}),[Y,ie]),l((function(){me(!0)}),[]),l((function(){!pe&&r&&ue(!0)}),[r]),l((function(){Q(c)}),[c]),o?e.createElement(e.Fragment,null,e.createElement(vl,{id:se?"":"categories-menu","data-opened":r||(pe?r:"undefined"),key:se?"t":"f"},e.createElement(hl,{"data-opened":r,"data-type":"category","data-is-sub-category-opened":G},e.createElement(Er,{siteType:W,locale:U,isDisplayed:!0,searchPlaceholder:"",statics:{DISCOVER_URL_FE:b,SSO_URL:S,HOME_PAGE_URL:T,MARRY_BABY_FE:x,CARE_URL_FE:f},isMobile:o,isLoginButtonDisplayed:!1,type:"popup",onMenuClick:function(){return null==E?void 0:E("categories")},onSearchChange:function(e){le(""!==e),Q(e&&""!==e?c.filter((function(t){return t.categoryName.toLowerCase().search(e.toLowerCase())>-1||t.slug.replace("-","").toLowerCase().search(e.replace(" ","").toLowerCase())>-1})):c)},isSearchBarDisplay:!1,basePath:D,isAmp:!1,isInit:!1,isStatic:!1,routerAsPath:H,title:"",onTopBarAppears:void 0,currentPopupType:"none",marryBaby:{tone:M},menu:void 0,menuItems:void 0,onSearchKeyPress:void 0,openPopup:void 0,profileMenu:void 0,userInfo:void 0}),e.createElement(dl,null,e.createElement(pl,null,e.createElement(El,null,e.createElement(yl,{"data-hide-on-search":ne,"data-is-sub-category-opened":G},"helloSites"===W?e.createElement(e.Fragment,null,e.createElement(fl,{onClick:function(){window.location.href="".concat(Wt(U),"/search")}},e.createElement(P,{className:"fake-search-input",name:"search-input-menu-service"+(se?"":"-temp"),size:"md",placeholder:q("home.search",{site:be?be.SITE_NAME:""}),onChange:function(){},type:"search",autoFocus:!1,onFocus:function(e){e.preventDefault()},value:"",displayIcon:e.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click"},e.createElement(Ri,null))})),e.createElement(te,{tag:"h5",color:ae.colors.gray800},q("menu.categories.title")),e.createElement(Cl,{"data-card-array-no-margin-style":!0},I.map((function(t,a){return e.createElement(dr,{onClick:ke,key:"service-"+a,specialty:t,id:t.id,isActive:t.id===ie.id,isMobile:o,position:0===a?"left":a===I.length-1?"right":"center"})})))):e.createElement(kl,{menuItems:I,activeItem:ie,onServiceClicked:ke})),e.createElement(er,{isDisplayed:"categories"===ie.id,locale:U,basePath:D,callApiHandler:V,onClosePopup:g,discoverApiDomain:k,DISCOVER_URL_FE:b,MARRY_BABY_FE:x,type:"main",onSelectCategory:he,categories:z,spotlightsList:u,isLoading:!1,isMobile:o,siteType:W,desktopPopupType:h}),e.createElement(sr,{isDisplayed:"healthTools"===ie.id,locale:U,basePath:D,discoverApiDomain:k,HEALTH_TOOL_URL_FE:F,onSelectHealthTool:ye,onClosePopup:g,desktopPopupType:h,healthTools:s,healthToolsByCategory:m,isLoading:!1,isMobile:o,siteType:W,STATIC_PAGES:B}),"care"===ie.id&&e.createElement(_i,{locale:U,basePath:D,onSelectCareSpecialty:fe,onClosePopup:g,careSpecialties:d,isLoading:!1,siteType:W,isMobile:o,desktopPopupType:h,CARE_URL_FE:f}),e.createElement(lr,{isDisplayed:"together"===ie.id,locale:U,TOGETHER_URL_FE:A,basePath:D,type:"main",onSelectCommunity:Ee,onClosePopup:g,communities:p,isLoading:!1,isMobile:o,siteType:W,togetherApiDomain:L,desktopPopupType:h})),y)))),G&&e.createElement(vl,{"data-sub-level-opened":G||(pe?G:"undefined")},e.createElement(hl,{"data-type":"sub-category","data-is-sub-category-opened":G},e.createElement(Er,{siteType:W,locale:U,isDisplayed:r&&G,searchPlaceholder:"",menuItems:void 0,statics:{DISCOVER_URL_FE:b,SSO_URL:S,HOME_PAGE_URL:T,MARRY_BABY_FE:x,CARE_URL_FE:f},isMobile:o,isLoginButtonDisplayed:!1,type:"popup-sub-level",title:"categories"===ie.id?null==Y?void 0:Y.categoryName:null==Y?void 0:Y.title,isSearchBarDisplay:!1,basePath:D,isAmp:!1,isInit:!1,isStatic:!1,routerAsPath:H,currentPopupType:"none",marryBaby:{tone:M},menu:void 0,openPopup:void 0,profileMenu:void 0,userInfo:void 0,onSearchKeyPress:void 0,onTopBarAppears:void 0,onMenuClick:Ce,onSearchChange:void 0}),J))):e.createElement(e.Fragment,null,e.createElement(er,{isDisplayed:"categories"===h,locale:U,basePath:D,callApiHandler:V,discoverApiDomain:k,DISCOVER_URL_FE:b,MARRY_BABY_FE:x,type:"main",desktopPopupType:h,onSelectCategory:he,onClosePopup:g,categories:z,spotlightsList:u,isLoading:!1,isMobile:o,siteType:W}),e.createElement(sr,{isDisplayed:"tools"===h,locale:U,basePath:D,discoverApiDomain:k,HEALTH_TOOL_URL_FE:F,desktopPopupType:h,onSelectHealthTool:ye,onClosePopup:g,healthToolsByCategory:m,healthTools:s,isLoading:!1,isMobile:o,siteType:W,STATIC_PAGES:B}),e.createElement(lr,{isDisplayed:"communities"===h,locale:U,TOGETHER_URL_FE:A,basePath:D,type:"main",onSelectCommunity:Ee,communities:p,isLoading:!1,isMobile:o,siteType:W,togetherApiDomain:L,desktopPopupType:h,onClosePopup:g}),"care"===h&&e.createElement(_i,{locale:U,basePath:D,onSelectCareSpecialty:fe,careSpecialties:d,isLoading:!1,desktopPopupType:h,siteType:W,isMobile:o,CARE_URL_FE:f,onClosePopup:g}))},kr=function(t){var a=t.callPostLogOutApi,n=t.openLogoutPopup,o=t.onCloseHandler,i=t.onLogoutHandler,r=t.basePath,c=t.siteType,s=void 0===c?"helloSites":c,m=xt();l((function(){document.body.classList.toggle("noscroll",n)}),[n]);return e.createElement(Dt,{type:"confirm",isOpen:n,closeIcon:e.createElement("img",{src:qi,style:{width:24,height:24},alt:"close-icon"}),onClose:o},e.createElement(bl,null,"helloSites"===s&&e.createElement("img",{className:"cancle-img",src:"".concat(r,"/images/arrowDoor.svg"),alt:"close-account"}),e.createElement("h2",null,m("helloSites"===s?"logout.popup.ask1":"logout.popup.ask.mb")),e.createElement("p",null,m("logout.popup.ask2")),e.createElement(wl,{siteType:s},e.createElement(ee,{className:"logout-button",color:"tertiary",size:"lg",onClick:function(){Q(void 0,void 0,void 0,(function(){return _(this,(function(e){switch(e.label){case 0:return[4,null==a?void 0:a()];case 1:return e.sent(),null==i||i(),window.location.reload(),[2]}}))}))}},m("logout.popup.button.logout")),e.createElement(ee,{className:"cancel-button",color:"primary",size:"lg",onClick:o},m("logout.popup.button.cancel")))))},br=function(t){var a=t.type,n=void 0===a?"lead":a,l=t.closeIcon,o=t.isOpen,i=void 0===o||o,r=t.onClose,c=t.children,s=t.enableAnimation,m=void 0===s||s,d=t.targetAvatar,p=t.id,u=t.className;return e.createElement(e.Fragment,null,e.createElement(Ll,{"data-open":i,"data-type":n,"data-animation":m,"data-target":d,id:p,className:u},e.createElement("div",{className:"popup-content"},!!l&&e.createElement("div",{className:"close-button",onClick:r},l),c)),e.createElement(Al,{"data-type":n,"data-open":i,onClick:r,id:p?"wrapper-".concat(p):void 0,className:"".concat(u||"","-wrapper")}))},wr=function(t){var a=t.SSO_URL,n=t.UP_BASEPATH,l=t.isOpen,o=t.locale,i=t.targetAvatar,r=t.userInfo,c=t.ENABLE_CARE_PROFILE_MENU_LOCALES,s=t.ENABLE_COMMUNITY_PROFILE_MENU_LOCALES,m=t.closePopup,d=t.siteType,p=void 0===d?"helloSites":d,u=t.dispatchLogout,g=t.userProfileRouterPush,v=t.isUserProfileNavigatorMenuHidden,h=t.isMyHealthEnabled,E=void 0!==h&&h,y=t.togetherApiDomain,f=function(e){g?g("/".concat(e)):a&&(window.location.href="".concat(a).concat(n,"/").concat(e))},C=function(e){f(e),m()};return e.createElement(br,{isOpen:l,type:"profile",enableAnimation:!1,targetAvatar:i,onClose:m},e.createElement(Vo,{locale:o},e.createElement(Wo,{SSO_URL:a,UP_BASEPATH:n,themeName:p,userInfo:r,ENABLE_COMMUNITY_PROFILE_MENU_LOCALES:s,ENABLE_CARE_PROFILE_MENU_LOCALES:c,onClickLogout:function(){u&&(u(),m())},onClickMenuItem:C,onClickNavigationCard:C,onClickMyProfileButton:function(){f("profile"),m()},userProfileRouterPush:g,isUserProfileNavigatorMenuHidden:v,isMyHealthEnabled:E,togetherApiDomain:y})))},Lr=function(a){var n=a.options,l=a.label,o=a.selected,i=a.onChange,r=a.showSelected,c=void 0===r||r,m=a.style,d=void 0===m?{}:m,p=a.showIndicator,u=void 0===p||p,g=t(!1),v=g[0],h=g[1];return e.createElement(e.Fragment,null,e.createElement(Sl,null,e.createElement(Nl,{onClick:function(){return h((function(e){return!e}))}},!!l&&l),e.createElement(xl,{"data-is-open":v,style:d,"data-show-indicator":u},n.map((function(t,a){return e.createElement(Tl,{key:a,"data-selected":c&&o===t.value,onClick:function(e){o!==t.value&&(i(t.value),h((function(e){return!e}))),e.stopPropagation()}},e.createElement(s,{size:"p3"},t.label),c&&o===t.value&&e.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"}))})))),v&&e.createElement(Bl,{onClick:function(){return h(!1)}}))},Ar=function(e){var t="undefined"!=typeof window&&document.querySelector(e),a=t&&window.getComputedStyle(t);return a&&a.getPropertyValue("display")},Sr=function(o){var i,r=o.siteType,c=o.MetaPageTitle,s=o.MetaPageDescription,m=o.MetaPageImage,d=o.footerInfo,p=o.children,u=o.ssrMenuContent,g=void 0===u?{}:u,v=g.categories,h=void 0===v?[]:v,E=g.healthTools,y=void 0===E?[]:E,f=g.healthToolsByCategory,C=void 0===f?[]:f,k=g.careSpecialties,b=void 0===k?[]:k,w=g.togetherCommunities,L=void 0===w?[]:w,A=g.spotlightsList,S=void 0===A?[]:A,N=o.SEOData,x=void 0===N?{}:N,T=o.UP_BASEPATH,B=void 0===T?fo.SSO_USER_PROFILE:T,F=o.isStatic,M=void 0!==F&&F,U=o.seoType,W=void 0===U?"website":U,D=o.isMobile,V=o.isMyHealthEnabled,R=void 0!==V&&V,I=o.logoutHandlers,H=I.isLogoutPopupOpened,q=I.callPostLogOutApi,P=I.onClosePopup,O=I.onLogout,G=o.marryBaby,Z=void 0===G?{tone:"white",marryBabyApiDomain:"",socialLinks:{facebookLink:"",instagramLink:"",linkedinLink:"",twitterLink:"",youtubeLink:"",zaloLink:""}}:G,z=Z.tone,Y=void 0===z?"white":z,K=Z.marryBabyApiDomain,X=Z.socialLinks,J=void 0===X?{}:X,$=J.facebookLink,ee=void 0===$?"":$,te=J.instagramLink,ae=void 0===te?"":te,ne=J.linkedinLink,le=void 0===ne?"":ne,oe=J.twitterLink,ie=void 0===oe?"":oe,re=J.youtubeLink,ce=void 0===re?"":re,se=J.zaloLink,me=void 0===se?"":se,de=o.statics,pe=void 0===de?{LOCALE_SPECS:uo,STATIC_PAGES:Co}:de,ue=pe.DISCOVER_URL_FE,ge=pe.TOGETHER_URL_FE,ve=pe.MARRY_BABY_FE,he=pe.HOME_PAGE_URL,Ee=pe.HEALTH_TOOL_URL_FE,ye=pe.CARE_URL_FE,fe=pe.LOCALE_SPECS,Ce=void 0===fe?uo:fe,ke=pe.STATIC_PAGES,be=void 0===ke?Co:ke,we=o.sso,Le=void 0===we?{}:we,Ae=Le.dispatchLogout,Se=Le.SSO_URL,Ne=o.together,xe=void 0===Ne?{TOGETHER_MENU_COUNTRIES_ENABLED:["id-ID","vi-VN"],ENABLE_COMMUNITY_PROFILE_MENU_LOCALES:["id-ID","vi-VN"],togetherApiDomain:""}:Ne,Te=xe.TOGETHER_MENU_COUNTRIES_ENABLED,Be=xe.ENABLE_COMMUNITY_PROFILE_MENU_LOCALES,Fe=xe.togetherApiDomain,Me=o.care,Ue=void 0===Me?{CARE_MENU_COUNTRIES_ENABLED:["vi-VN","id-ID","en-PH"],ENABLE_CARE_PROFILE_MENU_LOCALES:[],menuActionType:"redirectOnly",careApiDomain:""}:Me,We=Ue.CARE_MENU_COUNTRIES_ENABLED,De=Ue.ENABLE_CARE_PROFILE_MENU_LOCALES,Ve=Ue.careApiDomain,Re=o.discover,Ie=(void 0===Re?{discoverApiDomain:""}:Re).discoverApiDomain,He=o.activeMenuService,qe=void 0===He?"categories":He,Pe=o.basePath,Oe=o.isAmp,Ge=void 0!==Oe&&Oe,je=o.nextHead,Ze=o.routerPathname,ze=o.routerQuery,Qe=o.routerAsPath,_e=o.locale,Ye=o.userState,Ke=o.callApiHandler,Xe=o.userProfileRouterPush,Je=o.onTopBarAppears,$e=o.forcedCanonicalUrl,et=o.isUserProfileNavigatorMenuHidden,tt=o.sitewideBanner,at=o.sitewideBannerShown,nt=void 0===at||at,lt=o.sponsorComponent,ot=o.languageOptions,it=o.isSearchBarDisplay,rt=o.ampSubBar,ct=o.isSearchIconDisplayed,st=void 0===ct||ct,mt=o.enabledExperimentalCareHeader,dt=void 0!==mt&&mt,pt=o.onCareHeaderClick,ut=o.dueDatePopup,gt=o.welcomePopup,vt=o.ampNextArticle,ht=o.usingDefaultHead,Et=void 0===ht||ht,yt=o.acceptCookiePopup,ft=o.seoCustom,Ct=o.hasStickyBottomBar,kt=void 0===Ct||Ct,bt="boolean"==typeof it?it:!D,wt=xt(),Lt=Ce[_e||"en-PH"]||{},At=n((function(){var e;return(null===(e=Qe.split("?"))||void 0===e?void 0:e[0])||""}),[Qe]),St=n((function(){return"".concat(Pe).concat("/"===At.slice(-1)?At:"".concat(At,"/"))}),[At]),Nt=n((function(){return(null==ot?void 0:ot.find((function(e){return e.value!==St})))||null}),[ot,St]),Tt=t(d),Bt=Tt[0],Ft=Tt[1],Mt=t(h),Ut=Mt[0],Wt=Mt[1],Dt=t(y),Xt=Dt[0],Jt=Dt[1],$t=t(C),ea=$t[0],ta=$t[1],aa=t(b),na=aa[0],la=aa[1],oa=t(L),ia=oa[0],ra=oa[1],ca=t(S),sa=ca[0],ma=ca[1],da=ue||"https://".concat(vo[_e])||"",pa="undefined"!=typeof window,ua=pa&&document.querySelector("#categories-menu"),ga=ua&&pa&&window.getComputedStyle(ua),va=ga&&ga.getPropertyValue("left"),ha=a("0px"===va),Ea=t(ha.current),ya=Ea[0],fa=Ea[1],Ca=Ar(".top-menu-categories"),ka=Ar(".top-menu-health-tools"),ba=Ar(".top-menu-communities"),wa=Ar(".top-menu-care-specialties"),La=t(Ca&&"none"!==Ca?"categories":ka&&"none"!==ka?"tools":ba&&"none"!==ba?"communities":wa&&"none"!==wa?"care":"none"),Aa=La[0],Sa=La[1],Na=n((function(){var t,a;return e.createElement(Fl,null,null===(a=null===(t=_e.split("-"))||void 0===t?void 0:t[0])||void 0===a?void 0:a.toUpperCase(),e.createElement("img",{src:"language"===Aa?"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:wt("home.navigator.menuItem.language")}))}),[Aa,_e]),xa=Ye.userInfo,Ta=Ye.isLoggedIn,Ba=function(e){Aa!==e&&(Sa(e),fa(!0)),Aa===e&&(Sa("none"),fa(!1))},Fa=function(){fa(!1),Sa("none")},Ma=function(e,t){"Enter"===e.key&&(window.location.href="".concat(he,"/search/?s=").concat(t))},Ua=null===(i=null==Ce?void 0:Ce[_e])||void 0===i?void 0:i.SITE_NAME_FORMATTED,Wa=[{name:wt("home.navigator.menuItem.discover"),id:"categories",link:"./posts/abc",niceName:"",thumbnail:To,isDisplayed:!0},{name:wt("home.navigator.menuItem.healthTools"),id:"healthTools",link:"./en",thumbnail:Bo,isDisplayed:!0}];(null==Te?void 0:Te.includes(_e))&&Wa.push({name:wt("home.navigator.menuItem.helloTogether"),id:"together",link:ge+"/",thumbnail:Fo,isDisplayed:!0}),(null==We?void 0:We.includes(_e))&&Wa.push({name:wt("home.navigator.menuItem.helloCare"),id:"care",link:"/care",thumbnail:Mo,isDisplayed:!0}),l((function(){document.documentElement.style.overflow=ya?"hidden":""}),[ya]);var Da=!!lt;l((function(){Ta&&("first_login"===(null==ze?void 0:ze.source)?(null==xa?void 0:xa.email)&&""!==(null==xa?void 0:xa.email)?window.insider_object={user:j({uuid:null==xa?void 0:xa.id,email:null==xa?void 0:xa.email,gdpr_optin:!0,email_optin:!0,sign_up:!0},(null==xa?void 0:xa.name)?{name:null==xa?void 0:xa.name}:{})}:window.insider_object={user:j({uuid:null==xa?void 0:xa.id,sign_up:!0},(null==xa?void 0:xa.name)?{name:null==xa?void 0:xa.name}:{})}:(null==xa?void 0:xa.email)&&""!==(null==xa?void 0:xa.email)?window.insider_object={user:j({uuid:null==xa?void 0:xa.id,email:null==xa?void 0:xa.email,gdpr_optin:!0,email_optin:!0,log_in:!0},(null==xa?void 0:xa.name)?{name:null==xa?void 0:xa.name}:{})}:window.insider_object={user:j({uuid:null==xa?void 0:xa.id,log_in:!0},(null==xa?void 0:xa.name)?{name:null==xa?void 0:xa.name}:{})}),Q(void 0,void 0,void 0,(function(){var e,t;return _(this,(function(a){switch(a.label){case 0:return Bt?[3,3]:[4,fetch("helloSites"===r?Vt(_e,Ie):Rt(_e,K))];case 1:return[4,a.sent().json()];case 2:return t=a.sent(),[3,4];case 3:t=null,a.label=4;case 4:return(e=t)&&1===e.status&&e.data&&!Bt&&Ft("helloSites"===r?e.data||{}:e.data.footers||[]),[2]}}))})),Q(void 0,void 0,void 0,(function(){var e,t,a,n,l,o;return _(this,(function(i){switch(i.label){case 0:return h&&0!==(null==h?void 0:h.length)||0!==(null==Ut?void 0:Ut.length)?[3,3]:(l={},[4,fetch(Ht(_e,Ie))]);case 1:return[4,i.sent().json()];case 2:return l.response=i.sent(),a=l,[3,4];case 3:a={},i.label=4;case 4:return e=a.response,null!==(t=void 0===e?{}:e)&&1===t.status&&(null===(o=t.data)||void 0===o?void 0:o.length)>0&&(n=t.data.map(It),0===Ut.length&&Wt(n)),[2]}}))})),Q(void 0,void 0,void 0,(function(){var e,t,a,n,l,o,i,c,s;return _(this,(function(m){switch(m.label){case 0:return S&&0!==(null==S?void 0:S.length)||"helloSites"!==r||0!==(null==sa?void 0:sa.length)?[3,3]:(l={},[4,fetch(Ot(_e,Ie,{perPage:100,orderBy:"start_date"}))]);case 1:return[4,m.sent().json()];case 2:return l.response=m.sent(),a=l,[3,4];case 3:a={},m.label=4;case 4:return e=a.response,1===(null==(t=void 0===e?{}:e)?void 0:t.status)&&(null===(i=null===(o=null==t?void 0:t.data)||void 0===o?void 0:o.articles)||void 0===i?void 0:i.length)>0&&(n=null===(s=null===(c=t.data)||void 0===c?void 0:c.articles)||void 0===s?void 0:s.map(qt).filter(Pt).slice(0,4),0===sa.length&&ma(n)),[2]}}))})),Q(void 0,void 0,void 0,(function(){var e,t,a,n,l,o,i;return _(this,(function(c){switch(c.label){case 0:return(null==y?void 0:y.length)||(null==Xt?void 0:Xt.length)||(null==C?void 0:C.length)||(null==C?void 0:C.length)?[3,6]:(o={},"helloSites"!==r?[3,2]:[4,fetch(zt(_e,Ie))]);case 1:return n=c.sent(),[3,4];case 2:return[4,fetch(Zt(_e,K))];case 3:n=c.sent(),c.label=4;case 4:return[4,n.json()];case 5:return o.response=c.sent(),a=o,[3,7];case 6:a={},c.label=7;case 7:return e=a.response,null!==(t=void 0===e?{}:e)&&1===t.status&&(null===(i=t.data)||void 0===i?void 0:i.length)>0&&("helloSites"===r?(l=t.data.map(Gt),0===Xt.length&&ta(l)):(l=t.data.map(jt),0===Xt.length&&Jt(l))),[2]}}))})),Q(void 0,void 0,void 0,(function(){var e,t,a,n,l,o,i;return _(this,(function(r){switch(r.label){case 0:return b&&0!==(null==b?void 0:b.length)||!We.includes(_e)||0!==(null==na?void 0:na.length)?[3,3]:(l={},[4,fetch(Qt(_e,Ve))]);case 1:return[4,r.sent().json()];case 2:return l.response=r.sent(),a=l,[3,4];case 3:a={},r.label=4;case 4:return e=a.response,null!==(t=void 0===e?{}:e)&&1===t._status&&(null===(i=null===(o=t._data)||void 0===o?void 0:o.specialties)||void 0===i?void 0:i.length)>0&&(n=t._data.specialties,0===na.length&&la(n)),[2]}}))})),Q(void 0,void 0,void 0,(function(){var e,t,a,n,l,o,i,c,s;return _(this,(function(m){switch(m.label){case 0:return L&&0!==(null==L?void 0:L.length)||!Te.includes(_e)||0!==(null==ia?void 0:ia.length)?[3,3]:(l={},[4,fetch("helloSites"===r?Yt(_e,Fe):Kt(_e,Fe))]);case 1:return[4,m.sent().json()];case 2:return l.response=m.sent(),a=l,[3,4];case 3:a={},m.label=4;case 4:return e=a.response,(null===(i=null===(o=null==(t=void 0===e?{}:e)?void 0:t.data)||void 0===o?void 0:o.communities)||void 0===i?void 0:i.length)>0&&(n=(null===(s=null===(c=null==t?void 0:t.data)||void 0===c?void 0:c.communities)||void 0===s?void 0:s.map(_t))||[],0===ia.length&&ra(n)),[2]}}))}))}),[]);var Va=e.createElement(wr,{locale:_e,UP_BASEPATH:B,SSO_URL:Se,userProfileRouterPush:Xe,dispatchLogout:Ae,isOpen:"profile"===Aa,isMyHealthEnabled:R,ENABLE_CARE_PROFILE_MENU_LOCALES:De,ENABLE_COMMUNITY_PROFILE_MENU_LOCALES:Be,closePopup:Fa,userInfo:xa,siteType:r,isUserProfileNavigatorMenuHidden:et,togetherApiDomain:Fe}),Ra=Ge&&{"next-page-hide":""};return e.createElement(zi,{SEOData:j({SEOTitle:c,SEOImage:m,SEODescription:s,siteName:Ua,seoType:W},x),isAmp:Ge,locale:_e,routerPathname:Ze,routerQuery:ze,nextHead:je,siteType:r,forcedCanonicalUrl:$e,userId:null==xa?void 0:xa.id,usingDefaultHead:Et,seoCustom:ft},e.createElement(kr,{basePath:Pe,callPostLogOutApi:q,openLogoutPopup:H,onCloseHandler:P,onLogoutHandler:O,siteType:r}),ut,gt,yt,D?e.createElement(e.Fragment,null,e.createElement(Ml,null,e.createElement("section",j({className:Ge?"amp-header":void 0,"next-page-replace":"hhg-navigator","amp-fx":"float-in-top"},Ra),e.createElement(Er,{siteType:r,statics:{DISCOVER_URL_FE:da,SSO_URL:Se,HOME_PAGE_URL:he,MARRY_BABY_FE:ve,CARE_URL_FE:ye},marryBaby:{tone:Y},menuItems:Wa,menu:Ge?void 0:e.createElement(Cr,{key:"mobile-menu-popup",menuItems:Wa,siteType:r,isMobileMenuOpened:"categories"===Aa,categories:Ut,healthTools:Xt,healthToolsByCategory:ea,careSpecialties:na,togetherCommunities:ia,spotlightsList:sa,onMobileMenuClick:Ba,isMobile:D,closePopup:Fa,footer:e.createElement(Zi,{locale:_e,isMobile:D,basePath:Pe,isAmp:Ge,footerInfo:Bt,type:"mini",siteType:r,marryBabySocialLinks:{facebookLink:ee,instagramLink:ae,linkedinLink:le,twitterLink:ie,youtubeLink:ce,zaloLink:me}}),locale:_e,callApiHandler:Ke,basePath:Pe,together:{TOGETHER_MENU_COUNTRIES_ENABLED:Te,togetherApiDomain:Fe||K,TOGETHER_URL_FE:ge},care:{CARE_MENU_COUNTRIES_ENABLED:We,careApiDomain:Ve,CARE_URL_FE:ye},discover:{discoverApiDomain:Ie,DISCOVER_URL_FE:da},activeMenuService:qe,statics:{DISCOVER_URL_FE:da,HOME_PAGE_URL:he,HEALTH_TOOL_URL_FE:Ee,MARRY_BABY_FE:ve,TOGETHER_URL_FE:ge,STATIC_PAGES:be},marryBaby:{tone:Y},routerAsPath:Qe,popupType:"none",sso:{SSO_URL:Se}}),profileMenu:Va,type:"home",currentPopupType:Aa,isMobile:D,isLoginButtonDisplayed:!0,onMenuClick:Ba,searchPlaceholder:wt("home.search",{site:"helloSites"===r?null==Lt?void 0:Lt.SITE_NAME:"Marry Baby"}),onTopBarAppears:function(e){Je&&Je(e)},isSearchBarDisplay:bt,onSearchKeyPress:Ma,isStatic:Ge||M,sponsorComponent:lt,locale:_e,userInfo:Ye.userInfo,basePath:Pe,isAmp:Ge,isDisplayed:!0,isInit:!1,onSearchChange:void 0,openPopup:void 0,routerAsPath:Qe,title:"",sitewideBanner:tt,sitewideBannerShown:nt,isSearchIconDisplayed:st,enabledExperimentalCareHeader:dt,languageMenu:void 0!==ot&&ot.length>1?e.createElement(e.Fragment,null,2===ot.length&&Nt?e.createElement(Ul,{"data-is-active":!0,href:(null==Nt?void 0:Nt.value)||"#"},null==Nt?void 0:Nt.label):e.createElement(Lr,{options:ot,selected:St,label:Na,onChange:function(e){"undefined"!=typeof window&&(window.location.href=e)},style:{width:100},showSelected:!0,showIndicator:!1})):void 0}),void 0!==rt&&e.createElement(e.Fragment,null,rt)),Ge?e.createElement(Dl,{className:"root-container","data-menu-opened":ha.current,"data-sponsored":Da,"data-is-mobile":D,"data-sitewide":!!tt},p,e.createElement(Zi,{isAmp:Ge,isMobile:D,locale:_e,basePath:Pe,footerInfo:Bt,type:"main",siteType:r,marryBabySocialLinks:{facebookLink:ee,instagramLink:ae,linkedinLink:le,twitterLink:ie,youtubeLink:ce,zaloLink:me},ampNextArticle:vt,routerQuery:ze})):e.createElement(Wl,{className:"root-container","data-menu-opened":ha.current,"data-sponsored":Da,"data-is-mobile":D,"data-sitewide":!!tt,hasStickyBottomBar:kt},e.createElement(e.Fragment,null,p,e.createElement(Zi,{isAmp:Ge,isMobile:D,locale:_e,basePath:Pe,footerInfo:Bt,type:"main",siteType:r,marryBabySocialLinks:{facebookLink:ee,instagramLink:ae,linkedinLink:le,twitterLink:ie,youtubeLink:ce,zaloLink:me},ampNextArticle:vt,routerQuery:ze})))),Ge&&e.createElement(Ii,{locale:_e,categoriesSSR:h,healthToolsSSR:C,spotlightsSSR:S,serviceUrls:{TOGETHER_URL_FE:ge,CARE_URL_FE:ye,DISCOVER_URL_FE:da},together:{TOGETHER_MENU_COUNTRIES_ENABLED:Te,ENABLE_COMMUNITY_PROFILE_MENU_LOCALES:Be,togetherApiDomain:Fe},care:{CARE_MENU_COUNTRIES_ENABLED:We,ENABLE_CARE_PROFILE_MENU_LOCALES:De,careApiDomain:Ve},basePath:Pe,searchPlaceholder:wt("home.search",{site:"helloSites"===r?null==Lt?void 0:Lt.SITE_NAME:"Marry Baby"})})):e.createElement(e.Fragment,null,e.createElement(Er,{siteType:r,menuItems:Wa,marryBaby:{tone:Y},locale:_e,currentPopupType:Aa,onSearchKeyPress:Ma,openPopup:function(e){Aa!==e&&Sa(e),Aa===e&&Sa("none")},isMobile:D,isLoginButtonDisplayed:!0,isSearchBarDisplay:!Ge&&bt,searchPlaceholder:wt("home.search",{site:"helloSites"===r?null==Lt?void 0:Lt.SITE_NAME:"Marry Baby"}),sitewideBannerShown:nt,statics:{DISCOVER_URL_FE:da,SSO_URL:Se,HOME_PAGE_URL:he,MARRY_BABY_FE:ve,CARE_URL_FE:ye},menu:e.createElement(Cr,{menuItems:Wa,siteType:r,isMobile:D,popupType:Aa,closePopup:function(){Sa("none")},categories:Ut,healthTools:Xt,healthToolsByCategory:ea,careSpecialties:na,togetherCommunities:ia,spotlightsList:sa,locale:_e,callApiHandler:Ke,basePath:Pe,together:{TOGETHER_MENU_COUNTRIES_ENABLED:Te,togetherApiDomain:Fe,TOGETHER_URL_FE:ge},care:{careApiDomain:Ve,CARE_MENU_COUNTRIES_ENABLED:We,CARE_URL_FE:ye},discover:{discoverApiDomain:Ie,DISCOVER_URL_FE:da},statics:{DISCOVER_URL_FE:da,HOME_PAGE_URL:he,HEALTH_TOOL_URL_FE:Ee,MARRY_BABY_FE:ve,TOGETHER_URL_FE:ge,STATIC_PAGES:be},activeMenuService:qe,marryBaby:{tone:Y},routerAsPath:Qe,footer:void 0,isMobileMenuOpened:void 0,sso:{SSO_URL:Se},onMobileMenuClick:void 0}),profileMenu:Va,userInfo:Ye.userInfo,sponsorComponent:lt,type:"home",basePath:Pe,isAmp:Ge,isDisplayed:!0,isInit:!1,onSearchChange:void 0,isStatic:!1,routerAsPath:Qe,title:"",onMenuClick:void 0,onTopBarAppears:void 0,sitewideBanner:tt,languageMenu:void 0!==ot&&ot.length>1?e.createElement(e.Fragment,null,2===ot.length&&Nt?e.createElement(Ul,{"data-is-active":!0,href:(null==Nt?void 0:Nt.value)||"#"},null==Nt?void 0:Nt.label):e.createElement(Lr,{options:ot,selected:St,label:Na,onChange:function(e){"undefined"!=typeof window&&(window.location.href=e)},style:{width:100},showSelected:!0,showIndicator:!1})):void 0,enabledExperimentalCareHeader:dt,onCareHeaderClick:pt}),Ge?e.createElement(Dl,{className:"root-container","data-menu-opened":ya,"data-is-mobile":D,"data-sponsored":Da,"data-sitewide":!!tt},p):e.createElement(Wl,{className:"root-container","data-menu-opened":ya,"data-is-mobile":D,"data-sponsored":Da,"data-sitewide":!!tt,hasStickyBottomBar:kt},p),e.createElement(Zi,{type:"main",locale:_e,basePath:Pe,isMobile:D,isAmp:Ge,footerInfo:Bt,siteType:r,marryBabySocialLinks:{facebookLink:ee,instagramLink:ae,linkedinLink:le,twitterLink:ie,youtubeLink:ce,zaloLink:me}})))},Nr=function(t){return e.createElement(Xt.Provider,{value:{translation:t.translation||Jt}},e.createElement(Sr,j({},t)))},xr=function(n){var o=n.icon,i=n.content,r=n.isCollapsed,c=n.isMobile,s=n.type,m=n.onClose,d=n.setBannerClosed,p=n.dispatch,u=n.dispatchActionType,g=n.cookieName,v=n._overrideCloseHandler,h=n.isAmp,E=n.siteType,y=n.dataEventCategory,f=void 0===y?"Header Banner":y,C=n.dataEventAction,k=void 0===C?"Close Click":C,b=n.dataEventLabel,w=void 0===b?"":b,L=n.dataTracking,A=void 0===L?"true":L,S=t(!1),N=S[0],x=S[1],T=t(!1),B=T[0],F=T[1],M=i;h&&(M=M.replace("data-event","data-vars-event").replace('data-vars-event-category="'.concat(f,'"'),'data-vars-event-category="'.concat(f,'" data-vars-tracking="').concat(A,'"')));var U=a(64);l((function(){var e=so((function(){window.scrollY<U.current?F(!1):window.scrollY>64&&F(!0),U.current=window.scrollY}),300);return window.addEventListener("scroll",e),function(){window.removeEventListener("scroll",e)}}),[]);var W="marryBaby"===E,D=W?qi:"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 l((function(){d&&d(N||r||B)}),[d,N,r,B]),e.createElement(Vl,{"data-is-mobile":c,"data-is-collapse":N||r||B,"data-is-marrybaby":W},o?e.createElement(Rl,{"data-is-marrybaby":W},h?e.createElement("amp-img",{src:o,width:"76",height:"52"}):e.createElement("img",{src:o,className:"icon","data-is-mobile":c})):null,i?e.createElement("span",{className:"content","data-is-marrybaby":W,"data-is-mobile":c,dangerouslySetInnerHTML:{__html:M}}):null,e.createElement(Il,j({role:"button",tabIndex:0},{on:'tap:sitewide-container.hide(),site-header.toggleClass(class="amp-closed")'},{"data-is-marrybaby":W,"data-vars-event-category":f,"data-vars-event-action":k,"data-vars-event-label":w||"","data-vars-tracking":A||"",className:"amp-close-banner",onClick:function(){x(!0),v?v():(m&&m(),g&&Ro(g,"true"),s&&p&&p({type:u,payload:{type:s}}))},"data-is-mobile":c}),h?e.createElement("amp-img",{src:D,width:"24",height:"24"}):e.createElement("img",{src:D,className:"close-icon"})))},Tr=function(a){var n=a.className,l=a.isMobile,o=a.isCollapsed,i=a.sponsoredType,r=a.sponsoredBy,c=a.isAmp,m=a.locale,d=xt(),p=t(!1),u=p[0],g=p[1];return e.createElement(Hl,{className:n,onClick:function(){return g(!0)},"data-show-popup":u&&(!l||!o)&&!c,"data-align-left":r&&!!(null==r?void 0:r.logo),"data-is-amp":c||void 0},e.createElement(G,{style:{position:"relative",padding:"0 16px"}},"content"===i?e.createElement(s,{size:l?"p4":"p3",color:"#737373"},e.createElement("div",{className:"sticky-sponsored-info-icon"},c?e.createElement("amp-img",{height:"20",width:"20",style:{verticalAlign:"middle",marginLeft:"0.3rem",marginBottom:"0.1rem"},src:Pi}):e.createElement("img",{src:Pi,style:{width:20,height:20,verticalAlign:"middle",marginRight:"0.3rem",marginBottom:"0.1rem"}})),r&&(null==r?void 0:r.logo)?e.createElement(e.Fragment,null," ",d("articlePage.sponsoredContentBy")," ",e.createElement("img",{className:"sponsored-logo",src:(null==r?void 0:r.logo)||"",alt:"sponsored-logo"})):d("articlePage.sponsoredContent")):e.createElement(s,{size:"p2",color:"#737373"},d("articlePage.sponsoredArticle"),e.createElement("div",{className:"sticky-sponsored-info-icon"},c?e.createElement("amp-img",{height:"20",width:"20",style:{verticalAlign:"middle",marginLeft:"0.3rem",marginBottom:"0.1rem"},src:Pi,on:"tap:sponsored-by.toggleClass(class='open')",tabIndex:0,role:"button"}):e.createElement("img",{src:Pi,style:{width:20,height:20,verticalAlign:"middle",marginLeft:"0.3rem",marginBottom:"0.1rem"}}))),!u||l&&o||c?null:e.createElement(Br,{sponsoredBy:r,isAmp:c,onClose:function(){return g(!1)},locale:m})))},Br=function(t){var a=t.sponsoredBy,n=t.isAmp,l=t.onClose,o=t.locale||"en-PH",i=xt();return e.createElement(ql,{"data-align-left":a&&!!(null==a?void 0:a.logo),"data-is-amp":n||void 0,id:"sponsored-by",className:n?"amp-sponsored-popup":void 0},e.createElement(s,{size:"p3",style:{marginBottom:"1rem"}},i("articlePage.sponsoredByStickyPopup.content")),e.createElement("div",{className:"button-container",onClick:function(e){e.stopPropagation()}},e.createElement(ee,{size:"md",color:"secondary",onClick:l,isAmp:n,on:"tap:sponsored-by.toggleClass(class='open')"},i("articlePage.sponsoredByStickyPopup.close")),e.createElement(ee,{size:"md",onClick:function(){window.location.href="/static".concat(Co[o].ADVERTISING_SPONSOR_POLICY)},isAmp:n,on:"tap:AMP.navigateTo(url='/static".concat(Co[o].ADVERTISING_SPONSOR_POLICY,"')")},i("articlePage.sponsoredByStickyPopup.policies"))))},Fr=function(t){var a=t.url,n=t.isMobile,l=t.dataEventCategory,o=t.dataEventAction,i=t.dataEventLabel,r=t.isAmp;return e.createElement(Ol,{"data-is-mobile":n},r?e.createElement("amp-img",{className:"country-flag",src:a,alt:"Country Flag","data-event-category":l,"data-event-action":o,"data-content-label":i}):e.createElement("img",{loading:"lazy",className:"country-flag lazy","data-src":a,alt:"Country Flag","data-event-category":l,"data-event-action":o,"data-content-label":i}))},Mr=function(t){var a,n,o,i,r,c,m,d,p,u,g,v,h,E,y,f,C,k,b,w,L,A,S,N,x,T,B,F,M,U,W,D,V,R,I,H=t.className,q=t.type,P=void 0===q?"main":q,O=t.footerInfo,j=t.isMobile,Z=t.locale,z=t.isAmp,Q=K().t,_=null==O?void 0:O.menu;return l((function(){setTimeout((function(){return null==So?void 0:So.update()}),100)}),[]),e.createElement(Pl,{as:z&&"mini"===P?"div":"footer",className:H,style:"mini"===P?{backgroundColor:ae.colors.neutral50}:{},"next-page-hide":!0},e.createElement(G,null,e.createElement("div",{className:"inner","data-type":P,"next-page-hide":""},"main"===P?e.createElement(e.Fragment,null,e.createElement("a",{href:"/"},z?(null===(n=null==O?void 0:O.general)||void 0===n?void 0:n.logo)?e.createElement("amp-img",{src:null===(o=null==O?void 0:O.general)||void 0===o?void 0:o.logo,alt:"Site logo",width:"132",height:"32",style:{marginBottom:24}}):null:e.createElement("img",{loading:"lazy",className:"footer-logo lazy","data-src":null===(a=null==O?void 0:O.general)||void 0===a?void 0:a.logo,alt:"Logo","data-is-sehat":"id-ID"===Z})),e.createElement("div",{className:"columns"},e.createElement("div",{className:"newsletter"},e.createElement(s,{size:"p1",type:"bold"},null===(i=null==O?void 0:O.general)||void 0===i?void 0:i.content),e.createElement(ee,{className:"signupButton",color:"primary",size:"lg"},Q("footer.signUp")),e.createElement("div",{className:"social"},e.createElement(s,{size:"sm",type:"regular"},null===(r=null==O?void 0:O.social)||void 0===r?void 0:r.title),e.createElement("div",{className:"icons"},null===(m=null===(c=null==O?void 0:O.social)||void 0===c?void 0:c.socials)||void 0===m?void 0:m.map((function(t,a){return e.createElement("a",{key:a,"data-event-category":"Footer","data-event-action":"Follow us - ".concat(t.name),"data-content-label":t.url,href:t.url},z?e.createElement("amp-img",{"data-event-category":"Footer","data-event-action":"Follow us - ".concat(t.name),"data-content-label":t.url,src:t.icon,alt:"Logo Social",width:"32",height:"32"}):e.createElement("img",{loading:"lazy","data-event-category":"Footer","data-event-action":"Follow us - ".concat(t.name),"data-content-label":t.url,"data-src":t.icon,alt:"Logo Social",className:"social-icon lazy"}))}))),e.createElement("hr",{className:"hrMobile"}))),e.createElement("div",null,_&&e.createElement(e.Fragment,null,e.createElement("div",{className:"biglinks"},null===(p=null===(d=_[0])||void 0===d?void 0:d.items)||void 0===p?void 0:p.map((function(t,a){return e.createElement("a",{"data-event-category":"Footer","data-event-action":t.title,"data-event-label":"https://".concat(le[Z]).concat(t.url),className:"bigLink",key:a,href:t.url},t.title)}))),e.createElement("hr",{className:"hrMobile"}),e.createElement("div",{className:"mHalf"},e.createElement(s,{type:"regular",size:"sm",className:"linkTitle"},null===(u=_[1])||void 0===u?void 0:u.menu_title),null===(v=null===(g=_[1])||void 0===g?void 0:g.items)||void 0===v?void 0:v.map((function(t,a){return e.createElement("a",{"data-event-category":"Footer","data-event-action":t.title,"data-event-label":"https://".concat(le[Z]).concat(t.url),className:"link",href:t.url,key:a},e.createElement(s,{size:"sm",type:"regular",dataEventCategory:"Footer",dataEventAction:t.title,dataEventLabel:"https://".concat(le[Z]).concat(t.url)},t.title))}))),e.createElement("div",{className:"mHalf"},e.createElement(s,{type:"regular",size:"sm",className:"linkTitle"},null===(h=_[2])||void 0===h?void 0:h.menu_title),null===(y=null===(E=_[2])||void 0===E?void 0:E.items)||void 0===y?void 0:y.map((function(t,a){return t.url&&e.createElement("a",{"data-event-category":"Footer","data-event-action":t.title,"data-event-label":t.url,className:"link",href:t.url,key:a},e.createElement(s,{size:"sm",type:"regular",dataEventCategory:"Footer",dataEventAction:t.title,dataEventLabel:t.url},t.title))})))),!z&&e.createElement(e.Fragment,null,e.createElement("hr",{className:"hrMobile"}),e.createElement("div",{className:"otherSites"},e.createElement(s,{type:"regular",size:"sm",className:"linkTitle"},null===(f=null==O?void 0:O.branch)||void 0===f?void 0:f.title),e.createElement("div",{className:"flags"},null===(k=null===(C=null==O?void 0:O.branch)||void 0===C?void 0:C.branch)||void 0===k?void 0:k.map((function(t,a){return e.createElement("a",{className:"link",href:t.url,key:a,"data-event-category":"Footer","data-event-action":t.name,"data-event-label":t.url},e.createElement(Fr,{url:t.flag,isMobile:j,dataEventCategory:"Footer",dataEventAction:t.name,dataEventLabel:t.url,isAmp:z}))}))))))),e.createElement("hr",null),e.createElement("div",{className:"copyright","data-is-amp":z||void 0},(null===(b=null==O?void 0:O.general)||void 0===b?void 0:b.verified)&&e.createElement("a",{href:null===(L=null===(w=null==O?void 0:O.general)||void 0===w?void 0:w.verified[0])||void 0===L?void 0:L.url,className:"copyright-image"},z?e.createElement("amp-img",{src:null===(S=null===(A=null==O?void 0:O.general)||void 0===A?void 0:A.verified[0])||void 0===S?void 0:S.image,alt:"DMCA Icon",width:"100",height:"36"}):e.createElement("img",{loading:"lazy",className:"lazy","data-src":null===(x=null===(N=null==O?void 0:O.general)||void 0===N?void 0:N.verified[0])||void 0===x?void 0:x.image,alt:"DMCA Icon"})),e.createElement(s,{size:"xs",type:"regular",className:"copyright-content"},null===(T=null==O?void 0:O.general)||void 0===T?void 0:T.copyright)),"vi-VN"===Z&&e.createElement(s,{className:"copyright-certificate",size:"xs",type:"regular",color:"white"},"Giấy xác nhận cung cấp dịch vụ mạng xã hội trực tuyến số 529/GP-BTTTT, HN ngày 03/12/2019")):e.createElement(e.Fragment,null,(null==O?void 0:O.menu)&&e.createElement("div",{className:"columns"},e.createElement("div",{className:"mHalf"},e.createElement(s,{type:"regular",size:"sm",className:"linkTitle"},null===(B=null==O?void 0:O.menu[1])||void 0===B?void 0:B.menu_title),null===(M=null===(F=null==O?void 0:O.menu[1])||void 0===F?void 0:F.items)||void 0===M?void 0:M.map((function(t){return e.createElement("a",{className:"link",href:t.url,key:t.title,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Information","data-content-title":t.title,"data-content-id":"https://".concat(le[Z]).concat(t.url),"data-event-category":"Footer","data-event-action":t.title,"data-event-label":"https://".concat(le[Z]).concat(t.url)},e.createElement(s,{dataEventCategory:"Footer",dataEventAction:t.title,dataEventLabel:"https://".concat(le[Z]).concat(t.url),size:"sm",type:"regular",style:{color:ae.colors.gray800}},t.title))}))),e.createElement("div",{className:"mHalf"},e.createElement(s,{type:"regular",size:"sm",className:"linkTitle"},null===(U=null==O?void 0:O.menu[2])||void 0===U?void 0:U.menu_title),null===(D=null===(W=null==O?void 0:O.menu[2])||void 0===W?void 0:W.items)||void 0===D?void 0:D.map((function(t,a){return e.createElement("a",{className:"link",href:t.url,key:a,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Hello Health","data-content-title":t.title,"data-content-id":t.url,"data-event-category":"Footer","data-event-action":t.title,"data-event-label":t.url},e.createElement(s,{size:"sm",type:"regular",style:{color:ae.colors.gray800},dataEventCategory:"Footer",dataEventAction:t.title,dataEventLabel:t.url},t.title))}))),!z&&"mini"!==P&&e.createElement("hr",{className:"hrMobile"}),e.createElement("div",{className:"newsletter"},e.createElement("div",{className:"social"},e.createElement(s,{size:"sm",type:"regular"},null===(V=null==O?void 0:O.social)||void 0===V?void 0:V.title),e.createElement("div",{className:"icons"},null===(I=null===(R=null==O?void 0:O.social)||void 0===R?void 0:R.socials)||void 0===I?void 0:I.map((function(t,a){return e.createElement("a",{key:a,"data-event-category":"Footer","data-event-action":"Follow us - ".concat(t.name),"data-content-label":t.url,href:t.url},z?e.createElement("amp-img",{"data-event-category":"Footer","data-event-action":"Follow us - ".concat(t.name),"data-content-label":t.url,src:t.icon,alt:"Logo Social",width:"32",height:"32"}):e.createElement("img",{loading:"lazy","data-event-category":"Footer","data-event-action":"Follow us - ".concat(t.name),"data-content-label":t.url,"data-src":t.icon,alt:"Logo Social",className:"social-icon lazy"}))}))))))))))},Ur=function(t){var a=t.type,n=t.color,l=t.style,o=z(t,["type","color","style"]);return e.createElement(Gl,j({"data-type":a,style:j(j({},l),n&&{"--text-color":n})},o))},Wr={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"}},Dr=function(t){var a,n=t.socialLinks,l=void 0===n?Wr.SOCIAL_LINKS:n,o=l.facebookLink,i=l.instagramLink,r=l.zaloLink,c=l.youtubeLink,s=t.copyrightText,m=t.logoType,d=void 0===m?"marryBaby":m,p=t.isMobile,u=t.footerMenu,g=void 0===u?[]:u,v=t.type,h=void 0===v?"main":v,E=K().t;return"main"===h?e.createElement(jl,{className:"footer-container"},!p&&e.createElement("div",{className:"footer-divider"},e.createElement(G,{type:"marryBaby"},e.createElement(ma,{style:{padding:"0 16px"},type:"solid"}))),e.createElement(Zl,null,e.createElement(G,{type:"marryBaby"},e.createElement(zl,null,e.createElement("div",{className:"grid"},null===(a=p?null==g?void 0:g.slice(0,6):g)||void 0===a?void 0:a.map((function(t,a){var n=t.title,l=t.link;return e.createElement("a",{"data-event-category":"Footer","data-event-action":n,"data-event-label":"".concat(l),className:"link",href:l,key:"footer-links-".concat(a)},e.createElement(Ur,{color:ae.colors.gray800,type:"subtitle-2"},n))})),e.createElement("div",{className:"social-wrapper"},e.createElement("div",{className:"social"},e.createElement(Ur,{type:"subtitle-2"},E("footer.followUsText")),e.createElement("div",{className:"icons-links"},o&&e.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Facebook","data-content-label":o,href:o},e.createElement("img",{src:$o,alt:"Facebook"})),c&&e.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Youtube","data-event-label":c,href:c},e.createElement("img",{src:li,alt:"Youtube"})),i&&e.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Instagram","data-content-label":i,href:i},e.createElement("img",{src:ei,alt:"Instagram"})),r&&e.createElement("a",{target:"_blank",rel:"noreferrer",href:r,"data-event-category":"Footer","data-event-action":"Follow us - Zalo","data-event-label":r},e.createElement("img",{src:oi,alt:"Zalo"}))))))))),e.createElement(Ql,null,e.createElement(G,{type:"marryBaby"},e.createElement(_l,null,e.createElement(O,{className:"logo",type:d,width:"121px"}),e.createElement(Ur,{className:"company-name",type:"subtitle-2"},E("footer.info.companyName")),e.createElement("div",{className:"text-info"},e.createElement(Ur,{type:"bodytext-3"},E("footer.info.address")),e.createElement(Ur,{type:"bodytext-3"},E("footer.info.license")),e.createElement(Ur,{type:"bodytext-3"},E("footer.info.email"))),e.createElement("div",{className:"img-container"},e.createElement("img",{src:"/images/dmca_protected.png",alt:"DMCA protected"}),e.createElement("a",{href:"http://online.gov.vn/Home/WebDetails/25055?AspxAutoDetectCookieSupport=1",target:"_blank",rel:"noreferrer"},e.createElement("img",{src:"/images/mit_registered.png",alt:"MIT registered"}))),!p&&e.createElement(ma,{type:"solid"}),e.createElement("div",{className:"language-and-copyright"},e.createElement(Ur,{type:"bodytext-3"},s)))))):e.createElement(Yl,null,e.createElement(Kl,null),e.createElement(Ur,{type:"subtitle-3",style:{marginBottom:24,textTransform:"uppercase",fontWeight:ae.sizes.fwSemiBold},color:ae.mbColors.midGray},E("footer.followUsText")),e.createElement("div",{className:"icons-links"},o&&e.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Facebook","data-content-label":o,href:o},e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.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)"}),e.createElement("defs",null,e.createElement("linearGradient",{id:"paint0_linear",x1:"12",y1:"3",x2:"12",y2:"21",gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#4DABF7"}),e.createElement("stop",{offset:"1",stopColor:"#2668DA"}))))),c&&e.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Youtube","data-event-label":c,href:c},e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.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"}))),i&&e.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Instagram","data-content-label":i,href:i},e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.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)"}),e.createElement("defs",null,e.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)"},e.createElement("stop",{offset:"0.073",stopColor:"#EACC7B"}),e.createElement("stop",{offset:"0.184",stopColor:"#ECAA59"}),e.createElement("stop",{offset:"0.307",stopColor:"#EF802E"}),e.createElement("stop",{offset:"0.358",stopColor:"#EF6D3A"}),e.createElement("stop",{offset:"0.46",stopColor:"#F04B50"}),e.createElement("stop",{offset:"0.516",stopColor:"#F03E58"}),e.createElement("stop",{offset:"0.689",stopColor:"#DB359E"}),e.createElement("stop",{offset:"0.724",stopColor:"#CE37A4"}),e.createElement("stop",{offset:"0.789",stopColor:"#AC3CB4"}),e.createElement("stop",{offset:"0.877",stopColor:"#7544CF"}),e.createElement("stop",{offset:"0.98",stopColor:"#2B4FF2"}))))),r&&e.createElement("a",{target:"_blank",rel:"noreferrer",href:r,"data-event-category":"Footer","data-event-action":"Follow us - Zalo","data-event-label":r},e.createElement("div",{style:{height:24,width:24}},e.createElement("img",{src:"/icons/zalo.png",alt:"Zalo"})))))},Vr=function(t){var a=t.type,n=t.isMobile,l=void 0===n||n,o=t.locale,i=t.footerInfo,r=t.isAmp;return"helloSites"===t.siteType?e.createElement(Mr,{isAmp:r,isMobile:l,type:a,locale:o,footerInfo:i||{}}):e.createElement(Dr,{isMobile:l,locale:o,footerMenu:i||[],copyrightText:"© 2022 MarryBaby.vn",socialLinks:t.marryBabySocialLinks,type:a})};export{Io as A,Ho as B,Jo as C,hi as D,Vr as E,Po as F,Oo as G,Ei as I,zi as L,Nr as N,jo as P,ii as R,Zo as S,_o as T,Ko as U,qo as a,Qo as b,Yo as c,Xo as d,ri as e,mi as f,pi as g,ui as h,gi as i,yi as j,fi as k,ki as l,bi as m,wi as n,Li as o,Ai as p,Si as q,Ni as r,xi as s,Ti as t,Ui as u,Di as v,Vi as w,xr as x,Er as y,Tr as z};
1
+ import e,{useState as t,useRef as a,useMemo as n,useEffect as l,Fragment as o,useCallback as i}from"react";import{S as r,d as c,T as s,e as m,f as d,g as p,h as u,i as g,j as v,k as h,l as E,m as y,n as f,o as C,p as k,q as b,r as w,s as L,t as A,u as S,v as N,w as x,x as T,y as B,z as F,A as M,B as U,D as W,E as D,F as V,G as R,H as I,I as H,J as q,P,a as O,C as G}from"./index.styled-4154e676.js";import{b as j,c as Z,d as z,_ as Q,a as _}from"./tslib.es6-6ae0d506.js";import{i as Y,u as K}from"./useTranslations-0b650088.js";import{Range as X,getTrackBackground as J,useThumbOverlap as $}from"react-range";import{B as ee,H as te}from"./index.styled-25acea1f.js";import{t as ae,i as ne,d as le}from"./theme-0e20eeec.js";import{l as oe,m as ie,n as re,o as ce,p as se,q as me,r as de,s as pe,t as ue,u as ge,v as ve,w as he,x as Ee,y as ye,z as fe,B as Ce,E as ke,F as be,H as we,I as Le,J as Ae,K as Se,N as Ne,O as xe,Q as Te,V as Be,W as Fe,X as Me,Y as Ue,Z as We,_ as De,$ as Ve,a0 as Re,a1 as Ie,a2 as He,a3 as qe,a4 as Pe,a5 as Oe,a6 as Ge,a7 as je,a8 as Ze,a9 as ze,aa as Qe,ab as _e,ac as Ye,ad as Ke,ae as Xe,af as Je,ag as $e,ah as et,ai as tt,aj as at,ak as nt,al as lt,am as ot,an as it,ao as rt,ap as ct,aq as st,ar as mt,as as dt,at as pt,au as ut,av as gt,aw as vt,ax as ht,ay as Et,az as yt,aA as ft,aB as Ct,aC as kt,aD as bt,aE as wt,aF as Lt,aG as At,aH as St,aI as Nt,aJ as xt,aK as Tt,A as Bt,aL as Ft,aM as Mt,aN as Ut,aO as Wt,P as Dt,aP as Vt,aQ as Rt,aR as It,aS as Ht,aT as qt,aU as Pt,aV as Ot,aW as Gt,aX as jt,aY as Zt,aZ as zt,a_ as Qt,a$ as _t,b0 as Yt,b1 as Kt,b2 as Xt,d as Jt}from"./index.styled-87405fce.js";import{useId as $t}from"react-id-generator";import{a as ea,S as ta,b as aa,c as na,d as la,e as oa,f as ia,g as ra,h as ca,i as sa,D as ma,j as da,k as pa,M as ua,l as ga,m as va,n as ha,o as Ea,p as ya,q as fa,r as Ca,s as ka,t as ba,u as wa,v as La,w as Aa,x as Sa,y as Na,z as xa,A as Ta,B as Ba,C as Fa,E as Ma,F as Ua,G as Wa,H as Da,I as Va,J as Ra,K as Ia,L as Ha,N as qa,O as Pa,P as Oa,Q as Ga,R as ja,T as Za,U as za,V as Qa,W as _a,X as Ya,Y as Ka,Z as Xa,_ as Ja,$ as $a,a0 as en,a1 as tn,a2 as an,a3 as nn,a4 as ln,a5 as on,a6 as rn,a7 as cn,a8 as sn,a9 as mn,aa as dn,ab as pn,ac as un,ad as gn,ae as vn,af as hn,ag as En,ah as yn,ai as fn,aj as Cn,ak as kn,al as bn,am as wn,an as Ln,ao as An,ap as Sn,aq as Nn,ar as xn,as as Tn,at as Bn,au as Fn,av as Mn,aw as Un,ax as Wn,ay as Dn,az as Vn,aA as Rn,aB as In,aC as Hn,aD as qn,aE as Pn,aF as On,aG as Gn,aH as jn,aI as Zn,aJ as zn,aK as Qn,aL as _n,aM as Yn,aN as Kn,aO as Xn,aP as Jn,aQ as $n,aR as el,aS as tl,aT as al,aU as nl,aV as ll,aW as ol,aX as il,aY as rl,aZ as cl,a_ as sl,a$ as ml,b0 as dl,b1 as pl,b2 as ul,b3 as gl,b4 as vl,b5 as hl,b6 as El,b7 as yl,b8 as fl,b9 as Cl,ba as kl,bb as bl,bc as wl,bd as Ll,be as Al,bf as Sl,bg as Nl,bh as xl,bi as Tl,bj as Bl,bk as Fl,bl as Ml,bm as Ul,bn as Wl,bo as Dl,bp as Vl,bq as Rl,br as Il,bs as Hl,bt as ql,bu as Pl,bv as Ol,bw as Gl,bx as jl,by as Zl,bz as zl,bA as Ql,bB as _l,bC as Yl,bD as Kl}from"./index.styled-f4d43629.js";import{format as Xl,isBefore as Jl,startOfMonth as $l,addMonths as eo,subMonths as to,getDaysInMonth as ao,isToday as no,isSameDay as lo,isWithinInterval as oo,isAfter as io,isPast as ro}from"date-fns";import co from"react-day-picker/DayPickerInput";import{throttle as so,debounce as mo}from"lodash";import{useKeenSlider as po}from"keen-slider/react";import"react-dom";import{L as uo,F as go,d as vo,I as ho,M as Eo,a as yo,S as fo,b as Co}from"./constants-4e52a6b1.js";import{u as ko}from"./useOutsideClick-6004483a.js";import bo from"date-fns/locale/en-US";import wo from"date-fns/locale/id";import Lo from"date-fns/locale/vi";import Ao from"date-fns/locale/zh-TW";import{l as So}from"./lazyLoad-d80d3fd1.js";import"lodash/debounce";import"styled-components";import{u as No,i as xo,f as To,h as Bo,j as Fo,k as Mo,l as Uo,U as Wo}from"./index-e4b4c408.js";import Do from"react-loading-skeleton";import{T as Vo}from"./translationsProvider-1ddfe46a.js";import{s as Ro}from"./cookieHelper-0e8521c3.js";var Io=function(t){var a=t.style,n=t.onClose,l=t.text,o=t.type,i=t.contentIcon,d=t.closeIcon,p=t.className,u=t.description;return e.createElement(r,{style:a,"data-alert-type":o,className:p},e.createElement(c,null,e.createElement("div",{className:"icon-title"},i,e.createElement(s,{type:"bold",size:"label1"},l)),e.createElement(s,{type:"regular",size:"p3"},u)),e.createElement(m,{onClick:n},d))},Ho=function(t){var a=t.amount,n=t.type,l=t.size,o=void 0===l?"medium":l,i=t.color,r=void 0===i?"primary":i,c=t.icon,s=t.className;return e.createElement(d,{"data-notification-type":n,"data-notification-size":o,"data-notification-color":r,"data-has-icon":!!c||void 0,notificationType:n,notificationSize:o,notificationColor:r,hasIcon:!!c,className:s},e.createElement("div",null,a&&e.createElement("span",null,a)," ",c&&e.createElement("div",null,c)))},qo=function(t){var a=t.style,n=t.children,l=t.className,o=t.size,i=void 0===o?"lg":o,r=t.type,c=void 0===r?"bold":r,s=t.upperCase,m=t.as,d=void 0===m?"h4":m,u=t.color;return e.createElement(p,{style:j({color:u},a),className:l,"data-size":i,"data-type":c,"data-uppercase":s,as:d},n)},Po=function(n){var l=n.className,o=n.value,i=n.options,r=n.onUploadSelected,c=n.id,s=n.placeholderIcon,m=n.placeholder,d=n.style,p=t(!1),y=p[0],f=p[1],C=function(){return f(!y)},k=a(i.map((function(t){return"upload"===t.type&&e.createElement("input",{id:"uploader-dropdown-input-"+c+"-"+t.value,key:"uploader-dropdown-input-"+c+"-"+t.value,accept:t.fileAcceptedType,multiple:t.multiple,type:"file",style:{display:"none"},onChange:function(e){console.log("change"),r(e.target.files)}})}))),b=e.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 12.17 14.83"},e.createElement("defs",null,e.createElement("clipPath",{id:"prefix__clip-path",transform:"translate(-1.92 -1.54)"},e.createElement("path",{fill:"none",d:"M0 .96h16v16H0z"})),e.createElement("style",null,".prefix__cls-3{fill:none;stroke:#595959;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px}")),e.createElement("title",null,"File"),e.createElement("g",{clipPath:"url(#prefix__clip-path)"},e.createElement("path",{className:"prefix__cls-3",d:"M8.67 2.29H4a1.33 1.33 0 00-1.33 1.33v10.67A1.33 1.33 0 004 15.62h8a1.33 1.33 0 001.33-1.33V7z",transform:"translate(-1.92 -1.54)"}),e.createElement("path",{className:"prefix__cls-3",d:"M8.67 2.29V7h4.66",transform:"translate(-1.92 -1.54)"}))),w=e.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 13.5 13.5"},e.createElement("defs",null,e.createElement("style",null,".prefix__cls-1{fill:none;stroke:#595959;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px}")),e.createElement("title",null,"download"),e.createElement("path",{className:"prefix__cls-1",d:"M14 11v2.66A1.33 1.33 0 0112.67 15H3.33A1.33 1.33 0 012 13.62V11M4.67 7.62L8 11l3.33-3.34M8 11V3",transform:"translate(-1.25 -2.21)"})),L=e.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 13.5 13.5"},e.createElement("defs",null,e.createElement("style",null,".prefix__cls-1{fill:none;stroke:#595959;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px}")),e.createElement("title",null,"upload"),e.createElement("path",{className:"prefix__cls-1",d:"M14 11v2.66A1.33 1.33 0 0112.67 15H3.33A1.33 1.33 0 012 13.62V11M11.33 6.29L8 3 4.67 6.29M8 3v8",transform:"translate(-1.25 -2.21)"}));return e.createElement(u,{className:l,"data-dropdown-open":!!y,id:c,"data-has-icons":!0,style:d,onBlur:function(){return f(!1)},tabIndex:0},e.createElement(g,{onClick:C},s||b," ",e.createElement("span",null,o&&o.value?o.label:m)),y&&e.createElement(v,{onClick:C,"data-has-icons":!0},i.map((function(t){return e.createElement(h,{key:"".concat(c,"-").concat(t.value),"data-selected":o&&o.value===t.value||void 0,onClick:function(){return"upload"===t.type?function(e){var t;null===(t=document.querySelector(e))||void 0===t||t.click()}("#uploader-dropdown-input-"+c+"-"+t.value):void((e=t.url)&&window.open(e,"_blank"));var e}},e.createElement(E,null,t.icon||"download"===t.type?w:L),t.label)}))),e.createElement(e.Fragment,null,k.current))},Oo=function(t){var a=t.className,n=t.columns,l=t.columnsDesktop,o=t.gridTemplateColumns,i=t.gridTemplateColumnsDesktop,r=t.gap,c=t.children,s=t.justifyChildren,m=t.style,d=t.alignItems;return e.createElement(y,{className:a,style:m,theme:{columns:n,columnsDesktop:l,gap:r,justifyChildren:s,gridTemplateColumns:o,gridTemplateColumnsDesktop:i,alignItems:d}},c)},Go=function(a){var n=a.pagesAmount,i=a.activePage,r=a.handlePageChange,c=a.handleClick,s=a.href,m=a.queryPageName,d=void 0===m?"page":m,p=Z([],Array(n),!0).map((function(e,t){return t+1})),u=t(i<=4?p.slice(0,5):i>=p.length-3?p.slice(p.length-5,p.length):p.slice(i-2,i+1)),g=u[0],v=u[1];return l((function(){i<=4?v(p.slice(0,5)):i>=p.length-3?v(p.slice(p.length-5,p.length)):v(p.slice(i-2,i+1))}),[i]),e.createElement(o,null,i>4&&e.createElement(o,null,e.createElement(k,{onClick:function(){return r(1)}},s?e.createElement("a",{href:s,onClick:c},1):1),e.createElement(k,null,"...")),g.map((function(t){return e.createElement(k,{key:"".concat("pagination","+").concat(t),"data-page-active":t===i||void 0,onClick:function(){return r(t)}},s?e.createElement("a",{href:Y(s,t,d),onClick:c},t):t)})),i<p.length-3&&e.createElement(o,null,e.createElement(k,null,"..."),e.createElement(k,{onClick:function(){return r(p.length)}},s?e.createElement("a",{href:Y(s,p.length,d),onClick:c},p.length):p.length)))},jo=function(a){var o=a.className,i=a.pagesAmount,r=a.currentPage,c=a.onChange,s=a.onClick,m=a.style,d=a.href,p=a.queryPageName,u=void 0===p?"page":p,g=Z([],Array(i),!0).map((function(e,t){return t+1})),v=t(r),h=v[0],E=v[1],y=n((function(){return d&&d.endsWith("&page=")?d.replace("&page=",""):d}),[d]),b=i-1,w=function(e){e<=i&&e>0&&(E(e),c(e))},L=function(e){s&&s(e)};return l((function(){E(r)}),[r]),e.createElement(f,{className:o,style:m},e.createElement(C,{className:"prev-page",onClick:function(){return w(h-1)},"data-last-page":1===h||void 0},y?e.createElement("a",{href:Y(y,h,u),onClick:L},e.createElement("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M5.5 9L1.5 5L5.5 1",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))):e.createElement("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M5.5 9L1.5 5L5.5 1",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))),g.length>8?e.createElement(Go,{pagesAmount:i,activePage:h,handlePageChange:w,handleClick:L,href:y,queryPageName:u}):g.map((function(t){return e.createElement(k,{key:"".concat("pagination","+").concat(t),"data-page-active":t===h||void 0,onClick:function(){return w(t)}},y?e.createElement("a",{href:Y(y,t,u),onClick:L},t):t)})),e.createElement(C,{className:"next-page",onClick:function(){return w(h+1)},"data-last-page":h===b+1||void 0},y?e.createElement("a",{href:Y(y,h,u),onClick:L},e.createElement("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M1.5 9L5.5 5L1.5 1",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))):e.createElement("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M1.5 9L5.5 5L1.5 1",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))))},Zo=function(t){var a=t.size,n=t.children,l=t.style,o=t.className;return e.createElement(b,{style:l,className:o,"data-shadow-size":a},n)};function zo(t){var a=t.rangeRef,n=t.values,l=t.index,o=$(a,n,l,1," - ",(function(e){return e})),i=o[0],r=o[1];return e.createElement(e.Fragment,null,e.createElement(N,{"data-label":l,style:r},i),e.createElement(x,{"data-label":l}))}var Qo=function(a){var n=a.step,o=a.min,i=a.max,r=a.value,c=a.onChange,m=a.className,d=a.heading,p=a.isMobile,u=void 0!==p&&p,g=["#DBDFE5","#2D87F3","#DBDFE5"],v=e.useRef(),h=t(r),E=h[0],y=h[1];l((function(){y(r)}),[r[0],r[1]]);return e.createElement(w,{className:m},e.createElement(X,{ref:v,values:E[0]>=o&&E[1]<=i?E:[o,i],onChange:y,onFinalChange:c,renderThumb:function(t){var a=t.props,n=t.index;return e.createElement(L,j({},a),e.createElement(zo,{rangeRef:v.current,values:E,index:n,isMobile:u}))},renderTrack:function(t){var a=t.props,n=t.children,l={background:J({values:E,colors:g,min:o,max:i})};return e.createElement(e.Fragment,null,d&&e.createElement(s,{size:"md",type:"bold"},d),e.createElement(A,{onMouseDown:a.onMouseDown,onTouchStart:a.onTouchStart,style:j({},a.style)},e.createElement(S,{ref:a.ref,style:l},n)))},step:n,min:o,max:i}))},_o=function(t){var a=t.type,n=t.children,l=t.style,o=t.isInline,i=t.isSquared,r=void 0!==i&&i,c=t.className,m=t.isLight,d=t.hasMorePadding,p=t.isLink,u=t.isSelected,g=t.textProps,v=void 0===g?{size:"sm"}:g,h=v.color?{"--text-props-color":v.color}:{};return e.createElement(T,{"data-is-squared":r||void 0,"data-tag-type":a,"data-is-light":m||void 0,"data-has-more-padding":d||void 0,"data-is-inline":o||void 0,style:j(j({},l),h),className:c,"data-is-selected":u||void 0,"data-is-link":p||void 0,tagType:a,isInline:o,tagHasMorePadding:d,tagIsLight:m,tagIsSquared:r,tagIsALink:p},e.createElement(s,j({},v),n))},Yo=function(t){var a=t.className,n=t.id,l=t.onChange,o=t.checked,i=t.style,r=t.label;return e.createElement(B,{className:a,style:i},e.createElement("input",{type:"checkbox",id:n,onChange:l,checked:o}),e.createElement("label",{htmlFor:n},e.createElement(F,null),r&&e.createElement(M,null,r)))},Ko=function(t){var a=t.size,n=t.isDisabled,l=t.className,o=t.link,i=t.style;return e.createElement(U,{className:l,"data-size":a,style:i,"data-disabled":n||void 0},o)},Xo=function(t){var a=t.type,n=t.withIcon,l=t.onFileSelected,o=t.inputId,i=t.withElement,r=t.fileAcceptType,c=t.multiple,s=t.value,m=t.className,d=function(){var e;null===(e=document.querySelector("#uploader-input-"+o))||void 0===e||e.click()};return e.createElement(W,{className:m},"badge"===a?e.createElement(D,{onClick:d,"data-is-attached-to-element":!!i},i,e.createElement(V,{"data-is-attached-to-element":!!i},n)):i?e.createElement("div",{onClick:d},i):e.createElement(ee,{size:"md",color:"secondary",className:"default-button",icon:n,onClick:d},e.createElement(R,null,e.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 13.5 13.5"},e.createElement("defs",null,e.createElement("style",null,".prefix__cls-1{fill:none;stroke:#000;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px}")),e.createElement("title",null,"upload"),e.createElement("path",{className:"prefix__cls-1",d:"M14 10v2.67A1.33 1.33 0 0112.67 14H3.33A1.33 1.33 0 012 12.67V10M11.33 5.33L8 2 4.67 5.33M8 2v8",transform:"translate(-1.25 -1.25)"})),"Upload Image")),e.createElement("input",{id:"uploader-input-"+o,accept:r,multiple:c,type:"file",style:{display:"none"},onChange:function(e){l(e.target.files)},value:s}))},Jo=function(t){var a=t.label,n=t.name,l=t.checked,o=t.className,i=t.isDisabled,r=t.onChange,c=t.value,s=t.isRectangle;return e.createElement(I,{className:o,"data-disabled":i||void 0,"data-is-rectangle":s||void 0,"data-label-text":a},e.createElement("input",{type:"checkbox",checked:l,name:n,onChange:function(){return r(c,!l)},disabled:i,value:c,id:"".concat(n,"-").concat(c),"data-label-text":a}),!s&&e.createElement("label",{htmlFor:"".concat(n,"-").concat(c)},a))},$o="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",ei="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",ti=function(t){return e.createElement("svg",j({},t,{viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"}),e.createElement("path",{d:"M16.0002 23.0266L22.8935 27.1866C23.4002 27.4933 24.0268 27.04 23.8935 26.4666L22.0668 18.6266L28.1468 13.36C28.5868 12.9733 28.3602 12.24 27.7602 12.1866L19.7468 11.5066L16.6135 4.11996C16.3868 3.57329 15.6135 3.57329 15.3868 4.11996L12.2535 11.5066L4.24016 12.1866C3.65349 12.24 3.41349 12.9733 3.86682 13.36L9.94682 18.6266L8.12016 26.4666C7.98682 27.04 8.61349 27.4933 9.12016 27.1866L16.0002 23.0266Z",fill:"#D2D6DC"}))},ai=function(t){return e.createElement("svg",j({},t,{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"}),e.createElement("path",{d:"M16.0002 23.0266L22.8935 27.1866C23.4002 27.4933 24.0268 27.04 23.8935 26.4666L22.0668 18.6266L28.1468 13.36C28.5868 12.9733 28.3602 12.24 27.7602 12.1866L19.7468 11.5066L16.6135 4.11996C16.3868 3.57329 15.6135 3.57329 15.3868 4.11996L12.2535 11.5066L4.24016 12.1866C3.65349 12.24 3.41349 12.9733 3.86682 13.36L9.94682 18.6266L8.12016 26.4666C7.98682 27.04 8.61349 27.4933 9.12016 27.1866L16.0002 23.0266Z",fill:"#FFC326"}))},ni=function(t){return e.createElement("svg",j({},t,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"}),e.createElement("path",{d:"M12.0001 17.2697L17.1701 20.3897C17.5501 20.6197 18.0201 20.2797 17.9201 19.8497L16.5501 13.9697L21.1101 10.0197C21.4401 9.72973 21.2701 9.17973 20.8201 9.13973L14.8101 8.62973L12.4601 3.08973C12.2901 2.67973 11.7101 2.67973 11.5401 3.08973L9.19006 8.62973L3.18006 9.13973C2.74006 9.17973 2.56006 9.72973 2.90006 10.0197L7.46006 13.9697L6.09006 19.8497C5.99006 20.2797 6.46006 20.6197 6.84006 20.3897L12.0001 17.2697Z",fill:"#E4E8EC"}),e.createElement("mask",{id:"mask0_3555_5815",maskUnits:"userSpaceOnUse",x:"2",y:"0",width:"10",height:"24"},e.createElement("rect",{x:"2",width:"10",height:"24",fill:"#C4C4C4"})),e.createElement("g",{mask:"url(#mask0_3555_5815)"},e.createElement("path",{d:"M11.9998 17.2697L17.1698 20.3897C17.5498 20.6197 18.0198 20.2797 17.9198 19.8497L16.5498 13.9697L21.1098 10.0197C21.4398 9.72973 21.2698 9.17973 20.8198 9.13973L14.8098 8.62973L12.4598 3.08973C12.2898 2.67973 11.7098 2.67973 11.5398 3.08973L9.18981 8.62973L3.17981 9.13973C2.73981 9.17973 2.55981 9.72973 2.89981 10.0197L7.45981 13.9697L6.08981 19.8497C5.98981 20.2797 6.45981 20.6197 6.83981 20.3897L11.9998 17.2697Z",fill:"#FFC326"})))},li="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",oi="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+ehROKc6D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NlJ8WeD2LUj3vVhn4fL5qGgtEIBZfOQJlAaSKTVryl16yhImzu3Tke62l2wPhWcT7swzTqKLSJyWx5McZPlKPV7shZGlR6Iuk+XIiSE13BMnBxxz+HzMU/YREgmfCAAAAAElFTkSuQmCC",ii=function(a){var n=a.gap,l=void 0===n?2:n,o=a.size,i=void 0===o?24:o,r=a.star,c=a.totalStars,s=void 0===c?5:c,m=a.onSelect,d=a.hideEmptyStars,p=a.style,u=a.className,g=Math.floor(r),v=r-g>=.5?1:0,h=t(null),E=h[0],y=h[1],f=E||g,C=E?0:v;return e.createElement(H,{"data-selectable":!!m,style:j({"--gap":l,"--star-size":i},p),className:u},Array.from({length:d?g+v:s}).map((function(t,a){var n=function(){return!!m&&y(a+1)},l=function(){return!!m&&y(null)};return a+1<=f?e.createElement(ai,{key:a,onClick:function(){return null==m?void 0:m(a+1)},onMouseOver:n,onMouseLeave:l}):a+1===f+C?e.createElement(ni,{key:a,onClick:function(){return null==m?void 0:m(a+1)},onMouseOver:n,onMouseLeave:l}):e.createElement(ti,{key:a,onClick:function(){return null==m?void 0:m(a+1)},onMouseOver:n,onMouseLeave:l})})))},ri=function(t){var a=t.percent,n=t.style;return e.createElement(q,{style:j({"--progress":a},n)})},ci=function(t){var a=t.avatarImg,n=t.authorName,l=t.authorLink,o=t.uploadTime,i=t.size;return e.createElement(re,null,e.createElement("div",{className:"author"},e.createElement("div",{className:"avatar","data-size":i},a),e.createElement("div",{className:"poster","data-is-disabled-url":!l},e.createElement(s,{size:"lg"===i?"p3":"p4"},e.createElement("a",{href:l},e.createElement("span",{className:"name"},n),"•"," "),e.createElement("span",null,o)))))},si=function(t){var a=t.isMobile,n=t.avatarImg,l=t.name,o=t.link,i=t.size,r=void 0===i?"lg":i,c=t.specialty;return t.handleClick,t.isBookmarked,t.dataEventCategoryForBookmark,t.dataEventActionForBookmark,t.dataEventLabelForBookmark,e.createElement(re,null,e.createElement("div",{className:"author"},e.createElement("div",{className:"expert-avatar","data-size":r},n),e.createElement("div",{className:"expert","data-is-disabled-url":!o},a?e.createElement("a",{href:o},"lg"===r?e.createElement(e.Fragment,null,e.createElement(te,{tag:"h6",className:"expert__name",color:ae.colors.gray600},l),e.createElement(s,{color:ae.colors.gray500,size:"p3",className:"specialty"},c)):e.createElement(e.Fragment,null,e.createElement(te,{tag:"h6",className:"expert__name",color:ae.colors.gray600},l))):e.createElement("a",{href:o},"lg"===r?e.createElement(e.Fragment,null,e.createElement(te,{tag:"h6",className:"expert__name",color:ae.colors.gray600},l),e.createElement(s,{color:ae.colors.gray500,size:"p3",className:"specialty"},c)):e.createElement(e.Fragment,null,e.createElement(ce,{color:ae.colors.gray600,className:"expert__name"},l),e.createElement(s,{color:ae.colors.gray500,size:"p4",className:"specialty"},c))))))},mi=function(t){var a=t.articleLink,n=t.authorLink,l=t.authorName,o=t.avatarImg,i=t.banner,r=t.categoryLink,c=t.categoryName,m=t.className,d=t.dataEventActionForBanner,p=t.dataEventActionForBookmark,u=t.dataEventActionForCategory,g=t.dataEventActionForTitle,v=t.dataEventCategoryForBanner,h=t.dataEventCategoryForBookmark,E=t.dataEventCategoryForCategory,y=t.dataEventCategoryForTitle,f=t.dataEventLabelForBanner,C=t.dataEventLabelForBookmark,k=t.dataEventLabelForCategory,b=t.dataEventLabelForTitle,w=t.direction,L=void 0===w?"horizontal":w,A=t.hasAffiliate,S=t.isBookmark,N=void 0!==S&&S,x=t.isBookmarkDisplayed,T=void 0===x||x,B=t.isMobile,F=void 0===B||B,M=t.onBookmark,U=t.onClickCategoryName,W=t.section,D=void 0===W?"normal":W,V=t.size,R=void 0===V?"md":V,I=t.specialty,H=t.style,q=t.styleBanner,P=t.styleLabel,O=t.styleTitle,G=t.text,j=t.title,Z=t.type,z=void 0===Z?"author":Z,Q=t.uploadTime,_=t.articleLinkTarget,Y=function(e){e.stopPropagation(),M&&M()},K="lg"===R&&"expert"===z?"h4":"lg"===R&&"home"===D?F?"h4":"h3":"lg"===R?"h4":"h5",X="lg"===R?"p3":"p4",J=F||"home"!==D||"lg"!==R||"author"!==z?"c2":"c1";return e.createElement(oe,{className:m,"data-size":R,style:H,"data-direction":L,"data-is-expert":"expert"===z||void 0},e.createElement("div",{className:"banner",style:q},e.createElement(ie,{"data-event-category":v,"data-event-action":d,"data-event-label":f,href:a||"#",target:_},i),A&&e.createElement("div",{className:"shoppable"},e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("rect",{width:"24",height:"24",rx:"12",fill:"#1B3250"}),e.createElement("path",{d:"M16.6667 8.00033H15.3333C15.3333 6.16033 13.84 4.66699 12 4.66699C10.16 4.66699 8.66667 6.16033 8.66667 8.00033H7.33333C6.6 8.00033 6 8.60033 6 9.33366V17.3337C6 18.067 6.6 18.667 7.33333 18.667H16.6667C17.4 18.667 18 18.067 18 17.3337V9.33366C18 8.60033 17.4 8.00033 16.6667 8.00033ZM12 6.00033C13.1067 6.00033 14 6.89366 14 8.00033H10C10 6.89366 10.8933 6.00033 12 6.00033ZM12 12.667C10.4467 12.667 9.14 11.607 8.77333 10.167C8.66 9.74699 8.98667 9.33366 9.42 9.33366C9.73333 9.33366 9.98667 9.56033 10.0733 9.86699C10.3067 10.7137 11.08 11.3337 12 11.3337C12.92 11.3337 13.6933 10.7137 13.9267 9.86699C14.0133 9.56033 14.2667 9.33366 14.58 9.33366C15.0133 9.33366 15.3333 9.74699 15.2267 10.167C14.86 11.607 13.5533 12.667 12 12.667Z",fill:"white"})))),e.createElement("div",{className:"content"},e.createElement("div",{className:"inner-content"},e.createElement(s,{style:P,className:"label",size:J,type:"caption"},e.createElement(ie,{"data-event-category":E,"data-event-action":u,"data-event-label":k,href:r||"#",onClick:U},c),T&&e.createElement("a",{className:"bookmark",onClick:Y},N?e.createElement("svg",{"data-event-category":h,"data-event-action":p,"data-event-label":C,width:"14",height:"16",viewBox:"0 0 14 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M13 15L7 11.1111L1 15V2.55556C1 2.143 1.18061 1.74733 1.5021 1.45561C1.82359 1.16389 2.25963 1 2.71429 1H11.2857C11.7404 1 12.1764 1.16389 12.4979 1.45561C12.8194 1.74733 13 2.143 13 2.55556V15Z",fill:"#2ED69E",stroke:"#2ED69E",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})):e.createElement("svg",{"data-event-category":h,"data-event-action":p,"data-event-label":C,width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M12.75 2.25H5.25C4.425 2.25 3.75 2.925 3.75 3.75V15.75L9 13.5L14.25 15.75V3.75C14.25 2.925 13.575 2.25 12.75 2.25Z",fill:"#D2D6DC"})))),e.createElement(te,{tag:K,style:O,className:"title",as:"lg"===R?"h2":"h3"},e.createElement(ie,{"data-event-category":y,"data-event-action":g,"data-event-label":b,href:a||"#",target:_},j)),G&&e.createElement("a",{href:a||"#",target:_},e.createElement(s,{size:X,className:"text"},G))),e.createElement("div",{className:"footer"},"author"===z?e.createElement(ci,{size:R,avatarImg:o,authorName:l,authorLink:n,uploadTime:Q,handleClick:Y,isBookmarked:N,dataEventCategoryForBookmark:h,dataEventActionForBookmark:p,dataEventLabelForBookmark:C}):e.createElement(si,{size:R,isMobile:F,avatarImg:o,specialty:I,name:l,link:n,handleClick:Y,isBookmarked:N,dataEventCategoryForBookmark:h,dataEventActionForBookmark:p,dataEventLabelForBookmark:C}))))},di=function(t){var a=t.LinkComponent,n=t.page,l=t.isLast,o=t.onChangePage,i=n.label,r=n.value,c=n.isDropdown,s=n.dropdownItems,m=n.dataEventCategory,d=n.dataEventAction,p=n.dataEventLabel;return c?e.createElement(ea,{options:s,placeholder:"...",id:"",placeholderIcon:null,onChange:o,className:"collapsed-breadcrumb"}):e.createElement(de,{title:"string"!=typeof i?r:i,"data-last":l},a&&e.createElement(a,{"data-event-category":m,"data-event-action":d,"data-event-label":p,href:r||"#"},i))},pi=function(t){var a=t.className,l=t.pages,i=t.size,r=t.LinkComponent,c=void 0===r?"a":r,s=t.onChangePage,m=t.separator,d=n((function(){return l.map((function(e,t){return l.length>4?t>1&&t<l.length-2?null:1===t?j(j({},e),{isDropdown:1===t,dropdownItems:l.slice(1,l.length-2)}):e:e})).filter(Boolean)}),[l]),p=$t(d.length);return e.createElement(se,{"data-size":i,className:a},d.map((function(t,a){var n=a+1===d.length;return e.createElement(o,{key:p[a]},e.createElement(di,{LinkComponent:c,page:t,isLast:n,onChangePage:s}),!n&&(m||e.createElement(me,{"data-size":i})))})))},ui=function(t){var a=t.imgBanner,n=t.label,l=t.className,o=t.style,i=t.href,r=void 0===i?"":i,c=t.dataEventCategory,m=t.dataEventAction,d=t.dataEventLabel;return e.createElement(pe,{"data-event-category":c,"data-event-action":m,"data-event-label":d,className:l,style:o,href:r,onClick:function(e){""===r&&e.preventDefault()}},e.createElement("div",{className:"banner"},a),e.createElement("div",{className:"content"},e.createElement(s,{className:"category_name",size:"sm",type:"bold"},n)))},gi=function(t){var a=t.name,n=t.values,l=void 0===n?[]:n,o=t.onChanges,i=t.options,r=void 0===i?[]:i,c=t.className,s=t.type,m=void 0===s?"vertical":s,d=t.isDisabled,p=t.isRectangle,u=function(e,t){var a=l.slice();if(t)a.push(e);else{var n=a.findIndex((function(t){return t===e}));a.splice(n,1)}o&&o(a)};return e.createElement(ue,{className:c,"data-type":m,"data-is-rectangle":p||void 0},r.map((function(t,n){return e.createElement(Jo,{label:t.label,name:a,key:"".concat(n,"-").concat(t.value),checked:l.includes(t.value),value:t.value,isDisabled:d||t.disabled,onChange:!d&&u,isRectangle:p})})))},vi={"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":["जनवरी","फ़रवरी","जुलूस","अप्रैल","मई","जून","जुलाई","अगस्त","सितंबर","अक्टूबर","नवंबर","दिसंबर"]},hi=function(n){var o=n.alignRight,i=void 0===o||o,r=n.placeholder,c=n.displayDateFormat,s=n.onChange,m=n.customInput,d=n.pickedDate,p=n.className,u=n.isStatic,g=n.disabledDays,v=n.modifiers,h=n.UnHideOnClickOutside,E=n.initialMonth,y=n.locale,f=void 0===y?"en-PH":y,C=a(!1),k=Xl,b=t(E||new Date),w=b[0],L=b[1],A=a(null),S=a(null),N=vi[f],x=function(e){h||A.current&&A.current.contains(e.target)||S.current&&S.current.hideDayPicker()},T=(new Date).getFullYear(),B=new Date(T-150,0),F=new Date(T+1,0),M=function(t){for(var a=t.date,n=t.onChange,l=t.monthLabels,o=[],i=F.getFullYear();i>=B.getFullYear();i-=1)o.push(i);var r=function(e){var t=e.target.form,a=t.year,l=t.month;n(new Date(a.value,l.value))};return e.createElement("div",{className:"DayPicker-Caption"},e.createElement(ve,null,e.createElement("select",{name:"month",onChange:r,value:a.getMonth()},l.map((function(t,a){return e.createElement("option",{key:t,value:a},t)}))),e.createElement("select",{name:"year",onChange:r,value:a.getFullYear()},o.map((function(t){return e.createElement("option",{key:t,value:t},t)})))))};return l((function(){return document.addEventListener("mousedown",x,!1),function(){document.removeEventListener("mousedown",x,!1)}}),[]),e.createElement(ge,{className:p,"data-align-right":i,ref:A,"data-is-static":u||void 0},e.createElement(co,{ref:S,inputProps:{readOnly:!0},keepFocus:!1,classNames:{container:"pickerContainer",overlayWrapper:"pickerOverlayWrapper",overlay:"pickerOverlay"},component:m&&e.forwardRef((function(t,a){return e.createElement(m,j({},t))})),onDayPickerHide:function(){C.current=!1},onDayPickerShow:function(){C.current=!0},dayPickerProps:{month:w,className:"picker",selectedDays:d,canChangeMonth:!0,enableOutsideDaysClick:!u,firstDayOfWeek:1,captionElement:function(t){var a=t.date,n=t.localeUtils,l=null==n?void 0:n.getMonths();return e.createElement(M,{date:a,monthLabels:N||l,onChange:L})},disabledDays:g||void 0,modifiers:v},format:c||"yyyy-MM-dd",formatDate:function(e,t){return k(e,t)},hideOnDayClick:!u,placeholder:r||"",onDayChange:function(e){var t;t=e,S.current&&!u&&S.current.hideDayPicker(),s&&s(t)},showOverlay:u}))},Ei=function(t){var a=t.size,n=t.iconPosition,l=t.className,o=t.children,i=t.icon;return e.createElement(he,{className:l,"data-size":a,"data-icon-position":n},"left"===n&&i,o,"right"===n&&i)},yi=function(a){var n=a.type,o=a.numberOfStep,r=a.activeStep,c=a.labelPrefix,s=a.detailSteps,m=a.className,d=a.onChange,p=t(0),u=p[0],g=p[1],v=function(t){var a=t.trackClassName,n=z(t,["trackClassName"]);return e.createElement(Ce,j({},n,{className:a}),e.createElement(ke,null))},h=e.createElement(Ee,{className:m+" progress-bar"},e.createElement(v,null),e.createElement((function(t){var a=t.trackLength,n=t.activeStep,l=t.labelPrefix,i=void 0===l?"Step":l,r=t.onChange;return e.createElement(e.Fragment,null,Array.from({length:o},(function(e,t){return t})).map((function(t,l){return e.createElement(be,{"data-is-active":l===n,"data-label":l,style:{left:l*a/(o-1)},onClick:function(){r&&r(l)},key:l},l+1,e.createElement(we,{"data-step-passed":l<=n},i+" "+(l+1)))})))}),{trackLength:u,activeStep:r,labelPrefix:c,onChange:d})),E=e.createElement("svg",{"data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 5.5 9.5"},e.createElement("title",null,"chevron-right"),e.createElement("path",{d:"M.75 8.75l4-4-4-4",fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5})),y=e.createElement(ye,null,s&&Array.from({length:s.length},(function(e,t){return t})).map((function(t,a){var n;return e.createElement(fe,{key:a,"data-selected":a===r,onClick:function(){d&&d(a)}},null===(n=s[a])||void 0===n?void 0:n.text," ",a<s.length-1&&E)}))),f=e.createElement(Ee,{className:m+" progress-bar"},e.createElement((function(t){var a=t.detailSteps,n=t.activeStep,l=t.onChange,o=$t(a.length);return e.createElement(e.Fragment,null,Array.from({length:a.length},(function(e,t){return t})).map((function(t,i){return e.createElement(Le,{key:o[i],style:{left:100/a.length*i+"%",width:100/a.length+"%"},onClick:function(){l&&l(i)}},a[i].icon?e.createElement(Ae,{onClick:function(){l&&l(i)}},a[i].icon):e.createElement(Se,{"data-is-active":i===n,"data-label":t,onClick:function(){l&&l(i)},key:i},i+1),e.createElement(Ne,{"data-step-passed":i<n+1},a[i].text,e.createElement(xe,null,a[i].description)),i<a.length-1&&e.createElement(v,{"data-step-passed":i<n,trackClassName:"progress-track","data-track-type":"detail"}))})))}),{activeStep:r,detailSteps:s,onChange:d})),C=i(so((function(){var e=document.querySelector(".progress-bar");e&&g(e.offsetWidth)}),1e3),[]);return l((function(){var e=document.querySelector(".progress-bar");return g(null==e?void 0:e.offsetWidth),window.addEventListener("resize",C),function(){window.removeEventListener("resize",C)}}),[]),"step-track"===n&&h||"breadcrumb"===n&&y||"detail-track"===n&&f},fi=Object.freeze({__proto__:null,SideMenu:Te,SideHeader:Be,UserInfo:Fe,MenuLink:Me}),Ci=function(t){var a=t.isDisabled,n=t.isLeft,l=t.onClick,o=t.className,i=t.scheme,r=void 0===i?"hellosites":i;return e.createElement(De,{onClick:l,"data-is-disabled":a,"data-is-left":n,className:o},e.createElement("svg",{width:"8",height:"12",viewBox:"0 0 8 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n?e.createElement("path",{d:"M2.92902 6.00015L6.75002 2.17915C7.16402 1.76515 7.16402 1.09315 6.75002 0.679152C6.33602 0.265152 5.66402 0.265152 5.25002 0.679152L0.636023 5.29315C0.245023 5.68415 0.245023 6.31715 0.636023 6.70715L5.25002 11.3212C5.66402 11.7352 6.33602 11.7352 6.75002 11.3212C7.16402 10.9072 7.16402 10.2352 6.75002 9.82115L2.92902 6.00015Z",fill:"hellosites"===r?"#595959":"#E55C8A"}):e.createElement("path",{d:"M5.07095 6.00015L1.24995 2.17915C0.835953 1.76515 0.835953 1.09315 1.24995 0.679152C1.66395 0.265152 2.33595 0.265152 2.74995 0.679152L7.36395 5.29315C7.75495 5.68415 7.75495 6.31715 7.36395 6.70715L2.74995 11.3212C2.33595 11.7352 1.66395 11.7352 1.24995 11.3212C0.835953 10.9072 0.835953 10.2352 1.24995 9.82115L5.07095 6.00015Z",fill:"hellosites"===r?"#595959":"#E55C8A"})))},ki=function(a){for(var n=a.row,l=a.column,o=a.children,i=a.scheme,r=void 0===i?"hellosites":i,c=a.classNameLeftArrow,s=void 0===c?"":c,m=a.classNameRightArrow,d=void 0===m?"":m,p=a.mode,u=void 0===p?"snap":p,g=a.isDotsShown,v=void 0===g||g,h=a.isArrowShown,E=void 0!==h&&h,y=a.dataEventCategory,f=a.dataEventAction,C=a.dataEventLabel,k=a.onChangePage,b=e.useState(0),w=b[0],L=b[1],A=t(!1),S=A[0],N=A[1],x=po({defaultAnimation:{duration:1e3},initial:0,slideChanged:function(e){L(e.track.details.rel),k&&k(e.track.details.rel)},created:function(){N(!0)},drag:!0,mode:u,slides:{spacing:12}}),T=x[0],B=x[1],F=[],M=n*l,U=0;U<o.length;U+=M){var W=o.slice(U,U+M);F.push(W)}return e.createElement(Ue,{row:n,column:l},e.createElement("div",{className:"navigation-wrapper"},e.createElement("div",{ref:T,className:"keen-slider slides-wrapper"},F.map((function(t,a){return e.createElement("div",{key:a,className:"keen-slider__slide page-items"},t.map((function(t,a){return e.createElement("div",{key:a},t)})))}))),S&&B.current&&E&&e.createElement(e.Fragment,null,e.createElement(Ci,{isLeft:!0,onClick:function(e){var t;return e.stopPropagation()||(null===(t=B.current)||void 0===t?void 0:t.prev())},isDisabled:0===w,scheme:r,className:"left-arrow ".concat(s),"data-event-category":y,"data-event-action":f,"data-event-label":C}),e.createElement(Ci,{isLeft:!1,onClick:function(e){var t;return e.stopPropagation()||(null===(t=B.current)||void 0===t?void 0:t.next())},isDisabled:w===B.current.track.details.slides.length-1,scheme:r,className:"right-arrow ".concat(d),"data-event-category":y,"data-event-action":f,"data-event-label":C}))),S&&B.current&&v&&e.createElement("div",{className:"dots"},Z([],Array(B.current.track.details.slides.length),!0).map((function(t,a){return e.createElement(We,{key:a,onClick:function(){var e;null===(e=B.current)||void 0===e||e.moveToIdx(a)},"data-is-active":w===a,"data-is-hellosites":"hellosites"===r})}))))},bi=function(t){var a=t.type,n=t.description,l=t.value,o=t.withIcon,i=t.isInACard,r=t.cardColor,c=t.className;return e.createElement(Ve,{className:c,"data-size":a,"data-is-in-card":"big"===a&&i,"data-card-color":r},e.createElement(Re,null,"small"===a&&e.createElement(Ie,{"data-color":r}),n),e.createElement(He,{"data-size":a},"small"!==a&&o,l))},wi=Object.freeze({__proto__:null,Table:qe,Cell:Pe,Head:Oe,Row:Ge,Body:je}),Li=function(a){var n=a.style,o=a.initialTab,i=a.tabContent,r=a.onChange,c=a.className,m=a.dataEventCategory,d=a.dataEventAction,p=a.dataEventLabel,u=a.id,g=t(o||0),v=g[0],h=g[1],E=$t(i.length);return l((function(){h(o)}),[o]),e.createElement(Ze,{style:n,className:c,role:"tablist",id:u},i.map((function(t,a){return e.createElement(ze,{"data-is-tab-active":v===a||void 0,"aria-selected":v===a,role:"tab",onClick:function(){h(a),r&&r(a)},onKeyDown:function(e){"Enter"===e.key&&(h(a),r&&r(a))},key:E[a],"data-event-category":m,"data-event-action":d,"data-event-label":p,tabIndex:0},e.createElement(Qe,null,t.icon&&e.createElement(_e,null,t.icon),e.createElement(s,{size:t.textSize||"sm",type:t.textType||"bold",color:t.textColor||ae.colors.gray800,dataEventCategory:t.dataEventCategory,dataEventAction:t.dataEventAction,dataEventLabel:t.dataEventLabel},t.name)))})))},Ai=function(t){var a=t.thankyou,n=t.thankyouSubtitle,l=t.className,o=t.style;return e.createElement(Ye,{className:l,style:o},e.createElement("div",{className:"survey-inner-wrapper"},e.createElement(Ke,null,e.createElement("div",{className:"survey-thankyou-wrapper-inner"},e.createElement("svg",{viewBox:"0 0 122 122",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"survey-thankyou-icon"},e.createElement("path",{d:"M61.5 122C94.6371 122 121.5 95.1371 121.5 62C121.5 28.8629 94.6371 2 61.5 2C28.3629 2 1.5 28.8629 1.5 62C1.5 95.1371 28.3629 122 61.5 122Z",fill:"#E3F2FF"}),e.createElement("ellipse",{cx:"61.5",cy:"110.36",rx:"48",ry:"3.36",fill:"#91CAFF"}),e.createElement("path",{d:"M82.9048 72.6663H101.5L87.597 40H35.403L21.5 72.6663H40.0952V91H83.0786L82.9048 72.6663Z",fill:"#2C74DF"}),e.createElement("path",{d:"M74.4004 15.0005H39.863C36.9017 15.0005 34.5 17.4022 34.5 20.3635V72.5769C34.5 75.5383 36.9017 77.9399 39.863 77.9399H83.1357C86.097 77.9399 88.4987 75.5383 88.4987 72.5769V29.0988L88.4987 21.0005C88.4987 17.6868 85.8124 15.0005 82.4987 15.0005H74.4004Z",fill:"white"}),e.createElement("path",{d:"M88.8529 80.1077H34.1469C31.8699 80.1077 30.06 78.3036 30.06 76.0338V65.3837C30.06 63.1139 31.8699 61.3098 34.1469 61.3098H88.8529C91.1299 61.3098 92.9398 63.1139 92.9398 65.3837V76.0338C92.9398 78.3036 91.1299 80.1077 88.8529 80.1077Z",fill:"#E4E8EC"}),e.createElement("path",{d:"M90.838 85.4512H32.1618C29.8849 85.4512 28.075 83.6471 28.075 81.3774V70.7272C28.075 68.4575 29.8849 66.6533 32.1618 66.6533H90.7796C93.0566 66.6533 94.8665 68.4575 94.8665 70.7272V81.3774C94.9249 83.6471 93.0566 85.4512 90.838 85.4512Z",fill:"white"}),e.createElement("path",{d:"M103.748 75.4919V105.755C103.748 107.675 102.172 109.247 100.245 109.247H23.0031C21.0764 109.247 19.5 107.675 19.5 105.755V75.4919C19.5 73.5713 21.0764 72 23.0031 72H42.3866C44.3133 72 45.8897 73.5713 45.8897 75.4919V80.8461C45.8897 81.1952 46.1232 81.428 46.4735 81.428H76.7749C77.1253 81.428 77.3588 81.1952 77.3588 80.8461V75.4919C77.3588 73.5713 78.9352 72 80.8618 72H100.245C102.172 72 103.748 73.5713 103.748 75.4919Z",fill:"#45A4FF"}),e.createElement("path",{d:"M51.9541 91.3767V94.4612C51.9541 96.0907 53.2386 97.3711 54.8733 97.3711H67.7179C69.3526 97.3711 70.6371 96.0907 70.6371 94.4612V91.3767",stroke:"#2C74DF",strokeWidth:"3",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M120.5 38.0251C118.5 37.7793 117.25 39.3768 118.125 41.22L118.375 41.9573C119.125 43.8006 118 45.398 116 45.1523L115.25 45.0294C113.25 44.7836 112 46.3811 112.875 48.2244L113.25 48.9616C114 50.8049 112.875 52.4025 110.875 52.1567L110.125 52.0337C108.625 51.9109 107.5 52.7712 107.5 54",stroke:"#FE921D",strokeWidth:"1.9096",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M1.53299 62C1.2644 63.413 2.6745 64.337 4.35323 63.8478L5.02472 63.6304C6.70346 63.087 8.11356 64.0109 7.84496 65.4783L7.7107 66.0217C7.4421 67.4348 8.8522 68.3587 10.5309 67.8696L11.2024 67.6522C12.8812 67.1087 14.2913 68.0326 14.0227 69.5L13.8884 70.0435C13.687 71.1304 14.4256 71.8913 15.5 72",stroke:"#00B16A",strokeWidth:"2.8751",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M118 92C119.381 92 120.5 90.8807 120.5 89.5C120.5 88.1193 119.381 87 118 87C116.619 87 115.5 88.1193 115.5 89.5C115.5 90.8807 116.619 92 118 92Z",stroke:"#00B16A",strokeWidth:"2.8751",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M82.0001 3.18747L83.1875 7.53467L87.5347 6.34727L86.3473 2.00007L82.0001 3.18747Z",stroke:"#00B16A",strokeWidth:"2.1628",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M17.0001 28C18.1046 28 19 27.1045 19 25.9999C19 24.8954 18.1046 24 17.0001 24C15.8955 24 15 24.8954 15 25.9999C15 27.1045 15.8955 28 17.0001 28Z",stroke:"#FE921D",strokeWidth:"2.3278",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M61.5 26.6667C54.136 26.6667 48.1667 32.6361 48.1667 40.0001C48.1667 47.3641 54.136 53.3334 61.5 53.3334C68.864 53.3334 74.8334 47.3641 74.8334 40.0001C74.8334 32.6361 68.864 26.6667 61.5 26.6667ZM69.1094 36.9427L59.776 46.2761C59.516 46.5361 59.1747 46.6667 58.8334 46.6667C58.492 46.6667 58.1507 46.5361 57.8907 46.2761L53.8907 42.2761C53.3694 41.7547 53.3694 40.9121 53.8907 40.3907C54.412 39.8694 55.2547 39.8694 55.776 40.3907L58.8334 43.4481L67.224 35.0574C67.7454 34.5361 68.588 34.5361 69.1094 35.0574C69.6307 35.5787 69.6307 36.4214 69.1094 36.9427Z",fill:"#00CB8A"})),a&&e.createElement(te,{className:"survey-thankyou-title",tag:"h3"},a),n&&e.createElement(s,{className:"survey-thankyou-subtitle",size:"p3"},n)))))},Si=function(a){var n=a.items,o=a.className,i=a.style,r=a.backgroundPanelStyle,c=a.isOpen,s=a.onOpen,m=a.onClose,d=a.disableBackdropClick,p=a.siteType,u=void 0===p?"hb":p,g=a.animationType,v=void 0===g?"zoom":g,h=a.zIndex,E=void 0===h?300:h,y=t(!!c),f=y[0],C=y[1];l((function(){C(!!c)}),[c]);var k=function(){C(!1),m&&m()};return e.createElement(Xe,{style:i,className:o,"data-floatmenu-open":f,"data-site-type":u,"data-animation-type":v},e.createElement(Je,{className:"float-button-group__panel",style:j({zIndex:E},r),onClick:d?void 0:k}),e.createElement($e,{className:"float-button-group___content",style:{zIndex:E}},e.createElement(et,null,n.map((function(t,a){return e.createElement(tt,{className:"float-item-button-".concat(a),style:j(j({},"zoom"===v&&{bottom:64*(n.length-1-a),transitionDelay:"".concat(at/n.length*(f?n.length-1-a:a),"ms")}),"slide"===v&&{bottom:64*(n.length-1-a),transitionDelay:"".concat(at/n.length*(f?a:n.length-1-a),"ms")}),key:a,onClick:function(){t.onClick(),t.keepMenuOnClick||C(!1)}},e.createElement(nt,{style:j({},"zoom"===v&&{transitionDelay:"".concat(at/n.length*(f?n.length-1-a:a),"ms")})},t.label),e.createElement(lt,{className:"float-item-button__icon-wrapper",style:j({},("zoom"===v||"slide"===v)&&{transitionDelay:"".concat(at/n.length*(f?n.length-1-a:a),"ms")})},t.icon))}))),e.createElement(ot,{onClick:f?k:function(){C(!0),s&&s()}})))},Ni=function(t){var a=t.className,n=t.policiesUrl,l=t.onAcceptClick,o=t.translations,i=void 0===o?{acceptButton:"Accept",policiesButton:"Our Policies"}:o,r=t.title,c=void 0===r?"":r,s=t.description,m=void 0===s?"":s,d=t.theme,p=void 0===d?"helloSites":d,u=t.isOpen,g=void 0===u||u,v=t.useDefaultPosition,h=void 0===v||v,E=t.trackingAttributes;return e.createElement(it,{className:a,"data-theme":p,"data-is-open":g,"data-default-position":h},e.createElement(rt,{"data-has-content":!!c},c),e.createElement(ct,{dangerouslySetInnerHTML:{__html:m}}),e.createElement(st,null,e.createElement(mt,{role:"button",tabIndex:0,on:"tap:consent-element.accept",onClick:l,"data-event-category":null==E?void 0:E.dataEventCategory,"data-event-action":null==E?void 0:E.dataEventAction,"data-event-label":null==E?void 0:E.dataEventLabel},i.acceptButton),e.createElement(dt,{href:n},i.policiesButton)))},xi=function(t){var a,n,l,o,i,r,c,s,m,d,p,u,g,v,h,E,y,f,C,k=t.SEOData,b=void 0===k?{}:k,w=t.isAmp,L=void 0!==w&&w,A=t.locale,S=void 0===A?"vi-VN":A,N=t.routerPathname,x=t.routerQuery,T=t.nextHead,B=t.siteType,F=t.seoCustom,M=t.userId,U=t.forcedCanonicalUrl,W=b.totalPages,D=b.currentPage,V=b.SEOTitle,R=void 0===V?"":V,I=b.SEODescription,H=void 0===I?"":I,q=b.SEOImage,P=b.seoType,O=b.SEOImageWidth,G=b.SEOImageHeight,z=b.customMetaData,Q=void 0===z?[]:z,_=b.isIndexable,Y=void 0===_||_,K=b.hasNoCanonical,X=void 0!==K&&K,J=Y&&ne?"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1":"noindex",$=process.env.NEXT_PUBLIC_BASE_API_URL,ee=b.canonicalUrl||N;Object.keys(x).forEach((function(e){var t=x[e];t&&Array.isArray(t)&&(ee=ee.replace("[...".concat(e,"]"),t.join("/")))}));var te,ae=S||"en-PH",le="helloSites"===B?vo[ae]:"www.marrybaby.vn",oe=ee.endsWith("/")?"":"/";if(b.apiMetaData&&"string"==typeof b.apiMetaData){var ie=null===(a=b.apiMetaData)||void 0===a?void 0:a.match(/<title.*?>(.*)<\/title>/),re=" - Page ".concat(D," of ").concat(W),ce=D&&1!==D&&ie?b.apiMetaData.replace(ie[0],ie[0].includes("-")?ie[0].replace("-",re+" - "):"<title>".concat(ie[1].concat(re),"</title>")).replace('<link rel="canonical" href="https://'.concat(le).concat(ee).concat(oe,'" />'),'<link rel="canonical" href="https://'.concat(le).concat(ee).concat(oe,"?page=").concat(D,'" />')):b.apiMetaData,se=(te=pt(ce,{trim:!0})).find((function(e){var t,a;return"og:image"===(null===(t=e.props)||void 0===t?void 0:t.property)||"og:image:secure_url"===(null===(a=e.props)||void 0===a?void 0:a.property)}));if(!se){var me="https://".concat(le,"/images/").concat(S,".png");te=Z(Z([],te,!0),[e.createElement("meta",{key:"og:image",property:"og:image",content:(null===(n=b.openGraph)||void 0===n?void 0:n.image)||me||""}),e.createElement("meta",{key:"og:image:secure_url",property:"og:image:secure_url",content:(null===(l=b.openGraph)||void 0===l?void 0:l.image)||me}),e.createElement("meta",{key:"og:image:width",property:"og:image:width",content:(null===(o=b.openGraph)||void 0===o?void 0:o.imageWidth)&&String(null===(i=b.openGraph)||void 0===i?void 0:i.imageWidth)||"1200"}),e.createElement("meta",{key:"og:image:height",property:"og:image:height",content:(null===(r=b.openGraph)||void 0===r?void 0:r.imageHeight)&&String(null===(c=b.openGraph)||void 0===c?void 0:c.imageHeight)||"630"})],!1)}}var de="https://".concat(le,"/images/").concat(S,".png");return e.createElement(T,null,e.createElement("link",{rel:"preconnect",href:"https://fonts.gstatic.com"}),"marryBaby"===B&&e.createElement("link",{href:"https://fonts.googleapis.com/css2?family=Inter&family=Krub:wght@600&display=swap",rel:"stylesheet"}),"km-KH"===S?e.createElement("link",{href:"https://fonts.googleapis.com/css2?family=Battambang:wght@400;700&display=swap",rel:"stylesheet"}):"id-ID"===S||"ms-MY"===S?e.createElement(e.Fragment,null):e.createElement("link",{href:"https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;0,800;1,300;1,400;1,600;1,700;1,800&display=swap",rel:"preload",as:"style"}),e.createElement("link",{rel:"preconnect",href:$}),e.createElement("meta",{charSet:"UTF-8"}),!L&&e.createElement("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover"}),e.createElement("meta",{name:"google",content:"notranslate"}),e.createElement("meta",{name:"robots",content:J}),e.createElement("meta",{property:"fb:app_id",content:"653713035016537"}),Q.map((function(t,a){return e.createElement("meta",j({key:a},t))})),e.createElement("meta",{name:"theme-color",content:"helloSites"===B?"#2c87f3":"#e85388"}),e.createElement("meta",{name:"page_type",content:"Home"}),e.createElement("meta",{name:"page_platform",content:"WEB"}),e.createElement("meta",{name:"page_language",content:ae}),e.createElement("meta",{name:"ahrefs-site-verification",content:"46e7521a2b89a1013149c4685bbe02a1d36a4732fef98655142b829bc87cba4d"}),L&&e.createElement(e.Fragment,null,e.createElement("script",{async:!0,"custom-element":"amp-analytics",src:"https://cdn.ampproject.org/v0/amp-analytics-0.1.js"}),e.createElement("script",{async:!0,"custom-element":"amp-fx-collection",src:"https://cdn.ampproject.org/v0/amp-fx-collection-0.1.js"}),e.createElement("script",{async:!0,"custom-element":"amp-ad",src:"https://cdn.ampproject.org/v0/amp-ad-0.1.js"}),e.createElement("script",{async:!0,"custom-element":"amp-next-page",src:"https://cdn.ampproject.org/v0/amp-next-page-1.0.js"}),e.createElement("script",{async:!0,"custom-element":"amp-sticky-ad",src:"https://cdn.ampproject.org/v0/amp-sticky-ad-1.0.js"}),e.createElement("script",{async:!0,"custom-element":"amp-social-share",src:"https://cdn.ampproject.org/v0/amp-social-share-0.1.js"}),e.createElement("script",{async:!0,"custom-element":"amp-bind",src:"https://cdn.ampproject.org/v0/amp-bind-0.1.js"})),!te&&e.createElement(e.Fragment,null,"helloSites"===B?e.createElement("title",null,F?R:R+" - "+(null===(s=uo[S])||void 0===s?void 0:s.SITE_NAME)):e.createElement("title",null,R),!X&&e.createElement("link",{rel:"canonical",href:"https://".concat(le).concat(ee)}),e.createElement("meta",{name:"description",content:H||(null===(m=b.openGraph)||void 0===m?void 0:m.description)}),b.schemaData&&e.createElement("script",{type:"application/ld+json",className:"yoast-schema-graph",dangerouslySetInnerHTML:{__html:b.schemaData}}),e.createElement("meta",{property:"og:locale",content:S}),e.createElement("meta",{property:"og:type",content:P||"website"}),e.createElement("meta",{property:"og:title",content:(null===(d=b.openGraph)||void 0===d?void 0:d.title)||R}),e.createElement("meta",{property:"og:description",content:(null===(p=b.openGraph)||void 0===p?void 0:p.description)||H}),e.createElement("meta",{property:"og:url",content:"https://".concat(le).concat(ee)}),e.createElement("meta",{property:"og:site_name",content:"https://".concat(le)}),e.createElement("meta",{property:"og:image",content:(null===(u=b.openGraph)||void 0===u?void 0:u.image)||q||de||""}),e.createElement("meta",{property:"og:image:secure_url",content:(null===(g=b.openGraph)||void 0===g?void 0:g.image)||q||de}),e.createElement("meta",{property:"og:image:width",content:(null===(v=b.openGraph)||void 0===v?void 0:v.imageWidth)&&String(null===(h=b.openGraph)||void 0===h?void 0:h.imageWidth)||O&&String(O)||"1200"}),e.createElement("meta",{property:"og:image:height",content:(null===(E=b.openGraph)||void 0===E?void 0:E.imageHeight)&&String(null===(y=b.openGraph)||void 0===y?void 0:y.imageHeight)||G&&String(G)||"630"}),e.createElement("meta",{name:"twitter:card",content:"summary_large_image"}),e.createElement("meta",{name:"twitter:title",content:(null===(f=b.twitter)||void 0===f?void 0:f.title)||R}),e.createElement("meta",{name:"twitter:description",content:H}),e.createElement("meta",{name:"twitter:image",content:(null===(C=b.twitter)||void 0===C?void 0:C.image)||q})),("helloSites"===B?go[ae]||[]:go.marryBaby).map((function(t,a){return"link"===t.type?e.createElement("link",{key:"favicon-".concat(a),rel:t.rel,href:t.href,sizes:t.sizes}):"meta"===t.type?e.createElement("meta",{key:a,name:t.name,content:t.content}):null})),Array.isArray(te)&&U?te.filter((function(e){return"canonical"!==e.props.name&&"canonical"!==e.props.rel})):te,U&&e.createElement("link",{rel:"canonical",href:U}),!b.hasNoAmp&&"vi-VN"!==S&&e.createElement("link",{rel:"amphtml",href:"https://".concat(le).concat(ee).concat(oe,"?amp=1")}),M&&"undefined"!=typeof window?e.createElement("script",{dangerouslySetInnerHTML:{__html:"window.dataLayer = window.dataLayer || []; window.dataLayer.push({'userID': '".concat(M,"'});")}}):null)},Ti=function(t){var a=t.ampNextArticles,n=(null==a?void 0:a.filter(Boolean))||[];if(!(null==n?void 0:n.length))return null;return e.createElement("amp-next-page",null,e.createElement("script",{type:"application/json",dangerouslySetInnerHTML:{__html:JSON.stringify(n.map((function(e){return{image:e.image||"",title:e.title?JSON.stringify(e.title):"",url:e.link||""}})))}}),e.createElement("div",j({},{separator:""},{className:"amp-page-seperator",style:{color:"#8C8C8C",textTransform:"uppercase",fontSize:11,fontWeight:700,marginLeft:16}}),"Next article:"))};var Bi={"en-PH":bo,"vi-VN":Lo,"zh-TW":Ao,"id-ID":wo};function Fi(a){var l=a.value,o=void 0===l?{from:null,to:null}:l,i=t(null),r=i[0],c=i[1],s=No().isMobile,m=t((function(){return o})),d=m[0],p=m[1],u=t((function(){var e;return $l(null!==(e=o.from)&&void 0!==e?e:new Date)})),g=u[0],v=u[1],h=n((function(){return eo(g,1)}),[g]);var E=j(j({},a),{goToNextMonth:function(){v((function(e){return eo(e,1)}))},goToPreviousMonth:function(){v((function(e){return to(e,1)}))},range:d,setRange:p,hoverDay:r,setHoverDay:c});return e.createElement(e.Fragment,null,e.createElement(Mi,j({},E,{date:g})),!s&&e.createElement(ut,null),!s&&e.createElement(Mi,j({},E,{date:h})))}function Mi(t){var a=t.date,o=t.range,i=t.setRange,r=t.onChange,c=t.goToPreviousMonth,s=t.goToNextMonth,m=t.minDate,d=t.maxDate,p=t.close,u=void 0===p?function(){}:p,g=t.autoClose,v=void 0!==g&&g,h=t.hoverDay,E=t.setHoverDay,y=K().locale,f=n((function(){var e;return null!==(e=Bi[y])&&void 0!==e?e:Bi["en-PH"]}),[y]),C=n((function(){return Xl(a,"MMMM",{locale:f})}),[a,f]),k=n((function(){return f?[1,2,3,4,5,6,0].map((function(e){return f.localize.day(e,{width:"narrow"})})):[]}),[f]);function b(t,a){if(null===t)return e.createElement(bt,{key:"idx-".concat(a),"data-empty":"true"});var n=t.getDate(),l=no(t),r=!!o.from&&lo(o.from,t),c=!!o.to&&lo(o.to,t),s=r||c,p=!1;null!==h&&o.from&&Jl(o.from,h)&&!o.to?p=oo(t,{start:o.from,end:h}):o.from&&o.to&&(p=oo(t,{start:o.from,end:o.to}));var g=!1;return m&&d?g=!oo(t,{start:m,end:d}):m?g=Jl(t,m):d&&(g=io(t,d)),e.createElement(bt,{key:n,"data-is-today":l,"data-is-past":!l&&ro(t),"data-is-selected":s,"data-is-disabled":g,"data-in-range":p,"data-is-from":r,"data-is-to":c,onMouseEnter:function(){E(t)},onMouseLeave:function(){return E(null)},onClick:function(){g||i((function(e){return v&&o.from&&!o.to&&u(),function(e,t){return t.from||t.to?t.from&&t.to?{from:e,to:null}:t.from?Jl(e,t.from)?j(j({},t),{from:e}):j(j({},t),{to:e}):t:j(j({},t),{from:e})}(t,e)}))}},e.createElement(wt,{onClick:function(){}},e.createElement("p",null,n)))}return l((function(){o.from&&o.to&&r(o)}),[o]),e.createElement(gt,{className:"calendar-wrapper"},e.createElement(vt,null,e.createElement(ee,{onClick:c,size:"md",color:"ghost",icon:e.createElement("img",{src:"data:image/svg+xml,%3csvg width='7' height='13' viewBox='0 0 7 13' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M5.66875 11.814L1.46875 6.657L5.66875 1.5' stroke='%23262626' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e"})}),e.createElement("div",{className:"calendar-month"},C,e.createElement("strong",null,Xl(a,"yyyy"))),e.createElement(ee,{onClick:s,size:"md",color:"ghost",icon:e.createElement("img",{src:"data:image/svg+xml,%3csvg width='7' height='13' viewBox='0 0 7 13' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M1.46875 11.814L5.66875 6.657L1.46875 1.5' stroke='%23262626' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e"})})),e.createElement(ht,null,e.createElement("div",null,e.createElement(Et,null,k.map((function(t,a){return e.createElement(yt,{key:"".concat(t,"-").concat(a)},t)})))),e.createElement("div",null,function(){for(var t=a.getFullYear(),n=a.getMonth(),l=ao(a),i=[],r=1;r<=l;r++)i.push(new Date(t,n,r));var c=i[0]?i[0].getDay():0;if(1!==c){var s=0===c?6:c-1;for(r=0;r<s;r++)i.unshift(null)}return e.createElement(ft,{key:"month-".concat(n),"data-month-index":n,"data-has-range":Boolean(o.from&&o.to)},e.createElement(Ct,null,e.createElement(kt,null,i.map(b))))}())))}function Ui(l){var o=l.inputSize,i=void 0===o?"md":o,r=l.name,c=void 0===r?"date-range-picker":r,s=l.value,m=l.minDate,d=l.maxDate,p=l.onChange,u=l.className,g=l.autoClose,v=void 0!==g&&g;s||(s={from:null,to:null});var h=t(!1),E=h[0],y=h[1];function f(){y(!1)}var C=a(null);function k(e){p&&p(e)}function b(e){return Xl(e,"dd/MM/yyyy")}ko(C,(function(){f()}));var w=n((function(){return s.from&&s.to?lo(s.from,s.to)?b(s.from):"".concat(b(s.from)," - ").concat(b(s.to)):""}),[s.from,s.to]);return e.createElement(Lt,{className:[u,E&&"focused"].filter(Boolean).join(" "),ref:C},e.createElement("label",{htmlFor:c},e.createElement(P,{size:i,value:w,name:c,actionIcon:e.createElement("img",{src:"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 fill-rule='evenodd' clip-rule='evenodd' d='M12.9168 1.99984H13.5835C14.3168 1.99984 14.9168 2.59984 14.9168 3.33317V13.9998C14.9168 14.7332 14.3168 15.3332 13.5835 15.3332H2.91683C2.1835 15.3332 1.5835 14.7332 1.5835 13.9998V3.33317C1.5835 2.59984 2.1835 1.99984 2.91683 1.99984H3.5835V1.33317C3.5835 0.966504 3.8835 0.666504 4.25016 0.666504C4.61683 0.666504 4.91683 0.966504 4.91683 1.33317V1.99984H11.5835V1.33317C11.5835 0.966504 11.8835 0.666504 12.2502 0.666504C12.6168 0.666504 12.9168 0.966504 12.9168 1.33317V1.99984ZM3.5835 13.9998H12.9168C13.2835 13.9998 13.5835 13.6998 13.5835 13.3332V5.33317H2.91683V13.3332C2.91683 13.6998 3.21683 13.9998 3.5835 13.9998Z' fill='%23595959'/%3e%3c/svg%3e"}),autoFocus:!1,onFocus:function(){return y(!0)}})),E?e.createElement(At,{onMouseDown:function(e){e.stopPropagation()}},e.createElement(Fi,{value:s,onChange:k,minDate:m,maxDate:d,close:f,autoClose:v})):null)}var Wi=function(t){return[{icon:e.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M27.5 0H5.5C2.73858 0 0.5 2.23858 0.5 5V27C0.5 29.7614 2.73858 32 5.5 32H27.5C30.2614 32 32.5 29.7614 32.5 27V5C32.5 2.23858 30.2614 0 27.5 0Z",fill:"#1778F2"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.814 32V19.499H24.069L24.5 15.19H20.814L20.82 13.034C20.82 11.911 20.92 11.309 22.443 11.309H24.477V7H21.222C17.312 7 15.937 9.09 15.937 12.604V15.191H13.5V19.499H15.937V32H20.814Z",fill:"white"})),name:"Facebook",href:"https://www.facebook.com/sharer/sharer.php?u=".concat(t)},{icon:e.createElement("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},e.createElement("path",{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:"url(#pattern0)"}),e.createElement("defs",null,e.createElement("pattern",{id:"pattern0",patternContentUnits:"objectBoundingBox",width:"1",height:"1"},e.createElement("use",{xlinkHref:"#image0_384_76633",transform:"scale(0.000721501)"})),e.createElement("image",{id:"image0_384_76633",width:"1386",height:"1386",xlinkHref:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABWoAAAVqCAMAAABAkLdAAAABoVBMVEX9/v4VcvsKbPsBW98AaP5uqPycxP0AaP4BW98nffv9/v6HuP5Umf0GbP4xg/1toez1+v4HX+Aiev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d21Z0NueSWzjnRJ7c64slxukVmp1dr8cjuzVWY2K7VobStbZYWDYDke6GrmQw+v1GptXi7HfqAmp5lBOXagS2q1NtvhrWlCFjODM6NZqdXa7Je389JmmcWs1KK1bWyWmd52zbIpZhazUtsuV5a3YVRNa73txP5XPa38ooHUaq3eorJSq7XorcoitVqbS2+LxnGw1uayZyortVobeL9sOC+dB0t6kqucD+1+Sa3WsnJZTWsL3ARL2cpJLqnVWp4ZjicmuLuJbD0d+8RWarWW/5woCO57IntuXiC1WsvWwR0bKfzP776sZKU2Ix89K92a4RY2zd4+w1UWMzNZqdVa3r/ELRo/o/DC4YKmsJCVWq1lt0br4lrj/r2OHZvISq3WknSNWxWToHPc+3pSzKxjpVZraXeRW9b3YRJbWcZKrdayz1XurJjWvTwftqybwipWarWWzjW3aHqwzq3rspgPLWKlVmvptst1dMu8VrrLup6sl7B+FEZqQ7n1zPTDcF3dad3N7K7y2hTrBaxTsVIb1rGHpndGj90tJqvwLve2v1XX08e6mg9ILVobZLa7Mi82i94U9V13db1s3aTV7pbUorU8TRweVcUPmxK/qnn6y2K2+WfzAKlFawGp1VpAarUWQGq1FpBarQWklp988vAAUpvag9YCUqu1gNRqLSC1aC0gtVoLSK3WAkit1gJSq7WA1PLD9989RYDUai0gtVoLSC1aC0it1gJSq7UAUqu1gNRqLSC1/OOjhwmQWq0FpFZrAalFawGp1VpAarUWkFq0FpDabNx6pgCpTe7YQwVIrdYCUqu1gNSitYDUai0gtVoLSC074spyQGqTe9BaQGq1FpBarQWkFq0FpFZrAamN0tprDxggtam5RheQWq0FpFZrAalFawGp1VpAarUWkFp2xdWOILVSq7WA1GotILVoLSC1WgtIrdYCUsuu3HrYQGpJztWOILVoLSC1WgtILVoLSK3WAlIbhevGQGpJztWOILVoLSC1WgtILVoLSK3WAlIbprWuwAGpJTnXjYHUorWA1GotILVoLSC1WgtIbZRjCN89fSC1JOe6MZBatBaQWq0FpBatBaRWawGpjcIVOCC1aC0gtVoLSC1aC0it1gJSq7WA1LIjrsABqUVrAanVWkBq0VqQWqnVWkBqw7T22uMIUktqrsABqUVrAanVWkBq0VqQWrQWkNowrfVMgtSSnCtwQGrRWkBqtRaQWrQWpBatBaQ2iltPJkgtybkCB6QWrQWkVmsBqUVrQWrRWkBqg3AFDkgtWgtIrdYCUovWgtSitYDUhmmtK8tBaknOFTggtWgtILVaC0gtWgtSi9YCO3AjtVm01pMKWfsgtVlwBQ5ILVoLSK3WAlKL1oLUorWA1EbhWgaQWrQWkFqtBaQWrQWpRWsBqY3CtQwgtSTnChyQWrQWkFqtBaQWrQWpRWsBqY3CtQwgtWgtILVaC0gtWgtSi9YCUhumtR5fkFqScy0DSC1aC0it1gJSi9aC1KK1gNRG4VoGkFq0FpBarQWkFq0FqUVrga1S+1Wp8uenwqHbjg4OhSp/rmWAbrs6uBKqHvDTM9BpdwcXn4XKCAFI6ebi4OJOa3vAV2PQ5dKuUntxcXX49bctfTukk74dAe9y8yGJm6Oru1Vm/wLfZ84l/Z3++AAAAABJRU5ErkJggg=="}))),name:"Zalo",href:"https://sp.zalo.me/share?href=".concat(t)},{icon:e.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("rect",{x:"0.5",width:"32",height:"32",rx:"4",fill:"#1FA1F3"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.2304 13.2349L16.2708 13.8692L15.5964 13.7916C13.1417 13.4938 10.9972 12.484 9.17631 10.788L8.2861 9.94646L8.05683 10.5679C7.57124 11.9532 7.88149 13.4161 8.89305 14.4001C9.43257 14.9438 9.31116 15.0215 8.38052 14.6978C8.05683 14.5943 7.77357 14.5166 7.74658 14.5554C7.65216 14.646 7.97591 15.8241 8.23218 16.2902C8.58286 16.9376 9.29766 17.5719 10.08 17.9474L10.7409 18.2452L9.9586 18.2581C9.20324 18.2581 9.17631 18.271 9.25723 18.5429C9.52699 19.3844 10.5925 20.2777 11.7794 20.6661L12.6157 20.938L11.8873 21.3523C10.8083 21.9478 9.54049 22.2844 8.2726 22.3103C7.66566 22.3232 7.16663 22.375 7.16663 22.4139C7.16663 22.5433 8.81213 23.2684 9.76976 23.5531C12.6427 24.3947 16.055 24.0322 18.6177 22.5951C20.4385 21.5724 22.2593 19.5398 23.1091 17.5719C23.5677 16.5232 24.0263 14.6072 24.0263 13.688C24.0263 13.0925 24.0667 13.0148 24.822 12.3027C25.2671 11.8885 25.6853 11.4353 25.7662 11.3059C25.901 11.0598 25.8875 11.0598 25.1997 11.28C24.0532 11.6683 23.8913 11.6166 24.4579 11.034C24.876 10.6197 25.375 9.86879 25.375 9.64873C25.375 9.60987 25.1727 9.67458 24.9434 9.79112C24.7006 9.92061 24.1611 10.1148 23.7565 10.2313L23.0281 10.4514L22.3673 10.0241C22.0031 9.79112 21.4905 9.53219 21.2208 9.45452C20.5329 9.27327 19.4809 9.29918 18.8605 9.50628C17.1745 10.0889 16.1089 11.5907 16.2304 13.2349Z",fill:"white"})),name:"Twitter",href:"https://twitter.com/intent/tweet?url=".concat(t)},{icon:e.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("g",{clipPath:"url(#clip0_687_88944)"},e.createElement("path",{d:"M29.5309 0H3.46909C1.82931 0 0.5 1.32931 0.5 2.96909V29.0309C0.5 30.6707 1.82931 32 3.46909 32H29.5309C31.1707 32 32.5 30.6707 32.5 29.0309V2.96909C32.5 1.32931 31.1707 0 29.5309 0Z",fill:"url(#paint0_linear_687_88944)"}),e.createElement("path",{d:"M23.5545 8.94548C21.8898 7.2642 19.6792 6.23313 17.3212 6.03825C14.9633 5.84336 12.6134 6.49749 10.6953 7.88265C8.77715 9.2678 7.41716 11.2928 6.86059 13.5924C6.30403 15.8919 6.58753 18.3147 7.65997 20.4237L6.60724 25.5346C6.59632 25.5854 6.59601 25.638 6.60633 25.689C6.61665 25.74 6.63739 25.7883 6.66724 25.8309C6.71097 25.8956 6.77338 25.9454 6.84616 25.9737C6.91893 26.0019 6.99859 26.0073 7.07451 25.9891L12.0836 24.8018C14.1866 25.8471 16.5923 26.1124 18.8725 25.5505C21.1528 24.9885 23.1597 23.6358 24.5362 21.7331C25.9128 19.8303 26.5696 17.5009 26.3898 15.1593C26.21 12.8177 25.2053 10.6158 23.5545 8.94548ZM21.9927 21.4109C20.8409 22.5595 19.3578 23.3176 17.7523 23.5786C16.1468 23.8395 14.4998 23.5901 13.0436 22.8655L12.3454 22.52L9.27451 23.2473L9.2836 23.2091L9.91997 20.1182L9.57815 19.4437C8.83408 17.9823 8.57159 16.323 8.82831 14.7034C9.08502 13.0837 9.84775 11.5869 11.0072 10.4273C12.4642 8.97083 14.4399 8.15263 16.5 8.15263C18.56 8.15263 20.5358 8.97083 21.9927 10.4273C22.0051 10.4415 22.0185 10.4549 22.0327 10.4673C23.4716 11.9275 24.2748 13.8974 24.2673 15.9474C24.2598 17.9974 23.4422 19.9613 21.9927 21.4109Z",fill:"white"}),e.createElement("path",{d:"M21.7199 19.1436C21.3436 19.7364 20.749 20.4618 20.0017 20.6418C18.6926 20.9582 16.6836 20.6527 14.1836 18.3218L14.1526 18.2946C11.9545 16.2564 11.3836 14.56 11.5217 13.2146C11.5981 12.4509 12.2345 11.76 12.7708 11.3091C12.8556 11.2367 12.9562 11.1852 13.0645 11.1586C13.1727 11.1321 13.2857 11.1312 13.3944 11.1561C13.503 11.181 13.6044 11.231 13.6903 11.3021C13.7761 11.3732 13.8442 11.4634 13.889 11.5655L14.6981 13.3836C14.7507 13.5015 14.7702 13.6315 14.7545 13.7596C14.7388 13.8878 14.6885 14.0092 14.609 14.1109L14.1999 14.6418C14.1121 14.7515 14.0592 14.8848 14.0478 15.0248C14.0365 15.1648 14.0673 15.305 14.1363 15.4273C14.3654 15.8291 14.9145 16.42 15.5236 16.9673C16.2072 17.5855 16.9654 18.1509 17.4454 18.3436C17.5738 18.3961 17.715 18.4089 17.8508 18.3804C17.9866 18.3519 18.1107 18.2834 18.2072 18.1836L18.6817 17.7055C18.7733 17.6152 18.8872 17.5508 19.0117 17.5188C19.1363 17.4869 19.2671 17.4886 19.3908 17.5236L21.3126 18.0691C21.4187 18.1016 21.5158 18.158 21.5967 18.2338C21.6776 18.3096 21.7401 18.4029 21.7794 18.5066C21.8187 18.6103 21.8338 18.7216 21.8235 18.832C21.8132 18.9424 21.7777 19.049 21.7199 19.1436Z",fill:"white"})),e.createElement("defs",null,e.createElement("linearGradient",{id:"paint0_linear_687_88944",x1:"16.5",y1:"0.130909",x2:"16.5",y2:"30.4509",gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#36F46C"}),e.createElement("stop",{offset:"1",stopColor:"#03D749"})),e.createElement("clipPath",{id:"clip0_687_88944"},e.createElement("rect",{width:"32",height:"32",fill:"white",transform:"translate(0.5)"})))),name:"WhatsApp",href:"https://wa.me/?text=".concat(t)},{icon:e.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("rect",{x:"0.5",width:"32",height:"32",rx:"4",fill:"#0077B5"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.3571 9.07077C11.3349 7.97643 10.6126 7.14288 9.43969 7.14288C8.26679 7.14288 7.5 7.97643 7.5 9.07077C7.5 10.1425 8.24415 11 9.39516 11H9.4171C10.6126 11 11.3571 10.1425 11.3571 9.07077ZM11.3571 12.286H7.5V23.8574H11.3571V12.286ZM20.651 12.286C23.4224 12.286 25.5 13.9022 25.5 17.3748L25.4999 23.8571H21.2885V17.8086C21.2885 16.2894 20.6791 15.2526 19.1545 15.2526C17.991 15.2526 17.2979 15.9515 16.9935 16.6265C16.8822 16.8685 16.8548 17.2056 16.8548 17.5435V23.8574H12.6429C12.6429 23.8574 12.6984 13.6127 12.6429 12.5518H16.8548V14.1531C17.4138 13.3834 18.415 12.286 20.651 12.286Z",fill:"white"})),name:"LinkedIn",href:"https://www.linkedin.com/sharing/share-offsite/?url=".concat(t)}]},Di=function(t){var a=t.url,n=t.onCopied,l=Wi(a||"");return e.createElement(St,null,e.createElement(s,{size:"p3",color:ae.colors.gray800},"Share the results"),e.createElement("div",{className:"icon-group"},l.map((function(t,a){return e.createElement("a",{key:a,href:t.href,target:"_blank",rel:"noreferrer"},t.icon)})),e.createElement(ee,{size:"sm",type:"button",color:"tertiary",className:"share",style:{},icon:e.createElement("svg",{width:"17",height:"16",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M6.86364 10.6666H5.22727C4.86912 10.6666 4.51448 10.5977 4.18359 10.4637C3.8527 10.3296 3.55205 10.1332 3.2988 9.8856C2.78734 9.3855 2.5 8.70722 2.5 7.99998C2.5 7.29274 2.78734 6.61446 3.2988 6.11436C3.81026 5.61426 4.50396 5.33331 5.22727 5.33331H6.86364M9.78374 5.33331H11.7727C12.1309 5.33331 12.4855 5.40229 12.8164 5.5363C13.1473 5.67031 13.4479 5.86674 13.7012 6.11436C13.9545 6.36198 14.1553 6.65596 14.2924 6.97949C14.4295 7.30303 14.5 7.64979 14.5 7.99998C14.5 8.35017 14.4295 8.69693 14.2924 9.02047C14.1553 9.344 13.9545 9.63798 13.7012 9.8856C13.4479 10.1332 13.1473 10.3296 12.8164 10.4637C12.4855 10.5977 12.1309 10.6666 11.7727 10.6666H9.78374",stroke:"#595959",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M6.5 8H10.5",stroke:"#595959",strokeLinecap:"round",strokeLinejoin:"round"})),onClick:function(){return Q(void 0,void 0,void 0,(function(){var e;return _(this,(function(t){switch(t.label){case 0:return[4,null===(e=null===navigator||void 0===navigator?void 0:navigator.clipboard)||void 0===e?void 0:e.writeText(a)];case 1:return t.sent(),null==n||n(),[2]}}))}))}})))},Vi=function(t){var a=t.open,n=t.title,o=t.onClose,r=t.onCopied,c=t.onShared,m=t.url,d=z(t,["open","title","onClose","onCopied","onShared","url"]),p=K().t,u=i((function(){return Q(void 0,void 0,void 0,(function(){var e;return _(this,(function(t){switch(t.label){case 0:return[4,null===(e=null===navigator||void 0===navigator?void 0:navigator.clipboard)||void 0===e?void 0:e.writeText(m)];case 1:return t.sent(),null==r||r(),[2]}}))}))}),[m,r]),g=Wi(m||"");return l((function(){a&&navigator.share&&navigator.share({title:n||"Read This Post",url:m}).then((function(){null==c||c()})).catch((function(){null==o||o()}))}),[m,n,c,a]),navigator.share?null:e.createElement(Nt,j({title:p("share.title"),onClose:o,open:a,placement:"bottom"},d),e.createElement("div",{className:"share-container"},e.createElement("div",{className:"icon-container"},e.createElement(s,{type:"semiBold",size:"s3",color:ae.colors.gray600},p("share.title")),e.createElement("div",{className:"icon-group"},g.map((function(t,a){return e.createElement("a",{key:a,href:t.href,target:"_blank",rel:"noreferrer"},t.icon)})))),e.createElement("div",{className:"link-container"},e.createElement(s,{type:"semiBold",size:"s3",color:ae.colors.gray600},p("share.copyLink")),e.createElement("div",{className:"input-group"},e.createElement(ho,{name:"link",size:"md",value:m,isDisabled:!0}),e.createElement(ee,{size:"md",type:"button",color:"tertiary",icon:e.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"copy"},e.createElement("path",{d:"M4 2.5C3.17125 2.5 2.5 3.17125 2.5 4V13.75C2.5 14.164 2.836 14.5 3.25 14.5C3.664 14.5 4 14.164 4 13.75V4H13.75C14.164 4 14.5 3.664 14.5 3.25C14.5 2.836 14.164 2.5 13.75 2.5H4ZM7 5.5C6.17125 5.5 5.5 6.17125 5.5 7V16C5.5 16.8287 6.17125 17.5 7 17.5H16C16.8287 17.5 17.5 16.8287 17.5 16V7C17.5 6.17125 16.8287 5.5 16 5.5H7ZM7 7H16V16H7V7Z",fill:"#595959"})),onClick:u})))))},Ri=function(){return e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.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"}))},Ii=function(t){var a=t.locale,n=t.categoriesSSR,l=t.healthToolsSSR,o=t.spotlightsSSR,i=t.serviceUrls,r=t.together,c=t.care,s=t.basePath,m=t.searchPlaceholder,d=xt();return e.createElement(ta,null,e.createElement("amp-sidebar",{id:"discover-amp-sidebar",layout:"nodisplay",style:{width:"100vw",maxWidth:"100vw"}},e.createElement("amp-nested-menu",{layout:"fill"},e.createElement("ul",{style:{paddingBottom:24}},e.createElement("div",{className:"amp__menu-header"},e.createElement(aa,{on:"tap:discover-amp-sidebar.close",role:"button",tabIndex:1},e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"}))),e.createElement("div",{className:"logo"},e.createElement(O,{height:"32px",width:"121px",type:uo.LOGO_TYPE,isAmp:!0,badge:"id-ID"===a?e.createElement("amp-img",{src:xo,width:"56",height:"23"}):void 0})),e.createElement("div",null)),e.createElement(na,{href:"/search"},e.createElement(Ri,null),e.createElement("input",{className:"amp-search-input",type:"text",placeholder:m,readOnly:!0})),e.createElement("div",{className:"categories__spotlight"},e.createElement(la,{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},e.createElement("amp-img",{src:To,width:"48",height:"48"}),e.createElement("span",null,d("home.navigator.menuItem.discover"))),e.createElement(la,{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'"},e.createElement("amp-img",{src:Bo,width:"48",height:"48"}),e.createElement("span",null,d("home.navigator.menuItem.healthTools"))),r.TOGETHER_MENU_COUNTRIES_ENABLED.includes(a)&&e.createElement("a",{href:i.TOGETHER_URL_FE},e.createElement(la,{role:"button",tabIndex:1,className:"nav-card",on:"tap:AMP.setState({healthToolsActive: false})"},e.createElement("amp-img",{src:Fo,width:"48",height:"48"}),e.createElement("span",null,d("home.navigator.menuItem.together")))),c.CARE_MENU_COUNTRIES_ENABLED.includes(a)&&e.createElement("a",{href:i.CARE_URL_FE},e.createElement(la,{role:"button",tabIndex:1,className:"nav-card"},e.createElement("amp-img",{src:Mo,width:"48",height:"48"}),e.createElement("span",null,d("home.navigator.menuItem.helloCare"))))),e.createElement("ul",{className:"categories","data-amp-bind-hidden":"!healthToolsActive",style:{marginBottom:24}},e.createElement(te,{tag:"h3",fontWeight:"bold",style:{marginBottom:24}},d("home.navigator.menuItem.discover")),n&&n.length>1&&n.map((function(t){return e.createElement("li",{key:t.name},e.createElement("a",{href:t.permalink},t.displayName))})),e.createElement("a",{style:{textDecoration:"none"},href:"".concat(i.DISCOVER_URL_FE,"/categories/")},e.createElement(oa,{key:"all-categories"},d("home.navigator.menuItem.allCategories"),e.createElement(ia,null,e.createElement("amp-img",{src:"".concat(s,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},height:"16",width:"16",alt:d("home.navigator.menuItem.allCategories")}))))),e.createElement("ul",{className:"categories","data-amp-bind-hidden":"!healthToolsActive"},e.createElement(te,{tag:"h3",fontWeight:"bold",style:{marginBottom:24}},d("home.navigator.menuItem.spotlights")),o&&o.length>0&&o.map((function(t){return e.createElement("li",{key:t.id,className:"spotlight-li"},e.createElement("a",{href:t.permalink},t.name))})),e.createElement("a",{style:{textDecoration:"none"},href:"".concat(i.DISCOVER_URL_FE,"/spotlight/")},e.createElement(oa,{key:"all-spotlight"},d("home.navigator.menuItem.allSpotlight"),e.createElement(ia,null,e.createElement("amp-img",{src:"".concat(s,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},height:"16",width:"16",alt:d("home.navigator.menuItem.allSpotlight")}))))),e.createElement("ul",{className:"categories","data-amp-bind-hidden":"healthToolsActive",hidden:!0},l&&l.length>1&&l.map((function(t,a){return t.healthTools&&t.healthTools.length>0&&e.createElement(e.Fragment,{key:a},e.createElement(te,{tag:"h4",fontWeight:"bold"},t.name),t.healthTools.map((function(t){return e.createElement("li",{key:t.title,className:"health-tool"},e.createElement("a",{href:t.link},e.createElement("amp-img",{width:"32",height:"32",src:t.icon}),e.createElement("span",null,t.title)))})))})))))))},Hi="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",qi="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",Pi="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",Oi=function(t){var a=t.url,n=t.isMobile,l=t.dataEventCategory,o=t.dataEventAction,i=t.dataEventLabel;return e.createElement(ca,{"data-is-mobile":n},e.createElement("img",{className:"country-flag",src:a,alt:"Country Flag","data-event-category":l,"data-event-action":o,"data-content-label":i}))},Gi=function(t){var a,n,l,o,i,r,c,m,d,p,u,g,v,h,E,y,f,C,k,b,w,L,A,S,N,x,T,B,F,M,U,W,D,V,R,I=t.className,H=t.type,q=void 0===H?"main":H,P=t.footerInfo,O=t.isMobile,j=t.locale,Z=t.isAmp,z=xt(),Q=null==P?void 0:P.menu;return e.createElement(ra,{as:Z&&"mini"===q?"div":"footer",className:I,style:"mini"===q?{backgroundColor:ae.colors.neutral50}:{},"next-page-hide":!0},e.createElement(G,null,e.createElement("div",{className:"inner","data-type":q,"next-page-hide":""},"main"===q?e.createElement(e.Fragment,null,e.createElement("a",{href:"/"},Z?(null===(n=null==P?void 0:P.general)||void 0===n?void 0:n.logo)?e.createElement("amp-img",{src:null===(l=null==P?void 0:P.general)||void 0===l?void 0:l.logo,alt:"Site logo",width:"132",height:"32",style:{marginBottom:24}}):null:e.createElement("img",{className:"footer-logo",src:null===(a=null==P?void 0:P.general)||void 0===a?void 0:a.logo,alt:"Logo","data-is-sehat":"id-ID"===j})),e.createElement("div",{className:"columns"},e.createElement("div",{className:"newsletter"},e.createElement(s,{size:"p1",type:"bold"},null===(o=null==P?void 0:P.general)||void 0===o?void 0:o.content),e.createElement(ee,{className:"signupButton",color:"primary",size:"lg"},z("footer.signUp")),e.createElement("div",{className:"social"},e.createElement(s,{size:"sm",type:"regular"},null===(i=null==P?void 0:P.social)||void 0===i?void 0:i.title),e.createElement("div",{className:"icons"},null===(c=null===(r=null==P?void 0:P.social)||void 0===r?void 0:r.socials)||void 0===c?void 0:c.map((function(t,a){return e.createElement("a",{key:a,"data-event-category":"Footer","data-event-action":"Follow us - ".concat(t.name),"data-content-label":t.url,href:t.url},Z?e.createElement("amp-img",{"data-event-category":"Footer","data-event-action":"Follow us - ".concat(t.name),"data-content-label":t.url,src:t.icon,alt:"Logo Social",width:"32",height:"32"}):e.createElement("img",{"data-event-category":"Footer","data-event-action":"Follow us - ".concat(t.name),"data-content-label":t.url,src:t.icon,alt:"Logo Social",className:"social-icon"}))}))),e.createElement("hr",{className:"hrMobile"}))),e.createElement("div",null,Q&&e.createElement(e.Fragment,null,e.createElement("div",{className:"biglinks"},null===(d=null===(m=Q[0])||void 0===m?void 0:m.items)||void 0===d?void 0:d.map((function(t,a){return e.createElement("a",{"data-event-category":"Footer","data-event-action":t.title,"data-event-label":"https://".concat(vo[j]).concat(t.url),className:"bigLink",key:a,href:t.url},t.title)}))),e.createElement("hr",{className:"hrMobile"}),e.createElement("div",{className:"mHalf"},e.createElement(s,{type:"regular",size:"sm",className:"linkTitle"},null===(p=Q[1])||void 0===p?void 0:p.menu_title),null===(g=null===(u=Q[1])||void 0===u?void 0:u.items)||void 0===g?void 0:g.map((function(t,a){return e.createElement("a",{"data-event-category":"Footer","data-event-action":t.title,"data-event-label":"https://".concat(vo[j]).concat(t.url),className:"link",href:t.url,key:a},e.createElement(s,{size:"sm",type:"regular",dataEventCategory:"Footer",dataEventAction:t.title,dataEventLabel:"https://".concat(vo[j]).concat(t.url)},t.title))}))),e.createElement("div",{className:"mHalf"},e.createElement(s,{type:"regular",size:"sm",className:"linkTitle"},null===(v=Q[2])||void 0===v?void 0:v.menu_title),null===(E=null===(h=Q[2])||void 0===h?void 0:h.items)||void 0===E?void 0:E.map((function(t,a){return t.url&&e.createElement("a",{"data-event-category":"Footer","data-event-action":t.title,"data-event-label":t.url,className:"link",href:t.url,key:a},e.createElement(s,{size:"sm",type:"regular",dataEventCategory:"Footer",dataEventAction:t.title,dataEventLabel:t.url},t.title))})))),!Z&&e.createElement(e.Fragment,null,e.createElement("hr",{className:"hrMobile"}),e.createElement("div",{className:"otherSites"},e.createElement(s,{type:"regular",size:"sm",className:"linkTitle"},null===(y=null==P?void 0:P.branch)||void 0===y?void 0:y.title),e.createElement("div",{className:"flags"},null===(C=null===(f=null==P?void 0:P.branch)||void 0===f?void 0:f.branch)||void 0===C?void 0:C.map((function(t,a){return e.createElement("a",{className:"link",href:t.url,key:a,"data-event-category":"Footer","data-event-action":t.name,"data-event-label":t.url},e.createElement(Oi,{url:t.flag,isMobile:O,dataEventCategory:"Footer",dataEventAction:t.name,dataEventLabel:t.url}))}))))))),e.createElement("hr",null),e.createElement("div",{className:"copyright","data-is-amp":Z||void 0},(null===(k=null==P?void 0:P.general)||void 0===k?void 0:k.verified)&&e.createElement("a",{href:null===(w=null===(b=null==P?void 0:P.general)||void 0===b?void 0:b.verified[0])||void 0===w?void 0:w.url,className:"copyright-image"},Z?e.createElement("amp-img",{src:null===(A=null===(L=null==P?void 0:P.general)||void 0===L?void 0:L.verified[0])||void 0===A?void 0:A.image,alt:"DMCA Icon",width:"100",height:"36"}):e.createElement("img",{src:null===(N=null===(S=null==P?void 0:P.general)||void 0===S?void 0:S.verified[0])||void 0===N?void 0:N.image,alt:"DMCA Icon"})),e.createElement(s,{size:"xs",type:"regular",className:"copyright-content"},null===(x=null==P?void 0:P.general)||void 0===x?void 0:x.copyright)),"vi-VN"===j&&e.createElement(s,{className:"copyright-certificate",size:"xs",type:"regular",color:"white"},"Giấy xác nhận cung cấp dịch vụ mạng xã hội trực tuyến số 529/GP-BTTTT, HN ngày 03/12/2019")):e.createElement(e.Fragment,null,(null==P?void 0:P.menu)&&e.createElement("div",{className:"columns"},e.createElement("div",{className:"mHalf"},e.createElement(s,{type:"regular",size:"sm",className:"linkTitle"},null===(T=null==P?void 0:P.menu[1])||void 0===T?void 0:T.menu_title),null===(F=null===(B=null==P?void 0:P.menu[1])||void 0===B?void 0:B.items)||void 0===F?void 0:F.map((function(t){return e.createElement("a",{className:"link",href:t.url,key:t.title,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Information","data-content-title":t.title,"data-content-id":"https://".concat(vo[j]).concat(t.url),"data-event-category":"Footer","data-event-action":t.title,"data-event-label":"https://".concat(vo[j]).concat(t.url)},e.createElement(s,{dataEventCategory:"Footer",dataEventAction:t.title,dataEventLabel:"https://".concat(vo[j]).concat(t.url),size:"sm",type:"regular",style:{color:ae.colors.gray800}},t.title))}))),e.createElement("div",{className:"mHalf"},e.createElement(s,{type:"regular",size:"sm",className:"linkTitle"},null===(M=null==P?void 0:P.menu[2])||void 0===M?void 0:M.menu_title),null===(W=null===(U=null==P?void 0:P.menu[2])||void 0===U?void 0:U.items)||void 0===W?void 0:W.map((function(t,a){return e.createElement("a",{className:"link",href:t.url,key:a,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Hello Health","data-content-title":t.title,"data-content-id":t.url,"data-event-category":"Footer","data-event-action":t.title,"data-event-label":t.url},e.createElement(s,{size:"sm",type:"regular",style:{color:ae.colors.gray800},dataEventCategory:"Footer",dataEventAction:t.title,dataEventLabel:t.url},t.title))}))),!Z&&"mini"!==q&&e.createElement("hr",{className:"hrMobile"}),e.createElement("div",{className:"newsletter"},e.createElement("div",{className:"social"},e.createElement(s,{size:"sm",type:"regular"},null===(D=null==P?void 0:P.social)||void 0===D?void 0:D.title),e.createElement("div",{className:"icons"},null===(R=null===(V=null==P?void 0:P.social)||void 0===V?void 0:V.socials)||void 0===R?void 0:R.map((function(t,a){return e.createElement("a",{key:a,"data-event-category":"Footer","data-event-action":"Follow us - ".concat(t.name),"data-content-label":t.url,href:t.url},Z?e.createElement("amp-img",{"data-event-category":"Footer","data-event-action":"Follow us - ".concat(t.name),"data-content-label":t.url,src:t.icon,alt:"Logo Social",width:"32",height:"32"}):e.createElement("img",{"data-event-category":"Footer","data-event-action":"Follow us - ".concat(t.name),"data-content-label":t.url,src:t.icon,alt:"Logo Social",className:"social-icon"}))}))))))))))},ji=function(t){var a,n=t.socialLinks,l=void 0===n?Eo.SOCIAL_LINKS:n,o=l.facebookLink,i=l.instagramLink,r=l.zaloLink,c=l.youtubeLink,s=t.copyrightText,m=t.logoType,d=void 0===m?"marryBaby":m,p=t.isMobile,u=t.footerMenu,g=void 0===u?[]:u,v=t.type,h=void 0===v?"main":v,E=xt();return"main"===h?e.createElement(sa,{className:"footer-container"},!p&&e.createElement("div",{className:"footer-divider"},e.createElement(G,{type:"marryBaby"},e.createElement(ma,{style:{padding:"0 16px"},type:"solid"}))),e.createElement(da,null,e.createElement(G,{type:"marryBaby"},e.createElement(pa,null,e.createElement("div",{className:"grid"},null===(a=p?null==g?void 0:g.slice(0,6):g)||void 0===a?void 0:a.map((function(t,a){var n=t.title,l=t.link;return e.createElement("a",{"data-event-category":"Footer","data-event-action":n,"data-event-label":"".concat(l),className:"link",href:l,key:"footer-links-".concat(a)},e.createElement(ua,{color:ae.colors.gray800,type:"subtitle-2"},n))})),e.createElement("div",{className:"social-wrapper"},e.createElement("div",{className:"social"},e.createElement(ua,{type:"subtitle-2"},E("footer.followUsText")),e.createElement("div",{className:"icons-links"},o&&e.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Facebook","data-content-label":o,href:o},e.createElement("img",{src:$o,alt:"Facebook"})),c&&e.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Youtube","data-event-label":c,href:c},e.createElement("img",{src:li,alt:"Youtube"})),i&&e.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Instagram","data-content-label":i,href:i},e.createElement("img",{src:ei,alt:"Instagram"})),r&&e.createElement("a",{target:"_blank",rel:"noreferrer",href:r,"data-event-category":"Footer","data-event-action":"Follow us - Zalo","data-event-label":r},e.createElement("img",{src:oi,alt:"Zalo"}))))))))),e.createElement(ga,null,e.createElement(G,{type:"marryBaby"},e.createElement(va,null,e.createElement(O,{className:"logo",type:d,width:"121px"}),e.createElement(ua,{className:"company-name",type:"subtitle-2"},E("footer.info.companyName")),e.createElement("div",{className:"text-info"},e.createElement(ua,{type:"bodytext-3"},E("footer.info.address")),e.createElement(ua,{type:"bodytext-3"},E("footer.info.license")),e.createElement(ua,{type:"bodytext-3"},E("footer.info.email"))),e.createElement("div",{className:"img-container"},e.createElement("img",{src:"/images/dmca_protected.png",alt:"DMCA protected"}),e.createElement("a",{href:"http://online.gov.vn/Home/WebDetails/25055?AspxAutoDetectCookieSupport=1",target:"_blank",rel:"noreferrer"},e.createElement("img",{src:"/images/mit_registered.png",alt:"MIT registered"}))),!p&&e.createElement(ma,{type:"solid"}),e.createElement("div",{className:"language-and-copyright"},e.createElement(ua,{type:"bodytext-3"},s)))))):e.createElement(ha,null,e.createElement(Ea,null),e.createElement(ua,{type:"subtitle-3",style:{marginBottom:24,textTransform:"uppercase",fontWeight:ae.sizes.fwSemiBold},color:ae.mbColors.midGray},E("footer.followUsText")),e.createElement("div",{className:"icons-links"},o&&e.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Facebook","data-content-label":o,href:o},e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.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)"}),e.createElement("defs",null,e.createElement("linearGradient",{id:"paint0_linear",x1:"12",y1:"3",x2:"12",y2:"21",gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#4DABF7"}),e.createElement("stop",{offset:"1",stopColor:"#2668DA"}))))),c&&e.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Youtube","data-event-label":c,href:c},e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.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"}))),i&&e.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Instagram","data-content-label":i,href:i},e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.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)"}),e.createElement("defs",null,e.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)"},e.createElement("stop",{offset:"0.073",stopColor:"#EACC7B"}),e.createElement("stop",{offset:"0.184",stopColor:"#ECAA59"}),e.createElement("stop",{offset:"0.307",stopColor:"#EF802E"}),e.createElement("stop",{offset:"0.358",stopColor:"#EF6D3A"}),e.createElement("stop",{offset:"0.46",stopColor:"#F04B50"}),e.createElement("stop",{offset:"0.516",stopColor:"#F03E58"}),e.createElement("stop",{offset:"0.689",stopColor:"#DB359E"}),e.createElement("stop",{offset:"0.724",stopColor:"#CE37A4"}),e.createElement("stop",{offset:"0.789",stopColor:"#AC3CB4"}),e.createElement("stop",{offset:"0.877",stopColor:"#7544CF"}),e.createElement("stop",{offset:"0.98",stopColor:"#2B4FF2"}))))),r&&e.createElement("a",{target:"_blank",rel:"noreferrer",href:r,"data-event-category":"Footer","data-event-action":"Follow us - Zalo","data-event-label":r},e.createElement("div",{style:{height:24,width:24}},e.createElement("img",{src:"/icons/zalo.png",alt:"Zalo"})))))},Zi=function(t){var a,n,l,o,i,r,c,s,m,d,p,u=t.type,g=t.isMobile,v=void 0===g||g,h=t.locale,E=t.footerInfo,y=t.isAmp,f=t.siteType,C=t.ampNextArticle,k=t.routerQuery;return"helloSites"===f?e.createElement(e.Fragment,null,y&&(null!==(n=null===(a=null==k?void 0:k.slug)||void 0===a?void 0:a.length)&&void 0!==n?n:"")>1&&e.createElement("amp-next-page",null,e.createElement("script",{type:"application/json",dangerouslySetInnerHTML:{__html:'\n [\n {\n "image": "'.concat(null===(l=null==C?void 0:C.articleOne)||void 0===l?void 0:l.image,'",\n "title": ').concat(JSON.stringify(null===(o=null==C?void 0:C.articleOne)||void 0===o?void 0:o.title),',\n "url": "').concat(null===(i=null==C?void 0:C.articleOne)||void 0===i?void 0:i.link,'"\n },\n {\n "image": "').concat(null===(r=null==C?void 0:C.articleTwo)||void 0===r?void 0:r.image,'",\n "title": ').concat(JSON.stringify(null===(c=null==C?void 0:C.articleTwo)||void 0===c?void 0:c.title),',\n "url": "').concat(null===(s=null==C?void 0:C.articleTwo)||void 0===s?void 0:s.link,'"\n },\n {\n "image": "').concat(null===(m=null==C?void 0:C.articleThree)||void 0===m?void 0:m.image,'",\n "title": ').concat(JSON.stringify(null===(d=null==C?void 0:C.articleThree)||void 0===d?void 0:d.title),',\n "url": "').concat(null===(p=null==C?void 0:C.articleThree)||void 0===p?void 0:p.link,'"\n }\n ]\n ')}}),e.createElement("div",j({},{separator:""},{className:"amp-page-seperator",style:{color:"#8C8C8C",textTransform:"uppercase",fontSize:11,fontWeight:700,marginLeft:16}}),"Next article:")),e.createElement(Gi,{isAmp:y,isMobile:v,type:u,locale:h,footerInfo:E||{}})):e.createElement(ji,{isMobile:v,locale:h,footerMenu:E||[],copyrightText:"© 2022 MarryBaby.vn",socialLinks:t.marryBabySocialLinks,type:u})},zi=function(t){var a,n,l,o,i,r,c,s,m,d,p,u,g,v,h,E,y,f,C,k=t.children,b=t.SEOData,w=void 0===b?{}:b,L=t.isAmp,A=void 0!==L&&L,S=t.locale,N=void 0===S?"vi-VN":S,x=t.routerPathname,T=t.routerQuery,B=t.nextHead,F=t.siteType,M=t.seoCustom,U=t.userId,W=t.forcedCanonicalUrl,D=t.usingDefaultHead,V="production"===process.env.NEXT_PUBLIC_DEPLOY_ENV,R=w.totalPages,I=w.currentPage,H=w.SEOTitle,q=void 0===H?"":H,P=w.SEODescription,O=void 0===P?"":P,G=w.SEOImage,z=w.seoType,Q=w.SEOImageWidth,_=w.SEOImageHeight,Y=w.customMetaData,K=void 0===Y?[]:Y,X=w.isIndexable,J=void 0===X||X,$=w.hasNoCanonical,ee=void 0!==$&&$,te=J&&V?"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1":"noindex",ae=process.env.NEXT_PUBLIC_BASE_API_URL,ne=w.canonicalUrl||x;Object.keys(T).forEach((function(e){var t=T[e];t&&Array.isArray(t)&&(ne=ne.replace("[...".concat(e,"]"),t.join("/")))}));var le,oe=N||"en-PH",ie="helloSites"===F?vo[oe]:"www.marrybaby.vn",re=ne.endsWith("/")?"":"/";if(w.apiMetaData&&"string"==typeof w.apiMetaData){var ce=null===(a=w.apiMetaData)||void 0===a?void 0:a.match(/<title.*?>(.*)<\/title>/),se=" - Page ".concat(I," of ").concat(R),me=I&&1!==I&&ce?w.apiMetaData.replace(ce[0],ce[0].includes("-")?ce[0].replace("-",se+" - "):"<title>".concat(ce[1].concat(se),"</title>")).replace('<link rel="canonical" href="https://'.concat(ie).concat(ne).concat(re,'" />'),'<link rel="canonical" href="https://'.concat(ie).concat(ne).concat(re,"?page=").concat(I,'" />')):w.apiMetaData,de=(le=pt(me,{trim:!0})).find((function(e){var t,a;return"og:image"===(null===(t=e.props)||void 0===t?void 0:t.property)||"og:image:secure_url"===(null===(a=e.props)||void 0===a?void 0:a.property)}));if(!de){var pe="https://".concat(ie,"/images/").concat(N,".png");le=Z(Z([],le,!0),[e.createElement("meta",{key:"og:image",property:"og:image",content:(null===(n=w.openGraph)||void 0===n?void 0:n.image)||pe||""}),e.createElement("meta",{key:"og:image:secure_url",property:"og:image:secure_url",content:(null===(l=w.openGraph)||void 0===l?void 0:l.image)||pe}),e.createElement("meta",{key:"og:image:width",property:"og:image:width",content:(null===(o=w.openGraph)||void 0===o?void 0:o.imageWidth)&&String(null===(i=w.openGraph)||void 0===i?void 0:i.imageWidth)||"1200"}),e.createElement("meta",{key:"og:image:height",property:"og:image:height",content:(null===(r=w.openGraph)||void 0===r?void 0:r.imageHeight)&&String(null===(c=w.openGraph)||void 0===c?void 0:c.imageHeight)||"630"})],!1)}}var ue="https://".concat(ie,"/images/").concat(N,".png");return e.createElement(e.Fragment,null,B&&D&&e.createElement(B,null,e.createElement("link",{rel:"preconnect",href:"https://fonts.gstatic.com"}),"marryBaby"===F&&e.createElement("link",{href:"https://fonts.googleapis.com/css2?family=Inter&family=Krub:wght@600&display=swap",rel:"stylesheet"}),"km-KH"===N?e.createElement("link",{href:"https://fonts.googleapis.com/css2?family=Battambang:wght@400;700&display=swap",rel:"stylesheet"}):"id-ID"===N||"ms-MY"===N?e.createElement(e.Fragment,null):e.createElement("link",{href:"https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;0,800;1,300;1,400;1,600;1,700;1,800&display=swap",rel:"preload",as:"style"}),e.createElement("link",{rel:"preconnect",href:ae}),e.createElement("meta",{charSet:"UTF-8"}),!A&&e.createElement("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover"}),e.createElement("meta",{name:"google",content:"notranslate"}),e.createElement("meta",{name:"robots",content:te}),e.createElement("meta",{property:"fb:app_id",content:"653713035016537"}),K.map((function(t,a){return e.createElement("meta",j({key:a},t))})),e.createElement("meta",{name:"theme-color",content:"helloSites"===F?"#2c87f3":"#e85388"}),e.createElement("meta",{name:"page_type",content:"Home"}),e.createElement("meta",{name:"page_platform",content:"WEB"}),e.createElement("meta",{name:"page_language",content:oe}),e.createElement("meta",{name:"ahrefs-site-verification",content:"46e7521a2b89a1013149c4685bbe02a1d36a4732fef98655142b829bc87cba4d"}),A&&e.createElement(e.Fragment,null,e.createElement("script",{async:!0,"custom-element":"amp-analytics",src:"https://cdn.ampproject.org/v0/amp-analytics-0.1.js"}),e.createElement("script",{async:!0,"custom-element":"amp-fx-collection",src:"https://cdn.ampproject.org/v0/amp-fx-collection-0.1.js"}),e.createElement("script",{async:!0,"custom-element":"amp-ad",src:"https://cdn.ampproject.org/v0/amp-ad-0.1.js"}),e.createElement("script",{async:!0,"custom-element":"amp-next-page",src:"https://cdn.ampproject.org/v0/amp-next-page-1.0.js"}),e.createElement("script",{async:!0,"custom-element":"amp-sticky-ad",src:"https://cdn.ampproject.org/v0/amp-sticky-ad-1.0.js"}),e.createElement("script",{async:!0,"custom-element":"amp-social-share",src:"https://cdn.ampproject.org/v0/amp-social-share-0.1.js"}),e.createElement("script",{async:!0,"custom-element":"amp-bind",src:"https://cdn.ampproject.org/v0/amp-bind-0.1.js"})),!le&&e.createElement(e.Fragment,null,"helloSites"===F?e.createElement("title",null,M?q:q+" - "+(null===(s=uo[N])||void 0===s?void 0:s.SITE_NAME)):e.createElement("title",null,q),!ee&&e.createElement("link",{rel:"canonical",href:"https://".concat(ie).concat(ne)}),e.createElement("meta",{name:"description",content:O||(null===(m=w.openGraph)||void 0===m?void 0:m.description)}),w.schemaData&&e.createElement("script",{type:"application/ld+json",className:"yoast-schema-graph",dangerouslySetInnerHTML:{__html:w.schemaData}}),e.createElement("meta",{property:"og:locale",content:N}),e.createElement("meta",{property:"og:type",content:z||"website"}),e.createElement("meta",{property:"og:title",content:(null===(d=w.openGraph)||void 0===d?void 0:d.title)||q}),e.createElement("meta",{property:"og:description",content:(null===(p=w.openGraph)||void 0===p?void 0:p.description)||O}),e.createElement("meta",{property:"og:url",content:"https://".concat(ie).concat(ne)}),e.createElement("meta",{property:"og:site_name",content:"https://".concat(ie)}),e.createElement("meta",{property:"og:image",content:(null===(u=w.openGraph)||void 0===u?void 0:u.image)||G||ue||""}),e.createElement("meta",{property:"og:image:secure_url",content:(null===(g=w.openGraph)||void 0===g?void 0:g.image)||G||ue}),e.createElement("meta",{property:"og:image:width",content:(null===(v=w.openGraph)||void 0===v?void 0:v.imageWidth)&&String(null===(h=w.openGraph)||void 0===h?void 0:h.imageWidth)||Q&&String(Q)||"1200"}),e.createElement("meta",{property:"og:image:height",content:(null===(E=w.openGraph)||void 0===E?void 0:E.imageHeight)&&String(null===(y=w.openGraph)||void 0===y?void 0:y.imageHeight)||_&&String(_)||"630"}),e.createElement("meta",{name:"twitter:card",content:"summary_large_image"}),e.createElement("meta",{name:"twitter:title",content:(null===(f=w.twitter)||void 0===f?void 0:f.title)||q}),e.createElement("meta",{name:"twitter:description",content:O}),e.createElement("meta",{name:"twitter:image",content:(null===(C=w.twitter)||void 0===C?void 0:C.image)||G})),("helloSites"===F?go[oe]||[]:go.marryBaby).map((function(t,a){return"link"===t.type?e.createElement("link",{key:"favicon-".concat(a),rel:t.rel,href:t.href,sizes:t.sizes}):"meta"===t.type?e.createElement("meta",{key:a,name:t.name,content:t.content}):null})),Array.isArray(le)&&W?le.filter((function(e){return"canonical"!==e.props.name&&"canonical"!==e.props.rel})):le,W&&e.createElement("link",{rel:"canonical",href:W}),!w.hasNoAmp&&"vi-VN"!==N&&e.createElement("link",{rel:"amphtml",href:"https://".concat(ie).concat(ne).concat(re,"?amp=1")}),U&&"undefined"!=typeof window?e.createElement("script",{dangerouslySetInnerHTML:{__html:"window.dataLayer = window.dataLayer || []; window.dataLayer.push({'userID': '".concat(U,"'});")}}):null),B&&!D&&e.createElement(B,null),k)},Qi=function(){return e.createElement(ya,{style:{marginTop:"16px"}},e.createElement("div",null,e.createElement(Do,{height:46})),e.createElement("div",null,e.createElement(Do,{height:46})),e.createElement("div",null,e.createElement(Do,{height:46})))},_i=function(t){var a,n,l,o,i=t.careSpecialties,r=t.onSelectCareSpecialty,c=t.isLoading,s=t.desktopPopupType,m=t.onClosePopup,d=t.basePath,p=t.locale,u=t.isMobile,g=t.siteType,v=t.CARE_URL_FE,h=xt();return u?e.createElement(e.Fragment,null,c?e.createElement(fa,null,e.createElement(Qi,null)):e.createElement(fa,{"data-category-list-type":"main"},e.createElement(te,{style:{marginTop:16},tag:"h5"},h("menu.care.searchBySpecialties")),i.map((function(t,a){return e.createElement("a",{key:"tool-"+a},e.createElement(Ca,{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(v).concat(Tt({type:"DOCTOR",specialtySlug:t.slug,locale:p})),onClick:function(){r(t)}},e.createElement(ka,null,e.createElement("img",{alt:"health-tool-icon",src:t.thumbnail||"".concat(d,"/images/avatar.jpg"),style:{width:"32px",height:"32px"}})),e.createElement(ba,null,t.name)))})),e.createElement("a",{style:{textDecoration:"none"},href:"".concat(v,"/").concat(null===(a=yo[p])||void 0===a?void 0:a.SPECIALTIES)},e.createElement(wa,{key:"all-categories","data-theme":g,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(v,"/").concat(null===(n=yo[p])||void 0===n?void 0:n.SPECIALTIES)},h("home.navigator.menuItem.allSpecialties"),e.createElement(La,null,"helloSites"===g?e.createElement("img",{src:"".concat(d,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:h("home.navigator.menuItem.allSpecialties")}):e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M6.5 12H17.5M17.5 12L12.9118 8M17.5 12L12.9118 16",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}))))))):e.createElement(Aa,{className:"top-menu-care-specialties",onClick:m,"data-is-display":"care"===s},e.createElement(Sa,null,e.createElement(G,{style:{padding:"0 16px"},type:g},e.createElement(Na,{"data-popup-type":s,onClick:function(e){e.stopPropagation()}},e.createElement(e.Fragment,null,i.map((function(t){return e.createElement(xa,{key:"care-specialty-".concat(t.id),onClick:m},e.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(v).concat(Tt({type:"DOCTOR",specialtySlug:t.slug,locale:p})),style:{textDecoration:"none",color:ae.colors.gray800},className:"iconMenu no-replace-click",href:"".concat(v).concat(Tt({type:"DOCTOR",specialtySlug:t.slug,locale:p}))},e.createElement("div",{style:{display:"flex"}},e.createElement("img",{alt:"care-specialty-icon",src:t.thumbnail||"".concat(d,"/images/avatar.jpg"),style:{width:"32px",height:"32px"}})),e.createElement("p",null,t.name)))})),e.createElement("a",{style:{textDecoration:"none"},href:"".concat(v,"/").concat(null===(l=yo[p])||void 0===l?void 0:l.SPECIALTIES)},e.createElement(wa,{onClick:m,key:"all-care-specialties","data-theme":g,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(v,"/").concat(null===(o=yo[p])||void 0===o?void 0:o.SPECIALTIES)},h("home.navigator.menuItem.allSpecialties"),e.createElement(La,null,"helloSites"===g?e.createElement("img",{src:"".concat(d,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:h("home.navigator.menuItem.allSpecialties")}):e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M6.5 12H17.5M17.5 12L12.9118 8M17.5 12L12.9118 16",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"})))))),e.createElement(Ta,{onClick:m},e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})))))))},Yi=function(){return e.createElement(Ba,{style:{marginTop:"16px"}},e.createElement("div",null,e.createElement(Do,{height:46})),e.createElement("div",null,e.createElement(Do,{height:46})),e.createElement("div",null,e.createElement(Do,{height:46})))},Ki=function(){return e.createElement(Fa,{style:{marginTop:"16px"}},e.createElement("div",null,e.createElement(Do,{height:46})),e.createElement("div",null,e.createElement(Do,{height:46})),e.createElement("div",null,e.createElement(Do,{height:46})))},Xi=function(t){var a=t.isDisplayed,n=void 0!==a&&a,l=t.spotlights,o=t.isLoading,i=t.className,r=t.isMobile,c=t.DISCOVER_URL_FE,s=t.basePath,m=t.locale,d=t.siteType,p=xt();return n?e.createElement(Ma,null,e.createElement(te,{tag:"h3",style:{marginBottom:24}},p("home.navigator.menuItem.spotlights")),o&&n?e.createElement(Ua,{className:i},e.createElement(Ki,null)):e.createElement(Ua,{"data-is-displayed":n,className:i},l.map((function(t,a){return e.createElement(Wa,{style:{textDecoration:"none"},key:"spotlight-"+a},r?e.createElement("a",{href:t.permalink,style:{textDecoration:"none",color:ae.colors.gray800}},e.createElement(Da,{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(vo[m]).concat(t.permalink)},e.createElement(Va,null,t.name))):e.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(vo[m]).concat(t.permalink),style:{textDecoration:"none",pointerEvents:"auto"},href:"".concat(c).concat(t.permalink)},t.name))})),e.createElement("a",{style:{textDecoration:"none"},href:"".concat(c,"/spotlight/")},e.createElement(Ra,{key:"all-spotlights","data-theme":d,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(c,"/spotlight/")},p("home.navigator.menuItem.allSpotlight"),e.createElement(Ia,null,"helloSites"===d?e.createElement("img",{src:"".concat(s,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:p("home.navigator.menuItem.allSpotlight")}):e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.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},Ji=function(t){var a=t.locale,n=t.basePath,l=t.isDisplayed,o=void 0!==l&&l,i=t.categories,r=t.spotlightsList,c=t.type,m=t.onSelectCategory,d=t.onClosePopup,p=t.desktopPopupType,u=t.isMobile,g=t.isLoading,v=t.DISCOVER_URL_FE,h=t.siteType,E=void 0===h?"helloSites":h,y=xt();return u?e.createElement(e.Fragment,null,g&&o?e.createElement(Ha,null,e.createElement(Yi,null)):e.createElement(Ha,{"data-is-displayed":o,"data-category-list-type":c},e.createElement(te,{tag:"h3",style:{marginBottom:8}},y("home.navigator.menuItem.healthCategories")),e.createElement(qa,null,i.map((function(t,l){return e.createElement("div",{key:c+"-category-"+l},e.createElement("a",{style:{textDecoration:"none",color:ae.colors.gray800},onClick:function(e){t.childCates&&t.childCates.length>0&&"sub"!==c&&e.preventDefault()},href:v+t.permalink},e.createElement(Pa,{onClick:function(){null==m||m(t)},"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(vo[a]).concat(t.permalink),"data-is-heading-category":"sub"===c&&t.childCates&&t.childCates.length>0},e.createElement(Oa,null,t.displayName),"main"===c&&e.createElement(Ga,null,"helloSites"===E?e.createElement("img",{src:"".concat(n,"/svg/chevronRight.svg"),style:{width:"16px",height:"16px"},alt:t.categoryName}):e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.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"===c&&t.childCates&&t.childCates.length>0&&t.childCates.map((function(t,a){return e.createElement("a",{style:{textDecoration:"none"},href:t.permalink,key:c+"-2-"+a},e.createElement(Pa,{"data-is-heading-category":"sub"===c&&t.childCates&&t.childCates.length>0},e.createElement(s,{size:"p3"},t.displayName)))}))))})),e.createElement("a",{style:{textDecoration:"none"},href:"".concat(v,"/categories/")},e.createElement(oa,{key:"all-categories","data-theme":E,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(v,"/categories/")},y("home.navigator.menuItem.allCategories"),e.createElement(ja,null,"helloSites"===E?e.createElement("img",{src:"".concat(n,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:y("home.navigator.menuItem.allCategories")}):e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M6.5 12H17.5M17.5 12L12.9118 8M17.5 12L12.9118 16",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"})))))),e.createElement(Xi,{isDisplayed:"main"===c,spotlights:r,isLoading:!1,isMobile:u,basePath:n,DISCOVER_URL_FE:v,locale:a,siteType:E}))):e.createElement(Za,{className:"top-menu-categories",onClick:d,"data-is-display":"categories"===p},e.createElement(za,null,e.createElement(G,{style:{padding:"0 16px"},type:E},e.createElement(Qa,{"data-popup-type":p,onClick:function(e){e.stopPropagation()}},e.createElement("div",null,e.createElement(te,{tag:"h3",style:{marginBottom:24}},y("home.navigator.menuItem.healthCategories")),e.createElement(_a,{"data-disabled-divider":0===r.length},i.map((function(t,n){return e.createElement(Ya,{style:{textDecoration:"none"},key:t.categoryName+n},e.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(vo[a]).concat(t.permalink),style:{textDecoration:"none",pointerEvents:"auto"},onClick:d,href:"".concat(v).concat(t.permalink)},t.displayName),e.createElement(Ka,null,t.childCates&&t.childCates.map((function(t,n){return e.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(vo[a]).concat(t.permalink),style:{textDecoration:"none",pointerEvents:"auto"},href:t.permalink,key:n},t.displayName)}))))})),e.createElement("a",{style:{textDecoration:"none"},href:"".concat(v,"/categories/")},e.createElement(oa,{onClick:d,key:"all-categories","data-theme":E,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(v,"/categories/")},y("home.navigator.menuItem.allCategories"),e.createElement(ja,null,"helloSites"===E?e.createElement("img",{src:"".concat(n,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:y("home.navigator.menuItem.allCategories")}):e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M6.5 12H17.5M17.5 12L12.9118 8M17.5 12L12.9118 16",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}))))))),e.createElement(Xi,{isDisplayed:"main"===c,spotlights:r,isLoading:!1,basePath:n,DISCOVER_URL_FE:v,locale:a,siteType:E}),e.createElement(Xa,{onClick:d},e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})))))))},$i=function(a){var n=a.isDisplayed,l=void 0!==n&&n,o=a.categories,i=a.type,r=a.onSelectCategory,c=a.desktopPopupType,s=a.isMobile,m=a.isLoading,d=a.MARRY_BABY_FE,p=t(-1),u=p[0],g=p[1],v=t(!1),h=v[0],E=v[1];return s?e.createElement(e.Fragment,null,m&&l?e.createElement(Ha,null,e.createElement(Yi,null)):e.createElement(Ha,{"data-is-displayed":l,"data-category-list-type":i,style:{marginTop:24}},e.createElement(Ja,{className:"marry-bb-menu-categories"},o.map((function(t,a){return e.createElement("div",{key:i+"-category-"+a,className:"wrapper-menu-category wrapper-menu-category-".concat(a),"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn".concat(t.permalink)},e.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn".concat(t.permalink),style:{textDecoration:"none",color:ae.colors.gray800},onClick:function(e){e.preventDefault()},href:"".concat(d).concat(t.permalink)},e.createElement($a,{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn".concat(t.permalink),onClick:function(){var e;"main"===i||0===(null===(e=t.childCates)||void 0===e?void 0:e.length)?null==r||r(t):u===a?(E(!0),setTimeout((function(){g(-1),setTimeout((function(){E(!1)}),100)}),300)):g(a)},style:{display:"flex",alignItems:"center",justifyContent:"space-between"}},"main"===i?e.createElement(en,{style:{backgroundColor:t.imageColor}},e.createElement("img",{src:t.iconUrl,style:{width:"24px",height:"24px"},alt:t.name})):e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.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"})),e.createElement(ua,{style:{fontWeight:ae.sizes.fwSemiBold},type:"subtitle-2"},t.displayName),e.createElement(tn,null),"main"===i?e.createElement(Ga,null,e.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M8.5 6L11 8.5L8.5 11",stroke:"#9495A0",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}))):e.createElement(Ga,null,u!==a?e.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M8.5 6L11 8.5L8.5 11",stroke:"#9495A0",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"})):e.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M11.5 7.5L9 10L6.5 7.5",stroke:"#2661AD",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}))))),"sub"===i&&t.childCates&&u===a&&t.childCates.length>0&&e.createElement(an,null,e.createElement("div",{className:h?"collapsing":"expanding"},t.childCates.map((function(a,n){return e.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn".concat(t.permalink),style:{textDecoration:"none"},href:"".concat(d).concat(a.permalink),key:i+"-2-"+n},e.createElement($a,{"data-is-heading-category":"sub"===i&&a.childCates&&a.childCates.length>0},e.createElement(nn,null,e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.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"})),e.createElement(ua,{type:"subtitle-2"},a.displayName))))})))),e.createElement("div",{style:{display:"none"}},t.childCates&&t.childCates.map((function(t,a){return e.createElement("a",{href:"".concat(d).concat(t.permalink),key:a,style:{textDecoration:"none"}},e.createElement("div",{"data-is-heading-category":"sub"===i&&t.childCates&&t.childCates.length>0},e.createElement("p",null,t.displayName)))}))))}))))):e.createElement(ln,{className:"top-menu-categories","data-is-display":"categories"===c,tabIndex:0},e.createElement(on,null),e.createElement(rn,{"data-popup-type":c},e.createElement(cn,{className:"marry-bb-menu-categories"},m?e.createElement("div",{style:{width:"100%",padding:"0 20px"}},e.createElement(Yi,null)):o.map((function(t,a){return e.createElement("div",{className:"wrapper-menu-category wrapper-menu-category-".concat(a),"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn".concat(t.permalink),key:i+"-category-"+a,onClick:function(){r(t)}},e.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn".concat(t.permalink),style:{textDecoration:"none",color:ae.colors.gray800},href:"".concat(d).concat(t.permalink)},e.createElement($a,{style:{display:"flex",alignItems:"center",justifyContent:"flex-start"}},e.createElement(en,{style:{backgroundColor:t.imageColor}},e.createElement("img",{src:t.iconUrl,style:{width:"24px",height:"24px"},alt:t.name})),e.createElement(ua,{style:{fontWeight:ae.sizes.fwSemiBold},type:"subtitle-2"},t.displayName))))})))))},er=function(t){var a=t.isDisplayed,n=void 0!==a&&a,l=t.locale,o=t.discoverApiDomain,i=t.basePath,r=t.categories,c=t.spotlightsList,s=t.type,m=t.onSelectCategory,d=t.onClosePopup,p=t.desktopPopupType,u=t.isMobile,g=t.isLoading,v=t.callApiHandler,h=t.DISCOVER_URL_FE,E=t.MARRY_BABY_FE,y=t.siteType,f=void 0===y?"helloSites":y;return"helloSites"===f?e.createElement(Ji,{locale:l,basePath:i,DISCOVER_URL_FE:h,isDisplayed:n,type:s,onSelectCategory:m,categories:r,spotlightsList:c,isLoading:g,isMobile:u,siteType:f,onClosePopup:d,desktopPopupType:p}):e.createElement($i,{basePath:i,callApiHandler:v,discoverApiDomain:o,isDisplayed:n,type:s,onSelectCategory:m,categories:r,isLoading:g,isMobile:u,MARRY_BABY_FE:E,desktopPopupType:p})},tr=function(){return e.createElement(sn,{style:{marginTop:"16px"}},e.createElement("div",null,e.createElement(Do,{height:46})),e.createElement("div",null,e.createElement(Do,{height:46})),e.createElement("div",null,e.createElement(Do,{height:46})))},ar=function(t){var a=t.isDisplayed,n=t.communities,l=t.type,o=t.onSelectCommunity,i=t.onClosePopup,r=t.isLoading,c=t.basePath,s=t.TOGETHER_URL_FE,m=t.siteType,d=void 0===m?"helloSites":m,p=t.isMobile,u=t.locale,g=t.desktopPopupType,v=xt();return p?e.createElement(e.Fragment,null,r&&a?e.createElement(mn,null,e.createElement(tr,null)):e.createElement(mn,{"data-category-list-type":l,"data-is-displayed":a},"main"===l&&n.map((function(t,a){return e.createElement("div",{key:l+"-category-"+a},e.createElement("a",{style:{textDecoration:"none",color:ae.colors.gray800},onClick:function(e){e.preventDefault()},href:"".concat(s,"/").concat(t.communitySlug)},e.createElement(dn,{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(vo[u],"/").concat(t.communitySlug),onClick:function(){o({community:t,isSetToSubMenu:!0})},"data-is-heading-category":!1},e.createElement(pn,null,e.createElement("img",{src:t.thumbnail,style:{width:"40px",height:"40px"},alt:t.title}),e.createElement(un,null,t.title)),e.createElement(gn,null,"helloSites"===d?e.createElement("img",{src:"".concat(c,"/svg/chevronRight.svg"),style:{width:"16px",height:"16px"},alt:t.title}):e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.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"===l&&n.map((function(t,a){return e.createElement("div",{key:l+"-category-"+a},e.createElement("a",{style:{textDecoration:"none",color:ae.colors.gray800},onClick:function(e){e.preventDefault()},href:"".concat(s,"/").concat(t.communitySlug)},e.createElement(dn,{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(vo[u],"/").concat(t.communitySlug),onClick:function(){o({community:t,isSetToSubMenu:!1})},"data-is-heading-category":!1},e.createElement(pn,null,e.createElement("img",{src:t.thumbnail,style:{width:"40px",height:"40px"},alt:t.title}),e.createElement(un,null,t.title)))))})),e.createElement("a",{style:{textDecoration:"none"},href:s+"/"},e.createElement(vn,{onClick:i,key:"all-communities","data-theme":d,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":s+"/"},v("home.navigator.menuItem.allCommunities"),e.createElement(hn,null,e.createElement("img",{src:"".concat(c,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:v("home.navigator.menuItem.allCommunities")})))))):e.createElement(En,{className:"top-menu-communities",onClick:i,"data-is-display":"communities"===g},e.createElement(yn,null,e.createElement(G,{style:{padding:"0 16px"},type:d},e.createElement(fn,{"data-popup-type":g,onClick:function(e){e.stopPropagation()}},e.createElement(e.Fragment,null,n.map((function(t){return e.createElement(Cn,{key:t.title,onClick:i},e.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(vo[u],"/").concat(t.communitySlug),style:{textDecoration:"none",color:ae.colors.gray800},className:"iconMenu",href:"".concat(s,"/").concat(t.communitySlug)},e.createElement("div",{style:{display:"flex"}},e.createElement("img",{alt:"health-tool-icon",src:t.thumbnail||"".concat(c,"/images/avatar.jpg"),style:{width:"32px",height:"32px"}})),e.createElement("p",null,t.title)))})),e.createElement("a",{style:{textDecoration:"none"},href:s+"/"},e.createElement(vn,{onClick:i,key:"all-communities","data-theme":d,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":s+"/"},v("home.navigator.menuItem.allCommunities"),e.createElement(hn,null,e.createElement("img",{src:"".concat(c,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:v("home.navigator.menuItem.allCommunities")}))))),e.createElement(kn,{onClick:i},e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})))))))},nr=function(t){var a=t.isDisplayed,n=void 0!==a&&a,l=t.communities,o=t.onSelectCommunity,i=t.isLoading,r=t.basePath,c=t.type,s=t.isMobile,m=t.onClosePopup,d=t.desktopPopupType,p=t.TOGETHER_URL_FE;return s?i&&n?e.createElement(mn,null,e.createElement(tr,null)):e.createElement(mn,{style:{marginTop:24},"data-category-list-type":c,"data-is-displayed":n},l.map((function(t,a){return e.createElement("a",{className:"wrapper-menu-community wrapper-menu-community-".concat(a," iconMenu"),key:"community-"+a,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn/community/".concat(t.communitySlug)},e.createElement(bn,{onClick:function(){o({community:t,isSetToSubMenu:!1})}},e.createElement(wn,null,e.createElement("img",{alt:"health-tool-icon",src:t.thumbnail||"".concat(r,"/images/avatar.jpg"),style:{width:"24px",height:"24px"}})),e.createElement(un,null,t.title)))}))):e.createElement(Ln,{className:"top-menu-communities",onClick:m,"data-is-display":"communities"===d},e.createElement(An,null),e.createElement(Sn,{"data-popup-type":d,onClick:function(e){e.stopPropagation()}},e.createElement(Nn,null,i?e.createElement("div",{style:{width:"100%",padding:"0 20px"}},e.createElement(tr,null)):l.map((function(t,a){return e.createElement("a",{className:"wrapper-menu-community wrapper-menu-community-".concat(a," iconMenu"),"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn/community/".concat(t.communitySlug),style:{textDecoration:"none",color:ae.colors.gray800},href:"".concat(p,"/").concat(t.communitySlug),key:t.title},e.createElement(bn,{onClick:m},e.createElement(wn,{style:{backgroundColor:t.color||ae.mbColors.lightGray}},e.createElement("img",{alt:t.communitySlug,src:t.thumbnail||"".concat(r,"/images/avatar.jpg"),style:{width:"24px",height:"24px"}})),e.createElement(ua,{style:{fontWeight:ae.sizes.fwSemiBold},type:"subtitle-2"},t.title)))})))))},lr=function(t){var a=t.isDisplayed,n=void 0!==a&&a,l=t.locale,o=t.communities,i=t.type,r=t.onSelectCommunity,c=t.onClosePopup,s=t.isLoading,m=t.basePath,d=t.TOGETHER_URL_FE,p=t.siteType,u=void 0===p?"helloSites":p,g=t.isMobile,v=t.desktopPopupType,h=t.togetherApiDomain;return"helloSites"===u?e.createElement(ar,{isDisplayed:n,locale:l,TOGETHER_URL_FE:d,basePath:m,type:i,onSelectCommunity:r,communities:o,isLoading:s,isMobile:g,siteType:u,togetherApiDomain:h,desktopPopupType:v,onClosePopup:c}):e.createElement(nr,{isDisplayed:n,locale:l,TOGETHER_URL_FE:d,basePath:m,type:i,onSelectCommunity:r,communities:o,isLoading:s,isMobile:g,togetherApiDomain:h,desktopPopupType:v,onClosePopup:c})},or=function(){return e.createElement(xn,{style:{marginTop:"16px"}},e.createElement("div",null,e.createElement(Do,{height:46})),e.createElement("div",null,e.createElement(Do,{height:46})),e.createElement("div",null,e.createElement(Do,{height:46})))},ir=function(t){var a=t.healthTools,n=t.onSelectHealthTool,l=t.basePath,o=t.isDesktop,i=t.onClosePopup,r=t.HEALTH_TOOL_URL_FE,c=t.locale,s=t.isGrouped;return(null==a?void 0:a.length)?o?e.createElement(e.Fragment,null,a.map((function(t,a){return e.createElement(In,{"data-grouped":s,key:t.title,onClick:i},e.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(vo[c]).concat(t.link),style:{textDecoration:"none",color:ae.colors.gray800},className:"iconMenu",href:t.link.startsWith("http")?t.link:"".concat(r).concat(t.link)},e.createElement("div",{style:{display:"flex"}},e.createElement("img",{alt:"health-tool-icon",src:t.icon||"/images/avatar.jpg",style:{width:"32px",height:"32px"}})),e.createElement("p",null,t.title)))}))):e.createElement(e.Fragment,null,a.map((function(t,a){return e.createElement("a",{key:"tool-"+a},e.createElement(Hn,{onClick:function(){n(t)},"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(vo[c]).concat(t.link)},e.createElement(qn,null,e.createElement("img",{alt:"health-tool-icon",src:t.icon||"".concat(l,"/images/avatar.jpg"),style:{width:"32px",height:"32px"}})),e.createElement(Pn,null,t.title)))}))):null},rr=function(t){var a,n,l,o,i=t.isDisplayed,r=t.healthTools,c=t.healthToolsByCategory,s=t.onSelectHealthTool,m=t.isLoading,d=t.basePath,p=t.locale,u=t.isMobile,g=t.onClosePopup,v=t.desktopPopupType,h=t.HEALTH_TOOL_URL_FE,E=t.STATIC_PAGES,y=t.siteType,f=xt();return u?e.createElement(e.Fragment,null,m&&i?e.createElement(Tn,null,e.createElement(or,null)):e.createElement(Tn,{"data-category-list-type":"main","data-is-displayed":i},(null==c?void 0:c.length)?c.map((function(t,a){var n;return!!(null===(n=t.healthTools)||void 0===n?void 0:n.length)&&e.createElement(e.Fragment,{key:"category-health-tool-".concat(a)},e.createElement(te,{tag:"h4",fontWeight:"bold",className:"title"},e.createElement("span",{dangerouslySetInnerHTML:{__html:t.name}})),e.createElement(ir,{healthTools:t.healthTools.slice(0,4),onSelectHealthTool:s,basePath:d,HEALTH_TOOL_URL_FE:h,locale:p}))})):e.createElement(ir,{healthTools:r,onSelectHealthTool:s,basePath:d,HEALTH_TOOL_URL_FE:h,locale:p}),e.createElement(Bn,null,e.createElement("a",{href:"".concat(h).concat((null===(a=E[p])||void 0===a?void 0:a.HEALTH_TOOLS)||""),style:{textDecoration:"none"}},e.createElement(Fn,{key:"all-health-tools-mobile","data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(h).concat((null===(n=E[p])||void 0===n?void 0:n.HEALTH_TOOLS)||"")},f("home.navigator.menuItem.allHealthTools"),e.createElement(Mn,null,e.createElement("img",{src:"".concat(d,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:f("home.navigator.menuItem.allHealthTools")}))))))):e.createElement(Un,{className:"top-menu-health-tools",onClick:g,"data-is-display":"tools"===v},e.createElement(Wn,null,e.createElement(G,{style:{padding:"0 16px"}},e.createElement(Dn,{"data-popup-type":v,onClick:function(e){e.stopPropagation()}},e.createElement(e.Fragment,null,(null==c?void 0:c.length)?c.map((function(t,a){var n;return!!(null===(n=t.healthTools)||void 0===n?void 0:n.length)&&e.createElement(Vn,{key:"health-tools-categories-".concat(a)},e.createElement(te,{tag:"h4",as:"h2",fontWeight:"bold"},e.createElement("span",{dangerouslySetInnerHTML:{__html:t.name}})),e.createElement(ir,{healthTools:t.healthTools.slice(0,4),onSelectHealthTool:s,basePath:d,HEALTH_TOOL_URL_FE:h,locale:p,isDesktop:!0,isGrouped:!0,onClosePopup:g}))})):e.createElement(ir,{healthTools:r,onSelectHealthTool:s,basePath:d,HEALTH_TOOL_URL_FE:h,locale:p,isDesktop:!0,onClosePopup:g}),e.createElement("a",{style:{textDecoration:"none"},href:"".concat(h).concat((null===(l=E[p])||void 0===l?void 0:l.HEALTH_TOOLS)||"")},e.createElement(Fn,{onClick:g,key:"all-health-tools","data-theme":y,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(h).concat((null===(o=E[p])||void 0===o?void 0:o.HEALTH_TOOLS)||"")},f("home.navigator.menuItem.allHealthTools"),e.createElement(Mn,null,e.createElement("img",{src:"".concat(d,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:f("home.navigator.menuItem.allHealthTools")}))))),e.createElement(Rn,{onClick:g},e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})))))))},cr=function(t){var a=t.isDisplayed,n=void 0!==a&&a,l=t.healthTools,o=t.onSelectHealthTool,i=t.isLoading,r=t.basePath,c=t.isMobile,s=t.onClosePopup,m=t.HEALTH_TOOL_URL_FE,d=t.desktopPopupType;return c?i&&n?e.createElement(Tn,null,e.createElement(or,null)):e.createElement(Tn,{style:{marginTop:24},"data-category-list-type":"main","data-is-displayed":n},l.map((function(t,a){return e.createElement("a",{key:"tool-"+a,className:"wrapper-menu-health-tool wrapper-menu-health-tool-".concat(a),"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://https://marrybaby.vn".concat(t.link)},e.createElement(On,{onClick:function(){o(t)}},e.createElement(Gn,null,e.createElement("img",{alt:"health-tool-icon",src:t.icon||"".concat(r,"/images/avatar.jpg"),style:{width:"24px",height:"24px"}})),e.createElement(Pn,null,t.title)))}))):e.createElement(jn,{className:"top-menu-health-tools",onClick:s,"data-is-display":"tools"===d},e.createElement(Zn,null),e.createElement(zn,{"data-popup-type":d,onClick:function(e){e.stopPropagation()}},e.createElement(Qn,null,i?e.createElement("div",{style:{width:"100%",padding:"0 20px"}},e.createElement(or,null)):l.map((function(t,a){return e.createElement("a",{className:"wrapper-menu-health-tool wrapper-menu-health-tool-".concat(a," iconMenu"),"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn".concat(t.link),style:{textDecoration:"none",color:ae.colors.gray800},href:t.link.startsWith("http")?t.link:"".concat(m).concat(t.link),key:t.title,onClick:function(e){e.stopPropagation()}},e.createElement(On,{onClick:s},e.createElement(Gn,null,e.createElement("img",{alt:t.title,src:t.icon||"/images/avatar.jpg",style:{width:"24px",height:"24px"}})),e.createElement(ua,{style:{fontWeight:ae.sizes.fwSemiBold},type:"subtitle-2"},t.title)))})))))},sr=function(t){var a=t.isDisplayed,n=void 0!==a&&a,l=t.healthTools,o=t.healthToolsByCategory,i=t.onSelectHealthTool,r=t.isLoading,c=t.basePath,s=t.locale,m=t.isMobile,d=t.onClosePopup,p=t.desktopPopupType,u=t.HEALTH_TOOL_URL_FE,g=t.siteType,v=t.discoverApiDomain,h=t.STATIC_PAGES;return"helloSites"===g?e.createElement(rr,{isDisplayed:n,locale:s,basePath:c,discoverApiDomain:v,HEALTH_TOOL_URL_FE:u,onSelectHealthTool:i,healthTools:l,healthToolsByCategory:o,isLoading:r,isMobile:m,siteType:g,desktopPopupType:p,onClosePopup:d,STATIC_PAGES:h}):e.createElement(cr,{isDisplayed:n,basePath:c,discoverApiDomain:v,HEALTH_TOOL_URL_FE:u,onSelectHealthTool:i,healthTools:l||o.reduce((function(e,t){return e.concat(t.healthTools)}),[]),isLoading:r,isMobile:m,desktopPopupType:p,onClosePopup:d})},mr=function(){return e.createElement(e.Fragment,null,e.createElement(_n,null,e.createElement("div",null,e.createElement(Do,{height:109})),e.createElement("div",null,e.createElement(Do,{height:109})),e.createElement("div",null,e.createElement(Do,{height:109})),e.createElement("div",null,e.createElement(Do,{height:109})),e.createElement("div",null,e.createElement(Do,{height:109})),e.createElement("div",null,e.createElement(Do,{height:109}))))},dr=function(t){var a=t.specialty,n=t.id,l=t.isActive,o=void 0!==l&&l,i=t.position,r=t.className,c=t.onClick;return a.name&&""!==a.name?e.createElement(Yn,{onClick:function(){c&&c(n)},className:r,"data-is-active":o,"data-card-position":i},e.createElement("img",{src:a.thumbnail,style:{objectFit:"contain",height:"55px",width:"55px"},alt:"category-menu-card"}),e.createElement(s,{type:"bold",size:"label2"},a.name)):e.createElement(mr,null)};function pr(){return e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M14.5 17L9.5 12L14.5 7",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}))}function ur(){return e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"}))}function gr(t){var a=t.siteType,n=t.type;return"helloSites"===a?e.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:n}):e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.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 vr(t){var a,n,l=t.type,o=t.isStatic,i=t.isAmp,r=t.isDisplayed,c=t.siteType,m=t.isCollapsed,d=t.sitewideBannerShown,p=t.sitewideBanner,u=t.sitewideBannerClosed,g=t.setSitewideBannerClosed,v=t.isMobile,h=t.onMenuClick,E=t.menu,y=t.isSearchIconDisplayed,f=t.statics,C=f.DISCOVER_URL_FE,k=f.SSO_URL,b=f.HOME_PAGE_URL,w=f.CARE_URL_FE,L=t.basePath,A=t.languageMenu,S=t.enabledExperimentalCareHeader,N=t.onCareHeaderClick,x=t.logoType,T=t.locale,B=t.isInit,F=t.title,M=t.sponsorComponent,U=t.currentUrl,W=t.userInfo,D=t.currentPopupType,V=t.avatar,R=t.profileMenu,I=t.isLoginButtonDisplayed,H=t.goToLogin,q=t.isSearchBarDisplay,G=t.searchPlaceholder,Z=t.onSearchValueChanged,z=t.keyPressed,Q=xt(),_=!!M,Y=!!(null===(n=null===(a=null==M?void 0:M.props)||void 0===a?void 0:a.sponsoredBy)||void 0===n?void 0:n.length),K=d&&!!p&&!u,X=hr({isSiteWide:!!p&&!u,isShowingSiteWideBanner:K,isSponsored:_,hasSponsoredBanners:Y,isMobile:!0}),J=X.headerRef,$=X.headerHeight;return e.createElement(e.Fragment,null,e.createElement(Kn,{"data-header-type":l,"data-collapsed":!o&&m,"data-with-search-input":"popup-sub-level"!==l,"data-is-displayed":r,"data-is-amp":i,"data-sponsored":_,"data-site-type":c,"data-sitewide-banner-shown":K,id:"site-header",ref:J},p?e.isValidElement(p)?e.cloneElement(p,{isCollapsed:m,setBannerClosed:g,isAmp:i,isMobile:v}):p:null,e.createElement("div",{style:j(j({position:"relative",height:64,display:"flex",alignItems:"center",justifyContent:"helloSites"===c?"center":"flex-start",background:"white"},"marryBaby"===c?{paddingLeft:66}:{}),void 0!==A||S?{paddingLeft:S?48:64,gap:24,justifyContent:"unset"}:{})},e.createElement(Xn,null,e.createElement(Jn,{on:"tap:discover-amp-sidebar",role:"button",className:"menu-handler",tabIndex:0},e.createElement("div",{onClick:function(){return null==h?void 0:h("categories")}},"home"===l&&e.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"Hamburger Navigation URL"},e.createElement(gr,{siteType:c,type:l})),"popup"===l&&e.createElement(ur,null),"popup-sub-level"===l&&e.createElement(pr,null)),E),y&&"helloSites"===c&&"home"===l&&e.createElement(Jn,{style:{paddingRight:16}},e.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click",style:{paddingRight:16,paddingTop:8,position:"relative"},href:"".concat(b,"/search?s=&page=1")},e.createElement("img",{src:"".concat(L,"/images/search.svg"),style:{width:"24px",height:"24px"},alt:l}),e.createElement("input",{style:{width:"32px",height:"32px",position:"absolute",left:"-2px",bottom:"0",opacity:0,zIndex:1e4}})))),"popup"!==l&&e.createElement($n,{"data-is-profile":!0,className:B?"":"menu-handler-health-tools"},e.createElement("div",{className:"menu-handler-item"},y&&"marryBaby"===c&&"home"===l&&e.createElement(Jn,{style:{justifySelf:"flex-end"}},e.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click",style:{display:"flex"},href:"".concat(C,"/search?s=&page=1")},e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.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"})),e.createElement("input",{style:{width:"32px",height:"32px",position:"absolute",left:"-2px",bottom:"0",opacity:0}}))),S&&e.createElement(e.Fragment,null,N?e.createElement(ee,{size:"sm",color:"primary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:U,onClick:N},Q("login.booking")):e.createElement("a",{href:w,className:"care-button"},e.createElement(ee,{size:"sm",color:"primary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:U},Q("login.booking")))),(null==W?void 0:W.id)?e.createElement(el,{style:{position:"relative"}},e.createElement("div",{onClick:function(){return h&&h("profile")}},"profile"===D?e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})):V),R):i?e.createElement("a",{"data-vars-event-category":"Sign Up","data-vars-event-action":"Button Click","data-vars-event-label":U,href:"".concat(k,"?returnUrl=").concat(U.replace("?amp=1","")),style:{textDecoration:"none"}},"vi-VN"===T?e.createElement(tl,{onClick:H},e.createElement("img",{src:Uo,className:"avatar",alt:"avatar"})):e.createElement(ee,{className:"login-btn-mobile",size:"sm",color:"secondary",onClick:H},Q("navigation.loginJoin"))):I&&e.createElement("a",{"data-event-category":"Sign Up","data-event-action":"Button Click","data-event-label":U},S?e.createElement(tl,{onClick:H},e.createElement("img",{src:Uo,className:"avatar",alt:"avatar"})):"helloSites"===c?e.createElement(ee,{className:"login-btn-mobile",size:"sm",color:"secondary",onClick:H},Q("navigation.loginJoin")):e.createElement("div",{className:"login-btn-mobile",onClick:H,style:{paddingLeft:16}},e.createElement(s,{size:"p3"},Q("navigation.loginJoin")))))),("home"===l||"popup"===l)&&e.createElement("a",{href:b||""},e.createElement(O,{type:x,height:"27px",width:"121px",style:{display:"flex"},badge:"id-ID"===T?e.createElement("img",{src:xo,style:{width:56,height:23,maxWidth:56},width:"56",height:"23"}):void 0})),void 0!==A&&e.createElement(al,{"data-is-active":!0,className:B?"":"menu-handler-language",onClick:function(){h&&h("language")}},A),F&&e.createElement(te,{className:"top-bar-header",tag:"h5"},F)),M?e.isValidElement(M)?e.cloneElement(M,{isCollapsed:m,locale:T,isMobile:v,isAmp:i}):M:null),q?e.createElement(nl,{"data-header-type":l,"data-is-displayed":r,"data-sitewide-banner-shown":d&&!!p},e.createElement(P,{style:{minHeight:"auto",minWidth:"100%",padding:"0 16px"},name:"search-input-"+l+(B?"":"-temp"),size:"md",placeholder:G,onChange:Z,onKeyPress:z,type:"search",autoFocus:!1,displayIcon:e.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click"},e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.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"}),e.createElement("path",{d:"M20 20L16 16",stroke:"#8C8C8C",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})))})):e.createElement(e.Fragment,null,!i&&e.createElement("div",{style:{height:$}})))}var hr=function(e){var o=e.hasSponsoredBanners,r=e.isSiteWide,c=e.isSponsored,s=e.isShowingSiteWideBanner,m=e.isMobile,d=a(null),p=t(0),u=p[0],g=p[1],v=i(mo((function(){var e,t=(null===(e=d.current)||void 0===e?void 0:e.clientHeight)||0;window.scrollY<=t+30&&g(t)}),100),[]);l((function(){return window.addEventListener("resize",v),window.addEventListener("scroll",v),function(){window.removeEventListener("resize",v),window.removeEventListener("scroll",v)}}),[]),l((function(){v()}),[r,s,c,o,d.current]);var h=n((function(){var e=m?64:69;return s&&(e+=64),c&&(e+=40),e}),[m,s,c]);return{headerHeight:u||h,headerRef:d}},Er=function(o){var r,c,s,m=o.siteType,d=o.basePath,p=o.statics,u=o.currentPopupType,g=void 0===u?"none":u,v=o.isDisplayed,h=void 0===v||v,E=o.isSearchBarDisplay,y=void 0===E||E,f=o.searchPlaceholder,C=void 0===f?"":f,k=o.openPopup,b=o.onTopBarAppears,w=o.onSearchChange,L=o.onSearchKeyPress,A=o.menu,S=o.isAmp,N=o.profileMenu,x=o.isMobile,T=void 0!==x&&x,B=o.isLoginButtonDisplayed,F=o.title,M=o.type,U=void 0===M?"home":M,W=o.onMenuClick,D=o.isStatic,V=void 0!==D&&D,R=o.routerAsPath,I=o.locale,H=o.userInfo,q=o.marryBaby,j=(void 0===q?{tone:"white"}:q).tone,Z=o.menuItems,z=void 0===Z?[]:Z,Q=o.isInit,_=o.sitewideBanner,Y=o.sitewideBannerShown,K=void 0===Y||Y,X=o.sponsorComponent,J=o.languageMenu,$=o.isSearchIconDisplayed,te=void 0!==$&&$,ne=o.enabledExperimentalCareHeader,le=o.onCareHeaderClick,oe=p.SSO_URL,ie=p.HOME_PAGE_URL,re=p.CARE_URL_FE,ce=xt(),se=!!X,me=t(!1),de=me[0],pe=me[1],ue=t(!1),ge=ue[0],ve=ue[1],he=t(!1),Ee=he[0],ye=he[1],fe=t(Q||!1),Ce=fe[0],ke=fe[1],be=a(47),we=a(!1),Le=a(!1),Ae="helloSites"===m?"https://".concat(vo[I]).concat(R):"https://www.marrybaby.vn".concat(R),Se=n((function(){var t=(null==H?void 0:H.name)||(null==H?void 0:H.username);return e.createElement(Bt,{type:"rounded",size:"small",avatarUrl:null==H?void 0:H.avatar,firstLetter:t&&t.length?t[0].toUpperCase():"A",backgroundColor:"marryBaby"===m?ae.mbColors.pink:ae.colors.secondaryBase,isAmp:S})}),[null==H?void 0:H.username,null==H?void 0:H.name,null==H?void 0:H.avatar]),Ne=function(){var e=window.location.href;window.location.href=oe?"".concat(oe,"?returnUrl=").concat(e):e},xe="helloSites"===m?null===(r=uo[I])||void 0===r?void 0:r.LOGO_TYPE:m,Te="undefined"!=typeof window,Be=function(e){null==w||w(e)},Fe=i(so((function(){var e;if("home"===U){var t=window,a=null===(e=document.querySelector(".sticky-container"))||void 0===e?void 0:e.clientHeight;Te&&t&&(t.scrollY>be.current&&t.scrollY>64&&!we.current&&(we.current=!0,pe(!0)),t.scrollY<be.current&&we.current&&(we.current=!1,pe(!1),a&&t.scrollY),t.scrollY<be.current&&a&&t.scrollY,y?(t.scrollY<64&&t.scrollY<be.current&&Le.current&&(Le.current=!1),t.scrollY>8&&t.scrollY>be.current&&!Le.current&&(Le.current=!0)):Le.current=!0,t.scrollY>=0&&(be.current=t.scrollY))}}),300),[]);l((function(){null==b||b(!de)}),[de]);var Me=function(e){var t,a;L&&L(e,null!==(a=null===(t=document.getElementById("search-input-"+U))||void 0===t?void 0:t.value)&&void 0!==a?a:"")};l((function(){T&&Fe()}),[]),l((function(){return window.addEventListener("scroll",Fe,{passive:!0}),function(){window.removeEventListener("scroll",Fe)}}),[]),l((function(){ke(!0)}),[]),l((function(){"undefined"!=typeof window&&ye(Boolean(Ee))}),[]);var Ue=e.createElement(e.Fragment,null,z.find((function(e){return"categories"===e.id}))&&e.createElement(al,{"data-is-active":"categories"===g,className:Ce?"":"menu-handler-categories",tabIndex:0,onClick:function(){null==k||k("categories"),setTimeout((function(){var e,t;null===(t=null===(e=document.getElementsByClassName("top-menu-categories"))||void 0===e?void 0:e[0])||void 0===t||t.focus()}),100)}},e.createElement("div",{className:"menu-handler-item"},ce("home.navigator.menuItem.discover"),e.createElement(ll,null,e.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M11.5 7.5L9 10L6.5 7.5",stroke:"#202135",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"})))),"categories"===g&&e.createElement("div",null,A)),z.find((function(e){return"healthTools"===e.id}))&&e.createElement(al,{"data-is-active":"tools"===g,className:Ce?"":"menu-handler-health-tools",tabIndex:0},e.createElement("div",{className:"menu-handler-item",onClick:function(){k&&k("tools")}},ce("home.navigator.menuItem.healthTools"),e.createElement(ll,null,e.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M11.5 7.5L9 10L6.5 7.5",stroke:"#202135",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"})))),"tools"===g&&e.createElement("div",null,A)),z.find((function(e){return"care"===e.id}))&&!ne&&e.createElement(al,{"data-is-active":"care"===g,className:Ce?"":"menu-handler-care-specialties",tabIndex:0},e.createElement("div",{className:"menu-handler-item",onClick:function(){k&&k("care")}},ce("home.navigator.menuItem.helloCare"),e.createElement(ll,null,e.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M11.5 7.5L9 10L6.5 7.5",stroke:"#202135",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"})))),"care"===g&&e.createElement("div",null,A)),z.find((function(e){return"together"===e.id}))&&e.createElement(al,{"data-is-active":"communities"===g,className:Ce?"":"menu-handler-communities",tabIndex:0},e.createElement("div",{className:"menu-handler-item",onClick:function(){k&&k("communities")}},ce("home.navigator.menuItem.helloTogether"),e.createElement(ll,null,e.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M11.5 7.5L9 10L6.5 7.5",stroke:"#202135",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"})))),"communities"===g&&e.createElement("div",null,A))),We=!!(null===(s=null===(c=null==X?void 0:X.props)||void 0===c?void 0:c.sponsoredBy)||void 0===s?void 0:s.length),De=K&&!!_&&!ge,Ve=hr({isSiteWide:!!_&&!ge,isShowingSiteWideBanner:De,isSponsored:se,hasSponsoredBanners:We}),Re=Ve.headerRef,Ie=Ve.headerHeight;return T?e.createElement(vr,{type:U,isStatic:V,isAmp:S,isDisplayed:h,siteType:m,isCollapsed:de,sitewideBannerShown:K,sitewideBanner:_,sitewideBannerClosed:ge,setSitewideBannerClosed:ve,isMobile:T,onMenuClick:W,menu:A,isSearchIconDisplayed:te,statics:p,basePath:d,languageMenu:J,enabledExperimentalCareHeader:ne,logoType:xe,locale:I,isInit:Ce,title:F,sponsorComponent:X,currentUrl:Ae,userInfo:H,currentPopupType:g,avatar:Se,profileMenu:N,isLoginButtonDisplayed:B,goToLogin:Ne,isSearchBarDisplay:y,searchPlaceholder:C,onSearchValueChanged:Be,keyPressed:Me}):e.createElement(e.Fragment,null,e.createElement("div",{style:{height:Ie}}),e.createElement(ol,{ref:Re,"data-site-type":m,"data-marry-baby-tone":"marryBaby"===m&&j,"data-sponsored":se,"data-sitewide-banner-shown":De},_?e.isValidElement(_)?e.cloneElement(_,{isCollapsed:de,setBannerClosed:ve}):_:null,e.createElement(G,{style:{height:69,padding:"0 16px"},type:m},e.createElement(il,null,e.createElement(rl,null,e.createElement("a",{href:ie},e.createElement(cl,{"data-is-having-border":"helloSites"===m},e.createElement(O,{style:{display:"flex"},type:xe,height:"27px",width:"121px",badge:"id-ID"===I?e.createElement("img",{src:xo,style:{width:56,height:23,maxWidth:56},width:"56",height:"23"}):void 0}))),y&&"helloSites"===m&&e.createElement(sl,{"data-header-type":U,"data-is-displayed":h,"data-sitewide-banner-shown":K&&!!_},e.createElement(P,{style:{minHeight:"32px",maxHeight:"32px",minWidth:"100%",backgroundColor:ae.colors.white},name:"search-input-"+U+(Ce?"":"-temp"),autoFocus:!1,size:"sm",placeholder:C,onChange:Be,onKeyPress:Me,displayIcon:e.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click",style:{width:"24px",height:"24px",transform:"scale(0.8)"}},e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.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"===m&&e.createElement("div",{style:{marginLeft:28,display:"flex"}},Ue)),e.createElement(ml,null,"helloSites"===m&&Ue,y&&"marryBaby"===m&&e.createElement(sl,{"data-header-type":U,"data-is-displayed":h,"data-is-styled-borderless":"marryBaby"===m,"data-marry-baby-theme":j},e.createElement(P,{style:{minHeight:"40px",maxHeight:"40px",minWidth:"100%",borderRadius:16},name:"search-input-"+U+(Ce?"":"-temp"),autoFocus:!1,size:"sm",placeholder:C,onChange:Be,onKeyPress:Me,displayIcon:e.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click",style:{width:"24px",height:"24px"}},e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.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!==J&&e.createElement(al,{"data-is-active":!0,className:Ce?"":"menu-handler-language",onClick:function(){k&&k("language")}},J),e.createElement($n,{"data-is-active":"profile"===g,"data-is-profile":!0,className:Ce?"":"menu-handler-health-tools",tabIndex:0},e.createElement("div",{className:"menu-handler-item"},ne&&e.createElement(e.Fragment,null,le?e.createElement(ee,{className:"login-btn-mobile",size:"sm",color:"secondary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:Ae,onClick:le},ce("login.booking")):e.createElement("a",{href:re,className:"care-button no-replace-click"},e.createElement(ee,{className:"login-btn-mobile",size:"sm",color:"secondary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:Ae},ce("login.booking")))),(null==H?void 0:H.id)?e.createElement(el,{style:{position:"relative"}},e.createElement("div",{onClick:function(){return k&&k("profile")}},Se),N):B&&e.createElement("a",{"data-event-category":"Sign Up","data-event-action":"Button Click","data-event-label":Ae},ne?e.createElement(tl,{onClick:Ne},e.createElement("img",{src:Uo,className:"avatar",alt:"avatar"})):"helloSites"===m?e.createElement(ee,{size:"md",color:"secondary",onClick:Ne},ce("navigation.loginJoin")):e.createElement(ee,{size:"md",color:"secondary",theme:"marryBaby",onClick:Ne},ce("navigation.loginJoin")))))))),X?e.isValidElement(X)?e.cloneElement(X,{isCollapsed:de,locale:I,isMobile:T,isAmp:S}):X:null))},yr=function(t){var a=t.selectedMenuMainItem,n=t.spotlightsList,l=t.locale,o=t.basePath,i=t.callApiHandler,r=t.discoverApiDomain,c=t.DISCOVER_URL_FE,s=t.MARRY_BABY_FE,m=t.onSelectCategory,d=t.isMobile,p=t.siteType,u=t.onCategoryClick,g=xt(),v=a.childCates,h=a.categoryName;return e.createElement(dl,{"data-type":"sub-level","data-with-search-input":!1},e.createElement(pl,null,e.createElement(er,{isDisplayed:!0,locale:l,basePath:o,callApiHandler:i,discoverApiDomain:r,DISCOVER_URL_FE:c,MARRY_BABY_FE:s,categories:v||[],spotlightsList:n,type:"sub",onSelectCategory:m,isMobile:d,siteType:p,desktopPopupType:"none",isLoading:!1,onClosePopup:void 0}),e.createElement(ul,{"data-site-type":p},e.createElement(ee,{onClick:u,className:"category-button",size:"md",theme:p},e.createElement(gl,null,e.createElement("div",null,g("home.menu.category.view",{category:h})),"helloSites"===p?e.createElement("img",{src:Hi,style:{width:"16px",height:"16px"},className:"button-image",alt:g("home.menu.category.view",{category:h})}):e.createElement("svg",{width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M7 12H18M18 12L13.4118 8M18 12L13.4118 16",stroke:"white",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"})))))))},fr=function(a){var n=a.selectedMenuMainItem,o=a.onCommunityClick,i=a.onSelectCommunity,r=a.basePath,c=void 0===r?"":r,s=a.callApiHandler,m=a.togetherApiDomain,d=a.locale,p=a.TOGETHER_URL_FE,u=a.siteType,g=a.isMobile,v=xt(),h=t([]),E=h[0],y=h[1],f=t(!1),C=f[0],k=f[1],b=n.communityId,w=n.title;return l((function(){k(!0),Q(void 0,void 0,void 0,(function(){var e,t,a,n,l;return _(this,(function(o){switch(o.label){case 0:return[4,s("helloSites"===u?Mt(d,m,{communityId:b}):Ut(d,m,{communityId:b}),"GET")];case 1:return null!==(e=o.sent())&&(null===(l=null===(n=null===(a=null==e?void 0:e.data)||void 0===a?void 0:a.data)||void 0===n?void 0:n.topics)||void 0===l?void 0:l.length)>0&&(t=e.data.data.topics.map(Ft),y(t)),k(!1),[2]}}))}))}),[n]),e.createElement(dl,{"data-type":"sub-level","data-with-search-input":!1},e.createElement(pl,null,e.createElement(lr,{isDisplayed:!0,locale:d,communities:E,type:"sub",onSelectCommunity:i,isLoading:C,basePath:c,TOGETHER_URL_FE:p,togetherApiDomain:m,siteType:u,isMobile:g,desktopPopupType:"none",onClosePopup:void 0}),e.createElement(ul,null,e.createElement(ee,{onClick:o,className:"category-button",size:"md"},e.createElement(gl,null,e.createElement("div",null,v("home.menu.category.view",{category:w})),e.createElement("img",{src:Hi,style:{width:"16px",height:"16px"},className:"button-image",alt:v("home.menu.category.view",{category:w})}))))))},Cr=function(a){var n=a.isMobile,o=void 0!==n&&n,i=a.isMobileMenuOpened,r=void 0===i?void 0:i,c=a.categories,s=a.healthTools,m=a.healthToolsByCategory,d=a.careSpecialties,p=a.togetherCommunities,u=a.spotlightsList,g=a.closePopup,v=a.popupType,h=void 0===v?"none":v,E=a.onMobileMenuClick,y=a.footer,f=a.care.CARE_URL_FE,C=a.discover,k=C.discoverApiDomain,b=C.DISCOVER_URL_FE,w=a.together,L=w.togetherApiDomain,A=w.TOGETHER_URL_FE,S=a.sso.SSO_URL,N=a.statics,x=N.MARRY_BABY_FE,T=N.HOME_PAGE_URL,B=N.STATIC_PAGES,F=N.HEALTH_TOOL_URL_FE,M=a.marryBaby.tone,U=a.locale,W=a.siteType,D=a.basePath,V=a.callApiHandler,R=a.activeMenuService,I=a.menuItems,H=a.routerAsPath,q=xt(),O=t(!1),G=O[0],j=O[1],Z=t(c),z=Z[0],Q=Z[1],_=t(void 0),Y=_[0],K=_[1],X=t(void 0),J=X[0],$=X[1],ee=t(!1),ne=ee[0],le=ee[1],oe=t(null==I?void 0:I.find((function(e){return e.id===R}))),ie=oe[0],re=oe[1],ce=t(!1),se=ce[0],me=ce[1],de=t(!1),pe=de[0],ue=de[1],ge=function(){Y&&(window.location.href=Y.permalink),Ce(),g&&g()},ve=function(){Y&&(window.location.href="".concat(A,"/").concat(Y.communitySlug)),Ce(),g&&g()},he=function(e){e.childCates&&e.childCates.length>0?(j(!0),K(e)):(window.location.href="helloSites"===W?b+e.permalink:x+e.permalink,Ce(),g&&g())},Ee=function(e){var t=e.community;e.isSetToSubMenu?(j(!0),K(t)):(window.location.href="".concat(A,"/").concat(t.communitySlug),Ce(),g&&g())},ye=function(e){window.location.href=e.link.startsWith("http")?e.link:F+e.link,Ce(),g&&g()},fe=function(e){window.location.href=f+Tt({type:"DOCTOR",specialtySlug:e.slug,locale:U}),null==g||g()},Ce=function(){K(void 0),j(!1)},ke=function(e){re(I.find((function(t){return t.id===e})))},be=uo[U||"en-PH"]||{};return l((function(){var t;$("categories"===ie.id?(null===(t=null==Y?void 0:Y.childCates)||void 0===t?void 0:t.length)>0&&e.createElement(yr,{selectedMenuMainItem:Y,spotlightsList:[],locale:U,basePath:D,callApiHandler:V,discoverApiDomain:k,DISCOVER_URL_FE:b,MARRY_BABY_FE:x,onSelectCategory:he,isMobile:o,siteType:W,onCategoryClick:ge}):"together"===ie.id&&Y&&e.createElement(fr,{selectedMenuMainItem:Y,onCommunityClick:ve,onSelectCommunity:Ee,TOGETHER_URL_FE:A,basePath:D,callApiHandler:V,locale:U,togetherApiDomain:L,siteType:W,isMobile:o}))}),[Y,ie]),l((function(){me(!0)}),[]),l((function(){!pe&&r&&ue(!0)}),[r]),l((function(){Q(c)}),[c]),o?e.createElement(e.Fragment,null,e.createElement(vl,{id:se?"":"categories-menu","data-opened":r||(pe?r:"undefined"),key:se?"t":"f"},e.createElement(hl,{"data-opened":r,"data-type":"category","data-is-sub-category-opened":G},e.createElement(Er,{siteType:W,locale:U,isDisplayed:!0,searchPlaceholder:"",statics:{DISCOVER_URL_FE:b,SSO_URL:S,HOME_PAGE_URL:T,MARRY_BABY_FE:x,CARE_URL_FE:f},isMobile:o,isLoginButtonDisplayed:!1,type:"popup",onMenuClick:function(){return null==E?void 0:E("categories")},onSearchChange:function(e){le(""!==e),Q(e&&""!==e?c.filter((function(t){return t.categoryName.toLowerCase().search(e.toLowerCase())>-1||t.slug.replace("-","").toLowerCase().search(e.replace(" ","").toLowerCase())>-1})):c)},isSearchBarDisplay:!1,basePath:D,isAmp:!1,isInit:!1,isStatic:!1,routerAsPath:H,title:"",onTopBarAppears:void 0,currentPopupType:"none",marryBaby:{tone:M},menu:void 0,menuItems:void 0,onSearchKeyPress:void 0,openPopup:void 0,profileMenu:void 0,userInfo:void 0}),e.createElement(dl,null,e.createElement(pl,null,e.createElement(El,null,e.createElement(yl,{"data-hide-on-search":ne,"data-is-sub-category-opened":G},"helloSites"===W?e.createElement(e.Fragment,null,e.createElement(fl,{onClick:function(){window.location.href="".concat(Wt(U),"/search")}},e.createElement(P,{className:"fake-search-input",name:"search-input-menu-service"+(se?"":"-temp"),size:"md",placeholder:q("home.search",{site:be?be.SITE_NAME:""}),onChange:function(){},type:"search",autoFocus:!1,onFocus:function(e){e.preventDefault()},value:"",displayIcon:e.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click"},e.createElement(Ri,null))})),e.createElement(te,{tag:"h5",color:ae.colors.gray800},q("menu.categories.title")),e.createElement(Cl,{"data-card-array-no-margin-style":!0},I.map((function(t,a){return e.createElement(dr,{onClick:ke,key:"service-"+a,specialty:t,id:t.id,isActive:t.id===ie.id,isMobile:o,position:0===a?"left":a===I.length-1?"right":"center"})})))):e.createElement(kl,{menuItems:I,activeItem:ie,onServiceClicked:ke})),e.createElement(er,{isDisplayed:"categories"===ie.id,locale:U,basePath:D,callApiHandler:V,onClosePopup:g,discoverApiDomain:k,DISCOVER_URL_FE:b,MARRY_BABY_FE:x,type:"main",onSelectCategory:he,categories:z,spotlightsList:u,isLoading:!1,isMobile:o,siteType:W,desktopPopupType:h}),e.createElement(sr,{isDisplayed:"healthTools"===ie.id,locale:U,basePath:D,discoverApiDomain:k,HEALTH_TOOL_URL_FE:F,onSelectHealthTool:ye,onClosePopup:g,desktopPopupType:h,healthTools:s,healthToolsByCategory:m,isLoading:!1,isMobile:o,siteType:W,STATIC_PAGES:B}),"care"===ie.id&&e.createElement(_i,{locale:U,basePath:D,onSelectCareSpecialty:fe,onClosePopup:g,careSpecialties:d,isLoading:!1,siteType:W,isMobile:o,desktopPopupType:h,CARE_URL_FE:f}),e.createElement(lr,{isDisplayed:"together"===ie.id,locale:U,TOGETHER_URL_FE:A,basePath:D,type:"main",onSelectCommunity:Ee,onClosePopup:g,communities:p,isLoading:!1,isMobile:o,siteType:W,togetherApiDomain:L,desktopPopupType:h})),y)))),G&&e.createElement(vl,{"data-sub-level-opened":G||(pe?G:"undefined")},e.createElement(hl,{"data-type":"sub-category","data-is-sub-category-opened":G},e.createElement(Er,{siteType:W,locale:U,isDisplayed:r&&G,searchPlaceholder:"",menuItems:void 0,statics:{DISCOVER_URL_FE:b,SSO_URL:S,HOME_PAGE_URL:T,MARRY_BABY_FE:x,CARE_URL_FE:f},isMobile:o,isLoginButtonDisplayed:!1,type:"popup-sub-level",title:"categories"===ie.id?null==Y?void 0:Y.categoryName:null==Y?void 0:Y.title,isSearchBarDisplay:!1,basePath:D,isAmp:!1,isInit:!1,isStatic:!1,routerAsPath:H,currentPopupType:"none",marryBaby:{tone:M},menu:void 0,openPopup:void 0,profileMenu:void 0,userInfo:void 0,onSearchKeyPress:void 0,onTopBarAppears:void 0,onMenuClick:Ce,onSearchChange:void 0}),J))):e.createElement(e.Fragment,null,e.createElement(er,{isDisplayed:"categories"===h,locale:U,basePath:D,callApiHandler:V,discoverApiDomain:k,DISCOVER_URL_FE:b,MARRY_BABY_FE:x,type:"main",desktopPopupType:h,onSelectCategory:he,onClosePopup:g,categories:z,spotlightsList:u,isLoading:!1,isMobile:o,siteType:W}),e.createElement(sr,{isDisplayed:"tools"===h,locale:U,basePath:D,discoverApiDomain:k,HEALTH_TOOL_URL_FE:F,desktopPopupType:h,onSelectHealthTool:ye,onClosePopup:g,healthToolsByCategory:m,healthTools:s,isLoading:!1,isMobile:o,siteType:W,STATIC_PAGES:B}),e.createElement(lr,{isDisplayed:"communities"===h,locale:U,TOGETHER_URL_FE:A,basePath:D,type:"main",onSelectCommunity:Ee,communities:p,isLoading:!1,isMobile:o,siteType:W,togetherApiDomain:L,desktopPopupType:h,onClosePopup:g}),"care"===h&&e.createElement(_i,{locale:U,basePath:D,onSelectCareSpecialty:fe,careSpecialties:d,isLoading:!1,desktopPopupType:h,siteType:W,isMobile:o,CARE_URL_FE:f,onClosePopup:g}))},kr=function(t){var a=t.callPostLogOutApi,n=t.openLogoutPopup,o=t.onCloseHandler,i=t.onLogoutHandler,r=t.basePath,c=t.siteType,s=void 0===c?"helloSites":c,m=xt();l((function(){document.body.classList.toggle("noscroll",n)}),[n]);return e.createElement(Dt,{type:"confirm",isOpen:n,closeIcon:e.createElement("img",{src:qi,style:{width:24,height:24},alt:"close-icon"}),onClose:o},e.createElement(bl,null,"helloSites"===s&&e.createElement("img",{className:"cancle-img",src:"".concat(r,"/images/arrowDoor.svg"),alt:"close-account"}),e.createElement("h2",null,m("helloSites"===s?"logout.popup.ask1":"logout.popup.ask.mb")),e.createElement("p",null,m("logout.popup.ask2")),e.createElement(wl,{siteType:s},e.createElement(ee,{className:"logout-button",color:"tertiary",size:"lg",onClick:function(){Q(void 0,void 0,void 0,(function(){return _(this,(function(e){switch(e.label){case 0:return[4,null==a?void 0:a()];case 1:return e.sent(),null==i||i(),window.location.reload(),[2]}}))}))}},m("logout.popup.button.logout")),e.createElement(ee,{className:"cancel-button",color:"primary",size:"lg",onClick:o},m("logout.popup.button.cancel")))))},br=function(t){var a=t.type,n=void 0===a?"lead":a,l=t.closeIcon,o=t.isOpen,i=void 0===o||o,r=t.onClose,c=t.children,s=t.enableAnimation,m=void 0===s||s,d=t.targetAvatar,p=t.id,u=t.className;return e.createElement(e.Fragment,null,e.createElement(Ll,{"data-open":i,"data-type":n,"data-animation":m,"data-target":d,id:p,className:u},e.createElement("div",{className:"popup-content"},!!l&&e.createElement("div",{className:"close-button",onClick:r},l),c)),e.createElement(Al,{"data-type":n,"data-open":i,onClick:r,id:p?"wrapper-".concat(p):void 0,className:"".concat(u||"","-wrapper")}))},wr=function(t){var a=t.SSO_URL,n=t.UP_BASEPATH,l=t.isOpen,o=t.locale,i=t.targetAvatar,r=t.userInfo,c=t.ENABLE_CARE_PROFILE_MENU_LOCALES,s=t.ENABLE_COMMUNITY_PROFILE_MENU_LOCALES,m=t.closePopup,d=t.siteType,p=void 0===d?"helloSites":d,u=t.dispatchLogout,g=t.userProfileRouterPush,v=t.isUserProfileNavigatorMenuHidden,h=t.isMyHealthEnabled,E=void 0!==h&&h,y=t.togetherApiDomain,f=function(e){g?g("/".concat(e)):a&&(window.location.href="".concat(a).concat(n,"/").concat(e))},C=function(e){f(e),m()};return e.createElement(br,{isOpen:l,type:"profile",enableAnimation:!1,targetAvatar:i,onClose:m},e.createElement(Vo,{locale:o},e.createElement(Wo,{SSO_URL:a,UP_BASEPATH:n,themeName:p,userInfo:r,ENABLE_COMMUNITY_PROFILE_MENU_LOCALES:s,ENABLE_CARE_PROFILE_MENU_LOCALES:c,onClickLogout:function(){u&&(u(),m())},onClickMenuItem:C,onClickNavigationCard:C,onClickMyProfileButton:function(){f("profile"),m()},userProfileRouterPush:g,isUserProfileNavigatorMenuHidden:v,isMyHealthEnabled:E,togetherApiDomain:y})))},Lr=function(a){var n=a.options,l=a.label,o=a.selected,i=a.onChange,r=a.showSelected,c=void 0===r||r,m=a.style,d=void 0===m?{}:m,p=a.showIndicator,u=void 0===p||p,g=t(!1),v=g[0],h=g[1];return e.createElement(e.Fragment,null,e.createElement(Sl,null,e.createElement(Nl,{onClick:function(){return h((function(e){return!e}))}},!!l&&l),e.createElement(xl,{"data-is-open":v,style:d,"data-show-indicator":u},n.map((function(t,a){return e.createElement(Tl,{key:a,"data-selected":c&&o===t.value,onClick:function(e){o!==t.value&&(i(t.value),h((function(e){return!e}))),e.stopPropagation()}},e.createElement(s,{size:"p3"},t.label),c&&o===t.value&&e.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"}))})))),v&&e.createElement(Bl,{onClick:function(){return h(!1)}}))},Ar=function(e){var t="undefined"!=typeof window&&document.querySelector(e),a=t&&window.getComputedStyle(t);return a&&a.getPropertyValue("display")},Sr=function(o){var i,r=o.siteType,c=o.MetaPageTitle,s=o.MetaPageDescription,m=o.MetaPageImage,d=o.footerInfo,p=o.children,u=o.ssrMenuContent,g=void 0===u?{}:u,v=g.categories,h=void 0===v?[]:v,E=g.healthTools,y=void 0===E?[]:E,f=g.healthToolsByCategory,C=void 0===f?[]:f,k=g.careSpecialties,b=void 0===k?[]:k,w=g.togetherCommunities,L=void 0===w?[]:w,A=g.spotlightsList,S=void 0===A?[]:A,N=o.SEOData,x=void 0===N?{}:N,T=o.UP_BASEPATH,B=void 0===T?fo.SSO_USER_PROFILE:T,F=o.isStatic,M=void 0!==F&&F,U=o.seoType,W=void 0===U?"website":U,D=o.isMobile,V=o.isMyHealthEnabled,R=void 0!==V&&V,I=o.logoutHandlers,H=I.isLogoutPopupOpened,q=I.callPostLogOutApi,P=I.onClosePopup,O=I.onLogout,G=o.marryBaby,Z=void 0===G?{tone:"white",marryBabyApiDomain:"",socialLinks:{facebookLink:"",instagramLink:"",linkedinLink:"",twitterLink:"",youtubeLink:"",zaloLink:""}}:G,z=Z.tone,Y=void 0===z?"white":z,K=Z.marryBabyApiDomain,X=Z.socialLinks,J=void 0===X?{}:X,$=J.facebookLink,ee=void 0===$?"":$,te=J.instagramLink,ae=void 0===te?"":te,ne=J.linkedinLink,le=void 0===ne?"":ne,oe=J.twitterLink,ie=void 0===oe?"":oe,re=J.youtubeLink,ce=void 0===re?"":re,se=J.zaloLink,me=void 0===se?"":se,de=o.statics,pe=void 0===de?{LOCALE_SPECS:uo,STATIC_PAGES:Co}:de,ue=pe.DISCOVER_URL_FE,ge=pe.TOGETHER_URL_FE,ve=pe.MARRY_BABY_FE,he=pe.HOME_PAGE_URL,Ee=pe.HEALTH_TOOL_URL_FE,ye=pe.CARE_URL_FE,fe=pe.LOCALE_SPECS,Ce=void 0===fe?uo:fe,ke=pe.STATIC_PAGES,be=void 0===ke?Co:ke,we=o.sso,Le=void 0===we?{}:we,Ae=Le.dispatchLogout,Se=Le.SSO_URL,Ne=o.together,xe=void 0===Ne?{TOGETHER_MENU_COUNTRIES_ENABLED:["id-ID","vi-VN"],ENABLE_COMMUNITY_PROFILE_MENU_LOCALES:["id-ID","vi-VN"],togetherApiDomain:""}:Ne,Te=xe.TOGETHER_MENU_COUNTRIES_ENABLED,Be=xe.ENABLE_COMMUNITY_PROFILE_MENU_LOCALES,Fe=xe.togetherApiDomain,Me=o.care,Ue=void 0===Me?{CARE_MENU_COUNTRIES_ENABLED:["vi-VN","id-ID","en-PH"],ENABLE_CARE_PROFILE_MENU_LOCALES:[],menuActionType:"redirectOnly",careApiDomain:""}:Me,We=Ue.CARE_MENU_COUNTRIES_ENABLED,De=Ue.ENABLE_CARE_PROFILE_MENU_LOCALES,Ve=Ue.careApiDomain,Re=o.discover,Ie=(void 0===Re?{discoverApiDomain:""}:Re).discoverApiDomain,He=o.activeMenuService,qe=void 0===He?"categories":He,Pe=o.basePath,Oe=o.isAmp,Ge=void 0!==Oe&&Oe,je=o.nextHead,Ze=o.routerPathname,ze=o.routerQuery,Qe=o.routerAsPath,_e=o.locale,Ye=o.userState,Ke=o.callApiHandler,Xe=o.userProfileRouterPush,Je=o.onTopBarAppears,$e=o.forcedCanonicalUrl,et=o.isUserProfileNavigatorMenuHidden,tt=o.sitewideBanner,at=o.sitewideBannerShown,nt=void 0===at||at,lt=o.sponsorComponent,ot=o.languageOptions,it=o.isSearchBarDisplay,rt=o.ampSubBar,ct=o.isSearchIconDisplayed,st=void 0===ct||ct,mt=o.enabledExperimentalCareHeader,dt=void 0!==mt&&mt,pt=o.onCareHeaderClick,ut=o.dueDatePopup,gt=o.welcomePopup,vt=o.ampNextArticle,ht=o.usingDefaultHead,Et=void 0===ht||ht,yt=o.acceptCookiePopup,ft=o.seoCustom,Ct=o.hasStickyBottomBar,kt=void 0===Ct||Ct,bt="boolean"==typeof it?it:!D,wt=xt(),Lt=Ce[_e||"en-PH"]||{},At=n((function(){var e;return(null===(e=Qe.split("?"))||void 0===e?void 0:e[0])||""}),[Qe]),St=n((function(){return"".concat(Pe).concat("/"===At.slice(-1)?At:"".concat(At,"/"))}),[At]),Nt=n((function(){return(null==ot?void 0:ot.find((function(e){return e.value!==St})))||null}),[ot,St]),Tt=t(d),Bt=Tt[0],Ft=Tt[1],Mt=t(h),Ut=Mt[0],Wt=Mt[1],Dt=t(y),Xt=Dt[0],Jt=Dt[1],$t=t(C),ea=$t[0],ta=$t[1],aa=t(b),na=aa[0],la=aa[1],oa=t(L),ia=oa[0],ra=oa[1],ca=t(S),sa=ca[0],ma=ca[1],da=ue||"https://".concat(vo[_e])||"",pa="undefined"!=typeof window,ua=pa&&document.querySelector("#categories-menu"),ga=ua&&pa&&window.getComputedStyle(ua),va=ga&&ga.getPropertyValue("left"),ha=a("0px"===va),Ea=t(ha.current),ya=Ea[0],fa=Ea[1],Ca=Ar(".top-menu-categories"),ka=Ar(".top-menu-health-tools"),ba=Ar(".top-menu-communities"),wa=Ar(".top-menu-care-specialties"),La=t(Ca&&"none"!==Ca?"categories":ka&&"none"!==ka?"tools":ba&&"none"!==ba?"communities":wa&&"none"!==wa?"care":"none"),Aa=La[0],Sa=La[1],Na=n((function(){var t,a;return e.createElement(Fl,null,null===(a=null===(t=_e.split("-"))||void 0===t?void 0:t[0])||void 0===a?void 0:a.toUpperCase(),e.createElement("img",{src:"language"===Aa?"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:wt("home.navigator.menuItem.language")}))}),[Aa,_e]),xa=Ye.userInfo,Ta=Ye.isLoggedIn,Ba=function(e){Aa!==e&&(Sa(e),fa(!0)),Aa===e&&(Sa("none"),fa(!1))},Fa=function(){fa(!1),Sa("none")},Ma=function(e,t){"Enter"===e.key&&(window.location.href="".concat(he,"/search/?s=").concat(t))},Ua=null===(i=null==Ce?void 0:Ce[_e])||void 0===i?void 0:i.SITE_NAME_FORMATTED,Wa=[{name:wt("home.navigator.menuItem.discover"),id:"categories",link:"./posts/abc",niceName:"",thumbnail:To,isDisplayed:!0},{name:wt("home.navigator.menuItem.healthTools"),id:"healthTools",link:"./en",thumbnail:Bo,isDisplayed:!0}];(null==Te?void 0:Te.includes(_e))&&Wa.push({name:wt("home.navigator.menuItem.helloTogether"),id:"together",link:ge+"/",thumbnail:Fo,isDisplayed:!0}),(null==We?void 0:We.includes(_e))&&Wa.push({name:wt("home.navigator.menuItem.helloCare"),id:"care",link:"/care",thumbnail:Mo,isDisplayed:!0}),l((function(){document.documentElement.style.overflow=ya?"hidden":""}),[ya]);var Da=!!lt;l((function(){Ta&&("first_login"===(null==ze?void 0:ze.source)?(null==xa?void 0:xa.email)&&""!==(null==xa?void 0:xa.email)?window.insider_object={user:j({uuid:null==xa?void 0:xa.id,email:null==xa?void 0:xa.email,gdpr_optin:!0,email_optin:!0,sign_up:!0},(null==xa?void 0:xa.name)?{name:null==xa?void 0:xa.name}:{})}:window.insider_object={user:j({uuid:null==xa?void 0:xa.id,sign_up:!0},(null==xa?void 0:xa.name)?{name:null==xa?void 0:xa.name}:{})}:(null==xa?void 0:xa.email)&&""!==(null==xa?void 0:xa.email)?window.insider_object={user:j({uuid:null==xa?void 0:xa.id,email:null==xa?void 0:xa.email,gdpr_optin:!0,email_optin:!0,log_in:!0},(null==xa?void 0:xa.name)?{name:null==xa?void 0:xa.name}:{})}:window.insider_object={user:j({uuid:null==xa?void 0:xa.id,log_in:!0},(null==xa?void 0:xa.name)?{name:null==xa?void 0:xa.name}:{})}),Q(void 0,void 0,void 0,(function(){var e,t;return _(this,(function(a){switch(a.label){case 0:return Bt?[3,3]:[4,fetch("helloSites"===r?Vt(_e,Ie):Rt(_e,K))];case 1:return[4,a.sent().json()];case 2:return t=a.sent(),[3,4];case 3:t=null,a.label=4;case 4:return(e=t)&&1===e.status&&e.data&&!Bt&&Ft("helloSites"===r?e.data||{}:e.data.footers||[]),[2]}}))})),Q(void 0,void 0,void 0,(function(){var e,t,a,n,l,o;return _(this,(function(i){switch(i.label){case 0:return h&&0!==(null==h?void 0:h.length)||0!==(null==Ut?void 0:Ut.length)?[3,3]:(l={},[4,fetch(Ht(_e,Ie))]);case 1:return[4,i.sent().json()];case 2:return l.response=i.sent(),a=l,[3,4];case 3:a={},i.label=4;case 4:return e=a.response,null!==(t=void 0===e?{}:e)&&1===t.status&&(null===(o=t.data)||void 0===o?void 0:o.length)>0&&(n=t.data.map(It),0===Ut.length&&Wt(n)),[2]}}))})),Q(void 0,void 0,void 0,(function(){var e,t,a,n,l,o,i,c,s;return _(this,(function(m){switch(m.label){case 0:return S&&0!==(null==S?void 0:S.length)||"helloSites"!==r||0!==(null==sa?void 0:sa.length)?[3,3]:(l={},[4,fetch(Ot(_e,Ie,{perPage:100,orderBy:"start_date"}))]);case 1:return[4,m.sent().json()];case 2:return l.response=m.sent(),a=l,[3,4];case 3:a={},m.label=4;case 4:return e=a.response,1===(null==(t=void 0===e?{}:e)?void 0:t.status)&&(null===(i=null===(o=null==t?void 0:t.data)||void 0===o?void 0:o.articles)||void 0===i?void 0:i.length)>0&&(n=null===(s=null===(c=t.data)||void 0===c?void 0:c.articles)||void 0===s?void 0:s.map(qt).filter(Pt).slice(0,4),0===sa.length&&ma(n)),[2]}}))})),Q(void 0,void 0,void 0,(function(){var e,t,a,n,l,o,i;return _(this,(function(c){switch(c.label){case 0:return(null==y?void 0:y.length)||(null==Xt?void 0:Xt.length)||(null==C?void 0:C.length)||(null==C?void 0:C.length)?[3,6]:(o={},"helloSites"!==r?[3,2]:[4,fetch(zt(_e,Ie))]);case 1:return n=c.sent(),[3,4];case 2:return[4,fetch(Zt(_e,K))];case 3:n=c.sent(),c.label=4;case 4:return[4,n.json()];case 5:return o.response=c.sent(),a=o,[3,7];case 6:a={},c.label=7;case 7:return e=a.response,null!==(t=void 0===e?{}:e)&&1===t.status&&(null===(i=t.data)||void 0===i?void 0:i.length)>0&&("helloSites"===r?(l=t.data.map(Gt),0===Xt.length&&ta(l)):(l=t.data.map(jt),0===Xt.length&&Jt(l))),[2]}}))})),Q(void 0,void 0,void 0,(function(){var e,t,a,n,l,o,i;return _(this,(function(r){switch(r.label){case 0:return b&&0!==(null==b?void 0:b.length)||!We.includes(_e)||0!==(null==na?void 0:na.length)?[3,3]:(l={},[4,fetch(Qt(_e,Ve))]);case 1:return[4,r.sent().json()];case 2:return l.response=r.sent(),a=l,[3,4];case 3:a={},r.label=4;case 4:return e=a.response,null!==(t=void 0===e?{}:e)&&1===t._status&&(null===(i=null===(o=t._data)||void 0===o?void 0:o.specialties)||void 0===i?void 0:i.length)>0&&(n=t._data.specialties,0===na.length&&la(n)),[2]}}))})),Q(void 0,void 0,void 0,(function(){var e,t,a,n,l,o,i,c,s;return _(this,(function(m){switch(m.label){case 0:return L&&0!==(null==L?void 0:L.length)||!Te.includes(_e)||0!==(null==ia?void 0:ia.length)?[3,3]:(l={},[4,fetch("helloSites"===r?Yt(_e,Fe):Kt(_e,Fe))]);case 1:return[4,m.sent().json()];case 2:return l.response=m.sent(),a=l,[3,4];case 3:a={},m.label=4;case 4:return e=a.response,(null===(i=null===(o=null==(t=void 0===e?{}:e)?void 0:t.data)||void 0===o?void 0:o.communities)||void 0===i?void 0:i.length)>0&&(n=(null===(s=null===(c=null==t?void 0:t.data)||void 0===c?void 0:c.communities)||void 0===s?void 0:s.map(_t))||[],0===ia.length&&ra(n)),[2]}}))}))}),[]);var Va=e.createElement(wr,{locale:_e,UP_BASEPATH:B,SSO_URL:Se,userProfileRouterPush:Xe,dispatchLogout:Ae,isOpen:"profile"===Aa,isMyHealthEnabled:R,ENABLE_CARE_PROFILE_MENU_LOCALES:De,ENABLE_COMMUNITY_PROFILE_MENU_LOCALES:Be,closePopup:Fa,userInfo:xa,siteType:r,isUserProfileNavigatorMenuHidden:et,togetherApiDomain:Fe}),Ra=Ge&&{"next-page-hide":""};return e.createElement(zi,{SEOData:j({SEOTitle:c,SEOImage:m,SEODescription:s,siteName:Ua,seoType:W},x),isAmp:Ge,locale:_e,routerPathname:Ze,routerQuery:ze,nextHead:je,siteType:r,forcedCanonicalUrl:$e,userId:null==xa?void 0:xa.id,usingDefaultHead:Et,seoCustom:ft},e.createElement(kr,{basePath:Pe,callPostLogOutApi:q,openLogoutPopup:H,onCloseHandler:P,onLogoutHandler:O,siteType:r}),ut,gt,yt,D?e.createElement(e.Fragment,null,e.createElement(Ml,null,e.createElement("section",j({className:Ge?"amp-header":void 0,"next-page-replace":"hhg-navigator","amp-fx":"float-in-top"},Ra),e.createElement(Er,{siteType:r,statics:{DISCOVER_URL_FE:da,SSO_URL:Se,HOME_PAGE_URL:he,MARRY_BABY_FE:ve,CARE_URL_FE:ye},marryBaby:{tone:Y},menuItems:Wa,menu:Ge?void 0:e.createElement(Cr,{key:"mobile-menu-popup",menuItems:Wa,siteType:r,isMobileMenuOpened:"categories"===Aa,categories:Ut,healthTools:Xt,healthToolsByCategory:ea,careSpecialties:na,togetherCommunities:ia,spotlightsList:sa,onMobileMenuClick:Ba,isMobile:D,closePopup:Fa,footer:e.createElement(Zi,{locale:_e,isMobile:D,basePath:Pe,isAmp:Ge,footerInfo:Bt,type:"mini",siteType:r,marryBabySocialLinks:{facebookLink:ee,instagramLink:ae,linkedinLink:le,twitterLink:ie,youtubeLink:ce,zaloLink:me}}),locale:_e,callApiHandler:Ke,basePath:Pe,together:{TOGETHER_MENU_COUNTRIES_ENABLED:Te,togetherApiDomain:Fe||K,TOGETHER_URL_FE:ge},care:{CARE_MENU_COUNTRIES_ENABLED:We,careApiDomain:Ve,CARE_URL_FE:ye},discover:{discoverApiDomain:Ie,DISCOVER_URL_FE:da},activeMenuService:qe,statics:{DISCOVER_URL_FE:da,HOME_PAGE_URL:he,HEALTH_TOOL_URL_FE:Ee,MARRY_BABY_FE:ve,TOGETHER_URL_FE:ge,STATIC_PAGES:be},marryBaby:{tone:Y},routerAsPath:Qe,popupType:"none",sso:{SSO_URL:Se}}),profileMenu:Va,type:"home",currentPopupType:Aa,isMobile:D,isLoginButtonDisplayed:!0,onMenuClick:Ba,searchPlaceholder:wt("home.search",{site:"helloSites"===r?null==Lt?void 0:Lt.SITE_NAME:"Marry Baby"}),onTopBarAppears:function(e){Je&&Je(e)},isSearchBarDisplay:bt,onSearchKeyPress:Ma,isStatic:Ge||M,sponsorComponent:lt,locale:_e,userInfo:Ye.userInfo,basePath:Pe,isAmp:Ge,isDisplayed:!0,isInit:!1,onSearchChange:void 0,openPopup:void 0,routerAsPath:Qe,title:"",sitewideBanner:tt,sitewideBannerShown:nt,isSearchIconDisplayed:st,enabledExperimentalCareHeader:dt,languageMenu:void 0!==ot&&ot.length>1?e.createElement(e.Fragment,null,2===ot.length&&Nt?e.createElement(Ul,{"data-is-active":!0,href:(null==Nt?void 0:Nt.value)||"#"},null==Nt?void 0:Nt.label):e.createElement(Lr,{options:ot,selected:St,label:Na,onChange:function(e){"undefined"!=typeof window&&(window.location.href=e)},style:{width:100},showSelected:!0,showIndicator:!1})):void 0}),void 0!==rt&&e.createElement(e.Fragment,null,rt)),Ge?e.createElement(Dl,{className:"root-container","data-menu-opened":ha.current,"data-sponsored":Da,"data-is-mobile":D,"data-sitewide":!!tt},p,e.createElement(Zi,{isAmp:Ge,isMobile:D,locale:_e,basePath:Pe,footerInfo:Bt,type:"main",siteType:r,marryBabySocialLinks:{facebookLink:ee,instagramLink:ae,linkedinLink:le,twitterLink:ie,youtubeLink:ce,zaloLink:me},ampNextArticle:vt,routerQuery:ze})):e.createElement(Wl,{className:"root-container","data-menu-opened":ha.current,"data-sponsored":Da,"data-is-mobile":D,"data-sitewide":!!tt,hasStickyBottomBar:kt},e.createElement(e.Fragment,null,p,e.createElement(Zi,{isAmp:Ge,isMobile:D,locale:_e,basePath:Pe,footerInfo:Bt,type:"main",siteType:r,marryBabySocialLinks:{facebookLink:ee,instagramLink:ae,linkedinLink:le,twitterLink:ie,youtubeLink:ce,zaloLink:me},ampNextArticle:vt,routerQuery:ze})))),Ge&&e.createElement(Ii,{locale:_e,categoriesSSR:h,healthToolsSSR:C,spotlightsSSR:S,serviceUrls:{TOGETHER_URL_FE:ge,CARE_URL_FE:ye,DISCOVER_URL_FE:da},together:{TOGETHER_MENU_COUNTRIES_ENABLED:Te,ENABLE_COMMUNITY_PROFILE_MENU_LOCALES:Be,togetherApiDomain:Fe},care:{CARE_MENU_COUNTRIES_ENABLED:We,ENABLE_CARE_PROFILE_MENU_LOCALES:De,careApiDomain:Ve},basePath:Pe,searchPlaceholder:wt("home.search",{site:"helloSites"===r?null==Lt?void 0:Lt.SITE_NAME:"Marry Baby"})})):e.createElement(e.Fragment,null,e.createElement(Er,{siteType:r,menuItems:Wa,marryBaby:{tone:Y},locale:_e,currentPopupType:Aa,onSearchKeyPress:Ma,openPopup:function(e){Aa!==e&&Sa(e),Aa===e&&Sa("none")},isMobile:D,isLoginButtonDisplayed:!0,isSearchBarDisplay:!Ge&&bt,searchPlaceholder:wt("home.search",{site:"helloSites"===r?null==Lt?void 0:Lt.SITE_NAME:"Marry Baby"}),sitewideBannerShown:nt,statics:{DISCOVER_URL_FE:da,SSO_URL:Se,HOME_PAGE_URL:he,MARRY_BABY_FE:ve,CARE_URL_FE:ye},menu:e.createElement(Cr,{menuItems:Wa,siteType:r,isMobile:D,popupType:Aa,closePopup:function(){Sa("none")},categories:Ut,healthTools:Xt,healthToolsByCategory:ea,careSpecialties:na,togetherCommunities:ia,spotlightsList:sa,locale:_e,callApiHandler:Ke,basePath:Pe,together:{TOGETHER_MENU_COUNTRIES_ENABLED:Te,togetherApiDomain:Fe,TOGETHER_URL_FE:ge},care:{careApiDomain:Ve,CARE_MENU_COUNTRIES_ENABLED:We,CARE_URL_FE:ye},discover:{discoverApiDomain:Ie,DISCOVER_URL_FE:da},statics:{DISCOVER_URL_FE:da,HOME_PAGE_URL:he,HEALTH_TOOL_URL_FE:Ee,MARRY_BABY_FE:ve,TOGETHER_URL_FE:ge,STATIC_PAGES:be},activeMenuService:qe,marryBaby:{tone:Y},routerAsPath:Qe,footer:void 0,isMobileMenuOpened:void 0,sso:{SSO_URL:Se},onMobileMenuClick:void 0}),profileMenu:Va,userInfo:Ye.userInfo,sponsorComponent:lt,type:"home",basePath:Pe,isAmp:Ge,isDisplayed:!0,isInit:!1,onSearchChange:void 0,isStatic:!1,routerAsPath:Qe,title:"",onMenuClick:void 0,onTopBarAppears:void 0,sitewideBanner:tt,languageMenu:void 0!==ot&&ot.length>1?e.createElement(e.Fragment,null,2===ot.length&&Nt?e.createElement(Ul,{"data-is-active":!0,href:(null==Nt?void 0:Nt.value)||"#"},null==Nt?void 0:Nt.label):e.createElement(Lr,{options:ot,selected:St,label:Na,onChange:function(e){"undefined"!=typeof window&&(window.location.href=e)},style:{width:100},showSelected:!0,showIndicator:!1})):void 0,enabledExperimentalCareHeader:dt,onCareHeaderClick:pt}),Ge?e.createElement(Dl,{className:"root-container","data-menu-opened":ya,"data-is-mobile":D,"data-sponsored":Da,"data-sitewide":!!tt},p):e.createElement(Wl,{className:"root-container","data-menu-opened":ya,"data-is-mobile":D,"data-sponsored":Da,"data-sitewide":!!tt,hasStickyBottomBar:kt},p),e.createElement(Zi,{type:"main",locale:_e,basePath:Pe,isMobile:D,isAmp:Ge,footerInfo:Bt,siteType:r,marryBabySocialLinks:{facebookLink:ee,instagramLink:ae,linkedinLink:le,twitterLink:ie,youtubeLink:ce,zaloLink:me}})))},Nr=function(t){return e.createElement(Xt.Provider,{value:{translation:t.translation||Jt}},e.createElement(Sr,j({},t)))},xr=function(n){var o=n.icon,i=n.content,r=n.isCollapsed,c=n.isMobile,s=n.type,m=n.onClose,d=n.setBannerClosed,p=n.dispatch,u=n.dispatchActionType,g=n.cookieName,v=n._overrideCloseHandler,h=n.isAmp,E=n.siteType,y=n.dataEventCategory,f=void 0===y?"Header Banner":y,C=n.dataEventAction,k=void 0===C?"Close Click":C,b=n.dataEventLabel,w=void 0===b?"":b,L=n.dataTracking,A=void 0===L?"true":L,S=t(!1),N=S[0],x=S[1],T=t(!1),B=T[0],F=T[1],M=i;h&&(M=M.replace("data-event","data-vars-event").replace('data-vars-event-category="'.concat(f,'"'),'data-vars-event-category="'.concat(f,'" data-vars-tracking="').concat(A,'"')));var U=a(64);l((function(){var e=so((function(){window.scrollY<U.current?F(!1):window.scrollY>64&&F(!0),U.current=window.scrollY}),300);return window.addEventListener("scroll",e),function(){window.removeEventListener("scroll",e)}}),[]);var W="marryBaby"===E,D=W?qi:"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 l((function(){d&&d(N||r||B)}),[d,N,r,B]),e.createElement(Vl,{"data-is-mobile":c,"data-is-collapse":N||r||B,"data-is-marrybaby":W},o?e.createElement(Rl,{"data-is-marrybaby":W},h?e.createElement("amp-img",{src:o,width:"76",height:"52"}):e.createElement("img",{src:o,className:"icon","data-is-mobile":c})):null,i?e.createElement("span",{className:"content","data-is-marrybaby":W,"data-is-mobile":c,dangerouslySetInnerHTML:{__html:M}}):null,e.createElement(Il,j({role:"button",tabIndex:0},{on:'tap:sitewide-container.hide(),site-header.toggleClass(class="amp-closed")'},{"data-is-marrybaby":W,"data-vars-event-category":f,"data-vars-event-action":k,"data-vars-event-label":w||"","data-vars-tracking":A||"",className:"amp-close-banner",onClick:function(){x(!0),v?v():(m&&m(),g&&Ro(g,"true"),s&&p&&p({type:u,payload:{type:s}}))},"data-is-mobile":c}),h?e.createElement("amp-img",{src:D,width:"24",height:"24"}):e.createElement("img",{src:D,className:"close-icon"})))},Tr=function(a){var n=a.className,l=a.isMobile,o=a.isCollapsed,i=a.sponsoredType,r=a.sponsoredBy,c=a.isAmp,m=a.locale,d=xt(),p=t(!1),u=p[0],g=p[1];return e.createElement(Hl,{className:n,onClick:function(){return g(!0)},"data-show-popup":u&&(!l||!o)&&!c,"data-align-left":r&&!!(null==r?void 0:r.logo),"data-is-amp":c||void 0},e.createElement(G,{style:{position:"relative",padding:"0 16px"}},"content"===i?e.createElement(s,{size:l?"p4":"p3",color:"#737373"},e.createElement("div",{className:"sticky-sponsored-info-icon"},c?e.createElement("amp-img",{height:"20",width:"20",style:{verticalAlign:"middle",marginLeft:"0.3rem",marginBottom:"0.1rem"},src:Pi}):e.createElement("img",{src:Pi,style:{width:20,height:20,verticalAlign:"middle",marginRight:"0.3rem",marginBottom:"0.1rem"}})),r&&(null==r?void 0:r.logo)?e.createElement(e.Fragment,null," ",d("articlePage.sponsoredContentBy")," ",e.createElement("img",{className:"sponsored-logo",src:(null==r?void 0:r.logo)||"",alt:"sponsored-logo"})):d("articlePage.sponsoredContent")):e.createElement(s,{size:"p2",color:"#737373"},d("articlePage.sponsoredArticle"),e.createElement("div",{className:"sticky-sponsored-info-icon"},c?e.createElement("amp-img",{height:"20",width:"20",style:{verticalAlign:"middle",marginLeft:"0.3rem",marginBottom:"0.1rem"},src:Pi,on:"tap:sponsored-by.toggleClass(class='open')",tabIndex:0,role:"button"}):e.createElement("img",{src:Pi,style:{width:20,height:20,verticalAlign:"middle",marginLeft:"0.3rem",marginBottom:"0.1rem"}}))),!u||l&&o||c?null:e.createElement(Br,{sponsoredBy:r,isAmp:c,onClose:function(){return g(!1)},locale:m})))},Br=function(t){var a=t.sponsoredBy,n=t.isAmp,l=t.onClose,o=t.locale||"en-PH",i=xt();return e.createElement(ql,{"data-align-left":a&&!!(null==a?void 0:a.logo),"data-is-amp":n||void 0,id:"sponsored-by",className:n?"amp-sponsored-popup":void 0},e.createElement(s,{size:"p3",style:{marginBottom:"1rem"}},i("articlePage.sponsoredByStickyPopup.content")),e.createElement("div",{className:"button-container",onClick:function(e){e.stopPropagation()}},e.createElement(ee,{size:"md",color:"secondary",onClick:l,isAmp:n,on:"tap:sponsored-by.toggleClass(class='open')"},i("articlePage.sponsoredByStickyPopup.close")),e.createElement(ee,{size:"md",onClick:function(){window.location.href="/static".concat(Co[o].ADVERTISING_SPONSOR_POLICY)},isAmp:n,on:"tap:AMP.navigateTo(url='/static".concat(Co[o].ADVERTISING_SPONSOR_POLICY,"')")},i("articlePage.sponsoredByStickyPopup.policies"))))},Fr=function(t){var a=t.url,n=t.isMobile,l=t.dataEventCategory,o=t.dataEventAction,i=t.dataEventLabel,r=t.isAmp;return e.createElement(Ol,{"data-is-mobile":n},r?e.createElement("amp-img",{className:"country-flag",src:a,alt:"Country Flag","data-event-category":l,"data-event-action":o,"data-content-label":i}):e.createElement("img",{loading:"lazy",className:"country-flag lazy","data-src":a,alt:"Country Flag","data-event-category":l,"data-event-action":o,"data-content-label":i}))},Mr=function(t){var a,n,o,i,r,c,m,d,p,u,g,v,h,E,y,f,C,k,b,w,L,A,S,N,x,T,B,F,M,U,W,D,V,R,I,H=t.className,q=t.type,P=void 0===q?"main":q,O=t.footerInfo,j=t.isMobile,Z=t.locale,z=t.isAmp,Q=K().t,_=null==O?void 0:O.menu;return l((function(){setTimeout((function(){return null==So?void 0:So.update()}),100)}),[]),e.createElement(Pl,{as:z&&"mini"===P?"div":"footer",className:H,style:"mini"===P?{backgroundColor:ae.colors.neutral50}:{},"next-page-hide":!0},e.createElement(G,null,e.createElement("div",{className:"inner","data-type":P,"next-page-hide":""},"main"===P?e.createElement(e.Fragment,null,e.createElement("a",{href:"/"},z?(null===(n=null==O?void 0:O.general)||void 0===n?void 0:n.logo)?e.createElement("amp-img",{src:null===(o=null==O?void 0:O.general)||void 0===o?void 0:o.logo,alt:"Site logo",width:"132",height:"32",style:{marginBottom:24}}):null:e.createElement("img",{loading:"lazy",className:"footer-logo lazy","data-src":null===(a=null==O?void 0:O.general)||void 0===a?void 0:a.logo,alt:"Logo","data-is-sehat":"id-ID"===Z})),e.createElement("div",{className:"columns"},e.createElement("div",{className:"newsletter"},e.createElement(s,{size:"p1",type:"bold"},null===(i=null==O?void 0:O.general)||void 0===i?void 0:i.content),e.createElement(ee,{className:"signupButton",color:"primary",size:"lg"},Q("footer.signUp")),e.createElement("div",{className:"social"},e.createElement(s,{size:"sm",type:"regular"},null===(r=null==O?void 0:O.social)||void 0===r?void 0:r.title),e.createElement("div",{className:"icons"},null===(m=null===(c=null==O?void 0:O.social)||void 0===c?void 0:c.socials)||void 0===m?void 0:m.map((function(t,a){return e.createElement("a",{key:a,"data-event-category":"Footer","data-event-action":"Follow us - ".concat(t.name),"data-content-label":t.url,href:t.url},z?e.createElement("amp-img",{"data-event-category":"Footer","data-event-action":"Follow us - ".concat(t.name),"data-content-label":t.url,src:t.icon,alt:"Logo Social",width:"32",height:"32"}):e.createElement("img",{loading:"lazy","data-event-category":"Footer","data-event-action":"Follow us - ".concat(t.name),"data-content-label":t.url,"data-src":t.icon,alt:"Logo Social",className:"social-icon lazy"}))}))),e.createElement("hr",{className:"hrMobile"}))),e.createElement("div",null,_&&e.createElement(e.Fragment,null,e.createElement("div",{className:"biglinks"},null===(p=null===(d=_[0])||void 0===d?void 0:d.items)||void 0===p?void 0:p.map((function(t,a){return e.createElement("a",{"data-event-category":"Footer","data-event-action":t.title,"data-event-label":"https://".concat(le[Z]).concat(t.url),className:"bigLink",key:a,href:t.url},t.title)}))),e.createElement("hr",{className:"hrMobile"}),e.createElement("div",{className:"mHalf"},e.createElement(s,{type:"regular",size:"sm",className:"linkTitle"},null===(u=_[1])||void 0===u?void 0:u.menu_title),null===(v=null===(g=_[1])||void 0===g?void 0:g.items)||void 0===v?void 0:v.map((function(t,a){return e.createElement("a",{"data-event-category":"Footer","data-event-action":t.title,"data-event-label":"https://".concat(le[Z]).concat(t.url),className:"link",href:t.url,key:a},e.createElement(s,{size:"sm",type:"regular",dataEventCategory:"Footer",dataEventAction:t.title,dataEventLabel:"https://".concat(le[Z]).concat(t.url)},t.title))}))),e.createElement("div",{className:"mHalf"},e.createElement(s,{type:"regular",size:"sm",className:"linkTitle"},null===(h=_[2])||void 0===h?void 0:h.menu_title),null===(y=null===(E=_[2])||void 0===E?void 0:E.items)||void 0===y?void 0:y.map((function(t,a){return t.url&&e.createElement("a",{"data-event-category":"Footer","data-event-action":t.title,"data-event-label":t.url,className:"link",href:t.url,key:a},e.createElement(s,{size:"sm",type:"regular",dataEventCategory:"Footer",dataEventAction:t.title,dataEventLabel:t.url},t.title))})))),!z&&e.createElement(e.Fragment,null,e.createElement("hr",{className:"hrMobile"}),e.createElement("div",{className:"otherSites"},e.createElement(s,{type:"regular",size:"sm",className:"linkTitle"},null===(f=null==O?void 0:O.branch)||void 0===f?void 0:f.title),e.createElement("div",{className:"flags"},null===(k=null===(C=null==O?void 0:O.branch)||void 0===C?void 0:C.branch)||void 0===k?void 0:k.map((function(t,a){return e.createElement("a",{className:"link",href:t.url,key:a,"data-event-category":"Footer","data-event-action":t.name,"data-event-label":t.url},e.createElement(Fr,{url:t.flag,isMobile:j,dataEventCategory:"Footer",dataEventAction:t.name,dataEventLabel:t.url,isAmp:z}))}))))))),e.createElement("hr",null),e.createElement("div",{className:"copyright","data-is-amp":z||void 0},(null===(b=null==O?void 0:O.general)||void 0===b?void 0:b.verified)&&e.createElement("a",{href:null===(L=null===(w=null==O?void 0:O.general)||void 0===w?void 0:w.verified[0])||void 0===L?void 0:L.url,className:"copyright-image"},z?e.createElement("amp-img",{src:null===(S=null===(A=null==O?void 0:O.general)||void 0===A?void 0:A.verified[0])||void 0===S?void 0:S.image,alt:"DMCA Icon",width:"100",height:"36"}):e.createElement("img",{loading:"lazy",className:"lazy","data-src":null===(x=null===(N=null==O?void 0:O.general)||void 0===N?void 0:N.verified[0])||void 0===x?void 0:x.image,alt:"DMCA Icon"})),e.createElement(s,{size:"xs",type:"regular",className:"copyright-content"},null===(T=null==O?void 0:O.general)||void 0===T?void 0:T.copyright)),"vi-VN"===Z&&e.createElement(s,{className:"copyright-certificate",size:"xs",type:"regular",color:"white"},"Giấy xác nhận cung cấp dịch vụ mạng xã hội trực tuyến số 529/GP-BTTTT, HN ngày 03/12/2019")):e.createElement(e.Fragment,null,(null==O?void 0:O.menu)&&e.createElement("div",{className:"columns"},e.createElement("div",{className:"mHalf"},e.createElement(s,{type:"regular",size:"sm",className:"linkTitle"},null===(B=null==O?void 0:O.menu[1])||void 0===B?void 0:B.menu_title),null===(M=null===(F=null==O?void 0:O.menu[1])||void 0===F?void 0:F.items)||void 0===M?void 0:M.map((function(t){return e.createElement("a",{className:"link",href:t.url,key:t.title,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Information","data-content-title":t.title,"data-content-id":"https://".concat(le[Z]).concat(t.url),"data-event-category":"Footer","data-event-action":t.title,"data-event-label":"https://".concat(le[Z]).concat(t.url)},e.createElement(s,{dataEventCategory:"Footer",dataEventAction:t.title,dataEventLabel:"https://".concat(le[Z]).concat(t.url),size:"sm",type:"regular",style:{color:ae.colors.gray800}},t.title))}))),e.createElement("div",{className:"mHalf"},e.createElement(s,{type:"regular",size:"sm",className:"linkTitle"},null===(U=null==O?void 0:O.menu[2])||void 0===U?void 0:U.menu_title),null===(D=null===(W=null==O?void 0:O.menu[2])||void 0===W?void 0:W.items)||void 0===D?void 0:D.map((function(t,a){return e.createElement("a",{className:"link",href:t.url,key:a,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Hello Health","data-content-title":t.title,"data-content-id":t.url,"data-event-category":"Footer","data-event-action":t.title,"data-event-label":t.url},e.createElement(s,{size:"sm",type:"regular",style:{color:ae.colors.gray800},dataEventCategory:"Footer",dataEventAction:t.title,dataEventLabel:t.url},t.title))}))),!z&&"mini"!==P&&e.createElement("hr",{className:"hrMobile"}),e.createElement("div",{className:"newsletter"},e.createElement("div",{className:"social"},e.createElement(s,{size:"sm",type:"regular"},null===(V=null==O?void 0:O.social)||void 0===V?void 0:V.title),e.createElement("div",{className:"icons"},null===(I=null===(R=null==O?void 0:O.social)||void 0===R?void 0:R.socials)||void 0===I?void 0:I.map((function(t,a){return e.createElement("a",{key:a,"data-event-category":"Footer","data-event-action":"Follow us - ".concat(t.name),"data-content-label":t.url,href:t.url},z?e.createElement("amp-img",{"data-event-category":"Footer","data-event-action":"Follow us - ".concat(t.name),"data-content-label":t.url,src:t.icon,alt:"Logo Social",width:"32",height:"32"}):e.createElement("img",{loading:"lazy","data-event-category":"Footer","data-event-action":"Follow us - ".concat(t.name),"data-content-label":t.url,"data-src":t.icon,alt:"Logo Social",className:"social-icon lazy"}))}))))))))))},Ur=function(t){var a=t.type,n=t.color,l=t.style,o=z(t,["type","color","style"]);return e.createElement(Gl,j({"data-type":a,style:j(j({},l),n&&{"--text-color":n})},o))},Wr={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"}},Dr=function(t){var a,n=t.socialLinks,l=void 0===n?Wr.SOCIAL_LINKS:n,o=l.facebookLink,i=l.instagramLink,r=l.zaloLink,c=l.youtubeLink,s=t.copyrightText,m=t.logoType,d=void 0===m?"marryBaby":m,p=t.isMobile,u=t.footerMenu,g=void 0===u?[]:u,v=t.type,h=void 0===v?"main":v,E=K().t;return"main"===h?e.createElement(jl,{className:"footer-container"},!p&&e.createElement("div",{className:"footer-divider"},e.createElement(G,{type:"marryBaby"},e.createElement(ma,{style:{padding:"0 16px"},type:"solid"}))),e.createElement(Zl,null,e.createElement(G,{type:"marryBaby"},e.createElement(zl,null,e.createElement("div",{className:"grid"},null===(a=p?null==g?void 0:g.slice(0,6):g)||void 0===a?void 0:a.map((function(t,a){var n=t.title,l=t.link;return e.createElement("a",{"data-event-category":"Footer","data-event-action":n,"data-event-label":"".concat(l),className:"link",href:l,key:"footer-links-".concat(a)},e.createElement(Ur,{color:ae.colors.gray800,type:"subtitle-2"},n))})),e.createElement("div",{className:"social-wrapper"},e.createElement("div",{className:"social"},e.createElement(Ur,{type:"subtitle-2"},E("footer.followUsText")),e.createElement("div",{className:"icons-links"},o&&e.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Facebook","data-content-label":o,href:o},e.createElement("img",{src:$o,alt:"Facebook"})),c&&e.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Youtube","data-event-label":c,href:c},e.createElement("img",{src:li,alt:"Youtube"})),i&&e.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Instagram","data-content-label":i,href:i},e.createElement("img",{src:ei,alt:"Instagram"})),r&&e.createElement("a",{target:"_blank",rel:"noreferrer",href:r,"data-event-category":"Footer","data-event-action":"Follow us - Zalo","data-event-label":r},e.createElement("img",{src:oi,alt:"Zalo"}))))))))),e.createElement(Ql,null,e.createElement(G,{type:"marryBaby"},e.createElement(_l,null,e.createElement(O,{className:"logo",type:d,width:"121px"}),e.createElement(Ur,{className:"company-name",type:"subtitle-2"},E("footer.info.companyName")),e.createElement("div",{className:"text-info"},e.createElement(Ur,{type:"bodytext-3"},E("footer.info.address")),e.createElement(Ur,{type:"bodytext-3"},E("footer.info.license")),e.createElement(Ur,{type:"bodytext-3"},E("footer.info.email"))),e.createElement("div",{className:"img-container"},e.createElement("img",{src:"/images/dmca_protected.png",alt:"DMCA protected"}),e.createElement("a",{href:"http://online.gov.vn/Home/WebDetails/25055?AspxAutoDetectCookieSupport=1",target:"_blank",rel:"noreferrer"},e.createElement("img",{src:"/images/mit_registered.png",alt:"MIT registered"}))),!p&&e.createElement(ma,{type:"solid"}),e.createElement("div",{className:"language-and-copyright"},e.createElement(Ur,{type:"bodytext-3"},s)))))):e.createElement(Yl,null,e.createElement(Kl,null),e.createElement(Ur,{type:"subtitle-3",style:{marginBottom:24,textTransform:"uppercase",fontWeight:ae.sizes.fwSemiBold},color:ae.mbColors.midGray},E("footer.followUsText")),e.createElement("div",{className:"icons-links"},o&&e.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Facebook","data-content-label":o,href:o},e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.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)"}),e.createElement("defs",null,e.createElement("linearGradient",{id:"paint0_linear",x1:"12",y1:"3",x2:"12",y2:"21",gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#4DABF7"}),e.createElement("stop",{offset:"1",stopColor:"#2668DA"}))))),c&&e.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Youtube","data-event-label":c,href:c},e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.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"}))),i&&e.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Instagram","data-content-label":i,href:i},e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.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)"}),e.createElement("defs",null,e.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)"},e.createElement("stop",{offset:"0.073",stopColor:"#EACC7B"}),e.createElement("stop",{offset:"0.184",stopColor:"#ECAA59"}),e.createElement("stop",{offset:"0.307",stopColor:"#EF802E"}),e.createElement("stop",{offset:"0.358",stopColor:"#EF6D3A"}),e.createElement("stop",{offset:"0.46",stopColor:"#F04B50"}),e.createElement("stop",{offset:"0.516",stopColor:"#F03E58"}),e.createElement("stop",{offset:"0.689",stopColor:"#DB359E"}),e.createElement("stop",{offset:"0.724",stopColor:"#CE37A4"}),e.createElement("stop",{offset:"0.789",stopColor:"#AC3CB4"}),e.createElement("stop",{offset:"0.877",stopColor:"#7544CF"}),e.createElement("stop",{offset:"0.98",stopColor:"#2B4FF2"}))))),r&&e.createElement("a",{target:"_blank",rel:"noreferrer",href:r,"data-event-category":"Footer","data-event-action":"Follow us - Zalo","data-event-label":r},e.createElement("div",{style:{height:24,width:24}},e.createElement("img",{src:"/icons/zalo.png",alt:"Zalo"})))))},Vr=function(t){var a=t.type,n=t.isMobile,l=void 0===n||n,o=t.locale,i=t.footerInfo,r=t.isAmp;return"helloSites"===t.siteType?e.createElement(Mr,{isAmp:r,isMobile:l,type:a,locale:o,footerInfo:i||{}}):e.createElement(Dr,{isMobile:l,locale:o,footerMenu:i||[],copyrightText:"© 2022 MarryBaby.vn",socialLinks:t.marryBabySocialLinks,type:a})};export{Io as A,Ho as B,Jo as C,hi as D,Vr as E,Po as F,Oo as G,Ei as I,zi as L,Nr as N,jo as P,ii as R,Zo as S,_o as T,Ko as U,qo as a,Qo as b,Yo as c,Xo as d,ri as e,mi as f,pi as g,ui as h,gi as i,yi as j,fi as k,ki as l,bi as m,wi as n,Li as o,Ai as p,Si as q,Ni as r,xi as s,Ti as t,Ui as u,Di as v,Vi as w,xr as x,Er as y,Tr as z};