"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4190],{"0Y4p":function(e,t,a){a.d(t,{M:function(){return MantineProvider}});var r=a("z/kP"),n=a("q1tI"),i=a("8vDj"),l=a("TfUb"),o=a("2451");let MantineProvider=e=>{var{children:t,locale:a,template:s="hb",isNotifications:c=!0,customStyleType:d=o.C.NONE}=e,h=(0,r._)(e,["children","locale","template","isNotifications","customStyleType"]);return(0,l.u)(a),n.createElement(i.Me,Object.assign({theme:(0,l.g)(a,s,d)},h),n.createElement(o.T,{variant:d},t,c&&n.createElement(l.N,null)))}},NjV8:function(e,t,a){a.d(t,{D:function(){return Dropdown}});var r=a("q1tI"),n=a("8vDj"),i=a("rBCA"),l=a("iBNF");let o=i.Z.div` --dropdown-padding: 12px 18px 12px 16px; position: relative; box-sizing: border-box; border: 1px solid ${l.r.colors.gray200}; background: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23595959' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A") no-repeat; background-position: right 16px center; border-radius: ${l.r.borderRadius}; &[data-disabled='true'], :disabled { background-color: #f2f2f2; cursor: not-allowed; } &[data-size='sm'] { font-size: 13px; line-height: 20px; } &[data-size='md'] { font-size: 14px; line-height: 21px; } &[data-size='lg'] { font-size: 16px; line-height: 24px; } &[data-has-icons='true'] { border: none; background: ${l.r.colors.gray100}; img, svg { display: inline-block; max-width: 16px; margin-right: 6px; } span { display: inline-block; vertical-align: middle; } &:hover { box-shadow: none; } > div { position: relative; display: flex; width: 100%; box-sizing: border-box; align-items: center; } > div::after { position: absolute; top: 50%; right: 12px; width: 10px; height: 8px; background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23595959' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A"); background-repeat: no-repeat; content: ''; transform: translateY(-50%); } } &:hover { box-shadow: 0 0 2px 2px ${e=>e.shadowColor}; } &[data-is-native='true'] { padding: var(--dropdown-padding); line-height: 24px; &:focus { box-shadow: 0px 0px 2px 2px ${e=>e.shadowColor}; } } `,s=i.Z.div` padding: var(--dropdown-padding); cursor: pointer; &.with-label { padding-top: 34px; padding-bottom: 12px; } &[data-dropdown-open] { padding: 11px 15px 11px 15px; border: 1px solid ${e=>e.color}; border-radius: ${l.r.borderRadius}; box-shadow: 0 0 2px 2px ${e=>e.shadowColor}; } `,c=i.Z.ul` position: absolute; top: 100%; /* right: 0; */ min-width: 100%; left: 0; display: block; margin-top: 4px; background: ${l.r.colors.white}; border-radius: ${l.r.borderRadius}; box-shadow: -1px 1px 2px rgba(67, 70, 74, 0.0001), -2px 2px 5px rgba(67, 86, 100, 0.123689); cursor: pointer; &[data-has-icons='true'] { border: 1px solid ${l.r.colors.gray200}; background: white; box-shadow: none; filter: drop-shadow(0px 10px 16px rgba(0, 0, 0, 0.04)); } `,d=i.Z.li` display: flex; padding: 12px 18px 12px 16px; &[data-disabled='true'] { cursor: not-allowed; color: #bfbfbf; & > * { pointer-events: none; } } &:hover, :active { background: ${l.r.colors.gray100}; } `,h=i.Z.div` max-width: 16px; margin-right: 8px; `,u=i.Z.div` position: absolute; top: 12px; left: 16px; pointer-events: none; `,Dropdown=({className:e,value:t,options:a,onChange:i=()=>void 0,id:l,placeholderIcon:p,placeholder:m,style:g,size:b="lg",groupedWithLabel:v,disabled:f,dropdownLabelTrackingAttributes:E={},isNativeSelect:w=!1})=>{let x=(0,n.rZ)(),[y,k]=r.useState(!1),showDropdown=()=>!f&&k(!y);if(w){let e="object"==typeof(null==t?void 0:t.value)&&t.value instanceof Date?t.value.toString():null==t?void 0:t.value;return r.createElement(o,{color:x.fn.primaryColor(),shadowColor:x.colors[x.primaryColor][2],as:"select","data-is-native":"true",value:e||void 0,disabled:f,onChange:e=>{if("string"==typeof e.target.value){let t=a.find(t=>t.value===e.target.value);t&&i(t)}}},m&&r.createElement("option",{value:m,disabled:!0,selected:!0},m),a.map(e=>r.createElement("option",{key:`${l}-${e.value}`,value:e.value,disabled:!!e.disabled&&e.disabled},e.label)))}return r.createElement(o,{color:x.fn.primaryColor(),shadowColor:x.colors[x.primaryColor][2],className:e,"data-dropdown-open":y||void 0,"data-size":b,id:l,"data-has-icons":!!p,style:g,onBlur:()=>k(!1),tabIndex:0,"data-disabled":f},!!v&&r.createElement(u,null,v),r.createElement(s,Object.assign({color:x.fn.primaryColor(),shadowColor:x.colors[x.primaryColor][2],onClick:showDropdown,className:v&&"with-label"},E),p," ",r.createElement("span",null,t&&t.value?t.label:m)),y&&r.createElement(c,{onClick:showDropdown,"data-has-icons":!!p},a.map(e=>r.createElement(d,{key:`${l}-${e.value}`,"data-selected":t&&t.value===e.value||void 0,onClick:()=>!e.disabled&&!f&&(null==i?void 0:i(e)),"data-disabled":!!e.disabled&&e.disabled},e.icon&&r.createElement(h,null,e.icon),e.label))))}},rPIz:function(e,t,a){a.d(t,{H:function(){return Heading}});var r=a("z/kP"),n=a("q1tI"),i=a("8vDj"),l=a("/kWL");let Heading=e=>{var{as:t,tag:a,color:o,fontWeight:s,dataEventCategory:c,dataEventAction:d,dataEventLabel:h}=e,u=(0,r._)(e,["as","tag","color","fontWeight","dataEventCategory","dataEventAction","dataEventLabel"]);let p=(0,i.rZ)();return n.createElement(l.T,Object.assign({as:t||a,color:o||p.colors.gray[8],"data-event-category":c,"data-event-action":d,"data-event-label":h,weight:"semibold"===s?"semiBold":"bold",size:a,"data-size":a,"data-font-weight":s||void 0},u))}},o31R:function(e,t,a){a.d(t,{O:function(){return OvulationForm}});var r,n,i=a("z/kP"),l=a("q1tI"),o=a("/npG"),s=a("mYVa"),c=a("iuhU"),d=a("8vDj"),h=a("cChf"),u=a("ZFu2"),p=a("Mp3Y"),m=a("FNss"),g=a("ndOt"),b=a("/kWL"),v=a("5kis"),f=a("hePw"),E=a("8PAx"),w=a("fkrl");let AvoidPregnancy=e=>{var{isMarryBaby:t,size:a=24}=e,r=(0,i._)(e,["isMarryBaby","size"]);let n=Object.assign({width:a,height:a},r);return t?l.createElement("svg",Object.assign({viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n),l.createElement("path",{d:"M16.5 27.133c1.298 0 2.596-.149 3.868-.447a9.15 9.15 0 0 0 6.818-6.818 16.94 16.94 0 0 0 0-7.736 9.15 9.15 0 0 0-6.818-6.818 16.94 16.94 0 0 0-7.736 0 9.15 9.15 0 0 0-6.818 6.818A17 17 0 0 0 5.367 16a.867.867 0 0 1-1.734 0c0-1.43.165-2.862.494-4.264a10.88 10.88 0 0 1 8.109-8.11 18.7 18.7 0 0 1 8.528 0 10.88 10.88 0 0 1 8.11 8.11 18.7 18.7 0 0 1 0 8.528 10.88 10.88 0 0 1-8.11 8.11 18.7 18.7 0 0 1-4.264.493.867.867 0 0 1 0-1.734",fill:"#3E3F58"}),l.createElement("path",{d:"M12.5 16a4 4 0 1 1 8 0 4 4 0 0 1-8 0",fill:"#fff"}),l.createElement("path",{d:"M11.633 16a4.867 4.867 0 1 1 9.734 0 4.867 4.867 0 0 1-9.734 0m4.867-3.133a3.133 3.133 0 1 0 0 6.266 3.133 3.133 0 0 0 0-6.266m-4 9.8a2.667 2.667 0 1 1-5.333 0 2.667 2.667 0 0 1 5.333 0",fill:"#3E3F58"}),l.createElement("path",{d:"M10.305 22.195c.26.26.26.683 0 .943l-1.91 1.91c-.36.36-.562.847-.562 1.355a3.25 3.25 0 0 1-1.796 2.907l-1.239.62a.667.667 0 1 1-.596-1.193l1.238-.62a1.92 1.92 0 0 0 1.06-1.714c0-.862.342-1.688.952-2.298l1.91-1.91c.26-.26.682-.26.943 0",fill:"#3E3F58"}),l.createElement("path",{d:"M3.874 4.788a1 1 0 0 1 1.414-1.414l23.099 23.098a1 1 0 1 1-1.415 1.415z",fill:"#E85388"})):l.createElement("svg",Object.assign({viewBox:"0 0 19 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n),l.createElement("g",{clipPath:"url(#clip0_1530_7251)"},l.createElement("path",{d:"M8.983 10.87a.23.23 0 0 1 .049-.16c.08-.114.156-.229.207-.36.1-.166.168-.348.233-.528.246-.668.397-1.36.508-2.062.036-.235.076-.471.09-.71.065-.511.101-1.024.095-1.541.004-.015.011-.03.011-.044a13 13 0 0 0-.089-1.62c-.023-.196-.093-.335-.298-.406-.293-.1-.48-.316-.568-.615a2.7 2.7 0 0 0-.217-.566c-.123-.222-.29-.391-.54-.47-.057-.018-.088-.016-.106.052q-.045.165-.073.336c-.005.044 0 .058.048.058q.122.005.244.017c.127.009.21.09.202.196-.011.111-.108.179-.239.166-.065-.007-.133-.009-.198-.016-.058-.008-.077.016-.067.072q.027.165.052.332c.006.043.031.053.07.053.078 0 .147-.03.218-.057.104-.042.2-.004.242.093.04.09.004.187-.093.235-.13.063-.27.113-.411.085a.23.23 0 0 0-.235.077c-.04-.084-.106-.146-.167-.211-.46-.475-.55-1.194-.235-1.82.18-.359.45-.627.828-.776A.4.4 0 0 0 8.69.595c.33-.317.734-.477 1.172-.55.641-.11 1.25-.024 1.819.3.41.233.728.566.942.983.131.253.188.535.246.814.16.762.233 1.538.293 2.313q.108 1.411.213 2.826c.055.712.13 1.422.24 2.128.066.428.175.846.26 1.27.097.479.039.941-.24 1.358a1.2 1.2 0 0 1-.517.428c-.163.05-.327.105-.491.155-.178.052-.302-.059-.268-.239a4.6 4.6 0 0 0 .077-.72 13.6 13.6 0 0 0-.133-2.225c-.03-.196-.055-.395-.087-.591-.07-.43-.151-.857-.257-1.28l-.015-.07a16 16 0 0 0-.282-1.03c-.012-.039-.025-.079-.076-.075-.038.003-.053.034-.058.07l-.146 1.105c-.05.219-.094.437-.158.652a5.5 5.5 0 0 1-.806 1.654l-.091.113c-.308.382-.654.719-1.094.95-.122.06-.177.048-.252-.063",fill:"#1B3250"}),l.createElement("path",{d:"M12.304 9.435c.1.737.154 1.477.133 2.224a4.6 4.6 0 0 1-.077.72c-.034.182.09.293.268.239q.246-.075.491-.155c.053.226.126.448.17.675q.09.452.129.912c.025.302.043.603.032.905q-.015.483-.065.964a14 14 0 0 1-.299 1.707c-.02.086-.045.17-.065.255-.02.09-.068.12-.16.12L8.789 18H7.781c-.111 0-.117-.011-.13-.124a3 3 0 0 0-.361-1.121c-.132-.235-.297-.448-.415-.692a3.14 3.14 0 0 1-.324-1.521c.233.07.418.001.571-.184q.236-.281.477-.559c.07-.08.136-.164.244-.193.315-.087.631-.166.94-.262.665-.207 1.324-.43 1.917-.804.251-.159.475-.344.595-.63.237-.564.415-1.147.592-1.733.085-.28.184-.55.417-.742",fill:"#2D87F3"}),l.createElement("path",{d:"M12.304 9.435c-.233.194-.33.462-.413.74-.177.585-.355 1.169-.592 1.733-.12.286-.344.471-.595.63-.593.375-1.254.597-1.916.804-.312.097-.628.177-.941.262-.11.031-.177.113-.244.193q-.24.277-.477.559c-.153.184-.34.253-.571.184a.87.87 0 0 1-.44-.54.64.64 0 0 1 .045-.503 1 1 0 0 0 .094-.31.47.47 0 0 1 .392-.405c.132-.03.269-.039.404-.053a.4.4 0 0 0 .114-.024c.115-.009.21-.069.31-.12.322-.167.646-.328.966-.497q.586-.308 1.192-.571a.78.78 0 0 0 .473-.524q.09-.305.177-.608c.047-.171.113-.337.14-.514a5.5 5.5 0 0 0 .806-1.654c.064-.215.108-.433.159-.652a.63.63 0 0 1 .342-.054c.08.013.156.036.237.054.105.423.187.85.256 1.28q.039.292.082.59m-4.19-5.947a.23.23 0 0 1 .235-.076c.142.025.282-.022.411-.086.097-.047.133-.143.093-.234-.042-.095-.138-.133-.242-.093-.071.027-.14.056-.218.056-.039 0-.062-.009-.07-.053q-.024-.165-.052-.33-.017-.082.067-.074c.066.008.133.01.198.017.131.013.228-.053.239-.166.01-.105-.073-.187-.202-.196-.082-.006-.162-.015-.244-.017-.046 0-.053-.014-.047-.058.016-.115.043-.224.072-.337.017-.067.05-.069.106-.05.25.078.417.247.54.469.1.178.16.371.217.566.087.298.273.515.568.615.206.07.275.21.298.406.066.539.091 1.08.09 1.62 0 .014-.008.029-.011.043-.272-.016-.525.075-.783.133a1.4 1.4 0 0 1-.513.031.5.5 0 0 1-.433-.36 2.3 2.3 0 0 1-.091-.46c.154-.024.309-.048.451-.124.1-.055.135-.148.09-.242a.18.18 0 0 0-.24-.084 1 1 0 0 1-.376.087 1.3 1.3 0 0 0-.326-.482c-.096-.093-.096-.215-.013-.319.06-.07.126-.134.186-.202",fill:"#FCCAAF"}),l.createElement("path",{d:"M10.069 7.052c-.013.239-.053.473-.09.71-.11.7-.261 1.394-.507 2.062-.066.18-.135.362-.233.528a.46.46 0 0 0-.235-.4c-.328-.21-.544-.508-.599-.898a.86.86 0 0 1 .242-.742c.237-.244.504-.459.761-.683.188-.162.37-.327.555-.493.033-.031.064-.064.106-.084m.349 2.818c-.025.176-.093.341-.14.513-.057.204-.119.404-.177.608a.78.78 0 0 1-.473.524q-.607.261-1.192.571c-.32.17-.646.33-.966.497-.099.051-.195.111-.31.12.066-.15.177-.266.277-.387.273-.334.615-.596.932-.881q.306-.28.611-.565c.077.11.13.124.251.06.439-.229.787-.567 1.094-.95z",fill:"#2D87F3"}),l.createElement("path",{d:"M8.271 4.49a1 1 0 0 0 .377-.088.183.183 0 0 1 .239.084c.047.095.01.187-.09.242-.14.076-.296.1-.45.124z",fill:"#FF6F4D"}),l.createElement("path",{d:"M11.96 7.563c-.079-.018-.157-.041-.237-.054a.65.65 0 0 0-.342.054l.146-1.104c.005-.037.02-.068.058-.071.05-.006.063.034.076.074q.159.511.282 1.03.01.036.017.071",fill:"#2D87F3"}),l.createElement("path",{d:"M9.834 1.004a7.996 7.996 0 1 0 0 15.992 7.996 7.996 0 0 0 0-15.992M9.465 2.26c1.606-.09 3.191.4 4.467 1.378a.282.282 0 0 1 .03.424l-9.066 9.066a.283.283 0 0 1-.424-.03A6.749 6.749 0 0 1 9.465 2.26m.369 13.49a6.72 6.72 0 0 1-4.016-1.325.284.284 0 0 1-.032-.426l9.046-9.047a.283.283 0 0 1 .427.032A6.75 6.75 0 0 1 9.834 15.75",fill:"#F44D2C"}),l.createElement("path",{d:"M10.159 5.509c.005.517 2.997-1.054 2.997-1.054s-.133-1.55-.293-2.313c-.058-.279-.114-.56-.245-.814a2.35 2.35 0 0 0-.943-.983c-.568-.324-1.178-.41-1.818-.3-.44.073-.843.233-1.173.55a.4.4 0 0 1-.147.085c-.379.15-.648.417-.828.776-.315.626-.224 1.345.235 1.82.062.065.127.127.167.21a.23.23 0 0 1 .235-.076c.142.028.282-.022.411-.085.097-.048.133-.144.093-.235-.042-.097-.138-.135-.242-.093-.071.027-.14.057-.218.057-.039 0-.064-.01-.07-.053q-.024-.165-.052-.332c-.01-.056.009-.08.067-.072.066.007.133.009.198.016.131.013.228-.055.239-.166.009-.105-.075-.187-.202-.196h-.007q-.118-.013-.237-.017c-.047 0-.053-.014-.047-.058.016-.114.043-.225.072-.336.019-.068.05-.07.106-.051.25.078.417.247.54.47.099.178.16.37.217.565.087.299.275.515.568.615.206.071.275.21.298.406.066.539.091 1.078.09 1.62z",fill:"#1B3250"}),l.createElement("path",{d:"M8.107 3.488a.23.23 0 0 1 .235-.076c.142.025.282-.022.411-.086.097-.047.133-.143.093-.234-.042-.095-.138-.133-.242-.093-.07.027-.14.056-.218.056-.038 0-.062-.009-.07-.053q-.024-.165-.052-.33-.017-.082.067-.074c.066.008.133.01.199.017.13.013.227-.053.238-.166.01-.105-.073-.187-.202-.196-.082-.006-.162-.015-.244-.017-.045 0-.053-.014-.047-.058.016-.115.043-.224.073-.337.016-.067.049-.069.105-.05.25.078.417.247.54.469.1.178.16.371.217.566.088.298.273.515.568.615.206.07.275.21.298.406.066.539.091 1.08.09 1.62 0 .014-.008.029-.011.043-.271-.016-.524.075-.783.133a1.4 1.4 0 0 1-.513.031.5.5 0 0 1-.433-.36 2.3 2.3 0 0 1-.091-.46c.154-.024.31-.048.451-.124.1-.055.135-.148.09-.242a.18.18 0 0 0-.24-.084 1 1 0 0 1-.376.087 1.3 1.3 0 0 0-.326-.482c-.096-.093-.096-.215-.012-.319.06-.07.125-.134.185-.202",fill:"#FCCAAF"}),l.createElement("path",{d:"M8.265 4.49a1 1 0 0 0 .376-.088.183.183 0 0 1 .239.084c.047.095.01.187-.09.242-.14.076-.296.1-.45.124z",fill:"#FF6F4D"})),l.createElement("defs",null,l.createElement("clipPath",{id:"clip0_1530_7251"},l.createElement("path",{fill:"#fff",d:"M.834 0h18v18h-18z"}))))},TryConceive=e=>{var{isMarryBaby:t,size:a=24}=e,r=(0,i._)(e,["isMarryBaby","size"]);let n=Object.assign({width:a,height:a},r);return t?l.createElement("svg",Object.assign({viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n),l.createElement("path",{d:"M14.018 9.155c-1.422 1.066-1.777 1.777-1.067 2.843.57.853 2.133 2.488 3.2 3.554-.712 2.133-6.753 1.422-6.753 1.422l-.711 1.421-1.067 3.199c-1.066 0-3.198.142-3.198.71 0 .712 2.843 2.844 3.554 2.844.569 0 1.658-2.132 2.132-3.199 1.54 1.777 5.474 4.905 8.885 3.199 4.265-2.132 6.398-5.331 5.687-7.819-.274-.959-.284-1.495-.132-1.813a4.62 4.62 0 0 0 3.438-2.3c.715-1.108.78-2.417.397-3.652-.41-1.663-1.15-2.955-2.637-3.252-3.423-.685-6.397 1.016-6.397 4.62a4.6 4.6 0 0 0 .971 2.834c-1.184.316-2.414-.236-6.302-4.611",fill:"#fff"}),l.createElement("path",{d:"M29.3 10.825A5.235 5.235 0 0 0 24.077 5.6c-2.876 0-5.245 2.348-5.245 5.224 0 .36.275.634.634.634.36 0 .635-.275.635-.634 0-2.179 1.776-3.955 3.976-3.955s3.954 1.776 3.954 3.955a3.947 3.947 0 0 1-3.531 3.933.8.8 0 0 0-.381-.021c-.042.021-.085.021-.106.042a.64.64 0 0 0-.57.635c0 .254.147.465.359.57.105.487.148.995.148 1.502a7.175 7.175 0 0 1-7.17 7.17 7.22 7.22 0 0 1-5.773-2.898l-.02-.021c.507-.317 1.902-.17 2.41-.106a.637.637 0 0 0 .698-.57.637.637 0 0 0-.571-.699c-1.184-.148-3.384-.38-3.891 1.164-.064.19-.127.401-.19.592-.318.994-.74 2.347-1.27 2.58-.634.063-2.918-1.587-3.172-2.284.212-.275 1.248-.444 2.623 0 .169.063.36.042.507-.064s.275-.232.296-.423c.571-2.707.74-3.278.74-3.299v-.021c.212-.888.867-.973 2.538-.93 1.523.042 3.384.084 4.674-1.46a7.8 7.8 0 0 0 3.235.994h.043a.643.643 0 0 0 .634-.592c.021-.36-.232-.655-.57-.677-4.4-.36-6.028-4.652-6.091-4.842 0 0 0-.022-.022-.022-.274-.634-.063-1.036.19-1.163.17-.105.445-.105.614.17 1.248 2.008 2.432 3.32 3.574 4.018.021 0 .042.02.042.02.677.34 2.052.762 3.596-.295.296-.19.359-.592.169-.889-.19-.296-.592-.36-.889-.169-.951.635-1.776.487-2.305.233-.93-.571-1.988-1.777-3.108-3.574-.508-.783-1.48-1.036-2.284-.613-.762.401-1.312 1.438-.762 2.77.085.254.93 2.368 2.898 3.934a2.7 2.7 0 0 1-.614.486c-.02 0-.02 0-.042-.021-8.205-2.517-8.86-8.586-8.924-9.77a.61.61 0 0 0-.656-.614.63.63 0 0 0-.592.656c.042 1.226.655 7.084 7.74 10.172h-.508c-1.48-.042-3.34-.085-3.806 1.882-.021.106-.17.677-.613 2.707-1.587-.36-3.194-.127-3.574 1.036-.19.55.126 1.206.972 2.01.571.549 2.263 1.902 3.447 1.902.149 0 .297-.02.423-.063.952-.36 1.438-1.544 1.861-2.813a8.48 8.48 0 0 0 6.324 2.855c4.652 0 8.438-3.785 8.438-8.438 0-.507-.043-1.015-.148-1.522a5.264 5.264 0 0 0 4.23-5.16",fill:"#3E3F58"}),l.createElement("rect",{x:"23.005",y:"8.444",width:"1.942",height:"1.422",rx:".711",transform:"rotate(34.869 23.005 8.444)",fill:"#FB8C00"})):l.createElement("svg",Object.assign({viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n),l.createElement("path",{d:"M13.996 8.62v3.221c1.054.035 1.682-.705 1.845-1.467.209-.977-.444-2.041-1.845-1.754",fill:"#FEAA96"}),l.createElement("path",{d:"M14.055 10.67a.21.21 0 0 1-.2-.277c.166-.508.594-.69.92-.644a.21.21 0 1 1-.059.418c-.163-.023-.37.079-.461.358a.21.21 0 0 1-.2.145",fill:"#FF886C"}),l.createElement("path",{d:"M2.16 10.374c.162.762.79 1.502 1.844 1.467V8.62c-1.4-.287-2.054.777-1.845 1.754",fill:"#FEAA96"}),l.createElement("path",{d:"M3.98 10.67a.21.21 0 0 1-.2-.145c-.093-.28-.299-.381-.462-.358a.21.21 0 0 1-.21-.102.21.21 0 0 1 .152-.316c.326-.046.753.136.92.644a.21.21 0 0 1-.2.277",fill:"#FF886C"}),l.createElement("path",{d:"M9 15.831c1.325 0 3.365-.561 4.534-2.292 1.057-1.563.436-4.144.462-5.169.053-2.079-1.447-4.78-4.996-4.78s-5.05 2.7-4.996 4.78c.026 1.025-.595 3.606.461 5.169 1.17 1.73 3.21 2.292 4.535 2.292",fill:"#FECCBF"}),l.createElement("path",{d:"M6.881 10.535a.56.56 0 1 0 0-1.121.56.56 0 0 0 0 1.121",fill:"#A35961"}),l.createElement("path",{d:"M7.114 9.777a.21.21 0 0 1-.188-.116c-.049-.097-.205-.122-.27-.129-.225-.022-.44.056-.477.104a.211.211 0 1 1-.347-.241c.149-.215.53-.306.831-.285.306.021.533.15.64.362a.21.21 0 0 1-.189.305",fill:"#8C2F39"}),l.createElement("path",{d:"M11.119 10.535a.56.56 0 1 0 0-1.121.56.56 0 0 0 0 1.121",fill:"#A35961"}),l.createElement("path",{d:"M9 13.329c.777 0 .994-.61 1.046-.92.031-.185-.132-.35-.34-.35H8.293c-.208 0-.371.165-.34.35.052.31.27.92 1.047.92",fill:"#D84023"}),l.createElement("path",{d:"M10.763 7.94a.2.2 0 0 1-.107-.03.33.33 0 0 0-.18-.029.21.21 0 1 1-.07-.416.74.74 0 0 1 .464.081.211.211 0 0 1-.107.393m-3.526 0a.21.21 0 0 1-.107-.393.74.74 0 0 1 .463-.08.211.211 0 1 1-.07.415.3.3 0 0 0-.18.029.2.2 0 0 1-.106.029",fill:"#FEAA96"}),l.createElement("path",{d:"M10.887 9.777a.21.21 0 0 1-.189-.305c.107-.212.334-.34.64-.362.3-.021.682.07.83.285a.211.211 0 0 1-.346.24c-.038-.048-.252-.125-.477-.103-.065.007-.221.032-.27.129a.21.21 0 0 1-.188.116",fill:"#8C2F39"}),l.createElement("path",{d:"M9.284 11.02a.21.21 0 0 1-.22-.15.07.07 0 0 0-.063-.05H9a.07.07 0 0 0-.064.05.21.21 0 0 1-.22.15.22.22 0 0 1-.192-.244c.018-.221.213-.379.476-.379.264 0 .458.158.476.38a.22.22 0 0 1-.192.244",fill:"#FEAA96"}),l.createElement("path",{d:"M9.55 12.06h-1.1l-.003.054a.552.552 0 1 0 1.102-.055m2.041-.774-.29.53a.1.1 0 0 1-.041.04l-.53.29a.1.1 0 0 0-.053.09.1.1 0 0 0 .053.09l.53.29q.026.015.04.04l.29.53a.103.103 0 0 0 .18 0l.29-.53a.1.1 0 0 1 .041-.04l.53-.29a.103.103 0 0 0 0-.18l-.53-.29a.1.1 0 0 1-.04-.04l-.29-.53a.1.1 0 0 0-.143-.039.1.1 0 0 0-.038.04",fill:"#fff"}),l.createElement("path",{d:"M11.055 2.193c-.147-.422-.524-.698-1.01-.738a.9.9 0 0 0-.535.154c-.206.155-.37.358-.478.592a.036.036 0 0 1-.066 0 1.55 1.55 0 0 0-.475-.592.9.9 0 0 0-.537-.154c-.485.04-.862.316-1.008.739a1.03 1.03 0 0 0 .259 1.09c.479.447 1.156.518 1.543.518h.502c.387 0 1.066-.07 1.545-.517a1.03 1.03 0 0 0 .26-1.092M8.79 3.243a.13.13 0 0 1-.134.135c-.316-.012-.821-.084-1.163-.402a.61.61 0 0 1-.148-.644.66.66 0 0 1 .438-.417c.242-.078.404-.006.456.033.446.33.539.932.551 1.295m1.718-.267c-.342.319-.847.39-1.163.402a.13.13 0 0 1-.135-.135c.013-.362.105-.964.551-1.295a.47.47 0 0 1 .25-.073c.318.027.554.193.645.457a.61.61 0 0 1-.149.644",fill:"#2D87F3"}),l.createElement("path",{d:"M8.998 3.338a.21.21 0 0 1 .122.383l-.04.028c-.16.118-.957.76-.991 1.758-.027.78.403 1.132.814 1.202.367.062.831-.096.985-.59a.415.415 0 0 0-.211-.52c-.136-.069-.32-.076-.425.064a.211.211 0 0 1-.337-.253c.215-.287.607-.363.954-.186a.836.836 0 0 1 .422 1.02 1.28 1.28 0 0 1-1.458.88c-.56-.095-1.202-.58-1.166-1.631.046-1.334 1.17-2.093 1.222-2.125a.2.2 0 0 1 .109-.03",fill:"#BA8288"}))},x=(0,l.createContext)({});var y=(0,o.k)(e=>({inputRightSection:{fontSize:(0,s.h)(13),lineHeight:(0,s.h)(24),color:e.colors.gray[4],justifyContent:"flex-end",paddingRight:8}}));let DefaultLayout=e=>{var t=(0,i._)(e,[]);let{t:a}=(0,v.u)(),{currentUrl:r,submitProps:n,form:o,calculatingMethods:s,isMobile:d}=(0,l.useContext)(x),{classes:h={}}=(0,l.useContext)(f.C),{classes:u}=y(void 0,{name:"OvulationTool__DefaultLayout"});return l.createElement(E.H,Object.assign({formLayout:"default"},t),l.createElement(E.H.FormRow,null,l.createElement(E.H.Control,null,l.createElement(E.H.ChipGroup,Object.assign({data:s,label:a("dueDatePage.calculationMethod"),isMobile:d},o.getInputProps("calculatorType"))))),l.createElement(E.H.FormRow,null,l.createElement(g.D,Object.assign({placeholder:"DD/MM/YYYY",popoverProps:{withinPortal:!0},label:l.createElement(b.T,{size:"p2",weight:"semiBold"},` (${a("dueDatePage.lastPeriod.lastPeriodLabel")})`),maxDate:new Date},o.getInputProps("lastPeriodDate")))),l.createElement(E.H.FormRow,null,l.createElement(m.I.Number,Object.assign({label:l.createElement(b.T,{size:"p2",weight:"semiBold"},a("ovulationPage.cycleLength")),rightSection:a("ovulationPage.dayUnit"),min:21,max:45,defaultValue:1},o.getInputProps("cycleLength"),{classNames:{rightSection:u.inputRightSection}}))),l.createElement(E.H.FormRow,null,l.createElement(m.I.Number,Object.assign({label:l.createElement(b.T,{size:"p2",weight:"semiBold"},a("ovulationPage.periodDuration")),rightSection:a("ovulationPage.dayUnit"),min:1,max:15,defaultValue:1},o.getInputProps("periodLength"),{classNames:{rightSection:u.inputRightSection}}))),l.createElement(E.H.FormRow,{className:h.submitWrapper},l.createElement(E.H.Submit,Object.assign({type:"submit",className:(0,c.default)("due-date-calculate-button",h.submitBtn),dataEventCategory:"Health Tool",dataEventAction:"Ovulation",dataEventLabel:r},n),a("dueDatePage.lastPeriod.calculate"))))},InlineLayout=e=>{var t=(0,i._)(e,[]);let{t:a}=(0,v.u)(),{currentUrl:r,submitProps:n,form:o,calculatingMethods:s}=(0,l.useContext)(x),{classes:d={}}=(0,l.useContext)(f.C);return l.createElement(E.H,Object.assign({formLayout:"inline"},t),l.createElement(E.H.FormRow,null,l.createElement(E.H.BorderInlineControl,{label:a("dueDatePage.calculationMethod"),direction:"column",width:"100%"},l.createElement(E.H.ChipGroup,Object.assign({data:s},o.getInputProps("calculatorType"))))),l.createElement(E.H.FormRow,null,l.createElement(E.H.BorderInlineControl,{label:a("dueDatePage.lastPeriod.lastPeriodLabel")},l.createElement(g.D,Object.assign({placeholder:"DD/MM/YYYY",popoverProps:{withinPortal:!0},maxDate:new Date},o.getInputProps("lastPeriodDate"))))),l.createElement(E.H.FormRow,null,l.createElement(E.H.BorderInlineControl,{label:a("ovulationPage.cycleLength")+" "+a("ovulationPage.dayUnit")},l.createElement(m.I.Number,Object.assign({min:21,max:45,defaultValue:1},o.getInputProps("cycleLength"),{error:null}))),o.errors.cycleLength&&l.createElement(E.H.Error,null,o.errors.cycleLength)),l.createElement(E.H.FormRow,null,l.createElement(E.H.BorderInlineControl,{label:a("ovulationPage.periodDuration")+" "+a("ovulationPage.dayUnit")},l.createElement(m.I.Number,Object.assign({min:1,max:15,defaultValue:1},o.getInputProps("periodLength"),{error:null}))),o.errors.periodLength&&l.createElement(E.H.Error,null,o.errors.periodLength)),l.createElement(E.H.FormRow,{className:d.submitWrapper},l.createElement(E.H.Submit,Object.assign({type:"submit",className:(0,c.default)("due-date-calculate-button",d.submitBtn),dataEventCategory:"Health Tool",dataEventAction:"Ovulation",dataEventLabel:r},n),a("dueDatePage.lastPeriod.calculate"))))},MbLayout=e=>{var t=(0,i._)(e,[]);let{t:a}=(0,v.u)(),{currentUrl:r,submitProps:n,form:o,calculatingMethods:s}=(0,l.useContext)(x);return l.createElement(E.H,Object.assign({formLayout:"inline"},t),l.createElement(E.H.Control,null,l.createElement(m.I.Wrapper,{label:l.createElement(b.T,{size:"p4",sx:{fontWeight:"normal"}},a("dueDatePage.calculationMethod"))},l.createElement(E.H.ChipGroup,Object.assign({data:s},o.getInputProps("calculatorType"))))),l.createElement(E.H.BorderBoxControl,{label:a("dueDatePage.lastPeriod.lastPeriodLabel"),rightSection:l.createElement(w.Z,null)},l.createElement(g.D,Object.assign({placeholder:"DD/MM/YYYY",popoverProps:{withinPortal:!0},maxDate:new Date,rightSection:null},o.getInputProps("lastPeriodDate")))),l.createElement(E.H.BorderBoxControl,{label:a("ovulationPage.cycleLength"),rightSection:a("ovulationPage.dayUnit")},l.createElement(m.I.Number,Object.assign({min:21,max:45,defaultValue:1},o.getInputProps("cycleLength")))),o.errors.cycleLength&&l.createElement(E.H.Error,null,o.errors.cycleLength),l.createElement(E.H.BorderBoxControl,{label:a("ovulationPage.periodDuration"),rightSection:a("ovulationPage.dayUnit")},l.createElement(m.I.Number,Object.assign({min:1,max:15,defaultValue:1},o.getInputProps("periodLength")))),o.errors.periodLength&&l.createElement(E.H.Error,null,o.errors.periodLength),l.createElement(E.H.Submit,Object.assign({type:"submit",className:"due-date-calculate-button",dataEventCategory:"Health Tool",dataEventAction:"Ovulation",dataEventLabel:r},n),a("dueDatePage.lastPeriod.calculate")))};(r=n||(n={}))[r.trackPeriod=0]="trackPeriod",r[r.conceive=1]="conceive",r[r.avoidPregnancy=2]="avoidPregnancy";let OvulationForm=e=>{var{formLayout:t="default",submitProps:a,currentUrl:r,isMobile:o,onSubmit:s}=e,c=(0,i._)(e,["formLayout","submitProps","currentUrl","isMobile","onSubmit"]);let m=(0,d.rZ)(),{t:g}=(0,v.u)(),b="mb"===m.other.template,f=(0,h.c)({initialValues:{calculatorType:String(n.trackPeriod),periodLength:7,cycleLength:28,lastPeriodDate:new Date},validate:{periodLength:(0,u.U)(g("validation.error.requiredField")),cycleLength:(0,u.U)(g("validation.error.requiredField"))}}),E=Object.assign({onSubmit:f.onSubmit(s)},c),w=[{label:g("ovulationPage.trackPeriod"),value:n.trackPeriod,icon:l.createElement(p.L,null)},{label:g("ovulationPage.conceive"),value:n.conceive,icon:l.createElement(TryConceive,null)},{label:g("ovulationPage.avoidPregnancy"),value:n.avoidPregnancy,icon:l.createElement(AvoidPregnancy,null)}];return l.createElement(x.Provider,{value:{submitProps:a,currentUrl:r,form:f,isMobile:o,calculatingMethods:w}},"inline"===t?l.createElement(InlineLayout,Object.assign({},E)):b?l.createElement(MbLayout,Object.assign({formLayout:t},E)):l.createElement(DefaultLayout,Object.assign({},E)))}},"3uEO":function(e,t,a){a.d(t,{C:function(){return CardLink}});var r=a("z/kP"),n=a("q1tI"),i=a("8vDj"),l=a("rPIz"),o=a("/kWL"),s=a("EJrp"),c=a("rBCA"),d=a("IQVP"),h=a("6JAH");let u=c.Z.div` .link-info-container { padding: 0.5rem 1rem; background: ${e=>e.color||"#f4faff"}; } .link-image-wrapper { position: relative; overflow: hidden; width: 100%; padding-top: min(280px, 56.25%); .link-image-blur { position: absolute; top: 50%; left: 50%; width: 110%; height: 110%; /* Add the blur effect */ -webkit-filter: blur(8px); filter: blur(8px); object-fit: cover; object-position: center; opacity: 0.8; transform: translate(-50%, -50%); } .link-image { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: contain; object-position: center; } } a { text-decoration: none; } &[data-is-marrybaby='true'] { overflow: hidden; border-radius: 1rem; .link-info-container { padding-bottom: 1rem; p { color: #2661ad; } .link-logo { max-width: 2rem; height: 13px; margin-right: 4px; object-fit: contain; vertical-align: middle; } } .link-image-wrapper { padding-top: min(360px, 56.25%); .link-image { object-fit: cover; } } } `,CardLink=({title:e,url:t,image:a,logo:c,className:p,style:m,noRefetch:g})=>{let{data:{locale:b,env:{isMarryBaby:v}}}=(0,n.useContext)(s.T),[f,E]=(0,n.useState)(!1),w=(0,i.rZ)(),x=(0,n.useRef)(g);x.current=g;let[y,k]=(0,n.useState)(null);(0,n.useEffect)(()=>{(0,r.a)(void 0,void 0,void 0,function*(){if(!x.current){if(!t)return k(null);k(e=>Object.assign(Object.assign({},e),{isFetching:!0})),(0,s.c)((0,s.f)(d.yy.FETCH_PREVIEW,{_locale:b}),"POST",{data:{link:t},headers:{"Content-Type":"application/json"}}).then(e=>{var a,r,n;E(!1),k({title:null===(a=null==e?void 0:e.data)||void 0===a?void 0:a.title,url:t,image:(null===(r=null==e?void 0:e.data)||void 0===r?void 0:r.image)||(null===(n=null==e?void 0:e.data)||void 0===n?void 0:n.logo)})}).catch(()=>{k(null)})}})},[t]);let C=(null==y?void 0:y.image)||a,P=(null==y?void 0:y.title)||e,O=(null==y?void 0:y.logo)||c,S=(null==y?void 0:y.url)||t,I=S.replace("http://","").replace("https://","").split(/[/?#]/),N=I[0],T=(0,n.useRef)(!1);return n.createElement(u,{"data-is-marrybaby":v,className:`${p} no-replace-click`,style:m,color:w.colors[w.primaryColor][0]},n.createElement("a",{href:S,target:"_blank",rel:"noreferrer"},C&&n.createElement("div",{className:"link-image-wrapper"},!v&&n.createElement("img",{className:"link-image-blur",src:C,onError:e=>{T.current||(T.current=!0,e.currentTarget.src=h.a)},loading:"lazy"}),n.createElement("img",{className:"link-image",src:C,onError:e=>{T.current||(T.current=!0,e.currentTarget.src=h.a)},loading:"lazy"})),n.createElement("div",{className:"link-info-container"},n.createElement(o.T,{size:"n1"},v&&O&&!f&&n.createElement("img",{className:"link-logo",src:O,onError:()=>E(!0),loading:"lazy"}),N),n.createElement(l.H,{tag:"h6"},P))))}},Gut8:function(e,t,a){a.d(t,{D:function(){return Drawer}});var r=a("q1tI"),n=a("t/pd"),i=a("HMwR"),l=a("AeFk"),o=a("rBCA"),s=a("iBNF"),c=a("h5Ih"),d=a("/kWL");let h="600ms",generateStyleBasedOnPlacement=(e,t)=>{switch(e){case"top":return l.iv` top: 0; width: 100%; border-radius: 0px 0px 6px 6px; ${t?l.iv` animation: ${c.a} ${h} ease-in-out forwards; `:null} &.slideOut { animation: ${c.d} ${h} ease-in-out forwards; } `;case"right":return l.iv` right: 0; height: 100%; min-width: 300px; border-radius: 6px 0px 0px 6px; ${t?l.iv` animation: ${c.c} ${h} ease-in-out forwards; `:null} &.slideOut { animation: ${c.g} ${h} ease-in-out forwards; } `;case"bottom":return l.iv` bottom: 0; width: 100%; border-radius: 6px 6px 0px 0px; ${t?l.iv` animation: ${c.s} ${h} ease-in-out forwards; `:null} &.slideOut { animation: ${c.e} ${h} ease-in-out forwards; } `;case"left":return l.iv` left: 0; height: 100%; min-width: 300px; border-radius: 0px 6px 6px 0px; ${t?l.iv` animation: ${c.b} ${h} ease-in-out forwards; `:null} &.slideOut { animation: ${c.f} ${h} ease-in-out forwards; } `;default:return l.iv` left: 0; height: 100%; min-width: 300px; border-radius: 0px 6px 6px 0px; ${t?l.iv` animation: ${c.s} ${h} ease-in-out forwards; `:null} &.slideOut { animation: ${c.e} ${h} ease-in-out forwards; } `}},u=o.Z.div` position: fixed; inset: 0; z-index: ${s.r.zIndexes.drawer}; pointer-events: ${e=>e.open?"auto":"none"}; `,p=o.Z.div` position: fixed; z-index: 300; background: #ffffff; visibility: ${e=>e.open?"visible":"hidden"}; max-height: calc(100vh - 100px); display: flex; flex-direction: column; .title { display: flex; align-items: center; justify-content: space-between; padding: 16px; ${e=>e.hasTitle?l.iv` border-bottom: 1px solid ${s.r.colors.neutral100}; `:null} } .close-button { margin-left: auto; } ${e=>generateStyleBasedOnPlacement(e.placement,e.open)} `,m=o.Z.div` min-height: 200px; padding: 16px; overflow-y: auto; `,g=o.Z.div` position: fixed; inset: 0; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; overflow-x: hidden; overflow-y: auto; outline: 0; background-color: rgba(38, 38, 38, 0.3); z-index: 1; &[data-open='false'] { visibility: hidden; pointer-events: none; } &[data-open='true'] { visibility: visible; pointer-events: auto; } `,Backdrop=({open:e=!1,onClickOutside:t})=>r.createElement(g,{"data-open":e,onClick:t}),Drawer=({children:e,title:t,onClose:a,open:l=!1,placement:o="left",destroyOnClose:s=!1,isPropagationEvent:c=!0,className:h})=>{let g=(0,r.useRef)();(0,r.useEffect)(()=>((0,i.t)(l),()=>(0,i.t)(!1)),[l]);let onCloseDrawer=()=>{g.current.classList.add("slideOut"),setTimeout(()=>{a()},800)};return!l&&s?null:r.createElement(n.h,null,r.createElement(u,{className:h,open:l},r.createElement(Backdrop,{open:l,onClickOutside:onCloseDrawer}),r.createElement(p,{open:l,placement:o,ref:g,hasTitle:!!t},r.createElement("div",{className:"title"},t&&r.createElement(d.T,{size:"s2",weight:"semiBold"},t),r.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",className:"close-button",onClick:onCloseDrawer},r.createElement("path",{d:"M5.99007 4.99067C5.79114 4.99072 5.59674 5.0501 5.43173 5.16121C5.26672 5.27233 5.1386 5.43013 5.06374 5.61444C4.98889 5.79875 4.9707 6.0012 5.0115 6.1959C5.05231 6.39061 5.15025 6.56872 5.29281 6.70747L10.5858 12.0004L5.29281 17.2934C5.19684 17.3855 5.12021 17.4959 5.06743 17.618C5.01464 17.7402 4.98676 17.8716 4.9854 18.0046C4.98405 18.1377 5.00926 18.2697 5.05954 18.3928C5.10983 18.516 5.1842 18.6279 5.27827 18.722C5.37235 18.8161 5.48426 18.8904 5.60743 18.9407C5.73061 18.991 5.86259 19.0162 5.99563 19.0149C6.12867 19.0135 6.2601 18.9856 6.38223 18.9328C6.50436 18.8801 6.61473 18.8034 6.70687 18.7075L11.9998 13.4145L17.2928 18.7075C17.385 18.8034 17.4953 18.8801 17.6175 18.9328C17.7396 18.9856 17.871 19.0135 18.0041 19.0149C18.1371 19.0162 18.2691 18.991 18.3922 18.9407C18.5154 18.8904 18.6273 18.8161 18.7214 18.722C18.8155 18.6279 18.8899 18.516 18.9401 18.3928C18.9904 18.2697 19.0156 18.1377 19.0143 18.0047C19.0129 17.8716 18.985 17.7402 18.9323 17.618C18.8795 17.4959 18.8028 17.3855 18.7069 17.2934L13.4139 12.0004L18.7069 6.70747C18.8514 6.567 18.9501 6.38616 18.99 6.18864C19.03 5.99112 19.0093 5.78614 18.9308 5.60055C18.8523 5.41497 18.7195 5.25744 18.5499 5.14861C18.3803 5.03978 18.1817 4.98473 17.9803 4.99067C17.7205 4.99841 17.4739 5.10699 17.2928 5.2934L11.9998 10.5864L6.70687 5.2934C6.61368 5.19761 6.50224 5.12146 6.37912 5.06947C6.25601 5.01747 6.12372 4.99068 5.99007 4.99067Z",fill:"#595959"}))),r.createElement(m,{onClick:e=>{c&&e.stopPropagation()}},e&&(r.isValidElement(e)?e:"function"==typeof e?e({internalClose:onCloseDrawer}):null)))))}},wjn6:function(e,t,a){a.d(t,{A:function(){return ArrowRightBlue},C:function(){return Clinic},D:function(){return DoctorExpertiseItem},I:function(){return InsuranceList},P:function(){return PaymentList},a:function(){return DoctorInfoExpertise}});var r=a("q1tI"),n=a("rBCA"),i=a("iBNF"),l=a("Vitr"),o=a("xXM3"),s=a.n(o),c=a("vq0H"),d=a("/kWL");let ArrowRightBlue=e=>r.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 6 10",fill:"none"},e),r.createElement("path",{d:"M1 9L5 5L1 1",stroke:"#2D87F3",strokeWidth:1.75,strokeLinecap:"round",strokeLinejoin:"round"})),Clinic=e=>r.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 20 20",fill:"none"},e),r.createElement("path",{d:"M4.89646 16.9996H2.96549C2.43225 16.9996 2 16.5674 2 16.0341V12.6549C2 12.1217 2.43225 11.6895 2.96549 11.6895H4.89646",stroke:"currentColor",strokeWidth:1.2,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M15.0342 11.6895H16.9652C17.4984 11.6895 17.9306 12.1217 17.9306 12.6549V16.0341C17.9306 16.5674 17.4984 16.9996 16.9652 16.9996H15.0342",stroke:"currentColor",strokeWidth:1.2,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M5.86197 3H14.0686C14.6015 3 15.0341 3.43263 15.0341 3.96549V16.9995H4.89648V3.96549C4.89648 3.43263 5.32912 3 5.86197 3Z",stroke:"currentColor",strokeWidth:1.2,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M11.172 13.6206H8.7583V16.9998H11.172V13.6206Z",stroke:"currentColor",strokeWidth:1.2,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M9.96533 9.99996V5.65527",stroke:"currentColor",strokeWidth:1.2,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M12.1377 7.82764H7.79297",stroke:"currentColor",strokeWidth:1.2,strokeLinecap:"round",strokeLinejoin:"round"})),h=n.Z.ul` display: grid; grid-gap: 16px; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); list-style: none; `,u=n.Z.li` p { margin-top: 8px; text-align: center; } .insuranceLogo { display: grid; height: 58px; border: 1px solid ${i.r.colors.neutral200}; border-radius: 6px; place-content: center; > img { width: 93px; height: 43px; object-fit: contain; } } `,InsuranceList=({insurances:e,className:t,isName:a=!0})=>e.length?r.createElement(h,{id:"insurance-list",className:t},e.map(e=>r.createElement(u,{className:"insuranceItem",key:e.id},r.createElement("div",{className:"insuranceLogo"},r.createElement("img",{src:e.logo,alt:e.name||"insurance-logo"})),a&&r.createElement(l.T,{size:"base",color:i.r.colors.gray500,type:"bold"},e.name)))):null,p=n.Z.div` display: flex; flex-wrap: wrap; gap: 7px; &.paymentList { display: grid; grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); justify-content: center; } `,m=n.Z.div` border: 1px solid ${i.r.colors.neutral100}; border-radius: 12px; width: 80px; min-height: 80px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; &.payment-item-mobile { width: 100%; } .logo { position: relative; width: 55px; aspect-ratio: 55 / 32; object-fit: contain; } .txt-caption-1 { font-size: 0.6875rem; line-height: 1rem; color: ${i.r.colors.gray800}; } `,PaymentList=({payments:e,className:t,isName:a=!0,isMobile:n=!1})=>e.length?r.createElement(p,{id:"payment-container",className:s()(t,{paymentList:n&&e.length>=4})},e.map(t=>r.createElement(m,{className:s()("payment-item",{"payment-item-mobile":n&&e.length>=4}),key:t.id},r.createElement(c.I,{className:"logo",src:t.logo,alt:t.name}),a&&r.createElement("div",{className:"txt-caption-1"},t.name)))):null,g=n.Z.div` display: flex; gap: 8px; .icon { width: 1.25rem; height: 1.25rem; color: ${i.r.colors.gray400}; flex-shrink: 0; } .doctor-info-item-content { display: flex; flex-direction: column; gap: 10px; } `;(0,n.Z)(Clinic)` width: 1.25rem; height: 1.25rem; `;let b=n.Z.div` display: flex; flex-direction: column; gap: 4px; `,DoctorExpertiseItem=e=>{let{doctorInfo:t,Icon:a,title:n}=e;return r.createElement(g,null,r.createElement(a,{className:"icon"}),r.createElement(b,null,r.createElement(d.T,{size:"p3",weight:"semiBold",color:"#111111"},n),r.createElement("div",{className:"doctor-info-item-content"},(Array.isArray(t)?t:[t]).map(e=>r.createElement(d.T,{size:"p3",weight:"regular",key:e},e)))))},v=n.Z.div` display: flex; padding: 1rem; width: 100%; justify-content: space-between; `,f=n.Z.div` display: flex; flex-direction: column; gap: 2px; `,DoctorInfoExpertise=e=>{let{name:t,specialty:a,experience:n,profileImage:i}=e;return r.createElement(v,null,r.createElement(f,null,r.createElement(d.T,{size:"title2",weight:"semiBold",color:"#111111"},t),r.createElement("div",null,a&&r.createElement(d.T,{size:"c1",weight:"regular"},a),n&&r.createElement(d.T,{size:"c1",weight:"regular"},n))),r.createElement(c.I,{src:i,alt:t,style:{width:"4.5rem",height:"4.5rem",borderRadius:"50%",objectFit:"cover",flexShrink:0}}))}},"VHj/":function(e,t,a){a.d(t,{i:function(){return isVideo}});let isVideo=e=>e.endsWith(".mp4")},2451:function(e,t,a){a.d(t,{C:function(){return i},F:function(){return l},G:function(){return GlobalTextStyleNew},T:function(){return TemplateProvider},a:function(){return c},u:function(){return useTemplateVariant}});var r,n,i,l,o=a("mYVa"),s=a("q1tI");(r=i||(i={})).LEADGEN="leadgen",r.NONE="none",(n=l||(l={}))[n.regular=400]="regular",n[n.halfBold=500]="halfBold",n[n.semiBold=600]="semiBold",n[n.bold=700]="bold";let c={[i.NONE]:{fontSize:{base:[(0,o.h)(16),(0,o.h)(16)],lg:[(0,o.h)(18),(0,o.h)(16)],md:[(0,o.h)(18),(0,o.h)(16)],sm:[(0,o.h)(16),(0,o.h)(14)],xs:[(0,o.h)(14),(0,o.h)(12)],s1:[(0,o.h)(22),(0,o.h)(18)],s2:[(0,o.h)(18),(0,o.h)(16)],s3:[(0,o.h)(16),(0,o.h)(14)],s4:[(0,o.h)(14),(0,o.h)(12)],s5:[(0,o.h)(12),(0,o.h)(12)],p1:[(0,o.h)(18),(0,o.h)(16)],p2:[(0,o.h)(16),(0,o.h)(16)],p3:[(0,o.h)(16),(0,o.h)(14)],p4:[(0,o.h)(14),(0,o.h)(12)],p5:[(0,o.h)(12),(0,o.h)(12)],c1:[(0,o.h)(16),(0,o.h)(14)],c2:[(0,o.h)(14),(0,o.h)(12)],n1:[(0,o.h)(12),(0,o.h)(12)],label1:[(0,o.h)(14),(0,o.h)(14)],label2:[(0,o.h)(12),(0,o.h)(12)],h1:[(0,o.h)(40),(0,o.h)(26)],h2:[(0,o.h)(32),(0,o.h)(24)],h3:[(0,o.h)(26),(0,o.h)(20)],h4:[(0,o.h)(22),(0,o.h)(18)],h5:[(0,o.h)(18),(0,o.h)(16)],h5New:[(0,o.h)(20),(0,o.h)(18)],h6:[(0,o.h)(16),(0,o.h)(14)],title1:[(0,o.h)(17),(0,o.h)(17)],title2:[(0,o.h)(15),(0,o.h)(15)],body2:[(0,o.h)(15),(0,o.h)(15)]},lineHeight:{base:[(0,o.h)(24),(0,o.h)(24)],lg:[(0,o.h)(32),(0,o.h)(28)],md:[(0,o.h)(32),(0,o.h)(28)],sm:[(0,o.h)(24),(0,o.h)(22)],xs:[(0,o.h)(24),(0,o.h)(18)],s1:[(0,o.h)(32),(0,o.h)(26)],s2:[(0,o.h)(28),(0,o.h)(24)],s3:[(0,o.h)(24),(0,o.h)(24)],s4:[(0,o.h)(22),(0,o.h)(18)],s5:[(0,o.h)(18),(0,o.h)(18)],p1:[(0,o.h)(28),(0,o.h)(28)],p2:[(0,o.h)(24),(0,o.h)(24)],p3:[(0,o.h)(24),(0,o.h)(22)],p4:[(0,o.h)(22),(0,o.h)(18)],c1:[(0,o.h)(24),(0,o.h)(22)],c2:[(0,o.h)(22),(0,o.h)(18)],n1:[(0,o.h)(18),(0,o.h)(18)],label1:[(0,o.h)(22),(0,o.h)(22)],label2:[(0,o.h)(18),(0,o.h)(18)],h1:[(0,o.h)(52),(0,o.h)(34)],h2:[(0,o.h)(42),(0,o.h)(32)],h3:[(0,o.h)(36),(0,o.h)(26)],h4:[(0,o.h)(32),(0,o.h)(26)],h5:[(0,o.h)(28),(0,o.h)(24)],h5New:[(0,o.h)(28),(0,o.h)(24)],h6:[(0,o.h)(24),(0,o.h)(22)],title1:[(0,o.h)(24),(0,o.h)(24)],title2:[(0,o.h)(24),(0,o.h)(24)],body2:[(0,o.h)(24),(0,o.h)(24)]},letterSpacing:{lg:[-.2,0],md:[-.2,0],sm:[0,-.2],s1:[-.6,-.6],s2:[-.4,-.2],s3:[0,-.2],s4:[0,-.2],p1:[-.2,-.2],p2:[0,-.2],p3:[0,-.2],p4:[-.2,0],label1:[0,-.2],h1:[-1.2,-.9],h2:[-1,-.8],h3:[-.8,-.7],h4:[-.6,-.6],h5:[-.2,-.2],h5New:[-.4,-.4],h6:[0,-.2],title1:[-.4,-.4],title2:[-.3,-.3],body2:[-.3,-.3]},fontWeightBySize:{s1:l.semiBold,s2:l.semiBold,s3:l.semiBold,s4:l.semiBold,h1:l.bold,h2:l.bold,h3:l.bold,h4:l.bold,h5:l.bold,h5New:l.semiBold,h6:l.bold},fontWeight:l},[i.LEADGEN]:{fontSize:{base:[(0,o.h)(16),(0,o.h)(16)],lg:[(0,o.h)(18),(0,o.h)(16)],md:[(0,o.h)(18),(0,o.h)(16)],sm:[(0,o.h)(16),(0,o.h)(14)],xs:[(0,o.h)(14),(0,o.h)(12)],s1:[(0,o.h)(22),(0,o.h)(18)],s2:[(0,o.h)(18),(0,o.h)(16)],s3:[(0,o.h)(16),(0,o.h)(14)],s4:[(0,o.h)(14),(0,o.h)(12)],s5:[(0,o.h)(12),(0,o.h)(12)],p1:[(0,o.h)(17),(0,o.h)(17)],p2:[(0,o.h)(15),(0,o.h)(15)],p3:[(0,o.h)(13),(0,o.h)(13)],p4:[(0,o.h)(14),(0,o.h)(12)],p5:[(0,o.h)(12),(0,o.h)(12)],c1:[(0,o.h)(12),(0,o.h)(12)],c2:[(0,o.h)(11),(0,o.h)(11)],n1:[(0,o.h)(12),(0,o.h)(12)],label1:[(0,o.h)(14),(0,o.h)(14)],label2:[(0,o.h)(12),(0,o.h)(12)],h1:[(0,o.h)(40),(0,o.h)(26)],h2:[(0,o.h)(32),(0,o.h)(24)],h3:[(0,o.h)(26),(0,o.h)(22)],h4:[(0,o.h)(22),(0,o.h)(20)],h5:[(0,o.h)(18),(0,o.h)(16)],h5New:[(0,o.h)(20),(0,o.h)(18)],h6:[(0,o.h)(16),(0,o.h)(14)],title1:[(0,o.h)(17),(0,o.h)(17)],title2:[(0,o.h)(15),(0,o.h)(15)],body2:[(0,o.h)(15),(0,o.h)(15)],overline:[(0,o.h)(11),(0,o.h)(11)],subText:[(0,o.h)(10),(0,o.h)(10)]},lineHeight:{base:[(0,o.h)(24),(0,o.h)(24)],lg:[(0,o.h)(32),(0,o.h)(28)],md:[(0,o.h)(32),(0,o.h)(28)],sm:[(0,o.h)(24),(0,o.h)(22)],xs:[(0,o.h)(24),(0,o.h)(18)],s1:[(0,o.h)(32),(0,o.h)(26)],s2:[(0,o.h)(28),(0,o.h)(24)],s3:[(0,o.h)(24),(0,o.h)(24)],s4:[(0,o.h)(22),(0,o.h)(18)],s5:[(0,o.h)(18),(0,o.h)(18)],p1:[(0,o.h)(28),(0,o.h)(28)],p2:[(0,o.h)(24),(0,o.h)(24)],p3:[(0,o.h)(20),(0,o.h)(20)],p4:[(0,o.h)(22),(0,o.h)(18)],c1:[(0,o.h)(16),(0,o.h)(16)],c2:[(0,o.h)(22),(0,o.h)(18)],n1:[(0,o.h)(18),(0,o.h)(18)],label1:[(0,o.h)(22),(0,o.h)(22)],label2:[(0,o.h)(18),(0,o.h)(18)],h1:[(0,o.h)(48),(0,o.h)(34)],h2:[(0,o.h)(40),(0,o.h)(32)],h3:[(0,o.h)(32),(0,o.h)(32)],h4:[(0,o.h)(32),(0,o.h)(28)],h5:[(0,o.h)(28),(0,o.h)(24)],h5New:[(0,o.h)(28),(0,o.h)(24)],h6:[(0,o.h)(24),(0,o.h)(22)],title1:[(0,o.h)(24),(0,o.h)(24)],title2:[(0,o.h)(24),(0,o.h)(24)],body2:[(0,o.h)(24),(0,o.h)(24)],overline:[(0,o.h)(12),(0,o.h)(12)],subText:[(0,o.h)(12),(0,o.h)(12)]},letterSpacing:{lg:[-.2,0],md:[-.2,0],sm:[0,-.2],s1:[-.6,-.6],s2:[-.4,-.2],s3:[0,-.2],s4:[0,-.2],p1:[-.4,-.4],p2:[-.3,-.3],p3:[-.3,-.3],p4:[-.2,0],c1:[-.2,-.2],c2:[-.2,-.2],label1:[0,-.2],h1:[-1.2,-.9],h2:[-1,-.8],h3:[-.6,-.6],h4:[-.6,-.4],h5:[-.2,-.2],h5New:[-.4,-.4],h6:[0,-.2],n1:[-.2,-.2],title1:[-.4,-.4],title2:[-.3,-.3],body2:[-.3,-.3],overline:[-.2,-.2],subText:[-.2,-.2]},fontWeightBySize:{s1:l.semiBold,s2:l.semiBold,s3:l.semiBold,s4:l.semiBold,h1:l.bold,h2:l.bold,h3:l.bold,h4:l.bold,h5:l.bold,h5New:l.semiBold,h6:l.bold},fontWeight:l}},GlobalTextStyleNew=e=>({[i.LEADGEN]:{h1:{fontSize:(0,o.h)(40),lineHeight:(0,o.h)(48),letterSpacing:"-1.2px",[e.fn.smallerThan("sm")]:{fontSize:(0,o.h)(26),lineHeight:(0,o.h)(32),letterSpacing:"-0.6px"}},h2:{fontSize:(0,o.h)(32),lineHeight:(0,o.h)(40),letterSpacing:"-1px",[e.fn.smallerThan("sm")]:{fontSize:(0,o.h)(20),lineHeight:(0,o.h)(28),letterSpacing:"-0.4px"}},h3:{fontSize:(0,o.h)(26),lineHeight:(0,o.h)(32),letterSpacing:"-0.6px",[e.fn.smallerThan("sm")]:{fontSize:(0,o.h)(20),lineHeight:(0,o.h)(28),letterSpacing:"-0.4px"}},p1:{fontSize:(0,o.h)(17),lineHeight:(0,o.h)(28),letterSpacing:"-0.4px"},p2:{fontSize:(0,o.h)(15),lineHeight:(0,o.h)(24),letterSpacing:"-0.3px"}}}),d=(0,s.createContext)(i.NONE),TemplateProvider=({variant:e=i.NONE,children:t})=>s.createElement(d.Provider,{value:e},t),useTemplateVariant=()=>(0,s.useContext)(d)},UFTh:function(e,t,a){a.d(t,{G:function(){return GenderOptionControl}});var r=a("z/kP"),n=a("q1tI"),i=a("OyPk"),l=a("XHvu"),o=a("/npG"),s=a("mYVa"),c=a("Eso5"),d=a("SPK5"),h=a("FNss"),u=a("owZr"),p=a("/kWL"),m=a("5kis");let g={lg:{height:48},md:{height:40},sm:{height:32},xs:{height:32}};var b=(0,o.k)((e,{type:t,gap:a,size:r})=>{let n="mb"===e.other.template,i=g[r]||{},l=i.height;return{root:{},wrapper:Object.assign({gap:(0,s.h)(a||8)},"radio"===t&&{justifyContent:"flex-end",gap:(0,s.h)(a||24)}),groupErr:{fontSize:(0,s.h)(14)},itemRoot:Object.assign({},"button"===t?{flexGrow:1,width:"50%",'&[data-checked="true"]':{".mantine-Radio-label":{borderColor:e.fn.primaryColor()}}}:"radio"===t?{padding:`${(0,s.h)(10)} 0`,margin:0}:{}),itemLabelWrapper:{padding:0,width:"100%"},itemLabel:Object.assign({whiteSpace:"nowrap"},"button"===t?{position:"relative",padding:`${(0,s.h)(2)} ${(0,s.h)(16)}`,border:`1px solid ${n?"#EAEAEC":e.colors.gray[2]}`,backgroundColor:"#fff",borderRadius:(0,s.h)(n?16:4),cursor:"pointer",display:"flex",justifyContent:"center",alignItems:"center",height:l,'&[data-disabled="true"]':{background:e.colors.gray[1],color:`${e.colors.gray[4]} !important`,img:{opacity:.5}},img:{height:(0,s.h)("lg"===r?26:22)}}:"radio"===t?{fontSize:(0,s.h)(14)}:{}),itemInner:Object.assign(Object.assign({},"button"===t&&{display:"none"}),"radio"===t&&{alignSelf:"center"}),itemBody:Object.assign({},"radio"===t&&{alignItems:"center"})}});let GenderOptionControl=e=>{var{label:t,availableValue:a,styles:o,isBaby:g,genderValue:v={male:"male",female:"female"},type:f="button",hideLabel:E,labelTextProps:w,labelText:x,gap:y,size:k="md",LabelWrapper:C}=e,P=(0,r._)(e,["label","availableValue","styles","isBaby","genderValue","type","hideLabel","labelTextProps","labelText","gap","size","LabelWrapper"]);let{t:O}=(0,m.u)(),{classes:S,cx:I,theme:N}=b({type:f,gap:y,size:k},{name:"GenderOptionControl",styles:o}),T="mb"===N.other.template,[j,L]=(0,n.useState)(),H=(0,n.useRef)(null),B=C?{}:Object.assign({as:"label",size:"p2",weight:"semiBold",variant:"primary"},w),_=C||p.T,D=(0,n.useMemo)(()=>[{value:v.male,label:g?O("gender.boy"):O("gender.male"),icon:g?T?n.createElement(i.Z,null):u.C.getAssetPath("health-tools/boy-icon.svg"):u.C.getAssetPath("health-tools/male-icon.svg")},{value:v.female,label:g?O("gender.girl"):O("gender.female"),icon:g?T?n.createElement(l.Z,null):u.C.getAssetPath("health-tools/girl-icon.svg"):u.C.getAssetPath("health-tools/female-icon.svg")}],[]);return(0,n.useEffect)(()=>{L(a)},[a]),n.createElement(c.x,{ref:H,className:S.root},n.createElement(h.R.Group,Object.assign({className:"radio-group",label:E?void 0:n.createElement(_,Object.assign({id:"gender-option-control-label"},B),t||(g?O("tools.selectBabyGender"):O("tools.selectGender"))),size:"lg"},P,{classNames:{error:S.groupErr}},"radio"===f&&{error:null}),n.createElement(d.k,{className:I(S.wrapper)},D.map(e=>n.createElement(h.R,Object.assign({className:"gender-item",size:"sm",classNames:{root:S.itemRoot,labelWrapper:S.itemLabelWrapper,label:S.itemLabel,inner:S.itemInner,body:S.itemBody},key:e.value,value:e.value},j&&e.value!==j&&{disabled:!0},{label:n.createElement(d.k,{gap:(0,s.h)(8),align:"center",justify:"center",sx:{zIndex:0}},"button"===f&&("string"==typeof e.icon?n.createElement("img",{src:e.icon,className:"gender-image",alt:"female",loading:"lazy"}):e.icon),n.createElement(p.T,Object.assign({size:"p3"},x),e.label))}))))))}},qLhi:function(e,t,a){a.d(t,{B:function(){return p},F:function(){return g},G:function(){return m},S:function(){return d},a:function(){return fetchSSOV2ApiJson},c:function(){return checkUserExist},f:function(){return fetchSSOV2Api},g:function(){return getUserInfo},h:function(){return handleAuthSuccess},l:function(){return h},r:function(){return resetPassword},u:function(){return updateUserInfo},w:function(){return u}});var r=a("z/kP"),n=a("GOBr"),i=a("Pt5v"),l=a("mGnJ"),o=a("27Mu"),s=a("r9m4"),c=a("xrdX");let d={LOGIN_BY_SOCIAL:"member/social-login",EMAIL:{REGISTER_BY_SEND_OTP:"login/login-with-email",LOGIN_BY_PASSWORD:"member/login",VERIFY_BY_OTP:"login/email-verify-code",SEND_OTP:"login/email-resend-otp-code"},PHONE:{REGISTER_BY_SEND_OTP:"login/login-with-sms",SEND_OTP:"login/sms/sent-otp",VERIFY_BY_OTP:"login/phone-verify-code",LOGIN_BY_PASSWORD:"member/login-by-phone",UPDATE_PHONE_SEND_OTP:"login/sms-social/sent-otp",UPDATE_PHONE_VERIFY_OTP:"login/sms-social/phone-verify-code"},WHATSAPP:{LOGIN_OTP_WHATSAPP:"login/login-otp-whatsapp",REGISTER_BY_SEND_OTP:"login/login-with-whatsapp",SEND_OTP:"login/whatsapp/sent-otp",UPDATE_PHONE_SEND_OTP:"login/sms-social/whatsapp/sent-otp",UPDATE_PHONE_VERIFY_OTP:"login/sms-social/whatsapp-verify-code",VERIFY_BY_OTP:"login/whatsapp-verify-code"},ZALO:{REGISTER_BY_SEND_OTP:"login/login-with-zalo",SEND_OTP:"login/zalo/sent-otp",VERIFY_BY_OTP:"login/zalo-verify-code",UPDATE_PHONE_SEND_OTP:"login/sms-social/zalo/sent-otp",UPDATE_PHONE_VERIFY_OTP:"login/sms-social/zalo-verify-code"},RESET_PASSWORD:"login/reset-password",CHECK_USER_EXIST:"member/check-user-exist",UPDATE_USER_INFO:"login/update-first-info",SETUP_USER_INFO:"login/setup-first-info",ECOM_CARE:{SEND_OTP:"login/ecom-care/send-email-otp-code",VERIFY_OTP:"login/ecom-care/email-verify-code",RESEND_OTP:"login/ecom-care/resend-email-otp-code"}},h="vi-VN",u={[s.L.Vietnam]:"1",[s.L.Indonesia]:"2",[s.L.Malaysia]:"3"}[h];l.L[h].PHONE;let getSSOV2ApiUrl=e=>(0,i.n)(`${(0,i.a)(h)}/api/v2/${e}`),getSSOApiUrl=e=>(0,i.n)(`${(0,i.a)(h)}/api/${e}`),p="hhg_user_token",fetchSSOV2Api=(e,t={},a)=>(0,r.a)(void 0,void 0,void 0,function*(){var r;let n;let i=a?"":null===(r=document.cookie.split("; ").find(e=>e.startsWith(p)))||void 0===r?void 0:r.split("=")[1];try{t.body instanceof FormData&&(t.body.append("ga_client_id",(0,o.ej)("_ga")||""),t.body.append("referrer",window.location.href)),n=yield fetch(getSSOV2ApiUrl(e),i?Object.assign(Object.assign({},t),{headers:Object.assign({Authorization:`Bearer ${i}`},null==t?void 0:t.headers)}):t)}catch(e){return console.error(e),null}return null==n?void 0:n.json()}),fetchSSOV2ApiJson=(e,t,a)=>(0,r.a)(void 0,void 0,void 0,function*(){var r;let n;let i=a?"":null===(r=document.cookie.split("; ").find(e=>e.startsWith(p)))||void 0===r?void 0:r.split("=")[1];try{n=yield fetch(getSSOV2ApiUrl(e),{method:"POST",headers:Object.assign({Accept:"application/json","Content-Type":"application/json"},i?{Authorization:`Bearer ${i}`}:{}),body:JSON.stringify(t)})}catch(e){return console.error(e),null}return null==n?void 0:n.json()}),fetchSSOApi=(e,t={},a)=>(0,r.a)(void 0,void 0,void 0,function*(){var r;let n;let i=a?"":null===(r=document.cookie.split("; ").find(e=>e.startsWith(p)))||void 0===r?void 0:r.split("=")[1];try{n=yield fetch(getSSOApiUrl(e),i?Object.assign(Object.assign({},t),{headers:Object.assign({Authorization:`Bearer ${i}`},null==t?void 0:t.headers)}):t)}catch(e){return console.error(e),null}return null==n?void 0:n.json()}),resetPassword=(e,t)=>(0,r.a)(void 0,void 0,void 0,function*(){let a=new FormData;return a.append("password",e),a.append("confirm-password",t),fetchSSOV2Api(d.RESET_PASSWORD,{method:"POST",body:a})}),checkUserExist=({email:e,phone:t})=>(0,r.a)(void 0,void 0,void 0,function*(){let a=new FormData;return e?a.append("email",e):a.append("phone_number",t),fetchSSOV2Api(d.CHECK_USER_EXIST,{method:"POST",body:a})}),updateUserInfo=e=>(0,r.a)(void 0,void 0,void 0,function*(){let t=new FormData;return Object.keys(e).forEach(a=>{let r=e[a];null!=r&&("string"!=typeof r||r.trim())&&t.append(a,e[a])}),fetchSSOV2Api(d.SETUP_USER_INFO,{method:"POST",body:t})}),m=n.y?"289442006438-040a42cbidr6v5d178f3iqi9q95821r3.apps.googleusercontent.com":"289442006438-cihobuq1h3r4426pur7u0e43fqdnep59.apps.googleusercontent.com",g="2759888574045636",getUserInfo=()=>(0,r.a)(void 0,void 0,void 0,function*(){return fetchSSOApi("user/profile",{method:"POST"})}),handleAuthSuccess=e=>{(null==e?void 0:e.token)&&(0,o.d8)(p,e.token,{domain:"localhost"===window.location.hostname?"localhost":`.${c.v[h]}`,expires:new Date(1e3*e.expire_in).toUTCString()}),(null==e?void 0:e.refresh_token)&&(0,o.d8)(l.k,e.refresh_token,{domain:"localhost"===window.location.hostname?"localhost":`.${c.v[h]}`})}},owZr:function(e,t,a){a.d(t,{C:function(){return o}});var r=a("xrdX"),n=a("GOBr"),i=a("yNk5");let isNumeric=e=>!isNaN(parseFloat(e))&&isFinite(e),l="hellosehat.com",o=new class{constructor(){this.baseDomain="",this.subPath="",this.getAssetPath=(e,t,a)=>{let r="https://hhg-common."+[t||this.getBaseDomain(),a||this.subPath,e].join("/");return n.y||i.env.JEST_WORKER_ID?r:r+"?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("."),a=r.v[Object.keys(r.v).find(t=>e.includes(r.v[t]))];return t.includes("localhost")||t.includes("hellohealthgroup")||t.every(e=>isNumeric(e))||!a?l:a}return l}};o.subPath="common",o.baseDomain=r.v["vi-VN"]},"g6/k":function(e,t,a){a.d(t,{C:function(){return n}});var r=a("q1tI");let n=(0,r.forwardRef)(function(e,t){return r.createElement("circle",Object.assign({},e,{ref:t}),r.createElement("animate",{attributeName:"r",values:"4;8;4",dur:"2s",begin:"0s",repeatCount:"indefinite"}))})},YUHs:function(e,t,a){a.d(t,{S:function(){return SocialLinkPreview}});var r=a("z/kP"),n=a("q1tI"),i=a("Eso5"),l=a("8vDj"),o=a("vq0H"),s=a("EJrp"),c=a("rBCA"),d=a("IQVP"),h=a("6JAH"),u=a("eaXp"),p=a("Zin3");let m=c.Z.div` .link-info-container { padding: 0.5rem 1rem; background: ${e=>e.color||"#f4faff"}; } .link-image-wrapper { position: relative; overflow: hidden; width: 100%; background-color: #000; padding-top: ${e=>{var t;return null!==(t=e.aspectPaddingTop)&&void 0!==t?t:e.isShort?"179.58%":"56.25%"}}; &.fetching { background: lightgray; } .loading-spinner { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); } .link-image { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: ${e=>{var t;return null!==(t=e.posterFit)&&void 0!==t?t:"cover"}}; object-position: center; } } a { text-decoration: none; } &[data-is-marrybaby='true'] { overflow: hidden; border-radius: 1rem; } `,useExternalScript=({url:e,onLoad:t,onError:a})=>{let[r,i]=(0,n.useState)(e?"loading":"idle");return(0,n.useEffect)(()=>{if(!e){i("idle");return}let r=document.querySelector(`script[src="${e}"]`),handleLoadScript=()=>{i("ready"),null==t||t()},handleErrorScript=()=>{i("error"),null==a||a()};return r||((r=document.createElement("script")).type="application/javascript",r.src=e,r.async=!0,document.body.appendChild(r),r.addEventListener("load",handleLoadScript),r.addEventListener("error",handleErrorScript)),r.addEventListener("load",handleLoadScript),r.addEventListener("error",handleErrorScript),()=>{r.removeEventListener("load",handleLoadScript),r.removeEventListener("error",handleErrorScript)}},[e]),r},YoutubePlyr=({id:e,autoplay:t,posterFit:a="cover"})=>{let r=(0,n.useRef)(null),l=useExternalScript({url:"https://cdn.plyr.io/3.7.8/plyr.js"});return(0,n.useEffect)(()=>{var e;if(!document.getElementById("hhg-plyr-player")){let e=document.createElement("link");e.rel="stylesheet",e.type="text/css",e.href="https://cdn.plyr.io/3.7.8/plyr.css",e.id="hhg-plyr-player",document.head.appendChild(e)}let a="ready"===l||"undefined"!=typeof Plyr;if(!a)return;let n=null===(e=r.current)||void 0===e?void 0:e.querySelector('[data-id="player"]');if(!n)return;let i=new Plyr(n,{autoplay:t,muted:!0});return()=>{i.destroy()}},[l,t,e]),n.createElement(i.x,{ref:r,sx:{position:"absolute",top:0,left:0,right:0,bottom:0,backgroundColor:"#000","&, & > div":{width:"100%",height:"100%"},"& .plyr":{width:"100%",height:"100%",maxWidth:"none"},"& .plyr__video-wrapper":{height:"100%",width:"100%"},"& .plyr__video-embed":{paddingBottom:"0 !important",height:"100% !important",position:"relative"},"& .plyr__video-embed iframe":{position:"absolute",top:0,left:0,width:"100%",height:"100%"},"& .plyr__poster":{backgroundSize:"cover"===a?"cover !important":"contain !important",backgroundPosition:"center !important",backgroundRepeat:"no-repeat",width:"100% !important",height:"100% !important",top:0,left:0}}},n.createElement("div",{key:e,"data-id":"player",className:"plyr__video-embed"},n.createElement("iframe",{width:"100%",height:"100%",src:`https://www.youtube.com/embed/${e}?mute=1&enablejsapi=1&rel=0`,allow:"autoplay; fullscreen",allowFullScreen:!0,title:"YouTube preview",frameBorder:"0"})))},SocialLinkPreview=({url:e,image:t,className:a,style:i,baseUrl:c="",autoPlay:g=!0,isShort:b=!1,autoScaleByVideoType:v=!1,ratio:f,posterFit:E="cover",onPushStatus:w})=>{let{data:{locale:x}}=(0,n.useContext)(s.T),[y,k]=(0,n.useState)(null);(0,n.useEffect)(()=>{(0,r.a)(void 0,void 0,void 0,function*(){if(!t){if(!e)return k(null);k(e=>Object.assign(Object.assign({},e),{isFetching:!0})),(0,s.c)((0,s.f)(d.yy.FETCH_PREVIEW,{_locale:x},void 0,c),"POST",{data:{link:e},headers:{"Content-Type":"application/json"}},!!c).then(t=>{var a,r;k({url:e,image:(null===(a=null==t?void 0:t.data)||void 0===a?void 0:a.image)||(null===(r=null==t?void 0:t.data)||void 0===r?void 0:r.logo)})}).catch(()=>{k(null)})}})},[e,t]);let C=t||(null==y?void 0:y.image),P=(null==y?void 0:y.url)||e,O=(0,n.useMemo)(()=>(0,u.y)(P),[P]),S=(0,n.useMemo)(()=>P.includes("facebook.com")||P.includes("fb.watch"),[P]),I=(0,n.useMemo)(()=>{let e=(P||"").toLowerCase();return e.includes("/reel/")||e.includes("/reels/")},[P]),N=(0,n.useMemo)(()=>!!(O||S),[S,O]),T=(0,n.useMemo)(()=>!!v&&(!!b||P.toLowerCase().includes("/shorts/")||I),[v,P,I,b]),j=(0,n.useMemo)(()=>f?function(e){let t=e.trim().match(/^(\d+(?:\.\d+)?)\s*:\s*(\d+(?:\.\d+)?)$/);if(!t)return;let a=Number(t[1]),r=Number(t[2]);if(Number.isFinite(a)&&Number.isFinite(r)&&!(a<=0)&&!(r<=0))return`${r/a*100}%`}(f):void 0,[f]),L=(0,n.useRef)(null),H=(0,n.useRef)(0),B=(0,n.useRef)(0),[_,D]=(0,n.useState)(!1),z=(0,n.useCallback)(e=>{var t;let a=null===(t=L.current)||void 0===t?void 0:t.getBoundingClientRect();if(!(null==a?void 0:a.width))return;let r=Math.floor(a.width),n=Math.floor(a.height),i=!1;e?((!H.current||Math.abs((H.current-r)/a.width)>.2)&&(H.current=r,i=!0),(!B.current||Math.abs((B.current-n)/(a.height||1))>.2)&&(B.current=n,i=!0)):(r!==H.current||n!==B.current)&&(H.current=r,B.current=n,i=!0),i&&D(e=>!e)},[]);(0,n.useLayoutEffect)(()=>{z(!1)},[j,f,T,P,z]),(0,n.useEffect)(()=>{let handleResize=()=>z(!0);return handleResize(),window.addEventListener("resize",handleResize,{passive:!0}),()=>{window.removeEventListener("resize",handleResize)}},[z]),(0,n.useEffect)(()=>{(null==y?void 0:y.image)&&(null==y?void 0:y.url)&&(null==w||w(!0))},[y]);let A=(0,l.rZ)();return n.createElement(m,{className:`${a} no-replace-click`,style:i,color:A.colors[A.primaryColor][0],isShort:T,aspectPaddingTop:j,posterFit:E},N&&(!t||I)?n.createElement("div",{ref:L,className:"link-image-wrapper"},O?n.createElement(YoutubePlyr,{key:`${O}-${null!=f?f:"auto"}`,id:O,autoplay:g,isShort:T,ratio:f,posterFit:E}):S?n.createElement("iframe",{key:String(_),src:`https://www.facebook.com/plugins/video.php?href=${encodeURIComponent(P)}&autoplay=${g?1:0}&show_text=false&t=0&width=${H.current}&height=${B.current}`,style:{position:"absolute",top:"50%",left:"50%",border:"none",overflow:"hidden",height:B.current,width:H.current,transform:"translate(-50%, -50%)"},scrolling:"no",frameBorder:"0",allowFullScreen:!0,allow:"autoplay; clipboard-write; encrypted-media; picture-in-picture; web-share",loading:"lazy"}):null):n.createElement("a",{href:P,target:"_blank",rel:"noreferrer"},n.createElement("div",{className:`link-image-wrapper ${(null==y?void 0:y.isFetching)?"fetching":""}`},(null==y?void 0:y.isFetching)?n.createElement(p.L,{className:"loading-spinner"}):n.createElement(o.I,{className:"link-image",src:C||h.a,backupSrc:h.a,alt:P}))))}},"NS+U":function(e,t,a){a.d(t,{A:function(){return AuthorBadge},B:function(){return BookingBtn}});var r=a("z/kP"),n=a("q1tI"),i=a("5kis"),l=a("/npG"),o=a("LIyQ"),s=a("86J3"),c=a("g8xC"),d=a("EJrp"),h=a("xrdX"),u=a("GOBr"),p=(0,l.k)(e=>({root:{display:"inline-block",flexShrink:0,padding:"2px 0.5rem",marginLeft:"4px",borderRadius:e.radius.xs,fontSize:"12px",fontWeight:400,lineHeight:"18px",'&[data-label-type="admin"]':{background:e.primaryColor[0],color:e.primaryColor[9]},'&[data-label-type="local admin"]':{background:e.primaryColor[8]},'&[data-label-type="ambassador"]':{background:e.colors.green[4]},'&[data-label-type="expert"]':{background:e.colors.yellow[6]},'&[data-label-type="moderator"]':{background:e.colors.red[0],color:e.colors.red[8]},'&[data-label-type="sponsor"]':{background:e.colors.teal[4]},'&[data-label-type="guide"]':{background:e.colors.teal[4]},'&[data-label-type="influencer"]':{background:e.colors.teal[4]}}}));let m={admin:"cardAuthor.admin",moderator:"cardAuthor.moderator",ambassador:"cardAuthor.ambassador",expert:"cardAuthor.expert",sponsor:"cardAuthor.sponsor",guide:"cardAuthor.guide",influencer:"cardAuthor.influencer"},looselyMatchRole=e=>["admin","moderator","ambassador","expert","sponsor","guide","influencer"].find(t=>t===e),AuthorBadge=e=>{var{siteType:t,role:a,title:l,styles:o,className:s}=e,c=(0,r._)(e,["siteType","role","title","styles","className"]);let{t:d}=(0,i.u)(),h=a?looselyMatchRole(a):"",{classes:u,cx:g}=p(void 0,{name:"AuthorBadge",styles:o});return h&&m[h]?n.createElement("div",Object.assign({className:g(u.root,s),"data-label-type":h,"data-is-marrybaby":"marryBaby"===t},c),l||d(m[h])):null},BookingBtn=e=>{var{label:t,bookingId:a,bookingType:l="doctor",locale:p="vi-VN"}=e,m=(0,r._)(e,["label","bookingId","bookingType","locale"]);let{t:g}=(0,i.u)(),[b,v]=(0,n.useState)(!1),f=(0,n.useMemo)(()=>"undefined"!=typeof window?window.location.href:"",[]),E=(0,n.useCallback)(()=>(0,r.a)(void 0,void 0,void 0,function*(){var e,t,r,n,i,c,m,g,b,f,E,w,x,y,k;let C="doctor"===l?o.P.GET_DOCTOR_DETAIL:"hospital"===l?o.P.GET_HOSPITAL_DETAIL:"service"===l?o.P.GET_SERVICE_DETAIL:"";try{v(!0);let o=yield(0,d.c)((0,d.b)(C,{id:a,site:h.v[p]}),"get");if((null==o?void 0:o._status)===1){let a="doctor"===l?{id:null===(t=null===(e=null==o?void 0:o._data)||void 0===e?void 0:e.doctor)||void 0===t?void 0:t.id,slug:null===(n=null===(r=null==o?void 0:o._data)||void 0===r?void 0:r.doctor)||void 0===n?void 0:n.slug,localSlug:null===(i=s.L[p])||void 0===i?void 0:i.DOCTOR}:"hospital"===l?{id:null===(m=null===(c=null==o?void 0:o._data)||void 0===c?void 0:c.branch)||void 0===m?void 0:m.id,slug:null===(b=null===(g=null==o?void 0:o._data)||void 0===g?void 0:g.branch)||void 0===b?void 0:b.slug,localSlug:null===(f=s.L[p])||void 0===f?void 0:f.HOSPITAL}:{id:null===(w=null===(E=null==o?void 0:o._data)||void 0===E?void 0:E.service)||void 0===w?void 0:w.id,slug:null===(y=null===(x=null==o?void 0:o._data)||void 0===x?void 0:x.service)||void 0===y?void 0:y.slug,localSlug:null===(k=s.L[p])||void 0===k?void 0:k.SERVICE};window.location.href=`https://${u.y?"":"discover."}${h.v[p]}/care/${a.localSlug}/${a.slug}-${a.id}/`}else v(!1)}catch(e){console.log(e),v(!1)}}),[]);return a&&l?n.createElement(c.B,Object.assign({dataEventCategory:"Care",dataEventAction:"Comment - Quick Booking",dataEventLabel:f,onClick:E,loading:b},m),t||g("careBooking.bookAnAppointment")):null}},lAS2:function(e,t,a){a.d(t,{D:function(){return Divider}});var r=a("q1tI"),n=a("rBCA"),i=a("iBNF");let l=n.Z.hr` border-width: 1px; border-color: ${i.r.colors.neutral200}; border-style: ${e=>e.dividerType}; `,Divider=({type:e="solid",className:t,style:a})=>r.createElement(l,{style:a,className:t,"data-diver-type":e,dividerType:e})},"5uo3":function(e,t,a){a.d(t,{P:function(){return Popup}});var r=a("q1tI"),n=a("rBCA"),i=a("HMwR"),l=a("iBNF");let o=n.Z.div` position: fixed; left: 50%; padding: 0 16px 32px; background-color: ${l.r.colors.white}; border-radius: ${l.r.borderRadius}; box-shadow: 0px 4px 8px ${l.r.colors.gray200}; transform: translate(-50%, -50%); transition: all 0.5s ease-in-out; visibility: hidden; &[data-open='true'] { z-index: 400; top: 50%; opacity: 1; visibility: visible; } &[data-open='false'] { top: -50%; } &[data-type='lead'] { width: 332px; height: 460px; div { top: -15px; right: -15px; } } &[data-type='form'] { width: 496px; height: 548px; ${i.M.mbDown} { width: 340px; } } &[data-type='confirm'] { ${i.M.mbDown} { width: calc(100% - 32px); } ${i.M.mbUp} { width: 100%; max-width: 407px; } } .popup-content { position: relative; z-index: 111; height: 100%; padding: 16px; } .close-button { position: absolute; top: 16px; right: 0; cursor: pointer; img { width: 100%; height: 100%; border-radius: 50%; } } `,s=n.Z.div` position: fixed; z-index: 110; top: 0; left: 0; width: 100%; height: 100%; align-items: center; background: rgba(38, 38, 38, 0.3); &[data-open='false'] { display: none; } `,Popup=({type:e="lead",closeIcon:t,isOpen:a=!0,onClose:n,children:i,className:l="",enableAnimation:c=!0,disableClickOutside:d=!1})=>r.createElement(r.Fragment,null,r.createElement(o,{"data-open":a,"data-type":e,"data-animation":c},r.createElement("div",{className:`${l||""} popup-content`},!!t&&r.createElement("div",{className:"close-button",onClick:n},t),i)),r.createElement(s,{"data-open":a,onClick:()=>{d||n()}}))},ndOt:function(e,t,a){a.d(t,{D:function(){return DatePicker}});var r=a("z/kP"),n=a("q1tI"),i=a("8vDj"),l=a("gHhT"),o=a("catb"),s=a("mGnJ"),c=a("owZr"),d=a("TfUb"),h=a("r9m4"),u=a("yNk5");let DatePicker=e=>{var t,{value:a,fullWidth:p=!0}=e,m=(0,r._)(e,["value","fullWidth"]);let g=(0,i.rZ)(),b="mb"===g.other.template,v=null===(t=s.I[u.env.UNIFY_LOCALE||h.L.Vietnam])||void 0===t?void 0:t.dateFormat;return n.createElement(o.a,Object.assign({locale:d.M[u.env.UNIFY_LOCALE||h.L.Vietnam],valueFormat:v,size:"md",clearable:!1,popoverProps:p?{styles:{dropdown:{minWidth:"100%",display:"flex",justifyContent:"center",alignItems:"center"}}}:{},styles:{root:{position:"relative"},rightSection:{pointerEvents:"none",cursor:"default"}},rightSection:n.createElement(l.E,{src:c.C.getAssetPath(b?"MB-calendar.svg":"OutlineCalendar.svg"),width:18,height:18}),value:a,placeholder:v},m,{className:`input-control ${(null==m?void 0:m.className)||""}`}))}},xzfF:function(e,t,a){a.d(t,{S:function(){return Spoiler}});var r=a("z/kP"),n=a("q1tI"),i=a("uCoU"),l=a("/kWL"),o=a("5kis"),s=a("iBNF");let Spoiler=e=>{var{children:t,line:a,lineHeight:c,trackingAttributes:d,maxHeight:h,customExpandFn:u}=e,p=(0,r._)(e,["children","line","lineHeight","trackingAttributes","maxHeight","customExpandFn"]);let{t:m}=(0,o.u)(),g=(0,n.useMemo)(()=>h||(a&&c?a*c:(console.error("[HHG-Comp]:[Spoiler] Please provide maxHeight, or line with lineHeight"),0)),[]);t||console.error("[HHG-Comp]:[Spoiler] Please provide children");let b=(0,n.useMemo)(()=>d?{"data-event-category":d.dataEventCategory,"data-event-action":d.dataEventAction,"data-event-label":d.dataEventLabel}:{},[d]);return n.createElement(i.o,Object.assign({showLabel:n.createElement(l.T,Object.assign({size:"p3",color:s.r.colors.primaryBase},b,{onClick:u}),m("articlePage.readMore")),hideLabel:n.createElement(l.T,Object.assign({size:"p3",color:s.r.colors.primaryBase},b),m("articlePage.showLess"))},p,{maxHeight:g}),t)}},bro2:function(e,t,a){a.d(t,{P:function(){return PWGForm}});var r=a("z/kP"),n=a("q1tI"),i=a("8vDj"),l=a("iuhU"),o=a("cChf"),s=a("ZFu2"),c=a("AFO6"),d=a("5kis"),h=a("6JAH"),u=a("FNss"),p=a("/kWL"),m=a("hePw"),g=a("8PAx"),b=a("x9Pa"),v=a("xrdX");let f=(0,n.createContext)({}),DefaultForm=e=>{var t=(0,r._)(e,[]);let{t:a,locale:o}=(0,d.u)(),{linkTool:s,form:c,submitProps:h}=(0,n.useContext)(f),{classes:E={}}=(0,n.useContext)(m.C),w=(0,i.rZ)(),x="mb"===w.other.template;return n.createElement(g.H,Object.assign({formLayout:"default"},t),n.createElement(g.H.FormRow,null,n.createElement(u.I.Number,Object.assign({label:n.createElement(p.T,{size:"p2",weight:"semiBold"},a("pregnancyWeightGain.weekInput")),min:b.I.pregnantWeek.min,max:b.I.pregnantWeek.max,placeholder:`${b.I.pregnantWeek.min} - ${b.I.pregnantWeek.max}`},c.getInputProps("pregnantWeek")))),n.createElement(g.H.FormRow,null,n.createElement(u.I.Number,Object.assign({label:n.createElement(p.T,{size:"p2",weight:"semiBold"},a("pregnancyWeightGain.weightBeforeInput")),min:b.I.weight.min,max:b.I.weight.max,placeholder:a("tools.inputPlaceholder",{content:"50"})},c.getInputProps("lastWeight")))),n.createElement(g.H.FormRow,null,n.createElement(u.I.Number,Object.assign({label:n.createElement(p.T,{size:"p2",weight:"semiBold"},a("pregnancyWeightGain.heightInput")),min:b.I.height.min,max:b.I.height.max,placeholder:a("tools.inputPlaceholder",{content:"160"})},c.getInputProps("height")))),n.createElement(g.H.FormRow,null,n.createElement(u.I.Number,Object.assign({label:n.createElement(p.T,{size:"p2",weight:"semiBold"},a("pregnancyWeightGain.weightInput")),min:b.I.weight.min,max:b.I.weight.max,placeholder:a("tools.inputPlaceholder",{content:"50"})},c.getInputProps("weight")))),n.createElement(g.H.FormRow,null,n.createElement(g.H.Switching,Object.assign({label:n.createElement(p.T,{size:"p2",weight:"semiBold"},a("pregnancyWeightGain.havingTwins"))},c.getInputProps("hasTwin")))),n.createElement(g.H.FormRow,{className:E.submitWrapper},n.createElement(g.H.Submit,Object.assign({type:"submit",dataEventCategory:"Health Tool",dataEventAction:"Embedded Pregnancy Weight Gain",dataEventLabel:`https://${v.v[x?"vi-VN_MB":o]}/${s}`,className:(0,l.default)("due-date-calculate-button",E.submitBtn)},h),a("dueDatePage.lastPeriod.calculate"))))},InlineForm=e=>{var t=(0,r._)(e,[]);let{t:a,locale:o}=(0,d.u)(),{classes:s={}}=(0,n.useContext)(m.C),{linkTool:c,form:h,submitProps:p}=(0,n.useContext)(f),E=(0,i.rZ)(),w="mb"===E.other.template;return n.createElement(g.H,Object.assign({formLayout:"inline"},t),n.createElement(g.H.FormRow,null,n.createElement(g.H.BorderInlineControl,{label:a("pregnancyWeightGain.weekInput")},n.createElement(u.I.Number,Object.assign({min:b.I.pregnantWeek.min,max:b.I.pregnantWeek.max,placeholder:`${b.I.pregnantWeek.min} - ${b.I.pregnantWeek.max}`,rightSection:n.createElement(g.H.Unit,null,a("pwgForm.week"))},h.getInputProps("pregnantWeek"))))),n.createElement(g.H.FormRow,null,n.createElement(g.H.BorderInlineControl,{label:a("pregnancyWeightGain.weightBeforeInput")},n.createElement(u.I.Number,Object.assign({},h.getInputProps("lastWeight"),{min:b.I.weight.min,max:b.I.weight.max,placeholder:a("tools.inputPlaceholder",{content:"50"}),rightSection:n.createElement(g.H.Unit,null,a("babyGrowth.kg"))})))),n.createElement(g.H.FormRow,null,n.createElement(g.H.BorderInlineControl,{label:a("pregnancyWeightGain.heightInput")},n.createElement(u.I.Number,Object.assign({},h.getInputProps("height"),{min:b.I.height.min,max:b.I.height.max,placeholder:a("tools.inputPlaceholder",{content:"160"}),rightSection:n.createElement(g.H.Unit,null,a("babyGrowth.cm"))})))),n.createElement(g.H.FormRow,null,n.createElement(g.H.BorderInlineControl,{label:a("pregnancyWeightGain.weightInput")},n.createElement(u.I.Number,Object.assign({},h.getInputProps("weight"),{min:b.I.weight.min,max:b.I.weight.max,placeholder:a("tools.inputPlaceholder",{content:"50"}),rightSection:n.createElement(g.H.Unit,null,a("babyGrowth.kg"))})))),n.createElement(g.H.FormRow,null,n.createElement(g.H.BorderInlineControl,{label:a("pregnancyWeightGain.havingTwins"),width:"none"},n.createElement(g.H.Switching,Object.assign({},h.getInputProps("hasTwin"))))),n.createElement(g.H.FormRow,{className:s.submitWrapper},n.createElement(g.H.Submit,Object.assign({type:"submit",dataEventCategory:"Health Tool",dataEventAction:"Embedded Pregnancy Weight Gain",dataEventLabel:`https://${v.v[w?"vi-VN_MB":o]}/${c}`,className:(0,l.default)("due-date-calculate-button",s.submitBtn)},p),a("dueDatePage.lastPeriod.calculate"))))},MbLayout=e=>{var t=(0,r._)(e,[]);let{t:a,locale:l}=(0,d.u)(),{linkTool:o,form:s,submitProps:c}=(0,n.useContext)(f),h=(0,i.rZ)(),p="mb"===h.other.template;return n.createElement(g.H,Object.assign({formLayout:"inline"},t),n.createElement(g.H.FormRow,null,n.createElement(g.H.BorderBoxControl,{label:a("pregnancyWeightGain.weekInput"),rightSection:a("pregnancy.week")},n.createElement(u.I.Number,Object.assign({min:b.I.pregnantWeek.min,max:b.I.pregnantWeek.max,placeholder:`${b.I.pregnantWeek.min} - ${b.I.pregnantWeek.max}`},s.getInputProps("pregnantWeek")))),s.errors.pregnantWeek&&n.createElement(g.H.Error,null,s.errors.pregnantWeek)),n.createElement(g.H.FormRow,null,n.createElement(g.H.BorderBoxControl,{label:a("pregnancyWeightGain.weightBeforeInput"),rightSection:"kg"},n.createElement(u.I.Number,Object.assign({min:b.I.weight.min,max:b.I.weight.max},s.getInputProps("lastWeight"),{placeholder:a("tools.inputPlaceholder",{content:"50"})}))),s.errors.lastWeight&&n.createElement(g.H.Error,null,s.errors.lastWeight)),n.createElement(g.H.FormRow,null,n.createElement(g.H.BorderBoxControl,{label:a("pregnancyWeightGain.heightInput"),rightSection:"cm"},n.createElement(u.I.Number,Object.assign({min:b.I.height.min,max:b.I.height.max},s.getInputProps("height"),{placeholder:a("tools.inputPlaceholder",{content:"160"})}))),s.errors.height&&n.createElement(g.H.Error,null,s.errors.height)),n.createElement(g.H.FormRow,null,n.createElement(g.H.BorderBoxControl,{label:a("pregnancyWeightGain.weightInput"),rightSection:"kg"},n.createElement(u.I.Number,Object.assign({min:b.I.weight.min,max:b.I.weight.max},s.getInputProps("weight"),{placeholder:a("tools.inputPlaceholder",{content:"50"})}))),s.errors.weight&&n.createElement(g.H.Error,null,s.errors.weight)),n.createElement(g.H.Switching,Object.assign({label:a("pregnancyWeightGain.havingTwins")},s.getInputProps("hasTwin"))),n.createElement(g.H.Submit,Object.assign({type:"submit",dataEventCategory:"Health Tool",dataEventAction:"Embedded Pregnancy Weight Gain",dataEventLabel:`https://${v.v[p?"vi-VN_MB":l]}/${o}`,className:"due-date-calculate-button"},c),a("dueDatePage.lastPeriod.calculate")))},PWGForm=e=>{var{formLayout:t="default",submitProps:a,onSubmit:l}=e,u=(0,r._)(e,["formLayout","submitProps","onSubmit"]);let{t:p,locale:m}=(0,d.u)(),g=(0,i.rZ)(),b="mb"===g.other.template,v=(0,o.c)({validate:{pregnantWeek:(0,s.U)(p("validation.error.requiredField")),height:(0,s.U)(p("validation.error.requiredField")),weight:(e,t)=>e?Number(e)>=Number(t.lastWeight)?null:p("pregnancyWeightGain.weightInput.error"):p("validation.error.requiredField"),lastWeight:(e,t)=>e?Number(e)E(h.H.PWG),[E]),x=Object.assign({onSubmit:v.onSubmit(l)},u);return n.createElement(f.Provider,{value:{linkTool:w,form:v,submitProps:a}},"inline"===t?n.createElement(InlineForm,Object.assign({},x)):b?n.createElement(MbLayout,Object.assign({formLayout:t},x)):n.createElement(DefaultForm,Object.assign({},x)))}},"4MaP":function(e,t,a){a.d(t,{A:function(){return Avatar},D:function(){return DistanceTag},I:function(){return IconWrapper},P:function(){return Pin3},S:function(){return ShapedArrowDown}});var r=a("q1tI"),n=a("rBCA"),i=a("iBNF"),l=a("vq0H"),o=a("/kWL");let Pin3=e=>r.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 12 12",fill:"none"},e),r.createElement("g",{clipPath:"url(#clip0_5371_10640)"},r.createElement("path",{d:"M6.6665 4.3335L8.1665 5.8335L6.6665 7.3335",stroke:"#8C8C8C",strokeWidth:.72,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M8.16667 5.8335H5.83333C5.09667 5.8335 4.5 6.43016 4.5 7.16683V7.50016",stroke:"#8C8C8C",strokeWidth:.72,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M6.94331 10.3902L10.3907 6.94281C10.9114 6.42211 10.9114 5.57789 10.3907 5.05719L6.94331 1.60981C6.42261 1.08911 5.57839 1.08911 5.05769 1.60981L1.61031 5.05719C1.08961 5.57789 1.08961 6.42211 1.61031 6.94281L5.05769 10.3902C5.57839 10.9109 6.42261 10.9109 6.94331 10.3902Z",stroke:"#8C8C8C",strokeWidth:.72,strokeLinecap:"round",strokeLinejoin:"round"})),r.createElement("defs",null,r.createElement("clipPath",{id:"clip0_5371_10640"},r.createElement("rect",{width:12,height:12,fill:"white"})))),ShapedArrowDown=e=>r.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"none"},e),r.createElement("path",{d:"M13.5554 9.33398L7.99989 5.55621L2.44434 9.33398",stroke:"currentColor",strokeWidth:1.2,strokeLinecap:"round",strokeLinejoin:"round"})),s=n.Z.div` background-color: var(--background-color, transparent); color: white; cursor: pointer; img { --width: var(--width-prop, 40px); --height: var(--height-prop, 40px); width: var(--width); height: var(--height); } &[data-has-max='true'] { img { max-width: var(--width); max-height: var(--height); } } &[data-avatar-type='square'] { img { --width: var(--width-prop, 72px); --height: var(--height-prop, 72px); border-radius: ${i.r.borderRadius}; } } &[data-avatar-type='rounded'] { img { border-radius: 50%; } } &[data-custom-size='true'] { display: flex; overflow: hidden; overflow: hidden; width: var(--size); height: var(--size); align-items: center; justify-content: center; background-size: cover; font-size: calc(var(--size) / 2); font-weight: bold; &[data-avatar-type='square'] { border-radius: ${i.r.borderRadius}; } &[data-avatar-type='rounded'] { border-radius: 50%; img { --width: 100%; --height: 100%; } } img { object-fit: cover; } } `,c={xs:28,small:32,medium:40,large:48,xl:64,xxl:80,xxxl:96},Avatar=({type:e="square",size:t,avatarImg:a,avatarUrl:n,firstLetter:i,backgroundColor:o,onClick:d,style:h,className:u,width:p,height:m,alt:g})=>{let b=t?c[t]:void 0,[v,f]=(0,r.useState)(!1);(0,r.useEffect)(()=>{if(n){let e=document.createElement("img");e.setAttribute("src",n),e.addEventListener("error",()=>{f(!0)})}},[n,f]);let E=(!n&&!a||v)&&i;return r.createElement(s,{style:Object.assign(Object.assign({},h),{"--size":b?b+"px":void 0,"--width-prop":p?p+"px":void 0,"--height-prop":m?m+"px":void 0,"--background-color":o}),"data-has-max":!!(p&&m),"data-avatar-type":e,onClick:d,className:u,avatarUrl:n,"data-custom-size":!!t},a,n&&!v&&r.createElement(l.I,{src:n,alt:g||"avatar"}),E&&i)},d=n.Z.div` display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; color: ${i.r.colors.red700}; border-radius: 8px; border: 1px solid ${i.r.colors.neutral100}; font-size: 0.6875rem; line-height: 1rem; border-radius: 0.5rem; `,h=(0,n.Z)(Pin3)` width: 0.75rem; height: 0.75rem; color: ${i.r.colors.gray400}; `;function DistanceTag({value:e,className:t}){return r.createElement(d,{className:t},r.createElement(h,null),r.createElement(o.T,{size:"p3",weight:"regular",color:i.r.colors.gray400},e))}let u=n.Z.div` display: inline-flex; align-items: center; justify-content: center; flex-grow: 0; flex-shrink: 0; width: calc(var(--wrapper-size, var(--icon-size)) * 1px); height: calc(var(--wrapper-size, var(--icon-size)) * 1px); &[data-clickable='true'] { cursor: pointer; } > * { width: calc(var(--icon-size) * 1px); height: calc(var(--icon-size) * 1px); } &[data-svg-custom-stroke='true'] > svg * { stroke: var(--icon-stroke-color); } &[data-svg-custom-fill='true'] > svg * { fill: var(--icon-fill-color); } `,IconWrapper=({children:e,className:t,onClick:a,wrapperSize:n,iconSize:i=24,wrapperStyle:l,iconStyle:o,svgIcon:s,wrapperProps:c})=>r.createElement(u,Object.assign({className:t,onClick:a,style:Object.assign(Object.assign(Object.assign(Object.assign({},n&&{"--wrapper-size":n}),i&&{"--icon-size":i}),s&&Object.assign(Object.assign({},s.fill&&{"--icon-fill-color":s.fill}),s.stroke&&{"--icon-stroke-color":s.stroke})),l),"data-clickable":!!a,"data-svg-custom-stroke":!!(null==s?void 0:s.stroke),"data-svg-custom-fill":!!(null==s?void 0:s.fill)},c),r.cloneElement(e,{style:o}))},P4iX:function(e,t,a){a.d(t,{H:function(){return HealthToolCardWrapper},T:function(){return ToolsBannerCard}});var r=a("z/kP"),n=a("q1tI"),i=a("/npG"),l=a("mYVa"),o=a("8vDj"),s=a("Eso5"),c=a("SPK5"),d=a("vaps"),h=a("CmQM"),u=a("UlxI"),p=a("/kWL"),m=a("2451"),g=a("5kis"),b=a("HMwR"),v=a("hePw");let f=(0,i.k)((e,{isRevamp:t,isPregTool:a,bannerColor:r,isMarryBaby:n})=>({wrapper:{position:"relative",width:"100%",height:"100%",display:"flex",gap:(0,l.h)(24),alignItems:"center",justifyContent:"space-between",padding:(0,l.h)(16),[e.fn.smallerThan("sm")]:{gap:(0,l.h)(12)}},container:{width:"100%",backgroundColor:r||(n?e.colors.mb[1]:a?e.colors.pink[1]:e.colors.blue[1]),position:"relative",display:"flex",gap:24,alignItems:"center",justifyContent:"space-between",padding:(0,l.h)(16),[e.fn.smallerThan("sm")]:{padding:`${(0,l.h)(12)} ${(0,l.h)(16)}`},a:{textDecoration:"none",color:"inherit"},'&[data-site="marryBaby"]':{a:{textDecoration:"underline"},[b.M.mbDown]:{paddingBottom:0}},[b.M.tdDown]:{height:"auto",".hhgcomp-toolbanner-wrapper":{".hhgcomp-toolbanner-inner":{display:"flex",alignItems:"center",[b.M.mbDown]:{justifyContent:"space-between"},".hhgcomp-toolbanner-iconcontainer":{position:"relative",right:(0,l.h)(-50),bottom:(0,l.h)(-20),width:(0,l.h)(110),minWidth:0,height:"auto",minHeight:0,alignSelf:"flex-end",marginBottom:(0,l.h)(-20),[b.M.mbDown]:{right:"unset"}}}}},".embedded-review":{gap:(0,l.h)(12),display:"flex",alignItems:"center"},".embedded-review__avatar":{position:"relative",minWidth:(0,l.h)(32),img:{width:(0,l.h)(32),height:(0,l.h)(32),display:"block",borderRadius:"100%"},svg:{bottom:0,right:0,position:"absolute"}}},headingWrapper:{display:"flex",flexDirection:"column",gap:t?(0,l.h)(8):0,[e.fn.smallerThan("sm")]:{gap:4}},avatarWrapper:{position:"relative",img:{maxWidth:(0,l.h)(48),maxHeight:(0,l.h)(48)},".embedded-review__avatar":{position:"relative"}},reviewText:{a:{textDecoration:"underline",textUnderlineOffset:"2px"}},iconWrapper:{display:"flex",justifyContent:"center",alignItems:"center",width:(0,l.h)(80),height:(0,l.h)(80),borderRadius:"50%",backgroundColor:"#fff",flexShrink:0,img:{maxWidth:(0,l.h)(48),maxHeight:(0,l.h)(48)},[e.fn.smallerThan("sm")]:{width:(0,l.h)(64),height:(0,l.h)(64),img:{maxWidth:(0,l.h)(40),maxHeight:(0,l.h)(40)}}},heading:{},disclaimerIcon:{flexShrink:0}})),ToolsBannerCard=e=>{var{className:t,classNames:a,heading:i,bannerColor:l,medicalReview:d={link:"#",reviewer:"",date:""},icon:m,style:b,isPregTool:v,isRevamp:E,disclaimer:w,styles:x}=e,y=(0,r._)(e,["className","classNames","heading","bannerColor","medicalReview","icon","style","isPregTool","isRevamp","disclaimer","styles"]);let{t:k}=(0,g.u)(),C=(0,o.rZ)(),P="mb"===C.other.template,O=P?"marryBaby":"helloSites",{classes:S,cx:I}=f({isRevamp:E,isPregTool:v,bannerColor:l,isMarryBaby:P},{name:"ToolsBannerCard",styles:x,classNames:a}),N=(null==d?void 0:d.reviewer)?n.createElement(p.T,{size:"label2",as:"div",className:S.reviewText},d.avatar&&n.createElement("div",{className:"embedded-review__avatar"},n.createElement(s.x,{className:S.avatarWrapper},n.createElement("img",{src:d.avatar,alt:d.reviewer,loading:"lazy"}),n.createElement(u.Z,{size:14}))),n.createElement("div",{dangerouslySetInnerHTML:{__html:k("toolPage.toolReviewer",{expert_name:`${d.reviewer.trim()}`,date:d.date})}})):null;return n.createElement(s.x,Object.assign({className:I(t,S.container),style:b,"data-site":O},y),n.createElement(c.k,{className:S.headingWrapper},n.createElement(p.T,{className:I(S.heading,"heading"),size:"h4",as:"h2"},i),N&&n.createElement(p.T,{size:"n1"},N),w&&n.createElement(c.k,{gap:4},n.createElement(h.Z,{size:16,color:C.colors.yellow[8],className:S.disclaimerIcon}),n.createElement(p.T,{size:"c1",variant:"secondary"},w))),n.createElement(c.k,{className:S.iconWrapper},m))};var E=(0,i.k)(()=>({root:{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}})),w=(0,i.k)(e=>({root:{paddingTop:16,borderRadius:"inherit",[e.fn.smallerThan("sm")]:{paddingTop:8}}})),x=(0,i.k)((e,{isPregTool:t,variant:a})=>{let r="mb"===e.other.template;return{root:Object.assign(Object.assign(Object.assign({display:"flex",flexDirection:"column",borderRadius:(0,l.h)(r?16:8)},"default"===a&&{backgroundColor:"#fff",border:`1px solid ${r?e.colors.mb[2]:t?e.colors.pink[1]:e.colors.blue[2]}`}),"gray"===a&&{backgroundColor:e.colors.neutral[0]}),"violet"===a&&{backgroundColor:e.colors.violet[0]}),submitBtn:{},bodyWrapper:{},scrollAreaWrapper:{},bannerWrapper:Object.assign(Object.assign({},"gray"===a&&{backgroundColor:"transparent",padding:`${(0,l.h)(16)} ${(0,l.h)(16)} 0`}),"violet"===a&&{backgroundColor:"transparent",padding:`${(0,l.h)(16)} ${(0,l.h)(16)} 0`}),bannerHeading:Object.assign({},("gray"===a||"violet"===a)&&{fontSize:(0,l.h)(20),lineHeight:(0,l.h)(28),fontWeight:m.F.semiBold,[e.fn.smallerThan("sm")]:{fontSize:(0,l.h)(17),lineHeight:(0,l.h)(24)}}),bannerReviewText:Object.assign({},("gray"===a||"violet"===a)&&{fontSize:(0,l.h)(14),lineHeight:(0,l.h)(22),[e.fn.smallerThan("sm")]:{fontSize:(0,l.h)(12),lineHeight:(0,l.h)(18)}}),submitWrapper:Object.assign(Object.assign({[e.fn.smallerThan("sm")]:{button:{width:"100%"}},[e.fn.largerThan("sm")]:{textAlign:"right"}},"gray"===a&&{backgroundColor:e.colors.neutral[0],button:{marginTop:10}}),"violet"===a&&{backgroundColor:e.colors.violet[0],button:{marginTop:10}}),newsletterBlock:Object.assign(Object.assign({},"gray"===a&&{backgroundColor:e.colors.neutral[0]}),"violet"===a&&{backgroundColor:e.colors.violet[0]})}});let HealthToolCardWrapper=e=>{var{children:t,styles:a,classNames:i,className:l,isPregTool:o,variant:c="default",hasBodyScroll:d}=e,h=(0,r._)(e,["children","styles","classNames","className","isPregTool","variant","hasBodyScroll"]);let{classes:u,cx:p}=x({isPregTool:o,variant:c},{name:"HealthToolCardWrapper",styles:a,classNames:i});return n.createElement(m.T,{variant:m.C.LEADGEN},n.createElement(v.C.Provider,{value:{isPregTool:o,classes:u,variant:c,hasBodyScroll:d}},n.createElement(s.x,Object.assign({className:p(l,u.root)},h),t)))};HealthToolCardWrapper.Body=e=>{var{children:t,className:a,styles:i,classNames:l}=e,o=(0,r._)(e,["children","className","styles","classNames"]);let{classes:c,hasBodyScroll:h}=(0,n.useContext)(v.C),{classes:u,cx:p}=w(void 0,{name:"HealthToolCardWrapper__Body",styles:i,classNames:l});return n.createElement(s.x,Object.assign({className:p(a,u.root,c.bodyWrapper)},o),h?n.createElement(d.x,{h:"100%",type:"auto",scrollbarSize:8,className:c.scrollAreaWrapper},t):t)},HealthToolCardWrapper.Banner=e=>{var{className:t,classNames:a,styles:i}=e,l=(0,r._)(e,["className","classNames","styles"]);let{classes:o}=(0,n.useContext)(v.C),{isPregTool:s}=(0,n.useContext)(v.C),{classes:c,cx:d}=E(void 0,{name:"HealthToolCardWrapper__Banner",classNames:a,styles:i});return n.createElement(ToolsBannerCard,Object.assign({isPregTool:s,classNames:{container:o.bannerWrapper,heading:o.bannerHeading,reviewText:o.bannerReviewText},className:d(t,c.root)},l))}},"lX+0":function(e,t,a){a.d(t,{R:function(){return RadioImageGroup}});var r=a("q1tI"),n=a("iBNF"),i=a("rBCA"),l=a("ND65"),o=a("Vitr");let s=i.Z.div` display: flex; width: 100%; &[data-direction='vertical'] { flex-direction: column; } &[data-direction='horizontal'] { flex-wrap: wrap; } `,c=i.Z.div` display: flex; padding: 8px; border-radius: ${n.r.borderRadius}; cursor: pointer; & > div { display: flex; width: 100%; height: 100%; flex-direction: column; align-items: center; justify-content: flex-start; } &[data-is-mb='false'] { &[data-selected='true'] { border: 1px solid #2d87f3; background: white; } &[data-selected='false'] { border: 1px solid #f2f2f2; box-shadow: 0px 5px 12px rgba(40, 74, 117, 0.08); } } &[data-is-mb='true'] { border-radius: 16px; background: white; padding: 16px auto; &[data-selected='true'] { border: 1px solid ${n.r.mbColors.mint}; box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.06); } &[data-selected='false'] { border: none; } } &[data-disabled='true'] { cursor: auto; } .radio-group-item-heading { margin-top: 8px; //height: 48px; text-align: center; } .gender-image { width: 70px; height: 70px; &[data-is-mobile='true'] { width: 40px; height: 40px; } } `,RadioImageGroup=({value:e,options:t,className:a,direction:i="horizontal",onChange:d,isDisabled:h,siteType:u})=>{let[p,m]=(0,r.useState)(e),handleOnChange=e=>{!h&&(m(e),d&&d(e))},g="marryBaby"===u;return r.createElement(s,{className:a,"data-direction":i},t.map((t,a)=>r.createElement(c,{"data-selected":(e||p)===t.value,"data-is-mb":g,"data-disabled":h,key:a,onClick:()=>{handleOnChange(t.value)}},r.createElement("div",null,t.content,t.label&&r.createElement(r.Fragment,null,g?r.createElement(l.M,{type:"subtitle-2",color:(e||p)===t.value?n.r.mbColors.dark:n.r.mbColors.midGray},t.label):r.createElement(o.T,{type:"bold",color:(e||p)===t.value?"#2D87F3":"black",className:"radio-group-item-heading",size:"label1"},t.label))))))}}}]);