(self.webpackChunkhhgDiscoverV1=self.webpackChunkhhgDiscoverV1||[]).push([[894,3072,6852],{"964S":function(e,t,n){"use strict";n.d(t,{I:function(){return T}});var i=n("vEfc"),o=n("+OUp"),u=n.n(o),s=n("vH4S"),l=n("xXM3"),c=n.n(l),d=n("8BcA"),f=n.n(d),p=n("NXxl"),h=n("AeFk"),g=n("rBCA"),m=n("iBNF"),v=n("4BRW"),y=n("+u84"),x=n("uzh1");let b=/^([0-9]*)$/,S={DD:"Day",MM:"Month",YYYY:"Year"},w={DD:(e,t)=>{if(!e)return null==t||t(""),"";let n=parseInt(e);if(n>31)return null==t||t(e[0]),e[0];if(n>=4){let e=String(n).padStart(2,"0");return null==t||t(e),e}return null==t||t(e),e},MM:(e,t)=>{if(!e)return null==t||t(""),"";let n=parseInt(e);if(n>12)return null==t||t(e[0]),e[0];if(n>=2){let e=String(n).padStart(2,"0");return null==t||t(e),e}return null==t||t(e),e},YYYY:(e,t)=>e?(null==t||t(e),e):(null==t||t(""),"")},E=[!1,!0,!0],getInputDateInputDisabled=e=>e.map((t,n)=>0!==n&&(0===n||!e[n-1])),A=(0,h.AH)` max-width: 100%; // color: ${m.w.colors.gray800}; // font-size: var(--input-font-size, 16px); // font-weight: 400; // line-height: calc(var(--input-height, 56px) * 24 / 56); opacity: 0; transition: 0.3s linear opacity; vertical-align: middle; &::placeholder { color: transparent; font-weight: 400; } `,O=(0,h.AH)` opacity: 1; line-height: calc(var(--input-height, 56px) * 24 / 56); transition: 0.3 linear opacity; `,I=(0,h.AH)` position: absolute; top: calc(var(--input-height, 56px) / 2); left: var(--input-padding, 16px); letter-spacing: -0.3px; transform: translateY(-50%); transition: 0.125s linear all; vertical-align: middle; `,R=(0,h.AH)` top: calc(var(--input-height, 56px) * 7 / 56); line-height: calc(var(--input-height, 56px) * 18 / 56); transform: translateY(0); transition: 0.125s linear all; `,D=g.A.div` --input-gap: 8px; --input-height: 56px; --input-max-width: 320px; --input-font-size: 15px; --input-line-height: 24px; --input-padding-x: 16px; --input-padding-y: 16px; --input-border-radius: 8px; --input-border-color: ${m.w.colors.gray200}; display: flex; gap: var(--input-gap, 8px); max-width: var(--input-max-width, 320px); font-weight: 400; * { box-sizing: border-box; } .input_date-input_container { position: relative; display: flex; align-items: center; width: 100%; height: var(--input-height, 56px); max-width: calc((100% / 3) - (var(--input-gap, 8px) * 2 / 3)); line-height: var(--input-line-height, 24px); padding: var(--input-padding-y, 16px) var(--input-padding-x, 16px); border-radius: var(--input-border-radius, 8px); border: 1px solid var(--input-border-color, ${m.w.colors.gray200}); .input_date-input_placeholder { ${I} } .input_date-input { ${A} } &:has([disabled]) { pointer-events: none; } &.input_date-input_shrink { --input-padding-y: 7px; align-items: flex-end; .input_date-input_placeholder { ${R} } .input_date-input { ${O} } } &.input_date-input_active { border-color: ${m.w.colors.primary600}; box-shadow: 0px 0px 5px ${m.w.colors.primary400}; transition: 0.25s linear all; } &.input_date-input_error { border-color: ${m.w.colors.red600}; } } `,C=n("+QaA");f().extend(C);let{BACKSPACE:k,SPACEBAR:M,ZERO:_}={BACKSPACE:8,SPACEBAR:32,ZERO:48},formatInputDateValue=(e,t)=>{if(void 0===e)return null;if("string"==typeof e){let n=f()(e,t,!0);return n.isValid()?n.toDate():null}let n=f()(e);return n.isValid()?n.toDate():null},formatInputDateValueString=(e,t)=>{if(!e)return[void 0,void 0,void 0];let n=f()(e);return n.format(t).split("/")},T=(0,o.forwardRef)((e,t)=>{let{id:n,name:l,locale:d=v.L.Vietnam,className:h,style:g,defaultValue:m,value:A,onChange:O,error:I,disabled:R,labelTuples:C,placeholderTuples:T,onFocus:B,onBlur:P,autoComplete:N="off"}=e,Y=(0,i.a)(e,["id","name","locale","className","style","defaultValue","value","onChange","error","disabled","labelTuples","placeholderTuples","onFocus","onBlur","autoComplete"]),[L,U]=(0,o.useState)(-1),j=(0,o.useRef)([]),[z,H]=(0,o.useState)(formatInputDateValue(m||A,y.I[d].dateFormat)),[V,$]=(0,o.useState)(["","",""]),[q,F]=(0,o.useState)(()=>getInputDateInputDisabled(formatInputDateValueString(m||A,y.I[d].dateFormat))),{dateFormat:W}=(0,o.useMemo)(()=>(null===y.I||void 0===y.I?void 0:y.I[d])||y.I["vi-VN"],[d]),G=(0,o.useMemo)(()=>W.split("/"),[W]),Z=(0,o.useMemo)(()=>formatInputDateValueString(m,W),[m,W]),K=(0,o.useMemo)(()=>G.map((e,t)=>(null==C?void 0:C[t])||S[e]),[C]),J=(0,o.useMemo)(()=>G.map((e,t)=>(null==T?void 0:T[t])||e),[T]),X=(0,o.useCallback)(()=>{var e,t;if(0===L||-1===L)return;let n=null===(e=j.current)||void 0===e?void 0:e[L];n&&n.blur();let i=null===(t=j.current)||void 0===t?void 0:t[L-1];i&&i.focus()},[L]),Q=(0,o.useCallback)(()=>{var e,t;if(L===G.length-1)return;let n=null===(e=j.current)||void 0===e?void 0:e[L];n&&n.blur();let i=null===(t=j.current)||void 0===t?void 0:t[L+1];i&&i.focus()},[L,G]),ee=(0,o.useCallback)(()=>{let e=0;requestAnimationFrame(function changeFocus(){let t=j.current[L],n=j.current[L+1],i=q[L+1];n&&1!==e&&(i&&(requestAnimationFrame(changeFocus),e++),t.value.length===t.maxLength&&Q())})},[...q,L,Q]),et=(0,o.useCallback)(e=>{let t=e||V,n=G.map((e,n)=>{let i=t[n];return i}).filter(Boolean).join("/"),i=f()(n,W,!0);i.isValid()?(H(i.toDate()),null==O||O(i.toDate(),n)):(H(null),null==O||O(n,n))},[G,W,...V]),er=(0,o.useCallback)(e=>t=>{let n=t.target.value,i=[...V];if(!n){i[e]="",$(i),et(i),0===e&&F(E);return}if(!n.trim().match(b))return;let o=G[e];w[o](n,t=>{i[e]=t,F(getInputDateInputDisabled(i)),$(i),ee()}),et(i)},[...V,G,ee,et]),en=(0,o.useCallback)(e=>{let t=e.target,n=j.current.findIndex(e=>e===t);-1!==n&&U(n),0===n&&(null==B||B(e))},[...V,G,B]),ei=(0,o.useCallback)(e=>{U(-1);let t=e.target,n=j.current.findIndex(e=>e===t);if(-1!==n){let e=t.value,i=[...V];""!==e&&(i[n]=String(e).padStart(t.maxLength,"0"),F(getInputDateInputDisabled(i)),$(i),et(i))}(2===n||0===n&&(!(null==V?void 0:V[0])||V.every(Boolean))||1===n&&(!(null==V?void 0:V[1])||V.every(Boolean)))&&requestAnimationFrame(()=>{null==P||P(e)})},[...V,L,G,z,P]),eo=(0,o.useCallback)(e=>{let t=j.current[L];"0"===t.value&&(e.keyCode===_||"0"===e.key)&&e.preventDefault(),e.keyCode!==k&&"Backspace"!==e.key||t.value||X(),(e.keyCode===M||" "===e.key||"Spacebar"===e.key||"Space"===e.key)&&e.preventDefault()},[L,X,Q]),ea=(0,o.useCallback)(e=>{let t=e.target,n=j.current.findIndex(e=>e===t);if(-1===n){let e=""!==V.join("")?j.current.length-1:0;j.current[e].focus(),U(e);return}j.current[n].focus(),U(n)},[...V,j.current,Z]);return(0,o.useEffect)(()=>{H(formatInputDateValue(A,W))},[A,W]),(0,o.useEffect)(()=>{if(z){let e=formatInputDateValueString(z,W);$(e),F(getInputDateInputDisabled(e))}},[z,W]),(0,o.useImperativeHandle)(t,()=>j.current[0],[]),u().createElement(D,Object.assign({className:h,style:g,onClick:ea},Y),G.map((e,t)=>{let i=K[t],o=null==Z?void 0:Z[t],d=V[t],f=q[t],h=J[t],g=e.length;return u().createElement(s.Box,{key:e,className:c()("input_date-input_container",{"input_date-input_active":L===t,"input_date-input_shrink":!!d,"input_date-input_error":I}),sx:e=>({input:Object.assign(Object.assign({},(0,p.G)(e)[p.C.LEADGEN].p2),{fontWeight:p.F.halfBold,color:e.colors.gray[9]})})},u().createElement(x.T,{className:"input_date-input_placeholder",as:"span",size:d?"p3":"p2",variant:"secondary",weight:"halfBold"},i),u().createElement("input",{ref:e=>j.current[t]=e,name:`${n||""}-${l||""}-${e}`,type:"text",inputMode:"numeric",defaultValue:o,value:d,maxLength:g,disabled:R||f,placeholder:h,onChange:er(t),onBlur:ei,onFocus:en,onKeyDown:eo,className:"input_date-input",autoComplete:N}))}))})},xrdX:function(e,t,n){"use strict";n.d(t,{H:function(){return u},y:function(){return o}});var i=n("4BRW");let o={"vi-VN":"hellobacsi.com","id-ID":"hellosehat.com","ms-MY":"hellodoktor.com","km-KH":"hellokrupet.com","en-PH":"hellodoctor.com.ph","th-TH":"hellokhunmor.com","my-MM":"hellosayarwon.com","zh-TW":"helloyishi.com.tw","zh-SG":"hellojiankang.com","hi-IN":"helloswasthya.com","tl-PH":"hellodoctor.com.ph","vi-VN_MB":"marrybaby.vn"},u={[i.L.Vietnam]:"hellobacsi.com",[i.L.Indonesia]:"hellosehat.com",[i.L.Malaysia]:"hellodoktor.com",[i.L.Cambodia]:"hellokrupet.com",[i.L.PhilippinesEnglish]:"hellodoctor.com.ph",[i.L.PhilippinesTagalog]:"hellodoctor.com.ph",[i.L.Thailand]:"hellokhunmor.com",[i.L.Myanmar]:"hellosayarwon.com",[i.L.Taiwan]:"helloyishi.com.tw",[i.L.India]:"helloswasthya.com",[i.L.Singapore]:"hellojiankang.com"}},GOBr:function(e,t,n){"use strict";var i,o,u,s;n.d(t,{K:function(){return c}});let l="undefined"!=typeof window&&null!==(s=null===(u=null==(o=null===(i=null==window?void 0:window.location)||void 0===i?void 0:i.href)?void 0:o.match(/^https?:\/\/([^/?#]+)(?:[/?#]|$)/i))||void 0===u?void 0:u[1])&&void 0!==s?s:"";l.split(".");let c=!0},i6Rr:function(e,t,n){"use strict";n.d(t,{H:function(){return c},a:function(){return d},b:function(){return s}});var i,o,u,s,l=n("Wbba");(i=u||(u={})).DUE_DATE="due-date-calculator",i.BMI="bmi",i.BMR="bmr",i.OVULATION="ovulation",i.IFRAME="IFRAME",i.PWG="pregnancy-weight-gain",i.THR="heart-rate",i.BABY_VACCINE="vaccination-tool",i.BABY_GROWTH="baby-growth-tracking",i.BABY_POOP="baby-poop-checking",(o=s||(s={})).DUE_DATE="DueDate",o.BMI="BMI",o.BMR="BMR",o.OVULATION="Ovulation",o.PWG="PregnancyWeightGain",o.THR="TargetHeartRate",o.BABY_VACCINE="BabyVaccine",o.BABY_GROWTH="BabyGrowth",o.BABY_POOP="BabyPoopChecking";let c={DUE_DATE:u.DUE_DATE,BMI:u.BMI,BMR:u.BMR,OVULATION:u.OVULATION,IFRAME:u.IFRAME,PWG:u.PWG,THR:u.THR,BABY_VACCINE:u.BABY_VACCINE,BABY_GROWTH:u.BABY_GROWTH,BABY_POOP:u.BABY_POOP},d={[c.DUE_DATE]:l.C.getAssetPath("health-tools/due-date-icon.svg")}},"K+xq":function(e,t,n){"use strict";n.d(t,{M:function(){return Modal}});var i=n("+OUp"),o=n.n(i),u=n("rzfh"),s=n("xzYA"),l=n("rBCA"),c=n("CL9C"),d=n("gEnE"),f=n("iBNF");let p=(0,d.s)(l.A.div` position: relative; z-index: 200; background-color: ${f.w.colors.white}; border-radius: ${f.w.borderRadius}; box-shadow: 0px 8px 40px 0px #0000001a; &[data-site-type='marryBaby'] { border-radius: 16px; .hhg-modal__content { position: relative; z-index: 111; height: 100%; padding: 24px; } } .hhg-modal__content { position: relative; z-index: 111; height: 100%; padding: 16px; } .hhg-modal__video { position: relative; z-index: 111; height: 100%; background-color: none; box-shadow: none; } `,"hhgcomp-modal-modal"),h=l.A.div` position: fixed; top: 0; left: 0; z-index: 201; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; overflow-x: hidden; overflow-y: auto; outline: 0; visibility: hidden; opacity: 0; background-color: rgba(0, 0, 0, 0.6); transition: opacity 0.3s ease-in-out; .hhg-modal__close { position: absolute; top: 16px; right: 16px; cursor: pointer; img { width: 100%; height: 100%; border-radius: 50%; } } &[data-type='video'] { z-index: 1001; } &[data-open='true'] { opacity: 1; visibility: visible; } ${p.classSelector} { transition: transform 0.3s ease-in-out; } &.slideTop { ${p.classSelector} { transform: translate(0, -100vh); } &[data-open='true'] { ${p.classSelector} { transform: translate(0); } } } &.scaleUp { ${p.classSelector} { transform: scale(0.9); } &[data-open='true'] { ${p.classSelector} { transform: scale(1); } } } &[data-type='tail'] { justify-content: flex-end; ${p.classSelector} { width: 420px; height: 100%; border-radius: 0; overflow: hidden auto; } } &[data-type='form'] { ${p.classSelector} { width: 496px; height: 548px; max-height: 100%; overflow-y: auto; ${c.M.mbDown} { width: 340px; } } } &[data-type='video'] { ${p.classSelector} { height: 100%; max-height: 539px; ${c.M.mbDown} { height: 192px; width: 100%; height: 100%; border-radius: ${f.w.borderRadius}; max-height: 192px; } } } &[data-type='confirm'] { ${p.classSelector} { width: 100%; max-width: 407px; ${c.M.mbDown} { width: calc(100% - 32px); max-width: calc(100% - 32px); } } } `,g=l.A.div` position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; align-items: center; &[data-open='false'] { display: none; } &[data-type='video'] { background-color: ${f.w.colors.secondaryDark}; } `,m="hhg-modals",getModalsRoot=()=>{let e=document.getElementById(m);return e||((e=document.createElement("div")).setAttribute("id",m),document.body.append(e)),e},cleanUpModalShow=()=>{let e=document.querySelectorAll('.hhg-modal[data-open="true"]');e.length<1&&document.body.classList.remove("hhc-modal-show")},cleanUpDisabledScroll=()=>{let e=document.querySelectorAll('.hhg-modal[data-open="true"]');e.length<1&&(document.body.style.overflow="",document.body.style.paddingRight="",document.body.classList.remove("hhc-disabled-scroll"))},Modal=({type:e="lead",closeIcon:t,isOpen:n=!0,onClose:l,children:c,className:d="",animationType:f="scaleUp",isStaticBackdrop:m=!1,siteType:v})=>{let[y,x]=(0,i.useState)(!1),b=(0,i.useRef)(null),{width:S}=(0,u.u)();if(!b.current&&y&&(b.current=document.createElement("div")),(0,i.useEffect)(()=>(x(!0),()=>{x(!1),cleanUpModalShow(),cleanUpDisabledScroll()}),[]),(0,i.useEffect)(()=>{if(y){let e=getModalsRoot();return e.appendChild(b.current),()=>{e.removeChild(b.current)}}},[y]),(0,i.useEffect)(()=>{n?document.body.classList.add("hhc-modal-show"):cleanUpModalShow()},[n]),(0,i.useEffect)(()=>{n?(document.body.style.overflow="hidden",document.body.style.paddingRight=S+"px",document.body.classList.add("hhc-disabled-scroll")):cleanUpDisabledScroll()},[n,S]),!y)return null;let w=["hhg-modal__wrapper",d,f].filter(e=>e).join(" ");return(0,s.createPortal)(o().createElement(h,{className:w,"data-open":n,"data-type":e},!m&&o().createElement(g,{"data-open":n,onClick:l,"data-type":e}),!m&&"video"===e&&!!t&&o().createElement("div",{className:"hhg-modal__close",onClick:l},t),o().createElement(p,{className:"hhg-modal","data-open":n,"data-site-type":v},o().createElement("div",{className:"video"===e?"hhg-modal__video":"hhg-modal__content"},!!t&&"video"!==e&&o().createElement("div",{className:"hhg-modal__close",onClick:l},t),c))),b.current)}},NQBa:function(e,t,n){"use strict";n.d(t,{D:function(){return Divider}});var i=n("+OUp"),o=n.n(i),u=n("rBCA"),s=n("iBNF");let l=u.A.hr` border-width: 1px; border-color: ${s.w.colors.neutral200}; border-style: ${e=>e.dividerType}; `,Divider=({type:e="solid",className:t,style:n})=>o().createElement(l,{style:n,className:t,"data-diver-type":e,dividerType:e})},fvfU:function(e,t,n){"use strict";n.d(t,{T:function(){return TextArea}});var i=n("vEfc"),o=n("+OUp"),u=n.n(o),s=n("vH4S"),l=n("aHnw"),c=n("NXxl");let TextArea=e=>{var{styles:t}=e,n=(0,i.a)(e,["styles"]);let o=(0,c.u)(),{classes:d}=(0,l.u)({variantStyle:o},{name:"MantineTextarea",styles:t});return u().createElement(s.Textarea,Object.assign({classNames:{input:d.input},minRows:2,maxRows:4},n))}},Wbba:function(e,t,n){"use strict";n.d(t,{C:function(){return l}});var i=n("xrdX"),o=n("GOBr"),u=n("yNk5");let isNumeric=e=>!isNaN(parseFloat(e))&&isFinite(e),s="hellosehat.com",l=new class{constructor(){this.baseDomain="",this.subPath="",this.getAssetPath=(e,t,n)=>{let i="https://hhg-common."+[t||this.getBaseDomain(),n||this.subPath,e].join("/");return o.K||u.env.JEST_WORKER_ID?i:i+"?v="+Math.floor(new Date().getTime()/1e3/60/3)}}getBaseDomain(){if(this.baseDomain)return this.baseDomain;if("undefined"!=typeof window){let{host:e}=window.location,t=e.split("."),n=i.y[Object.keys(i.y).find(t=>e.includes(i.y[t]))];return t.includes("localhost")||t.includes("hellohealthgroup")||t.every(e=>isNumeric(e))||!n?s:n}return s}};l.subPath="common",l.baseDomain=i.y["vi-VN"]},kn93:function(e,t,n){"use strict";n.d(t,{T:function(){return d}});var i=n("+OUp"),o=n.n(i),u=n("rBCA"),s=n("Pn4S"),l=n("iBNF");let c=u.A.div` textarea { width: 100%; height: var(--textarea-height, 116px); padding: 1rem; border: 1px solid ${l.w.colors.gray200}; border-radius: 6px; color: ${l.w.colors.gray800}; font-size: 14px; resize: none; &:focus { box-shadow: 0px 0px 2px 2px #91caff; } &::placeholder { color: ${l.w.colors.gray500}; } &:disabled { background-color: ${l.w.colors.neutral50}; cursor: not-allowed; } } `,d=o().forwardRef(({height:e,placeholder:t,labelText:n,labelColor:i,id:u,name:l,onChange:d,value:f,className:p,onKeyPress:h,disabled:g=!1},m)=>o().createElement(c,{className:p,style:{"--textarea-height":e||"116px"}},n&&o().createElement(s.L,{size:"label2",style:{color:i||"#595959"},htmlFor:u},n),o().createElement("textarea",{name:l,ref:m,placeholder:t,id:u,onChange:e=>d&&d(e.target.value),onKeyPress:e=>h&&h(e),value:f,disabled:g})))},"27Mu":function(e,t,n){"use strict";n.d(t,{Ri:function(){return getCookie},TV:function(){return setCookie},Yj:function(){return deleteCookie}});let getCookie=e=>{if("undefined"==typeof window)return;let t=`; ${document.cookie}`,n=t.split(`; ${e}=`);if(2===n.length)return n.pop().split(";").shift()},setCookie=(e,t,n)=>{if("undefined"==typeof window)return;let i="",{days:o,minutes:u,domain:s,path:l}=n||{};if(null==n?void 0:n.expires)i=`; expires=${n.expires}`;else if(o||u){let e=new Date;o?e.setTime(e.getTime()+864e5*o):e.setTime(e.getTime()+6e4*u),i="; expires="+e.toUTCString()}document.cookie=e+"="+(t||"")+i+"; path="+(l||"/")+(s?"; domain="+s:"")},deleteCookie=e=>{"undefined"!=typeof window&&(document.cookie=e+"=; Max-Age=-99999999; path=/")}},luvD:function(e,t,n){"use strict";n.d(t,{T:function(){return o}});var i=n("+OUp");let o=(0,i.createContext)(null)},uG5L:function(e,t,n){"use strict";n.d(t,{G:function(){return c},a:function(){return l},u:function(){return usePlacesAutocomplete}});var i=n("vEfc"),o=n("+OUp"),u=n("yNk5");let formatAutoCompleteAddress=e=>!e||e.length<1?[]:e.map(e=>({placeId:e.place_id,description:e.description,rawData:e})),s="undefined"==typeof window,l={VN:"vi",ID:"id",TH:"th",MY:"ms",TW:"zh-TW",KH:"km",MM:"my",IN:"hi",PH:"en"},c=u.env.GOOGLE_MAP_KEY||"AIzaSyDH2YEO0oZ0XzQv90_7nd2mBHIDhFxLw4s",googleAutocomplete=(e="",t="",n="vi")=>(0,i._)(void 0,void 0,void 0,function*(){return new Promise((i,o)=>{if(!e)return o("Need valid text input");if(s)return o("Need valid window object");try{new window.google.maps.places.AutocompleteService().getPlacePredictions(Object.assign(Object.assign({input:e},t?{componentRestrictions:{country:t}}:{}),{language:l[n]}),i)}catch(e){o(e)}})}),usePlacesAutocomplete=(e="",t="",n="",u=500)=>{let[s,l]=(0,o.useState)([]),[c,d]=(0,o.useState)(!1);return(0,o.useEffect)(()=>{let o;return e?o=window.setTimeout(()=>(0,i._)(void 0,void 0,void 0,function*(){if(!e){l([]);return}try{d(!0);let i=yield googleAutocomplete(e,t,n);l(formatAutoCompleteAddress(i))}catch(e){console.error(e)}finally{d(!1)}}),u):s.length&&l([]),()=>{window.clearTimeout(o)}},[e,u,t]),{isLoading:c,predictions:s}}},rzfh:function(e,t,n){"use strict";n.d(t,{M:function(){return s},u:function(){return useScrollbarSize}});var i=n("+OUp"),o=n("sEfC"),u=n.n(o);let s="measure-scrollbar-size",useScrollbarSize=(e=!0)=>{let[t,n]=(0,i.useState)({height:0,width:0}),o=(0,i.useRef)(null);return(0,i.useEffect)(()=>{if(!e||"undefined"==typeof window)return;let getElement=()=>(o.current||(o.current=document.createElement("div"),o.current.classList.add(s),o.current.style.width="99px",o.current.style.height="99px",o.current.style.overflow="scroll",o.current.style.position="absolute",o.current.style.top="-9999px",o.current.setAttribute("aria-hidden","true"),o.current.setAttribute("role","presentation")),o.current),updateState=()=>{let{offsetHeight:e,clientHeight:t,offsetWidth:i,clientWidth:o}=getElement(),u=e-t,s=i-o;n(e=>{let{height:t,width:n}=e;return t!==u||n!==s?{height:u,width:s}:e})},t=u()(updateState,100);window.addEventListener("resize",t,{passive:!0}),document.body.appendChild(getElement()),updateState();let i=getElement();return()=>{t.cancel(),window.removeEventListener("resize",t),document.body.removeChild(i)}},[e]),t}},Xanp:function(e,t,n){"use strict";n.d(t,{a:function(){return c},b:function(){return f},c:function(){return d},d:function(){return isSupportProduct},g:function(){return getURLwithSSOTracking},i:function(){return p}});var i=n("i6Rr"),o=n("Z0qH"),u=n("D7zM"),s=n("HG5m"),l=n("4BRW");let c=[l.L.Indonesia,l.L.Malaysia].includes(o.l),d=[l.L.Vietnam].includes(o.l),f=[l.L.Vietnam].includes(o.l),p=[l.L.Malaysia].includes(o.l),isSupportProduct=e=>{let t=u.u.getState().setupSource||"discover",n=(null==e?void 0:e.find(e=>"discover"===e.name))&&"discover"===t,i=(null==e?void 0:e.find(e=>"together"===e.name))&&"community"===t,o=(null==e?void 0:e.find(e=>"care"===e.name))&&"care"===t;return n||i||o},getURLwithSSOTracking=(e,{source:t,botItem:n})=>{var o;if(!t&&!n)return null;try{let u=new URL(e.startsWith("localhost")?`http://${e}`:e),l={bmi:i.b.BMI,bmr:i.b.BMR,"due-date":i.b.DUE_DATE,ovulation:i.b.OVULATION,"baby-growth":i.b.BABY_GROWTH,"baby-vaccine":i.b.BABY_VACCINE,"pregnancy-weight-gain":i.b.PWG,"target-heart-rate":i.b.THR,"baby-poop-checking":i.b.BABY_POOP},c=l[t],d=window.location.href.includes("/health-tools");return c&&!d?(u.searchParams.set("embeddedType","healthTool"),u.searchParams.set("toolName",c)):(null===(o=null==n?void 0:n.extra_settings)||void 0===o?void 0:o.subot_type)===s.h.ristScreener&&(u.searchParams.set("embeddedType","riskScreener"),u.searchParams.set("toolName",String(n.id))),u}catch(e){return null}}},m2uH:function(e,t,n){"use strict";let i;n.d(t,{A:function(){return rng}});let o=new Uint8Array(16);function rng(){if(!i&&!(i="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)))throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return i(o)}},"3uuB":function(e,t,n){"use strict";n.d(t,{k:function(){return unsafeStringify}});let i=[];for(let e=0;e<256;++e)i.push((e+256).toString(16).slice(1));function unsafeStringify(e,t=0){return i[e[t+0]]+i[e[t+1]]+i[e[t+2]]+i[e[t+3]]+"-"+i[e[t+4]]+i[e[t+5]]+"-"+i[e[t+6]]+i[e[t+7]]+"-"+i[e[t+8]]+i[e[t+9]]+"-"+i[e[t+10]]+i[e[t+11]]+i[e[t+12]]+i[e[t+13]]+i[e[t+14]]+i[e[t+15]]}},"+QaA":function(e){var t,n,i,o,u,s,l,c,d,f,p,h;e.exports=(t={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},n=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,i=/\d\d/,o=/\d\d?/,u=/\d*[^-_:/,()\s\d]+/,s={},l=function(e){return(e=+e)+(e>68?1900:2e3)},c=function(e){return function(t){this[e]=+t}},d=[/[+-]\d\d:?(\d\d)?|Z/,function(e){(this.zone||(this.zone={})).offset=function(e){if(!e||"Z"===e)return 0;var t=e.match(/([+-]|\d\d)/g),n=60*t[1]+(+t[2]||0);return 0===n?0:"+"===t[0]?-n:n}(e)}],f=function(e){var t=s[e];return t&&(t.indexOf?t:t.s.concat(t.f))},p=function(e,t){var n,i=s.meridiem;if(i){for(var o=1;o<=24;o+=1)if(e.indexOf(i(o,0,t))>-1){n=o>12;break}}else n=e===(t?"pm":"PM");return n},h={A:[u,function(e){this.afternoon=p(e,!1)}],a:[u,function(e){this.afternoon=p(e,!0)}],S:[/\d/,function(e){this.milliseconds=100*+e}],SS:[i,function(e){this.milliseconds=10*+e}],SSS:[/\d{3}/,function(e){this.milliseconds=+e}],s:[o,c("seconds")],ss:[o,c("seconds")],m:[o,c("minutes")],mm:[o,c("minutes")],H:[o,c("hours")],h:[o,c("hours")],HH:[o,c("hours")],hh:[o,c("hours")],D:[o,c("day")],DD:[i,c("day")],Do:[u,function(e){var t=s.ordinal,n=e.match(/\d+/);if(this.day=n[0],t)for(var i=1;i<=31;i+=1)t(i).replace(/\[|\]/g,"")===e&&(this.day=i)}],M:[o,c("month")],MM:[i,c("month")],MMM:[u,function(e){var t=f("months"),n=(f("monthsShort")||t.map(function(e){return e.slice(0,3)})).indexOf(e)+1;if(n<1)throw Error();this.month=n%12||n}],MMMM:[u,function(e){var t=f("months").indexOf(e)+1;if(t<1)throw Error();this.month=t%12||t}],Y:[/[+-]?\d+/,c("year")],YY:[i,function(e){this.year=l(e)}],YYYY:[/\d{4}/,c("year")],Z:d,ZZ:d},function(e,i,o){o.p.customParseFormat=!0,e&&e.parseTwoDigitYear&&(l=e.parseTwoDigitYear);var u=i.prototype,c=u.parse;u.parse=function(e){var i=e.date,u=e.utc,l=e.args;this.$u=u;var d=l[1];if("string"==typeof d){var f=!0===l[2],p=!0===l[3],g=l[2];p&&(g=l[2]),s=this.$locale(),!f&&g&&(s=o.Ls[g]),this.$d=function(e,i,o){try{if(["x","X"].indexOf(i)>-1)return new Date(("X"===i?1e3:1)*e);var u=(function(e){var i,o;i=e,o=s&&s.formats;for(var u=(e=i.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(e,n,i){var u=i&&i.toUpperCase();return n||o[i]||t[i]||o[u].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(e,t,n){return t||n.slice(1)})})).match(n),l=u.length,c=0;c0?c-1:y.getMonth());var w=f||0,E=p||0,A=g||0,O=m||0;return v?new Date(Date.UTC(b,S,x,w,E,A,O+60*v.offset*1e3)):o?new Date(Date.UTC(b,S,x,w,E,A,O)):new Date(b,S,x,w,E,A,O)}catch(e){return new Date("")}}(i,d,u),this.init(),g&&!0!==g&&(this.$L=this.locale(g).$L),(f||p)&&i!=this.format(d)&&(this.$d=new Date("")),s={}}else if(d instanceof Array)for(var m=d.length,v=1;v<=m;v+=1){l[1]=d[v-1];var y=o.apply(this,l);if(y.isValid()){this.$d=y.$d,this.$L=y.$L,this.init();break}v===m&&(this.$d=new Date(""))}else c.call(this,e)}})},s3Wo:function(e){e.exports=function(e,t){t.prototype.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)}}},KYiY:function(e,t,n){var i;!function(){var t={initialize:function(){this._tasks=new Map},mutate:function(e,t){return create(this,"mutate",e,t)},measure:function(e,t){return create(this,"measure",e,t)},clear:function(e){var t=this._tasks,n=t.get(e);this.fastdom.clear(n),t.delete(e)}};function create(e,t,n,i){var o,u=e._tasks,s=e.fastdom,l=new Promise(function(e,c){o=s[t](function(){u.delete(l);try{e(i?n.call(i):n())}catch(e){c(e)}},i)});return u.set(l,o),l}void 0!==(i=(function(){return t}).call(t,n,t,e))&&(e.exports=i)}()},Sn6X:function(e,t,n){var i;!function(t){"use strict";var debug=function(){},o=t.requestAnimationFrame||t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame||t.msRequestAnimationFrame||function(e){return setTimeout(e,16)};function FastDom(){this.reads=[],this.writes=[],this.raf=o.bind(t),debug("initialized",this)}function scheduleFlush(e){e.scheduled||(e.scheduled=!0,e.raf(flush.bind(null,e)),debug("flush scheduled"))}function flush(e){debug("flush");var t,n=e.writes,i=e.reads;try{debug("flushing reads",i.length),e.runTasks(i),debug("flushing writes",n.length),e.runTasks(n)}catch(e){t=e}if(e.scheduled=!1,(i.length||n.length)&&scheduleFlush(e),t){if(debug("task errored",t.message),e.catch)e.catch(t);else throw t}}function remove(e,t){var n=e.indexOf(t);return!!~n&&!!e.splice(n,1)}FastDom.prototype={constructor:FastDom,runTasks:function(e){var t;for(debug("run tasks");t=e.shift();)t()},measure:function(e,t){debug("measure");var n=t?e.bind(t):e;return this.reads.push(n),scheduleFlush(this),n},mutate:function(e,t){debug("mutate");var n=t?e.bind(t):e;return this.writes.push(n),scheduleFlush(this),n},clear:function(e){return debug("clear",e),remove(this.reads,e)||remove(this.writes,e)},extend:function(e){if(debug("extend",e),"object"!=typeof e)throw Error("expected object");var t=Object.create(this);return function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])}(t,e),t.fastdom=this,t.initialize&&t.initialize(),t},catch:null};var u=t.fastdom=t.fastdom||new FastDom;void 0!==(i=(function(){return u}).call(u,n,u,e))&&(e.exports=i)}("undefined"!=typeof window?window:void 0!==this?this:globalThis)},p46w:function(e,t,n){var i,o,u;void 0!==(o="function"==typeof(i=u=function(){function extend(){for(var e=0,t={};eo?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var u=Array(o);++i=o?e:i(e,t,n)}},"0ZTe":function(e,t,n){var i=n("wy8a"),o=n("quyA"),u=n("Em2t"),s=n("dt0z");e.exports=function(e){return function(t){var n=o(t=s(t))?u(t):void 0,l=n?n[0]:t.charAt(0),c=n?i(n,1).join(""):t.slice(1);return l[e]()+c}}},sgoq:function(e,t,n){var i=n("asDA"),o=n("TKrE"),u=n("6nK8"),s=RegExp("['’]","g");e.exports=function(e){return function(t){return i(u(o(t).replace(s,"")),e,"")}}},qRkn:function(e,t,n){var i=n("3cYt")({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"});e.exports=i},quyA:function(e){var t=RegExp("[\\u200d\ud800-\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");e.exports=function(e){return t.test(e)}},fo6e:function(e){var t=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;e.exports=function(e){return t.test(e)}},Em2t:function(e,t,n){var i=n("bahg"),o=n("quyA"),u=n("0JQy");e.exports=function(e){return o(e)?u(e):i(e)}},"0JQy":function(e){var t="\ud800-\udfff",n="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",i="\ud83c[\udffb-\udfff]",o="[^"+t+"]",u="(?:\ud83c[\udde6-\uddff]){2}",s="[\ud800-\udbff][\udc00-\udfff]",l="(?:"+n+"|"+i+")?",c="[\\ufe0e\\ufe0f]?",d="(?:\\u200d(?:"+[o,u,s].join("|")+")"+c+l+")*",f=RegExp(i+"(?="+i+")|(?:"+[o+n+"?",n,u,s,"["+t+"]"].join("|")+")"+(c+l+d),"g");e.exports=function(e){return e.match(f)||[]}},"9NmV":function(e){var t="\ud800-\udfff",n="\\u2700-\\u27bf",i="a-z\\xdf-\\xf6\\xf8-\\xff",o="A-Z\\xc0-\\xd6\\xd8-\\xde",u="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",s="['’]",l="["+u+"]",c="["+i+"]",d="[^"+t+u+"\\d+"+n+i+o+"]",f="(?:\ud83c[\udde6-\uddff]){2}",p="[\ud800-\udbff][\udc00-\udfff]",h="["+o+"]",g="(?:"+c+"|"+d+")",m="(?:"+s+"(?:d|ll|m|re|s|t|ve))?",v="(?:"+s+"(?:D|LL|M|RE|S|T|VE))?",y="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\ud83c[\udffb-\udfff])?",x="[\\ufe0e\\ufe0f]?",b="(?:\\u200d(?:"+["[^"+t+"]",f,p].join("|")+")"+x+y+")*",S="(?:"+["["+n+"]",f,p].join("|")+")"+(x+y+b),w=RegExp([h+"?"+c+"+"+m+"(?="+[l,h,"$"].join("|")+")","(?:"+h+"|"+d+")+"+v+"(?="+[l,h+g,"$"].join("|")+")",h+"?"+g+"+"+m,h+"+"+v,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])","\\d+",S].join("|"),"g");e.exports=function(e){return e.match(w)||[]}},u6S6:function(e,t,n){var i=n("6acW"),o=n("sgoq")(function(e,t,n){return t=t.toLowerCase(),e+(n?i(t):t)});e.exports=o},"6acW":function(e,t,n){var i=n("dt0z"),o=n("gQMU");e.exports=function(e){return o(i(e).toLowerCase())}},TKrE:function(e,t,n){var i=n("qRkn"),o=n("dt0z"),u=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,s=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");e.exports=function(e){return(e=o(e))&&e.replace(u,i).replace(s,"")}},gQMU:function(e,t,n){var i=n("0ZTe")("toUpperCase");e.exports=i},"6nK8":function(e,t,n){var i=n("dVn5"),o=n("fo6e"),u=n("dt0z"),s=n("9NmV");e.exports=function(e,t,n){return(e=u(e),void 0===(t=n?void 0:t))?o(e)?s(e):i(e):e.match(t)||[]}},Dfpe:function(){},oOSY:function(e,t,n){"use strict";var i,o=(i=n("6Egq"))&&i.__esModule?i:{default:i};Number.isInteger=Number.isInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e},t.A=o.default},"6Egq":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function defineProperties(e,t){for(var n=0;n0?i:n,u=parseFloat(o.toFixed(2)).toString();Number.isInteger(o)&&(u=String(o));var s=t+"s";return"1"===u&&(s=t),u+" "+s}},{key:"offsetValue",get:function(){var e=this.props.rating,t=Number.isInteger(e),n="0%";return t||(n=e.toFixed(2).split(".")[1].slice(0,2)+"%"),n}},{key:"renderStars",get:function(){var e=this,t=this.props,n=t.changeRating,i=t.rating,u=t.numberOfStars,l=t.starDimension,c=t.starSpacing,d=t.starRatedColor,f=t.starEmptyColor,p=t.starHoverColor,h=t.gradientPathName,g=t.ignoreInlineStyles,m=t.svgIconPath,v=t.svgIconViewBox,y=t.name,x=this.state.highestStarHovered;return Array.apply(null,Array(u)).map(function(t,b){var S=b+1,w=S<=i,E=S<=x,A=S===x,O=S>i&&S-10,isCurrentHoveredStar:A,isFirstStar:I,isLastStar:R,starDimension:l,starSpacing:c,starHoverColor:p,starRatedColor:d,starEmptyColor:f,gradientPathName:h,ignoreInlineStyles:g,svgIconPath:m,svgIconViewBox:v})})}}]),StarRatings}(o.default.Component);l.propTypes={rating:u.default.number.isRequired,numberOfStars:u.default.number.isRequired,changeRating:u.default.func,starHoverColor:u.default.string.isRequired,starRatedColor:u.default.string.isRequired,starEmptyColor:u.default.string.isRequired,starDimension:u.default.string.isRequired,starSpacing:u.default.string.isRequired,gradientPathName:u.default.string.isRequired,ignoreInlineStyles:u.default.bool.isRequired,svgIconPath:u.default.string.isRequired,svgIconViewBox:u.default.string.isRequired,name:u.default.string},l.defaultProps={rating:0,typeOfWidget:"Star",numberOfStars:5,changeRating:null,starHoverColor:"rgb(230, 67, 47)",starRatedColor:"rgb(109, 122, 130)",starEmptyColor:"rgb(203, 211, 227)",starDimension:"50px",starSpacing:"7px",gradientPathName:"",ignoreInlineStyles:!1,svgIconPath:"m25,1 6,17h18l-14,11 5,17-15-10-15,10 5-17-14-11h18z",svgIconViewBox:"0 0 51 48"},t.default=l},"4Ikp":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function defineProperties(e,t){for(var n=0;n":"greater","|":"or","\xa2":"cent","\xa3":"pound","\xa4":"currency","\xa5":"yen","\xa9":"(c)","\xaa":"a","\xae":"(r)","\xba":"o","\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\xc6":"AE","\xc7":"C","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xcc":"I","\xcd":"I","\xce":"I","\xcf":"I","\xd0":"D","\xd1":"N","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xdd":"Y","\xde":"TH","\xdf":"ss","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"a","\xe5":"a","\xe6":"ae","\xe7":"c","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\xf0":"d","\xf1":"n","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xfd":"y","\xfe":"th","\xff":"y","Ā":"A","ā":"a","Ă":"A","ă":"a","Ą":"A","ą":"a","Ć":"C","ć":"c","Č":"C","č":"c","Ď":"D","ď":"d","Đ":"DJ","đ":"dj","Ē":"E","ē":"e","Ė":"E","ė":"e","Ę":"e","ę":"e","Ě":"E","ě":"e","Ğ":"G","ğ":"g","Ģ":"G","ģ":"g","Ĩ":"I","ĩ":"i","Ī":"i","ī":"i","Į":"I","į":"i","İ":"I","ı":"i","Ķ":"k","ķ":"k","Ļ":"L","ļ":"l","Ľ":"L","ľ":"l","Ł":"L","ł":"l","Ń":"N","ń":"n","Ņ":"N","ņ":"n","Ň":"N","ň":"n","Ō":"O","ō":"o","Ő":"O","ő":"o","Œ":"OE","œ":"oe","Ŕ":"R","ŕ":"r","Ř":"R","ř":"r","Ś":"S","ś":"s","Ş":"S","ş":"s","Š":"S","š":"s","Ţ":"T","ţ":"t","Ť":"T","ť":"t","Ũ":"U","ũ":"u","Ū":"u","ū":"u","Ů":"U","ů":"u","Ű":"U","ű":"u","Ų":"U","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","ź":"z","Ż":"Z","ż":"z","Ž":"Z","ž":"z","Ə":"E","ƒ":"f","Ơ":"O","ơ":"o","Ư":"U","ư":"u","Lj":"LJ","lj":"lj","Nj":"NJ","nj":"nj","Ș":"S","ș":"s","Ț":"T","ț":"t","ə":"e","˚":"o","Ά":"A","Έ":"E","Ή":"H","Ί":"I","Ό":"O","Ύ":"Y","Ώ":"W","ΐ":"i","Α":"A","Β":"B","Γ":"G","Δ":"D","Ε":"E","Ζ":"Z","Η":"H","Θ":"8","Ι":"I","Κ":"K","Λ":"L","Μ":"M","Ν":"N","Ξ":"3","Ο":"O","Π":"P","Ρ":"R","Σ":"S","Τ":"T","Υ":"Y","Φ":"F","Χ":"X","Ψ":"PS","Ω":"W","Ϊ":"I","Ϋ":"Y","ά":"a","έ":"e","ή":"h","ί":"i","ΰ":"y","α":"a","β":"b","γ":"g","δ":"d","ε":"e","ζ":"z","η":"h","θ":"8","ι":"i","κ":"k","λ":"l","μ":"m","ν":"n","ξ":"3","ο":"o","π":"p","ρ":"r","ς":"s","σ":"s","τ":"t","υ":"y","φ":"f","χ":"x","ψ":"ps","ω":"w","ϊ":"i","ϋ":"y","ό":"o","ύ":"y","ώ":"w","Ё":"Yo","Ђ":"DJ","Є":"Ye","І":"I","Ї":"Yi","Ј":"J","Љ":"LJ","Њ":"NJ","Ћ":"C","Џ":"DZ","А":"A","Б":"B","В":"V","Г":"G","Д":"D","Е":"E","Ж":"Zh","З":"Z","И":"I","Й":"J","К":"K","Л":"L","М":"M","Н":"N","О":"O","П":"P","Р":"R","С":"S","Т":"T","У":"U","Ф":"F","Х":"H","Ц":"C","Ч":"Ch","Ш":"Sh","Щ":"Sh","Ъ":"U","Ы":"Y","Ь":"","Э":"E","Ю":"Yu","Я":"Ya","а":"a","б":"b","в":"v","г":"g","д":"d","е":"e","ж":"zh","з":"z","и":"i","й":"j","к":"k","л":"l","м":"m","н":"n","о":"o","п":"p","р":"r","с":"s","т":"t","у":"u","ф":"f","х":"h","ц":"c","ч":"ch","ш":"sh","щ":"sh","ъ":"u","ы":"y","ь":"","э":"e","ю":"yu","я":"ya","ё":"yo","ђ":"dj","є":"ye","і":"i","ї":"yi","ј":"j","љ":"lj","њ":"nj","ћ":"c","ѝ":"u","џ":"dz","Ґ":"G","ґ":"g","Ғ":"GH","ғ":"gh","Қ":"KH","қ":"kh","Ң":"NG","ң":"ng","Ү":"UE","ү":"ue","Ұ":"U","ұ":"u","Һ":"H","һ":"h","Ә":"AE","ә":"ae","Ө":"OE","ө":"oe","Ա":"A","Բ":"B","Գ":"G","Դ":"D","Ե":"E","Զ":"Z","Է":"E\'","Ը":"Y\'","Թ":"T\'","Ժ":"JH","Ի":"I","Լ":"L","Խ":"X","Ծ":"C\'","Կ":"K","Հ":"H","Ձ":"D\'","Ղ":"GH","Ճ":"TW","Մ":"M","Յ":"Y","Ն":"N","Շ":"SH","Չ":"CH","Պ":"P","Ջ":"J","Ռ":"R\'","Ս":"S","Վ":"V","Տ":"T","Ր":"R","Ց":"C","Փ":"P\'","Ք":"Q\'","Օ":"O\'\'","Ֆ":"F","և":"EV","ء":"a","آ":"aa","أ":"a","ؤ":"u","إ":"i","ئ":"e","ا":"a","ب":"b","ة":"h","ت":"t","ث":"th","ج":"j","ح":"h","خ":"kh","د":"d","ذ":"th","ر":"r","ز":"z","س":"s","ش":"sh","ص":"s","ض":"dh","ط":"t","ظ":"z","ع":"a","غ":"gh","ف":"f","ق":"q","ك":"k","ل":"l","م":"m","ن":"n","ه":"h","و":"w","ى":"a","ي":"y","ً":"an","ٌ":"on","ٍ":"en","َ":"a","ُ":"u","ِ":"e","ْ":"","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","پ":"p","چ":"ch","ژ":"zh","ک":"k","گ":"g","ی":"y","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","฿":"baht","ა":"a","ბ":"b","გ":"g","დ":"d","ე":"e","ვ":"v","ზ":"z","თ":"t","ი":"i","კ":"k","ლ":"l","მ":"m","ნ":"n","ო":"o","პ":"p","ჟ":"zh","რ":"r","ს":"s","ტ":"t","უ":"u","ფ":"f","ქ":"k","ღ":"gh","ყ":"q","შ":"sh","ჩ":"ch","ც":"ts","ძ":"dz","წ":"ts","ჭ":"ch","ხ":"kh","ჯ":"j","ჰ":"h","Ṣ":"S","ṣ":"s","Ẁ":"W","ẁ":"w","Ẃ":"W","ẃ":"w","Ẅ":"W","ẅ":"w","ẞ":"SS","Ạ":"A","ạ":"a","Ả":"A","ả":"a","Ấ":"A","ấ":"a","Ầ":"A","ầ":"a","Ẩ":"A","ẩ":"a","Ẫ":"A","ẫ":"a","Ậ":"A","ậ":"a","Ắ":"A","ắ":"a","Ằ":"A","ằ":"a","Ẳ":"A","ẳ":"a","Ẵ":"A","ẵ":"a","Ặ":"A","ặ":"a","Ẹ":"E","ẹ":"e","Ẻ":"E","ẻ":"e","Ẽ":"E","ẽ":"e","Ế":"E","ế":"e","Ề":"E","ề":"e","Ể":"E","ể":"e","Ễ":"E","ễ":"e","Ệ":"E","ệ":"e","Ỉ":"I","ỉ":"i","Ị":"I","ị":"i","Ọ":"O","ọ":"o","Ỏ":"O","ỏ":"o","Ố":"O","ố":"o","Ồ":"O","ồ":"o","Ổ":"O","ổ":"o","Ỗ":"O","ỗ":"o","Ộ":"O","ộ":"o","Ớ":"O","ớ":"o","Ờ":"O","ờ":"o","Ở":"O","ở":"o","Ỡ":"O","ỡ":"o","Ợ":"O","ợ":"o","Ụ":"U","ụ":"u","Ủ":"U","ủ":"u","Ứ":"U","ứ":"u","Ừ":"U","ừ":"u","Ử":"U","ử":"u","Ữ":"U","ữ":"u","Ự":"U","ự":"u","Ỳ":"Y","ỳ":"y","Ỵ":"Y","ỵ":"y","Ỷ":"Y","ỷ":"y","Ỹ":"Y","ỹ":"y","–":"-","‘":"\'","’":"\'","“":"\\"","”":"\\"","„":"\\"","†":"+","•":"*","…":"...","₠":"ecu","₢":"cruzeiro","₣":"french franc","₤":"lira","₥":"mill","₦":"naira","₧":"peseta","₨":"rupee","₩":"won","₪":"new shequel","₫":"dong","€":"euro","₭":"kip","₮":"tugrik","₯":"drachma","₰":"penny","₱":"peso","₲":"guarani","₳":"austral","₴":"hryvnia","₵":"cedi","₸":"kazakhstani tenge","₹":"indian rupee","₺":"turkish lira","₽":"russian ruble","₿":"bitcoin","℠":"sm","™":"tm","∂":"d","∆":"delta","∑":"sum","∞":"infinity","♥":"love","元":"yuan","円":"yen","﷼":"rial","ﻵ":"laa","ﻷ":"laa","ﻹ":"lai","ﻻ":"la"}'),t=JSON.parse('{"bg":{"Й":"Y","Ц":"Ts","Щ":"Sht","Ъ":"A","Ь":"Y","й":"y","ц":"ts","щ":"sht","ъ":"a","ь":"y"},"de":{"\xc4":"AE","\xe4":"ae","\xd6":"OE","\xf6":"oe","\xdc":"UE","\xfc":"ue","\xdf":"ss","%":"prozent","&":"und","|":"oder","∑":"summe","∞":"unendlich","♥":"liebe"},"es":{"%":"por ciento","&":"y","<":"menor que",">":"mayor que","|":"o","\xa2":"centavos","\xa3":"libras","\xa4":"moneda","₣":"francos","∑":"suma","∞":"infinito","♥":"amor"},"fr":{"%":"pourcent","&":"et","<":"plus petit",">":"plus grand","|":"ou","\xa2":"centime","\xa3":"livre","\xa4":"devise","₣":"franc","∑":"somme","∞":"infini","♥":"amour"},"pt":{"%":"porcento","&":"e","<":"menor",">":"maior","|":"ou","\xa2":"centavo","∑":"soma","\xa3":"libra","∞":"infinito","♥":"amor"},"uk":{"И":"Y","и":"y","Й":"Y","й":"y","Ц":"Ts","ц":"ts","Х":"Kh","х":"kh","Щ":"Shch","щ":"shch","Г":"H","г":"h"},"vi":{"Đ":"D","đ":"d"},"da":{"\xd8":"OE","\xf8":"oe","\xc5":"AA","\xe5":"aa","%":"procent","&":"og","|":"eller","$":"dollar","<":"mindre end",">":"st\xf8rre end"},"nb":{"&":"og","\xc5":"AA","\xc6":"AE","\xd8":"OE","\xe5":"aa","\xe6":"ae","\xf8":"oe"},"it":{"&":"e"},"nl":{"&":"en"},"sv":{"&":"och","\xc5":"AA","\xc4":"AE","\xd6":"OE","\xe5":"aa","\xe4":"ae","\xf6":"oe"}}');function replace(n,i){if("string"!=typeof n)throw Error("slugify: string argument expected");var o=t[(i="string"==typeof i?{replacement:i}:i||{}).locale]||{},u=void 0===i.replacement?"-":i.replacement,s=void 0===i.trim||i.trim,l=n.normalize().split("").reduce(function(t,n){var s=o[n];return void 0===s&&(s=e[n]),void 0===s&&(s=n),s===u&&(s=" "),t+s.replace(i.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"")},"");return i.strict&&(l=l.replace(/[^A-Za-z0-9\s]/g,"")),s&&(l=l.trim()),l=l.replace(/\s+/g,u),i.lower&&(l=l.toLowerCase()),l}return replace.extend=function(t){Object.assign(e,t)},replace},e.exports=t(),e.exports.default=t()},gY0P:function(e){(function(t){"use strict";function ValueError(e){var t=Error(e);return t.name="ValueError",t}function create(e){return function(t){var n=Array.prototype.slice.call(arguments,1),i=0,o="UNDEFINED";return t.replace(/([{}])\1|[{](.*?)(?:!(.+?))?[}]/g,function(t,u,s,l){if(null!=u)return u;var c=s;if(c.length>0){if("IMPLICIT"===o)throw ValueError("cannot switch from implicit to explicit numbering");o="EXPLICIT"}else{if("EXPLICIT"===o)throw ValueError("cannot switch from explicit to implicit numbering");o="IMPLICIT",c=String(i),i+=1}var d=c.split("."),f=(/^\d+$/.test(d[0])?d:["0"].concat(d)).reduce(function(e,t){return e.reduce(function(e,n){return null!=n&&t in Object(n)?["function"==typeof n[t]?n[t]():n[t]]:[]},[])},[n]).reduce(function(e,t){return t},"");if(null==l)return f;if(Object.prototype.hasOwnProperty.call(e,l))return e[l](f);throw ValueError('no transformer named "'+l+'"')})}}var n=create({});n.create=create,n.extend=function(e,n){var i=create(n);e.format=function(){var e=Array.prototype.slice.call(arguments);return e.unshift(this),i.apply(t,e)}},e.exports=n}).call(this,this)},lKJe:function(e,t,n){"use strict";/** * @license React * use-sync-external-store-shim.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var i=n("+OUp"),o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},u=i.useState,s=i.useEffect,l=i.useLayoutEffect,c=i.useDebugValue;function r(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!o(e,n)}catch(e){return!0}}var d="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),i=u({inst:{value:n,getSnapshot:t}}),o=i[0].inst,d=i[1];return l(function(){o.value=n,o.getSnapshot=t,r(o)&&d({inst:o})},[e,n,t]),s(function(){return r(o)&&d({inst:o}),e(function(){r(o)&&d({inst:o})})},[e]),c(n),n};t.useSyncExternalStore=void 0!==i.useSyncExternalStore?i.useSyncExternalStore:d},AB4A:function(e,t,n){"use strict";/** * @license React * use-sync-external-store-shim/with-selector.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var i=n("+OUp"),o=n("at8e"),u="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},s=o.useSyncExternalStore,l=i.useRef,c=i.useEffect,d=i.useMemo,f=i.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,n,i,o){var p=l(null);if(null===p.current){var h={hasValue:!1,value:null};p.current=h}else h=p.current;var g=s(e,(p=d(function(){function a(t){if(!l){if(l=!0,e=t,t=i(t),void 0!==o&&h.hasValue){var n=h.value;if(o(n,t))return s=n}return s=t}if(n=s,u(e,t))return n;var c=i(t);return void 0!==o&&o(n,c)?n:(e=t,s=c)}var e,s,l=!1,c=void 0===n?null:n;return[function(){return a(t())},null===c?void 0:function(){return a(c())}]},[t,n,i,o]))[0],p[1]);return c(function(){h.hasValue=!0,h.value=g},[g]),f(g),g}},at8e:function(e,t,n){"use strict";e.exports=n("lKJe")},ejks:function(e,t,n){"use strict";e.exports=n("AB4A")},"O/o9":function(e,t,n){"use strict";n.d(t,{Wx:function(){return useInView}});var i=n("+OUp"),o=Object.defineProperty,u=new Map,s=new WeakMap,l=0,c=void 0;function useInView({threshold:e,delay:t,trackVisibility:n,rootMargin:o,root:d,triggerOnce:f,skip:p,initialInView:h,fallbackInView:g,onChange:m}={}){var v;let[y,x]=i.useState(null),b=i.useRef(),[S,w]=i.useState({inView:!!h,entry:void 0});b.current=m,i.useEffect(()=>{let i;if(!p&&y)return i=function(e,t,n={},i=c){if(void 0===window.IntersectionObserver&&void 0!==i){let o=e.getBoundingClientRect();return t(i,{isIntersecting:i,target:e,intersectionRatio:"number"==typeof n.threshold?n.threshold:0,time:0,boundingClientRect:o,intersectionRect:o,rootBounds:o}),()=>{}}let{id:o,observer:d,elements:f}=function(e){let t=Object.keys(e).sort().filter(t=>void 0!==e[t]).map(t=>{var n;return`${t}_${"root"===t?(n=e.root)?(s.has(n)||(l+=1,s.set(n,l.toString())),s.get(n)):"0":e[t]}`}).toString(),n=u.get(t);if(!n){let i;let o=new Map,s=new IntersectionObserver(t=>{t.forEach(t=>{var n;let u=t.isIntersecting&&i.some(e=>t.intersectionRatio>=e);e.trackVisibility&&void 0===t.isVisible&&(t.isVisible=u),null==(n=o.get(t.target))||n.forEach(e=>{e(u,t)})})},e);i=s.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),n={id:t,observer:s,elements:o},u.set(t,n)}return n}(n),p=f.get(e)||[];return f.has(e)||f.set(e,p),p.push(t),d.observe(e),function(){p.splice(p.indexOf(t),1),0===p.length&&(f.delete(e),d.unobserve(e)),0===f.size&&(d.disconnect(),u.delete(o))}}(y,(e,t)=>{w({inView:e,entry:t}),b.current&&b.current(e,t),t.isIntersecting&&f&&i&&(i(),i=void 0)},{root:d,rootMargin:o,threshold:e,trackVisibility:n,delay:t},g),()=>{i&&i()}},[Array.isArray(e)?e.toString():e,y,d,o,f,p,n,g,t]);let E=null==(v=S.entry)?void 0:v.target,A=i.useRef();y||!E||f||p||A.current===E||(A.current=E,w({inView:!!h,entry:void 0}));let O=[x,S.inView,S.entry];return O.ref=O[0],O.inView=O[1],O.entry=O[2],O}i.Component},ECoa:function(e,t,n){"use strict";n.d(t,{A:function(){return Skeleton}});var i=n("+OUp");let o=i.createContext({});function Skeleton({count:e=1,wrapper:t,className:n,containerClassName:u,containerTestId:s,circle:l=!1,style:c,...d}){var f,p,h;let g=i.useContext(o),m={...d};for(let[e,t]of Object.entries(d))void 0===t&&delete m[e];let v={...g,...m,circle:l},y={...c,...function({baseColor:e,highlightColor:t,width:n,height:i,borderRadius:o,circle:u,direction:s,duration:l,enableAnimation:c=!0}){let d={};return"rtl"===s&&(d["--animation-direction"]="reverse"),"number"==typeof l&&(d["--animation-duration"]=`${l}s`),c||(d["--pseudo-element-display"]="none"),("string"==typeof n||"number"==typeof n)&&(d.width=n),("string"==typeof i||"number"==typeof i)&&(d.height=i),("string"==typeof o||"number"==typeof o)&&(d.borderRadius=o),u&&(d.borderRadius="50%"),void 0!==e&&(d["--base-color"]=e),void 0!==t&&(d["--highlight-color"]=t),d}(v)},x="react-loading-skeleton";n&&(x+=` ${n}`);let b=null!==(f=v.inline)&&void 0!==f&&f,S=[],w=Math.ceil(e);for(let t=0;te&&t===w-1){let t=null!==(p=n.width)&&void 0!==p?p:"100%",i=e%1,o="number"==typeof t?t*i:`calc(${t} * ${i})`;n={...n,width:o}}let o=i.createElement("span",{className:x,style:n,key:t},"‌");b?S.push(o):S.push(i.createElement(i.Fragment,{key:t},o,i.createElement("br",null)))}return i.createElement("span",{className:u,"data-testid":s,"aria-live":"polite","aria-busy":null===(h=v.enableAnimation)||void 0===h||h},t?S.map((e,n)=>i.createElement(t,{key:n},e)):S)}},VNqU:function(e,t,n){"use strict";n.d(t,{Pj:function(){return useStore},vt:function(){return create}});var i=n("oWg6"),o=n("+OUp"),u=n("ejks");let{useSyncExternalStoreWithSelector:s}=u;function useStore(e,t=e.getState,n){let i=s(e.subscribe,e.getState,e.getServerState||e.getState,t,n);return(0,o.useDebugValue)(i),i}let createImpl=e=>{"function"!=typeof e&&console.warn("[DEPRECATED] Passing a vanilla store will be unsupported in a future version. Instead use `import { useStore } from 'zustand'`.");let t="function"==typeof e?(0,i.y)(e):e,useBoundStore=(e,n)=>useStore(t,e,n);return Object.assign(useBoundStore,t),useBoundStore},create=e=>e?createImpl(e):createImpl},a5vB:function(e,t,n){"use strict";function shallow(e,t){if(Object.is(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(let[n,i]of e)if(!Object.is(i,t.get(n)))return!1;return!0}if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(let n of e)if(!t.has(n))return!1;return!0}let n=Object.keys(e);if(n.length!==Object.keys(t).length)return!1;for(let i=0;i{let t;let n=new Set,setState=(e,i)=>{let o="function"==typeof e?e(t):e;if(!Object.is(o,t)){let e=t;t=(null!=i?i:"object"!=typeof o)?o:Object.assign({},t,o),n.forEach(n=>n(t,e))}},getState=()=>t,i={setState,getState,subscribe:e=>(n.add(e),()=>n.delete(e)),destroy:()=>{console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),n.clear()}};return t=e(setState,getState,i),i},createStore=e=>e?createStoreImpl(e):createStoreImpl}}]);