(self.webpackChunkhhgDiscoverV1=self.webpackChunkhhgDiscoverV1||[]).push([[3184],{aHnw:function(e,t,n){"use strict";n.d(t,{A:function(){return Avatar},B:function(){return Breadcrumbs},C:function(){return CaretDown},D:function(){return _},E:function(){return ErrorIcon},F:function(){return Flag},I:function(){return ea},N:function(){return NumberInput},O:function(){return eu},P:function(){return eh},R:function(){return Radio},S:function(){return z},a:function(){return Carousel},b:function(){return Anchor},c:function(){return AspectRatio},d:function(){return Checkbox},e:function(){return ErrorLabel},f:function(){return CentralCarousel},g:function(){return ChipButton},h:function(){return ErrorBoundary},i:function(){return G},j:function(){return ec},k:function(){return eo},l:function(){return Accordion},m:function(){return $},n:function(){return em},o:function(){return Popover},s:function(){return ef},u:function(){return D}});var r=n("vEfc"),a=n("+OUp"),i=n.n(a),l=n("h84G"),o=n("vH4S"),c=n("1z9F"),s=n("GjY/"),u=n("ChHM"),d=n("jD9D"),p=n("xjta"),f=n("Iblh"),h=n("Wbba"),m=n("NXxl"),g=n("RBzE"),b=n("rBCA"),v=n("AJQa"),E=n("uzh1"),C=n("6sNj"),y=n("iBNF"),w=n("xsRI"),x=n("xXM3"),S=n.n(x),L=n("+PHJ"),k=n("tDPp"),O=n("tiWT"),I=n("AeFk"),A=n("QoN1"),j=n("vWP/"),M=n("abax"),B=(0,o.createStyles)((e,{variantStyle:t})=>{let n=t===m.C.LEADGEN,r={fontSize:(0,o.rem)(15),lineHeight:(0,o.rem)(24),letterSpacing:"-0.3px"};return{input:Object.assign({padding:"12px 16px",background:"#ffffff",border:`1px solid ${e.colors.gray[2]}`,borderRadius:4},n&&Object.assign(Object.assign({borderRadius:8},r),{color:"#111111","&::placeholder":Object.assign(Object.assign({},r),{fontSize:(0,o.rem)(13),lineHeight:(0,o.rem)(20),letterSpacing:"-0.3px",color:e.colors.gray[4]})}))}});let z=(0,a.forwardRef)((e,t)=>{var{keepSearch:n=!1}=e,a=(0,r.a)(e,["keepSearch"]);return n?i().createElement(R,Object.assign({},a,{ref:t})):i().createElement(P,Object.assign({},a,{ref:t}))}),R=(0,a.forwardRef)((e,t)=>{var{value:n,defaultValue:a,onChange:l,clearable:s}=e,u=(0,r.a)(e,["value","defaultValue","onChange","clearable"]);let[d,p]=(0,c.Z)({value:n,defaultValue:a,onChange:l});return i().createElement(o.Autocomplete,Object.assign({ref:t,rightSection:i().createElement(o.Image,{src:h.C.getAssetPath("chevron-down.svg"),fit:"none"}),size:"md",maxDropdownHeight:300,onChange:e=>p(e),value:d},u,s&&(null==d?void 0:d.length)>0?{rightSection:i().createElement(o.ActionIcon,{onClick:()=>{p("")},sx:{cursor:"pointer"}},i().createElement(_IconSelect,null))}:{}))}),P=(0,a.forwardRef)((e,t)=>{var{searchValue:n,onSearchChange:a,styles:s}=e,u=(0,r.a)(e,["searchValue","onSearchChange","styles"]);let d=(0,m.u)(),{classes:p}=B({variantStyle:d},{name:"MantineSelect",styles:s}),[f,h]=(0,c.Z)({defaultValue:"",value:n,onChange:a});return i().createElement(o.Select,Object.assign({classNames:{input:p.input},ref:t,rightSection:i().createElement(l.A,{size:18}),rightSectionProps:{style:{pointerEvents:"none"}},size:"md",maxDropdownHeight:300,onSearchChange:e=>h(e),searchValue:f},u,u.clearable&&(null==f?void 0:f.length)>0?{rightSection:i().createElement(o.ActionIcon,{onClick:()=>{h("")},sx:{cursor:"pointer"}},i().createElement(_IconSelect,null))}:{}))}),_IconSelect=()=>i().createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},i().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.6665 9.99996C1.6665 5.39163 5.3915 1.66663 9.99984 1.66663C14.6082 1.66663 18.3332 5.39163 18.3332 9.99996C18.3332 14.6083 14.6082 18.3333 9.99984 18.3333C5.3915 18.3333 1.6665 14.6083 1.6665 9.99996ZM12.4083 13.5831C12.7333 13.9081 13.2583 13.9081 13.5833 13.5831C13.9 13.2581 13.9 12.7247 13.5833 12.4081L11.175 9.99973L13.5833 7.5914C13.9083 7.2664 13.9083 6.7414 13.5833 6.4164C13.2583 6.0914 12.7333 6.0914 12.4083 6.4164L10 8.82473L7.59167 6.4164C7.26667 6.0914 6.74167 6.0914 6.41667 6.4164C6.26063 6.57209 6.17293 6.78347 6.17293 7.0039C6.17293 7.22433 6.26063 7.43571 6.41667 7.5914L8.825 9.99973L6.41667 12.4081C6.26063 12.5638 6.17293 12.7751 6.17293 12.9956C6.17293 13.216 6.26063 13.4274 6.41667 13.5831C6.74167 13.9081 7.26667 13.9081 7.59167 13.5831L10 11.1747L12.4083 13.5831Z",fill:"#8C8C8C"}));let ErrorBoundary=class ErrorBoundary extends a.Component{constructor(){super(...arguments),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(e,t){console.error("Uncaught error:",e,t)}render(){return this.state.hasError?this.props.fallback||i().createElement(i().Fragment,null):this.props.children}};let Carousel=e=>{var{slidesToShow:t=1,children:n}=e,a=(0,r.a)(e,["slidesToShow","children"]);let l=Array.isArray(n)?n.length:1;return l?i().createElement(ErrorBoundary,null,i().createElement(v.F,Object.assign({slideSize:String(Math.floor(1/t*1e4)/100)+"%",containScroll:"trimSnaps"},a),n)):null};Carousel.Slide=v.F.Slide;let H=(0,b.A)(Carousel)` cursor: grab; width: 100%; .mantine-Carousel-control { background: rgb(255, 255, 255); opacity: 1; border: none; border-radius: 0; box-shadow: none; &[data-inactive] { opacity: 0; cursor: default; } &:first-child { padding-right: 24px; background: linear-gradient( 90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0) 100% ); } &:last-child { padding-left: 24px; background: linear-gradient( 270deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0) 100% ); } } .mantine-Carousel-container { align-items: center; } `;var F=(0,o.createStyles)((e,t)=>({root:{color:t.color||("hb"===e.primaryColor?e.colors.hb[6]:e.fn.primaryColor())}}));let Anchor=e=>{var{color:t,styles:n,className:a}=e,l=(0,r.a)(e,["color","styles","className"]);let{classes:o,cx:c}=F({color:t},{name:"Anchor",styles:n});return i().createElement(E.T,Object.assign({as:"a",className:c(o.root,a)},l))},BreadcrumbItem=e=>{var{children:t}=e,n=(0,r.a)(e,["children"]);return i().createElement(Anchor,Object.assign({size:"p4",color:"gray.8"},n),t)},AspectRatio=e=>i().createElement(o.AspectRatio,Object.assign({sx:{borderRadius:4,overflow:"hidden","> img":{objectFit:"contain"}}},e)),Breadcrumbs=e=>{var t,{children:n,showHomeIcon:l=!0,homeIconHref:c="/"}=e,s=(0,r.a)(e,["children","showHomeIcon","homeIconHref"]);let u=(0,o.useMantineTheme)(),d=(null===(t=null==u?void 0:u.other)||void 0===t?void 0:t.template)==="mb",[p,f]=(0,a.useState)(null),{isMobile:h}=(0,g.u)(),[,m]=(0,a.useState)(!0),b=(0,a.useCallback)(()=>{m(!1)},[]),v=(0,a.useCallback)(()=>{setTimeout(()=>{m(!0)},1e3)},[]);return(0,a.useEffect)(()=>(p&&(p.on("scroll",b),p.on("pointerUp",v)),()=>{p&&(p.off("scroll",b),p.on("pointerUp",v))}),[p,b,v]),i().createElement(H,Object.assign({align:"center",slideGap:"xs",dragFree:!0,draggable:h,slideSize:"0",getEmblaApi:f,controlsOffset:-52,previousControlIcon:i().createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},i().createElement("path",{d:"M6.86589 3.56104C7.03647 3.56104 7.20724 3.62732 7.33724 3.75765L7.39453 3.81494C7.6552 4.07561 7.6552 4.49765 7.39453 4.75765L4.81901 7.33317L13.5326 7.33317C13.9006 7.33317 14.1992 7.63184 14.1992 7.99984C14.1992 8.36784 13.9006 8.6665 13.5326 8.6665L4.81901 8.66651L7.39453 11.242C7.6552 11.5027 7.6552 11.9247 7.39453 12.1847L7.33724 12.242C7.07657 12.5027 6.65453 12.5027 6.39453 12.242L2.6237 8.47119C2.36303 8.21053 2.36303 7.78849 2.6237 7.52849L6.39453 3.75765C6.52487 3.62732 6.6953 3.56104 6.86589 3.56104Z",fill:"#595959"})),nextControlIcon:i().createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},i().createElement("path",{d:"M9.13411 12.439C8.96353 12.439 8.79276 12.3727 8.66276 12.2423L8.60547 12.1851C8.3448 11.9244 8.3448 11.5023 8.60547 11.2423L11.181 8.66683L2.46745 8.66683C2.09945 8.66683 1.80078 8.36816 1.80078 8.00016C1.80078 7.63216 2.09945 7.3335 2.46745 7.3335L11.181 7.3335L8.60547 4.75797C8.3448 4.49731 8.3448 4.07527 8.60547 3.81527L8.66276 3.75797C8.92343 3.49731 9.34547 3.49731 9.60547 3.75797L13.3763 7.52881C13.637 7.78947 13.637 8.21152 13.3763 8.47152L9.60547 12.2423C9.47513 12.3727 9.3047 12.439 9.13411 12.439Z",fill:"#595959"}))},s),l&&i().createElement(Carousel.Slide,{style:{borderRight:`1px solid ${C.t.neutral[1]}`}},i().createElement(BreadcrumbItem,{href:c,target:"_blank",className:"pointer-event-child-none"},i().createElement(o.Box,{sx:Object.assign({},!d&&{borderRadius:"50%",display:"flex",justifyContent:"center",alignItems:"center"}),bg:!d&&C.t.neutral[0],p:d?0:6},i().createElement(AspectRatio,{ratio:1,w:18},d?i().createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},i().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.1183 3.67722C12.8727 2.70772 11.1281 2.708 9.88187 3.67718L14.1183 3.67722ZM14.1183 3.67722L19.718 8.03283C20.5589 8.68632 21.05 9.69173 21.05 10.7562V17.6002C21.05 19.5057 19.5055 21.0502 17.6 21.0502H6.40016C4.49466 21.0502 2.9502 19.5057 2.9502 17.6002V10.7562C2.9502 9.69163 3.44113 8.68632 4.28216 8.03283L9.88187 3.67718M10.6799 4.70339L5.08006 9.05916C4.55657 9.46592 4.2502 10.0923 4.2502 10.7562V17.6002C4.2502 18.7878 5.21263 19.7502 6.40016 19.7502H17.6C18.7875 19.7502 19.75 18.7878 19.75 17.6002V10.7562C19.75 10.0923 19.4438 9.46612 18.9204 9.05936L13.3202 4.70335C12.5443 4.09941 11.4571 4.09905 10.6799 4.70339Z",fill:"#3E3F58"}),i().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.2373 13.1626C12.5546 12.4794 11.4466 12.4791 10.7629 13.1628C10.0793 13.8464 10.0793 14.9538 10.7629 15.6374C11.4465 16.321 12.5539 16.321 13.2375 15.6374C13.9211 14.9538 13.9211 13.8464 13.2375 13.1628L13.2373 13.1626ZM14.1567 12.2436C12.9661 11.0521 11.0348 11.0525 9.84366 12.2436C8.65237 13.4348 8.65237 15.3653 9.84366 16.5566C11.0349 17.7479 12.9654 17.7479 14.1567 16.5566C15.348 15.3653 15.348 13.4348 14.1567 12.2436Z",fill:"#3E3F58"})):i().createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none"},i().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.58691 5.59863L8.58691 1.62305C8.83594 1.45898 9.16406 1.45898 9.41309 1.62305L15.4131 5.59863C15.624 5.73926 15.75 5.97363 15.75 6.22559V14.25C15.75 15.0791 15.0791 15.75 14.25 15.75H3.75C2.9209 15.75 2.25 15.0791 2.25 14.25V6.22559C2.25 5.97363 2.37598 5.73926 2.58691 5.59863ZM5.5017 11.7602C5.1717 11.5108 5.17316 11.0321 5.46521 10.7391C5.75775 10.4456 6.24936 10.4292 6.5986 10.6522C7.17818 11.0223 8.12516 11.4889 9.21628 11.4889C10.3074 11.4889 11.2543 11.0223 11.8339 10.6522C12.1832 10.4292 12.6748 10.4456 12.9673 10.7391C13.2594 11.0321 13.2608 11.5108 12.9308 11.7602C11.8743 12.5589 10.535 12.9889 9.21628 12.9889C7.89758 12.9889 6.55824 12.5589 5.5017 11.7602Z",fill:"#595959"})))))),i().createElement(Carousel.Slide,null),i().createElement(Carousel.Slide,null,i().createElement(o.Breadcrumbs,{styles:{separator:{marginInline:4}},separator:i().createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},i().createElement("path",{d:"M8.71527 7.99969L6.16794 5.45236C5.89194 5.17636 5.89194 4.72836 6.16794 4.45236C6.44394 4.17636 6.89194 4.17636 7.16794 4.45236L10.2439 7.52836C10.5046 7.78903 10.5046 8.21103 10.2439 8.47103L7.16794 11.547C6.89194 11.823 6.44394 11.823 6.16794 11.547C5.89194 11.271 5.89194 10.823 6.16794 10.547L8.71527 7.99969Z",fill:"#8C8C8C"}))},n)))};Breadcrumbs.Item=BreadcrumbItem;var D=(0,o.createStyles)((e,{variantStyle:t})=>{let n=t===m.C.LEADGEN,r={fontSize:(0,o.rem)(15),lineHeight:(0,o.rem)(24),letterSpacing:"-0.3px"};return{input:Object.assign({padding:"12px 16px",background:"#ffffff",border:`1px solid ${e.colors.gray[2]}`,borderRadius:4},n&&Object.assign(Object.assign({borderRadius:8},r),{color:"#111111","&::placeholder":Object.assign(Object.assign({},r),{fontSize:(0,o.rem)(15),lineHeight:(0,o.rem)(24),letterSpacing:"-0.3px",color:e.colors.gray[4]})}))}});let T=(0,b.A)(o.Accordion)` .mantine-Accordion-label { padding: 0; } .mantine-Accordion-control { &:hover { background-color: transparent; } } .mantine-Accordion-item { .mantine-Accordion-chevron { > div { background-repeat: no-repeat; width: 16px; height: 16px; background-position: center; background-image: url(${e=>e.closeChevron||h.C.getAssetPath("plus-icon.svg")}); } } &[data-active='true'] { .mantine-Accordion-chevron { > div { background-image: url(${e=>e.openChevron||h.C.getAssetPath("minus-icon.svg")}); } } } } .mantine-Accordion-panel { border-radius: ${y.w.borderRadius}; } .mantine-Accordion-content { white-space: pre-wrap; } `,Accordion=e=>{var{children:t}=e,n=(0,r.a)(e,["children"]);return i().createElement(T,Object.assign({chevron:i().createElement("div",null),disableChevronRotation:!0,transitionDuration:300},n),t)};Accordion.Control=o.Accordion.Control,Accordion.Item=o.Accordion.Item,Accordion.Panel=o.Accordion.Panel;let N=h.C.getAssetPath("avatar.jpg"),Avatar=e=>{var{withIndicator:t=!1,indicatorConfig:n=null,size:a=56,children:l,styles:c,placeholderText:s}=e,u=(0,r.a)(e,["withIndicator","indicatorConfig","size","children","styles","placeholderText"]);let generateAvatar=()=>i().createElement(o.Avatar,Object.assign({size:a,radius:"xl"},u,{imageProps:Object.assign({loading:"lazy"},u.imageProps),styles:{placeholder:{backgroundColor:u.color,color:"white"}}}),l||s||i().createElement(g.I,{src:N,width:a,alt:u.alt||"avatar"}));return t?i().createElement(o.Indicator,Object.assign({inline:!0,position:"bottom-end",offset:9},n,{styles:Object.assign({indicator:{backgroundColor:i().isValidElement(n.label)&&"transparent",zIndex:1}},c)}),generateAvatar()):generateAvatar()},V={lg:{height:48,fontSize:(0,o.rem)(16),lineHeight:"24px"},md:{height:40,fontSize:(0,o.rem)(14),lineHeight:"22px"},sm:{height:32,fontSize:(0,o.rem)(14),lineHeight:"22px"},xs:{height:32,fontSize:(0,o.rem)(13),lineHeight:(0,o.rem)(20),letterSpacing:"-0.3px"}};var Z=(0,o.createStyles)((e,{variantStyle:t,size:n})=>{let r=t===m.C.LEADGEN,a=V[n]||{},i=r?"sm"===n?{height:36,fontSize:(0,o.rem)(13),letterSpacing:"-0.3px"}:{fontSize:(0,o.rem)(15),letterSpacing:"-0.3px"}:{};return{input:{border:`1px solid ${e.colors.gray[2]}`,transition:`all ${w.A} ease-in-out`,"&:not(.mantine-Textarea-input)":Object.assign(Object.assign({minHeight:"unset"},a),i),"&:hover":{border:`1px solid ${e.fn.primaryColor()}`},"&:focus":{boxShadow:`0px 0px 0px 2px ${e.colors[e.primaryColor][2]}`},'&[data-invalid="true"]':{border:`1px solid ${e.colors.red600}`,color:"#000"}},rightSection:Object.assign({color:e.colors.gray[4]},(()=>{switch(n){case"lg":return Object.assign({fontSize:(0,o.rem)(16)},r&&{fontSize:(0,o.rem)(15)});case"md":return Object.assign({fontSize:(0,o.rem)(14)},r&&{fontSize:(0,o.rem)(15),letterSpacing:"-0.3px"});case"sm":return Object.assign({height:32,fontSize:(0,o.rem)(14),lineHeight:"22px"},r&&{height:36,fontSize:(0,o.rem)(13),letterSpacing:"-0.3px"});case"xs":return{height:32,lineHeight:(0,o.rem)(20),fontSize:(0,o.rem)(13),letterSpacing:"-0.3px"}}})())}});let _=300,$=(0,o.createEmotionCache)({key:"mantine",prepend:!1}),NumberInput=e=>{var{value:t,onChange:n,size:l="md",styles:c,classNames:u}=e,d=(0,r.a)(e,["value","onChange","size","styles","classNames"]);let[p,f]=(0,a.useState)(t),[h]=(0,s.o)(p,_),g=(0,m.u)(),{classes:b}=Z({variantStyle:g,size:l},{name:"MantineInput",styles:c,classNames:u});return(0,a.useEffect)(()=>{null==n||n(h)},[h]),(0,a.useEffect)(()=>{f(t)},[t]),i().createElement(o.NumberInput,Object.assign({stepHoldDelay:500,stepHoldInterval:e=>Math.max(1e3/Math.pow(e,2),25),onChange:f,hideControls:!0,min:0,formatter:e=>0===Number(e)?e:e||"",removeTrailingZeros:!0,value:p},d,{size:l,classNames:{input:b.input,rightSection:b.rightSection}}))},W=h.C.getAssetPath("EyeVisible.svg"),q=h.C.getAssetPath("EyeHidden.svg"),RenderVisibleToggleIcon=({reveal:e,size:t})=>i().createElement("img",{src:e?W:q,style:{width:t,height:t},loading:"lazy"}),G=(0,a.forwardRef)((e,t)=>{let{size:n="md",visibilityToggleIcon:a}=e,l=(0,r.a)(e,["size","visibilityToggleIcon"]);return i().createElement(o.PasswordInput,Object.assign({ref:t,size:n,visibilityToggleIcon:a||RenderVisibleToggleIcon},l,{className:`input-control ${(null==l?void 0:l.className)||""}`}))}),ErrorIcon=e=>{var{size:t}=e,n=(0,r.a)(e,["size"]);let a=Object.assign({width:t,height:t},n);return i().createElement("svg",Object.assign({width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),i().createElement("path",{d:"M5.996 6.513q.163 0 .282-.12a.38.38 0 0 0 .118-.28V3.937q0-.15-.118-.268a.4.4 0 0 0-.282-.119.4.4 0 0 0-.281.12.38.38 0 0 0-.119.28v2.175q0 .15.119.269.12.119.281.119m0 1.862a.43.43 0 0 0 .3-.112.4.4 0 0 0 .125-.313.4.4 0 0 0-.125-.3.4.4 0 0 0-.3-.125.4.4 0 0 0-.3.125.4.4 0 0 0-.125.3.4.4 0 0 0 .125.313.43.43 0 0 0 .3.112m0 2.375a4.6 4.6 0 0 1-1.856-.375 4.8 4.8 0 0 1-1.506-1.012A4.8 4.8 0 0 1 1.62 7.857 4.6 4.6 0 0 1 1.246 6q0-.987.375-1.856t1.013-1.506A4.8 4.8 0 0 1 4.14 1.625a4.6 4.6 0 0 1 1.856-.375q.988 0 1.857.375Q8.72 2 9.359 2.638q.637.637 1.012 1.506T10.747 6t-.375 1.857A4.8 4.8 0 0 1 9.36 9.363a4.8 4.8 0 0 1-1.506 1.012q-.87.375-1.857.375",fill:"#F44D2C"}))};ErrorIcon.defaultProps={size:18,color:y.w.colors.gray600,activeColor:y.w.colors.primaryBase};let ErrorLabel=e=>{var{label:t,withIcon:n,textProps:a}=e,l=(0,r.a)(e,["label","withIcon","textProps"]);return i().createElement(o.Flex,Object.assign({align:"center",gap:4},l),n&&i().createElement(ErrorIcon,{size:12}),i().createElement(E.T,Object.assign({size:"c1",variant:"error",dangerouslySetInnerHTML:{__html:t}},a)))},U=(0,a.createContext)({}),K=(0,I.AH)` height: 100% !important; min-height: calc(var(--container-height, 56px) * 24 / 56); line-height: calc(var(--container-height, 56px) * 24 / 56); border: none !important; border-radius: 0 !important; outline: none !important; box-shadow: none !important; padding: 0; cursor: pointer; opacity: 0; ::placeholder { color: ${y.w.colors.gray400}; } `,Y=(0,I.AH)` height: auto !important; cursor: text; opacity: 1; transition: 0.1s ease-in-out all; `,X=(0,I.AH)` position: absolute; top: calc(var(--container-height) / 2); left: var(--space-x, 16px); margin: 0; z-index: 1; cursor: pointer; transform: translateY(-50%); transition: 0.125s ease-in all; `,J=(0,I.AH)` top: var(--space-y-shrink, 6px); transform: none; transition: 0.125s ease-out all; `,Q=(0,I.AH)` min-height: var(--container-height, 56px); display: flex; align-items: flex-end; border: 1px solid ${y.w.colors.gray200}; border-radius: 8px; background-color: #fff; padding-inline: var(--space-x, 16px); padding-block: var(--space-y-not-shrink, 16px); cursor: pointer; pointer-events: none; &:has(.mantine-Input-rightSection) { padding-right: var(--container-height, 56px); } .mantine-Input-icon { display: none; } .mantine-NumberInput-control { border-color: ${y.w.colors.gray200}; } `,ee=(0,I.AH)` height: auto; min-height: var(--container-height, 56px); padding-block: var(--space-y-shrink, 6px); cursor: text; pointer-events: auto; `,et=(0,I.AH)` color: ${y.w.colors.red800}; font-size: 12px; line-height: 1.5; `,en=b.A.div` --space-x: 16px; --space-y-not-shrink: 15px; --space-y-shrink: 6px; --container-height: 56px; --label-not-shrink: 16px; --label-shrink: 12px; --input: 15px; position: relative; min-width: 100px; max-width: 100%; display: inline-block; .textField_wrapper { display: inline-block; width: 100%; cursor: pointer; } .mantine-InputWrapper-root { &[data-invalid='true'] { .mantine-Input-wrapper { border-color: ${y.w.colors.red400}; } } .mantine-Input-wrapper { &:has([data-invalid]) { border-color: ${y.w.colors.red400}; } } } .mantine-InputWrapper-label { ${X} } .mantine-Input-wrapper { ${Q} + .mantine-Popover-dropdown[data-position="bottom-start"] { left: 0 !important; } + .mantine-Popover-dropdown[data-position='top-start'] { top: unset !important; left: 0 !important; bottom: 100% !important; } } .mantine-Input-input { ${K} } &.textField_shrink { .mantine-InputWrapper-label { ${J} } .mantine-Input-wrapper { ${ee} &.mantine-Select-wrapper { .mantine-Select-rightSection { pointer-events: auto !important; } } } .mantine-Input-input { ${Y} } &:has(.PhoneInput) { .mantine-InputWrapper-label { left: var(--space-x, 16px); } .PhoneInput { .PhoneInputInput { opacity: 1; } } } } &:focus-within { .mantine-Input-wrapper { transition: 0.25s linear border; border-color: ${y.w.colors.primary600}; box-shadow: 0 0 4px ${y.w.colors.primary200}; } } .PhoneInput { --phone-select: 75px; --phone-input-space-x: 8px; width: 100%; opacity: 1; border: none; .PhoneInputCountry { background-color: transparent; border: none; padding: 0; width: var(--phone-select, 75px); } .PhoneInputInput { flex: 1; min-width: 0; line-height: 1.5; outline: none !important; border: none; box-shadow: none; font-size: var(--input, 15px); padding: 0 var(--phone-input-space-x, 8px); opacity: 0; color: ${y.w.colors.gray800} !important; :focus { color: ${y.w.colors.gray800} !important; } } } &:has(.PhoneInput) { .mantine-InputWrapper-label { left: calc( var(--space-x, 16px) + var(--phone-select, 75px) + var(--phone-input-space-x, 8px) ); } } .icon { position: absolute; top: calc(var(--container-height) / 2); right: var(--space-x, 16px); transform: translateY(-50%); transition: 0.125s ease-in all; &.shrink { top: calc(var(--container-height) / 2 - 4px); transform: translateY(0); } } `;b.A.div` &.leadgen-form_checkbox, &.leadgen-form_radio { width: 100%; } &.leadgen-form_dropdown { width: calc(50% - 12px); } .mantine-InputWrapper-root { display: block; } .mantine-InputWrapper-label { margin-bottom: 0.5rem; color: ${y.w.colors.gray800}; font-size: 16px; font-weight: 400; line-height: 1.5; } .mantine-Radio-root, .mantine-Checkbox-root { gap: 8px; min-width: calc(50% - 4px); // input[type='radio'], // input[type='checkbox'] { // border-color: ${y.w.colors.gray600}; // width: 18px; // height: 18px; // } // input[type='checkbox'] { // border-radius: 4px; // } // &[data-checked='true'] { // input[type='radio'], // input[type='checkbox'] { // border-color: ${y.w.colors.primary600}; // } // input[type='radio'] { // background-color: white; // } // } .mantine-Checkbox-input { &:checked { border-color: ${y.w.colors.primary600}; } } } .leadgen-choiceContainer { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px; } .mantine-InputWrapper-error { ${et} } `,b.A.div` position: absolute; top: calc(var(--container-height) / 2); right: var(--space-x, 16px); `;let FloatingLabelControl=e=>{let{shrink:t,onChangeShrink:n,children:l,className:c}=e,s=(0,r.a)(e,["shrink","onChangeShrink","children","className"]),[u,d]=(0,a.useState)(t),[p,f]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{d(t)},[t]),i().createElement(U.Provider,Object.assign({value:{shrinkProps:t,shrink:u,setShrink:d,onChangeShrink:n,hasIcon:p,setHasIcon:f}},s),i().createElement(en,Object.assign({shrink:u,className:(0,o.clsx)(c,"textField",{textField_shrink:!!u})},s),l))};FloatingLabelControl.Control=e=>{let{shrink:t,shrinkProps:n,onChangeShrink:r,setShrink:l,hasIcon:c}=(0,a.useContext)(U),{children:s}=e,d=(0,u.L)(()=>{n||(l(!1),null==r||r(!1))}),focusInput=e=>{let t=e.querySelectorAll('input:not([disabled]):not([type="submit"]),select:not([disabled]),textarea:not([disabled])'),n=t.item(t.length-1);n&&n.focus({preventScroll:!0})},p=(0,a.useCallback)(e=>{if(t){e.preventDefault(),focusInput(e.currentTarget);return}l(!0),null==r||r(!0),focusInput(e.currentTarget)},[t]);return(0,a.useEffect)(()=>{l(n)},[n]),i().createElement(o.Box,{ref:d,onClick:p,className:"FloatingLabelControl_wrapper"},"function"==typeof s?s({shrink:!!t,hasIcon:c}):s)},FloatingLabelControl.Icon=({Icon:e})=>{let{shrink:t,setHasIcon:n}=(0,a.useContext)(U),r=(0,o.useMantineTheme)();return(0,a.useEffect)(()=>{e&&n(!0)},[]),e?i().createElement(e,{className:`icon ${t?"shrink":""}`,shrink:t,size:24,color:r.colors.gray[9]}):null};let er=(0,a.forwardRef)((e,t)=>{var{label:n,value:l,onChange:c,onChangeRaw:u,maxLength:d,withFloatingLabel:p,styles:f,error:h,size:g="md",debouncedTime:b=_}=e,v=(0,r.a)(e,["label","value","onChange","onChangeRaw","maxLength","withFloatingLabel","styles","error","size","debouncedTime"]);let C=(0,m.u)(),{classes:y}=Z({variantStyle:C,size:g},{name:"MantineInput",styles:f}),[w,x]=(0,a.useState)(l||""),[S]=(0,s.o)(w,b);(0,a.useEffect)(()=>{null==c||c(S)},[S]),(0,a.useEffect)(()=>{x(l)},[l]);let L=Object.assign(Object.assign({classNames:{input:y.input,rightSection:y.rightSection},ref:t,size:g,onChange:e=>{"number"==typeof d&&e.currentTarget.value.length>d||(null==u||u(e),x(e.currentTarget.value))},value:w,label:n,error:h},v),{maxLength:d,className:`input-control ${(null==v?void 0:v.className)||""}`});return p?i().createElement(FloatingLabelControl,{shrink:!!w},i().createElement(FloatingLabelControl.Control,null,({shrink:e})=>i().createElement(o.TextInput,Object.assign({},L,{error:h&&i().createElement(ErrorLabel,{label:String(h)}),inputWrapperOrder:["label","input","description","error"],label:i().createElement(E.T,{size:e?"p3":"p2",variant:"secondary",weight:"halfBold"},n),styles:e=>({input:Object.assign(Object.assign({},(0,m.G)(e)[m.C.LEADGEN].p2),{color:e.colors.gray[9],fontWeight:m.F.halfBold})})})))):i().createElement(o.TextInput,Object.assign({},L))}),ea=er;ea.File=e=>i().createElement(o.FileInput,Object.assign({size:"md"},e)),ea.Password=G,ea.Number=NumberInput,ea.Wrapper=o.Input.Wrapper;let ei=v.F.Slide,el=(0,a.createContext)({}),findIndexFromLeftSide=(e,t)=>e>=t?e-t:e,findIndexFromRight=(e,t)=>e<0?t+e:e,CentralCarousel=e=>{var{children:t,blurFromCenter:n,blurFromIndex:l,blurLength:c=3,maxBlurOpacity:s=.5,onSlideChange:u,selectSlideWhenClick:f}=e,h=(0,r.a)(e,["children","blurFromCenter","blurFromIndex","blurLength","maxBlurOpacity","onSlideChange","selectSlideWhenClick"]);let{width:m}=(0,d.l)(),[g]=(0,p.w)(),b=(0,a.useRef)(null),[E,C]=(0,a.useState)(0),handleStyle=()=>{var e,t,r,a,i;let o=(null===(e=null==b?void 0:b.current)||void 0===e?void 0:e.slideNodes())||[];if((null===(t=null==b?void 0:b.current)||void 0===t?void 0:t.slideNodes().length)<=(null===(r=null==b?void 0:b.current)||void 0===r?void 0:r.slidesInView().length))return o.map(e=>{e.classList.remove("center-slide"),e.style.opacity="1"}),!1;let u=null===(a=null==b?void 0:b.current)||void 0===a?void 0:a.selectedScrollSnap();C(u);let d=o.length,p=null===(i=null==b?void 0:b.current)||void 0===i?void 0:i.slidesInView(),f=p.length,h=n?l+c-1:Math.floor(f/2),m=u+h,g=m===d?0:m>d?m-d:m,v=u-h,E=v<0?d+v:v>0?u-h:0,y=[...new Set(Array(2*h+1).fill("").map((e,t)=>findIndexFromLeftSide(E+t,d)))];o.map((e,t)=>{if(t===u?e.classList.add("center-slide"):e.classList.remove("center-slide"),-1!==y.indexOf(t)){let n=s/c;for(let r=0;r{(null==b?void 0:b.current)&&handleStyle()},[m]);let y=(0,o.createStyles)(()=>{var e,t;return{control:Object.assign({},(null===(e=null==b?void 0:b.current)||void 0===e?void 0:e.slideNodes().length)<=(null===(t=null==b?void 0:b.current)||void 0===t?void 0:t.slidesInView().length)&&{display:"none"})}}),{classes:w}=y();return i().createElement(el.Provider,{value:{slider:null==b?void 0:b.current,centerSlide:E,selectSlideWhenClick:f}},i().createElement(v.F,Object.assign({classNames:{control:w.control},ref:g,slideSize:"auto",containScroll:"trimSnaps"},{getEmblaApi:e=>{b.current=e},onSlideChange:e=>{handleStyle(),null==u||u(e)}},h,{loop:!0}),"function"==typeof t?t(E):t))};CentralCarousel.Slide=e=>{var{children:t,onClick:n,innerSlideProps:l}=e,o=(0,r.a)(e,["children","onClick","innerSlideProps"]);let{slider:c,selectSlideWhenClick:s}=(0,a.useContext)(el),u=(0,a.useRef)(),d=(0,a.useRef)(""),[p,f]=(0,a.useState)(0);(0,a.useEffect)(()=>{d.current=String(Math.round(1e4*Math.random()))},[]),(0,a.useEffect)(()=>{let e=(null==c?void 0:c.slideNodes())||[];f(e.findIndex(e=>e.dataset.key===d.current))},[c]);let h={ref:u,"data-key":d.current,"data-index":p};return i().createElement(ei,Object.assign({},h,o),i().createElement("div",Object.assign({style:{height:"100%"},onClick:()=>{s&&(null==c||c.scrollTo(p)),null==n||n(p)}},l),t))};let CheckboxWithState=e=>{var{size:t=24,isSolid:n,isActive:a}=e,l=(0,r.a)(e,["size","isSolid","isActive"]);return n?i().createElement("svg",Object.assign({width:t,height:t,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),i().createElement("path",{d:"M10 18C14.4183 18 18 14.4183 18 10C18 5.58173 14.4183 2 10 2C5.58173 2 2 5.58173 2 10C2 14.4183 5.58173 18 10 18Z",fill:"#2D87F3"}),i().createElement("path",{d:"M6.38904 10.2778L8.88904 13.0556L13.6113 6.94446",stroke:"white",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),i().createElement("path",{d:"M10 18C14.4183 18 18 14.4183 18 10C18 5.58173 14.4183 2 10 2C5.58173 2 2 5.58173 2 10C2 14.4183 5.58173 18 10 18Z",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})):a?i().createElement("svg",Object.assign({width:t,height:t,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),i().createElement("path",{opacity:".2",d:"M10 18a8 8 0 1 0 0-16 8 8 0 0 0 0 16",fill:"#2D87F3"}),i().createElement("path",{d:"m6.389 10.278 2.5 2.778 4.722-6.111",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),i().createElement("path",{d:"M10 18a8 8 0 1 0 0-16 8 8 0 0 0 0 16",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})):i().createElement("svg",Object.assign({width:t,height:t,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),i().createElement("path",{d:"M10 18a8 8 0 1 0 0-16 8 8 0 0 0 0 16",fill:"#ADB3BC",fillOpacity:".3"}),i().createElement("path",{d:"m6.389 10.278 2.5 2.778 4.722-6.111",stroke:"#ADB3BC",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),i().createElement("path",{d:"M10 18a8 8 0 1 0 0-16 8 8 0 0 0 0 16",stroke:"#ADB3BC",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))},Checkbox=e=>{var{color:t="blue",label:n,size:l,styles:c}=e,s=(0,r.a)(e,["color","label","size","styles"]);let u=(0,o.useMantineTheme)(),d=(0,m.u)(),p=(0,a.useMemo)(()=>{var e,n;return((null==t?void 0:t.includes("."))?null===(e=u.colors[t.split(".")[0]])||void 0===e?void 0:e[t.split(".")[1]]:null===(n=u.colors[t])||void 0===n?void 0:n[u.primaryShade||6])||u.colors.blue[6]},[t]),f=d===m.C.LEADGEN,h=f?20:l;return i().createElement(o.Checkbox,Object.assign({color:t,size:h,label:f?i().createElement(E.T,{size:"p2",color:u.colors.gray[8]},n):n,icon:f?e=>{var t=(0,r.a)(e,[]);return i().createElement(i().Fragment,null,i().createElement(CheckboxWithState,Object.assign({"data-icon":"true","data-default":"true",size:h},t)),i().createElement(CheckboxWithState,Object.assign({"data-icon":"true","data-hover":"true",isActive:!0,size:h},t)),i().createElement(CheckboxWithState,Object.assign({"data-icon":"true","data-checked":"true",isSolid:!0,size:h},t)))}:void 0,styles:Object.assign({input:Object.assign({"&:hover":{border:`1px solid ${p}`}},f&&{width:h,height:h,backgroundColor:"transparent",borderRadius:"50%","&,&:hover":{border:0},"& ~ [data-icon]":{opacity:0},"& ~ [data-default]":{opacity:1},"&:hover":{"& ~ [data-icon]":{opacity:0},"& ~ [data-hover]":{opacity:1}},"&:checked":{"& ~ [data-icon]":{opacity:0},"& ~ [data-checked]":{opacity:1},"&:hover":{"& ~ [data-icon]":{opacity:0},"& ~ [data-checked]":{opacity:1}}},"&, &:hover, &:checked":{backgroundColor:"transparent",borderColor:"transparent","& ~ svg":{width:"100%",transform:"none",transition:"opacity 0.2s ease"}},[u.fn.smallerThan("sm")]:{"&:hover":{"& ~ [data-icon]":{opacity:0},"& ~ [data-default]":{opacity:1}}}}),label:Object.assign({},f&&{paddingLeft:8}),body:Object.assign({},f&&{alignItems:"flex-start"}),inner:Object.assign({},f&&{paddingTop:2,width:h,height:24})},c)},s))};Checkbox.Group=o.Checkbox.Group;let eo=(0,b.A)(o.Slider)` ${e=>{let t=e.color||y.w.colors.primaryBase;return` .mantine-Slider-bar { background-color: ${t}; } .mantine-Slider-thumb { border-color: ${t}; color: ${t}; } `}} [data-theme='marryBaby'] & { ${e=>{let t=e.color||y.w.mbColors.pink;return` .mantine-Slider-bar { background-color: ${t}; } .mantine-Slider-thumb { border-color: ${t}; color: ${t}; } `}} } .mantine-Slider-label { background-color: transparent; color: #000; font-size: 14px; font-weight: bold; } `,ec=b.A.div` display: flex; align-items: center; .hhg-mantine-slider { flex-grow: 1; } button { path:not([stroke]) { stroke: ${y.w.colors.primaryBase}; } } [data-theme='marryBaby'] & { button { path:not([stroke]) { stroke: ${y.w.mbColors.pink}; } } } `,RadioWithState=e=>{var{size:t=24,isSolid:n,isActive:a}=e,l=(0,r.a)(e,["size","isSolid","isActive"]);return n?i().createElement("svg",Object.assign({width:t,height:t,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),i().createElement("path",{d:"M10 18a8 8 0 1 0 0-16 8 8 0 0 0 0 16",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),i().createElement("circle",{cx:"10",cy:"10",r:"4",fill:"#2D87F3"})):a?i().createElement("svg",Object.assign({width:t,height:t,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),i().createElement("path",{d:"M10 1a9 9 0 1 1 0 18 9 9 0 0 1 0-18",stroke:"#BCDEFF",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),i().createElement("path",{d:"M10 18a8 8 0 1 0 0-16 8 8 0 0 0 0 16",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})):i().createElement("svg",Object.assign({width:t,height:t,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),i().createElement("path",{d:"M10 18a8 8 0 1 0 0-16 8 8 0 0 0 0 16",stroke:"#ADB3BC",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))},Radio=e=>{var{color:t,label:n,size:l,styles:c}=e,s=(0,r.a)(e,["color","label","size","styles"]);let u=(0,o.useMantineTheme)(),d=(0,m.u)(),p=(0,a.useMemo)(()=>{var e,n;return((null==t?void 0:t.includes("."))?null===(e=u.colors[t.split(".")[0]])||void 0===e?void 0:e[t.split(".")[1]]:null===(n=u.colors[t])||void 0===n?void 0:n[u.primaryShade||6])||u.fn.primaryColor()},[t]),f=d===m.C.LEADGEN,h=f?20:l;return i().createElement(o.Radio,Object.assign({label:f?i().createElement(E.T,{size:"p2",color:u.colors.gray[8]},n):n,size:h,icon:f?e=>{var t=(0,r.a)(e,[]);return i().createElement(i().Fragment,null,i().createElement(RadioWithState,Object.assign({"data-icon":"true","data-default":"true",size:h},t)),i().createElement(RadioWithState,Object.assign({"data-icon":"true","data-hover":"true",isActive:!0,size:h},t)),i().createElement(RadioWithState,Object.assign({"data-icon":"true","data-checked":"true",isSolid:!0,size:h},t)))}:void 0,styles:Object.assign({radio:Object.assign({"&:hover, &:checked":{border:`1px solid ${p}`},"&:checked + .___ref-icon":{top:"50%",left:"50%",transform:"scale(1) translate(-50%, -50%)"}},f&&{width:h,height:h,backgroundColor:"transparent",marginTop:2,borderRadius:"50%","&,&:hover":{border:0},"& ~ [data-icon]":{opacity:0},"& ~ [data-default]":{opacity:1},"&:hover":{"& ~ [data-icon]":{opacity:0},"& ~ [data-hover]":{opacity:1}},"&:checked":{"& ~ [data-icon]":{opacity:0},"& ~ [data-checked]":{opacity:1},"&:hover":{"& ~ [data-icon]":{opacity:0},"& ~ [data-checked]":{opacity:1}}},"&, &:hover, &:checked":{backgroundColor:"transparent",borderColor:"transparent","& ~ svg":{position:"absolute",width:"100%",transform:"none",transition:"opacity 0.2s ease",top:2,left:0}},[u.fn.smallerThan("sm")]:{"&:hover":{"& ~ [data-icon]":{opacity:0},"& ~ [data-default]":{opacity:1}}}}),icon:{color:p},label:Object.assign({},f&&{paddingLeft:8})},c)},s))};function transferValueToOtp(e,t=6){let n=Array(t).fill("");if(e){let t=e.toString().split("");n.map((e,r)=>{t[r]&&(n[r]=t[r]||"")})}return n}function transferOtpToValue(e){return e.join("")}Radio.Group=o.Radio.Group;let es=(0,a.forwardRef)((e,t)=>{let{maxLength:n=1,placeholder:a,className:l}=e,o=(0,r.a)(e,["maxLength","placeholder","className"]);return i().createElement("input",Object.assign({maxLength:n,className:S()("Ia6IojY","otpInput",l),placeholder:a,type:"number"},o,{ref:t}))}),eu=(0,a.forwardRef)((e,t)=>{let{valueLength:n=6,type:r="number",value:l,defaultValue:c,placeholder:s,onChange:u,onBlur:d,otpShareProps:p}=e,f=(0,a.useRef)(Array(n).fill(null)),[h,m]=(0,a.useState)(c||l),[g,b]=(0,a.useState)(-1),[v,E]=(0,a.useState)(()=>transferValueToOtp(h,n)),C=(0,a.useCallback)(()=>{if(-1===g)return;let e=f.current[g];e&&(e.value="",v[g]="",E(v),m(()=>transferOtpToValue(v)),null==u||u(transferOtpToValue(v)))},[g,u,v]),y=(0,a.useCallback)(()=>{if(0===g)return;let e=f.current[g];e&&e.blur();let t=f.current[g-1];t&&t.focus()},[g]),w=(0,a.useCallback)(()=>{if(g===n-1)return;let e=f.current[g];e&&e.blur();let t=f.current[g+1];t&&t.focus()},[g,n]),x=(0,a.useCallback)(e=>{let t=e.target,n=t.value,r=n.toString().slice(0,1),a=f.current.findIndex(e=>e===t);-1!==a&&(v[a]=r,E(v),m(()=>transferOtpToValue(v)),null==u||u(transferOtpToValue(v))),w()},[w,u,v]),L=(0,a.useCallback)(e=>{let t=e.target,n=f.current.findIndex(e=>e===t);"number"===r?t.select():t.setSelectionRange(0,t.value.length,"backward"),-1!==n&&b(n)},[]),k=(0,a.useCallback)(e=>{let t=e.clipboardData.getData("text/plain"),r=transferValueToOtp(t,n),a=transferOtpToValue(r);E(r),m(a),null==u||u(a)},[u,r,n]),O=(0,a.useCallback)(e=>{8===e.keyCode||"Backspace"===e.key?(e.preventDefault(),C(),y()):46===e.keyCode||"Delete"===e.key?(e.preventDefault(),C()):37===e.keyCode||"ArrowLeft"===e.key?(e.preventDefault(),y()):39===e.keyCode||"ArrowRight"===e.key?(e.preventDefault(),w()):(32===e.keyCode||" "===e.key||"Spacebar"===e.key||"Space"===e.key)&&e.preventDefault()},[C,w,y]);return(0,a.useImperativeHandle)(t,()=>f.current[0],[]),(0,a.useEffect)(()=>{E(()=>transferValueToOtp(l,n)),m(l)},[n,l]),i().createElement(o.Flex,{justify:"center",columnGap:8,className:S()("_2iQs0sk","otpContainer")},v.map((e,t)=>i().createElement(es,Object.assign({},p,{ref:e=>{f.current[t]=e},key:""+t,value:e,type:r,onChange:x,onFocus:L,onKeyDown:O,onPaste:k,onBlur:d,placeholder:s}))))}),CambodiaRoundIcon=e=>i().createElement(g.I,Object.assign({alt:"round cambodia flag",src:h.C.getAssetPath("flags/cambodiaRound.png"),style:Object.assign({borderRadius:"50%"},e.style)},e)),CambodiaSquareIcon=e=>i().createElement(g.I,Object.assign({alt:"square cambodia flag",src:h.C.getAssetPath("flags/cambodiaSquare.png")},e)),EnglishRoundIcon=e=>i().createElement("svg",Object.assign({viewBox:"0 0 20 20",fill:"none",style:Object.assign({borderRadius:"50%"},e.style)},e),i().createElement("g",null,i().createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},i().createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#C4C4C4"})),i().createElement("path",{d:"M7.49953 0.327881C5.47199 0.850891 3.69346 1.98591 2.37793 3.53444L7.49953 6.6655V0.327881Z",fill:"#3F51B5"}),i().createElement("path",{d:"M2.30273 16.3824C3.62476 17.9749 5.4353 19.1399 7.50034 19.6729V13.2053L2.30273 16.3824Z",fill:"#3F51B5"}),i().createElement("path",{d:"M0.328125 12.5C0.334625 12.526 0.341125 12.5515 0.348125 12.5775L0.474128 12.5H0.328125Z",fill:"white"}),i().createElement("path",{d:"M17.7871 3.73445C16.4571 2.08391 14.6131 0.872891 12.499 0.327881V6.96651L17.7871 3.73445Z",fill:"#3F51B5"}),i().createElement("path",{d:"M12.499 19.6722C14.6506 19.1172 16.5196 17.8707 17.8546 16.1752L12.499 12.9021V19.6722Z",fill:"#3F51B5"}),i().createElement("path",{d:"M0.376626 7.31055C0.359125 7.37305 0.344125 7.43705 0.328125 7.50005H0.686632L0.376626 7.31055Z",fill:"white"}),i().createElement("path",{d:"M19.8745 8.50006C19.827 8.18506 19.7655 7.87555 19.6895 7.57104L18.1699 8.50006H19.8745Z",fill:"white"}),i().createElement("path",{d:"M0.686034 7.50024H0.327527C0.243026 7.82775 0.175524 8.16076 0.124023 8.50026H2.32207L0.686034 7.50024Z",fill:"white"}),i().createElement("path",{d:"M19.7197 12.3148C19.7832 12.0473 19.8337 11.7752 19.8752 11.5002H18.3867L19.7197 12.3148Z",fill:"white"}),i().createElement("path",{d:"M2.10956 11.5002H0.124023C0.175024 11.8398 0.243026 12.1728 0.327527 12.5003H0.47403L2.10956 11.5002Z",fill:"white"}),i().createElement("path",{d:"M8.50002 7.27665V0.124512C8.16051 0.175513 7.82751 0.243514 7.5 0.328016V6.66564L8.50002 7.27665Z",fill:"white"}),i().createElement("path",{d:"M11.5 12.2913V19.8759C11.8395 19.8249 12.1725 19.7569 12.5 19.6724V12.9023L11.5 12.2913Z",fill:"white"}),i().createElement("path",{d:"M7.5 13.205V19.6721C7.82751 19.7566 8.16051 19.8241 8.50002 19.8756V12.594L7.5 13.205Z",fill:"white"}),i().createElement("path",{d:"M11.5925 7.34715L11.7345 7.43415L12.5 6.96614V0.328016C12.1725 0.243514 11.8395 0.176013 11.5 0.124512V7.49865L11.5925 7.34715Z",fill:"white"}),i().createElement("path",{d:"M2.32251 8.50002H7.01761L8.50014 7.594V7.277L7.50011 6.66548L2.37852 3.53442C1.95151 4.03743 1.572 4.58144 1.24949 5.16296L5.02507 7.5H2.29701L0.650482 6.47648C0.54748 6.74949 0.455478 7.02699 0.375977 7.3105L0.686483 7.5L2.32251 8.50002Z",fill:"white"}),i().createElement("path",{d:"M11.7344 7.43419L13.4784 8.50021H18.171L19.6905 7.57119C19.528 6.92118 19.303 6.29767 19.02 5.70516L16.139 7.50019H13.4109L18.317 4.45013C18.1515 4.20313 17.9735 3.96562 17.7875 3.73462L12.4999 6.96618L11.7344 7.43419Z",fill:"white"}),i().createElement("path",{d:"M5.02448 7.50013L1.2494 5.16309C1.0169 5.58259 0.821394 6.0231 0.650391 6.47661L2.29642 7.50013H5.02448Z",fill:"#E53935"}),i().createElement("path",{d:"M16.1392 7.50024L19.0207 5.70521C18.8132 5.2702 18.5837 4.84819 18.3177 4.45068L13.4111 7.50024H16.1392Z",fill:"#E53935"}),i().createElement("path",{d:"M11.5 11.5002V12.2913L12.5 12.9023L17.8556 16.1758C18.2416 15.6853 18.5836 15.1593 18.8736 14.6008L15.4856 12.5003H18.2136L19.4432 13.2673C19.5507 12.9563 19.6432 12.6393 19.7197 12.3153L18.3871 11.5002H11.5Z",fill:"white"}),i().createElement("path",{d:"M13.4785 8.50019L11.7345 7.43417L11.5925 7.34717L11.5 7.49867V8.50019H13.4785Z",fill:"white"}),i().createElement("path",{d:"M8.49934 12.5943V11.5002H2.10921L0.473182 12.5003L0.34668 12.5778C0.522683 13.2383 0.762688 13.8713 1.06319 14.4708L4.16375 12.5003H6.89181L1.80071 15.7168C1.95971 15.9448 2.12471 16.1688 2.30172 16.3823L7.49932 13.2053L8.49934 12.5943Z",fill:"white"}),i().createElement("path",{d:"M7.01758 8.50026H8.50011V7.59424L7.01758 8.50026Z",fill:"white"}),i().createElement("path",{d:"M15.4854 12.5L18.8729 14.6C19.0949 14.173 19.2834 13.727 19.4429 13.2665L18.2134 12.5H15.4854Z",fill:"#E53935"}),i().createElement("path",{d:"M4.16501 12.5L1.06445 14.4705C1.28196 14.9045 1.52596 15.3216 1.80197 15.7166L6.89307 12.5H4.16501Z",fill:"#E53935"}),i().createElement("path",{d:"M13.4785 8.5H11.5V11.5001H18.3871H19.8757C19.9497 11.0095 20.0002 10.511 20.0002 10C20.0002 9.48902 19.9497 8.99051 19.8757 8.5H18.1711H13.4785Z",fill:"#E53935"}),i().createElement("path",{d:"M8.50017 11.5001V8.5H7.01764H2.32255H0.124502C0.050501 8.99051 0 9.48902 0 10C0 10.511 0.050501 11.0095 0.124502 11.5001H2.11004H8.50017Z",fill:"#E53935"}),i().createElement("path",{d:"M11.5001 19.8759V12.2912V11.5002V8.50016V7.49865V0.124502C11.0095 0.050501 10.511 0 10 0C9.48902 0 8.99051 0.050501 8.5 0.124502V7.27664V7.59365V8.50016V11.5002V12.5942V19.8759C8.99051 19.9499 9.48902 20.0004 10 20.0004C10.511 20.0004 11.0095 19.9499 11.5001 19.8759Z",fill:"#E53935"}))),EnglishSquareIcon=e=>i().createElement("svg",Object.assign({viewBox:"0 0 26 26",fill:"none"},e),i().createElement("g",null,i().createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"1",y:"5",width:"24",height:"16"},i().createElement("path",{d:"M1.08301 7.41675C1.08301 6.31218 1.97844 5.41675 3.08301 5.41675H22.9163C24.0209 5.41675 24.9163 6.31218 24.9163 7.41675V18.5834C24.9163 19.688 24.0209 20.5834 22.9163 20.5834H3.08301C1.97844 20.5834 1.08301 19.688 1.08301 18.5834V7.41675Z",fill:"#3F51B5"})),i().createElement("path",{d:"M1.08301 5.41675H24.9163V20.5834H1.08301V5.41675Z",fill:"#3F51B5"}),i().createElement("path",{d:"M1.08301 7.70041L12.3551 14.5899L14.05 11.8165L3.57901 5.41675H1.08301V7.70041Z",fill:"white"}),i().createElement("path",{d:"M24.9165 5.41675H22.9616L12.4912 11.816L14.1855 14.5899L24.9165 8.03083V5.41675Z",fill:"white"}),i().createElement("path",{d:"M14.1855 10.9802L12.4912 13.7536L23.6658 20.5834H24.9165V17.5387L14.1855 10.9802Z",fill:"white"}),i().createElement("path",{d:"M1.08301 17.8702V20.5834H2.87592L14.05 13.7541L12.3556 10.9802L1.08301 17.8702Z",fill:"white"}),i().createElement("path",{d:"M1.08301 10.8333H24.9163V15.1666H1.08301V10.8333Z",fill:"white"}),i().createElement("path",{d:"M10.833 5.41675H15.1663V20.5834H10.833V5.41675Z",fill:"white"}),i().createElement("path",{d:"M9.32609 10.8334L1.08301 5.79537V7.06504L7.24826 10.8334H9.32609ZM24.0004 5.41675L15.1376 10.8334H17.2149L24.9163 6.12687V5.41675H24.0004ZM17.9191 15.1667L24.9163 19.4432V18.1735L19.9964 15.1667H17.9191ZM8.62192 15.1667L1.08301 19.7742V20.5834H1.83701L10.6992 15.1667H8.62192ZM1.08301 11.9167H24.9163V14.0834H1.08301V11.9167Z",fill:"#E53935"}),i().createElement("path",{d:"M11.917 5.41675H14.0837V20.5834H11.917V5.41675Z",fill:"#E53935"}))),IndiaRoundIcon=e=>i().createElement(g.I,Object.assign({alt:"round india flag",src:h.C.getAssetPath("flags/indiaRound.png"),style:Object.assign({borderRadius:"50%"},e.style)},e)),IndiaSquareIcon=e=>i().createElement(g.I,Object.assign({alt:"square indian flag",src:h.C.getAssetPath("flags/indiaSquare.png")},e)),IndonesiaRoundIcon=e=>{var t=(0,r.a)(e,[]);let n=(0,k.a)();return i().createElement("svg",Object.assign({viewBox:"0 0 20 20",fill:"none"},t),i().createElement("mask",{id:n,style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},i().createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#C4C4C4"})),i().createElement("g",{mask:`url(#${n})`},i().createElement("rect",{width:"20",height:"10",fill:"#CE1126"}),i().createElement("rect",{y:"10",width:"20",height:"10",fill:"white"})))},IndonesiaSquareIcon=e=>{var t=(0,r.a)(e,[]);let n=(0,k.a)();return i().createElement("svg",Object.assign({viewBox:"0 0 24 16",fill:"none"},t),i().createElement("g",{clipPath:`url(#${n})`},i().createElement("rect",{y:"0.0166016",width:"24",height:"8",fill:"#CE1126"}),i().createElement("rect",{y:"8.0166",width:"24",height:"8",fill:"white"})),i().createElement("defs",null,i().createElement("clipPath",{id:n},i().createElement("rect",{width:"24",height:"16",rx:"2",fill:"white"}))))},MalaysiaRoundIcon=e=>i().createElement("svg",Object.assign({viewBox:"0 0 20 20",fill:"none",style:Object.assign({borderRadius:"50%"},e.style)},e),i().createElement("g",null,i().createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},i().createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#C4C4C4"})),i().createElement("rect",{y:"1",width:"20",height:"20",fill:"#CC0001"}),i().createElement("rect",{y:"16.106",width:"20",height:"1.02041",fill:"white"}),i().createElement("rect",{y:"16",width:"20",height:"1.02041",fill:"white"}),i().createElement("rect",{y:"18",width:"20",height:"1.02041",fill:"white"}),i().createElement("rect",{y:"14.0652",width:"20",height:"1.02041",fill:"white"}),i().createElement("rect",{y:"12.0242",width:"20",height:"1.02041",fill:"white"}),i().createElement("rect",{y:"9.9834",width:"20",height:"1.02041",fill:"white"}),i().createElement("rect",{y:"7.94263",width:"20",height:"1.02041",fill:"white"}),i().createElement("rect",{y:"5.90186",width:"20",height:"1.02041",fill:"white"}),i().createElement("rect",{y:"3.86084",width:"20",height:"1.02041",fill:"white"}),i().createElement("rect",{y:"2",width:"20",height:"1.02041",fill:"white"}),i().createElement("rect",{width:"20",height:"1.02041",fill:"white"}),i().createElement("rect",{y:"-1",width:"10",height:"12",fill:"#010066"}),i().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.11387 3.86084C2.92711 3.86084 1.96387 5.23232 1.96387 6.92206C1.96387 8.6118 2.92711 9.98329 4.11387 9.98329C4.54263 9.98329 4.94211 9.80406 5.27763 9.4957C5.08225 9.59203 4.87256 9.64471 4.65427 9.64471C3.60193 9.64471 2.74786 8.42866 2.74786 6.93032C2.74786 5.43198 3.60193 4.21594 4.65427 4.21594C4.88682 4.21594 5.10959 4.27527 5.31571 4.38397C4.97256 4.0538 4.5589 3.86084 4.11387 3.86084Z",fill:"#FFCC00"}),i().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.67935 8.51573L6.7737 7.8407L7.04147 9.22221L6.43573 8.06657L6.24676 9.47313L6.0609 8.06576L5.4526 9.2188L5.72343 7.83844L4.81629 8.50957L5.49017 7.42963L4.46387 7.48593L5.40732 6.9203L4.46512 6.35062L5.4913 6.41133L4.81981 5.3285L5.72546 6.00353L5.45769 4.62202L6.06343 5.77766L6.25241 4.37109L6.43827 5.77847L7.04656 4.62543L6.77574 6.00579L7.68287 5.33466L7.00899 6.4146L8.0353 6.3583L7.09184 6.92392L8.03404 7.49361L7.00786 7.43289L7.67935 8.51573Z",fill:"#FFCC00"}))),MalaysiaSquareIcon=e=>i().createElement("svg",Object.assign({viewBox:"0 0 24 16",fill:"none"},e),i().createElement("rect",{width:"24",height:"16",rx:"2",fill:"#CC0001"}),i().createElement("rect",{y:"12.2712",width:"24",height:"0.777454",fill:"white"}),i().createElement("rect",{y:"12.1904",width:"24",height:"0.777454",fill:"white"}),i().createElement("rect",{y:"13.7144",width:"24",height:"0.777454",fill:"white"}),i().createElement("rect",{y:"10.7161",width:"24",height:"0.777454",fill:"white"}),i().createElement("rect",{y:"9.16138",width:"24",height:"0.777454",fill:"white"}),i().createElement("rect",{y:"7.60645",width:"24",height:"0.777454",fill:"white"}),i().createElement("rect",{y:"6.05127",width:"24",height:"0.777454",fill:"white"}),i().createElement("rect",{y:"4.49658",width:"24",height:"0.777454",fill:"white"}),i().createElement("rect",{y:"2.94141",width:"24",height:"0.777454",fill:"white"}),i().createElement("rect",{y:"1.52393",width:"24",height:"0.777454",fill:"white"}),i().createElement("rect",{width:"24",height:"0.777454",fill:"white"}),i().createElement("path",{d:"M0 2C0 0.895431 0.895431 0 2 0H12V8.38095H0V2Z",fill:"#010066"}),i().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.93644 1.52393C3.51233 1.52393 2.35645 2.56887 2.35645 3.85629C2.35645 5.14371 3.51233 6.18865 4.93644 6.18865C5.45096 6.18865 5.93034 6.05209 6.33296 5.81716C6.09851 5.89054 5.84688 5.93068 5.58492 5.93068C4.32212 5.93068 3.29724 5.00417 3.29724 3.86258C3.29724 2.72099 4.32212 1.79448 5.58492 1.79448C5.86399 1.79448 6.13132 1.83968 6.37865 1.9225C5.96688 1.67094 5.47049 1.52393 4.93644 1.52393Z",fill:"#FFCC00"}),i().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.216 5.07041L8.12923 4.55611L8.45055 5.60869L7.72366 4.72819L7.49689 5.79987L7.27386 4.72758L6.5439 5.60609L6.86889 4.55439L5.78033 5.06572L6.58899 4.24291L5.35742 4.28581L6.48957 3.85485L5.35893 3.42081L6.59034 3.46707L5.78456 2.64205L6.87133 3.15636L6.55001 2.10378L7.2769 2.98427L7.50367 1.9126L7.7267 2.98488L8.45666 2.10638L8.13166 3.15808L9.22022 2.64674L8.41157 3.46955L9.64314 3.42666L8.51099 3.85761L9.64163 4.29165L8.41022 4.2454L9.216 5.07041Z",fill:"#FFCC00"})),MyanmarRoundIcon=e=>i().createElement("svg",Object.assign({viewBox:"0 0 20 20",fill:"none",style:Object.assign({borderRadius:"50%"},e.style)},e),i().createElement("g",null,i().createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},i().createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#C4C4C4"})),i().createElement("rect",{x:"-4",y:"-1",width:"28",height:"11",fill:"#FECB00"}),i().createElement("rect",{x:"-4",y:"10",width:"28",height:"10",fill:"#EA2839"}),i().createElement("rect",{x:"-4",y:"6.7041",width:"28",height:"6.47773",fill:"#34B233"}),i().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.56543 10.3272L10.1796 5.15527L11.7938 10.3272H8.56543Z",fill:"white"}),i().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.5292 11.2775L7.18336 14.5129L8.91745 9.37991L11.5292 11.2775Z",fill:"white"}),i().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.75181 11.8648L5.33182 8.73143L10.7494 8.79447L9.75181 11.8648Z",fill:"white"}),i().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.6105 8.78962L15.0281 8.72658L10.6081 11.86L9.6105 8.78962Z",fill:"white"}),i().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.4424 9.37686L13.1765 14.5098L8.83064 11.2744L11.4424 9.37686Z",fill:"white"}))),MyanmarSquareIcon=e=>i().createElement("svg",Object.assign({viewBox:"0 0 24 16",fill:"none"},e),i().createElement("rect",{width:"24",height:"16",rx:"2",fill:"#FECB00"}),i().createElement("rect",{y:"8.3811",width:"24",height:"7.61905",rx:"2",fill:"#EA2839"}),i().createElement("rect",{y:"5.86987",width:"24",height:"4.93542",fill:"#34B233"}),i().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.7705 8.63046L12.1541 4.68994L13.5377 8.63046H10.7705Z",fill:"white"}),i().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.3108 9.35502L9.58574 11.8201L11.0721 7.90925L13.3108 9.35502Z",fill:"white"}),i().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.7874 9.80216L7.99884 7.41482L12.6425 7.46285L11.7874 9.80216Z",fill:"white"}),i().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.6667 7.4589L16.3104 7.41087L12.5218 9.79821L11.6667 7.4589Z",fill:"white"}),i().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.2361 7.90629L14.7225 11.8171L10.9974 9.35207L13.2361 7.90629Z",fill:"white"})),PhilippinesRoundIcon=e=>i().createElement(g.I,Object.assign({alt:"round philippines flag",src:h.C.getAssetPath("flags/philippineRound.png"),style:Object.assign({borderRadius:"50%"},e.style)},e)),PhilippinesSquareIcon=e=>i().createElement(g.I,Object.assign({alt:"square philippines flag",src:h.C.getAssetPath("flags/philippineSquare.png")},e)),SingaporeRoundIcon=e=>i().createElement("svg",Object.assign({viewBox:"0 0 20 20",fill:"none",style:Object.assign({borderRadius:"50%"},e.style)},e),i().createElement("g",null,i().createElement("mask",{maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},i().createElement("circle",{cx:"10",cy:"10",r:"10",fill:"white"})),i().createElement("rect",{width:"20",height:"10",y:"0",fill:"#EF3340"}),i().createElement("rect",{width:"20",height:"10",y:"10",fill:"#FFFFFF"}),i().createElement("circle",{cx:"6",cy:"5",r:"3",fill:"white"}),i().createElement("circle",{cx:"6.8",cy:"5",r:"2.4",fill:"#EF3340"}),i().createElement("g",{fill:"white",transform:"translate(6 5)"},i().createElement("polygon",{points:"0,-0.9 0.26,-0.26 0.9,0 0.26,0.26 0,0.9 -0.26,0.26 -0.9,0 -0.26,-0.26",transform:"translate(1.8 -2)"}),i().createElement("polygon",{points:"0,-0.9 0.26,-0.26 0.9,0 0.26,0.26 0,0.9 -0.26,0.26 -0.9,0 -0.26,-0.26",transform:"translate(3 -1)"}),i().createElement("polygon",{points:"0,-0.9 0.26,-0.26 0.9,0 0.26,0.26 0,0.9 -0.26,0.26 -0.9,0 -0.26,-0.26",transform:"translate(3 0.5)"}),i().createElement("polygon",{points:"0,-0.9 0.26,-0.26 0.9,0 0.26,0.26 0,0.9 -0.26,0.26 -0.9,0 -0.26,-0.26",transform:"translate(1.8 1.5)"}),i().createElement("polygon",{points:"0,-0.9 0.26,-0.26 0.9,0 0.26,0.26 0,0.9 -0.26,0.26 -0.9,0 -0.26,-0.26",transform:"translate(0.6 0.5)"})))),SingaporeSquareIcon=e=>i().createElement("svg",Object.assign({viewBox:"0 0 24 16",fill:"none"},e),i().createElement("rect",{width:"24",height:"16",rx:"2",fill:"white"}),i().createElement("rect",{width:"24",height:"8",rx:"2",fill:"#EF3340"}),i().createElement("circle",{cx:"6",cy:"4",r:"3",fill:"white"}),i().createElement("circle",{cx:"6.8",cy:"4",r:"2.4",fill:"#EF3340"}),i().createElement("g",{fill:"white",transform:"translate(6 4)"},i().createElement("polygon",{points:"0,-1 0.3,-0.3 1,0 0.3,0.3 0,1 -0.3,0.3 -1,0 -0.3,-0.3",transform:"translate(1.8 -2)"}),i().createElement("polygon",{points:"0,-1 0.3,-0.3 1,0 0.3,0.3 0,1 -0.3,0.3 -1,0 -0.3,-0.3",transform:"translate(3 -1)"}),i().createElement("polygon",{points:"0,-1 0.3,-0.3 1,0 0.3,0.3 0,1 -0.3,0.3 -1,0 -0.3,-0.3",transform:"translate(3 0.5)"}),i().createElement("polygon",{points:"0,-1 0.3,-0.3 1,0 0.3,0.3 0,1 -0.3,0.3 -1,0 -0.3,-0.3",transform:"translate(1.8 1.5)"}),i().createElement("polygon",{points:"0,-1 0.3,-0.3 1,0 0.3,0.3 0,1 -0.3,0.3 -1,0 -0.3,-0.3",transform:"translate(0.6 0.5)"}))),TaiwanRoundIcon=e=>i().createElement("svg",Object.assign({viewBox:"0 0 20 20",fill:"none",style:Object.assign({borderRadius:"50%"},e.style)},e),i().createElement("g",null,i().createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},i().createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#C4C4C4"})),i().createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#D8D8D8"}),i().createElement("g",null,i().createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},i().createElement("circle",{cx:"10",cy:"10",r:"10",fill:"white"})),i().createElement("rect",{width:"30",height:"20",fill:"#ED1E24"}),i().createElement("rect",{width:"15",height:"10",fill:"#2B2F84"}),i().createElement("circle",{cx:"7.49791",cy:"4.99913",r:"1.869",fill:"white"}),i().createElement("path",{d:"M7.93582 2.89402L7.49722 1.25732L7.05762 2.89812C7.28902 2.84212 7.64062 2.82912 7.93582 2.89402Z",fill:"white"}),i().createElement("path",{d:"M6.82515 2.95674L5.62695 1.75854L6.06655 3.39934C6.23895 3.23514 6.53695 3.04814 6.82515 2.95674Z",fill:"white"}),i().createElement("path",{d:"M5.89364 3.56677L4.25684 3.12817L5.45794 4.32927C5.52514 4.10107 5.68964 3.79007 5.89364 3.56677Z",fill:"white"}),i().createElement("path",{d:"M5.39266 4.56055L3.75586 4.99915L5.39666 5.43885C5.34066 5.20745 5.32756 4.85585 5.39266 4.56055Z",fill:"white"}),i().createElement("path",{d:"M5.45504 5.67188L4.25684 6.87007L5.89764 6.43047C5.73344 6.25807 5.54634 5.96007 5.45504 5.67188Z",fill:"white"}),i().createElement("path",{d:"M6.06555 6.60278L5.62695 8.23958L6.82815 7.03838C6.59975 6.97128 6.28875 6.80678 6.06555 6.60278Z",fill:"white"}),i().createElement("path",{d:"M7.05859 7.1041L7.49719 8.7409L7.93679 7.1001C7.70549 7.1561 7.35399 7.1692 7.05859 7.1041Z",fill:"white"}),i().createElement("path",{d:"M8.16992 7.04148L9.36812 8.23968L8.92852 6.59888C8.75622 6.76308 8.45822 6.95018 8.16992 7.04148Z",fill:"white"}),i().createElement("path",{d:"M9.10156 6.43145L10.7384 6.87005L9.53726 5.66895C9.47006 5.89725 9.30556 6.20825 9.10156 6.43145Z",fill:"white"}),i().createElement("path",{d:"M9.60263 5.43763L11.2394 4.99903L9.59863 4.55933C9.65463 4.79073 9.66763 5.14223 9.60263 5.43763Z",fill:"white"}),i().createElement("path",{d:"M9.54026 4.32637L10.7385 3.12817L9.09766 3.56777C9.26196 3.74007 9.44896 4.03807 9.54026 4.32637Z",fill:"white"}),i().createElement("path",{d:"M8.92959 3.39534L9.36819 1.75854L8.16699 2.95964C8.39529 3.02674 8.70629 3.19124 8.92959 3.39534Z",fill:"white"})))),TaiwanSquareIcon=e=>i().createElement("svg",Object.assign({viewBox:"0 0 24 16",fill:"none"},e),i().createElement("rect",{width:"24",height:"16",rx:"2",fill:"#ED1E24"}),i().createElement("path",{d:"M0 2C0 0.89543 0.895431 0 2 0H15V10H0V2Z",fill:"#2B2F84"}),i().createElement("circle",{cx:"7.49791",cy:"4.99913",r:"1.869",fill:"white"}),i().createElement("path",{d:"M7.93582 2.89402L7.49722 1.25732L7.05762 2.89812C7.28902 2.84212 7.64062 2.82912 7.93582 2.89402Z",fill:"white"}),i().createElement("path",{d:"M6.82515 2.95674L5.62695 1.75854L6.06655 3.39934C6.23895 3.23514 6.53695 3.04814 6.82515 2.95674Z",fill:"white"}),i().createElement("path",{d:"M5.89364 3.56677L4.25684 3.12817L5.45794 4.32927C5.52514 4.10107 5.68964 3.79007 5.89364 3.56677Z",fill:"white"}),i().createElement("path",{d:"M5.39266 4.56055L3.75586 4.99915L5.39666 5.43885C5.34066 5.20745 5.32756 4.85585 5.39266 4.56055Z",fill:"white"}),i().createElement("path",{d:"M5.45504 5.67188L4.25684 6.87007L5.89764 6.43047C5.73344 6.25807 5.54634 5.96007 5.45504 5.67188Z",fill:"white"}),i().createElement("path",{d:"M6.06555 6.60278L5.62695 8.23958L6.82815 7.03838C6.59975 6.97128 6.28875 6.80678 6.06555 6.60278Z",fill:"white"}),i().createElement("path",{d:"M7.05859 7.1041L7.49719 8.7409L7.93679 7.1001C7.70549 7.1561 7.35399 7.1692 7.05859 7.1041Z",fill:"white"}),i().createElement("path",{d:"M8.16992 7.04148L9.36812 8.23968L8.92852 6.59888C8.75622 6.76308 8.45822 6.95018 8.16992 7.04148Z",fill:"white"}),i().createElement("path",{d:"M9.10156 6.43145L10.7384 6.87005L9.53726 5.66895C9.47006 5.89725 9.30556 6.20825 9.10156 6.43145Z",fill:"white"}),i().createElement("path",{d:"M9.60263 5.43763L11.2394 4.99903L9.59863 4.55933C9.65463 4.79073 9.66763 5.14223 9.60263 5.43763Z",fill:"white"}),i().createElement("path",{d:"M9.54026 4.32637L10.7385 3.12817L9.09766 3.56777C9.26196 3.74007 9.44896 4.03807 9.54026 4.32637Z",fill:"white"}),i().createElement("path",{d:"M8.92959 3.39534L9.36819 1.75854L8.16699 2.95964C8.39529 3.02674 8.70629 3.19124 8.92959 3.39534Z",fill:"white"})),ThailandRoundIcon=e=>i().createElement("svg",Object.assign({viewBox:"0 0 20 20",fill:"none",style:Object.assign({borderRadius:"50%"},e.style)},e),i().createElement("g",null,i().createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},i().createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#C4C4C4"})),i().createElement("rect",{x:"-4",y:"-0.0166016",width:"28",height:"20",fill:"#ED1C24"}),i().createElement("rect",{x:"-4",y:"3.31665",width:"28",height:"13.3333",fill:"white"}),i().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M-4 6.65015H24V13.3168H-4V6.65015Z",fill:"#241D4F"}))),ThailandSquareIcon=e=>i().createElement("svg",Object.assign({viewBox:"0 0 24 17",fill:"none"},e),i().createElement("rect",{y:"0.983398",width:"24",height:"16",rx:"2",fill:"#ED1C24"}),i().createElement("rect",{y:"3.65039",width:"24",height:"10.6667",fill:"white"}),i().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 6.31689H24V11.6502H0V6.31689Z",fill:"#241D4F"})),VietnamRoundIcon=e=>i().createElement("svg",Object.assign({viewBox:"0 0 20 20",fill:"none",style:Object.assign({borderRadius:"50%"},e.style)},e),i().createElement("g",null,i().createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},i().createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#C4C4C4"})),i().createElement("rect",{x:"-4",y:"-0.0166016",width:"28",height:"20",fill:"#DA251D"}),i().createElement("path",{d:"M11.7228 10.8677L14.2819 9.00839L11.1187 9.00839L10.1409 6L9.16316 9.00839L6 9.00839L8.5591 10.8677L7.58184 13.8766L10.1409 12.0168L12.7 13.8766L11.7228 10.8677Z",fill:"#FFEB3B"}))),VietnamSquareIcon=e=>i().createElement("svg",Object.assign({viewBox:"0 0 24 16",fill:"none"},e),i().createElement("g",null,i().createElement("clipPath",null,i().createElement("rect",{width:"24",height:"16",fill:"white"})),i().createElement("path",{d:"M2.01386e-10 2C0 0.895431 0.895431 -7.50368e-10 2 -1.67599e-09L22 -1.84359e-08C23.1046 -1.93615e-08 24 0.895431 24 2L24 14C24 15.1046 23.1046 16 22 16L2 16C0.89543 16 1.52092e-09 15.1046 1.4097e-09 14L2.01386e-10 2Z",fill:"#DA251D"}),i().createElement("path",{d:"M13.7823 8.92854L16.6663 6.8332L13.1016 6.8332L11.9997 3.44287L10.8978 6.8332L7.33301 6.8332L10.217 8.92854L9.11567 12.3195L11.9997 10.2235L14.8837 12.3195L13.7823 8.92854Z",fill:"#FFEB3B"})));var ed={flag:"pfaLGRK"};let Flag=({country:e,language:t,rounded:n,height:r,width:a,isTesting:l,className:o})=>{let c,s;switch(t){case"en":c=i().createElement(EnglishSquareIcon,null),s=i().createElement(EnglishRoundIcon,null);break;case"vi":c=i().createElement(VietnamSquareIcon,null),s=i().createElement(VietnamRoundIcon,null);break;case"id":c=i().createElement(IndonesiaSquareIcon,{isTesting:l}),s=i().createElement(IndonesiaRoundIcon,{isTesting:l});break;case"th":c=i().createElement(ThailandSquareIcon,null),s=i().createElement(ThailandRoundIcon,null);break;case"km":c=i().createElement(CambodiaSquareIcon,null),s=i().createElement(CambodiaRoundIcon,null);break;case"ms":c=i().createElement(MalaysiaSquareIcon,null),s=i().createElement(MalaysiaRoundIcon,null);break;case"my":c=i().createElement(MyanmarSquareIcon,null),s=i().createElement(MyanmarRoundIcon,null);break;case"tl":c=i().createElement(PhilippinesSquareIcon,null),s=i().createElement(PhilippinesRoundIcon,null);break;case"hi":c=i().createElement(IndiaSquareIcon,null),s=i().createElement(IndiaRoundIcon,null);break;case"zh":c=i().createElement(TaiwanSquareIcon,null),s=i().createElement(TaiwanRoundIcon,null)}if(!c&&!s)switch(e){case"VN":c=i().createElement(VietnamSquareIcon,null),s=i().createElement(VietnamRoundIcon,null);break;case"ID":c=i().createElement(IndonesiaSquareIcon,{isTesting:l}),s=i().createElement(IndonesiaRoundIcon,{isTesting:l});break;case"TH":c=i().createElement(ThailandSquareIcon,null),s=i().createElement(ThailandRoundIcon,null);break;case"KH":c=i().createElement(CambodiaSquareIcon,null),s=i().createElement(CambodiaRoundIcon,null);break;case"MY":c=i().createElement(MalaysiaSquareIcon,null),s=i().createElement(MalaysiaRoundIcon,null);break;case"MM":c=i().createElement(MyanmarSquareIcon,null),s=i().createElement(MyanmarRoundIcon,null);break;case"PH":c=i().createElement(PhilippinesSquareIcon,null),s=i().createElement(PhilippinesRoundIcon,null);break;case"IN":c=i().createElement(IndiaSquareIcon,null),s=i().createElement(IndiaRoundIcon,null);break;case"TW":c=i().createElement(TaiwanSquareIcon,null),s=i().createElement(TaiwanRoundIcon,null);break;case"SG":c=i().createElement(SingaporeSquareIcon,null),s=i().createElement(SingaporeRoundIcon,null)}return i().createElement("div",{className:`${ed.flag} ${o||""}`,style:{"--width":a||20,"--height":r||20}},n?s:c)},CaretDown=e=>a.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"currentColor"},e),a.createElement("path",{d:"M4.81428 7.53044L7.64065 10.3568C7.83849 10.5546 8.15877 10.5546 8.3561 10.3568L11.1825 7.53044C11.5012 7.21168 11.2756 6.66675 10.8247 6.66675H5.172C4.72118 6.66675 4.49552 7.21168 4.81428 7.53044Z"})),ep=Object.values(O._6).reduce((e,{phoneCountry:t})=>(e.includes(t)||e.push(t),e),[]);var ef={phoneInput:"i-9Ibox",error:"YDWHh9b",selectedCountry:"_87SIJ95"};let eh=(0,a.forwardRef)((e,t)=>{let{isError:l,defaultCountry:c,selectedCountry:s,countries:u=ep,countryCallingCodeEditable:d=!1,defaultValue:p,value:f,onChange:h,flagComponent:g,arrowComponent:b,withFloatingLabel:v,className:C,inputId:y,label:w,error:x}=e,L=(0,r.a)(e,["isError","defaultCountry","selectedCountry","countries","countryCallingCodeEditable","defaultValue","value","onChange","flagComponent","arrowComponent","withFloatingLabel","className","inputId","label","error"]),[k,O]=(0,a.useState)(p||f),[I,A]=(0,a.useState)(null),j=(0,a.useCallback)(e=>{if(!I)return;if(g)return g(e);let{country:t,countryName:n,flagUrl:a}=e,l=(0,r.a)(e,["country","countryName","flagUrl"]),o=t?`+${I.getCountryCallingCode(t)}`:"";return i().createElement(i().Fragment,null,i().createElement(Flag,Object.assign({country:t,title:n},l)),i().createElement(E.T,{size:"p2",variant:"primary",className:S()(ef.callingCode,"PhoneInputCountryIconCallingCode")},o))},[g,I]),M=(0,a.useCallback)(()=>b?b():i().createElement("div",{className:S()(ef.arrowSelect,"PhoneInputArrowContainer")},i().createElement(CaretDown,null)),[b]);if((0,a.useEffect)(()=>{O(f)},[f]),(0,a.useEffect)(()=>{(0,r._)(void 0,void 0,void 0,function*(){let e=yield Promise.all([n.e(2277),n.e(2794)]).then(n.bind(n,"A9bs"));A(e)})},[]),!I)return null;let B=Object.assign({ref:t,defaultValue:p,label:w,value:k,onChange:e=>{O(e),null==h||h(e)},countries:u,defaultCountry:c||s,countryCallingCodeEditable:d,displayInitialValueAsLocalNumber:!0,className:S()(ef.phoneInput,{isError:l,[ef.error]:l,[ef.selectedCountry]:s},C),flagUrl:void 0,flagComponent:j,countrySelectProps:{arrowComponent:M},id:y},L);return v?i().createElement(FloatingLabelControl,{shrink:!!k},i().createElement(FloatingLabelControl.Control,null,({shrink:e})=>i().createElement(o.Input.Wrapper,{size:"md",label:i().createElement(E.T,{size:e?"p3":"p2",variant:"secondary",weight:"halfBold"},w),inputWrapperOrder:["label","input","description","error"],error:x&&i().createElement(ErrorLabel,{label:x})},i().createElement(o.Box,{className:"mantine-Input-wrapper",sx:e=>({".PhoneInput .PhoneInputInput":Object.assign(Object.assign({},(0,m.G)(e)[m.C.LEADGEN].p2),{color:e.colors.gray[9],fontWeight:m.F.halfBold})})},i().createElement(I.default,Object.assign({},B)))))):i().createElement(I.default,Object.assign({},B))}),em=(0,a.forwardRef)((e,t)=>{let{defaultCountry:n,id:a,name:l,placeholder:c,label:s,labelElement:u,labelProps:d,description:p,descriptionProps:f,withAsterisk:h,inputMode:m,inputContainer:g,inputWrapperOrder:b,error:v,className:E,classNames:C,style:y,styles:w}=e,x=(0,r.a)(e,["defaultCountry","id","name","placeholder","label","labelElement","labelProps","description","descriptionProps","withAsterisk","inputMode","inputContainer","inputWrapperOrder","error","className","classNames","style","styles"]),S=a||(0,L.A)()+l;return i().createElement(o.Input.Wrapper,{size:"md",label:s,labelElement:u,labelProps:Object.assign({htmlFor:S},d),description:p,descriptionProps:f,withAsterisk:h,inputMode:m,inputContainer:g,inputWrapperOrder:b,error:v,"data-invalid":!!v,className:E,classNames:C,style:y,styles:w},i().createElement("div",{className:"mantine-Input-wrapper"},i().createElement(eh,Object.assign({},x,{id:S,ref:t,name:l,spellCheck:!1,placeholder:c,defaultCountry:n,className:"mantine-Input-input",type:"tel","data-control":"tel"}))))}),eg=(0,a.createContext)({}),Popover=e=>{var{children:t,closeOnClickOutside:n=!0}=e,l=(0,r.a)(e,["children","closeOnClickOutside"]);let[c,{close:s,open:d}]=(0,f.j)(!1),p=n?(0,u.L)(s):(0,a.useRef)(),h=Object.assign({},"function"==typeof t?{opened:c}:{});return i().createElement(eg.Provider,{value:{opened:c,close:s,open:d}},i().createElement(o.Popover,Object.assign({closeOnClickOutside:n},h,l),i().createElement("div",{ref:p},"function"==typeof t?t({open:d,close:s,opened:c}):t)))};Popover.Target=o.Popover.Target,Popover.Dropdown=o.Popover.Dropdown;var eb=(0,o.createStyles)(e=>{var t;return{root:{},iconWrapper:{display:"none"},label:{display:"inline-block",cursor:"pointer",".checked":{display:"none"},".unchecked":{display:"inline-block"},'&[data-checked="true"]':{".checked":{display:"inline-block"},".unchecked":{display:"none"}},'&,&[data-checked="true"]':{padding:0,border:0,height:"auto"}},btnRoot:{pointerEvents:"none",'&[data-variant="secondary"]':{backgroundColor:null===(t=e.colors[e.primaryColor])||void 0===t?void 0:t[0]},".mantine-Button-label":{fontWeight:"normal",fontSize:(0,o.rem)(14)}}}});let ChipButton=e=>{var{variant:t="secondary",withIcon:n,children:a,buttonProps:l}=e,c=(0,r.a)(e,["variant","withIcon","children","buttonProps"]);let{classes:s,cx:u}=eb();return i().createElement(o.Chip,Object.assign({classNames:s},c,{unstyled:!0}),i().createElement(M.B,Object.assign({className:u(s.btnRoot,"checked"),leftIcon:n?i().createElement(A.A,{size:18,color:"currentColor"}):void 0,variant:t},l),a),i().createElement(M.B,Object.assign({className:u(s.btnRoot,"unchecked"),leftIcon:n?i().createElement(j.A,{size:18,color:"currentColor"}):void 0,variant:"tertiary"},l),a))};ChipButton.Group=o.Chip.Group},RBzE:function(e,t,n){"use strict";n.d(t,{I:function(){return ImageWrap},u:function(){return useScreenSize}});var r=n("+OUp"),a=n.n(r),i=n("CL9C"),l=n("vEfc"),o=n("rBCA");let getIsMobile=()=>"undefined"!=typeof window&&window.innerWidth"undefined"!=typeof window&&window.innerWidth>=i.B.BREAK_POINT_MOBILE&&window.innerWidth{let[e,t]=(0,r.useState)(getIsMobile()),[n,a]=(0,r.useState)(getIsLargeMobile());return(0,r.useEffect)(()=>{let handleResize=()=>{t(getIsMobile()),a(getIsLargeMobile())};return window.addEventListener("resize",handleResize,{passive:!0}),()=>{window.removeEventListener("resize",handleResize)}},[]),{isMobile:e,isLargeMobile:n}},ImageWrap=e=>{var{alt:t,backupSrc:n,src:i,placeholderSrc:o,style:s,ref:u}=e,d=(0,l.a)(e,["alt","backupSrc","src","placeholderSrc","style","ref"]);let[p,f]=(0,r.useState)(!1);return a().createElement(c,Object.assign({loading:"lazy",alt:t,onError:()=>!p&&f(!0),src:p?n||i:i||n,style:Object.assign(Object.assign({},o?{backgroundImage:`url(${o})`}:{}),s),"data-has-placeholder":!!o,ref:u},d))},c=o.A.img` &[data-has-placeholder='true'] { background-position: center; background-repeat: no-repeat; background-size: cover; } `},"6sNj":function(e,t,n){"use strict";n.d(t,{M:function(){return v},N:function(){return NotificationsHandler},a:function(){return getHeadingStyles},g:function(){return getMantineThemeOverride},s:function(){return showNotification},t:function(){return k},u:function(){return useMantineLocale}});var r=n("vEfc"),a=n("+OUp"),i=n.n(a),l=n("8BcA"),o=n.n(l),c=n("4BRW"),s=n("jj4h"),u=n("0Woy"),d=n("+u84"),p=n("vH4S"),f=n("Wbba"),h=n("iBNF"),m=n("CL9C"),g=n("NXxl"),b=n("xsRI");let v={[c.L.Vietnam]:"vi",[c.L.Cambodia]:"km",[c.L.India]:"hi",[c.L.Indonesia]:"id",[c.L.Malaysia]:"ms",[c.L.Thailand]:"th",[c.L.Taiwan]:"zh-tw",[c.L.PhilippinesTagalog]:"tl-ph",[c.L.PhilippinesEnglish]:"en",[c.L.Myanmar]:"my",[c.L.Singapore]:"zh-cn"},E={[c.L.Vietnam]:()=>n.e(860).then(n.t.bind(n,"EdQk",23)),[c.L.Cambodia]:()=>n.e(6101).then(n.t.bind(n,"9mFM",23)),[c.L.India]:()=>n.e(2830).then(n.t.bind(n,"sjup",23)),[c.L.Indonesia]:()=>n.e(7420).then(n.t.bind(n,"gydT",23)),[c.L.Malaysia]:()=>n.e(9677).then(n.t.bind(n,"KjFU",23)),[c.L.Thailand]:()=>n.e(7081).then(n.t.bind(n,"axPs",23)),[c.L.Taiwan]:()=>n.e(1349).then(n.t.bind(n,"UIeI",23)),[c.L.Singapore]:()=>n.e(6033).then(n.t.bind(n,"pHGr",23)),[c.L.PhilippinesTagalog]:()=>n.e(8142).then(n.t.bind(n,"BmsB",23)),[c.L.PhilippinesEnglish]:()=>n.e(5826).then(n.t.bind(n,"njAx",23)),[c.L.Myanmar]:()=>n.e(6803).then(n.t.bind(n,"5EMu",23))},useMantineLocale=e=>{let[t,n]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{(0,r._)(void 0,void 0,void 0,function*(){var t;n(!1),yield null===(t=E[e])||void 0===t?void 0:t.call(E),o().locale(v[e]),n(!0)})},[e]),{isLoaded:t}},GlobalButtonStyle=()=>({Button:{defaultProps:{variant:"primary",size:"md"}}}),C={[g.C.NONE]:{hb:["#e3f2ff","#bcdeff","#91caff","#65b5ff","#45a4ff","#2b94ff","#2d87f3","#2c74df","#2b62cd","#2743ad"],mb:["#FFE9F1","#F8CCDC","#F5B4CB","#F29CBA","#EE84AA","#EB6B99","#E85388","#D34C7C","#BE446F","#A93D63"],blue:["#e3f2ff","#bcdeff","#91caff","#65b5ff","#45a4ff","#2b94ff","#2d87f3","#2c74df","#2b62cd","#2743ad"],gray:["#fafafa","#f2f2f2","#d9d9d9","#bfbfbf","#8c8c8c","#737373","#595959","#404040","#262626","#1a1a1a"],delftGray:["#F3F3F3","#EAEAEC","#D9DAE2","#B9BAC8","#9898A9","#7C7C8F","#5A5A72","#3E3F58","#202135","#0C0C12"],neutral:["#f7f9fc","#e4e8ec","#d2d6dc","#bfc5cc","#adb3bc","#9aa2ac","#87909c","#757f8c","#626d7c","#545E6C"],green:["#e0f8ee","#b3eed5","#7ce2b9","#2ed69e","#00CB8A","#00C076","#00B16A","#009E5C","#008C50","#006C39"],pink:["#fff1f6","#ffdce9","#fec7dc","#feb2cf","#fe9dc2","#fd87b4","#fd72a7","#fc5d9a","#fc488d","#e92d74"],violet:["#F5EDFF","#E7D2F7","#D8B7F0","#CA9CE8","#BB82E1","#AD67D9","#9E4CD1","#9031CA","#8116C2","#63059D"],yellow:["#fff8e2","#ffecb6","#ffe187","#ffd658","#ffcb37","#ffc326","#ffb521","#fea21e","#fe921d","#fc7419"],teal:["#e0f7fc","#b1ebf8","#7ddff3","#44d1ec","#00c7e6","#00bee0","#00aecd","#0099b2","#008599","#00626c"],indigol:["#CEDDF0","#ACC5E6","#95B3DA","#85A6CF","#6D91BE","#5F85B5","#4C77AC","#35639C","#284A75","#1B3250"],red:["#fae9e8","#feccbf","#FEAA96","#f44d2c","#ff6f4d","#ff5331","#f44d2c","#e64728","#d84023","#bf331b"],redViolet:["#F3EAEB","#E8D5D7","#DDC1C4","#D1ACB0","#C5979C","#BA8288","#AF6D74","#A35961","#97444D","#8C2F39"]},[g.C.LEADGEN]:{hb:["#e3f2ff","#bcdeff","#91caff","#65b5ff","#45a4ff","#2b94ff","#2d87f3","#2c74df","#2b62cd","#2743ad"],mb:["#FFE9F1","#F8CCDC","#F5B4CB","#F29CBA","#EE84AA","#EB6B99","#E85388","#D34C7C","#BE446F","#A93D63"],blue:["#e3f2ff","#bcdeff","#91caff","#65b5ff","#45a4ff","#2b94ff","#2d87f3","#2c74df","#2b62cd","#2743ad"],gray:["#fafafa","#f2f2f2","#d9d9d9","#bfbfbf","#8c8c8c","#737373","#595959","#404040","#262626","#111111"],delftGray:["#F3F3F3","#EAEAEC","#D9DAE2","#B9BAC8","#9898A9","#7C7C8F","#5A5A72","#3E3F58","#202135","#0C0C12"],neutral:["#f7f9fc","#e4e8ec","#d2d6dc","#bfc5cc","#adb3bc","#9aa2ac","#87909c","#757f8c","#626d7c","#545E6C"],green:["#e0f8ee","#b3eed5","#7ce2b9","#2ed69e","#00CB8A","#00C076","#00B16A","#009E5C","#008C50","#006C39"],pink:["#fff1f6","#ffdce9","#fec7dc","#feb2cf","#fe9dc2","#fd87b4","#fd72a7","#fc5d9a","#fc488d","#e92d74"],violet:["#F5EDFF","#E7D2F7","#D8B7F0","#CA9CE8","#BB82E1","#AD67D9","#9E4CD1","#9031CA","#8116C2","#63059D"],yellow:["#fff8e2","#ffecb6","#ffe187","#ffd658","#ffcb37","#ffc326","#ffb521","#fea21e","#fe921d","#fc7419"],teal:["#e0f7fc","#b1ebf8","#7ddff3","#44d1ec","#00c7e6","#00bee0","#00aecd","#0099b2","#008599","#00626c"],indigol:["#CEDDF0","#ACC5E6","#95B3DA","#85A6CF","#6D91BE","#5F85B5","#4C77AC","#35639C","#284A75","#1B3250"],red:["#fae9e8","#feccbf","#FEAA96","#f44d2c","#ff6f4d","#ff5331","#f44d2c","#e64728","#d84023","#bf331b"],redViolet:["#F3EAEB","#E8D5D7","#DDC1C4","#D1ACB0","#C5979C","#BA8288","#AF6D74","#A35961","#97444D","#8C2F39"]}};function NotificationsHandler(){return i().createElement(s.$,{position:"top-right",zIndex:d.c+5,autoClose:5e3})}let y={success:"green",danger:"red",warning:"yellow",info:"blue",firebase:"gray"},w={success:i().createElement(()=>i().createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i().createElement("path",{d:"M10 18.333a8.333 8.333 0 1 0 0-16.666 8.333 8.333 0 0 0 0 16.666",fill:"#00B16A"}),i().createElement("path",{d:"m13.833 7.5-5.5 5-2.5-2.273",stroke:"#fff",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})),null),danger:i().createElement(()=>i().createElement("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i().createElement("path",{d:"M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10",fill:"#262626"}),i().createElement("path",{d:"m14.829 9.172-5.657 5.656m-.001-5.656 5.657 5.656",stroke:"#fff",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})),null),warning:i().createElement(()=>i().createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 1.66666C5.4 1.66666 1.66667 5.39999 1.66667 9.99999C1.66667 14.6 5.4 18.3333 10 18.3333C14.6 18.3333 18.3333 14.6 18.3333 9.99999C18.3333 5.39999 14.6 1.66666 10 1.66666ZM10 10.8333C9.54167 10.8333 9.16667 10.4583 9.16667 9.99999V6.66666C9.16667 6.20832 9.54167 5.83332 10 5.83332C10.4583 5.83332 10.8333 6.20832 10.8333 6.66666V9.99999C10.8333 10.4583 10.4583 10.8333 10 10.8333ZM9.16667 12.5V14.1667H10.8333V12.5H9.16667Z",fill:"#FE921D"})),null),info:i().createElement(()=>i().createElement("svg",{width:"20",height:"20",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i().createElement("path",{d:"M8 14A6 6 0 1 0 8 2a6 6 0 0 0 0 12",fill:"#2D87F3"}),i().createElement("path",{d:"M8 11V8m0-3h.01",stroke:"#fff",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})),null),firebase:""},showNotification=e=>{var{type:t,title:n}=e,a=(0,r.a)(e,["type","title"]);let l=w[t];u.$e.show(Object.assign(Object.assign({title:i().createElement("b",null,n),icon:l,withCloseButton:!0,closeButtonProps:{label:"Close alert"}},a),{styles:e=>{let n=y[t]||"blue";return{root:{backgroundColor:e.colors[n][0],borderColor:e.colors[n][0],"&::before":{backgroundColor:e.white}},title:{color:e.colors[n][8]},description:{color:e.black},closeButton:{color:e.black,"&:hover":{backgroundColor:e.colors[n][0]}},icon:{backgroundColor:"transparent",padding:0}}}}))},x={Container:{defaultProps:{sizes:{lg:(0,p.em)(m.S.LG)}}}},S={none:{default:[{size:"40px",lineHeight:"52px",letterSpacing:"-1.2px"},{size:"32px",lineHeight:"42px",letterSpacing:"-1px"},{size:"26px",lineHeight:"36px",letterSpacing:"-0.8px"},{size:"22px",lineHeight:"32px",letterSpacing:"-0.6px"},{size:"18px",lineHeight:"28px",letterSpacing:"-0.2px"},{size:"16px",lineHeight:"24px",letterSpacing:0}],mbDown:[{size:"26px",lineHeight:"34px",letterSpacing:"-0.9px"},{size:"24px",lineHeight:"32px",letterSpacing:"-0.8px"},{size:"20px",lineHeight:"26px",letterSpacing:"-0.7px"},{size:"18px",lineHeight:"26px",letterSpacing:"-0.6px"},{size:"16px",lineHeight:"24px",letterSpacing:"-0.2px"},{size:"14px",lineHeight:"22px",letterSpacing:"-0.2px"}]},leadgen:{default:[{size:"40px",lineHeight:"48px",letterSpacing:"-1.2px"},{size:"32px",lineHeight:"40px",letterSpacing:"-1px"},{size:"26px",lineHeight:"32px",letterSpacing:"-0.6px"},{size:"20px",lineHeight:"28px",letterSpacing:"-0.4px"},{size:"17px",lineHeight:"24px",letterSpacing:"-0.4px"},{size:"15px",lineHeight:"24px",letterSpacing:"-0.3px"}],mbDown:[{size:"26px",lineHeight:"34px",letterSpacing:"-0.9px"},{size:"24px",lineHeight:"32px",letterSpacing:"-0.8px"},{size:"20px",lineHeight:"26px",letterSpacing:"-0.7px"},{size:"18px",lineHeight:"26px",letterSpacing:"-0.6px"},{size:"16px",lineHeight:"24px",letterSpacing:"-0.2px"},{size:"14px",lineHeight:"22px",letterSpacing:"-0.2px"}]}},getHeadingStyles=e=>{let{version:t=g.C.NONE,mbDown:n}=e||{},r=S[t]||{};return Object.fromEntries((r[n?"mbDown":"default"]||[]).map((e,t)=>[`h${t+1}`,{fontSize:e.size,lineHeight:e.lineHeight,letterSpacing:e.letterSpacing}]))},GlobalHeadingStyle=(e=g.C.NONE)=>({Title:{styles:{root:Object.assign(Object.assign({fontWeight:g.F.bold},getHeadingStyles({version:e})),{[`&${m.M.mbDown}`]:Object.assign({},getHeadingStyles({version:e,mbDown:!0}))})}}}),GlobalInputStyle=e=>{var t;return{InputWrapper:{styles:{label:{display:"inline-flex",gap:4,marginBottom:"0.25rem",fontWeight:600,fontSize:(0,p.rem)(14),lineHeight:"22px",color:h.w.colors.gray600},description:{fontWeight:400,fontSize:"12px",lineHeight:"18px",color:h.w.colors.gray600,marginBottom:"0.25rem"},error:{marginTop:"0.25rem"}}},NumberInput:{defaultProps:{decimalSeparator:null===(t=d.I[e])||void 0===t?void 0:t.separator}},Input:{styles:(e,t,{size:n})=>({input:{border:`1px solid ${h.w.colors.gray200}`,transition:`all ${b.A} ease-in-out`,"&:not(.mantine-Textarea-input)":Object.assign({},(()=>{switch(n){case"lg":return{height:48,minHeight:"unset",fontSize:16,lineHeight:"24px"};case"md":return{height:40,minHeight:"unset",fontSize:(0,p.rem)(14),lineHeight:"22px"};case"sm":return{height:32,minHeight:"unset",fontSize:(0,p.rem)(14),lineHeight:"22px"}}})()),"&:hover":{border:`1px solid ${e.primaryColor}`},"&:focus":{boxShadow:`0px 0px 0px 2px ${e.colors[e.primaryColor][2]}`}},'&[data-invalid="true"]':{border:`1px solid ${h.w.colors.red600}`,color:"#000"}})}}},L={Radio:{defaultProps:{size:"sm",color:"blue.6"},styles:{radio:{backgroundColor:"transparent","&:checked":{backgroundColor:"transparent"}}}}},k=C[g.C.NONE],getMantineThemeOverride=(e,t="hb",n)=>{var r;return{defaultRadius:"hb"===t?8:16,cursorType:"pointer",colors:Object.assign(Object.assign(Object.assign({},null!==(r=C[n])&&void 0!==r?r:C[g.C.NONE]),h.w.colors),{toneYellow:"#fff9eb",toneGreen:"#f2fcf7",toneBlue:"#e0e9fb",tonePink:"#ffeaf1"}),primaryColor:t,primaryShade:6,fontFamily:(e===c.L.Cambodia?"Battambang":e===c.L.Thailand?"Noto Sans Thai":"Inter")+", -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif",breakpoints:{xs:(0,p.em)(m.B.BREAK_POINT_SMALL_MOBILE),sm:(0,p.em)(m.B.BREAK_POINT_MOBILE),md:(0,p.em)(m.B.BREAK_POINT_TABLET),lg:(0,p.em)(m.B.BREAK_POINT_PC),xl:(0,p.em)(m.B.BREAK_POINT_LGPC)},components:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},GlobalInputStyle(e)),L),GlobalButtonStyle()),GlobalHeadingStyle(n)),x),other:{template:t,customStyleType:n,defaultImage:f.C.getAssetPath("mb"===t?"default-image-mb.jpg":"default-image.jpg")}}}},QoN1:function(e,t,n){"use strict";var r=n("+OUp"),a=n.n(r),i=n("xePj"),__rest=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};t.A=e=>{var{size:t,color:n=i.fT}=e,r=__rest(e,["size","color"]);let l=(0,i.D5)(t);return a().createElement("svg",Object.assign({width:l,height:l,viewBox:"0 0 24 24",fill:"none"},r),a().createElement("path",{d:"M19.98 5.99a1 1 0 0 0-.687.303L9 16.586l-3.293-3.293a1 1 0 1 0-1.414 1.415l4 4a1 1 0 0 0 1.414 0l11-11a1 1 0 0 0-.727-1.717",fill:n}))}},"vWP/":function(e,t,n){"use strict";var r=n("+OUp"),a=n.n(r),i=n("xePj"),__rest=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};t.A=e=>{var{size:t,color:n=i.fT}=e,r=__rest(e,["size","color"]);let l=(0,i.D5)(t);return a().createElement("svg",Object.assign({width:l,height:l,viewBox:"0 0 24 24",fill:"none"},r),a().createElement("path",{d:"M18 13h-5v5c0 .55-.45 1-1 1s-1-.45-1-1v-5H6c-.55 0-1-.45-1-1s.45-1 1-1h5V6c0-.55.45-1 1-1s1 .45 1 1v5h5c.55 0 1 .45 1 1s-.45 1-1 1",fill:n}))}},h84G:function(e,t,n){"use strict";var r=n("+OUp"),a=n.n(r),i=n("xePj"),__rest=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};t.A=e=>{var{size:t=24,color:n=i.fT}=e,r=__rest(e,["size","color"]);return a().createElement("svg",Object.assign({width:t,height:t,viewBox:"0 0 20 20",fill:"none"},r),a().createElement("path",{d:"M10 9.143 6.943 12.2a.849.849 0 0 1-1.2-1.2l3.691-3.69a.8.8 0 0 1 1.131 0L14.257 11a.849.849 0 0 1-1.2 1.2z",fill:n}))}},xePj:function(e,t,n){"use strict";n.d(t,{D5:function(){return useGetSize},NP:function(){return i},YC:function(){return getSize},fT:function(){return a}});var r=n("+OUp");let a="#595959",i="#2d87f3",l={normal:24,sm:20,xs:18,sxs:16},o=l.normal,getSize=e=>"number"==typeof e?e:l[e]||e||o,useGetSize=e=>(0,r.useMemo)(()=>getSize(e),[e])},"+PHJ":function(e,t,n){"use strict";let r,a;var i=n("m2uH"),l=n("3uuB");let o=0,c=0;t.A=function(e,t,n){let s=t&&n||0,u=t||Array(16),d=(e=e||{}).node||r,p=void 0!==e.clockseq?e.clockseq:a;if(null==d||null==p){let t=e.random||(e.rng||i.A)();null==d&&(d=r=[1|t[0],t[1],t[2],t[3],t[4],t[5]]),null==p&&(p=a=(t[6]<<8|t[7])&16383)}let f=void 0!==e.msecs?e.msecs:Date.now(),h=void 0!==e.nsecs?e.nsecs:c+1,m=f-o+(h-c)/1e4;if(m<0&&void 0===e.clockseq&&(p=p+1&16383),(m<0||f>o)&&void 0===e.nsecs&&(h=0),h>=1e4)throw Error("uuid.v1(): Can't create more than 10M uuids/sec");o=f,c=h,a=p,f+=122192928e5;let g=((268435455&f)*1e4+h)%4294967296;u[s++]=g>>>24&255,u[s++]=g>>>16&255,u[s++]=g>>>8&255,u[s++]=255&g;let b=f/4294967296*1e4&268435455;u[s++]=b>>>8&255,u[s++]=255&b,u[s++]=b>>>24&15|16,u[s++]=b>>>16&255,u[s++]=p>>>8|128,u[s++]=255&p;for(let e=0;e<6;++e)u[s+e]=d[e];return t||(0,l.k)(u)}},AJQa:function(e,t,n){"use strict";n.d(t,{F:function(){return R}});var r=n("vH4S"),a=n("EXl/"),i=n("+OUp"),l=n.n(i),o=n("dZ+j");function sortAndMapPluginToOptions(e){return e.concat().sort(function(e,t){return e.name>t.name?1:-1}).map(function(e){return e.options})}function useEmblaCarousel(e,t){void 0===e&&(e={}),void 0===t&&(t=[]);var n=(0,i.useRef)(o.A.optionsHandler()),r=(0,i.useRef)(e),a=(0,i.useRef)(t),l=(0,i.useState)(),c=l[0],s=l[1],u=(0,i.useState)(),d=u[0],p=u[1],f=(0,i.useCallback)(function(){c&&c.reInit(r.current,a.current)},[c]);return(0,i.useEffect)(function(){if("undefined"!=typeof window&&window.document&&window.document.createElement&&d){o.A.globalOptions=useEmblaCarousel.globalOptions;var e=(0,o.A)(d,r.current,a.current);return s(e),function(){return e.destroy()}}s(void 0)},[d,s]),(0,i.useEffect)(function(){n.current.areEqual(r.current,e)||(r.current=e,f())},[e,f]),(0,i.useEffect)(function(){!function(e,t){if(e.length!==t.length)return!1;var n=o.A.optionsHandler().areEqual,r=sortAndMapPluginToOptions(e),a=sortAndMapPluginToOptions(t);return r.every(function(e,t){return n(e,a[t])})}(a.current,t)&&(a.current=t,f())},[t,f]),[p,c]}useEmblaCarousel.globalOptions=void 0;var c=n("18kz");let[s,u]=(0,c.F)("[@mantine/carousel] Carousel.Slide was rendered outside of Carousel context");var d=Object.defineProperty,p=Object.defineProperties,f=Object.getOwnPropertyDescriptors,h=Object.getOwnPropertySymbols,m=Object.prototype.hasOwnProperty,g=Object.prototype.propertyIsEnumerable,__defNormalProp=(e,t,n)=>t in e?d(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,__spreadValues=(e,t)=>{for(var n in t||(t={}))m.call(t,n)&&__defNormalProp(e,n,t[n]);if(h)for(var n of h(t))g.call(t,n)&&__defNormalProp(e,n,t[n]);return e},__spreadProps=(e,t)=>p(e,f(t)),b=(0,r.createStyles)((e,{controlSize:t,controlsOffset:n,orientation:a,height:i,includeGapInSize:l,breakpoints:o=[],slideGap:c})=>{let s="horizontal"===a,getContainerStyles=t=>{if(!l)return{};let n=(0,r.getSize)({size:t,sizes:e.spacing});return{["horizontal"===a?"marginRight":"marginBottom"]:`calc(${n} * -1)`}},u=o.some(e=>void 0!==e.slideGap||void 0!==e.slideSize),d=u?(0,r.getSortedBreakpoints)(e,o).reduce((t,n)=>{let a="maxWidth"in n?"max-width":"min-width",i=(0,r.getSize)({size:"max-width"===a?n.maxWidth:n.minWidth,sizes:e.breakpoints}),l=void 0===n.slideGap?void 0:(0,r.rem)(n.slideGap),o=(0,r.getBreakpointValue)(i)-("max-width"===a?1:0);return t[`@media (${a}: ${(0,r.rem)(o)})`]=getContainerStyles(l),t},{}):null;return{root:{position:"relative"},viewport:{height:(0,r.rem)(i),overflow:"hidden"},container:__spreadValues(__spreadValues({display:"flex",flexDirection:s?"row":"column",height:(0,r.rem)(i)},getContainerStyles(c)),d),controls:{position:"absolute",zIndex:1,left:s?0:`calc(50% - ${(0,r.rem)(t)} / 2)`,right:s?0:void 0,top:s?`calc(50% - ${(0,r.rem)(t)} / 2)`:0,bottom:s?void 0:0,display:"flex",flexDirection:s?"row":"column",alignItems:"center",justifyContent:"space-between",paddingLeft:s?(0,r.getSize)({size:n,sizes:e.spacing}):void 0,paddingRight:s?(0,r.getSize)({size:n,sizes:e.spacing}):void 0,paddingTop:s?void 0:(0,r.getSize)({size:n,sizes:e.spacing}),paddingBottom:s?void 0:(0,r.getSize)({size:n,sizes:e.spacing}),pointerEvents:"none"},control:__spreadProps(__spreadValues({display:"flex",justifyContent:"center",alignItems:"center",minWidth:(0,r.rem)(t),minHeight:(0,r.rem)(t),borderRadius:(0,r.rem)(t),pointerEvents:"all",backgroundColor:e.white,color:e.black,boxShadow:e.shadows.md,opacity:"dark"===e.colorScheme?.65:.85,border:`${(0,r.rem)(1)} solid ${e.colors.gray[3]}`,transition:`opacity 150ms ${e.transitionTimingFunction}`},e.fn.hover({opacity:1})),{"&:active":e.activeStyles}),indicators:{position:"absolute",bottom:s?e.spacing.md:0,top:s?void 0:0,left:s?0:void 0,right:s?0:e.spacing.md,display:"flex",flexDirection:s?"row":"column",justifyContent:"center",gap:(0,r.rem)(8),pointerEvents:"none"},indicator:{pointerEvents:"all",width:s?(0,r.rem)(25):(0,r.rem)(5),height:s?(0,r.rem)(5):(0,r.rem)(25),borderRadius:e.radius.xl,backgroundColor:e.white,boxShadow:e.shadows.sm,opacity:.6,transition:`opacity 150ms ${e.transitionTimingFunction}`,"&[data-active]":{opacity:1}}}}),v=Object.defineProperty,E=Object.getOwnPropertySymbols,C=Object.prototype.hasOwnProperty,y=Object.prototype.propertyIsEnumerable,CarouselSlide_styles_defNormalProp=(e,t,n)=>t in e?v(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,CarouselSlide_styles_spreadValues=(e,t)=>{for(var n in t||(t={}))C.call(t,n)&&CarouselSlide_styles_defNormalProp(e,n,t[n]);if(E)for(var n of E(t))y.call(t,n)&&CarouselSlide_styles_defNormalProp(e,n,t[n]);return e},w=(0,r.createStyles)((e,{size:t,gap:n,orientation:a,includeGapInSize:i,breakpoints:l=[]})=>{let getSlideStyles=(t,n)=>{let l=(0,r.getSize)({size:t,sizes:e.spacing}),o=(0,r.rem)(n),c=i?{["horizontal"===a?"paddingRight":"paddingBottom"]:l}:{["horizontal"===a?"marginRight":"marginBottom"]:l};return CarouselSlide_styles_spreadValues({flex:`0 0 ${o}`},c)},o=l.some(e=>void 0!==e.slideGap||void 0!==e.slideSize),c=o?(0,r.getSortedBreakpoints)(e,l).reduce((t,a)=>{let i="maxWidth"in a?"max-width":"min-width",l=(0,r.getSize)({size:"max-width"===i?a.maxWidth:a.minWidth,sizes:e.breakpoints}),o=void 0===a.slideGap?n:a.slideGap,c=(0,r.getBreakpointValue)(l)-("max-width"===i?1:0);return t[`@media (${i}: ${(0,r.rem)(c)})`]=getSlideStyles(o,a.slideSize),t},{}):null;return{slide:CarouselSlide_styles_spreadValues(CarouselSlide_styles_spreadValues({position:"relative"},getSlideStyles(n,t)),c)}}),x=Object.defineProperty,S=Object.getOwnPropertySymbols,L=Object.prototype.hasOwnProperty,k=Object.prototype.propertyIsEnumerable,CarouselSlide_defNormalProp=(e,t,n)=>t in e?x(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,CarouselSlide_spreadValues=(e,t)=>{for(var n in t||(t={}))L.call(t,n)&&CarouselSlide_defNormalProp(e,n,t[n]);if(S)for(var n of S(t))k.call(t,n)&&CarouselSlide_defNormalProp(e,n,t[n]);return e},__objRest=(e,t)=>{var n={};for(var r in e)L.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&S)for(var r of S(e))0>t.indexOf(r)&&k.call(e,r)&&(n[r]=e[r]);return n};let O=(0,i.forwardRef)((e,t)=>{var{children:n,className:a,size:i,gap:o}=e,c=__objRest(e,["children","className","size","gap"]);let s=u(),{classes:d,cx:p}=w({gap:void 0===o?s.slideGap:o,size:void 0===i?s.slideSize:i,orientation:s.orientation,includeGapInSize:s.includeGapInSize,breakpoints:s.breakpoints},{name:"Carousel",classNames:s.classNames,styles:s.styles,unstyled:s.unstyled,variant:s.variant});return l().createElement(r.Box,CarouselSlide_spreadValues({className:p(d.slide,a),ref:t},c),n)});function getChevronRotation({dir:e,orientation:t,direction:n}){return"previous"===n?"horizontal"===t?90*("ltr"===e?1:-1):-180:"horizontal"===t?90*("ltr"===e?-1:1):0}O.displayName="@mantine/carousel/CarouselSlide";var I=Object.defineProperty,A=Object.getOwnPropertySymbols,j=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable,Carousel_defNormalProp=(e,t,n)=>t in e?I(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Carousel_spreadValues=(e,t)=>{for(var n in t||(t={}))j.call(t,n)&&Carousel_defNormalProp(e,n,t[n]);if(A)for(var n of A(t))M.call(t,n)&&Carousel_defNormalProp(e,n,t[n]);return e},Carousel_objRest=(e,t)=>{var n={};for(var r in e)j.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&A)for(var r of A(e))0>t.indexOf(r)&&M.call(e,r)&&(n[r]=e[r]);return n};let B={controlSize:26,controlsOffset:"sm",slideSize:"100%",slideGap:0,orientation:"horizontal",align:"center",slidesToScroll:1,includeGapInSize:!0,draggable:!0,dragFree:!1,loop:!1,speed:10,initialSlide:0,inViewThreshold:0,withControls:!0,withIndicators:!1,skipSnaps:!1,containScroll:"",withKeyboardEvents:!0},z=(0,i.forwardRef)((e,t)=>{let n=(0,r.useComponentDefaultProps)("Carousel",B,e),{children:o,className:c,getEmblaApi:u,onNextSlide:d,onPreviousSlide:p,onSlideChange:f,nextControlLabel:h,previousControlLabel:m,controlSize:g,controlsOffset:v,classNames:E,styles:C,unstyled:y,slideSize:w,slideGap:x,orientation:S,height:L,align:k,slidesToScroll:O,includeGapInSize:I,draggable:A,dragFree:j,loop:M,speed:z,initialSlide:R,inViewThreshold:P,withControls:H,withIndicators:F,plugins:D,nextControlIcon:T,previousControlIcon:N,breakpoints:V,skipSnaps:Z,containScroll:_,withKeyboardEvents:$,variant:W}=n,q=Carousel_objRest(n,["children","className","getEmblaApi","onNextSlide","onPreviousSlide","onSlideChange","nextControlLabel","previousControlLabel","controlSize","controlsOffset","classNames","styles","unstyled","slideSize","slideGap","orientation","height","align","slidesToScroll","includeGapInSize","draggable","dragFree","loop","speed","initialSlide","inViewThreshold","withControls","withIndicators","plugins","nextControlIcon","previousControlIcon","breakpoints","skipSnaps","containScroll","withKeyboardEvents","variant"]),{classes:G,cx:U,theme:K}=b({controlSize:g,controlsOffset:v,orientation:S,height:L,includeGapInSize:I,breakpoints:V,slideGap:x},{name:"Carousel",classNames:E,styles:C,unstyled:y,variant:W}),[Y,X]=useEmblaCarousel({axis:"horizontal"===S?"x":"y",direction:"horizontal"===S?K.dir:void 0,startIndex:R,loop:M,align:k,slidesToScroll:O,draggable:A,dragFree:j,speed:z,inViewThreshold:P,skipSnaps:Z,containScroll:_},D),[J,Q]=(0,i.useState)(0),[ee,et]=(0,i.useState)(0),en=(0,i.useCallback)(e=>X&&X.scrollTo(e),[X]),er=(0,i.useCallback)(()=>{if(!X)return;let e=X.selectedScrollSnap();Q(e),null==f||f(e)},[X,Q]),ea=(0,i.useCallback)(()=>{null==X||X.scrollPrev(),null==p||p()},[X]),ei=(0,i.useCallback)(()=>{null==X||X.scrollNext(),null==d||d()},[X]),el=(0,i.useCallback)(e=>{$&&("ArrowRight"===e.key&&(e.preventDefault(),ei()),"ArrowLeft"===e.key&&(e.preventDefault(),ea()))},[X]);(0,i.useEffect)(()=>{if(X)return null==u||u(X),er(),et(X.scrollSnapList().length),X.on("select",er),()=>{X.off("select",er)}},[X,O]),(0,i.useEffect)(()=>{X&&(X.reInit(),et(X.scrollSnapList().length),Q(e=>(0,a.q)(e,0,i.Children.toArray(o).length-1)))},[i.Children.toArray(o).length,O]);let eo=(null==X?void 0:X.canScrollPrev())||!1,ec=(null==X?void 0:X.canScrollNext())||!1,es=Array(ee).fill(0).map((e,t)=>l().createElement(r.UnstyledButton,{key:t,"data-active":t===J||void 0,className:G.indicator,"aria-hidden":!0,tabIndex:-1,onClick:()=>en(t)}));return l().createElement(s,{value:{slideGap:x,slideSize:w,embla:X,orientation:S,includeGapInSize:I,breakpoints:V,classNames:E,styles:C,unstyled:y,variant:W}},l().createElement(r.Box,Carousel_spreadValues({className:U(G.root,c),ref:t,onKeyDownCapture:el},q),l().createElement("div",{className:G.viewport,ref:Y},l().createElement("div",{className:G.container},o)),F&&l().createElement("div",{className:G.indicators},es),H&&l().createElement("div",{className:G.controls},l().createElement(r.UnstyledButton,{onClick:ea,className:G.control,"aria-label":m,"data-inactive":!eo||void 0,tabIndex:eo?0:-1},void 0!==N?N:l().createElement(r.ChevronIcon,{style:{transform:`rotate(${getChevronRotation({dir:K.dir,orientation:S,direction:"previous"})}deg)`}})),l().createElement(r.UnstyledButton,{onClick:ei,className:G.control,"aria-label":h,"data-inactive":!ec||void 0,tabIndex:ec?0:-1},void 0!==T?T:l().createElement(r.ChevronIcon,{style:{transform:`rotate(${getChevronRotation({dir:K.dir,orientation:S,direction:"next"})}deg)`}})))))});z.Slide=O,z.displayName="@mantine/carousel/Carousel";let R=z},ChHM:function(e,t,n){"use strict";n.d(t,{L:function(){return useClickOutside}});var r=n("+OUp");let a=["mousedown","touchstart"];function useClickOutside(e,t,n){let i=(0,r.useRef)();return(0,r.useEffect)(()=>{let listener=t=>{let{target:r}=null!=t?t:{};if(Array.isArray(n)){let a=(null==r?void 0:r.hasAttribute("data-ignore-outside-clicks"))||!document.body.contains(r)&&"HTML"!==r.tagName,i=n.every(e=>!!e&&!t.composedPath().includes(e));i&&!a&&e()}else i.current&&!i.current.contains(r)&&e()};return(t||a).forEach(e=>document.addEventListener(e,listener)),()=>{(t||a).forEach(e=>document.removeEventListener(e,listener))}},[i,e,n]),i}},"GjY/":function(e,t,n){"use strict";n.d(t,{o:function(){return useDebouncedValue}});var r=n("+OUp");function useDebouncedValue(e,t,n={leading:!1}){let[a,i]=(0,r.useState)(e),l=(0,r.useRef)(!1),o=(0,r.useRef)(null),c=(0,r.useRef)(!1),cancel=()=>window.clearTimeout(o.current);return(0,r.useEffect)(()=>{l.current&&(!c.current&&n.leading?(c.current=!0,i(e)):(cancel(),o.current=window.setTimeout(()=>{c.current=!1,i(e)},t)))},[e,n.leading,t]),(0,r.useEffect)(()=>(l.current=!0,cancel),[]),[a,cancel]}},Iblh:function(e,t,n){"use strict";n.d(t,{j:function(){return useDisclosure}});var r=n("+OUp");function useDisclosure(e=!1,t){let{onOpen:n,onClose:a}=t||{},[i,l]=(0,r.useState)(e),o=(0,r.useCallback)(()=>{l(e=>e||(null==n||n(),!0))},[n]),c=(0,r.useCallback)(()=>{l(e=>e?(null==a||a(),!1):e)},[a]),s=(0,r.useCallback)(()=>{i?c():o()},[c,o,i]);return[i,{open:o,close:c,toggle:s}]}},GGvd:function(e,t,n){"use strict";n.d(t,{o:function(){return a}});var r=n("+OUp");let a="undefined"!=typeof document?r.useLayoutEffect:r.useEffect},xjta:function(e,t,n){"use strict";n.d(t,{L:function(){return useElementSize},w:function(){return useResizeObserver}});var r=n("+OUp"),a=n("GGvd");let i={x:0,y:0,width:0,height:0,top:0,left:0,bottom:0,right:0};function useResizeObserver(){let e=(0,r.useRef)(0),t=(0,r.useRef)(null),[n,l]=(0,r.useState)(i),o=(0,r.useMemo)(()=>"undefined"!=typeof window?new ResizeObserver(n=>{let r=n[0];r&&(cancelAnimationFrame(e.current),e.current=requestAnimationFrame(()=>{t.current&&l(r.contentRect)}))}):null,[]);return(0,a.o)(()=>(t.current&&(o.observe(t.current),l(t.current.getBoundingClientRect())),()=>{o.disconnect(),e.current&&cancelAnimationFrame(e.current)}),[t.current]),[t,n]}function useElementSize(){let[e,{width:t,height:n}]=useResizeObserver();return{ref:e,width:t,height:n}}},"1z9F":function(e,t,n){"use strict";n.d(t,{Z:function(){return useUncontrolled}});var r=n("+OUp");function useUncontrolled({value:e,defaultValue:t,finalValue:n,onChange:a=()=>{}}){let[i,l]=(0,r.useState)(void 0!==t?t:n);return void 0!==e?[e,a,!0]:[i,e=>{l(e),null==a||a(e)},!1]}},jD9D:function(e,t,n){"use strict";n.d(t,{l:function(){return useViewportSize}});var r=n("+OUp"),a=n("Y8zf");let i={passive:!0};function useViewportSize(){let[e,t]=(0,r.useState)({width:0,height:0}),n=(0,r.useCallback)(()=>{t({width:window.innerWidth||0,height:window.innerHeight||0})},[]);return(0,a.M)("resize",n,i),(0,a.M)("orientationchange",n,i),(0,r.useEffect)(n,[]),e}},Y8zf:function(e,t,n){"use strict";n.d(t,{M:function(){return useWindowEvent}});var r=n("+OUp");function useWindowEvent(e,t,n){(0,r.useEffect)(()=>(window.addEventListener(e,t,n),()=>window.removeEventListener(e,t,n)),[e,t])}},"EXl/":function(e,t,n){"use strict";function clamp(e,t,n){return Math.min(Math.max(e,t),n)}n.d(t,{q:function(){return clamp}})},"18kz":function(e,t,n){"use strict";n.d(t,{F:function(){return createSafeContext}});var r=n("+OUp"),a=n.n(r);function createSafeContext(e){let t=(0,r.createContext)(null);return[({children:e,value:n})=>a().createElement(t.Provider,{value:n},e),()=>{let n=(0,r.useContext)(t);if(null===n)throw Error(e);return n}]}},"dZ+j":function(e,t,n){"use strict";function isNumber(e){return"number"==typeof e}function isString(e){return"string"==typeof e}function isObject(e){return"[object Object]"===Object.prototype.toString.call(e)}function isRecord(e){return isObject(e)||Array.isArray(e)}function mathAbs(e){return Math.abs(e)}function mathSign(e){return e?e/mathAbs(e):0}function arrayKeys(e){return objectKeys(e).map(Number)}function arrayLast(e){return e[arrayLastIndex(e)]}function arrayLastIndex(e){return Math.max(0,e.length-1)}function objectKeys(e){return Object.keys(e)}function Limit(e,t){var n=mathAbs(e-t);function reachedAny(n){return nt}return{length:n,max:t,min:e,constrain:function(n){return reachedAny(n)?nt},reachedMin:function(t){return tee?e.concat(t):e},[]).map(function(t,n,r){return e.slice(t,r[n+1])})}}),es=(w=Q.startEdge,x=Q.endEdge,L=(S=ec.groupSlides)(X).map(function(e){return arrayLast(e)[x]-e[0][w]}).map(mathAbs).map(en.measure),l=arrayLast(k=X.map(function(e){return Y[w]-e[w]}).map(function(e){return-mathAbs(e)}))-arrayLast(eo),O=S(k).map(function(e){return e[0]}).map(function(e,t,n){var r=t===arrayLastIndex(n);return er&&!t?0:er&&r?l:e+L[t]}),{snaps:k,snapsAligned:O}),eu=es.snaps,ed=es.snapsAligned,ep=-arrayLast(eu)+arrayLast(eo),ef=(I=Limit(-ep+ee,ed[0]),A=ed.map(I.constrain),{snapsContained:function(){if(ep<=ee)return[I.max];if("keepSnaps"===K)return A;var e,t,n=(e=A[0],t=arrayLast(A),Limit(A.lastIndexOf(e),A.indexOf(t)+1)),r=n.min,a=n.max;return A.slice(r,a)}()}).snapsContained,eh=er?ef:ed,em={limit:(o=eh[0],c=arrayLast(eh),Limit($?o-ep:c,o))}.limit,eg=function Counter(e,t,n){var r=Limit(0,e),a=r.min,i=r.constrain,l=e+1,o=withinLimit(t);function withinLimit(e){return n?mathAbs((l+e)%l):i(e)}function set(e){return o=withinLimit(e),c}var c={add:function(e){return set(o+e)},clone:function(){return Counter(e,o,n)},get:function(){return o},set:set,min:a,max:e};return c}(arrayLastIndex(eh),Z,$),eb=eg.clone(),ev=arrayKeys(n),eE=function(e){var t=0;function ifAnimating(e,n){return function(){!!t===e&&n()}}function start(){t=window.requestAnimationFrame(e)}return{proceed:ifAnimating(!0,start),start:ifAnimating(!1,start),stop:ifAnimating(!0,function(){window.cancelAnimationFrame(t),t=0})}}(function(){$||eI.scrollBounds.constrain(eI.dragHandler.pointerDown()),eI.scrollBody.seek(ew).update();var e=eI.scrollBody.settle(ew);e&&!eI.dragHandler.pointerDown()&&(eI.animation.stop(),a.emit("settle")),e||a.emit("scroll"),$&&(eI.scrollLooper.loop(eI.scrollBody.direction()),eI.slideLooper.loop()),eI.translate.to(ey),eI.animation.proceed()}),eC=eh[eg.get()],ey=Vector1D(eC),ew=Vector1D(eC),ex=function(e,t,n){var r=Vector1D(0),a=Vector1D(0),i=Vector1D(0),l=0,o=t,c=n;function useSpeed(e){return o=e,s}function useMass(e){return c=e,s}var s={direction:function(){return l},seek:function(t){i.set(t).subtract(e);var n,u=(n=i.get(),0+(o-0)*((n-0)/100));return l=mathSign(i.get()),i.normalize().multiply(u).subtract(r),i.divide(c),a.add(i),s},settle:function(t){var n=!(Math.round((t.get()-e.get())*100)/100);return n&&e.set(t),n},update:function(){r.add(a),e.add(r),a.multiply(0)},useBaseMass:function(){return useMass(n)},useBaseSpeed:function(){return useSpeed(t)},useMass:useMass,useSpeed:useSpeed};return s}(ey,W,1),eS=function(e,t,n,r,a){var i=r.reachedAny,l=r.removeOffset,o=r.constrain;function minDistance(e){return e.concat().sort(function(e,t){return mathAbs(e)-mathAbs(t)})[0]}function shortcut(t,r){var a=[t,t+n,t-n];return e?r?minDistance(a.filter(function(e){return mathSign(e)===r})):minDistance(a):a[0]}return{byDistance:function(n,r){var c,s=a.get()+n,u=(c=e?l(s):o(s),{index:t.map(function(e){return e-c}).map(function(e){return shortcut(e,0)}).map(function(e,t){return{diff:e,index:t}}).sort(function(e,t){return mathAbs(e.diff)-mathAbs(t.diff)})[0].index,distance:c}),d=u.index,p=u.distance,f=!e&&i(s);if(!r||f)return{index:d,distance:n};var h=n+shortcut(t[d]-p,0);return{index:d,distance:h}},byIndex:function(e,n){var r=shortcut(t[e]-a.get(),n);return{index:e,distance:r}},shortcut:shortcut}}($,eh,ep,em,ew),eL=function(e,t,n,r,a,i){function scrollTo(r){var l=r.distance,o=r.index!==t.get();l&&(e.start(),a.add(l)),o&&(n.set(t.get()),t.set(r.index),i.emit("select"))}return{distance:function(e,t){scrollTo(r.byDistance(e,t))},index:function(e,n){var a=t.clone().set(e);scrollTo(r.byIndex(a.get(),n))}}}(eE,eg,eb,eS,ew,a),ek=function(e,t,n,r,a,i,l){var o=a.removeOffset,c=a.constrain,s=i?[0,t,-t]:[0],u=findSlideBounds(s,l);function findSlideBounds(t,a){var i,l=t||s,o=(i=a||0,n.map(function(e){return Limit(.5,e-.5).constrain(e*i)}));return l.reduce(function(t,a){var i=r.map(function(t,r){return{start:t-n[r]+o[r]+a,end:t+e-o[r]+a,index:r}});return t.concat(i)},[])}return{check:function(e,t){var n=i?o(e):c(e);return(t||u).reduce(function(e,t){var r=t.index,a=t.start,i=t.end;return!(-1!==e.indexOf(r))&&an?e.concat([r]):e},[])},findSlideBounds:findSlideBounds}}(ee,ep,el,eu,em,$,_),eO=function(e,t,n,r,a,i,l,o,c,s,u,d,p,f,h,m){var g=e.cross,b=["INPUT","SELECT","TEXTAREA"],v={passive:!1},E=Vector1D(0),C=EventStore(),y=EventStore(),w=p.measure(20),x={mouse:300,touch:400},S={mouse:500,touch:600},L=h?5:16,k=0,O=0,I=!1,A=!1,j=!1,M=!1;function down(e){if((!(M=!a.isTouchEvent(e))||0===e.button)&&(t=e.target.nodeName||"",!(b.indexOf(t)>-1))){var t,l,o=mathAbs(r.get()-i.get())>=2,s=M||!o;I=!0,a.pointerDown(e),E.set(r),r.set(i),c.useBaseMass().useSpeed(80),l=M?document:n,y.add(l,"touchmove",move,v).add(l,"touchend",up).add(l,"mousemove",move,v).add(l,"mouseup",up),k=a.readPoint(e),O=a.readPoint(e,g),d.emit("pointerDown"),s&&(j=!1)}}function move(e){if(!A&&!M){if(!e.cancelable)return up(e);var n=a.readPoint(e),i=a.readPoint(e,g);if(!(A=mathAbs(n-k)>mathAbs(i-O))&&!j)return up(e)}var o=a.pointerMove(e);!j&&o&&(j=!0),l.start(),r.add(t.apply(o)),e.preventDefault()}function up(e){var n,i,l,p,g=s.byDistance(0,!1).index!==u.get(),b=a.pointerUp(e)*(h?S:x)[M?"mouse":"touch"],v=(n=t.apply(b),l=(i=u.clone().add(-1*mathSign(n))).get()===u.min||i.get()===u.max,p=s.byDistance(n,!h).distance,h||mathAbs(n)=.5,O=g&&C>.75,B=mathAbs(b)170;return n=e,a&&(t=e),r},pointerUp:function(e){if(!t||!n)return 0;var r=readPoint(n)-readPoint(t),a=readTime(e)-readTime(t),i=readTime(e)-readTime(n)>170,l=r/a;return a&&!i&&mathAbs(l)>.1?l:0},readPoint:readPoint}}(Q),ey,eE,eL,ex,eS,eg,a,et,$,q,U),eI={containerRect:Y,slideRects:X,animation:eE,axis:Q,direction:J,dragHandler:eO,eventStore:EventStore(),percentOfView:et,index:eg,indexPrevious:eb,limit:em,location:ey,options:r,scrollBody:ex,scrollBounds:(j=et.measure(10),M=et.measure(50),B=!1,{constrain:function(e){if(!B&&em.reachedAny(ew.get())&&em.reachedAny(ey.get())){var t=em.reachedMin(ey.get())?"min":"max",n=mathAbs(em[t]-ey.get()),r=ew.get()-ey.get();ew.subtract(r*Math.min(n/M,.85)),!e&&mathAbs(r)0?e.concat([n]):e},[])}function findLoopPoints(n,a){var i="start"===a,s=l.findSlideBounds([i?-r:r]);return n.map(function(n){var a=i?0:-r,l=i?r:0,u=s.filter(function(e){return e.index===n})[0][i?"end":"start"],d=Vector1D(-1),p=Vector1D(-1),f=Translate(e,t,c[n]);return{index:n,location:p,translate:f,target:function(){return d.set(o.get()>u?a:l)}}})}return{canLoop:function(){return u.every(function(e){var t=e.index;return .1>=removeSlideSizes(s.filter(function(e){return e!==t}),n)})},clear:function(){u.forEach(function(e){return e.translate.clear()})},loop:function(){u.forEach(function(e){var t=e.target,n=e.translate,r=e.location,a=t();a.get()!==r.get()&&(0===a.get()?n.clear():n.to(a),r.set(a))})},loopPoints:u}}(Q,J,ee,ep,eo,eh,ek,ey,n),slidesToScroll:ec,slidesInView:ek,slideIndexes:ev,target:ew,translate:Translate(Q,J,t)};return eI}(e,c,s,v,f)).axis.measureSize(e.getBoundingClientRect()),!v.active)return deActivate();if(l.translate.to(l.location),E=n||E,o=p.init(E,y),v.loop){if(!l.slideLooper.canLoop()){deActivate(),activate({loop:!1},n),b=d.merge(b,{loop:!0});return}l.slideLooper.loop()}v.draggable&&c.offsetParent&&s.length&&l.dragHandler.addActivationEvents()}}function reActivate(e,t){var n=selectedScrollSnap();deActivate(),activate(d.merge({startIndex:n},e),t),f.emit("reInit")}function deActivate(){l.dragHandler.removeAllEvents(),l.animation.stop(),l.eventStore.removeAll(),l.translate.clear(),l.slideLooper.clear(),p.destroy()}function slidesInView(e){var t=l[e?"target":"location"].get(),n=v.loop?"removeOffset":"constrain";return l.slidesInView.check(l.limit[n](t))}function scrollTo(e,t,n){v.active&&!g&&(l.scrollBody.useBaseMass().useSpeed(t?100:v.speed),l.scrollTo.index(e,n||0))}function selectedScrollSnap(){return l.index.get()}var y={canScrollNext:function(){return l.index.clone().add(1).get()!==selectedScrollSnap()},canScrollPrev:function(){return l.index.clone().add(-1).get()!==selectedScrollSnap()},clickAllowed:function(){return l.dragHandler.clickAllowed()},containerNode:function(){return c},internalEngine:function(){return l},destroy:function(){g||(g=!0,u.removeAll(),deActivate(),f.emit("destroy"))},off:m,on:h,plugins:function(){return o},previousScrollSnap:function(){return l.indexPrevious.get()},reInit:reActivate,rootNode:function(){return e},scrollNext:function(e){scrollTo(l.index.clone().add(1).get(),!0===e,-1)},scrollPrev:function(e){scrollTo(l.index.clone().add(-1).get(),!0===e,1)},scrollProgress:function(){return l.scrollProgress.get(l.location.get())},scrollSnapList:function(){return l.scrollSnaps.map(l.scrollProgress.get)},scrollTo:scrollTo,selectedScrollSnap:selectedScrollSnap,slideNodes:function(){return s},slidesInView:slidesInView,slidesNotInView:function(e){var t=slidesInView(e);return l.slideIndexes.filter(function(e){return -1===t.indexOf(e)})}};return activate(t,n),u.add(window,"resize",function(){var t=d.atMedia(b),n=!d.areEqual(t,v),r=l.axis.measureSize(e.getBoundingClientRect()),a=C!==r,i=p.haveChanged();(a||n||i)&&reActivate(),f.emit("resize")}),setTimeout(function(){return f.emit("init")},0),y}EmblaCarousel.globalOptions=void 0,EmblaCarousel.optionsHandler=OptionsHandler},xXM3:function(e,t){var n;/*! Copyright (c) 2018 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames */!function(){"use strict";var r={}.hasOwnProperty;function classNames(){for(var e="",t=0;t