PageSourceSearch

https://joinmidi.com/_next/static/chunks/1a9cmef5fn2cv.js

js joinmidi.com collected 2026-10-02 14:43:53 UTC 293,751 bytes, 4 lines download raw bytes

1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="8b949924-df08-bf44-2517-5174c4ce9baf")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,639100,e=>{"use strict";var a=e.i(271645),s=e.i(255743),l=e.i(601893),t=e.i(140721),i=e.i(942803),o=e.i(700020),r=e.i(35889),n=e.i(722678);let d=(0,o.forwardRefWithAs)(function(e,d){let c=`headlessui-control-${(0,a.useId)()}`,[u,m]=(0,n.useLabels)(),[_,p]=(0,r.useDescriptions)(),h=(0,l.useDisabled)(),{disabled:f=h||!1,...g}=e,v=(0,s.useSlot)({disabled:f}),x=(0,o.useRender)();return a.default.createElement(l.DisabledProvider,{value:f},a.default.createElement(m,{value:u},a.default.createElement(p,{value:_},a.default.createElement(i.IdProvider,{id:c},x({ourProps:{ref:d,disabled:f||void 0,"aria-disabled":f||void 0},theirProps:{...g,children:a.default.createElement(t.FormFieldsProvider,null,"function"==typeof g.children?g.children(v):g.children)},slot:v,defaultTag:"div",name:"Field"})))))});e.s(["Field",0,d])},423092,e=>{e.v(a=>Promise.all(["static/chunks/2-5p1x-my6s9i.js"].map(a=>e.l(a))).then(()=>a(918463)))},507789,e=>{"use strict";var a=e.i(843476),s=e.i(271645),l=e.i(539500);let t="list-item",i="o-list-item",o="group-list-item",r="group-o-list-item",n={[t]:"listItem",[i]:"oListItem",[o]:"list",[r]:"oList"},d=e=>(a,s,l,t,i)=>{let o=e[n[a]||a];if(o)return o({type:a,node:s,text:l,children:t,key:i})},c=()=>(++c.i).toString();c.i=0;let u=(e,a=[])=>({key:c(),type:e.type,text:"text"in e?e.text:void 0,node:e,children:a}),m=e=>u({type:"span",text:e,spans:[]}),_=e=>{if("text"in e)return u(e,p(e.spans,e));if("items"in e){let a=[];for(let s=0;s<e.items.length;s++)a.push(_(e.items[s]));return u(e,a)}return u(e)},p=(e,a,s)=>{if(!e.length)return[m(a.text)];let l=e.slice(0);l.sort((e,a)=>e.start-a.start||a.end-e.end);let t=[];for(let e=0;e<l.length;e++){let i=l[e],o=s&&s.start||0,r=i.start-o,n=i.end-o,d=a.text.slice(r,n),c=[];for(let a=e;a<l.length;a++){let e=l[a];e!==i&&(e.start>=i.start&&e.end<=i.end?(c.push(e),l.splice(a,1),a--):e.start<i.end&&e.end>i.start&&(c.push({...e,end:i.end}),l[a]={...e,start:i.end}))}0===e&&r>0&&t.push(m(a.text.slice(0,r)));let _={...i,text:d};t.push(u(_,p(c,{...a,text:d},i))),n<a.text.length&&t.push(m(a.text.slice(n,l[e+1]?l[e+1].start-o:void 0)))}return t},h=(e,a)=>{let s=[];for(let l=0;l<e.length;l++){let t=e[l],i=a(t.type,t.node,t.text,h(t.children,a),t.key);null!=i&&s.push(i)}return s};var f=e.i(212224),g=e.i(601603);let v=(0,s.forwardRef)(function(e,s){var l;let t,i,{field:o,document:r,linkResolver:n,internalComponent:d,externalComponent:c,children:u,...m}=e,{href:_,rel:p,...h}=((e,a={})=>{if(e&&("link_type"in e?(0,g.link)(e):e)){let s,l,t="target"in e?e.target:void 0,i=(0,f.asLink)(e,a.linkResolver),o=null==i?void 0:i,r="string"==typeof o&&(l=!(s=/^(\/(?!\/)|#)/.test(o))&&!/^https?:\/\//.test(o),!s||!!l),n=a.rel?a.rel({href:o,isExternal:r,target:t}):r?"noreferrer":void 0;return{href:o,target:t,rel:null==n?void 0:n}}return{}})(o??r,{linkResolver:n,rel:"function"==typeof m.rel?m.rel:void 0}),v=p;"rel"in m&&"function"!=typeof m.rel&&(v=m.rel);let x=("href"in m?m.href:_)||"",b=d||"a",y=x?(l=x,i=!(t=/^(\/(?!\/)|#)/.test(l))&&!/^https?:\/\//.test(l),t&&!i)?b:c||"a":b;return(0,a.jsx)(y,{ref:s,...h,...m,href:x,rel:v,children:"children"in e?u:null==o?void 0:o.text})}),x=e=>{if("direction"in e&&"rtl"===e.direction)return"rtl"};e.s(["PrismicRichText",0,e=>{let n,u,{linkResolver:m,field:p,fallback:f,components:g,externalLinkComponent:b,internalLinkComponent:y,...C}=e;if(!l.isFilled.richText(p))return null!=f?(0,a.jsx)(a.Fragment,{children:f}):null;let N=((...e)=>(...a)=>{for(let s=0;s<e.length;s++){let l=e[s];if(l){let e=l(...a);if(null!=e)return e}}})("object"==typeof g?d(g):g,(n={linkResolver:m,internalLinkComponent:y,externalLinkComponent:b},d({heading1:({node:e,children:s,key:l})=>(0,a.jsx)("h1",{dir:x(e),children:s},l),heading2:({node:e,children:s,key:l})=>(0,a.jsx)("h2",{dir:x(e),children:s},l),heading3:({node:e,children:s,key:l})=>(0,a.jsx)("h3",{dir:x(e),children:s},l),heading4:({node:e,children:s,key:l})=>(0,a.jsx)("h4",{dir:x(e),children:s},l),heading5:({node:e,children:s,key:l})=>(0,a.jsx)("h5",{dir:x(e),children:s},l),heading6:({node:e,children:s,key:l})=>(0,a.jsx)("h6",{dir:x(e),children:s},l),paragraph:({node:e,children:s,key:l})=>(0,a.jsx)("p",{dir:x(e),children:s}
2,l),preformatted:({node:e,key:s})=>(0,a.jsx)("pre",{children:e.text},s),strong:({children:e,key:s})=>(0,a.jsx)("strong",{children:e},s),em:({children:e,key:s})=>(0,a.jsx)("em",{children:e},s),listItem:({node:e,children:s,key:l})=>(0,a.jsx)("li",{dir:x(e),children:s},l),oListItem:({node:e,children:s,key:l})=>(0,a.jsx)("li",{dir:x(e),children:s},l),list:({children:e,key:s})=>(0,a.jsx)("ul",{children:e},s),oList:({children:e,key:s})=>(0,a.jsx)("ol",{children:e},s),image:({node:e,key:s})=>{let l=(0,a.jsx)("img",{src:e.url,alt:e.alt??void 0,"data-copyright":e.copyright?e.copyright:void 0});return(0,a.jsx)("p",{className:"block-img",children:e.linkTo?(0,a.jsx)(v,{linkResolver:n.linkResolver,internalComponent:n.internalLinkComponent,externalComponent:n.externalLinkComponent,field:e.linkTo,children:l}):l},s)},embed:({node:e,key:s})=>(0,a.jsx)("div",{"data-oembed":e.oembed.embed_url,"data-oembed-type":e.oembed.type,"data-oembed-provider":e.oembed.provider_name,dangerouslySetInnerHTML:{__html:e.oembed.html??""}},s),hyperlink:({node:e,children:s,key:l})=>(0,a.jsx)(v,{field:e.data,linkResolver:n.linkResolver,internalComponent:n.internalLinkComponent,externalComponent:n.externalLinkComponent,children:s},l),label:({node:e,children:s,key:l})=>(0,a.jsx)("span",{className:e.data.label,children:s},l),span:({text:e,key:l})=>{let t=[],i=0;for(let l of e.split("\n"))i>0&&t.push((0,a.jsx)("br",{},`${i}__break`)),t.push((0,a.jsx)(s.Fragment,{children:l},`${i}__line`)),i++;return(0,a.jsx)(s.Fragment,{children:t},l)}}))),j=(u=(e,a,l,t,i)=>{let o=N(e,a,l,t,i);return(0,s.isValidElement)(o)&&null==o.key?(0,s.cloneElement)(o,{key:i}):o},h((e=>{let a=(e=>{let a=e.slice(0);for(let e=0;e<a.length;e++){let s=a[e];if(s.type===t||s.type===i){let l=[s];for(;a[e+1]&&a[e+1].type===s.type;)l.push(a[e+1]),a.splice(e,1);s.type===t?a[e]={type:o,items:l}:a[e]={type:r,items:l}}}return a})(e),s=[];for(let e=0;e<a.length;e++)s.push(_(a[e]));return{key:c(),children:s}})(p).children,u));return j?(0,a.jsx)(a.Fragment,{children:j}):null!=f?(0,a.jsx)(a.Fragment,{children:f}):null}],507789)},737762,e=>{"use strict";let a={active:!0,breakpoints:{},delay:4e3,jump:!1,playOnInit:!0,stopOnFocusIn:!0,stopOnInteraction:!0,stopOnMouseEnter:!1,stopOnLastSnap:!1,rootNode:null};function s(e={}){let l,t,i,o,r=null,n=0,d=!1,c=!1,u=!1,m=!1;function _(){if(!i){if(f()){u=!0;return}d||t.emit("autoplay:play"),function(){let{ownerWindow:e}=t.internalEngine();e.clearTimeout(n),n=e.setTimeout(y,o[t.selectedScrollSnap()]),r=new Date().getTime(),t.emit("autoplay:timerset")}(),d=!0}}function p(){i||(d&&t.emit("autoplay:stop"),function(){let{ownerWindow:e}=t.internalEngine();e.clearTimeout(n),n=0,r=null,t.emit("autoplay:timerstopped")}(),d=!1)}function h(){if(f())return u=d,p();u&&_()}function f(){let{ownerDocument:e}=t.internalEngine();return"hidden"===e.visibilityState}function g(){c||p()}function v(){c||_()}function x(){c=!0,p()}function b(){c=!1,_()}function y(){let{index:e}=t.internalEngine(),a=e.clone().add(1).get(),s=t.scrollSnapList().length-1,i=l.stopOnLastSnap&&a===s;if(t.canScrollNext()?t.scrollNext(m):t.scrollTo(0,m),t.emit("autoplay:select"),i)return p();_()}return{name:"autoplay",options:e,init:function(r,n){var d,c,u,f;let y,C;t=r;let{mergeOptions:N,optionsAtMedia:j}=n,w=N(a,s.globalOptions);if(l=j(N(w,e)),t.scrollSnapList().length<=1)return;m=l.jump,i=!1,d=t,c=l.delay,y=d.scrollSnapList(),o="number"==typeof c?y.map(()=>c):c(y,d);let{eventStore:A,ownerDocument:k}=t.internalEngine(),S=!!t.internalEngine().options.watchDrag,P=(u=t,f=l.rootNode,C=u.rootNode(),f&&f(C)||C);A.add(k,"visibilitychange",h),S&&t.on("pointerDown",g),S&&!l.stopOnInteraction&&t.on("pointerUp",v),l.stopOnMouseEnter&&A.add(P,"mouseenter",x),l.stopOnMouseEnter&&!l.stopOnInteraction&&A.add(P,"mouseleave",b),l.stopOnFocusIn&&t.on("slideFocusStart",p),l.stopOnFocusIn&&!l.stopOnInteraction&&A.add(t.containerNode(),"focusout",_),l.playOnInit&&_()},destroy:function(){t.off("pointerDown",g).off("pointerUp",v).off("slideFocusStart",p),p(),i=!0,d=!1},play:function(e){void 0!==e&&(m=e),_()},stop:function(){d&&p()}
2,reset:function(){d&&_()},isPlaying:function(){return d},timeUntilNext:function(){return r?o[t.selectedScrollSnap()]-(new Date().getTime()-r):null}}}s.globalOptions=void 0,e.s(["default",0,s])},130013,e=>{"use strict";var a=e.i(271645);function s(e){return"[object Object]"===Object.prototype.toString.call(e)||Array.isArray(e)}function l(e,a){let t=Object.keys(e),i=Object.keys(a);return t.length===i.length&&JSON.stringify(Object.keys(e.breakpoints||{}))===JSON.stringify(Object.keys(a.breakpoints||{}))&&t.every(t=>{let i=e[t],o=a[t];return"function"==typeof i?`${i}`==`${o}`:s(i)&&s(o)?l(i,o):i===o})}function t(e){return e.concat().sort((e,a)=>e.name>a.name?1:-1).map(e=>e.options)}function i(e){return"number"==typeof e}function o(e){return"string"==typeof e}function r(e){return"boolean"==typeof e}function n(e){return"[object Object]"===Object.prototype.toString.call(e)}function d(e){return Math.abs(e)}function c(e){return Math.sign(e)}function u(e){return h(e).map(Number)}function m(e){return e[_(e)]}function _(e){return Math.max(0,e.length-1)}function p(e,a=0){return Array.from(Array(e),(e,s)=>a+s)}function h(e){return Object.keys(e)}function f(e,a){return void 0!==a.MouseEvent&&e instanceof a.MouseEvent}function g(){let e=[],a={add:function(s,l,t,i={passive:!0}){let o;return"addEventListener"in s?(s.addEventListener(l,t,i),o=()=>s.removeEventListener(l,t,i)):(s.addListener(t),o=()=>s.removeListener(t)),e.push(o),a},clear:function(){e=e.filter(e=>e())}};return a}function v(e=0,a=0){let s=d(e-a);function l(s){return s<e||s>a}return{length:s,max:a,min:e,constrain:function(s){return l(s)?s<e?e:a:s},reachedAny:l,reachedMax:function(e){return e>a},reachedMin:function(a){return a<e},removeOffset:function(e){return s?e-s*Math.ceil((e-a)/s):e}}}function x(e){let a=e;function s(e){return i(e)?e:e.get()}return{get:function(){return a}
2,set:function(e){a=s(e)},add:function(e){a+=s(e)},subtract:function(e){a-=s(e)}}}function b(e,a){let s="x"===e.scroll?function(e){return`translate3d(${e}px,0px,0px)`}:function(e){return`translate3d(0px,${e}px,0px)`},l=a.style,t=null,i=!1;return{clear:function(){!i&&(l.transform="",a.getAttribute("style")||a.removeAttribute("style"))},to:function(a){if(i)return;let o=Math.round(100*e.direction(a))/100;o!==t&&(l.transform=s(o),t=o)},toggleActive:function(e){i=!e}}}let y={align:"center",axis:"x",container:null,slides:null,containScroll:"trimSnaps",direction:"ltr",slidesToScroll:1,inViewThreshold:0,breakpoints:{},dragFree:!1,dragThreshold:10,loop:!1,skipSnaps:!1,duration:25,startIndex:0,active:!0,watchDrag:!0,watchResize:!0,watchSlides:!0,watchFocus:!0};function C(e,a,s){let l,t,N,j,w,A,k,S,P=e.ownerDocument,I=P.defaultView,M=function(e){function a(e,a){return function e(a,s){return[a,s].reduce((a,s)=>(h(s).forEach(l=>{let t=a[l],i=s[l],o=n(t)&&n(i);a[l]=o?e(t,i):i}),a),{})}(e,a||{})}return{mergeOptions:a,optionsAtMedia:function(s){let l=s.breakpoints||{},t=h(l).filter(a=>e.matchMedia(a).matches).map(e=>l[e]).reduce((e,s)=>a(e,s),{});return a(s,t)},optionsMediaQueries:function(a){return a.map(e=>h(e.breakpoints||{})).reduce((e,a)=>e.concat(a),[]).map(e.matchMedia)}}}(I),T=(S=[],{init:function(e,a){return(S=a.filter(({options:e})=>!1!==M.optionsAtMedia(e).active)).forEach(a=>a.init(e,M)),a.reduce((e,a)=>Object.assign(e,{[a.name]:a}),{})},destroy:function(){S=S.filter(e=>e.destroy())}}),E=g(),W=(t={},N={init:function(e){l=e},emit:function(e){return(t[e]||[]).forEach(a=>a(l,e)),N},off:function(e,a){return t[e]=(t[e]||[]).filter(e=>e!==a),N},on:function(e,a){return t[e]=(t[e]||[]).concat([a]),N},clear:function(){t={}}}),{mergeOptions:B,optionsAtMedia:O,optionsMediaQueries:q}=M,{on:L,off:F,emit:R}=W,G=!1,H=B(y,C.globalOptions),D=B(H),z=[];function K(a,s){G||(D=O(H=B(H,a)),z=s||z,function(){let{container:a,slides:s}=D;A=(o(a)?e.querySelector(a):a)||e.children[0];let l=o(s)?A.querySelectorAll(s):s;k=[].slice.call(l||A.children)}(),j=function a(s){let l=function(e,a,s,l,t,n,y){var C,N;let j,w,A,k,S,P,I,M,T,E,W,B,O,q,{align:L,axis:F,direction:R,startIndex:G,loop:H,duration:D,dragFree:z,dragThreshold:K,inViewThreshold:V,slidesToScroll:U,skipSnaps:Z,containScroll:Q,watchResize:Y,watchSlides:J,watchDrag:X,watchFocus:$}=n,ee={measure:function(e){let{offsetTop:a,offsetLeft:s,offsetWidth:l,offsetHeight:t}=e;return{top:a,right:s+l,bottom:a+t,left:s,width:l,height:t}}},ea=ee.measure(a),es=s.map(ee.measure),el=(w="rtl"===R,k=(A="y"===F)||!w?1:-1,S=A?"top":w?"right":"left",P=A?"bottom":w?"left":"right",{scroll:A?"y":"x",cross:A?"x":"y",startEdge:S,endEdge:P,measureSize:function(e){let{height:a,width:s}=e;return A?a:s},direction:function(e){return e*k}}),et=el.measureSize(ea),ei={measure:function(e){return e/100*et}},eo=(C=L,N=et,j={start:function(){return 0},center:function(e){return(N-e)/2},end:function(e){return N-e}},{measure:function(e,a){return o(C)?j[C](e):C(N,e,a)}}),er=!H&&!!Q,{slideSizes:en,slideSizesWithGaps:ed,startGap:ec,endGap:eu}=function(e,a,s,l,t,i){let{measureSize:o,startEdge:r,endEdge:n}=e,c=s[0]&&t,u=function(){if(!c)return 0;let e=s[0];return d(a[r]-e[r])}(),p=c?parseFloat(i.getComputedStyle(m(l)).getPropertyValue(`margin-${n}`)):0,h=s.map(o),f=s.map((e,a,s)=>{let l=a===_(s);return a?l?h[a]+p:s[a+1][r]-e[r]:h[a]+u}).map(d);return{slideSizes:h,slideSizesWithGaps:f,startGap:u,endGap:p}}(el,ea,es,s,H||!!Q,t),em=function(e,a,s,l,t,o,r,n){let{startEdge:c,endEdge:p,direction:h}=e,f=i(s);return{groupSlides:function(e){return f?u(e).filter(e=>e%s==0).map(a=>e.slice(a,a+s)):e.length?u(e).reduce((s,i,u)=>{let f=m(s)||0,g=i===_(e),v=t[c]-o[f][c],x=t[c]-o[i][p],b=l||0!==f?0:h(r),y=d(x-(!l&&g?h(n):0)-(v+b));return u&&y>a+2&&s.push(i),g&&s.push(e.length),s},[]).map((a,s,l)=>{let t=Math.max(l[s-1]||0);return e.slice(t,a)}):[]}}}(el,et,U,H,ea,es,ec,eu),{snaps:e_,snapsAligned:ep}=function(e,a,s,l,t){let{startEdge:i,endEdge:o}=e,{groupSlides:r}=t,n=r(l).map(e=>m(e)[o]-e[0][i]).map(d).map(a.measure),c=l.map(e=>s[i]-e[i]).map(e=>-d(e)),u=r(c).map(e=>e[0]).map((e,a)=>e+n[a]);return{snaps:c,snapsAligned:u}}
2(el,eo,ea,es,em),eh=-m(e_)+m(ed),{snapsContained:ef,scrollContainLimit:eg}=function(e,a,s,l){let t,i,o=v(-a+e,0),r=s.map((e,a)=>{let{min:l,max:t}=o,i=o.constrain(e),r=a===_(s);return a?r||function(e,a){return 1>=d(e-a)}(l,i)?l:function(e,a){return 1>=d(e-a)}(t,i)?t:i:t}).map(e=>parseFloat(e.toFixed(3))),n=(t=r[0],i=m(r),v(r.lastIndexOf(t),r.indexOf(i)+1));return{snapsContained:function(){if(a<=e+2)return[o.max];if("keepSnaps"===l)return r;let{min:s,max:t}=n;return r.slice(s,t)}(),scrollContainLimit:n}}(et,eh,ep,Q),ev=er?ef:ep,{limit:ex}=(I=ev[0],{limit:v(H?I-eh:m(ev),I)}),eb=function e(a,s,l){let{constrain:t}=v(0,a),i=a+1,o=r(s);function r(e){return l?d((i+e)%i):t(e)}function n(){return e(a,o,l)}let c={get:function(){return o},set:function(e){return o=r(e),c},add:function(e){return n().set(o+e)},clone:n};return c}(_(ev),G,H),ey=eb.clone(),eC=u(s),eN=function(e,a,s,l){let t=g(),i=1e3/60,o=null,r=0,n=0;function d(e){if(!n)return;o||(o=e,s(),s());let t=e-o;for(o=e,r+=t;r>=i;)s(),r-=i;l(r/i),n&&(n=a.requestAnimationFrame(d))}function c(){a.cancelAnimationFrame(n),o=null,r=0,n=0}return{init:function(){t.add(e,"visibilitychange",()=>{e.hidden&&(o=null,r=0)})},destroy:function(){c(),t.clear()},start:function(){n||(n=a.requestAnimationFrame(d))},stop:c,update:s,render:l}}(l,t,()=>(({dragHandler:e,scrollBody:a,scrollBounds:s,options:{loop:l}})=>{l||s.constrain(e.pointerDown()),a.seek()})(eq),e=>(({scrollBody:e,translate:a,location:s,offsetLocation:l,previousLocation:t,scrollLooper:i,slideLooper:o,dragHandler:r,animation:n,eventHandler:d,scrollBounds:c,options:{loop:u}},m)=>{let _=e.settled(),p=!c.shouldConstrain(),h=u?_:_&&p,f=h&&!r.pointerDown();f&&n.stop();let g=s.get()*m+t.get()*(1-m);l.set(g),u&&(i.loop(e.direction()),o.loop()),a.to(l.get()),f&&d.emit("settle"),h||d.emit("scroll")})(eq,e)),ej=ev[eb.get()],ew=x(ej),eA=x(ej),ek=x(ej),eS=x(ej),eP=function(e,a,s,l,t){let i=0,o=0,r=t,n=.68,u=e.get(),m=0;function _(e){return r=e,h}function p(e){return n=e,h}let h={direction:function(){return o},duration:function(){return r},velocity:function(){return i},seek:function(){let a=l.get()-e.get(),t=0;return r?(s.set(e),i+=a/r,i*=n,u+=i,e.add(i),t=u-m):(i=0,s.set(l),e.set(l),t=a),o=c(t),m=u,h},settled:function(){return .001>d(l.get()-a.get())},useBaseFriction:function(){return p(.68)},useBaseDuration:function(){return _(t)},useFriction:p,useDuration:_};return h}(ew,ek,eA,eS,D),eI=function(e,a,s,l,t){let{reachedAny:i,removeOffset:o,constrain:r}=l;function n(e){return e.concat().sort((e,a)=>d(e)-d(a))[0]}function u(a,l){let t=[a,a+s,a-s];if(!e)return a;
2if(!l)return n(t);let i=t.filter(e=>c(e)===l);return i.length?n(i):m(t)-s}return{byDistance:function(s,l){let n=t.get()+s,{index:c,distance:m}=function(s){let l=e?o(s):r(s),{index:t}=a.map((e,a)=>({diff:u(e-l,0),index:a})).sort((e,a)=>d(e.diff)-d(a.diff))[0];return{index:t,distance:l}}(n),_=!e&&i(n);if(!l||_)return{index:c,distance:s};let p=s+u(a[c]-m,0);return{index:c,distance:p}},byIndex:function(e,s){let l=u(a[e]-t.get(),s);return{index:e,distance:l}},shortcut:u}}(H,ev,eh,ex,eS),eM=function(e,a,s,l,t,i,o){function r(t){let r=t.distance,n=t.index!==a.get();i.add(r),r&&(l.duration()?e.start():(e.update(),e.render(1),e.update())),n&&(s.set(a.get()),a.set(t.index),o.emit("select"))}return{distance:function(e,a){r(t.byDistance(e,a))},index:function(e,s){let l=a.clone().set(e);r(t.byIndex(l.get(),s))}}}(eN,eb,ey,eP,eI,eS,y),eT=function(e){let{max:a,length:s}=e;return{get:function(e){return s?-((e-a)/s):0}}}(ex),eE=g(),eW=(T={},E=null,W=null,B=!1,{init:function(){M=new IntersectionObserver(e=>{B||(e.forEach(e=>{T[s.indexOf(e.target)]=e}),E=null,W=null,y.emit("slidesInView"))},{root:a.parentElement,threshold:V}),s.forEach(e=>M.observe(e))},destroy:function(){M&&M.disconnect(),B=!0},get:function(e=!0){if(e&&E)return E;if(!e&&W)return W;let a=h(T).reduce((a,s)=>{let l=parseInt(s),{isIntersecting:t}=T[l];return(e&&t||!e&&!t)&&a.push(l),a},[]);return e&&(E=a),e||(W=a),a}}),{slideRegistry:eB}=function(e,a,s,l,t,i){let o,{groupSlides:r}=t,{min:n,max:d}=l;return{slideRegistry:(o=r(i),1===s.length?[i]:e&&"keepSnaps"!==a?o.slice(n,d).map((e,a,s)=>{let l=a===_(s);return a?l?p(_(i)-m(s)[0]+1,m(s)[0]):e:p(m(s[0])+1)}):o)}}(er,Q,ev,eg,em,eC),eO=function(e,a,s,l,t,o,n,d){let c={passive:!0,capture:!0},u=0;function m(e){"Tab"===e.code&&(u=new Date().getTime())}return{init:function(_){d&&(o.add(document,"keydown",m,!1),a.forEach((a,m)=>{o.add(a,"focus",a=>{(r(d)||d(_,a))&&function(a){if(new Date().getTime()-u>10)return;n.emit("slideFocusStart"),e.scrollLeft=0;let o=s.findIndex(e=>e.includes(a));i(o)&&(t.useDuration(0),l.index(o,0),n.emit("slideFocus"))}(m)},c)}))}}}(e,s,eB,eM,eP,eE,y,$),eq={ownerDocument:l,ownerWindow:t,eventHandler:y,containerRect:ea,slideRects:es,animation:eN,axis:el,dragHandler:function(e,a,s,l,t,i,o,n,u,m,_,p,h,x,b,y,C,N){let{cross:j,direction:w}=e,A=["INPUT","SELECT","TEXTAREA"],k={passive:!1},S=g(),P=g(),I=v(50,225).constrain(x.measure(20)),M={mouse:300,touch:400},T={mouse:500,touch:600},E=b?43:25,W=!1,B=0,O=0,q=!1,L=!1,F=!1,R=!1;function G(e){if(!f(e,l)&&e.touches.length>=2)return H(e);let a=i.readPoint(e),s=i.readPoint(e,j),o=d(a-B),r=d(s-O);if(!L&&!R&&(!e.cancelable||!(L=o>r)))return H(e);let c=i.pointerMove(e);o>y&&(F=!0),m.useFriction(.3).useDuration(.75),n.start(),t.add(w(c)),e.preventDefault()}function H(e){var a;let s,l,t=_.byDistance(0,!1).index!==p.get(),o=i.pointerUp(e)*(b?T:M)[R?"mouse":"touch"],r=(a=w(o),s=p.add(-1*c(a)),l=_.byDistance(a,!b).distance,b||d(a)<I?l:C&&t?.5*l:_.byIndex(s.get(),0).distance),n=function(e,a){var s,l;if(0===e||0===a||d(e)<=d(a))return 0;let t=(s=d(e),l=d(a),d(s-l));return d(t/e)}(o,r);L=!1,q=!1,P.clear(),m.useDuration(E-10*n).useFriction(.68+n/50),u.distance(r,!b),R=!1,h.emit("pointerUp")}function D(e){F&&(e.stopPropagation(),e.preventDefault(),F=!1)}return{init:function(e){N&&S.add(a,"dragstart",e=>e.preventDefault(),k).add(a,"touchmove",()=>void 0,k).add(a,"touchend",()=>void 0).add(a,"touchstart",n).add(a,"mousedown",n).add(a,"touchcancel",H).add(a,"contextmenu",H).add(a,"click",D,!0);function n(n){(r(N)||N(e,n))&&function(e){let r,n=f(e,l);if((R=n,F=b&&n&&!e.buttons&&W,W=d(t.get()-o.get())>=2,!n||0===e.button)&&(r=e.target.nodeName||"",!A.includes(r))){let l;q=!0,i.pointerDown(e),m.useFriction(0).useDuration(0),t.set(o),l=R?s:a,P.add(l,"touchmove",G,k).add(l,"touchend",H).add(l,"mousemove",G,k).add(l,"mouseup",H),B=i.readPoint(e),O=i.readPoint(e,j),h.emit("pointerDown")}}(n)}},destroy:function(){S.clear(),P.clear()},pointerDown:function(){return q}}}(el,e,l,t,eS,function(e,a){let s,l;function t(e){return e.timeStamp}function i(s,l){let t=l||e.scroll,i=`client${"x"===t?"X":"Y"}`;return(f(s,a)?s:s.touches[0])[i]}return{pointerDown:function(e){return s=e,l=e,i(e)},pointerMove:function(e){let a=i(e)-i(l),o=t(e)-t(s)>170;return l=e,o&&(s=e),a},pointerUp:function(e){if(!s||!l)return 0;let a=i(l)-i(s),o=t(e)-t(s),r=t(e)-t(l)>170,n=a/o;return o&&!r&&d(n)>.1?n:0},readPoint:i}}(el,t),ew,eN,eM,eP,eI,eb,y,ei,z,K,Z,X),eventStore:eE,percentOfView:ei,index:eb,indexPrevious:ey,limit:ex,location:ew,offsetLocation:ek,previousLocation:eA,options:n,resizeHandler:function(e,a,s,l,t,i,o){let n,c,u=[e].concat(l),m=[],_=!1;function p(e){return t.measureSize(o.measure(e))}return{init:function(t){i&&(c=p(e),m=l.map(p),n=new ResizeObserver(s=>{(r(i)||i(t,s))&&function(s){for(let i of s){if(_)return;let s=i.target===e,o=l.indexOf(i.target),r=s?c:m[o];
2if(d(p(s?e:l[o])-r)>=.5){t.reInit(),a.emit("resize");break}}}(s)}),s.requestAnimationFrame(()=>{u.forEach(e=>n.observe(e))}))},destroy:function(){_=!0,n&&n.disconnect()}}}(a,y,t,s,el,Y,ee),scrollBody:eP,scrollBounds:function(e,a,s,l,t){let i=t.measure(10),o=t.measure(50),r=v(.1,.99),n=!1;function c(){return!n&&!!e.reachedAny(s.get())&&!!e.reachedAny(a.get())}return{shouldConstrain:c,constrain:function(t){if(!c())return;let n=e.reachedMin(a.get())?"min":"max",u=d(e[n]-a.get()),m=s.get()-a.get(),_=r.constrain(u/o);s.subtract(m*_),!t&&d(m)<i&&(s.set(e.constrain(s.get())),l.useDuration(25).useBaseFriction())},toggleActive:function(e){n=!e}}}(ex,ek,eS,eP,ei),scrollLooper:function(e,a,s,l){let{reachedMin:t,reachedMax:i}=v(a.min+.1,a.max+.1);return{loop:function(a){if(!(1===a?i(s.get()):-1===a&&t(s.get())))return;let o=-1*a*e;l.forEach(e=>e.add(o))}}}(eh,ex,ek,[ew,ek,eA,eS]),scrollProgress:eT,scrollSnapList:ev.map(eT.get),scrollSnaps:ev,scrollTarget:eI,scrollTo:eM,slideLooper:function(e,a,s,l,t,i,o,r,n){let d=u(t),c=u(t).reverse(),m=h(p(c,o[0]),s,!1).concat(h(p(d,a-o[0]-1),-s,!0));function _(e,a){return e.reduce((e,a)=>e-t[a],a)}function p(e,a){return e.reduce((e,s)=>_(e,a)>0?e.concat([s]):e,[])}function h(t,o,d){let c=i.map((e,s)=>({start:e-l[s]+.5+o,end:e+a-.5+o}));return t.map(a=>{let l=d?0:-s,t=d?s:0,i=c[a][d?"end":"start"];return{index:a,loopPoint:i,slideLocation:x(-1),translate:b(e,n[a]),target:()=>r.get()>i?l:t}})}return{canLoop:function(){return m.every(({index:e})=>.1>=_(d.filter(a=>a!==e),a))},clear:function(){m.forEach(e=>e.translate.clear())},loop:function(){m.forEach(e=>{let{target:a,translate:s,slideLocation:l}=e,t=a();t!==l.get()&&(s.to(t),l.set(t))})},loopPoints:m}}(el,et,eh,en,ed,e_,ev,ek,s),slideFocus:eO,slidesHandler:(q=!1,{init:function(e){J&&(O=new MutationObserver(a=>{!q&&(r(J)||J(e,a))&&function(a){for(let s of a)if("childList"===s.type){e.reInit(),y.emit("slidesChanged");break}}(a)})).observe(a,{childList:!0})},destroy:function(){O&&O.disconnect(),q=!0}}),slidesInView:eW,slideIndexes:eC,slideRegistry:eB,slidesToScroll:em,target:eS,translate:b(el,a)};return eq}(e,A,k,P,I,s,W);return s.loop&&!l.slideLooper.canLoop()?a(Object.assign({},s,{loop:!1})):l}(D),q([H,...z.map(({options:e})=>e)]).forEach(e=>E.add(e,"change",V)),D.active&&(j.translate.to(j.location.get()),j.animation.init(),j.slidesInView.init(),j.slideFocus.init(Y),j.eventHandler.init(Y),j.resizeHandler.init(Y),j.slidesHandler.init(Y),j.options.loop&&j.slideLooper.loop(),A.offsetParent&&k.length&&j.dragHandler.init(Y),w=T.init(Y,z)))}function V(e,a){let s=Q();U(),K(B({startIndex:s},e),a),W.emit("reInit")}function U(){j.dragHandler.destroy(),j.eventStore.clear(),j.translate.clear(),j.slideLooper.clear(),j.resizeHandler.destroy(),j.slidesHandler.destroy(),j.slidesInView.destroy(),j.animation.destroy(),T.destroy(),E.clear()}function Z(e,a,s){D.active&&!G&&(j.scrollBody.useBaseFriction().useDuration(!0===a?0:D.duration),j.scrollTo.index(e,s||0))}function Q(){return j.index.get()}let Y={canScrollNext:function(){return j.index.add(1).get()!==Q()},canScrollPrev:function(){return j.index.add(-1).get()!==Q()},containerNode:function(){return A},internalEngine:function(){return j},destroy:function(){G||(G=!0,E.clear(),U(),W.emit("destroy"),W.clear())},off:F,on:L,emit:R,plugins:function(){return w},previousScrollSnap:function(){return j.indexPrevious.get()},reInit:V,rootNode:function(){return e},scrollNext:function(e){Z(j.index.add(1).get(),e,-1)},scrollPrev:function(e){Z(j.index.add(-1).get(),e,1)},scrollProgress:function(){return j.scrollProgress.get(j.offsetLocation.get())},scrollSnapList:function(){return j.scrollSnapList}
2,scrollTo:Z,selectedScrollSnap:Q,slideNodes:function(){return k},slidesInView:function(){return j.slidesInView.get()},slidesNotInView:function(){return j.slidesInView.get(!1)}};return K(a,s),setTimeout(()=>W.emit("init"),0),Y}function N(e={},s=[]){let i=(0,a.useRef)(e),o=(0,a.useRef)(s),[r,n]=(0,a.useState)(),[d,c]=(0,a.useState)(),u=(0,a.useCallback)(()=>{r&&r.reInit(i.current,o.current)},[r]);return(0,a.useEffect)(()=>{l(i.current,e)||(i.current=e,u())},[e,u]),(0,a.useEffect)(()=>{!function(e,a){if(e.length!==a.length)return!1;let s=t(e),i=t(a);return s.every((e,a)=>l(e,i[a]))}(o.current,s)&&(o.current=s,u())},[s,u]),(0,a.useEffect)(()=>{if("u">typeof window&&window.document&&window.document.createElement&&d){C.globalOptions=N.globalOptions;let e=C(d,i.current,o.current);return n(e),()=>e.destroy()}n(void 0)},[d,n]),[c,r]}C.globalOptions=void 0,N.globalOptions=void 0,e.s(["default",0,N],130013)},784593,e=>{"use strict";function a(){return(a=Object.assign||function(e){for(var a=1;a<arguments.length;a++){var s=arguments[a];for(var l in s)Object.prototype.hasOwnProperty.call(s,l)&&(e[l]=s[l])}return e}).apply(this,arguments)}function s(e,a){if(e.length!==a.length)throw Error("vectors must be same length");return e.map(function(e,s){return e+a[s]})}function l(e){return Math.max.apply(Math,e.map(Math.abs))}function t(e){return Object.freeze(e),Object.values(e).forEach(function(e){null===e||"object"!=typeof e||Object.isFrozen(e)||t(e)}),e}var i=[1,18,"u">typeof window&&window.innerHeight||800],o=[-1,-1,-1],r=t({preventWheelAction:!0,reverseSign:[!0,!0,!1]});function n(){return{isStarted:!1,isStartPublished:!1,isMomentum:!1,startTime:0,lastAbsDelta:1/0,axisMovement:[0,0,0],axisVelocity:[0,0,0],accelerationFactors:[],scrollPoints:[],scrollPointsToMerge:[],willEndTimeout:400}}let d=function(e){void 0===e&&(e={});var d,c,u,m,_,p=function(){var e={};function a(a,s){e[a]=(e[a]||[]).filter(function(e){return e!==s})}return t({on:function(s,l){return e[s]=(e[s]||[]).concat(l),function(){return a(s,l)}},off:a,dispatch:function(a,s){a in e&&e[a].forEach(function(e){return e(s)})}})}(),h=p.on,f=p.off,g=p.dispatch,v=r,x=n(),b=!1,y=function(e){Array.isArray(e)?e.forEach(function(e){return w(e)}):w(e)},C=function(e){return(void 0===e&&(e={}),Object.values(e).some(function(e){return null==e}))?v:v=t(a({},r,v,e))},N=function(e){var l=a({event:m,isStart:!1,isEnding:!1,isMomentumCancel:!1,isMomentum:x.isMomentum,axisDelta:[0,0,0],axisVelocity:x.axisVelocity,axisMovement:x.axisMovement,get axisMovementProjection(){return s(l.axisMovement,l.axisVelocity.map(function(e){var a;return void 0===a&&(a=.996),e*a/(1-a)}))}},e);g("wheel",a({},l,{previous:_})),_=l},j=function(e,a){var s=v.preventWheelAction,l=a[0],t=a[1],i=a[2];if("boolean"==typeof s)return s;switch(s){case"x":return Math.abs(l)>=e;case"y":return Math.abs(t)>=e;case"z":return Math.abs(i)>=e;default:return!1}},w=function(e){var t,r,n,d,c=(d=function(e,s){if(!s)return e;var l=!0===s?o:s.map(function(e){return e?-1:1});return a({},e,{axisDelta:e.axisDelta.map(function(e,a){return e*l[a]})})}((t=e.deltaX*i[e.deltaMode],r=e.deltaY*i[e.deltaMode],n=(e.deltaZ||0)*i[e.deltaMode],{timeStamp:e.timeStamp,axisDelta:[t,r,n]}),v.reverseSign),a({},d,{axisDelta:d.axisDelta.map(function(e){return Math.min(Math.max(-700,e),700)})})),u=c.axisDelta,_=c.timeStamp,p=l(u);if(e.preventDefault&&j(p,u)&&e.preventDefault(),x.isStarted?x.isMomentum&&p>Math.max(2,2*x.lastAbsDelta)&&(B(!0),E()):E(),0===p&&Object.is&&Object.is(e.deltaX,-0)){b=!0;return}m=e,x.axisMovement=s(x.axisMovement,u),x.lastAbsDelta=p,x.scrollPointsToMerge.push({axisDelta:u,timeStamp:_}),A(),N({axisDelta:u,isStart:!x.isStartPublished}),x.isStartPublished=!0,W()},A=function(){if(2===x.scrollPointsToMerge.length){var e;x.scrollPoints.unshift({axisDeltaSum:x.scrollPointsToMerge.map(function(e){return e.axisDelta}).reduce(s),timeStamp:(e=x.scrollPointsToMerge.map(function(e){return e.timeStamp})).reduce(function(e,a){return e+a})/e.length}),S(),x.scrollPointsToMerge.length=0,x.scrollPoints.length=1,x.isMomentum||M()}else x.isStartPublished||k()},k=function(){var e;x.axisVelocity=(e=x.scrollPointsToMerge)[e.length-1].axisDelta.map(function(e){return e/x.willEndTimeout})},S=function(){var e=x.scrollPoints,a=e[0],s=e[1];if(s&&a){var l=a.timeStamp-s.timeStamp;if(l<=0)return;var t=a.axisDeltaSum.map(function(e){return e/l}),i=t.map(function(e,a){return e/(x.axisVelocity[a]||1)});x.axisVelocity=t,x.accelerationFactors.push(i),P(l)}},P=function(e){var a=10*Math.ceil(e/10)*1.2;x.isMomentum||(a=Math.max(100,2*a)),x.willEndTimeout=Math.min(1e3,Math.round(a))},I=function(e){return 0===e||e<=.96&&e>=.6},M=function(){if(x.accelerationFactors.length>=5){if(b&&(b=!1,l(x.axisVelocity)>=.2))return void T();var e=x.accelerationFactors.slice(-5);e.every(function(e){var a=!!e.reduce(function(e,a){return e&&e<1&&e===a?1:0}),s=e.filter(I).length===e.length;return a||s})&&T(),x.accelerationFactors=e}},T=function(){x.isMomentum=!0},E=function(){(x=n()).isStarted=!0,x.startTime=Date.now(),_=void 0,b=!1},W=function(){clearTimeout(d),d=setTimeout(B,x.willEndTimeout)},B=function(e){void 0===e&&(e=!1),x.isStarted&&(x.isMomentum&&e?N({isEnding:!0,isMomentumCancel:!0}):N({isEnding:!0}),x.isMomentum=!1,x.isStarted=!1)},O=(c=[],t({observe:function(e){return e.addEventListener("wheel",y,{passive:!1}),c.push(e),function(){return u(e)}},unobserve:u=function(e){e.removeEventListener("wheel",y),c=c.filter(function(a){return a!==e})}
2,disconnect:function(){c.forEach(u)}})),q=O.observe,L=O.unobserve,F=O.disconnect;return C(e),t({on:h,off:f,observe:q,unobserve:L,disconnect:F,feedWheel:y,updateOptions:C})};var c={active:!0,breakpoints:{},wheelDraggingClass:"is-wheel-dragging",forceWheelAxis:void 0,target:void 0};function u(e){void 0===e&&(e={});var a,s=function(){};return{name:"wheelGestures",options:e,init:function(l,t){var i,o,r,n=t.mergeOptions,m=t.optionsAtMedia,_=n(c,u.globalOptions);a=m(n(_,e));var p=l.internalEngine(),h=null!=(i=a.target)?i:l.containerNode().parentNode,f=null!=(o=a.forceWheelAxis)?o:p.options.axis,g=d({preventWheelAction:f,reverseSign:[!0,!0,!1]});function v(){N=("x"===f?p.containerRect.width:p.containerRect.height)/2}var x=g.observe(h),b=g.on("wheel",function(e){var l=e.axisDelta,t=l[0],i=l[1],o="x"===f?t:i,n="x"===f?i:t,d=e.isMomentum&&e.previous&&!e.previous.isMomentum,c=e.isEnding&&!e.isMomentum||d;!(Math.abs(o)>Math.abs(n))||y||e.isMomentum||j||function(e){try{r=new MouseEvent("mousedown",e.event),P(r)}catch(e){return s()}y=!0,C=0,document.documentElement.addEventListener("mousemove",k,!0),document.documentElement.addEventListener("mouseup",k,!0),document.documentElement.addEventListener("mousedown",k,!0),a.wheelDraggingClass&&h.classList.add(a.wheelDraggingClass)}(e),j&&e.isEnding&&(j=!1),y&&!function(e){var a=I(e),s=a.isAtBoundary,l=a.primaryAxisDelta;if(s&&!e.isMomentum){if((C+=Math.abs(l))>N)return j=!0,w(e),!0}else C=0;return!1}(e)&&(c?w(e):P(S("mousemove",e)))}),y=!1,C=0,N=0,j=!1;function w(e){y=!1,P(S("mouseup",e)),A(),a.wheelDraggingClass&&h.classList.remove(a.wheelDraggingClass)}function A(){document.documentElement.removeEventListener("mousemove",k,!0),document.documentElement.removeEventListener("mouseup",k,!0),document.documentElement.removeEventListener("mousedown",k,!0)}function k(e){y&&e.isTrusted&&e.stopImmediatePropagation()}function S(e,a){if(f===p.options.axis){var s,l,t=a.axisMovement;s=t[0],l=t[1]}else{var i=a.axisMovement;l=i[0],s=i[1]}if(I(a).isAtBoundary){var o=Math.min(C/N,1),n=C*(s>0?-1:1)*(.25+.5*o);s+=n,l+=n}if(!p.options.skipSnaps&&!p.options.dragFree){var d=p.containerRect.width,c=p.containerRect.height;s=s<0?Math.max(s,-d):Math.min(s,d),l=l<0?Math.max(l,-c):Math.min(l,c)}return new MouseEvent(e,{clientX:r.clientX+s,clientY:r.clientY+l,screenX:r.screenX+s,screenY:r.screenY+l,movementX:s,movementY:l,button:0,bubbles:!0,cancelable:!0,composed:!0})}function P(e){l.containerNode().dispatchEvent(e)}function I(e){var a=e.axisDelta,s=a[0],t=a[1],i=l.scrollProgress(),o="x"===f?s:t;return{isAtBoundary:o<0&&!(i<1)||o>0&&!(i>0),primaryAxisDelta:o}}v(),l.on("resize",v),s=function(){x(),b(),l.off("resize",v),A()}},destroy:function(){return s()}}}u.globalOptions=void 0,e.s(["WheelGesturesPlugin",0,u],784593)},475254,e=>{"use strict";var a=e.i(271645);let s=e=>{let a=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,a,s)=>s?s.toUpperCase():a.toLowerCase());return a.charAt(0).toUpperCase()+a.slice(1)},l=(...e)=>e.filter((e,a,s)=>!!e&&""!==e.trim()&&s.indexOf(e)===a).join(" ").trim();var t={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let i=(0,a.forwardRef)(({color:e="currentColor",size:s=24,strokeWidth:i=2,absoluteStrokeWidth:o,className:r="",children:n,iconNode:d,...c},u)=>(0,a.createElement)("svg",{ref:u,...t,width:s,height:s,stroke:e,strokeWidth:o?24*Number(i)/Number(s):i,className:l("lucide",r),...!n&&!(e=>{for(let a in e)if(a.startsWith("aria-")||"role"===a||"title"===a)return!0})(c)&&{"aria-hidden":"true"},...c},[...d.map(([e,s])=>(0,a.createElement)(e,s)),...Array.isArray(n)?n:[n]]));e.s(["default",0,(e,t)=>{let o=(0,a.forwardRef)(({className:o,...r},n)=>(0,a.createElement)(i,{ref:n,iconNode:t,className:l(`lucide-${s(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,o),...r}));return o.displayName=s(e),o}],475254)},361653,e=>{"use strict";let a=(0,e.i(475254).default)("circle-alert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);e.s(["default",0,a])},707621,e=>{"use strict";var a=e.i(361653);e.s(["CircleAlert",()=>a.default])},90317,(e,a,s)=>{"use strict";Object.defineProperty(s,"__esModule",{value:!0});var l={bindSnapshot:function(){return d},createAsyncLocalStorage:function(){return n},createSnapshot:function(){return c}};for(var t in l)Object.defineProperty(s,t,{enumerable:!0,get:l[t]});let i=Object.defineProperty(Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available"),"__NEXT_ERROR_CODE",{value:"E504",enumerable:!1,
2configurable:!0});class o{disable(){throw i}getStore(){}run(){throw i}exit(){throw i}enterWith(){throw i}static bind(e){return e}}let r="u">typeof globalThis&&globalThis.AsyncLocalStorage;function n(){return r?new r:new o}function d(e){return r?r.bind(e):o.bind(e)}function c(){return r?r.snapshot():function(e,...a){return e(...a)}}},242344,(e,a,s)=>{"use strict";Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"workAsyncStorageInstance",{enumerable:!0,get:function(){return l}});let l=(0,e.r(90317).createAsyncLocalStorage)()},563599,(e,a,s)=>{"use strict";Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"workAsyncStorage",{enumerable:!0,get:function(){return l.workAsyncStorageInstance}});let l=e.r(242344)},667585,(e,a,s)=>{"use strict";Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"BailoutToCSR",{enumerable:!0,get:function(){return t}});let l=e.r(132061);function t({reason:e,children:a}){if("u"<typeof window)throw Object.defineProperty(new l.BailoutToCSRError(e),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return a}},869093,(e,a,s)=>{"use strict";Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"default",{enumerable:!0,get:function(){return d}});let l=e.r(843476),t=e.r(271645),i=e.r(667585),o=e.r(652157);function r(e){return{default:e&&"default"in e?e.default:e}}let n={loader:()=>Promise.resolve(r(()=>null)),loading:null,ssr:!0},d=function(e){let a={...n,...e},s=(0,t.lazy)(()=>a.loader().then(r)),d=a.loading;function c(e){let r=d?(0,l.jsx)(d,{isLoading:!0,pastDelay:!0,error:null}):null,n=!a.ssr||!!a.loading,c=n?t.Suspense:t.Fragment,u=a.ssr?(0,l.jsxs)(l.Fragment,{children:["u"<typeof window?(0,l.jsx)(o.PreloadChunks,{moduleIds:a.modules}):null,(0,l.jsx)(s,{...e})]}):(0,l.jsx)(i.BailoutToCSR,{reason:"next/dynamic",children:(0,l.jsx)(s,{...e})});return(0,l.jsx)(c,{...n?{fallback:r}:{},children:u})}return c.displayName="LoadableComponent",c}},770703,(e,a,s)=>{"use strict";Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"default",{enumerable:!0,get:function(){return t}});let l=e.r(555682)._(e.r(869093));function t(e,a){let s={};"function"==typeof e&&(s.loader=e);let t={...s,...a};return(0,l.default)({...t,modules:t.loadableGenerated?.modules})}("function"==typeof s.default||"object"==typeof s.default&&null!==s.default)&&void 0===s.default.__esModule&&(Object.defineProperty(s.default,"__esModule",{value:!0}),Object.assign(s.default,s),a.exports=s.default)},652157,(e,a,s)=>{"use strict";Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"PreloadChunks",{enumerable:!0,get:function(){return n}});let l=e.r(843476),t=e.r(174080),i=e.r(563599),o=e.r(309885),r=e.r(543369);function n({moduleIds:e}){if("u">typeof window)return null;let a=i.workAsyncStorage.getStore();if(void 0===a)return null;let s=[];if(a.reactLoadableManifest&&e){let l=a.reactLoadableManifest;for(let a of e){if(!l[a])continue;let e=l[a].files;s.push(...e)}}if(0===s.length)return null;let d=(0,r.getAssetTokenQuery)();return(0,l.jsx)(l.Fragment,{children:s.map(e=>{let s=`${a.assetPrefix}/_next/${(0,o.encodeURIPath)(e)}${d}`;return e.endsWith(".css")?(0,l.jsx)("link",{precedence:"dynamic",href:s,rel:"stylesheet",as:"style",nonce:a.nonce},e):((0,t.preload)(s,{as:"script",fetchPriority:"low",nonce:a.nonce}),null)})})}},388554,e=>{e.v(a=>Promise.all(["static/chunks/2tr3d9x59-xdd.js"].map(a=>e.l(a))).then(()=>a(630029)))},125,e=>{"use strict";var a=e.i(271645),s=e.i(88864);e.s(["SliceExperimentExposure",0,function({experimentName:e}){return(0,a.useEffect)(()=>{(0,s.getStatsigExperiment)(e)},[e]),null}])},54829,921057,527298,e=>{"use strict";var a=e.i(271645),s=e.i(618566);function l(e,a){switch(a.type){case"PUSH":if(e.history[e.history.length-1]===a.path)return e;if(e.history.length>=2&&e.history[e.history.length-2]===a.path)return{history:e.history.slice(0,-1)};return{history:[...e.history,a.path]};case"POP":return{history:e.history.slice(0,-1)};case"CLEAR":return{history:[]};default:return e}}e.s(["useNavigationHistory",0,function(){let e=(0,s.usePathname)(),[t,i]=(0,a.useReducer)(l,{history:[]}),o=(0,a.useCallback)(()=>{e&&i({type:"PUSH",path:e})},[e]),r=(0,a.useCallback)(e=>{i({type:"PUSH",path:e})},[]),n=(0,a.useCallback)(()=>{i({type:"POP"})},[]),d=(0,a.useCallback)(()=>{i({type:"CLEAR"})},[]),c=(0,a.useCallback)(()=>t.history.length<2?null:t.history[t.history.length-2],[t.history]),u=t.history.length>=2;return(0,a.useMemo)(()=>({history:t.history,pushCurrentPath:o,push:r,pop:n,clear:d,getPreviousPath:c,hasPreviousPath:u}),[t.history,o,r,n,d,c,u])}],921057),e.s(["useCarouselNav",0,function(e){let[s,l]=(0,a.useState)(!1),[t,i]=(0,a.useState)(!1),[o,r]=(0,a.useState)(0),n=(0,a.useCallback)(()=>e?.scrollPrev(),[e]),d=(0,a.useCallback)(()=>e?.scrollNext(),[e]);return(0,a.useEffect)(()=>
2{if(!e)return;let a=()=>{l(!e.canScrollPrev()),i(!e.canScrollNext()),r(e.selectedScrollSnap())};return a(),e.on("select",a).on("reInit",a),()=>{e.off("select",a).off("reInit",a)}},[e]),{scrollPrev:n,scrollNext:d,prevBtnDisabled:s,nextBtnDisabled:t,selectedIndex:o}}],527298),e.s([],54829)},944246,e=>{"use strict";let a="midi_reg_payment_type";e.s(["clearRegPaymentType",0,function(){try{window.localStorage.removeItem(a)}catch{}},"getRegPaymentType",0,function(){try{let e=window.localStorage.getItem(a);return"insurance"===e||"self-pay"===e?e:null}catch{return null}},"setRegPaymentType",0,function(e){try{window.localStorage.setItem(a,e)}catch{}}])},36905,e=>{e.q("/_next/static/media/insurance-logos.2flkbxt-zch8m.png")},496449,e=>{e.q("/_next/static/media/covered-by-insurance-phone.0b9kj_kneuqwf.jpg")},199715,e=>{e.q("/_next/static/media/expert-led-care.0qwfj2-wk52n6.jpg")},977496,e=>{e.q("/_next/static/media/journey-mobile.1hlbrv1yc72h4.jpg")},317095,e=>{e.q("/_next/static/media/journey.2ho7l_j1uhl2f.jpg")},917544,e=>{e.q("/_next/static/media/personalized-treatments.405d1rg-aexgz.jpg")},903582,e=>{e.q("/_next/static/media/hero-stat.36-r_-uulmevo.webp")},884298,e=>{e.v({"accordion-item":"AccordionItem-module-scss-module__Xpia4W__accordion-item",closed:"AccordionItem-module-scss-module__Xpia4W__closed",content:"AccordionItem-module-scss-module__Xpia4W__content",indicator:"AccordionItem-module-scss-module__Xpia4W__indicator",open:"AccordionItem-module-scss-module__Xpia4W__open",step:"AccordionItem-module-scss-module__Xpia4W__step","stepper-vertical-line":"AccordionItem-module-scss-module__Xpia4W__stepper-vertical-line",thumbnail:"AccordionItem-module-scss-module__Xpia4W__thumbnail",trigger:"AccordionItem-module-scss-module__Xpia4W__trigger","vertical-line":"AccordionItem-module-scss-module__Xpia4W__vertical-line"})},735404,e=>{"use strict";var a=e.i(843476),s=e.i(572226),l=e.i(884298),t=e.i(271645),i=e.i(207670);e.s(["AccordionItem",0,({itemTitle:e,itemContent:o,itemThumbnail:r,isStepper:n=!1,step:d,triggerButtonClassName:c,itemClassName:u,contentClassName:m,useVerticalLine:_=!1,defaultOpen:p=!1})=>{let h=(0,t.useId)(),[f,g]=(0,t.useState)(p),v=`${h}-region`,x=`${h}-trigger`,b=(0,t.useRef)(null);return(0,t.useEffect)(()=>{let e=b.current;e&&(f?e.style.maxHeight=`${e.scrollHeight}px`:e.style.maxHeight="0px")},[f]),(0,a.jsxs)("div",{className:(0,i.default)([l.default["accordion-item"],u]),children:[!!(n&&d)&&(0,a.jsx)("div",{className:l.default["stepper-vertical-line"]}),_&&(0,a.jsx)("div",{className:l.default["vertical-line"]}),(0,a.jsxs)("button",{className:(0,i.default)([l.default.trigger,c]),id:x,"aria-expanded":f,"aria-controls":v,onClick:()=>g(!f),children:[r&&(0,a.jsx)("div",{className:(0,i.default)([l.default.thumbnail]),children:r}),n&&d&&(0,a.jsx)("div",{className:l.default.step,children:d}),e,(0,a.jsxs)("div",{className:l.default.indicator,children:[f&&(0,a.jsx)(s.MinusIcon,{height:30,width:30}),!f&&(0,a.jsx)(s.PlusIcon,{height:30,width:30})]})]}),(0,a.jsx)("div",{className:(0,i.default)(l.default.content,m,f?l.default.open:l.default.closed),ref:b,id:v,role:"region","aria-labelledby":x,"aria-hidden":!f,children:o})]})}])},404916,e=>{e.v({bounded:"Bounded-module-scss-module__c1zK5q__bounded",section:"Bounded-module-scss-module__c1zK5q__section"})},747357,228986,e=>{"use strict";var a=e.i(843476),s=e.i(207670),l=e.i(404916);let t={pink:"module-theme-pink",cream:"module-theme-light","dark blue":"module-theme-dark-blue","light blue":"module-theme-light-blue","dark brown":"module-theme-dark-brown",orange:"module-theme-orange"},i=t.cream;e.s(["DEFAULT_THEME",0,i,"THEME",0,t],228986),e.s(["Bounded",0,({children:e,sectionClassName:o,boundedClassName:r,moduleTheme:n="cream",...d})=>{let c=t[n]||i;return(0,a.jsx)("section",{className:(0,s.default)([l.default.section,c,o]),"data-v1":"true",...d,children:(0,a.jsx)("div",{className:(0,s.default)([l.default.bounded,r]),children:e})})}],747357)},715828,e=>{e.v({caption:"Carousel-module-scss-module__npFJ1a__caption","carousel-image":"Carousel-module-scss-module__npFJ1a__carousel-image","carousel-trigger-buttons":"Carousel-module-scss-module__npFJ1a__
2carousel-trigger-buttons",container:"Carousel-module-scss-module__npFJ1a__container",embla:"Carousel-module-scss-module__npFJ1a__embla",embla__container:"Carousel-module-scss-module__npFJ1a__embla__container",embla__next:"Carousel-module-scss-module__npFJ1a__embla__next",embla__prev:"Carousel-module-scss-module__npFJ1a__embla__prev",embla__slide:"Carousel-module-scss-module__npFJ1a__embla__slide","modal-image":"Carousel-module-scss-module__npFJ1a__modal-image","modal-image-container":"Carousel-module-scss-module__npFJ1a__modal-image-container","open-modal-button":"Carousel-module-scss-module__npFJ1a__open-modal-button","slide-image":"Carousel-module-scss-module__npFJ1a__slide-image","text-stack":"Carousel-module-scss-module__npFJ1a__text-stack"})},601519,e=>{"use strict";var a=e.i(843476),s=e.i(572226),l=e.i(715828),t=e.i(657688),i=e.i(130013);e.i(54829);var o=e.i(527298),r=e.i(342935),n=e.i(831884),d=e.i(522016),c=e.i(207670),u=e.i(219160),m=e.i(507789),_=e.i(214261);function p(e){return e.replace(/[^a-zA-Z0-9\s]/g,"").trim().toLowerCase().replace(/\s+/g,"-")}e.s(["Carousel",0,({isHero:e=!1,ctaAboveFold:h=!1,eyebrow:f,headline:g,subheading:v,hasPrimaryCTAs:x=!1,carouselCards:b,carouselCardsFromPrismic:y,sliceType:C})=>{let[N,j]=(0,i.default)({loop:!0,align:"start"}),w=x?"primary":"secondary",{scrollPrev:A,scrollNext:k,prevBtnDisabled:S,nextBtnDisabled:P}=(0,o.useCarouselNav)(j);return(0,a.jsx)("div",{className:(0,c.default)([l.default.container,h?"cta-above-fold":""]),children:(0,a.jsxs)("div",{className:l.default["main-content"],children:[(0,a.jsx)("div",{className:l.default["text-stack"],children:(0,a.jsx)(n.StackedText,{eyebrow:f,headline:g,subheading:v})}),(0,a.jsxs)("div",{className:l.default.embla,children:[(0,a.jsx)("div",{className:l.default.embla__viewport,ref:N,children:(0,a.jsxs)("div",{className:l.default.embla__container,children:[b&&b.map((e,i)=>{let o=!!(e.ctaLabel&&e.ctaUrl),n=!!(e.modalBodyParagraph||e.modalBodyList),u=`cta-carousel-${p(e.title)}`;return(0,a.jsxs)("div",{className:l.default.embla__slide,children:[(0,a.jsxs)("div",{className:l.default["slide-image"],children:[(0,a.jsx)(t.default,{src:e.imageSrc,width:285,height:381,alt:e.altText,className:l.default["carousel-image"]}),n&&(0,a.jsxs)(r.default,{children:[(0,a.jsx)(r.default.Button,{asChild:!0,children:(0,a.jsx)("button",{"aria-label":"open modal",className:l.default["open-modal-button"],children:(0,a.jsx)(s.PlusIcon,{height:30,width:30})})}),(0,a.jsx)(r.default.Content,{title:(0,a.jsx)("h2",{className:"midi-h3",children:e.title}),description:(0,a.jsxs)(a.Fragment,{children:[e.modalBodyParagraph&&(0,a.jsx)("p",{children:e.modalBodyParagraph}),e.modalBodyList?.length>0&&(0,a.jsx)("ul",{children:e.modalBodyList.map((e,s)=>(0,a.jsx)("li",{children:e},s))})]}),cta:o?(0,a.jsx)(d.default,{className:(0,c.default)(["cta",`${w}-cta`,u]),href:e.ctaUrl,children:e.ctaLabel}):void 0,image:(0,a.jsx)("div",{className:l.default["modal-image-container"],children:(0,a.jsx)(t.default,{src:e.imageSrc,width:285,height:390,alt:e.altText,className:l.default["modal-image"]})})})]})]}),(0,a.jsx)("div",{className:l.default.caption,children:(0,a.jsx)("p",{className:"body-text-x-large",children:e.title})}),o&&(0,a.jsx)(d.default,{href:e.ctaUrl,className:(0,c.default)(["cta",`${w}-cta`,u]),children:e.ctaLabel})]},i)}),y&&y.map((t,i)=>{let o=!!t.cta_label,n=t.cta_midi_app_url,d=t.cta_midi_app_url_param_value,h=t.card_title?`cta-carousel-${p(t.card_title)}`:void 0,f=t.modal_heading.length>0&&t.modal_body.length>0;return(0,a.jsxs)("div",{className:l.default.embla__slide,children:[(0,a.jsxs)("div",{className:l.default["slide-image"],children:[(0,a.jsx)(u.PrismicNextImage,{priority:e,fallbackAlt:"",className:(0,c.default)([l.default["carousel-image"],f?l.default["card-with-modal"]:l.default["card-without-modal"]]),field:t.image}),f&&(0,a.jsxs)(r.default,{children:[(0,a.jsx)(r.default.Button,{asChild:!0,children:(0,a.jsx)("button",{className:l.default["open-modal-button"],children:(0,a.jsx)(s.PlusIcon,{height:30,width:30})})}),(0,a.jsx)(r.default.Content,{title:(0,a.jsx)(m.PrismicRichText,{field:t.modal_heading}),description:(0,a.jsx)(m.PrismicRichText,{field:t.modal_body}),cta:o?(0,a.jsx)(_.CtaFromPrismic,{ctaType:w,sliceType:C,midiAppPage:n,midiAppPageParamValue:d,field:t.cta_link,className:h,children:t.cta_label}):void 0,image:(0,a.jsx)("div",{className:l.default["modal-image-container"],children:(0,a.jsx)(u.PrismicNextImage,{fallbackAlt:"",className:l.default["modal-image"],field:t.image})})})]})]}),(0,a.jsx)("div",{className:l.default.caption,children:(0,a.jsx)("p",{className:"body-text-x-large",children:t.card_title})}),o?(0,a.jsx)(_.CtaFromPrismic,{ctaType:w,sliceType:C,midiAppPage:n,midiAppPageParamValue:d,field:t.cta_link,className:h,children:t.cta_label}):void 0]},i)})]})}),(0,a.jsx)("div",{className:l.default["carousel-trigger-buttons"],children:(!S||!P)&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("button",{"aria-label":"go to previous slide in carousel",disabled:S,className:l.default.embla__prev,onClick:A,children:(0,a.jsx)(s.ChevronLeftIcon,{})}),(0,a.jsx)("button",{"aria-label":"go to next slide in carousel",disabled:P,className:l.default.embla__next,onClick:k,children:(0,a.jsx)(s.ChevronRightIcon,{})})]})})]})]})})}],601519)},771121,e=>{e.v({caption:"CarouselOfBlogPosts-module-scss-module__NrTWna__caption","carousel-trigger-buttons":"CarouselOfBlogPosts-module-scss-module__NrTWna__carousel-trigger-buttons",container:"CarouselOfBlogPosts-module-scss-module__NrTWna__container","cta-container":"CarouselOfBlogPosts-module-scss-module__NrTWna__cta-container","desktop-cta":"CarouselOfBlogPosts-module-scss-module__NrTWna__desktop-cta",embla:"CarouselOfBlogPosts-module-scss-module__NrTWna__embla",embla__container:"CarouselOfBlogPosts-module-scss-module__NrTWna__embla__container",embla__next:"CarouselOfBlogPosts-module-scss-module__NrTWna__embla__next",embla__prev:"CarouselOfBlogPosts-module-scss-module__NrTWna__embla__prev",embla__slide:"CarouselOfBlogPosts-module-scss-module__NrTWna__embla__slide","mobile-cta":"CarouselOfBlogPosts-module-scss-module__NrTWna__mobile-cta","slide-image":"CarouselOfBlogPosts-module-scss-module__NrTWna__slide-image","text-stack":"CarouselOfBlogPosts-module-scss-module__NrTWna__text-stack"})},340572,e=>{"use strict";var a=e.i(843476),s=e.i(572226),l=e.i(771121),t=e.i(130013);e.i(54829);var i=e.i(527298),o=e.i(831884),r=e.i(522016),n=e.i(207670);
2e.s(["CarouselOfBlogPosts",0,({eyebrow:e,headline:d,subheading:c,carouselCards:u})=>{let[m,_]=(0,t.default)({loop:!0,align:"start"}),{scrollPrev:p,scrollNext:h,prevBtnDisabled:f,nextBtnDisabled:g}=(0,i.useCarouselNav)(_);return(0,a.jsx)("div",{className:l.default.container,children:(0,a.jsxs)("div",{className:l.default["main-content"],children:[(0,a.jsxs)("div",{className:l.default["text-stack"],children:[(0,a.jsx)(o.StackedText,{eyebrow:e,headline:d,subheading:c}),(0,a.jsx)("div",{className:l.default["cta-container"],children:(0,a.jsx)(r.default,{href:"/blog",className:(0,n.default)(["cta","primary-cta",l.default["desktop-cta"]]),children:"Read Midi Mag"})})]}),(0,a.jsxs)("div",{className:l.default.embla,children:[(0,a.jsx)("div",{className:l.default.embla__viewport,ref:m,children:(0,a.jsx)("div",{className:l.default.embla__container,children:u.map(e=>(0,a.jsx)("div",{className:l.default.embla__slide,children:(0,a.jsx)("div",{className:l.default["slide-image"],children:e.card})},e.id))})}),(0,a.jsx)("div",{className:l.default["carousel-trigger-buttons"],children:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("button",{"aria-label":"go to previous slide in carousel",disabled:f,className:l.default.embla__prev,onClick:p,children:(0,a.jsx)(s.ChevronLeftIcon,{})}),(0,a.jsx)("button",{"aria-label":"go to next slide in carousel",disabled:g,className:l.default.embla__next,onClick:h,children:(0,a.jsx)(s.ChevronRightIcon,{})})]})}),(0,a.jsx)(r.default,{href:"/blog",className:(0,n.default)(["cta","primary-cta",l.default["mobile-cta"]]),children:"Read More"})]})]})})}])},828460,e=>{e.v({caption:"ClinicianDropdownWithCarousel-module-scss-module__d79GYa__caption","clinician-name":"ClinicianDropdownWithCarousel-module-scss-module__d79GYa__clinician-name",clinicians:"ClinicianDropdownWithCarousel-module-scss-module__d79GYa__clinicians","combobox-container":"ClinicianDropdownWithCarousel-module-scss-module__d79GYa__combobox-container",details:"ClinicianDropdownWithCarousel-module-scss-module__d79GYa__details",input:"ClinicianDropdownWithCarousel-module-scss-module__d79GYa__input","input-container":"ClinicianDropdownWithCarousel-module-scss-module__d79GYa__input-container",option:"ClinicianDropdownWithCarousel-module-scss-module__d79GYa__option",options:"ClinicianDropdownWithCarousel-module-scss-module__d79GYa__options","search-icon":"ClinicianDropdownWithCarousel-module-scss-module__d79GYa__search-icon","text-stack":"ClinicianDropdownWithCarousel-module-scss-module__d79GYa__text-stack"})},528528,e=>{"use strict";var a=e.i(843476),s=e.i(828460),l=e.i(762630),t=e.i(639100),i=e.i(207670),o=e.i(271645),r=e.i(831884),n=e.i(691586),d=e.i(618566),c=e.i(264951);e.s(["ClinicianDropdownWithCarousel",0,({clinicianList:e,testimonialCards:u})=>{let[m,_]=(0,o.useState)(null),[p,h]=(0,o.useState)(""),f=(0,d.useRouter)(),g=""===p?[]:e.filter(e=>e.name.toLowerCase().includes(p.toLowerCase()));return(0,o.useEffect)(()=>{if(m){let e=m.uid;f.push(`team/${e}`)}},[m,f]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:s.default["text-stack"],children:(0,a.jsx)(r.StackedText,{eyebrow:"WE SPECIALIZE IN YOU",headline:(0,a.jsx)("h2",{children:"Extensive Experience. Constant Evolution."}),subheading:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("p",{children:"Our clinicians are women’s health experts, passionate about helping you navigate the midlife journey. And every Midi clinician takes part in our ongoing clinical education program. You’re always evolving. So are we."}),(0,a.jsx)("p",{children:(0,a.jsx)("strong",{children:"Already have a Midi Clinician? Type their first or last name to see a bio."})})]})})}),(0,a.jsx)("div",{className:s.default["combobox-container"],children:(0,a.jsx)(t.Field,{children:(0,a.jsxs)(l.Combobox,{as:"div",value:m,onChange:e=>_(e),onClose:()=>h(""),children:[(0,a.jsxs)("div",{className:s.default["input-container"],children:[(0,a.jsx)("div",{className:s.default["search-icon"],children:(0,a.jsx)(n.SearchIcon,{})}),(0,a.jsx)(l.ComboboxInput,{"aria-label":"Find your clinician",placeholder:"Find your clinician",className:(0,i.default)(["body-copy",
2s.default.input]),displayValue:e=>e?.name,onChange:e=>h(e.target.value)})]}),(0,a.jsx)(l.ComboboxOptions,{anchor:"bottom start",as:"ul",transition:!0,className:(0,i.default)(["shadow",s.default.options]),children:g.map(e=>(0,a.jsx)(l.ComboboxOption,{as:"li",value:e,className:s.default.option,children:(0,a.jsx)("div",{className:(0,i.default)(["body-copy",s.default["clinician-name"]]),children:e.name})},e.uid))})]})})}),(0,a.jsx)(c.TestimonialsCarousel,{testimonialsFromPrismic:u})]})}])},214261,e=>{"use strict";var a=e.i(843476),s=e.i(207670),l=e.i(219160),t=e.i(145694),i=e.i(331966),o=e.i(207199);e.s(["CtaFromPrismic",0,({midiAppPage:e,midiAppPageParamValue:r,ctaType:n="primary",sliceType:d,className:c,field:u,children:m,icon:_})=>{let p=(0,o.useActiveExperiments)();return(0,a.jsx)(a.Fragment,{children:e?(0,a.jsx)(t.CtaMidiAppLink,{className:c,midiAppPage:e,midiAppPageParamValue:r,ctaType:n,sliceType:d,icon:_,children:m}):(0,a.jsx)(l.PrismicNextLink,{field:u,className:(0,s.default)(["cta","primary"===n?"primary-cta":"secondary-cta",c]),onClick:()=>(0,i.trackEvent)("Informational CTA Click",{cta_type:n,slice_type:d,active_experiments:p}),children:m})})}])},145694,e=>{"use strict";var a=e.i(843476),s=e.i(207670),l=e.i(522016),t=e.i(376564),i=e.i(88864),o=e.i(331966),r=e.i(207199);e.s(["CtaMidiAppLink",0,({midiAppPage:e,midiAppPageParamValue:n,ctaType:d="primary",analyticsCtaType:c,sliceType:u,className:m,children:_,icon:p,onClick:h})=>{let f=(0,r.useActiveExperiments)();if(!t.midiAppUrls[e])return null;let g=`${t.midiAppUrls[e]}${n||""}`,v=c??d,x=()=>{(0,t.isMidiAppConversionKey)(e)?((0,o.trackEvent)("CTA Click",{cta_type:v,slice_type:u,destination_url:g,active_experiments:f}),(0,i.logStatsigEvent)("cta_click",{cta_type:v,destination_url:g,source_page:window.location.pathname})):(0,o.trackEvent)("Informational CTA Click",{cta_type:v,slice_type:u,destination_url:g,active_experiments:f})},b=e=>{h?.(e)};return"inline"===d?(0,a.jsx)(l.default,{className:(0,s.default)(["inline-link",m]),href:g,onPointerDown:x,onClick:b,children:_}):(0,a.jsxs)(l.default,{className:(0,s.default)({primary:"cta primary-cta",secondary:"cta secondary-cta",navbar:"cta primary-cta"}[d],m),href:g,onPointerDown:x,onClick:b,children:[p&&p,_]})}])},592968,e=>{e.v({button:"LottieImage-module-scss-module__UZzlza__button",canvas:"LottieImage-module-scss-module__UZzlza__canvas",media:"LottieImage-module-scss-module__UZzlza__media",wrapper:"LottieImage-module-scss-module__UZzlza__wrapper"})},722962,e=>{"use strict";var a=e.i(843476),s=e.i(271645),l=e.i(770703),t=e.i(219160),i=e.i(539500),o=e.i(207670),r=e.i(592968);let n=(0,l.default)(()=>e.A(423092).then(e=>e.DotLottieReact),{loadableGenerated:{modules:[918463]},ssr:!1});function d(e){let a=(0,s.useCallback)(a=>{let s=window.matchMedia(e);return s.addEventListener("change",a),()=>s.removeEventListener("change",a)},[e]);return(0,s.useSyncExternalStore)(a,()=>window.matchMedia(e).matches,()=>!1)}function c({src:e,fallbackImage:l,trigger:u="autoplay",play:m,loop:_=!0,disableOnMobile:p=!1,mobileBreakpointPx:h=800,ariaLabel:f,fit:g="contain",align:v,className:x}){let[b,y]=(0,s.useState)(!1),[C,N]=(0,s.useState)(!1),[j,w]=(0,s.useState)(null),A=(0,s.useRef)(null),k=(0,s.useSyncExternalStore)(()=>()=>{},()=>!0,()=>!1),S=d("(prefers-reduced-motion: reduce)"),P=d(`(max-width: ${h-1}px)`);(0,s.useEffect)(()=>{if(!j)return;let e=()=>y(!0);return j.addEventListener("loadError",e),()=>j.removeEventListener("loadError",e)},[j]),(0,s.useEffect)(()=>{if("click"!==u||!j)return;let e=()=>N(!0),a=()=>N(!1);return j.addEventListener("play",e),j.addEventListener("pause",a),()=>{j.removeEventListener("play",e),j.removeEventListener("pause",a)}},[u,j]);let I=void 0!==m;if((0,s.useEffect)(()=>{if(!I||!j)return;if(!m)return void j.pause();let e=()=>{j.setFrame(0),j.play()};return j.isLoaded?void e():(j.addEventListener("load",e),()=>j.removeEventListener("load",e))},[I,m,j]),(0,s.useEffect)(()=>{if("viewport"!==u||!j||!A.current)return;let e=A.current,a=new IntersectionObserver(([e])=>{e.isIntersecting?j.play():j.pause()},{threshold:.25}
2);return a.observe(e),()=>a.disconnect()},[u,j]),!k||b||!e||S||p&&P)return i.isFilled.image(l)?(0,a.jsx)(t.PrismicNextImage,{field:l,className:(0,o.default)(r.default.media,x)}):null;let M="hover"===u?()=>j?.play():void 0,T="hover"===u?()=>j?.pause():void 0,E=Math.min(window.devicePixelRatio||1,2),W=(0,a.jsx)(n,{src:e,autoplay:"autoplay"===u&&!I,loop:_,layout:{fit:g,align:v??[.5,.5]},renderConfig:{autoResize:!0,devicePixelRatio:E},dotLottieRefCallback:w,onMouseEnter:M,onMouseLeave:T,role:"click"===u?void 0:"img","aria-label":"click"===u?void 0:f,"aria-hidden":"click"===u||void 0,className:r.default.canvas});return"click"===u?(0,a.jsx)("button",{type:"button","aria-pressed":C,"aria-label":f??"Play or pause animation",onClick:()=>{j&&(j.isPlaying?j.pause():j.play())},className:(0,o.default)(r.default.wrapper,r.default.button,x),children:W}):(0,a.jsx)("div",{ref:A,className:(0,o.default)(r.default.wrapper,x),children:W})}e.s(["LottieImage",0,c,"default",0,c])},941047,e=>{e.v({Button:"Modal-module-scss-module__nl_HbW__Button",content:"Modal-module-scss-module__nl_HbW__content","dialog-content":"Modal-module-scss-module__nl_HbW__dialog-content","dialog-description":"Modal-module-scss-module__nl_HbW__dialog-description","dialog-overlay":"Modal-module-scss-module__nl_HbW__dialog-overlay","dialog-title":"Modal-module-scss-module__nl_HbW__dialog-title","icon-button":"Modal-module-scss-module__nl_HbW__icon-button","text-content":"Modal-module-scss-module__nl_HbW__text-content"})},342935,e=>{"use strict";var a=e.i(843476),s=e.i(326999),l=e.i(941047),t=e.i(691586),i=e.i(207670);function o({open:e,onOpenChange:l,children:t}){return(0,a.jsx)(s.Root,{open:e,onOpenChange:l,children:t})}o.Button=s.Trigger,o.Close=s.Close,o.Content=function({title:e,description:o,image:r,cta:n}){let d=!!e||!!o||!!n;return(0,a.jsxs)(s.Portal,{children:[(0,a.jsx)(s.Overlay,{className:l.default["dialog-overlay"]}),(0,a.jsx)(s.Content,{className:(0,i.default)(l.default["dialog-content"],"module-theme-light"),"data-v1":"true",children:(0,a.jsxs)("div",{className:l.default.content,children:[r,d&&(0,a.jsxs)("div",{className:l.default["text-content"],children:[e&&(0,a.jsx)("div",{className:l.default["dialog-title"],children:e}),o&&(0,a.jsx)("div",{className:l.default["dialog-description"],children:o}),n&&n]}),(0,a.jsx)(s.Close,{className:l.default["icon-button"],children:(0,a.jsx)(t.Cross,{})})]})})]})},e.s(["default",0,o])},116759,e=>{"use strict";var a=e.i(843476);e.s(["labelPrismicComponent",0,{label:({node:e,children:s})=>{let l=`${e.data.label}`;return"superscript"===e.data.label?(0,a.jsx)("sup",{className:l,children:s}):(0,a.jsx)("span",{className:l,children:s})}}])},617051,e=>{e.v({"carousel-controls":"ProductCarousel-module-scss-module__uDiiZq__carousel-controls","carousel-image":"ProductCarousel-module-scss-module__uDiiZq__carousel-image",container:"ProductCarousel-module-scss-module__uDiiZq__container",embla:"ProductCarousel-module-scss-module__uDiiZq__embla",embla__container:"ProductCarousel-module-scss-module__uDiiZq__embla__container",embla__next:"ProductCarousel-module-scss-module__uDiiZq__embla__next",embla__prev:"ProductCarousel-module-scss-module__uDiiZq__embla__prev",embla__slide:"ProductCarousel-module-scss-module__uDiiZq__embla__slide",embla__viewport:"ProductCarousel-module-scss-module__uDiiZq__embla__viewport","pagination-dot":"ProductCarousel-module-scss-module__uDiiZq__pagination-dot","pagination-dot--active":"ProductCarousel-module-scss-module__uDiiZq__pagination-dot--active","pagination-dots":"ProductCarousel-module-scss-module__uDiiZq__pagination-dots",thumbnail:"ProductCarousel-module-scss-module__uDiiZq__thumbnail","thumbnail--active":"ProductCarousel-module-scss-module__uDiiZq__thumbnail--active","thumbnail-image":"ProductCarousel-module-scss-module__uDiiZq__thumbnail-image","thumbnail-navigation":"ProductCarousel-module-scss-module__uDiiZq__thumbnail-navigation",thumbnails:"ProductCarousel-module-scss-module__uDiiZq__thumbnails","thumbnails-viewport":"ProductCarousel-module-scss-module__uDiiZq__thumbnails-viewport"})},689859,e=>{"use strict";var a=e.i(843476),s=e.i(572226),l=e.i(617051),t=e.i(271645),i=e.i(130013),o=e.i(207670),r=e.i(219160);e.s(["ProductCarousel",0,({carouselCards:e})=>{let[n,d]=(0,i.default)({loop:!1,align:"start"}),[c,u]=(0,i.default)({loop:!1,align:"start",containScroll:"keepSnaps",dragFree:!0}),[m,_]=(0,t.useState)(!0),[p,h]=(0,t.useState)(!1),[f,g]=(0,t.useState)(0),v=(0,t.useCallback)(()=>{d&&d.scrollPrev()},[d]),x=(0,t.useCallback)(()=>{d&&d.scrollNext()},[d]),b=(0,t.useCallback)(e=>{d&&u&&(d.scrollTo(e),u.scrollTo(e))},[d,u]);return(0,t.useEffect)(()=>
2{if(!d)return;let e=()=>{_(!d.canScrollPrev()),h(!d.canScrollNext()),g(d.selectedScrollSnap())};return e(),d.on("select",e),()=>{d.off("select",e)}},[d]),(0,a.jsxs)("div",{className:l.default.container,children:[(0,a.jsxs)("div",{className:l.default.embla,children:[(0,a.jsx)("div",{className:l.default.embla__viewport,ref:n,children:(0,a.jsx)("div",{className:l.default.embla__container,children:e.map((e,s)=>(0,a.jsx)("div",{className:l.default.embla__slide,children:(0,a.jsx)(r.PrismicNextImage,{preload:0===s,fallbackAlt:"",className:l.default["carousel-image"],field:e.image})},s))})}),(0,a.jsxs)("div",{className:l.default["carousel-controls"],children:[(0,a.jsx)("button",{"aria-label":"go to previous slide",disabled:m,className:l.default.embla__prev,onClick:v,children:(0,a.jsx)(s.ChevronLeftIcon,{})}),(0,a.jsx)("button",{"aria-label":"go to next slide",disabled:p,className:l.default.embla__next,onClick:x,children:(0,a.jsx)(s.ChevronRightIcon,{})})]}),(0,a.jsx)("div",{className:l.default["pagination-dots"],children:e.map((e,s)=>(0,a.jsx)("button",{className:(0,o.default)([l.default["pagination-dot"],f===s&&l.default["pagination-dot--active"]]),onClick:()=>b(s),"aria-label":"Go to next slide"},s))})]}),(0,a.jsx)("div",{className:l.default["thumbnail-navigation"],children:(0,a.jsx)("div",{className:l.default["thumbnails-viewport"],ref:c,children:(0,a.jsx)("div",{className:l.default.thumbnails,children:e.map((e,s)=>(0,a.jsx)("button",{className:(0,o.default)([l.default.thumbnail,f===s&&l.default["thumbnail--active"]]),onClick:()=>b(s),"aria-label":`Go to slide ${s+1}`,children:(0,a.jsx)(r.PrismicNextImage,{fallbackAlt:"",className:l.default["thumbnail-image"],field:e.image})},s))})})})]})}])},774238,e=>{e.v({hide:"RevolvingHeading-module-scss-module__nUwuUW__hide",revolving:"RevolvingHeading-module-scss-module__nUwuUW__revolving",show:"RevolvingHeading-module-scss-module__nUwuUW__show",word:"RevolvingHeading-module-scss-module__nUwuUW__word"})},359006,e=>{"use strict";var a=e.i(843476),s=e.i(271645),l=e.i(774238),t=e.i(207670);let i=["Menopause","Perimenopause","Sexual Wellness","Weight","Sleep","Cancer & Survivorship","Mood & Memory","Hair & Skin"];e.s(["RevolvingHeading",0,()=>
2{let[e,o]=(0,s.useState)(0);return(0,s.useEffect)(()=>{let e=0,a=i.length,s=setInterval(()=>{let s=(e+=1)%a;o(()=>s)},2e3);return()=>clearInterval(s)},[]),(0,a.jsxs)("h1",{children:["Trusted Expert",(0,a.jsx)("br",{}),"Care for",(0,a.jsx)("div",{className:l.default.revolving,children:i.map((s,i)=>(0,a.jsx)("div",{className:(0,t.default)([l.default.word,e===i?l.default.show:l.default.hide]),children:s},i))})]})}])},710746,e=>{e.v({"cta-container":"StackedText-module-scss-module__CUcQua__cta-container",subheading:"StackedText-module-scss-module__CUcQua__subheading"})},831884,e=>{"use strict";var a=e.i(843476),s=e.i(710746);e.s(["StackedText",0,({eyebrow:e,headline:l,subheading:t,cta:i})=>(0,a.jsxs)("div",{children:[e&&(0,a.jsx)("div",{className:"eyebrow",children:e}),l&&l,t&&(0,a.jsx)("div",{className:s.default.subheading,children:t}),i&&(0,a.jsx)("div",{className:s.default["cta-container"],children:i})]})])},180338,e=>{e.v({avatar:"TestimonialCard-module-scss-module__6IZx0G__avatar","avatar-container":"TestimonialCard-module-scss-module__6IZx0G__avatar-container","background-image":"TestimonialCard-module-scss-module__6IZx0G__background-image","card-container":"TestimonialCard-module-scss-module__6IZx0G__card-container","color-card-container":"TestimonialCard-module-scss-module__6IZx0G__color-card-container","iframe-container":"TestimonialCard-module-scss-module__6IZx0G__iframe-container","media-container":"TestimonialCard-module-scss-module__6IZx0G__media-container",name:"TestimonialCard-module-scss-module__6IZx0G__name","quote-icon":"TestimonialCard-module-scss-module__6IZx0G__quote-icon",testimonial:"TestimonialCard-module-scss-module__6IZx0G__testimonial",video:"TestimonialCard-module-scss-module__6IZx0G__video","video-card":"TestimonialCard-module-scss-module__6IZx0G__video-card"})},987236,e=>{"use strict";var a=e.i(843476),s=e.i(657688),l=e.i(180338),t=e.i(691586);e.s(["TestimonialCard",0,({testimonial:e,avatarImgSrc:i,videoSrc:o,firstName:r,lastName:n,styleClassName:d})=>{let c=!o,u=e.length>73?"long-quote":"short-quote";return(0,a.jsx)(a.Fragment,{children:(0,a.jsx)("div",{className:l.default["card-container"],children:c?(0,a.jsxs)("div",{className:l.default["color-card-container"],children:[(0,a.jsxs)("div",{className:l.default.testimonial,children:[(0,a.jsx)("div",{className:l.default["quote-icon"],children:(0,a.jsx)(t.BlackQuoteIcon,{})}),(0,a.jsx)("p",{className:u,children:e}),(0,a.jsxs)("div",{className:l.default["avatar-container"],children:[i&&(0,a.jsx)(s.default,{src:i,width:50,height:50,alt:"avatar image",className:l.default.avatar}),r&&n&&(0,a.jsxs)("p",{className:l.default.name,children:["- ",r," ",n[0],"."]})]})]}),(0,a.jsx)("div",{className:d||""})]}):(0,a.jsx)("div",{className:l.default["video-card"],children:(0,a.jsx)("div",{className:l.default["media-container"],children:o&&(0,a.jsx)("div",{className:l.default["iframe-container"],children:(0,a.jsx)("iframe",{className:l.default.video,src:o,title:"video of testimonial",loading:"lazy"})})})})})})}])},921039,e=>{e.v({"avatar-container":"TestimonialCardFromPrismic-module-scss-module__dCSVZW__avatar-container","card-container":"TestimonialCardFromPrismic-module-scss-module__dCSVZW__card-container","color-card-container":"TestimonialCardFromPrismic-module-scss-module__dCSVZW__color-card-container","iframe-container":"TestimonialCardFromPrismic-module-scss-module__dCSVZW__iframe-container","media-container":"TestimonialCardFromPrismic-module-scss-module__dCSVZW__media-container",name:"TestimonialCardFromPrismic-module-scss-module__dCSVZW__name","quote-icon":"TestimonialCardFromPrismic-module-scss-module__dCSVZW__quote-icon",testimonial:"TestimonialCardFromPrismic-module-scss-module__dCSVZW__testimonial",video:"TestimonialCardFromPrismic-module-scss-module__dCSVZW__video","video-card":"TestimonialCardFromPrismic-module-scss-module__dCSVZW__video-card"})},200728,e=>{e.v({avatar:"TestimonialsCarousel-module-scss-module__ObOPrq__avatar","background-image":"TestimonialsCarousel-module-scss-module__ObOPrq__background-image","carousel-trigger-buttons":"TestimonialsCarou
2sel-module-scss-module__ObOPrq__carousel-trigger-buttons",container:"TestimonialsCarousel-module-scss-module__ObOPrq__container","cta-container":"TestimonialsCarousel-module-scss-module__ObOPrq__cta-container",embla:"TestimonialsCarousel-module-scss-module__ObOPrq__embla",embla__container:"TestimonialsCarousel-module-scss-module__ObOPrq__embla__container",embla__next:"TestimonialsCarousel-module-scss-module__ObOPrq__embla__next",embla__prev:"TestimonialsCarousel-module-scss-module__ObOPrq__embla__prev",embla__slide:"TestimonialsCarousel-module-scss-module__ObOPrq__embla__slide","text-stack":"TestimonialsCarousel-module-scss-module__ObOPrq__text-stack","text-stack-content":"TestimonialsCarousel-module-scss-module__ObOPrq__text-stack-content"})},264951,e=>{"use strict";var a=e.i(843476),s=e.i(572226),l=e.i(200728),t=e.i(130013);e.i(54829);var i=e.i(527298),o=e.i(831884),r=e.i(987236),n=e.i(691586),d=e.i(921039);let c=({testimonial:e="",avatarImg:s,videoSrc:l,firstName:t="",lastName:i="",styleClassName:o})=>{let r=!l,c=e&&e.length>73?"long-quote":"short-quote";return(0,a.jsx)(a.Fragment,{children:(0,a.jsx)("div",{className:d.default["card-container"],children:r?(0,a.jsxs)("div",{className:d.default["color-card-container"],children:[(0,a.jsxs)("div",{className:d.default.testimonial,children:[(0,a.jsx)("div",{className:d.default["quote-icon"],children:(0,a.jsx)(n.BlackQuoteIcon,{})}),(0,a.jsx)("p",{className:c,children:e}),s&&(0,a.jsxs)("div",{className:d.default["avatar-container"],children:[s,(t||i)&&(0,a.jsxs)("p",{className:d.default.name,children:["- ",t," ",i&&`${i[0]}.`]})]})]}),(0,a.jsx)("div",{className:o||""})]}):(0,a.jsx)("div",{className:d.default["video-card"],children:(0,a.jsx)("div",{className:d.default["media-container"],children:l&&(0,a.jsx)("div",{className:d.default["iframe-container"],children:(0,a.jsx)("iframe",{title:"video of testimonial",className:d.default.video,src:l,loading:"lazy"})})})})})})};var u=e.i(219160),m=e.i(207670);let _={brown:"testimonial-card-brown",pink:"testimonial-card-pink",orange:"testimonial-card-orange",blue:"testimonial-card-blue"};e.s(["TestimonialsCarousel",0,({className:e,eyebrow:n,headline:d,subheading:p,desktopCta:h,mobileCta:f,testimonialCardData:g,testimonialsFromPrismic:v})=>{let[x,b]=(0,t.default)({loop:!0,align:"start"}),{scrollPrev:y,scrollNext:C,prevBtnDisabled:N,nextBtnDisabled:j}=(0,i.useCarouselNav)(b);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:(0,m.default)(e,l.default["text-stack"]),children:(0,a.jsxs)("div",{className:l.default["text-stack-content"],children:[(0,a.jsx)(o.StackedText,{eyebrow:n,headline:d,subheading:p}),(0,a.jsx)("div",{className:l.default["cta-container"],children:h})]})}),(0,a.jsx)("div",{className:(0,m.default)(e,l.default.container),children:(0,a.jsx)("div",{className:l.default["main-content"],children:(0,a.jsxs)("div",{className:l.default.embla,children:[(0,a.jsx)("div",{className:l.default.embla__viewport,ref:x,children:(0,a.jsxs)("div",{className:l.default.embla__container,children:[g&&g.map((e,s)=>(0,a.jsx)("div",{className:l.default.embla__slide,children:(0,a.jsx)(r.TestimonialCard,{...e})},s)),v&&v.map((e,s)=>(0,a.jsx)("div",{className:l.default.embla__slide,children:(0,a.jsx)(c,{testimonial:e.testimonial,avatarImg:e.avatar_image?(0,a.jsx)(u.PrismicNextImage,{fallbackAlt:"",className:l.default.avatar,field:e.avatar_image}):void 0,videoSrc:e.video_url?.embed_url,firstName:e.first_name,lastName:e.last_name,styleClassName:_[e.card_color||"brown"]})},s))]})}),(0,a.jsxs)("div",{className:l.default["carousel-trigger-buttons"],children:[(0,a.jsx)("button",{"aria-label":"go to previous slide in carousel",disabled:N,className:l.default.embla__prev,onClick:y,children:(0,a.jsx)(s.ChevronLeftIcon,{})}),(0,a.jsx)("button",{"aria-label":"go to next slide in carousel",disabled:j,className:l.default.embla__next,onClick:C,children:(0,a.jsx)(s.ChevronRightIcon,{})})]}),f]})})})]})}],264951)},599162,e=>{e.v({card:"TopicExplorer-module-scss-module__7Zrtwq__card","card-image":"TopicExplorer-module-scss-module__7Zrtwq__card-image","card-image-tag":"TopicExplorer-module-scss-module__7Zrtwq__card-image-tag","card-link":"TopicExplorer-module-scss-module__7Zrtwq__card-link","card-overlay":"TopicExplorer-module-scss-module__7Zrtwq__card-overlay","card-subtitle":"TopicExplorer-module-scss-module__7Zrtwq__card-subtitle","card-subtitle-wrapper":"TopicExplorer-module-scss-module__7Zrtwq__card-subtitle-wrapper","card-title":"TopicExplorer-module-scss-module__7Zrtwq__card-title","cards-row":"TopicExplorer-module-scss-module__7Zrtwq__cards-row",content:"TopicExplorer-module-scss-module__7Zrtwq__content",ctas:"TopicExplorer-module-scss-module__7Zrtwq__ctas",eyebrow:"TopicExplorer-module-scss-module__7Zrtwq__eyebrow","help-link":"TopicExplorer-module-scss-module__7Zrtwq__help-link","help-link--mobile":"TopicExplorer-module-scss-module__7Zrtwq__help-link--mobile",layout:"TopicExplorer-module-scss-module__7Zrtwq__layout","nav-item":"TopicExplorer-module-scss-module__7Zrtwq__nav-item","nav-item--active":"TopicExplorer-module-scss-module__7Zrtwq__nav-item--active","nav-list":"TopicExplorer-module-scss-module__7Zrtwq__nav-list",paragraph:"TopicExplorer-module-scss-module__7Zrtwq__paragraph","paragraph-body":"TopicExplorer-module-scss-module__7Zrtwq__paragraph-body","paragraph-heading":"TopicExplorer-module-scss-module__7Zrtwq__paragraph-heading","paragraph-pair":"TopicExplorer-module-scss-module__7Zrtwq__paragraph-pair",pill:"TopicExplorer-module-scss-module__7Zrtwq__pill","pill--active":"TopicExplorer-module-scss-module__7Zrtwq__pill--active","pill-list":"TopicExplorer-module-scss-module__7Zrtwq__pill-list","pill-rail":"TopicExplorer-module-scss-module__7Zrtwq__pill-rail","section-heading":"TopicExplorer-module-scss-module__7Zrtwq__section-heading",sidebar:"TopicExplorer-module-scss-module__7Zrtwq__sidebar","stat-card":"TopicExplorer-module-scss-module__7Zrtwq__stat-card","stat-card-accent":"TopicExplorer-module-scss-module__7Zrtwq__stat-card-accent","stat-card-description":"TopicExplorer-module-scss-module__7Zrtwq__stat-card-description","stat-card-inner":"TopicExplorer-module-scss-module__7Zrtwq__stat-card-inner","stat-card-stat":"TopicExplorer-module-scss-module__7Zrtwq__stat-card-stat","stats-row":"TopicExplorer-module-scss-module__7Zrtwq__stats-row","topic-explorer":"TopicExplorer-module-scss-module__7Zrtwq__topic-explorer"})},170666,e=>{"use strict";var a=e.i(843476),s=e.i(271645),l=e.i(657688),t=e.i(522016),i=e.i(599162),o=e.i(207670),r=e.i(747357),n=e.i(145694),d=e.i(331966),c=e.i(207199);e.s(["TopicExplorer",0,({topics:e,eyebrow:u,helpLink:m,heading:_,mixpanelEventProperties:p={}})=>
2{let[h,f]=(0,s.useState)(e[0]?.id),[g,v]=(0,s.useState)(null),x=(0,c.useActiveExperiments)(),b=a=>{a!==h&&(0,d.trackEvent)("Topic Explorer - Topic Selected",{topic_id:a,topic_label:e.find(e=>e.id===a)?.label,active_experiments:x,...p}),f(a),v(null)},y=(e,a)=>{window.matchMedia("(hover: hover)").matches||g!==a&&(e.preventDefault(),v(a))},C=e.find(e=>e.id===h)??e[0];return C?(0,a.jsx)(r.Bounded,{sectionClassName:i.default.section,children:(0,a.jsxs)("div",{className:i.default["topic-explorer"],children:[_&&(0,a.jsx)("h2",{className:i.default["section-heading"],children:_}),(0,a.jsx)("nav",{className:i.default["pill-rail"],"aria-label":u??"Topics",children:(0,a.jsx)("ul",{className:i.default["pill-list"],children:e.map(e=>{let s=e.id===C.id;return(0,a.jsx)("li",{children:(0,a.jsx)("button",{type:"button",className:`${i.default.pill} ${s?i.default["pill--active"]:""}`,"aria-pressed":s,onClick:()=>b(e.id),children:e.label})},e.id)})})}),(0,a.jsxs)("div",{className:i.default.layout,children:[(0,a.jsxs)("aside",{className:i.default.sidebar,children:[u&&(0,a.jsx)("p",{className:i.default.eyebrow,children:u}),(0,a.jsx)("ul",{className:i.default["nav-list"],children:e.map(e=>{let s=e.id===C.id;return(0,a.jsx)("li",{children:(0,a.jsx)("button",{type:"button",className:`${i.default["nav-item"]} ${s?i.default["nav-item--active"]:""}`,"aria-pressed":s,onClick:()=>b(e.id),children:e.label})},e.id)})}),m&&(m.midiAppPage?(0,a.jsx)(n.CtaMidiAppLink,{midiAppPage:m.midiAppPage,ctaType:"inline",className:i.default["help-link"],sliceType:"topic_explorer_help",children:m.label}):(0,a.jsx)(t.default,{href:m.href??"/",className:i.default["help-link"],children:m.label}))]}),(0,a.jsxs)("div",{className:i.default.content,children:[C.stats&&C.stats.length>0&&(0,a.jsx)("div",{className:i.default["stats-row"],children:C.stats.map((e,s)=>(0,a.jsxs)("div",{className:i.default["stat-card"],children:[(0,a.jsxs)("div",{className:i.default["stat-card-inner"],children:[(0,a.jsx)("span",{className:i.default["stat-card-stat"],children:e.stat}),(0,a.jsx)("p",{className:i.default["stat-card-description"],children:e.description})]}),(0,a.jsx)("span",{className:i.default["stat-card-accent"],"aria-hidden":!0})]},s))}),C.paragraphPair&&(0,a.jsx)("div",{className:i.default["paragraph-pair"],children:C.paragraphPair.map((e,s)=>(0,a.jsxs)("div",{className:i.default.paragraph,children:[(0,a.jsx)("h3",{className:i.default["paragraph-heading"],children:e.heading}),(0,a.jsx)("p",{className:i.default["paragraph-body"],children:e.body})]},s))}),C.paragraphSummary&&(0,a.jsxs)("div",{className:i.default.paragraph,children:[(0,a.jsx)("h3",{className:i.default["paragraph-heading"],children:C.paragraphSummary.heading}),(0,a.jsx)("p",{className:i.default["paragraph-body"],children:C.paragraphSummary.body})]}),C.cards&&C.cards.length>0&&(0,a.jsx)("ul",{className:i.default["cards-row"],children:C.cards.map((e,s)=>{let o=(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:i.default["card-image"],children:e.imageSrc&&(0,a.jsx)(l.default,{src:e.imageSrc,alt:e.imageAlt??"",fill:!0,sizes:"(min-width: 1008px) 33vw, 200px",className:i.default["card-image-tag"]})}),(0,a.jsxs)("div",{className:i.default["card-overlay"],children:[(0,a.jsx)("p",{className:i.default["card-title"],children:e.title}),e.subtitle&&(0,a.jsx)("div",{className:i.default["card-subtitle-wrapper"],children:(0,a.jsx)("p",{className:i.default["card-subtitle"],children:e.subt
2itle})})]})]}),r=e.href?.startsWith("http"),d=g===s;return(0,a.jsx)("li",{className:i.default.card,"data-open":d?"true":void 0,children:e.midiAppPage?(0,a.jsx)(n.CtaMidiAppLink,{midiAppPage:e.midiAppPage,ctaType:"inline",className:i.default["card-link"],sliceType:"topic_explorer_card",onClick:e=>y(e,s),children:o}):(0,a.jsx)(t.default,{href:e.href??"#",className:i.default["card-link"],onClick:e=>y(e,s),...r&&{target:"_blank",rel:"noopener noreferrer"},children:o})},s)})}),(C.primaryCta||C.secondaryCta)&&(0,a.jsxs)("div",{className:i.default.ctas,children:[C.primaryCta&&(C.primaryCta.midiAppPage?(0,a.jsx)(n.CtaMidiAppLink,{midiAppPage:C.primaryCta.midiAppPage,ctaType:"primary",className:"alt-cta",sliceType:"topic_explorer",children:C.primaryCta.label}):(0,a.jsx)(t.default,{href:C.primaryCta.href??"/",className:"alt-cta primary-cta",children:C.primaryCta.label})),C.secondaryCta&&(0,a.jsx)(t.default,{href:C.secondaryCta.href??"/",className:(0,o.default)("alt-cta secondary-cta-light-blue"),children:C.secondaryCta.label})]}),m&&(m.midiAppPage?(0,a.jsx)(n.CtaMidiAppLink,{midiAppPage:m.midiAppPage,ctaType:"inline",className:i.default["help-link--mobile"],sliceType:"topic_explorer_help",children:m.label}):(0,a.jsx)(t.default,{href:m.href??"/",className:i.default["help-link--mobile"],children:m.label}))]})]})]})}):null}])},40903,e=>{"use strict";var a=e.i(843476),s=e.i(271645),l=e.i(207199),t=e.i(331966);e.s(["TrackedSection",0,({sliceType:e,index:i,pageName:o,children:r})=>{let n=(0,s.useRef)(null);return((e,{sliceType:a,index:l,pageName:i,activeExperiments:o},r=!1)=>{(0,s.useEffect)(()=>{let s=e.current;if(!s)return;let n=r?s.firstElementChild:s;if(!n)return;let d=new IntersectionObserver(e=>{for(let s of e){if(!s.isIntersecting)continue;let e=s.intersectionRatio>=.5,r=s.boundingClientRect.height>window.innerHeight&&s.intersectionRect.height/window.innerHeight>=.5;if(e||r){(0,t.trackEvent)("Slice Viewed",{slice_id:`${a}@${l}`,slice_type:a,slice_position:l,page:i,path:window.location.pathname,active_experiments:o}),d.disconnect();return}}},{threshold:[0,.05,.1,.15,.2,.25,.3,.35,.4,.45,.5]});return d.observe(n),()=>d.disconnect()},[e,a,l,i,o,r])})(n,{sliceType:e,index:i,pageName:o,activeExperiments:(0,l.useActiveExperiments)()},!0),(0,a.jsx)("div",{ref:n,style:{display:"contents"},children:r})}],40903)},300577,e=>{e.v({back:"CarrierTypeahead-module-scss-module__6wBcEq__back",cantfind:"CarrierTypeahead-module-scss-module__6wBcEq__cantfind",chip:"CarrierTypeahead-module-scss-module__6wBcEq__chip",chips:"CarrierTypeahead-module-scss-module__6wBcEq__chips",grouplabel:"CarrierTypeahead-module-scss-module__6wBcEq__grouplabel",heading:"CarrierTypeahead-module-scss-module__6wBcEq__heading",input:"CarrierTypeahead-module-scss-module__6wBcEq__input",list:"CarrierTypeahead-module-scss-module__6wBcEq__list","mobile-open":"CarrierTypeahead-module-scss-module__6wBcEq__mobile-open",option:"CarrierTypeahead-module-scss-module__6wBcEq__option",panel:"CarrierTypeahead-module-scss-module__6wBcEq__panel",root:"CarrierTypeahead-module-scss-module__6wBcEq__root",subheading:"CarrierTypeahead-module-scss-module__6wBcEq__subheading"})},688351,e=>{e.v({bar:"CoverageSearchBar-module-scss-module__Fu1ikq__bar",check:"CoverageSearchBar-module-scss-module__Fu1ikq__check","coverage-spin":"CoverageSearchBar-module-scss-module__Fu1ikq__coverage-spin",divider:"CoverageSearchBar-module-scss-module__Fu1ikq__divider",field:"CoverageSearchBar-module-scss-module__Fu1ikq__field",spinner:"CoverageSearchBar-module-scss-module__Fu1ikq__spinner",status:"CoverageSearchBar-module-scss-module__Fu1ikq__status"})},248583,e=>{e.v({action:"PanelCard-module-scss-module__wWAkEq__action",card:"PanelCard-module-scss-module__wWAkEq__card"})},299958,e=>{e.v({caption:"PriceCard-module-scss-module__3s5JNa__caption",card:"PriceCard-module-scss-module__3s5JNa__card",icon:"PriceCard-module-scss-module__3s5JNa__icon",label:"PriceCard-module-scss-module__3s5JNa__label",price:"PriceCard-module-scss-module__3s5JNa__price"})},404030,e=>{e.v({body:"IconInfoCard-module-scss-module__-l_KPG__body",card:"IconInfoCard-module-scss-module__-l_KPG__card",icon:"IconInfoCard-module-scss-module__-l_KPG__icon"})},187726,e=>{e.v({body:"StatusColumn-module-scss-module__iZICJa__body",column:"StatusColumn-module-scss-module__iZICJa__column",footer
2:"StatusColumn-module-scss-module__iZICJa__footer",header:"StatusColumn-module-scss-module__iZICJa__header",helper:"StatusColumn-module-scss-module__iZICJa__helper",indicator:"StatusColumn-module-scss-module__iZICJa__indicator",item:"StatusColumn-module-scss-module__iZICJa__item",lead:"StatusColumn-module-scss-module__iZICJa__lead",list:"StatusColumn-module-scss-module__iZICJa__list",title:"StatusColumn-module-scss-module__iZICJa__title"})},276795,e=>{e.v({back:"Typeahead-module-scss-module__xPUzta__back","has-icon":"Typeahead-module-scss-module__xPUzta__has-icon",icon:"Typeahead-module-scss-module__xPUzta__icon",input:"Typeahead-module-scss-module__xPUzta__input","input-wrap":"Typeahead-module-scss-module__xPUzta__input-wrap","mobile-open":"Typeahead-module-scss-module__xPUzta__mobile-open",option:"Typeahead-module-scss-module__xPUzta__option","option-label":"Typeahead-module-scss-module__xPUzta__option-label",options:"Typeahead-module-scss-module__xPUzta__options",root:"Typeahead-module-scss-module__xPUzta__root"})},556917,e=>{"use strict";var a=e.i(843476),s=e.i(762630),l=e.i(572226),t=e.i(207670),i=e.i(271645),o=e.i(555783),r=e.i(276795);e.s(["Typeahead",0,function({items:e,value:n,onChange:d,getOptionLabel:c,getOptionKey:u,filter:m,placeholder:_,ariaLabel:p,leadingIcon:h,minQueryLength:f=1,immediate:g=!1,className:v,inputClassName:x}){let[b,y]=(0,i.useState)(""),C=(0,o.useIsMobile)(),N=(0,i.useRef)(null),j=m??((e,a)=>c(e).toLowerCase().startsWith(a.toLowerCase())),w=b.length<f?[]:e.filter(e=>j(e,b));return(0,a.jsx)(s.Combobox,{as:"div",value:n,onChange:d,onClose:()=>y(""),immediate:g,className:({open:e})=>(0,t.default)(r.default.root,v,e&&C&&r.default["mobile-open"],e&&C&&"coverage-search-overlay"),children:({open:e})=>(0,a.jsxs)(a.Fragment,{children:[e&&C&&(0,a.jsxs)("button",{type:"button",className:r.default.back,onMouseDown:e=>e.preventDefault(),onClick:()=>N.current?.blur(),children:[(0,a.jsx)(l.ArrowLeftIcon,{width:20,height:20}),"Back"]}),(0,a.jsxs)("div",{className:r.default["input-wrap"],children:[h&&(0,a.jsx)("span",{className:r.default.icon,children:h}),(0,a.jsx)(s.ComboboxInput,{ref:N,"aria-label":p,placeholder:_,autoComplete:"off",className:(0,t.default)("body-copy",r.default.input,x,{[r.default["has-icon"]]:!!h}),displayValue:e=>e?c(e):"",onChange:e=>y(e.target.value)})]}),w.length>0&&(0,a.jsx)(s.ComboboxOptions,{anchor:C?void 0:"bottom start",as:"ul",modal:!1,transition:!0,className:(0,t.default)("shadow",r.default.options),children:w.map(e=>(0,a.jsx)(s.ComboboxOption,{as:"li",value:e,className:r.default.option,children:(0,a.jsx)("span",{className:(0,t.default)("body-copy",r.default["option-label"]),children:c(e)})},u?u(e):c(e)))})]})})}])},555783,e=>{"use strict";var a=e.i(271645);e.s(["useIsMobile",0,function(e="(max-width: 799px)"){let[s,l]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{let a=window.matchMedia(e),s=()=>l(a.matches);return s(),a.addEventListener("change",s),()=>a.removeEventListener("change",s)},[e]),s}])},828218,e=>{e.v({accordion:"Accordion-module-scss-module__rqbhwW__accordion",body:"Accordion-module-scss-module__rqbhwW__body",button:"Accordion-module-scss-module__rqbhwW__button",caret:"Accordion-module-scss-module__rqbhwW__caret",caretIcon:"Accordion-module-scss-module__rqbhwW__caretIcon",divider:"Accordion-module-scss-module__rqbhwW__divider",expandBox:"Accordion-module-scss-module__rqbhwW__expandBox",headingWrap:"Accordion-module-scss-module__rqbhwW__headingWrap",title:"Accordion-module-scss-module__rqbhwW__title",trigger:"Accordion-module-scss-module__rqbhwW__trigger"})},69316,e=>{e.v({background:"CareGrid-module-scss-module__sg54fW__background",card:"CareGrid-module-scss-module__sg54fW__card",cardCta:"CareGrid-module-scss-module__sg54fW__cardCta",cardImage:"CareGrid-module-scss-module__sg54fW__cardImage",cardPink:"CareGrid-module-scss-module__sg54fW__cardPink",cardTitleBottom:"CareGrid-module-scss-module__sg54fW__cardTitleBottom",ctaArrow:"CareGrid-module-scss-module__sg54fW__ctaArrow",grid:"CareGrid-module-scss-module__sg54fW__grid",heading:"CareGrid-module-scss-module__sg54fW__heading",headline:"CareGrid-module-scss-module__sg54fW__headline",hiddenMobile:"CareGrid-module-scss-module__sg54fW__hiddenMobile",image:"CareGrid-module-scss-module__sg54fW__image",learnMore:"CareGrid-module-scss-module__sg54fW__learnMore",learnMoreArrow:"CareGrid-module-scss-module__sg54fW__learnMoreArrow",link:"CareGrid-module-scss-module__sg54fW__link",overlay:"CareGrid-module-scss-module__sg54fW__overlay",section:"CareGrid-module-scss-module__sg54fW__section",subhead:"CareGrid-module-scss-module__sg54fW__subhead",title:"CareGrid-module-scss-module__sg54fW__title",titleArrow:"CareGrid-module-scss-module__sg54fW__titleArrow",titleRow:"CareGrid-module-scss-module__sg54fW__titleRow",viewMore:"CareGrid-module-scss-module__sg54fW__viewMore"})},737737,e=>{"use strict";var a=e.i(843476),s=e.i(271645),l=e.i(207670),t=e.i(429366),i=e.i(216571);e.i(556894);var o=e.i(417207),r=e.i(226006),n=e.i(69316),d=e.i(392531);function c({heading:e,subhead:u,cards:m,cardStyle:_="hover-reveal",initialMobileCount:p=6,className:h,...f}
2){let g=(0,s.useId)(),[v,x]=(0,s.useState)(!1),b=(0,s.useRef)(null),y=null!=e&&""!==e;if(!y&&0===m.length)return null;let C="title-bottom"===_,N=0,j=m.map(e=>"blank"===e.variant?-1:N++),w=N>p;return(0,a.jsxs)("section",{className:(0,l.default)(n.default.section,h),...f,children:[y&&(0,a.jsxs)("div",{className:n.default.headline,children:[(0,a.jsx)("h2",{id:g,className:n.default.heading,children:e}),u]}),m.length>0&&(0,a.jsx)("ul",{className:n.default.grid,"aria-labelledby":y?g:void 0,children:m.map((e,s)=>{if("blank"===e.variant)return(0,a.jsx)("li",{"aria-hidden":"true",className:(0,l.default)(n.default.card,n.default.hiddenMobile)},s);let t="cta"===e.variant,c=!t&&null!=e.image,u=j[s],m=w&&!v&&u>=p,_=w&&u===p,h=t?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{className:n.default.title,children:e.title}),(0,a.jsx)("span",{className:n.default.ctaArrow,children:(0,a.jsx)(o.ArrowGlyphIcon,{size:"md"})})]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("span",{"aria-hidden":"true",className:n.default.background,children:[c&&(0,a.jsx)(r.ImageWrapper,{image:e.image,fill:!0,className:n.default.image,sizes:"(min-width: 768px) 25vw, 50vw"}),c&&(0,a.jsx)("span",{className:n.default.overlay})]}),C?(0,a.jsxs)("span",{className:n.default.titleRow,children:[(0,a.jsx)("span",{className:n.default.title,children:e.title}),(0,d.hasLinkDestination)(e)&&(0,a.jsx)("span",{"aria-hidden":"true",className:n.default.titleArrow,children:(0,a.jsx)(o.ArrowGlyphIcon,{size:"sm"})})]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{className:n.default.title,children:e.title}),(0,d.hasLinkDestination)(e)&&(0,a.jsxs)("span",{"aria-hidden":"true",className:n.default.learnMore,children:["Learn more",(0,a.jsx)("span",{className:n.default.learnMoreArrow,children:(0,a.jsx)(o.ArrowGlyphIcon,{size:"sm"})})]})]})]});return(0,a.jsx)("li",{className:(0,l.default)(n.default.card,t?n.default.cardCta:c?n.default.cardImage:n.default.cardPink,!t&&C&&n.default.cardTitleBottom,m&&n.default.hiddenMobile),children:(0,d.hasLinkDestination)(e)?(0,a.jsx)(i.V2Link,{ref:_?b:void 0,className:n.default.link,href:e.href,field:e.field,document:e.document,children:h}):(0,a.jsx)("span",{ref:_?b:void 0,className:n.default.link,tabIndex:_?-1:void 0,children:h})},s)})}),w&&!v&&(0,a.jsx)(t.Button,{className:n.default.viewMore,variant:"secondary",arrow:!1,onClick:()=>{x(!0),requestAnimationFrame(()=>b.current?.focus())},children:"View more"})]})}e.s(["CareGrid",0,c,"default",0,c])},455047,e=>{e.v({body:"CarePillarCard-module-scss-module__2eroXG__body",card:"CarePillarCard-module-scss-module__2eroXG__card",content:"CarePillarCard-module-scss-module__2eroXG__content",image:"CarePillarCard-module-scss-module__2eroXG__image",media:"CarePillarCard-module-scss-module__2eroXG__media",title:"CarePillarCard-module-scss-module__2eroXG__title"})},890256,e=>{e.v({card:"CarePlanGrid-module-scss-module__oR0idq__card",cards:"CarePlanGrid-module-scss-module__oR0idq__cards",cta:"CarePlanGrid-module-scss-module__oR0idq__cta",header:"CarePlanGrid-module-scss-module__oR0idq__header",heading:"CarePlanGrid-module-scss-module__oR0idq__heading",section:"CarePlanGrid-module-scss-module__oR0idq__section",subtext:"CarePlanGrid-module-scss-module__oR0idq__subtext"})},639583,e=>{"use strict";var a=e.i(843476),s=e.i(271645),l=e.i(207670),t=e.i(216571);e.i(556894);var i=e.i(978720),o=e.i(648049),r=e.i(226006),n=e.i(793001),d=e.i(392531);function c({image:e,frontTitle:u,detailsLabel:m="View details",backTitle:_,backBody:p,captionImage:h,caption:f,moreLabel:g,moreLink:v,flipped:x,onFlippedChange:b,className:y}){let[C,N]=(0,s.useState)(!1),j=null!=x,w=j?x:C,A=e=>{j||N(e),b?.(e)},k=(0,s.useId)(),S=`${k}-title`,P=`${k}-details`,I=`${k}-back`;return(0,a.jsx)("div",{className:(0,l.default)(n.default.scene,y),"data-flipped":w||void 0,children:(0,a.jsxs)("div",{className:n.default.card,children:[(0,a.jsxs)("div",{className:(0,l.default)(n.default.face,n.default.front),inert:w,children:[(0,a.jsx)(r.ImageWrapper,{image:e,fill:!0,className:n.default.image}),(0,a.jsx)("div",{className:n.default.overlay,"aria-hidden":!0}),(0,a.jsxs)("div",{className:n.default.frontContent,children:[(0,a.jsx)("p",{className:n.default.frontTitle,id:S,children:u}),(0,a.jsxs)("div",{className:n.default.controls,children:[(0,a.jsx)("span",{className:n.default.details,id:P,children:m}),(0,a.jsx)("span",{className:n.default.expand,"aria-hidden":!0,
2children:(0,a.jsx)(o.PlusIcon,{size:20,title:""})})]})]}),(0,a.jsx)("button",{type:"button",className:n.default.frontButton,"aria-expanded":w,"aria-controls":I,"aria-labelledby":`${S} ${P}`,onClick:()=>A(!0)})]}),(0,a.jsxs)("div",{id:I,className:(0,l.default)(n.default.face,n.default.back),inert:!w,children:[(0,a.jsx)("p",{className:n.default.backTitle,children:_}),(0,a.jsxs)("div",{className:n.default.backBodyWrap,children:[(0,a.jsxs)("div",{className:n.default.copyAndDivider,children:[(0,a.jsx)("div",{className:n.default.divider,"aria-hidden":!0}),(0,a.jsx)("div",{className:n.default.backBody,children:p})]}),(h||f)&&(0,a.jsxs)("div",{className:n.default.captionRow,children:[h&&(0,a.jsx)("span",{className:n.default.captionImage,children:(0,a.jsx)(r.ImageWrapper,{image:h,fill:!0,className:n.default.captionImg,sizes:"64px"})}),f&&(0,a.jsx)("p",{className:n.default.caption,children:f})]})]}),(0,a.jsxs)("div",{className:n.default.backControls,children:[g&&(0,a.jsxs)("div",{className:n.default.moreLockup,children:[(0,a.jsx)("p",{className:n.default.moreLabel,children:"More to explore:"}),(0,d.hasLinkDestination)(v)?(0,a.jsx)(t.V2Link,{className:n.default.moreLink,...v,children:g}):(0,a.jsx)("span",{className:n.default.moreLink,children:g})]}),(0,a.jsx)("button",{type:"button",className:n.default.expand,"aria-expanded":w,"aria-controls":I,"aria-label":"Close details",onClick:()=>A(!1),children:(0,a.jsx)(i.CloseIcon,{size:20,title:""})})]})]})]})})}var u=e.i(890256);function m({heading:e,subtext:t,cards:i,cta:o,className:r,...n}){let[d,_]=(0,s.useState)(null);return(0,a.jsxs)("section",{className:(0,l.default)(u.default.section,r),...n,children:[(0,a.jsxs)("div",{className:u.default.header,children:[(0,a.jsx)("h2",{className:u.default.heading,children:e}),null!=t&&(0,a.jsx)("p",{className:u.default.subtext,children:t})]}),(0,a.jsx)("div",{className:u.default.cards,children:i.map((e,s)=>(0,a.jsx)(c,{...e,className:u.default.card,flipped:d===s,onFlippedChange:e=>_(e?s:null)},s))}),(0,a.jsx)("div",{className:u.default.cta,children:o})]})}e.s(["CarePlanGrid",0,m,"default",0,m],639583)},724750,e=>{e.v({arrow:"CarouselArrow-module-scss-module__Kym0Nq__arrow",icon:"CarouselArrow-module-scss-module__Kym0Nq__icon",lg:"CarouselArrow-module-scss-module__Kym0Nq__lg",sm:"CarouselArrow-module-scss-module__Kym0Nq__sm"})},281739,e=>{"use strict";var a=e.i(843476),s=e.i(207670);e.i(556894);var l=e.i(437303),t=e.i(659263),i=e.i(724750);e.s(["CarouselArrow",0,function({direction:e,size:o="lg",className:r,type:n,...d}){return(0,a.jsx)("button",{type:n??"button",className:(0,s.default)(i.default.arrow,i.default[o],r),"aria-label":d["aria-label"]??("prev"===e?"Previous":"Next"),...d,children:(0,a.jsx)("span",{className:i.default.icon,children:"prev"===e?(0,a.jsx)(l.ChevronLeftIcon,{title:""}):(0,a.jsx)(t.ChevronRightIcon,{title:""})})})}])},669196,e=>{e.v({lg:"ChipTag-module-scss-module__39SKmW__lg",sm:"ChipTag-module-scss-module__39SKmW__sm",tag:"ChipTag-module-scss-module__39SKmW__tag"})},464609,e=>{e.v({body:"Citations-module-scss-module__YMDhiW__body",clamped:"Citations-module-scss-module__YMDhiW__clamped",copy:"Citations-module-scss-module__YMDhiW__copy",divider:"Citations-module-scss-module__YMDhiW__divider",heading:"Citations-module-scss-module__YMDhiW__heading",inner:"Citations-module-scss-module__YMDhiW__inner",list:"Citations-module-scss-module__YMDhiW__list",section:"Citations-module-scss-module__YMDhiW__section"})},848881,e=>{"use strict";var a=e.i(843476),s=e.i(271645),l=e.i(207670),t=e.i(429366),i=e.i(464609);function o({heading:e,citations:r,className:n,...d}){let c=(0,s.useId)(),u=(0,s.useRef)(null),[m,_]=(0,s.useState)(!1),[p,h]=(0,s.use
2State)(!1);return(0,s.useEffect)(()=>{let e=u.current;if(!e||m)return;let a=()=>{let a=e.clientHeight;e.style.webkitLineClamp="unset",e.style.setProperty("line-clamp","unset");let s=e.scrollHeight;e.style.removeProperty("-webkit-line-clamp"),e.style.removeProperty("line-clamp"),h(s>a+1)};a();let s=new ResizeObserver(a);return s.observe(e),()=>s.disconnect()},[m,r]),(0,a.jsx)("section",{className:(0,l.default)(i.default.section,n),...d,children:(0,a.jsxs)("div",{className:i.default.inner,children:[(0,a.jsx)("span",{className:i.default.divider,"aria-hidden":!0}),(0,a.jsxs)("div",{className:i.default.copy,children:[e&&(0,a.jsx)("h2",{className:i.default.heading,children:e}),r&&(0,a.jsxs)("div",{className:i.default.list,children:[(0,a.jsx)("div",{id:c,ref:u,className:(0,l.default)(i.default.body,!m&&i.default.clamped),children:r}),p&&(0,a.jsx)(t.Button,{variant:"simple-link",className:i.default.expand,"aria-controls":c,"aria-expanded":m,onClick:()=>_(e=>!e),children:m?"Show less":"Read more"})]})]})]})})}e.s(["Citations",0,o,"default",0,o])},533985,e=>{e.v({srOnly:"CountUpNumber-module-scss-module__7WYNNW__srOnly"})},775960,e=>{"use strict";var a=e.i(843476),s=e.i(271645);function l(e,a){return`${e.prefix}${a.toFixed(e.decimals)}${e.suffix}`}let t=e=>1-Math.pow(1-Math.min(1,Math.max(0,e)),3);var i=e.i(533985);function o({value:e,className:r}){let n=(0,s.useMemo)(()=>(function(e){let a=e.trim().match(/^(\D*)(\d[\d,]*(?:\.\d+)?)(.*)$/s);if(!a)return null;let s=a[2].replace(/,/g,""),l=Number(s);if(!Number.isFinite(l))return null;let t=s.indexOf("."),i=-1===t?0:s.length-t-1;return{prefix:a[1],value:l,suffix:a[3],decimals:i}})(e),[e]),d=(0,s.useRef)(null);return((0,s.useEffect)(()=>{if(!n)return;let a=d.current;if(!a||window.matchMedia?.("(prefers-reduced-motion: reduce)").matches||"u"<typeof IntersectionObserver)return;a.textContent=l(n,0);let s=0,i=new IntersectionObserver(o=>{for(let r of o){if(!r.isIntersecting)continue;i.disconnect();let o=0,d=i=>{o||(o=i);let r=(i-o)/1400;if(r>=1){a.textContent=e;return}a.textContent=l(n,t(r)*n.value),s=requestAnimationFrame(d)};s=requestAnimationFrame(d);break}},{threshold:.3});return i.observe(a),()=>{i.disconnect(),cancelAnimationFrame(s)}},[e,n]),n)?(0,a.jsxs)("span",{className:r,children:[(0,a.jsx)("span",{ref:d,"aria-hidden":!0,children:e}),(0,a.jsx)("span",{className:i.default.srOnly,children:e})]}):(0,a.jsx)("span",{className:r,children:e})}e.s(["CountUpNumber",0,o,"default",0,o],775960)},402555,e=>{"use strict";var a=e.i(843476),s=e.i(429366),l=e.i(901534),t=e.i(216571),i=e.i(392531);e.s(["Cta",0,function({midiAppPage:e,midiAppPageParamValue:o,field:r,document:n,href:d,ctaType:c="primary",sliceType:u,appearance:m="button",variant:_="primary",size:p="lg",className:h,children:f}){let g=(0,i.resolveCtaLink)({midiAppPage:e,midiAppPageParamValue:o,link:r})??(n?{document:n}:void 0)??(d?{href:d}:void 0);if(!g)return null;let v={ctaType:c,sliceType:u};if("link"===m)return(0,a.jsx)(t.V2Link,{...g,...v,className:h,children:f});if("expressive"===m)return(0,a.jsx)(l.CtaExpressive,{...g,...v,size:p,className:h,children:f});let x="xl"===p||"2xl"===p?"lg":p;return(0,a.jsx)(s.Button,{...g,...v,variant:_,size:x,className:h,children:f})}])},978994,e=>{e.v({arrow:"CtaCard-module-scss-module__ckYvfG__arrow",card:"CtaCard-module-scss-module__ckYvfG__card",label:"CtaCard-module-scss-module__ckYvfG__label",link:"CtaCard-module-scss-module__ckYvfG__link"})},593843,e=>{e.v({charged:"DataFraction-module-scss-module___IEa1a__charged",fill:"DataFraction-module-scss-module___IEa1a__fill",frame:"DataFraction-module-scss-module___IEa1a__frame",frameFill:"DataFraction-module-scss-module___IEa1a__frameFill",meter:"DataFraction-module-scss-module___IEa1a__meter",slot:"DataFraction-module-scss-module___IEa1a__slot"})},824565,e=>{"use strict";var a=e.i(843476),s=e.i(271645),l=e.i(207670),t=e.i(593843);function i({percent:e=95,className:o,animate:r=!0}){let n,d=(n=Math.min(100,Math.max(0,5*Math.round(e/5))),Array.from({length:10},(e,a)=>{let s=(n-10*a)/10;return s>=1?"full":s<=0?"empty":"half"})),c=function(e=5,a=1400,s=120,l=1.7){let t=Math.max(0,a-s),i=Math.max(1,e-1);return Array.from({length:e},(e,a)=>Math.round(t*Math.pow(a/i,l)))}
2(),u=(0,s.useRef)(null),[m,_]=(0,s.useState)(!r);return(0,s.useEffect)(()=>{if(!r)return;let e=u.current;if(!e||"u"<typeof IntersectionObserver)return;let a=new IntersectionObserver(e=>{for(let s of e)if(s.isIntersecting){_(!0),a.disconnect();break}},{threshold:.3});return a.observe(e),()=>a.disconnect()},[r]),(0,a.jsx)("div",{ref:u,className:(0,l.default)(t.default.meter,m&&t.default.charged,o),"aria-hidden":!0,children:d.map((e,s)=>{if("empty"===e)return(0,a.jsx)("div",{className:t.default.slot},s);let l={"--charge-delay":`${c[s%5]}ms`};return(0,a.jsx)("div",{className:t.default.slot,children:"full"===e?(0,a.jsx)("span",{className:t.default.fill,style:l}):(0,a.jsx)("span",{className:t.default.frame,style:l,children:(0,a.jsx)("span",{className:t.default.frameFill})})},s)})})}e.s(["DataFraction",0,i,"default",0,i],824565)},429010,e=>{e.v({body:"EcommerceCard-module-scss-module__J_sZ1q__body",card:"EcommerceCard-module-scss-module__J_sZ1q__card",desc:"EcommerceCard-module-scss-module__J_sZ1q__desc",image:"EcommerceCard-module-scss-module__J_sZ1q__image",imageWrap:"EcommerceCard-module-scss-module__J_sZ1q__imageWrap",label:"EcommerceCard-module-scss-module__J_sZ1q__label",tag:"EcommerceCard-module-scss-module__J_sZ1q__tag",title:"EcommerceCard-module-scss-module__J_sZ1q__title",titleText:"EcommerceCard-module-scss-module__J_sZ1q__titleText"})},414553,550817,274856,e=>{"use strict";var a=e.i(843476),s=e.i(271645),l=e.i(207670),t=e.i(216571),i=e.i(429366);e.i(556894);var o=e.i(73329),r=e.i(93034);e.s(["SymptomDropdown",0,function({label:e="Explore symptoms",options:n,value:d,defaultValue:c,onValueChange:u,defaultOpen:m=!1,footerLinks:_,className:p,floating:h=!1,selectedLabel:f,triggerClassName:g,closeOnSelect:v="mobile"}){let[x,b]=(0,s.useState)(m),[y,C]=(0,s.useState)(c),N=void 0!==d?d:y,j=(0,s.useRef)(null),w=(0,s.useRef)(null),A=(0,s.useRef)(null),k=(0,s.useRef)(null),S=(0,s.useRef)(x);(0,s.useEffect)(()=>{if(S.current!==x){if(S.current=x,!x)return void w.current?.focus();h?k.current?.querySelector("button")?.focus():A.current?.focus()}},[x,h]),(0,s.useEffect)(()=>{if(!x)return;let e=e=>{"Escape"===e.key&&b(!1)},a=e=>{let a=e.target;document.contains(a)&&j.current&&!j.current.contains(a)&&b(!1)};return document.addEventListener("keydown",e),document.addEventListener("click",a),()=>{document.removeEventListener("keydown",e),document.removeEventListener("click",a)}},[x]);let P=s=>(0,a.jsxs)("button",{ref:s,type:"button",className:(0,l.default)(r.default.trigger,g),"aria-expanded":x,"aria-haspopup":"listbox",onClick:()=>b(e=>!e),children:[f?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("span",{className:r.default.srOnly,children:[e,": "]}),(0,a.jsx)("span",{children:f})]}):e,(0,a.jsx)("span",{className:(0,l.default)(r.default.triggerIcon,x&&r.default.triggerIconOpen),children:(0,a.jsx)(o.ChevronDownIcon,{title:""})})]}),I=(0,a.jsxs)("div",{ref:k,className:(0,l.default)(r.default.chipContainer,h&&r.default.chipContainerFloating),children:[(0,a.jsx)("div",{className:r.default.options,role:"group","aria-label":e,children:n.map(e=>(0,a.jsx)(i.Button,{variant:"chip",leadingIcon:e.icon,selected:e.value===N,className:r.default.option,onClick:()=>{var a;return a=e.value,void(void 0===d&&C(a),u?.(a),("always"===v||!window.matchMedia("(min-width: 48rem)").matches)&&b(!1))},children:e.label},e.value))}),_&&_.length>0&&(0,a.jsx)("div",{className:r.default.footer,children:_.map((e,s)=>e.href?(0,a.jsx)(t.V2Link,{href:e.href,className:r.default.footerLink,children:e.label},s):(0,a.jsx)("button",{type:"button",className:r.default.footerLink,onClick:e.onClick,children:e.label},s))})]});return h?(0,a.jsxs)("div",{ref:j,className:(0,l.default)(r.default.root,r.default.rootFloating,p),children:[P(w),x&&I]}):x?(0,a.jsx)("div",{ref:j,className:(0,l.default)(r.default.root,p),children:(0,a.jsxs)("div",{className:r.default.panel,children:[P(A),I]})}):(0,a.jsx)("div",{ref:j,className:(0,l.default)(r.default.root,p),children:P(w)})}],414553);var n=e.i(226006),d=e.i(417207),c=e.i(303205),u=e.i(392531);e.s(["StaticCard",0,function({title:e,body:i,actions:o=[],image:r,background:m,tone
2:_="light",divider:p=!0,className:h,style:f}){return(0,a.jsxs)("div",{className:(0,l.default)(c.default.card,"dark"===_&&c.default.dark,r&&c.default.clipped,h),style:{background:r?void 0:m,...f},children:[r&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(n.ImageWrapper,{image:r,fill:!0,className:c.default.image}),(0,a.jsx)("span",{className:c.default.overlay,"aria-hidden":!0})]}),(0,a.jsxs)("div",{className:c.default.content,children:[(0,a.jsxs)("div",{className:c.default.header,children:[(0,a.jsx)("p",{className:c.default.title,children:e}),null!=i&&(0,a.jsx)("p",{className:c.default.body,children:i})]}),o.length>0&&(0,a.jsxs)("div",{className:c.default.footer,children:[p&&(0,a.jsx)("span",{className:c.default.dividerH,"aria-hidden":!0}),(0,a.jsx)("div",{className:c.default.actions,children:o.map((e,l)=>{let i=(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{children:e.label}),(0,a.jsx)("span",{className:c.default.ctaArrow,children:(0,a.jsx)(d.ArrowGlyphIcon,{size:"sm"})})]});return(0,a.jsxs)(s.Fragment,{children:[l>0&&(0,a.jsx)("span",{className:c.default.dividerV,"aria-hidden":!0}),(0,u.hasLinkDestination)(e)?(0,a.jsx)(t.V2Link,{className:c.default.cta,href:e.href,field:e.field,document:e.document,children:i}):(0,a.jsx)("button",{type:"button",className:c.default.cta,onClick:e.onClick,children:i})]},l)})})]})]})]})}],550817);var m=e.i(429010);e.s(["EcommerceCard",0,function({image:e,title:s,description:i,tag:o,label:r,href:d,field:c,document:_,className:p}){if(!e||!s)return null;let h={href:d,field:c,document:_},f=(0,u.hasLinkDestination)(h)&&"string"==typeof s?s:void 0;return(0,a.jsxs)(t.V2Link,{...h,fallbackAs:"div","aria-label":f,className:(0,l.default)(m.default.card,p),children:[(0,a.jsxs)("div",{className:m.default.imageWrap,children:[(0,a.jsx)(n.ImageWrapper,{image:e,fill:!0,className:m.default.image}),o&&(0,a.jsx)("div",{className:m.default.tag,children:o})]}),(0,a.jsxs)("div",{className:m.default.body,children:[(0,a.jsxs)("p",{className:m.default.title,children:[(0,a.jsx)("span",{className:m.default.titleText,children:s}),r&&(0,a.jsx)("span",{className:m.default.label,children:r})]}),null!=i&&(0,a.jsx)("p",{className:m.default.desc,children:i})]})]})}],274856)},67648,e=>{e.v({bgImage:"EducationCard-module-scss-module__kglKlq__bgImage",bgLockup:"EducationCard-module-scss-module__kglKlq__bgLockup",body:"EducationCard-module-scss-module__kglKlq__body",bodyBold:"EducationCard-module-scss-module__kglKlq__bodyBold",bodyXl:"EducationCard-module-scss-module__kglKlq__bodyXl",card:"EducationCard-module-scss-module__kglKlq__card",centered:"EducationCard-module-scss-module__kglKlq__centered",centeredLockup:"EducationCard-module-scss-module__kglKlq__centeredLockup",divider:"EducationCard-module-scss-module__kglKlq__divider",footer:"EducationCard-module-scss-module__kglKlq__footer",header:"EducationCard-module-scss-module__kglKlq__header",heading:"EducationCard-module-scss-module__kglKlq__heading",headingLine:"EducationCard-module-scss-module__kglKlq__headingLine",imageHeader:"EducationCard-module-scss-module__kglKlq__imageHeader",inlineImage:"EducationCard-module-scss-module__kglKlq__inlineImage",inlineImageWrap:"EducationCard-module-scss-module__kglKlq__inlineImageWrap",overlay:"EducationCard-module-scss-module__kglKlq__overlay",stat:"EducationCard-module-scss-module__kglKlq__stat",statBody:"EducationCard-module-scss-module__kglKlq__statBody",statHeading:"EducationCard-module-scss-module__kglKlq__statHeading",statLockup:"EducationCard-module-scss-module__kglKlq__statLockup",textWithBg:"EducationCard-module-scss-module__kglKlq__textWithBg",textWithBody:"EducationCard-module-scss-module__kglKlq__textWithBody",textWithImage:"EducationCard-module-scss-module__kglKlq__textWithImage",yellow:"EducationCard-module-scss-module__kglKlq__yellow"})},793001,e=>{e.v({back:"EducationFlipCard-module-scss-module__s8qWfW__back",backBody:"EducationFlipCard-module-scss-module__s8qWfW__backBody",backBodyWrap:"EducationFlipCard-module-scss-module__s8qWfW__backBodyWrap",backControls:"EducationFlipCard-module-scss-module__s8qWfW__backControls",backTitle:"EducationFlipCard-module-scss-module__s8qWfW__backTitle",caption:"EducationFlipCard-module-scss-module__s8qWfW__caption",captionImage:"EducationFlipCard-module-scss-module__s8qWfW__captionImage",captionImg:"EducationFlipCard-module-scss-module__s8qWfW__captionImg",captionRow:"EducationFlipCard-module-scss-module__s8qWfW__captionRow",card:"EducationFlipCard-module-scss-module__s8qWfW__card",controls:"EducationFlipCard-module-scss-module__s8qWfW__controls",copyAndDivider:"EducationFlipCard-module-scss-module__s8qWfW__copyAndDivider",details:"EducationFlipCard-module-scss-module__s8qWfW__details",divider:"EducationFlipCard-module-scss-module__s8qWfW__divider",expand:"EducationFlipCard-module-scss-module__s8qWfW__expand",face:"EducationFlipCard-module-scss-module__s8qWfW__face",front:"EducationFlipCard-module-scss-module__s8qWfW__front",frontButton:"EducationFlipCard-module-scss-module__s8qWfW__frontButton",frontContent:"EducationFlipCard-module-scss-module__s8qWfW__frontContent",frontTitle:"EducationFlipCard-module-scss-module__s8qWfW__frontTitle",image:"EducationFlipCard-module-scss-module__s8qWfW__image",moreLabel:"EducationFlipCard-module-scss-module__s8qWfW__moreLabel",moreLink:"EducationFlipCard-module-scss-module__s8qWfW__moreLink",moreLockup:"EducationFlipCard-module-scss-module__s8qWfW__moreLockup",overlay:"EducationFlipCard-module-scss-module__s8qWfW__overlay",sce
2ne:"EducationFlipCard-module-scss-module__s8qWfW__scene"})},514582,e=>{e.v({attribution:"ExpandLetterWithVideo-module-scss-module__vC8EhW__attribution",body:"ExpandLetterWithVideo-module-scss-module__vC8EhW__body",card:"ExpandLetterWithVideo-module-scss-module__vC8EhW__card",clamped:"ExpandLetterWithVideo-module-scss-module__vC8EhW__clamped",content:"ExpandLetterWithVideo-module-scss-module__vC8EhW__content",eyebrow:"ExpandLetterWithVideo-module-scss-module__vC8EhW__eyebrow",inner:"ExpandLetterWithVideo-module-scss-module__vC8EhW__inner",innerExpanded:"ExpandLetterWithVideo-module-scss-module__vC8EhW__innerExpanded",media:"ExpandLetterWithVideo-module-scss-module__vC8EhW__media",section:"ExpandLetterWithVideo-module-scss-module__vC8EhW__section",videoLabel:"ExpandLetterWithVideo-module-scss-module__vC8EhW__videoLabel"})},399126,e=>{"use strict";var a=e.i(843476),s=e.i(271645),l=e.i(207670),t=e.i(91816),i=e.i(669196);function o({children:e,size:s="sm",className:t}){let r="string"==typeof e,n=r?e.replace(/ /g,"_"):e;return(0,a.jsx)("span",{className:(0,l.default)(i.default.tag,i.default[s],t),"aria-label":r?e:void 0,children:n})}var r=e.i(429366),n=e.i(514582);function d({video:e,videoTitle:i,videoLabel:c,eyebrow:u,body:m,attribution:_,expandLabel:p="Read more",collapseLabel:h="Read less",className:f,...g}
2){let[v,x]=(0,s.useState)(!1),b=(0,s.useId)();return(0,a.jsx)("section",{className:(0,l.default)(n.default.section,f),...g,children:(0,a.jsxs)("div",{className:(0,l.default)(n.default.inner,v&&n.default.innerExpanded),children:[e&&(0,a.jsxs)("div",{className:n.default.media,children:[(0,a.jsx)(t.VimeoVideo,{video:e,title:i}),c&&(0,a.jsx)("span",{className:n.default.videoLabel,children:c})]}),(0,a.jsxs)("div",{className:n.default.card,children:[(0,a.jsxs)("div",{className:n.default.content,children:[u&&(0,a.jsx)(o,{size:"sm",className:n.default.eyebrow,children:u}),m&&(0,a.jsx)("div",{id:b,className:(0,l.default)(n.default.body,!v&&n.default.clamped),children:m}),_&&(0,a.jsx)("p",{className:n.default.attribution,children:_})]}),m&&(0,a.jsx)(r.Button,{variant:"secondary-expressive",size:"lg",arrow:!1,"aria-expanded":v,"aria-controls":b,onClick:()=>x(e=>!e),children:v?h:p})]})]})})}e.s(["ExpandLetterWithVideo",0,d,"default",0,d],399126)},604753,e=>{e.v({accIcon:"FeatureGrid-module-scss-module__9JHcsW__accIcon",accLabel:"FeatureGrid-module-scss-module__9JHcsW__accLabel",accTitle:"FeatureGrid-module-scss-module__9JHcsW__accTitle",accordions:"FeatureGrid-module-scss-module__9JHcsW__accordions",bracket:"FeatureGrid-module-scss-module__9JHcsW__bracket",content:"FeatureGrid-module-scss-module__9JHcsW__content",ctaButton:"FeatureGrid-module-scss-module__9JHcsW__ctaButton",grid:"FeatureGrid-module-scss-module__9JHcsW__grid",heading:"FeatureGrid-module-scss-module__9JHcsW__heading",headline:"FeatureGrid-module-scss-module__9JHcsW__headline",lockup:"FeatureGrid-module-scss-module__9JHcsW__lockup",panel:"FeatureGrid-module-scss-module__9JHcsW__panel",panelBody:"FeatureGrid-module-scss-module__9JHcsW__panelBody",panelImage:"FeatureGrid-module-scss-module__9JHcsW__panelImage",section:"FeatureGrid-module-scss-module__9JHcsW__section",sub:"FeatureGrid-module-scss-module__9JHcsW__sub",subGroup:"FeatureGrid-module-scss-module__9JHcsW__subGroup"})},21235,e=>{"use strict";var a=e.i(843476),s=e.i(271645),l=e.i(207670);e.i(556894);var t=e.i(511778),i=e.i(648049),o=e.i(978720),r=e.i(828218);function n({title:e,children:d,variant:c="caret",headingLevel:u,defaultOpen:m=!1,open:_,onOpenChange:p,className:h}){let[f,g]=(0,s.useState)(m),v=void 0!==_?_:f,x=(0,s.useId)(),b=`${x}-body`,y=`${x}-trigger`,C=(0,a.jsxs)("button",{type:"button",id:y,className:r.default.trigger,"aria-expanded":v,"aria-controls":v?b:void 0,onClick:()=>{void 0===_&&g(e=>!e),p?.(!v)},children:[(0,a.jsx)("span",{className:r.default.title,children:e}),"caret"===c?(0,a.jsx)("span",{className:r.default.caretIcon,children:(0,a.jsx)(t.KaretDownIcon,{title:""})}):(0,a.jsx)("span",{className:r.default.expandBox,children:v?(0,a.jsx)(o.CloseIcon,{title:""}):(0,a.jsx)(i.PlusIcon,{title:""})})]}),N=u?`h${u}`:void 0;return(0,a.jsxs)("div",{className:(0,l.default)(r.default.accordion,"button"===c?r.default.button:r.default.caret,h),"data-open":v,children:["button"===c&&(0,a.jsx)("span",{className:r.default.divider,"aria-hidden":!0}),N?(0,a.jsx)(N,{className:r.default.headingWrap,children:C}):C,v&&(0,a.jsx)("div",{id:b,role:"region","aria-labelledby":y,className:r.default.body,children:d})]})}var d=e.i(402555),c=e.i(226006),u=e.i(392531),m=e.i(604753);function _({cards:e}){let[l,t]=(0,s.useState)(0);return(0,a.jsx)("div",{className:m.default.accordions,children:e.map((e,s)=>(0,a.jsx)(n,{variant:"button",headingLevel:3,open:l===s,onOpenChange:e=>t(e?s:-1),title:(0,a.jsxs)("span",{className:m.default.accTitle,children:[(0,a.jsx)("span",{className:m.default.accIcon,children:e.icon}),(0,a.jsx)("span",{className:m.default.accLabel,children:e.title})]}),children:(0,a.jsxs)("div",{className:m.default.panel,children:[(0,a.jsx)("div",{className:m.default.panelImage,children:(0,a.jsx)(c.ImageWrapper,{image:e.image,fill:!0,sizes:"100vw"})}),(0,a.jsx)("p",{className:m.default.panelBody,children:e.body}),e.ctaLabel&&(0,u.hasLinkDestination)(e.ctaLink)&&(0,a.jsx)(d.Cta,{className:m.default.ctaButton,variant:"secondary",size:"lg",...e.ctaLink,ctaType:"secondary",sliceType:"feature-grid",children:e.ctaLabel})]})}
2,e.title))})}e.s(["FeatureAccordions",0,_,"default",0,_],21235)},37857,e=>{e.v({badge:"Footer-module-scss-module__epsVMG__badge",badgeLink:"Footer-module-scss-module__epsVMG__badgeLink",badges:"Footer-module-scss-module__epsVMG__badges",column:"Footer-module-scss-module__epsVMG__column",columns:"Footer-module-scss-module__epsVMG__columns",community:"Footer-module-scss-module__epsVMG__community",connect:"Footer-module-scss-module__epsVMG__connect",copyright:"Footer-module-scss-module__epsVMG__copyright",footer:"Footer-module-scss-module__epsVMG__footer",heading:"Footer-module-scss-module__epsVMG__heading",legal:"Footer-module-scss-module__epsVMG__legal",legalButton:"Footer-module-scss-module__epsVMG__legalButton",legalLink:"Footer-module-scss-module__epsVMG__legalLink",legalLinks:"Footer-module-scss-module__epsVMG__legalLinks",legitBadge:"Footer-module-scss-module__epsVMG__legitBadge",link:"Footer-module-scss-module__epsVMG__link",links:"Footer-module-scss-module__epsVMG__links",logoWrap:"Footer-module-scss-module__epsVMG__logoWrap",social:"Footer-module-scss-module__epsVMG__social",socialLink:"Footer-module-scss-module__epsVMG__socialLink",socialList:"Footer-module-scss-module__epsVMG__socialList",subscribe:"Footer-module-scss-module__epsVMG__subscribe","subscribe-button":"Footer-module-scss-module__epsVMG__subscribe-button","subscribe-error":"Footer-module-scss-module__epsVMG__subscribe-error","subscribe-field":"Footer-module-scss-module__epsVMG__subscribe-field","subscribe-field-invalid":"Footer-module-scss-module__epsVMG__subscribe-field-invalid","subscribe-input":"Footer-module-scss-module__epsVMG__subscribe-input","subscribe-thanks":"Footer-module-scss-module__epsVMG__subscribe-thanks",wordmark:"Footer-module-scss-module__epsVMG__wordmark"})},251809,e=>{"use strict";var a=e.i(843476),s=e.i(816745),l=e.i(207670),t=e.i(707621),i=e.i(37857);let o="v2-footer-newsletter-email";e.s(["EMAIL_INPUT_ELEMENT_ID",0,o,"SubscribeForm",0,function(){let{status:e,emailError:r,submitting:n,onSubmit:d,clearEmailError:c}=(0,s.useNewsletterSignup)("footer"),u=(0,s.useHydrated)();return"done"===e?(0,a.jsx)("p",{className:i.default["subscribe-thanks"],role:"status",children:"Thanks for subscribing!"}):(0,a.jsxs)("form",{className:i.default.subscribe,onSubmit:d,noValidate:!0,children:[(0,a.jsxs)("div",{className:(0,l.default)(i.default["subscribe-field"],{[i.default["subscribe-field-invalid"]]:r}),children:[(0,a.jsx)("input",{className:i.default["subscribe-input"],id:o,type:"email",name:"email",placeholder:"Email",autoComplete:"email",maxLength:200,onInput:c,required:!0}),(0,a.jsx)("button",{className:i.default["subscribe-button"],type:"submit",disabled:!u||n,children:"Subscribe"})]}),(r||"failed"===e)&&(0,a.jsxs)("p",{className:i.default["subscribe-error"],role:"alert",children:[(0,a.jsx)(t.CircleAlert,{"aria-hidden":"true"}),r??s.SUBMIT_FAILED_MESSAGE]})]})}])},811723,e=>{"use strict";var a=e.i(843476),s=e.i(271645);e.s(["PrivacyChoicesLink",0,function({className:e}){let[l,t]=(0,s.useState)(!1);return((0,s.useEffect)(()=>{let e=!1,a=async()=>{try{let a=await window.__ucCmp?.getConsentDetails();e||t(a?.consent?.setting?.id==="0pvTK7vJGYb2bv")}catch{e||t(!1)}};return window.addEventListener("UC_UI_INITIALIZED",a),Promise.resolve().then(()=>window.__ucCmp?.isInitialized()).then(e=>{e&&a()}).catch(()=>{}),()=>{e=!0,window.removeEventListener("UC_UI_INITIALIZED",a)}},[]),l)?(0,a.jsx)("button",{type:"button",className:e,onClick:()=>window.UC_UI?.showSecondLayer?.(),children:"Your Privacy Choices"}):null}])},411724,e=>{e.v({control:"FormField-module-scss-module__LRRsBG__control","control-invalid":"FormField-module-scss-module__LRRsBG__control-invalid",error:"FormField-module-scss-module__LRRsBG__error",field:"FormField-module-scss-module__LRRsBG__field",input:"FormField-module-scss-module__LRRsBG__input",label:"FormField-module-scss-module__LRRsBG__label",required:"FormField-module-scss-module__LRRsBG__required"})},711945,e=>{e.v({bigHeading:"HeroSequence-module-scss-module__9T1yYq__bigHeading",bigHeadingOverlay:"HeroSequence-module-scss-module__9T1yYq__bigHeadingOverlay",doorBottom:"HeroSequence-module-scss-module__9T1yYq__doorBottom",doorTop:"HeroSequence-module-scss-module__9T1yYq__doorTop",graph:"HeroSequence-module-scss-module__9T1yYq__graph",graphCard:"HeroSequence-module-scss-module__9T1yYq__graphCard",hormonesBody:"HeroSequence-module-scss-module__9T1yYq__hormonesBody",hormonesHeading:"HeroSequence-module-scss-module__9T1yYq__hormonesHeading",journeyContent:"HeroSequence-module-scss-module__9T1yYq__journeyContent",j
2ourneyPhoto:"HeroSequence-module-scss-module__9T1yYq__journeyPhoto",journeyTitle:"HeroSequence-module-scss-module__9T1yYq__journeyTitle",layer:"HeroSequence-module-scss-module__9T1yYq__layer",mapHeading:"HeroSequence-module-scss-module__9T1yYq__mapHeading",mobile:"HeroSequence-module-scss-module__9T1yYq__mobile",mobileJourney:"HeroSequence-module-scss-module__9T1yYq__mobileJourney",mobileJourneyContent:"HeroSequence-module-scss-module__9T1yYq__mobileJourneyContent",mobileMap:"HeroSequence-module-scss-module__9T1yYq__mobileMap",mobilePillars:"HeroSequence-module-scss-module__9T1yYq__mobilePillars",overlay:"HeroSequence-module-scss-module__9T1yYq__overlay",photoState:"HeroSequence-module-scss-module__9T1yYq__photoState",pillarBody:"HeroSequence-module-scss-module__9T1yYq__pillarBody",pillarContent:"HeroSequence-module-scss-module__9T1yYq__pillarContent",pillarContentGroup:"HeroSequence-module-scss-module__9T1yYq__pillarContentGroup",pillarFrame:"HeroSequence-module-scss-module__9T1yYq__pillarFrame",pillarHeading:"HeroSequence-module-scss-module__9T1yYq__pillarHeading",pillarImage:"HeroSequence-module-scss-module__9T1yYq__pillarImage",pillarMedia:"HeroSequence-module-scss-module__9T1yYq__pillarMedia",pillarSlide:"HeroSequence-module-scss-module__9T1yYq__pillarSlide",pillarTabs:"HeroSequence-module-scss-module__9T1yYq__pillarTabs",pillarTitle:"HeroSequence-module-scss-module__9T1yYq__pillarTitle",pillarViewport:"HeroSequence-module-scss-module__9T1yYq__pillarViewport",pin:"HeroSequence-module-scss-module__9T1yYq__pin",root:"HeroSequence-module-scss-module__9T1yYq__root",sequence:"HeroSequence-module-scss-module__9T1yYq__sequence",splitDoors:"HeroSequence-module-scss-module__9T1yYq__splitDoors"})},987271,e=>{"use strict";var a=e.i(843476),s=e.i(271645),l=e.i(226006),t=e.i(722962),i=e.i(901534),o=e.i(207670),r=e.i(455047),n=e.i(392531);function d({image:e,title:s,body:t,ctaLabel:c,ctaLink:u,sliceType:m,className:_}){return(0,a.jsxs)("div",{className:(0,o.default)(r.default.card,_),children:[(0,a.jsx)("div",{className:r.default.media,children:(0,a.jsx)(l.ImageWrapper,{image:e,fill:!0,sizes:"(min-width: 768px) 40vw, 100vw",className:r.default.image})}),(0,a.jsxs)("div",{className:r.default.content,children:[s&&(0,a.jsx)("h3",{className:r.default.title,children:s}),t&&(0,a.jsx)("p",{className:r.default.body,children:t}),c&&(0,n.hasLinkDestination)(u)&&(0,a.jsx)(i.CtaExpressive,{size:"lg",...u,ctaType:"secondary",sliceType:m,className:r.default.cta,children:c})]})]})}var c=e.i(417358);function u({image:e,graphSrc:s,className:i}){return(0,a.jsxs)("section",{className:`${c.default.journey} ${i??""}`.trim(),children:[(0,a.jsxs)("div",{className:c.default.bg,"aria-hidden":!0,children:[(0,a.jsx)(l.ImageWrapper,{image:e,fill:!0,sizes:"100vw",className:c.default.image}),(0,a.jsx)("div",{className:c.default.overlay})]}),(0,a.jsxs)("div",{className:c.default.content,children:[(0,a.jsx)("h2",{className:c.default.heading,children:"Life is a journey"}),(0,a.jsxs)("div",{className:c.default.copy,children:[(0,a.jsxs)("p",{className:c.default.eyebrow,children:["It’s not you.",(0,a.jsx)("br",{}),"It’s your hormones."]}),(0,a.jsx)("p",{className:c.default.body,children:"The hot flashes. The brain fog. The weight changes. They’re all connected, and understanding your hormones is the first step toward feeling like yourself again."})]}),(0,a.jsx)("div",{className:c.default.graphCard,children:s&&(0,a.jsx)(t.LottieImage,{src:s,trigger:"viewport",loop:!1,ariaLabel:"Animated chart of hormone levels over time",className:c.default.graph})})]})]})}var m=e.i(76160);function _({labels:e,activeIndex:s,onTabClick:l,className:t}){return l?(0,a.jsx)("div",{className:(0,o.default)(m.default.group,t),children:e.map((e,t)=>(0,a.jsx)("button",{type:"button",className:(0,o.default)(m.default.tab,t===s&&m.default.active),"aria-current":t===s?"true":void 0,onClick:()=>l(t),children:e},e))}):(0,a.jsx)("div",{className:(0,o.default)(m.default.group,t),"aria-hidden":!0,children:e.map((e,l)=>(0,a.jsx)("span",{className:(0,o.default)(m.default.tab,l===s&&m.default.active),children:e},e))})}var p=e.i(241931);let h={src:e.i(199715).default,width:1600,height:1294,blurWidth:8,blurHeight:6,blurDataURL:"data:image/jpeg;base64,/9j/4AAQSkZJRgABAgAAAQABAAD/wAARCAAGAAgDAREAAhEBAxEB/9sAQwAKBwcIBwYKCAgICwoKCw4YEA4NDQ4dFRYRGCMfJSQiHyIhJis3LyYpNCkhIjBBMTQ5Oz4+PiUuRElDPEg3PT47/9sAQwEKCwsODQ4cEBAcOygiKDs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwDcs9Tl11bK/kzFBdsYxbg5G3ac5PrkGp1bszSLXJzLc//Z"},f={src:e.i(917544).default,width:1600,height:1294,blurWidth:8,blurHeight:6,blurDataURL:"data:image/jpeg;base64,/9j/4AAQSkZJRgABAgAAAQABAAD/wAARCAAGAAgDAREAAhEBAxEB/9sAQwAKBwcIBwYKCAgICwoKCw4YEA4NDQ4dFRYRGCMfJSQiHyIhJis3LyYpNCkhIjBBMTQ5Oz4+PiUuRElDPEg3PT47/9sAQwEKCwsODQ4cEBAcOygiKDs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwDUbxJeQWMdrZSNGiJtUuckDHFOlRlJczkaVqsIy5VE/9k="},g={src:e.i(496449).default,width:1600,height:1294,blurWidth:8,blurHeight:6,blurDataURL:"data:image/jpeg;base64,/9j/4AAQSkZJRgABAgAAAQABAAD/wAARCAAGAAgDAREAAhEBAxEB/9sAQwAKBwcIBwYKCAgICwoKCw4YEA4NDQ4dFRYRGCMfJSQiHyIhJis3LyYpNCkhIjBBMTQ5Oz4+PiUuRElDPEg3PT47/9sAQwEKCwsODQ4cEBAcOygiKDs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwDGk8ZX/wDwltgsTARpNGuNu07ScFevIOf0FVy3kLmtA//Z"},v=[{image:{src:h,alt:""},title:"Expert-led care",body:"Meet with a women’s health expert who takes the time to understand your symptoms, your health history, and your goals. Your plan is personalized — not one-sized.",ctaLabel:"How virtual visits work",ctaLink:{href:"/how-midi-works"},tabLabel:"Expert-led care"},{image:{src:f,alt:""},title:"Personalized treatments",body:"No two hormone journeys are the same. Your personalized Care Plan may include prescriptions, treatments, and guidance designed specifically for your needs.",ctaLabel:"Get started today",ctaLink:{href:`${(0,p.getMidiAppBaseUrl)()}/registration/welcome/`},tabLabel:"Personalized treatments"},{image:{src:g,alt:""},title:"Covered by insurance",body:"Book a virtual visit in minutes — no referrals required. Midi accepts many major health plans so you can get the care you need.",ctaLabel:"Check your coverage",ctaLink:{href:"/pricing-insurance"},tabLabel:"Insurance-covered"}],x={src:e.i(317095).default,width:2400,height:1355,blurWidth:8,blurHeight:5,blurDataURL:"data:image/jpeg;base64,/9j/4AAQSkZJRgABAgAAAQABAAD/wAARCAAFAAgDAREAAhEBAxEB/9sAQwAKBwcIBwYKCAgICwoKCw4YEA4NDQ4dFRYRGCMfJSQiHyIhJis3LyYpNCkhIjBBMTQ5Oz4+PiUuRElDPEg3PT47/9sAQwEKCwsODQ4cEBAcOygiKDs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwDVsJnl8RQaRaBLK0sly6RIP3/QYb069qSvGJMWpTcbbH//2Q=="},b={src:e.i(977496).default,width:1200,height:2162,blurWidth:4,blurHeight:8,blurDataURL:"data:image/jpeg;base64,/9j/4AAQSkZJRgABAgAAAQABAAD/wAARCAAIAAQDAREAAhEBAxEB/9sAQwAKBwcIBwYKCAgICwoKCw4YEA4NDQ4dFRYRGCMfJSQiHyIhJis3LyYpNCkhIjBBMTQ5Oz4+PiUuRElDPEg3PT47/9sAQwEKCwsODQ4cEBAcOygiKDs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwDKs7zX7i3E0ttEN5ym04+XtQ5JMcYuSuf/2Q=="};var y=e.i(711945);let C="/lottie/hero-expressive.json";function N(e,a){return 0===a?Math.max(0,1-e):1===a?e<=1?1:Math.max(0,2-e):a>=4?+(1>Math.abs(e-a)):Math.max(0,1-Math.abs(e-a))}function j({pillars:e,sliceType:o}){let r=4+e.length,n=(0,s.useRef)(null),d=(0,s.useRef)(0),[c,u]=(0,s.use
2State)(0),m=(0,s.useCallback)(e=>{cancelAnimationFrame(d.current);let a=window.scrollY,s=e-a,l=null,t=e=>{null===l&&(l=e);let i=Math.min(1,(e-l)/650);window.scrollTo(0,a+s*(1-Math.pow(1-i,3))),i<1&&(d.current=requestAnimationFrame(t))};d.current=requestAnimationFrame(t)},[]),p=(0,s.useCallback)(e=>{let a=n.current;if(!a)return;let s=a.getBoundingClientRect(),l=s.height-window.innerHeight,t=s.top+window.scrollY+e/(r-1)*l;window.matchMedia?.("(prefers-reduced-motion: reduce)").matches?window.scrollTo(0,t):m(t)},[r,m]);(0,s.useEffect)(()=>{let e=n.current;if(!e)return;let a=0,s=()=>{var a;let s,l,t,i=e.getBoundingClientRect(),o=i.height-window.innerHeight,n=Math.min(Math.max(-i.top,0),Math.max(o,0));return s=Math.min(Math.floor(a=(o>0?n/o:0)*(r-1)),r-2),l=a-s,t=0===s?0:3===s?.12:.6,s+(l<t?0:(l-t)/(1-t))},l=()=>{cancelAnimationFrame(a),a=requestAnimationFrame(()=>u(s()))},t=a=>{if(a.defaultPrevented||a.metaKey||a.ctrlKey||a.altKey)return;let l="ArrowDown"===a.key||"ArrowRight"===a.key||"PageDown"===a.key,t="ArrowUp"===a.key||"ArrowLeft"===a.key||"PageUp"===a.key;if(!l&&!t)return;let i=a.target;if(i instanceof Element&&i.closest('input, textarea, select, button, a[href], [role="textbox"], [contenteditable]:not([contenteditable="false"])'))return;let o=e.getBoundingClientRect();if(!(o.top<=1&&o.bottom>=window.innerHeight-1))return;let n=Math.round(s())+(l?1:-1);n<0||n>r-1||(a.preventDefault(),p(n))};return l(),window.addEventListener("scroll",l,{passive:!0}),window.addEventListener("resize",l),window.addEventListener("keydown",t),()=>{window.removeEventListener("scroll",l),window.removeEventListener("resize",l),window.removeEventListener("keydown",t),cancelAnimationFrame(a),cancelAnimationFrame(d.current)}},[r,p]);let h=Math.min(e.length-1,Math.max(0,Math.round(c)-4)),f=e.map(e=>e.tabLabel??e.title),g=N(c,2)>.5,v=Math.min(1,Math.max(0,c)),x=`rgb(${Math.round(255-2*v)}, ${Math.round(255-66*v)}, ${Math.round(255-29*v)})`,b=Math.max(0,Math.min(1,(v-.82)/.12)),A=(e,a,s)=>Math.max(a,Math.min(s,e)),k=A(3-c,0,1),S=A(c-2,0,1),P=S<=.5,I=A(c-3,0,1),M=I<=.5,T=(e,s)=>{let l=N(c,e),t=l<=.5;return(0,a.jsx)("div",{className:y.default.layer,style:{opacity:l,zIndex:0===e?5:void 0},"aria-hidden":t,inert:t,children:s})};return(0,a.jsx)("div",{ref:n,className:y.default.sequence,style:{"--state-count":r},children:(0,a.jsxs)("div",{className:y.default.pin,children:[T(0,(0,a.jsxs)("div",{className:y.default.splitDoors,children:[(0,a.jsx)("div",{className:y.default.doorTop,style:{transform:`translateY(${-(100*v)}%)`}}),(0,a.jsx)("div",{className:y.default.doorBottom,style:{transform:`translateY(${100*v}%)`,backgroundColor:x},children:(0,a.jsx)("h2",{className:y.default.bigHeading,children:"Midi is your map"})})]})),(0,a.jsx)("h2",{className:y.default.journeyTitle,style:{transform:`translateY(calc(${1-v} * (50svh - 180px) + ${v} * var(--seq-nav-clear)))`,color:`rgb(${Math.round(27+228*b)}, ${Math.round(27+228*b)}, ${Math.round(25+230*b)})`,opacity:A(3-c,0,1),textBoxTrim:"trim-both",textBoxEdge:"cap alphabetic"},"aria-hidden":c>2.5,children:"Life is a journey"}),T(1,(0,a.jsx)("div",{className:y.default.photoState,children:(0,a.jsx)(w,{})})),T(2,(0,a.jsxs)("div",{className:y.default.photoState,children:[(0,a.jsx)(w,{}),(0,a.jsxs)("div",{className:y.default.journeyContent,children:[(0,a.jsx)("h2",{className:y.default.bigHeadingOverlay,style:{visibility:"hidden"},"aria-hidden":!0,children:"Life is a journey"}),(0,a.jsxs)("p",{className:y.default.hormonesHeading,children:["It’s not you.",(0,a.jsx)("br",{}),"It’s your hormones."]}),(0,a.jsx)("div",{className:y.default.graphCard,children:(0,a.jsx)(t.LottieImage,{src:C,play:g,loop:!1,ariaLabel:"Animated chart of hormone levels over time",className:y.default.graph})}),(0,a.jsx)("p",{className:y.default.hormonesBody,children:"Hormone changes affect every woman differently, and yours might look nothing like your friend’s, your sister’s, or your mother’s."})]})]})),e.length>0&&(0,a.jsxs)("div",{className:y.default.pillarFrame,style:{opacity:S},"aria-hidden":P,inert:P,children:[(0,a.jsx)("h2",{className:y.default.pillarHeading,style:{transform:`translateY(calc(${k} * 75svh))`},children:"Midi is your map"}),(0,a.jsxs)("div",{className:y.default.pillarContentGroup,style:{opacity:I},"aria-hidden":M,inert:M,children:[(0,a.jsx)("div",{className:y.default.pillarViewport,children:e.map((e,s)=>{var t;let r,n=s!==h;return(0,a.jsxs)("div",{className:y.default.pillarSlide,style:{transform:`translateX(${(r=100*A((t=4+s)-c,-1,1),4===t?Math.min(r,0):r)}%)`},"aria-hidden":n,inert:n,children:[(0,a.jsx)("div",{className:y.default.pillarMedia,children:(0,a.jsx)(l.ImageWrapper,{image:e.image,fill:!0,sizes:"50vw",className:y.default.pillarImage})}),(0,a.jsxs)("div",{className:y.default.pillarContent,children:[(0,a.jsx)("h3",{className:y.default.pillarTitle,children:e.title}),(0,a.jsx)("p",{className:y.default.pillarBody,children:e.body}),(0,a.jsx)(i.CtaExpressive,{size:"xl",...e.ctaLink,ctaType:"secondary",sliceType:o,children:e.ctaLabel})]})]},s)})}),(0,a.jsx)(_,{className:y.default.pillarTabs,labels:f,activeIndex:h,onTabClick:e=>p(4+e)})]})]})]})})}function w(){return(0,a.jsxs)("div",{className:y.default.journeyPhoto,"aria-hidden":!0,
2children:[(0,a.jsx)(l.ImageWrapper,{image:{src:x,alt:""},fill:!0,sizes:"100vw",className:y.default.pillarImage}),(0,a.jsx)("div",{className:y.default.overlay})]})}function A({pillars:e=v,sliceType:s,...l}){return(0,a.jsxs)("section",{className:y.default.root,"data-hero-sequence":!0,...l,children:[(0,a.jsx)(j,{pillars:e,sliceType:s}),(0,a.jsxs)("div",{className:y.default.mobile,children:[(0,a.jsx)(u,{image:{src:b,alt:""},graphSrc:C}),(0,a.jsxs)("div",{className:y.default.mobileMap,children:[(0,a.jsx)("h2",{className:y.default.mapHeading,children:"Midi is your map"}),(0,a.jsx)("div",{className:y.default.mobilePillars,children:e.map((e,l)=>(0,a.jsx)(d,{image:e.image,title:e.title,body:e.body,ctaLabel:e.ctaLabel,ctaLink:e.ctaLink,sliceType:s},l))})]})]})]})}e.s(["HeroSequence",0,A,"default",0,A],987271)},636704,e=>{e.v({back:"CarrierTypeahead-module-scss-module__XMrDYW__back",cantfind:"CarrierTypeahead-module-scss-module__XMrDYW__cantfind",chip:"CarrierTypeahead-module-scss-module__XMrDYW__chip",chips:"CarrierTypeahead-module-scss-module__XMrDYW__chips",divider:"CarrierTypeahead-module-scss-module__XMrDYW__divider",footer:"CarrierTypeahead-module-scss-module__XMrDYW__footer",grouplabel:"CarrierTypeahead-module-scss-module__XMrDYW__grouplabel",header:"CarrierTypeahead-module-scss-module__XMrDYW__header",heading:"CarrierTypeahead-module-scss-module__XMrDYW__heading",input:"CarrierTypeahead-module-scss-module__XMrDYW__input",list:"CarrierTypeahead-module-scss-module__XMrDYW__list",menus:"CarrierTypeahead-module-scss-module__XMrDYW__menus","mobile-open":"CarrierTypeahead-module-scss-module__XMrDYW__mobile-open",option:"CarrierTypeahead-module-scss-module__XMrDYW__option",panel:"CarrierTypeahead-module-scss-module__XMrDYW__panel",root:"CarrierTypeahead-module-scss-module__XMrDYW__root",subheading:"CarrierTypeahead-module-scss-module__XMrDYW__subheading"})},450908,e=>{e.v({bullet:"CoverageResult-module-scss-module__ZjiKqq__bullet",card:"CoverageResult-module-scss-module__ZjiKqq__card",column:"CoverageResult-module-scss-module__ZjiKqq__column",columnActions:"CoverageResult-module-scss-module__ZjiKqq__columnActions",columnTitle:"CoverageResult-module-scss-module__ZjiKqq__columnTitle",columns:"CoverageResult-module-scss-module__ZjiKqq__columns",cta:"CoverageResult-module-scss-module__ZjiKqq__cta",ctaSecondary:"CoverageResult-module-scss-module__ZjiKqq__ctaSecondary",disclaimer:"CoverageResult-module-scss-module__ZjiKqq__disclaimer",divider:"CoverageResult-module-scss-module__ZjiKqq__divider",footer:"CoverageResult-module-scss-module__ZjiKqq__footer",footerLink:"CoverageResult-module-scss-module__ZjiKqq__footerLink",header:"CoverageResult-module-scss-module__ZjiKqq__header",heading:"CoverageResult-module-scss-module__ZjiKqq__heading",helper:"CoverageResult-module-scss-module__ZjiKqq__helper",iconChip:"CoverageResult-module-scss-module__ZjiKqq__iconChip",infoBody:"CoverageResult-module-scss-module__ZjiKqq__infoBody",infoCard:"CoverageResult-module-scss-module__ZjiKqq__infoCard",infoCards:"CoverageResult-module-scss-module__ZjiKqq__infoCards",infoIcon:"CoverageResult-module-scss-module__ZjiKqq__infoIcon",infoText:"CoverageResult-module-scss-module__ZjiKqq__infoText",leadLabel:"CoverageResult-module-scss-module__ZjiKqq__leadLabel",planItem:"CoverageResult-module-scss-module__ZjiKqq__planItem",planList:"CoverageResult-module-scss-module__ZjiKqq__planList",planName:"CoverageResult-module-scss-module__ZjiKqq__planName",priceCaption:"CoverageResult-module-scss-module__ZjiKqq__priceCaption",priceCard:"CoverageResult-module-scss-module__ZjiKqq__priceCard",priceIcon:"CoverageResult-module-scss-module__ZjiKqq__priceIcon",priceLabel:"CoverageResult-module-scss-module__ZjiKqq__priceLabel",priceText:"CoverageResult-module-scss-module__ZjiKqq__priceText",priceValue:"CoverageResult-module-scss-module__ZjiKqq__priceValue",prices:"CoverageResult-module-scss-module__ZjiKqq__prices",subheading:"CoverageResult-module-scss-module__ZjiKqq__subheading"})},614310,e=>{e.v({bar:"CoverageSearchBar-module-scss-module__bBfdcq__bar",check:"CoverageSearchBar-module-scss-module__bBfdcq__check",divider:"CoverageSearchBar-module-scss-module__bBfdcq__divider",field:"CoverageSearchBar-module-scss-module__bBfdcq__field",status:"CoverageSearchBar-module-scss-module__bBfdcq__status"})},918935,e=>{e.v({barWrap:"InsuranceCoverageChecker-module-scss-module__ectBsq__barWrap",body:"InsuranceCoverageChecker-module-scss-module__ectBsq__body",heading:"InsuranceCoverageChecker-module-scss-module__ectBsq__heading",inner:"InsuranceCoverageChecker-module-scss-module__ectBsq__inner",resultWrap:"InsuranceCoverageChecker-module-scss-module__ectBsq__resultWrap",section:"InsuranceCoverageChecker-module-scss-module__ectBsq__section",text:"InsuranceCoverageChecker-module-scss-module__ectBsq__text"})},310573,e=>{"use strict";var a=e.i(843476),s=e.i(271645),l=e.i(207670),t=e.i(555783),i=e.i(677574),o=e.i(572226),r=e.i(145694),n=e.i(691586),d=e.i(944246),c=e.i(450908);let u="$250",m="$150";function _({result:e}){let{branch:s,carrierName:l,stateName:t,acceptedPlans:i,notAcceptedPlans:p}=e,h=()=>(0,d.setRegPaymentType)("insurance"),f=()=>(0,d.setRegPaymentType)("self-pay"),g=e=>(0,a.jsxs)("div",{className:c.default.card,children:[(0,a.jsxs)("div",{className:c.default.header,children:[(0,a.jsxs)("h2",{className:c.default.heading,children:[l," is not in-network with Midi"]}),(0,a.jsx)("p",{className:c.default.subheading,children:"You can still get the same expert Midi care through our self-pay o
2ptions — no insurance required."})]}),(0,a.jsxs)("div",{className:c.default.prices,children:[(0,a.jsxs)("div",{className:c.default.priceCard,children:[(0,a.jsx)("span",{className:c.default.priceIcon,children:(0,a.jsx)(n.ShieldPlusIcon,{})}),(0,a.jsxs)("div",{className:c.default.priceText,children:[(0,a.jsx)("p",{className:c.default.priceLabel,children:"First visit"}),(0,a.jsx)("p",{className:c.default.priceValue,children:u}),(0,a.jsx)("p",{className:c.default.priceCaption,children:"30-minute comprehensive visit"})]})]}),(0,a.jsxs)("div",{className:c.default.priceCard,children:[(0,a.jsx)("span",{className:c.default.priceIcon,children:(0,a.jsx)(n.ShieldPlusIcon,{})}),(0,a.jsxs)("div",{className:c.default.priceText,children:[(0,a.jsx)("p",{className:c.default.priceLabel,children:"Follow-up visits"}),(0,a.jsx)("p",{className:c.default.priceValue,children:m}),(0,a.jsx)("p",{className:c.default.priceCaption,children:"15-minute visit"})]})]})]}),(0,a.jsxs)("div",{className:c.default.footer,children:[(0,a.jsx)("hr",{className:c.default.divider}),(0,a.jsx)(r.CtaMidiAppLink,{midiAppPage:"welcome",ctaType:"primary",sliceType:"insurance_coverage_checker",analyticsCtaType:"insurance_checker_self_pay",className:c.default.cta,onClick:f,children:"Create account & book a self-pay visit"}),e&&(0,a.jsx)("p",{className:c.default.disclaimer,children:e})]})]});return"in_network"===s?(0,a.jsxs)("div",{className:c.default.card,children:[(0,a.jsxs)("div",{className:c.default.header,children:[(0,a.jsxs)("h2",{className:c.default.heading,children:["Good news — we work with most ",l," plans in ",t,"."]}),(0,a.jsx)("p",{className:c.default.subheading,children:"Check the lists below to see if your specific plan is accepted or not."})]}),(0,a.jsxs)("div",{className:c.default.columns,children:[(0,a.jsxs)("div",{className:c.default.column,children:[(0,a.jsx)("h3",{className:c.default.columnTitle,children:"Accepted"}),(0,a.jsx)("ul",{className:c.default.planList,children:i.map(e=>(0,a.jsxs)("li",{className:c.default.planItem,children:[(0,a.jsx)("span",{className:c.default.bullet}),(0,a.jsx)("span",{className:c.default.planName,children:e})]},e))}),(0,a.jsxs)("div",{className:c.default.columnActions,children:[(0,a.jsx)("p",{className:c.default.leadLabel,children:"See your plan in the accepted list?"}),(0,a.jsx)(r.CtaMidiAppLink,{midiAppPage:"welcome",ctaType:"primary",sliceType:"insurance_coverage_checker",analyticsCtaType:"insurance_checker_insurance",className:c.default.cta,onClick:h,children:"Create account & upload my insurance card"}),(0,a.jsx)("p",{className:c.default.helper,children:"Uploading your insurance card allows us to verify your exact coverage and book a visit."})]})]}),(0,a.jsxs)("div",{className:c.default.column,children:[(0,a.jsx)("h3",{className:c.default.columnTitle,children:"Not accepted"}),(0,a.jsx)("ul",{className:c.default.planList,children:p.map(e=>(0,a.jsxs)("li",{className:c.default.planItem,children:[(0,a.jsx)("span",{className:c.default.bullet}),(0,a.jsx)("span",{className:c.default.planName,children:e})]},e))}),(0,a.jsxs)("div",{className:c.default.columnActions,children:[(0,a.jsx)("p",{className:c.default.leadLabel,children:"Plan not accepted?"}),(0,a.jsx)(r.CtaMidiAppLink,{midiAppPage:"welcome",ctaType:"secondary",sliceType:"insurance_coverage_checker",analyticsCtaType:"insurance_checker_self_pay",className:c.default.ctaSecondary,onClick:f,children:"Create account & book a self-pay visit"}),(0,a.jsxs)("p",{className:c.default.helper,children:["You can still receive expert Midi care through our self-pay options. Your first 30-minute comprehensive visit is"," ",u," and follow-up 15-minute visits are"," ",m,"."]})]})]})]}),(0,a.jsx)(r.CtaMidiAppLink,{midiAppPage:"welcome",ctaType:"inline",sliceType:"insurance_coverage_checker",analyticsCtaType:"insurance_checker_insurance",className:c.default.footerLink,onClick:h,children:"Don’t see your plan listed?"})]}):"not_in_network"===s?g():"ineligible"===s?"Medicare"===l?g("Midi is not covered by Medicare or any Medicare-related insurance plan. Midi can accept Medicare beneficiaries as 
2self-pay patients, but beneficiaries cannot submit any claims related to their Midi visits, medications, or associated services."):(0,a.jsx)("div",{className:c.default.card,children:(0,a.jsxs)("div",{className:c.default.header,children:[(0,a.jsx)("h2",{className:c.default.heading,children:"We’re not able to accept Medicaid or Medi-Cal patients at this time"}),(0,a.jsxs)("p",{className:c.default.subheading,children:["Midi Health and its medical groups are not enrolled with state healthcare programs including Medicaid and Medi-Cal.",(0,a.jsx)("br",{}),"Unfortunately, we cannot treat Medicaid or Medi-Cal patients at this time, including as self-pay patients."]})]})}):(0,a.jsxs)("div",{className:c.default.card,children:[(0,a.jsx)("span",{className:c.default.iconChip,children:(0,a.jsx)(o.ArrowTopRightIcon,{width:24,height:24,"aria-hidden":!0})}),(0,a.jsxs)("div",{className:c.default.header,children:[(0,a.jsx)("h2",{className:c.default.heading,children:"We may be able to cover you — let’s find out"}),(0,a.jsx)("p",{className:c.default.subheading,children:"We accept most major insurance plans."})]}),(0,a.jsxs)("div",{className:c.default.infoCards,children:[(0,a.jsxs)("div",{className:c.default.infoCard,children:[(0,a.jsx)("span",{className:c.default.infoIcon,children:(0,a.jsx)(n.HeartCrossBoldIcon,{})}),(0,a.jsxs)("div",{className:c.default.infoText,children:[(0,a.jsxs)("p",{className:c.default.infoBody,children:[(0,a.jsx)("strong",{children:"Create a free account and upload a photo of your insurance card."})," ","Our team will review it and confirm whether you’re in-network."]}),(0,a.jsx)(r.CtaMidiAppLink,{midiAppPage:"welcome",ctaType:"primary",sliceType:"insurance_coverage_checker",analyticsCtaType:"insurance_checker_insurance",className:c.default.cta,onClick:h,children:"Create account & upload my insurance card"})]})]}),(0,a.jsxs)("div",{className:c.default.infoCard,children:[(0,a.jsx)("span",{className:c.default.infoIcon,children:(0,a.jsx)(n.ShieldPlusIcon,{})}),(0,a.jsx)("div",{className:c.default.infoText,children:(0,a.jsxs)("p",{className:c.default.infoBody,children:[(0,a.jsx)("strong",{children:"Call your insurance company"})," and ask: “Is Midi Health an in-network provider on my plan?”"]})})]})]})]})}var p=e.i(662537),h=e.i(331966),f=e.i(762630),g=e.i(636704);let v={name:i.CANT_FIND_CARRIER,synonyms:[],popular:!1};function x({carriers:e,value:i,onChange:r,onCantFind:n,placeholder:d="Select your insurance carrier",disabled:c=!1}){let[u,m]=(0,s.useState)(""),_=(0,t.useIsMobile)(),p=(0,s.useRef)(null),h=""===u?e:e.filter(e=>{let a;return a=u.toLowerCase(),!!e.name.toLowerCase().includes(a)||e.synonyms.some(e=>e.toLowerCase().includes(a))}),b=e.filter(e=>e.popular);return(0,a.jsx)(f.Combobox,{as:"div",value:i,onChange:e=>{e===v?n():r(e),setTimeout(()=>p.current?.blur(),0)},onClose:()=>m(""),disabled:c,immediate:!0,className:({open:e})=>(0,l.default)(g.default.root,e&&_&&g.default["mobile-open"],e&&_&&"coverage-search-overlay"),children:({open:e})=>(0,a.jsxs)(a.Fragment,{children:[e&&_&&(0,a.jsxs)("button",{type:"button",className:g.default.back,onMouseDown:e=>e.preventDefault(),onClick:()=>p.current?.blur(),children:[(0,a.jsx)(o.ArrowLeftIcon,{width:20,height:20}),"Back"]}),(0,a.jsx)(f.ComboboxInput,{ref:p,"aria-label":d,placeholder:d,autoComplete:"off",className:g.default.input,displayValue:e=>e?.name??"",onChange:e=>m(e.target.value)}),(0,a.jsxs)(f.ComboboxOptions,{as:"div",modal:!1,transition:!0,className:g.default.panel,children:[(0,a.jsxs)("div",{className:g.default.header,children:[(0,a.jsx)("h3",{className:g.default.heading,children:"Select insurance carrier"}),(0,a.jsx)("p",{className:g.default.subheading,children:"We accept most major insurance plans."})]}),(0,a.jsxs)("div",{className:g.default.menus,children:[""===u&&b.length>0&&(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:g.default.grouplabel,children:"Popular carriers"}),(0,a.jsx)("div",{className:g.default.chips,children:b.map(e=>(0,a.jsx)(f.ComboboxOption,{value:e,className:g.default.chip,children:e.name},`chip-${e.name}`))})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:g.default.grouplabel,children:"All carriers"}),(0,a.jsx)("ul",{className:g.default.list,children:h.map(e=>(0,a.jsx)(f.ComboboxOption,{as:"li",value:e,className:g.default.option,children:e.name},e.name))})]})]}),(0,a.jsxs)("div",{className:g.default.footer,children:[(0,a.jsx)("div",{className:g.default.divider}),(0,a.jsx)(f.ComboboxOption,{value:v,className:g.default.cantfind,children:"Can’t find my insurance"})]})]})]})})}var b=e.i(301825),y=e.i(614310);function C({states:e,fetchStateData:l,onResult:t}
2){let[o,r]=(0,s.useState)(null),[d,c]=(0,s.useState)(null),[u,m]=(0,s.useState)(!1),[_,f]=(0,s.useState)([]),[g,v]=(0,s.useState)(!1),N=(0,s.useRef)({}),j=(0,s.useRef)(0),w=async e=>{if(r(e),c(null),m(!1),f([]),!e)return;(0,h.trackEvent)("Insurance Coverage Checker - State Selected",{state_code:e.code,state_name:e.name});let a=N.current[e.code];if(a)return void f((0,i.carriersFromRows)(a));let s=++j.current;v(!0);try{let a=await l(e.code);N.current[e.code]=a,s===j.current&&f((0,i.carriersFromRows)(a))}catch(a){p.captureException(a,{tags:{midi_report:"true",context:"insurance-coverage-checker"},extra:{stateCode:e.code}})}finally{s===j.current&&v(!1)}},A=e=>{if(!o)return;let a=e===i.CANT_FIND_CARRIER;(0,h.trackEvent)("Insurance Coverage Checker - Carrier Selected",{state_code:o.code,state_name:o.name,carrier_name:a?"Can't find my insurance":e,cant_find:a});let s=N.current[o.code]??[];t((0,i.coverageFromRows)(s,o.code,e))};return(0,a.jsxs)("div",{className:y.default.bar,children:[(0,a.jsx)("div",{className:y.default.field,children:(0,a.jsx)(b.Typeahead,{items:e,value:o,onChange:w,getOptionLabel:e=>e.name,getOptionKey:e=>e.code,placeholder:"Select US state",ariaLabel:"Select US state",immediate:!0,minQueryLength:0})}),(0,a.jsx)("div",{className:y.default.divider}),(0,a.jsx)("div",{className:y.default.field,children:(0,a.jsx)(x,{carriers:_,value:d,onChange:e=>{c(e),m(!1),o&&e&&A(e.name)},onCantFind:()=>{c(null),m(!0),A(i.CANT_FIND_CARRIER)},disabled:!o||g})}),(!!d||u)&&(0,a.jsx)("span",{className:y.default.status,children:(0,a.jsx)(n.CheckCircleOutlineIcon,{className:y.default.check})})]})}var N=e.i(918935);async function j(e){let a=await fetch(`/api/insurance-coverage?state=${encodeURIComponent(e)}`);
2if(!a.ok)throw Error(`Coverage data fetch failed (${a.status})`);return(await a.json()).rows}function w({heading:e="Check your coverage",body:o="Midi is in-network with most major insurance providers across the country — but your specific plan matters. Enter your state and insurance carrier below to find out where you stand.",states:r=(0,i.getStates)(),fetchStateData:n=j,className:d,...c}){let[u,m]=(0,s.useState)(null),p=(0,t.useIsMobile)(),h=(0,s.useRef)(null);return(0,s.useEffect)(()=>{u&&p&&h.current?.scrollIntoView({behavior:"smooth",block:"start"})},[u,p]),(0,a.jsx)("section",{className:(0,l.default)(N.default.section,d),...c,children:(0,a.jsxs)("div",{className:N.default.inner,children:[(0,a.jsxs)("div",{className:N.default.text,children:[(0,a.jsx)("h2",{className:N.default.heading,children:e}),(0,a.jsx)("p",{className:N.default.body,children:o})]}),(0,a.jsx)("div",{className:N.default.barWrap,children:(0,a.jsx)(C,{states:r,fetchStateData:n,onResult:m})}),u&&(0,a.jsx)("div",{ref:h,className:(0,l.default)(N.default.barWrap,N.default.resultWrap),children:(0,a.jsx)(_,{result:u})})]})})}e.s(["InsuranceCoverageChecker",0,w,"default",0,w],310573)},417358,e=>{e.v({bg:"JourneyBlock-module-scss-module__S_D5ra__bg",body:"JourneyBlock-module-scss-module__S_D5ra__body",content:"JourneyBlock-module-scss-module__S_D5ra__content",copy:"JourneyBlock-module-scss-module__S_D5ra__copy",eyebrow:"JourneyBlock-module-scss-module__S_D5ra__eyebrow",graph:"JourneyBlock-module-scss-module__S_D5ra__graph",graphCard:"JourneyBlock-module-scss-module__S_D5ra__graphCard",heading:"JourneyBlock-module-scss-module__S_D5ra__heading",image:"JourneyBlock-module-scss-module__S_D5ra__image",journey:"JourneyBlock-module-scss-module__S_D5ra__journey",overlay:"JourneyBlock-module-scss-module__S_D5ra__overlay"})},76160,e=>{e.v({active:"PillarTabs-module-scss-module__ZHbUEG__active",group:"PillarTabs-module-scss-module__ZHbUEG__group",tab:"PillarTabs-module-scss-module__ZHbUEG__tab"})},741180,e=>{e.v({"card-in":"LinkedProductsExplorer-module-scss-module__cGK9ma__card-in",clear:"LinkedProductsExplorer-module-scss-module__cGK9ma__clear",ctaCard:"LinkedProductsExplorer-module-scss-module__cGK9ma__ctaCard",empty:"LinkedProductsExplorer-module-scss-module__cGK9ma__empty",explorer:"LinkedProductsExplorer-module-scss-module__cGK9ma__explorer",filterTrigger:"LinkedProductsExplorer-module-scss-module__cGK9ma__filterTrigger",filterTriggerActive:"LinkedProductsExplorer-module-scss-module__cGK9ma__filterTriggerActive",filters:"LinkedProductsExplorer-module-scss-module__cGK9ma__filters",grid:"LinkedProductsExplorer-module-scss-module__cGK9ma__grid",panel:"LinkedProductsExplorer-module-scss-module__cGK9ma__panel",rxToggle:"LinkedProductsExplorer-module-scss-module__cGK9ma__rxToggle",rxToggleActive:"LinkedProductsExplorer-module-scss-module__cGK9ma__rxToggleActive",seeAll:"LinkedProductsExplorer-module-scss-module__cGK9ma__seeAll",seeAllButton:"LinkedProductsExplorer-module-scss-module__cGK9ma__seeAllButton",srOnly:"LinkedProductsExplorer-module-scss-module__cGK9ma__srOnly"})},460927,e=>{"use strict";var a=e.i(843476),s=e.i(271645),l=e.i(207670),t=e.i(414553),i=e.i(550817),o=e.i(274856),r=e.i(429366),n=e.i(306970),d=e.i(741180);let c="explorer-filter",u="data-explorer-deeplink";function m({products:e,symptomOptions:_,ctaCard:p,className:h,...f}){let[g,v]=(0,s.useState)(null),[x,b]=(0,s.useState)(!1),[y,C]=(0,s.useState)(!1),N=(0,s.useRef)(null),j=(0,s.useRef)(null),w=(0,s.useRef)(null),A=(0,s.useRef)(!1),k=(0,s.useRef)(!1),S=null!==g||x,P=(0,s.useCallback)(({onlyUp:e=!1}={})=>{let a=j.current,s=w.current;if(!a||!s)return;let l=parseFloat(getComputedStyle(a).top)||0,t=Math.max(0,window.scrollY+s.getBoundingClientRect().top-l-a.offsetHeight);e&&window.scrollY<=t||window.scrollTo({top:t,behavior:window.matchMedia("(prefers-reduced-motion: reduce)").matches?"auto":"smooth"})},[]);(0,s.useEffect)(()=>{if(A.current)return;let e=new URLSearchParams(window.location.search).get(c);e&&_?.some(a=>a.value===e)&&(A.current=!0,v(e),document.querySelector(`[${u}]`)===N.current&&(k.current=!0,P()))},[_,P]);let I=(0,s.useRef)(!1);(0,s.useEffect)(()=>
2{if(!I.current){I.current=!0;return}if(k.current){k.current=!1;return}P({onlyUp:!0})},[g,x,P]);let M=(0,s.useMemo)(()=>e.filter(e=>e.image&&e.title),[e]),T=(0,s.useMemo)(()=>M.filter(e=>(null===g||e.symptoms?.includes(g))&&(!x||e.rxFree)),[M,g,x]),E=y?T:T.slice(0,8),W=E.length<T.length,B=!!_?.length,O=M.some(e=>void 0!==e.rxFree),q=_?.find(e=>e.value===g);return(0,a.jsx)("section",{ref:N,className:(0,l.default)(d.default.explorer,h),[u]:"",...f,children:(0,a.jsxs)("div",{className:d.default.panel,children:[(0,a.jsxs)("div",{ref:j,className:d.default.filters,children:[B&&(0,a.jsx)(t.SymptomDropdown,{floating:!0,closeOnSelect:"always",label:"Filter by symptom",selectedLabel:q?.label,triggerClassName:(0,l.default)(d.default.filterTrigger,null!==g&&d.default.filterTriggerActive),options:_??[],value:g,onValueChange:e=>{v(a=>a===e?null:e),C(!1)}}),O&&(0,a.jsx)(r.Button,{variant:"chip",selected:x,className:(0,l.default)(d.default.rxToggle,x&&d.default.rxToggleActive),onClick:()=>{b(e=>!e),C(!1)},children:"See supplements only"}),S&&(0,a.jsx)(r.Button,{variant:"simple-link",className:d.default.clear,onClick:()=>{v(null),b(!1),C(!1)},children:"Clear filter"})]}),(0,a.jsx)("p",{className:d.default.srOnly,role:"status","aria-live":"polite",children:E.length<T.length?`Showing ${E.length} of ${T.length} products`:`${T.length} ${1===T.length?"product":"products"}`}),S&&0===T.length&&(0,a.jsx)("p",{className:d.default.empty,children:"No products match these filters."}),(0,a.jsxs)("div",{ref:w,className:d.default.grid,children:[E.map(e=>(0,a.jsx)(o.EcommerceCard,{image:e.image,title:e.title,description:e.description,tag:e.tag?(0,a.jsx)(n.SimpleTag,{size:"small",children:e.tag}):void 0,label:e.label?(0,a.jsx)(n.SimpleTag,{size:"small",colorFill:!1,children:e.label}):void 0,href:e.href,field:e.field,document:e.document},e.id)),p&&(0,a.jsx)(i.StaticCard,{...p,divider:!1,className:d.default.ctaCard})]},`${g??""}|${x}`),W&&(0,a.jsx)("div",{className:d.default.seeAll,children:(0,a.jsx)(r.Button,{className:d.default.seeAllButton,variant:"simple-link",onClick:()=>C(!0),children:"See all products"})})]})})}e.s(["EXPLORER_FILTER_PARAM",0,c,"LinkedProductsExplorer",0,m,"default",0,m])},259751,e=>{e.v({body:"PersonCard-module-scss-module__8YphPq__body",card:"PersonCard-module-scss-module__8YphPq__card",credentials:"PersonCard-module-scss-module__8YphPq__credentials",header:"PersonCard-module-scss-module__8YphPq__header",image:"PersonCard-module-scss-module__8YphPq__image",imageWrap:"PersonCard-module-scss-module__8YphPq__imageWrap",linkRow:"PersonCard-module-scss-module__8YphPq__linkRow",name:"PersonCard-module-scss-module__8YphPq__name"})},549082,e=>{e.v({carousel:"PeopleCarousel-module-scss-module__GDz8ZW__carousel",control:"PeopleCarousel-module-scss-module__GDz8ZW__control",indicator:"PeopleCarousel-module-scss-module__GDz8ZW__indicator",slide:"PeopleCarousel-module-scss-module__GDz8ZW__slide",thumb:"PeopleCarousel-module-scss-module__GDz8ZW__thumb",track:"PeopleCarousel-module-scss-module__GDz8ZW__track",viewport:"PeopleCarousel-module-scss-module__GDz8ZW__viewport"})},207677,e=>{e.v({body:"MeetOurClinicians-module-scss-module__T_swqG__body",carousel:"MeetOurClinicians-module-scss-module__T_swqG__carousel",heading:"MeetOurClinicians-module-scss-module__T_swqG__heading",headline:"MeetOurClinicians-module-scss-module__T_swqG__headline",lower:"MeetOurClinicians-module-scss-module__T_swqG__lower",prompt:"MeetOurClinicians-module-scss-module__T_swqG__prompt",search:"MeetOurClinicians-module-scss-module__T_swqG__search",section:"MeetOurClinicians-module-scss-module__T_swqG__section"})},556719,e=>{"use strict";var a=e.i(843476),s=e.i(271645),l=e.i(618566),t=e.i(207670),i=e.i(556917);e.i(556894);var o=e.i(991026),r=e.i(130013),n=e.i(784593);e.i(54829);var d=e.i(527298),c=e.i(281739),u=e.i(226006),m=e.i(259751);function _({image:e,name:s,credentials:l,link:i,className:o,...r}){return null==e&&(null==s||""===s)?null:(0,a.jsxs)("article",{className:(0,t.default)(m.default.card,o),...r,children:[null!=e&&(0,a.jsx)("div",{className:m.default.imageWrap,children:(0,a.jsx)(u.ImageWrapper,{image:e,fill:!0,className:m.default.image,sizes:"(min-width: 768px) 280px, 82vw"})}),(0,a.jsxs)("div",{className:m.default.body,children:[(0,a.jsxs)("div",{className:m.default.header,children:[null!=s&&""!==s&&(0,a.jsx)("p",{className:m.default.name,children:s}),null!=l&&""!==l&&(0,a.jsx)("p",{className:m.default.credentials,children:l})]}),null!=i&&(0,a.jsx)("div",{className:m.default.linkRow,children:i})]})]})}var p=e.i(549082);
2function h({people:e,className:l,...i}){let[o,u]=(0,r.default)({align:"start",containScroll:"trimSnaps"},[(0,n.WheelGesturesPlugin)()]),{scrollPrev:m,scrollNext:f,prevBtnDisabled:g,nextBtnDisabled:v}=(0,d.useCarouselNav)(u),[x,b]=(0,s.useState)(0),y=(0,s.useCallback)(e=>{b(Math.max(0,Math.min(1,e.scrollProgress())))},[]);return((0,s.useEffect)(()=>{if(u)return u.on("scroll",y).on("reInit",y),()=>{u.off("scroll",y).off("reInit",y)}},[u,y]),null!=e&&e.length>0)?(0,a.jsxs)("div",{className:(0,t.default)(p.default.carousel,l),...i,children:[(0,a.jsx)("div",{className:p.default.viewport,ref:o,children:(0,a.jsx)("div",{className:p.default.track,children:e.map((e,s)=>(0,a.jsx)("div",{className:p.default.slide,children:(0,a.jsx)(_,{...e})},s))})}),(0,a.jsxs)("div",{className:p.default.control,children:[(0,a.jsx)(c.CarouselArrow,{direction:"prev",size:"sm",onClick:m,disabled:g}),(0,a.jsx)("div",{className:p.default.indicator,style:{"--progress":x},children:(0,a.jsx)("span",{className:p.default.thumb})}),(0,a.jsx)(c.CarouselArrow,{direction:"next",size:"sm",onClick:f,disabled:v})]})]}):null}var f=e.i(207677);let g="Find your clinician";function v({clinicians:e=[],people:r,className:n,...d}){let c=(0,l.useRouter)(),[u,m]=(0,s.useState)(null);return(0,s.useEffect)(()=>{u&&c.push(`team/${u.uid}`)},[u,c]),(0,a.jsxs)("section",{className:(0,t.default)(f.default.section,n),...d,children:[(0,a.jsxs)("div",{className:f.default.headline,children:[(0,a.jsx)("h2",{className:f.default.heading,children:"Meet our clinicians"}),(0,a.jsx)("p",{className:f.default.body,children:"Midi clinicians train continuously to stay ahead of the latest research in women's health. The care you get reflects where the science is now, not where it was a decade ago."})]}),(0,a.jsxs)("div",{className:f.default.lower,children:[(0,a.jsx)("p",{className:f.default.prompt,children:"Looking for a specific Midi Clinician? Search by first or last name."}),(0,a.jsx)(i.Typeahead,{className:f.default.search,items:e,value:u,onChange:m,getOptionLabel:e=>e.name,getOptionKey:e=>e.uid,filter:(e,a)=>e.name.toLowerCase().includes(a.toLowerCase()),placeholder:g,ariaLabel:g,leadingIcon:(0,a.jsx)(o.SearchIcon,{title:""})}),(0,a.jsx)(h,{className:f.default.carousel,people:r})]})]})}e.s(["MeetOurClinicians",0,v,"default",0,v],556719)},372230,e=>{e.v({body:"ProductCarousel-module-scss-module__8X5BiG__body",carousel:"ProductCarousel-module-scss-module__8X5BiG__carousel",controls:"ProductCarousel-module-scss-module__8X5BiG__controls",counter:"ProductCarousel-module-scss-module__8X5BiG__counter",desc:"ProductCarousel-module-scss-module__8X5BiG__desc",divider:"ProductCarousel-module-scss-module__8X5BiG__divider",footer:"ProductCarousel-module-scss-module__8X5BiG__footer",header:"ProductCarousel-module-scss-module__8X5BiG__header",image:"ProductCarousel-module-scss-module__8X5BiG__image",imageWrap:"ProductCarousel-module-scss-module__8X5BiG__imageWrap",noImage:"ProductCarousel-module-scss-module__8X5BiG__noImage",slide:"ProductCarousel-module-scss-module__8X5BiG__slide",tagRow:"ProductCarousel-module-scss-module__8X5BiG__tagRow",title:"ProductCarousel-module-scss-module__8X5BiG__title",track:"ProductCarousel-module-scss-module__8X5BiG__track",viewport:"ProductCarousel-module-scss-module__8X5BiG__viewport"})},621695,e=>{"use strict";var a=e.i(843476),s=e.i(271645),l=e.i(207670),t=e.i(130013),i=e.i(737762);e.i(54829);var o=e.i(527298),r=e.i(281739),n=e.i(402555),d=e.i(226006),c=e.i(306970),u=e.i(372230),m=e.i(392531);function _({items:e,className:p}){let h=(0,s.useMemo)(()=>(0,i.default)({delay:4e3,stopOnInteraction:!1,stopOnMouseEnter:!0}),[]),[f,g]=(0,t.default)({loop:!0},[h]),{scrollPrev:v,scrollNext:x}=(0,o.useCarouselNav)(g),[b,y]=(0,s.useState)(0);(0,s.useEffect)(()=>{g&&window.matchMedia("(prefers-reduced-motion: reduce)").matches&&h.stop()},[g,h]),(0,s.useEffect)(()=>{if(!g)return;let e=()=>y(g.selectedScrollSnap());return e(),g.on("select",e).on("reInit",e),()=>{g.off("select",e).off("reInit",e)}},[g]);let C=e.some(e=>null!=e.tag),N=e[b]?.tag;return(0,a.jsxs)("div",{className:(0,l.default)(u.default.carousel,p),children:[C&&
2(0,a.jsx)("div",{className:u.default.tagRow,children:null!=N&&("string"==typeof N?(0,a.jsx)(c.SimpleTag,{children:N}):N)}),(0,a.jsx)("div",{className:u.default.viewport,ref:f,children:(0,a.jsx)("div",{className:u.default.track,children:e.map((e,s)=>(0,a.jsxs)("article",{className:(0,l.default)(u.default.slide,null==e.image&&u.default.noImage),children:[null!=e.image&&(0,a.jsx)("div",{className:u.default.imageWrap,children:(0,a.jsx)(d.ImageWrapper,{image:e.image,className:u.default.image})}),(0,a.jsxs)("div",{className:u.default.body,children:[(0,a.jsxs)("div",{className:u.default.header,children:[null!=e.title&&(0,a.jsx)("p",{className:u.default.title,children:e.title}),null!=e.description&&(0,a.jsx)("p",{className:u.default.desc,children:e.description})]}),(0,m.hasLinkDestination)(e.ctaLink)?(0,a.jsxs)("div",{className:u.default.footer,children:[(0,a.jsx)("span",{className:u.default.divider,"aria-hidden":!0}),(0,a.jsx)(n.Cta,{appearance:"expressive",size:"lg",...e.ctaLink,ctaType:"secondary",sliceType:"products-hero",children:e.ctaLabel??"Learn More"})]}):null]})]},s))})}),(0,a.jsxs)("div",{className:u.default.controls,children:[(0,a.jsx)(r.CarouselArrow,{direction:"prev",size:"lg",onClick:v}),(0,a.jsxs)("span",{className:u.default.counter,children:[b+1,"/",e.length]}),(0,a.jsx)(r.CarouselArrow,{direction:"next",size:"lg",onClick:x})]})]})}e.s(["ProductCarousel",0,_,"default",0,_])},629924,e=>{e.v({bracket:"ProductCarouselAsym-module-scss-module__44k-hG__bracket",control:"ProductCarouselAsym-module-scss-module__44k-hG__control",ctaBelow:"ProductCarouselAsym-module-scss-module__44k-hG__ctaBelow",ctaButton:"ProductCarouselAsym-module-scss-module__44k-hG__ctaButton",ctaInline:"ProductCarouselAsym-module-scss-module__44k-hG__ctaInline",heading:"ProductCarouselAsym-module-scss-module__44k-hG__heading",headline:"ProductCarouselAsym-module-scss-module__44k-hG__headline",indicator:"ProductCarouselAsym-module-scss-module__44k-hG__indicator",lockup:"ProductCarouselAsym-module-scss-module__44k-hG__lockup",section:"ProductCarouselAsym-module-scss-module__44k-hG__section",slide:"ProductCarouselAsym-module-scss-module__44k-hG__slide",sub:"ProductCarouselAsym-module-scss-module__44k-hG__sub",thumb:"ProductCarouselAsym-module-scss-module__44k-hG__thumb",track:"ProductCarouselAsym-module-scss-module__44k-hG__track",viewport:"ProductCarouselAsym-module-scss-module__44k-hG__viewport"})},346823,e=>{"use strict";var a=e.i(843476),s=e.i(271645),l=e.i(207670),t=e.i(130013),i=e.i(784593);e.i(54829);var o=e.i(527298),r=e.i(429366),n=e.i(281739);e.i(556894);var d=e.i(417207),c=e.i(216571),u=e.i(392531),m=e.i(978994);function _({label:e,href:s,field:t,document:i,className:o}){let r={href:s,field:t,document:i},n=(0,u.hasLinkDestination)(r);return(0,a.jsxs)(c.V2Link,{...r,fallbackAs:"span",className:(0,l.default)(m.default.card,n&&m.default.link,o),children:[(0,a.jsx)("span",{className:m.default.label,children:e}),n&&(0,a.jsx)("span",{className:m.default.arrow,children:(0,a.jsx)(d.ArrowGlyphIcon,{size:"md"})})]})}var p=e.i(157403),h=e.i(629924);function f({heading:e,subheading:d,ctaLabel:c,ctaLink:m,products:g,ctaCard:v,className:x,...b}){let[y,C]=(0,t.default)({align:"start",containScroll:"trimSnaps"},[(0,i.WheelGesturesPlugin)()]),{scrollPrev:N,scrollNext:j,prevBtnDisabled:w,nextBtnDisabled:A}=(0,o.useCarouselNav)(C),[k,S]=(0,s.useState)(0),P=(0,s.useCallback)(e=>{S(Math.max(0,Math.min(1,e.scrollProgress())))},[]);(0,s.useEffect)(()=>{if(C)return C.on("scroll",P).on("reInit",P),()=>{C.off("scroll",P).off("reInit",P)}},[C,P]);let I=c&&(0,u.hasLinkDestination)(m),M=null!=g&&g.length>0,T=I?(0,a.jsx)(r.Button,{className:h.default.ctaButton,variant:"primary",size:"lg",...m,children:c}):null;return(0,a.jsxs)("section",{className:(0,l.default)(h.default.section,x),...b,children:[null!=e&&(0,a.jsx)("div",{className:h.default.headline,children:(0,a.jsx)("h2",{className:h.default.heading,children:e})}),(d||T)&&(0,a.jsxs)("div",{className:h.default.lockup,children:[d&&(0,a.jsx)("p",{className:h.default.sub,children:d}),T&&(0,a.jsx)("div",{className:h.default.ctaInline,children:T})]}),(M||null!=v)&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:h.default.viewport,ref:y,children:(0,a.jsxs)("div",{className:h.default.track,children:[g?.map((e,s)=>(0,a.jsx)("div",{className:h.default.slide,children:(0,a.jsx)(p.FlipCard,{title:e.title,image:e.image,ctaLabel:e.ctaLabel,...e.ctaLink})},s)),null!=v&&(0,a.jsx)("div",{className:h.default.slide,children:(0,a.jsx)(_,{...v})})]})}),(0,a.jsxs)("div",{className:h.default.control,children:[(0,a.jsx)(n.CarouselArrow,{direction:"prev",size:"sm",onClick:N,disabled:w}),(0,a.jsx)("div",{className:h.default.indicator,style:{"--progress":k},children:(0,a.jsx)("span",{className:h.default.thumb})}),(0,a.jsx)(n.CarouselArrow,{direction:"next",size:"sm",onClick:j,disabled:A})]})]}),T&&(0,a.jsx)("div",{className:h.default.ctaBelow,children:T})]})}e.s(["ProductCarouselAsym",0,f,"default",0,f],346823)},731051,e=>{e.v({"card-in":"ProductExplorer-module-scss-module__RwEBBW__card-in",ctaCard:"ProductExplorer-module-scss-module__RwEBBW__ctaCard",empty:"ProductExplorer-module-scss-module__RwEBBW__empty",explorer:"ProductExplorer-module-scss-module__RwEBBW__explorer",grid:"ProductExplorer-module-scss-module__RwEBBW__grid",header:"ProductExplorer-module-scss-module__RwEBBW__header",heading:"ProductExplorer-module-scss-module__RwEBBW__heading",lockup:"ProductExplorer-module-scss-module__RwEBBW__lockup",panel:"ProductExplorer-module-scss-module__RwEBBW__panel",seeAll:"ProductExplorer-module-scss-module__RwEBBW__seeAll",seeAllButton:"ProductExplorer-module-scss-module__RwEBBW__seeAllButton",srOnly:"ProductExplorer-module-scss-module__RwEBBW__srOnly",sub:"ProductExplorer-module-scss-module__RwEBBW__sub"})},101691,e=>{"use strict";var a=e.i(843476),s=e.i(271645),l=e.i(207670),t=e.i(414553),i=e.i(550817),o=e.i(274856),r=e.i(429366),n=e.i(306970);e.i(556894);var d=e.i(604390),c=e.i(731051);function u({products:e,symptomOptions:m,heading:_,subheading:p,filterable:h=!0,ctaCard:f,className:g,...v}
2){let[x,b]=(0,s.useState)("all"),[y,C]=(0,s.useState)(!1),N="all"===x,j=(0,s.useMemo)(()=>[{value:"all",label:"All products",icon:(0,a.jsx)(d.LinkIcon,{title:""})},...m??[]],[m]),w=(0,s.useMemo)(()=>e.filter(e=>e.image&&e.title),[e]),A=(0,s.useMemo)(()=>!h||N?w:w.filter(e=>e.symptoms?.includes(x)),[w,x,N,h]),k=h&&N&&!y?A.slice(0,8):A,S=h&&N&&k.length<A.length,P=h&&!!m?.length;return(0,a.jsx)("section",{className:(0,l.default)(c.default.explorer,g),...v,children:(0,a.jsxs)("div",{className:c.default.panel,children:[(_||p)&&(0,a.jsxs)("div",{className:c.default.header,children:[_,p&&(0,a.jsx)("div",{className:c.default.lockup,children:p})]}),P&&(0,a.jsx)(t.SymptomDropdown,{label:"Filter by symptom",options:j,value:x,onValueChange:e=>{b(e),C(!1)}}),h&&(0,a.jsx)("p",{className:c.default.srOnly,role:"status","aria-live":"polite",children:k.length<A.length?`Showing ${k.length} of ${A.length} products`:`${A.length} ${1===A.length?"product":"products"}`}),h&&0===A.length&&(0,a.jsx)("p",{className:c.default.empty,children:"No products match this filter. Select “All products” to see everything."}),(0,a.jsxs)("div",{className:c.default.grid,children:[k.map(e=>(0,a.jsx)(o.EcommerceCard,{image:e.image,title:e.title,description:e.description,tag:e.tag?(0,a.jsx)(n.SimpleTag,{size:"small",children:e.tag}):void 0,label:e.label?(0,a.jsx)(n.SimpleTag,{size:"small",colorFill:!1,children:e.label}):void 0,href:e.href,field:e.field,document:e.document},e.id)),f&&(0,a.jsx)(i.StaticCard,{...f,divider:!1,className:c.default.ctaCard})]},x),S&&(0,a.jsx)("div",{className:c.default.seeAll,children:(0,a.jsx)(r.Button,{className:c.default.seeAllButton,variant:"simple-link",onClick:()=>C(!0),children:"See all products"})})]})})}e.s(["ProductExplorer",0,u,"default",0,u])},600959,e=>{e.v({chip:"ProductThumb-module-scss-module__TQJQPW__chip",image:"ProductThumb-module-scss-module__TQJQPW__image",label:"ProductThumb-module-scss-module__TQJQPW__label",thumb:"ProductThumb-module-scss-module__TQJQPW__thumb"})},660227,e=>{e.v({card:"CarouselShowcase-module-scss-module__uH878q__card",control:"CarouselShowcase-module-scss-module__uH878q__control",heading:"CarouselShowcase-module-scss-module__uH878q__heading",label:"CarouselShowcase-module-scss-module__uH878q__label",plan:"CarouselShowcase-module-scss-module__uH878q__plan",slide:"CarouselShowcase-module-scss-module__uH878q__slide",tile:"CarouselShowcase-module-scss-module__uH878q__tile",tiles:"CarouselShowcase-module-scss-module__uH878q__tiles",track:"CarouselShowcase-module-scss-module__uH878q__track",viewport:"CarouselShowcase-module-scss-module__uH878q__viewport"})},924180,e=>{"use strict";var a=e.i(843476),s=e.i(271645),l=e.i(207670),t=e.i(130013),i=e.i(737762);e.i(54829);var o=e.i(527298),r=e.i(281739),n=e.i(226006),d=e.i(600959);function c({image:e,label:s,className:t}){return(0,a.jsxs)("div",{className:(0,l.default)(d.default.thumb,t),children:[(0,a.jsx)(n.ImageWrapper,{image:e,fill:!0,className:d.default.image}),(0,a.jsx)("div",{className:d.default.chip,children:(0,a.jsx)("span",{className:d.default.label,children:s})})]})}var u=e.i(660227);function m({carouselLabel:e,slides:n,className:d}){let _=n.length>1,p=(0,s.useMemo)(()=>(0,i.default)({delay:5e3,stopOnInteraction:!1}),[]),h=(0,s.useMemo)(()=>[p],[p]),[f,g]=(0,t.default)({align:"start",loop:_},h),{scrollPrev:v,scrollNext:x,prevBtnDisabled:b,nextBtnDisabled:y}=(0,o.useCarouselNav)(g);(0,s.useEffect)(()=>{g&&window.matchMedia("(prefers-reduced-motion: reduce)").matches&&p.stop()},[g,p]);let C=(0,s.useCallback)(()=>{p.reset(),v()},[p,v]),N=(0,s.useCallback)(()=>{p.reset(),x()},[p,x]);return(0,a.jsxs)("div",{className:(0,l.default)(u.default.card,d),children:[(0,a.jsxs)("div",{className:u.default.control,children:[(0,a.jsx)(r.CarouselArrow,{direction:"prev",size:"sm","aria-label":"Previous care plan",onClick:C,disabled:b}),(0,a.jsx)(r.CarouselArrow,{direction:"next",size:"sm","aria-label":"Next care plan",onClick:N,disabled:y})]}),(0,a.jsx)("div",{className:u.default.viewport,ref:f,children:(0,a.jsx)("div",{className:u.default.track,children:n.map((s,l)=>(0,a.jsxs)("div",{className:u.default.slide,children:[(0,a.jsx)("p",{className:u.default.heading,children:s.heading}),(0,a.jsxs)("div",{className:u.default.plan,children:[(s.label??e)&&(0,a.jsx)("p",{className:u.default.label,children:s.label??e}),(0,a.jsx)("div",{className:u.default.tiles,children:s.items.map((e,s)=>(0,a.jsx)("div",{className:u.default.tile,children:(0,a.jsx)(c,{image:e.image,label:e.itemLabel})},s))})]})]},l))})})]})}e.s(["CarouselShowcase",0,m,"default",0,m],924180)},733112,e=>{e.v({radial:"RadialProgress-module-scss-module__ll5tNa__radial",ring:"RadialProgress-module-scss-module__ll5tNa__ring",value:"RadialProgress-module-scss-module__ll5tNa__value"})},242939,e=>{e.v({band:"ScienceBentoCarousel-module-scss-module__fMYhGa__band",controls:"ScienceBentoCarousel-module-scss-module__fMYhGa__controls",counter:"ScienceBentoCarousel-module-scss-module__fMYhGa__counter",cta:"ScienceBentoCarousel-module-scss-module__fMYhGa__cta",headline:"ScienceBentoCarousel-module-scss-module__fMYhGa__headline",headlineAccent:"ScienceBentoCarousel-module-scss-module__fMYhGa__headlineAccent",left:"ScienceBentoCarousel-module-scss-module__fMYhGa__left",mobile:"ScienceBentoCarousel-module-scss-module__fMYhGa__mobile",mobileSlideWrap:"ScienceBentoCarousel-module-scss-module__fMYhGa__mobileSlideWrap",mobileTrack:"ScienceBentoCarousel-module-scss-module__fMYhGa__mobileTrack",mobileViewport:"ScienceBentoCarousel-module-scss-module__fMYhGa__mobileViewport",right:"ScienceBentoCarousel-module-scss-module__fMYhGa__right",section:"ScienceBentoCarousel-module-scss-module__fMYhGa__section",slide:"ScienceBentoCarousel-module-scss-module__fMYhGa__slide",track:"ScienceBentoCarousel-module-scss-module__fMYhGa__track",viewport:"ScienceBentoCarousel-module-scss-module__fMYhGa__viewport"})},183965,e=>{"use strict";var a=e.i(843476),s=e.i(271645),l=e.i(207670),t=e.i(130013);e.i(54829);var i=e.i(527298),o=e.i(281739),r=e.i(117899),n=e.i(226006),d=e.i(67648);function c({cardType:e,heading:s,body:t,image:i,backgroundImage:o,className:u,...m}){switch(e){case"stat":return(0,a.jsxs)("article",{className:(0,l.default)(d.default.card,d.default.stat,u),...m,children:[o&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(n.ImageWrapper,{image:o,fill:!0,loading:"lazy",className:d.default.bgImage}),(0,a.jsx)("div",{className:d.default.overlay,"aria-hidden":!0})]}),(0,a.jsxs)("div",{className:d.default.statLockup,children:[s&&(0,a.jsx)("h3",{className:d.default.statHeading,children:s}
2),t&&(0,a.jsx)("div",{className:d.default.statBody,children:t})]})]});case"text_with_body":return(0,a.jsxs)("article",{className:(0,l.default)(d.default.card,d.default.textWithBody,u),...m,children:[(0,a.jsx)("div",{className:d.default.header,children:s&&(0,a.jsx)("h3",{className:d.default.heading,children:s})}),(0,a.jsxs)("div",{className:d.default.footer,children:[(0,a.jsx)(r.Divider,{className:d.default.divider}),t&&(0,a.jsx)("div",{className:d.default.body,children:t})]})]});case"text_with_body_and_image":return(0,a.jsxs)("article",{className:(0,l.default)(d.default.card,d.default.textWithImage,u),...m,children:[(0,a.jsxs)("div",{className:d.default.imageHeader,children:[s&&(0,a.jsx)("h3",{className:d.default.heading,children:s}),t&&(0,a.jsx)("div",{className:d.default.bodyBold,children:t})]}),i&&(0,a.jsx)("div",{className:d.default.inlineImageWrap,children:(0,a.jsx)(n.ImageWrapper,{image:i,fill:!0,loading:"lazy",sizes:"256px",imgixParams:{fit:"crop",ar:"1:1",crop:["faces"]},className:d.default.inlineImage})})]});case"yellow_with_text":return(0,a.jsx)("article",{className:(0,l.default)(d.default.card,d.default.yellow,u),...m,children:(0,a.jsx)("div",{className:d.default.header,children:s&&(0,a.jsx)("h3",{className:d.default.heading,children:s})})});case"text_with_background_image":return(0,a.jsxs)("article",{className:(0,l.default)(d.default.card,d.default.textWithBg,u),...m,children:[o&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(n.ImageWrapper,{image:o,fill:!0,loading:"lazy",className:d.default.bgImage}),(0,a.jsx)("div",{className:d.default.overlay,"aria-hidden":!0})]}),(0,a.jsxs)("div",{className:d.default.bgLockup,children:[s&&(0,a.jsx)("h3",{className:d.default.heading,children:s}),t&&(0,a.jsx)("div",{className:d.default.bodyXl,children:t})]})]});case"centered_text_with_body":return(0,a.jsx)("article",{className:(0,l.default)(d.default.card,d.default.centered,u),...m,children:(0,a.jsxs)("div",{className:d.default.centeredLockup,children:[s&&(0,a.jsx)("h3",{className:d.default.heading,children:s}),t&&(0,a.jsx)("div",{className:d.default.bodyXl,children:t})]})});default:return null}}var u=e.i(242939);function m({nav:e,selected:s,count:l}){return(0,a.jsxs)("div",{className:u.default.controls,children:[(0,a.jsx)(o.CarouselArrow,{direction:"prev",onClick:e.scrollPrev,disabled:e.prevBtnDisabled}),(0,a.jsxs)("span",{className:u.default.counter,children:[s+1,"/",l]}),(0,a.jsx)(o.CarouselArrow,{direction:"next",onClick:e.scrollNext,disabled:e.nextBtnDisabled})]})}function _({headline:e,cards:o,cta:r,className:n,...d}){let[p,h]=(0,t.default)({align:"start"}),f=(0,i.useCarouselNav)(h),[g,v]=(0,s.useState)(0),[x,b]=(0,t.default)({align:"start"}),y=(0,i.useCarouselNav)(b),[C,N]=(0,s.useState)(0);(0,s.useEffect)(()=>{if(!h)return;let e=()=>v(h.selectedScrollSnap());return e(),h.on("select",e).on("reInit",e),()=>{h.off("select",e).off("reInit",e)}},[h]),(0,s.useEffect)(()=>{if(!b)return;let e=()=>N(b.selectedScrollSnap());return e(),b.on("select",e).on("reInit",e),()=>{b.off("select",e).off("reInit",e)}},[b]);let j=o[0],w=o.slice(1),A=(0,a.jsx)("div",{className:u.default.cta,children:r});return(0,a.jsxs)("section",{className:(0,l.default)(u.default.section,n),...d,children:[(0,a.jsx)("h2",{className:u.default.headline,children:e}),(0,a.jsxs)("div",{className:u.default.band,children:[(0,a.jsx)("div",{className:u.default.left,children:j&&(0,a.jsx)(c,{...j})}),(0,a.jsxs)("div",{className:u.default.right,children:[(0,a.jsx)("div",{className:u.default.viewport,ref:p,children:(0,a.jsx)("div",{className:u.default.track,children:w.map((e,s)=>(0,a.jsx)("div",{className:u.default.slide,children:(0,a.jsx)(c,{...e})},s))})}),(0,a.jsx)(m,{nav:f,selected:g,count:w.length}),A]})]}),(0,a.jsxs)("div",{className:u.default.mobile,children:[(0,a.jsx)("div",{className:u.default.mobileViewport,ref:x,children:(0,a.jsx)("div",{className:u.default.mobileTrack,children:o.map((e,s)=>(0,a.jsx)("div",{className:u.default.mobileSlideWrap,children:(0,a.jsx)(c,{...e})},s))})}),(0,a.jsx)(m,{nav:y,selected:C,count:o.length}),A]})]})}e.s(["ScienceBentoCarousel",0,_,"default",0,_],183965)},26065,e=>{e.v({large:"SimpleTag-module-scss-module__o9I6xW__large",outlined:"SimpleTag-module-scss-module__o9I6xW__outlined",round:"SimpleTag-module-scss-module__o9I6xW__round",roundFull:"SimpleTag-module-scss-module__o9I6xW__roundFull",small:"SimpleTag-module-scss-module__o9I6xW__small",tag:"SimpleTag-module-scss-module__o9I6xW__tag"})},306970,e=>{"use strict";var a=e.i(843476),s=e.i(207670),l=e.i(26065);e.s(["SimpleTag",0,function({children:e,size:t="large",fullRadius:i=!0,colorFill:o=!0,className:r}){return(0,a.jsx)("span",{className:(0,s.default)(l.default.tag,"small"===t?l.default.small:l.default.large,i?l.default.roundFull:l.default.round,!o&&l.default.outlined,r),children:e})}])},125402,e=>{e.v({avatar:"SpotlightTestimonialCard-module-scss-module__CNGhpG__avatar",avatarImg:"SpotlightTestimonialCard-module-scss-module__CNGhpG__avatarImg",byline:"SpotlightTestimonialCard-module-scss-module__CNGhpG__byline",card:"SpotlightTestimonialCard-module-scss-module__CNGhpG__card",name:"SpotlightTestimonialCard-module-scss-module__CNGhpG__name",person:"SpotlightTestimonialCard-module-scss-module__CNGhpG__person",personLockup:"SpotlightTestimonialCard-module-scss-module__CNGhpG__personLockup",quote:"SpotlightTestimonialCard-module-scss-module__CNGhpG__quote",quoteMark:"SpotlightTestimonialCard-module-scss-module__CNGhpG__quoteMark"})},663373,e=>{e.v({card:"TestimonialCarousel-module-scss-module__bg_PRW__card",controls:"TestimonialCarousel-module-scss-module__bg_PRW__controls",counter:"TestimonialCarousel-module-scss-module__bg_PRW__counter",slide:"TestimonialCarousel-module-scss-module__bg_PRW__slide",track:"TestimonialCarousel-module-scss-module__bg_PRW__track",viewport:"TestimonialCarousel-module-scss-module__bg_PRW__viewport"})},984184,e=>{"use strict";var a=e.i(843476),s=e.i(271645),l=e.i(207670),t=e.i(130013);e.i(54829);var i=e.i(527298),o=e.i(281739);e.i(556894);var r=e.i(429716),n=e.i(226006),d=e.i(125402);function c({quote:e,name:s,byline:t,avatar:i,className:o}){return(0,a.jsxs)("figure",{className:(0,l.default)(d.default.card,o),children:[(0,a.jsx)(r.QuoteIcon,{className:d.default.quoteMark,title:""}),(0,a.jsx)("blockquote",{className:d.default.quote,children:e}),(0,a.jsxs)("figcaption",{className:d.default.person,children:[(0,a.jsxs)("span",{className:d.default.personLockup,children:[(0,a.jsx)("span",{className:d.default.name,children:s}),null!=t&&(0,a.jsx)("span",{className:d.default.byline,children:t})]}),i?(0,a.jsx)("span",{className:d.default.avatar,children:(0,a.jsx)(n.ImageWrapper,{image:i,fill:!0,sizes:"80px",className:d.default.avatarImg})}):null]})]})}var u=e.i(663373);function m({items:e,className:r}){let[n,d]=(0,t.default)({loop:!0,align:"start"}),{scrollPrev:_,scrollNext:p}
2=(0,i.useCarouselNav)(d),[h,f]=(0,s.useState)(0);return(0,s.useEffect)(()=>{if(!d)return;let e=()=>f(d.selectedScrollSnap());return e(),d.on("select",e).on("reInit",e),()=>{d.off("select",e).off("reInit",e)}},[d]),(0,a.jsxs)("div",{className:(0,l.default)(u.default.card,r),children:[(0,a.jsx)("div",{className:u.default.viewport,ref:n,children:(0,a.jsx)("div",{className:u.default.track,children:e.map((e,s)=>(0,a.jsx)("div",{className:u.default.slide,children:(0,a.jsx)(c,{...e})},s))})}),(0,a.jsxs)("div",{className:u.default.controls,children:[(0,a.jsx)(o.CarouselArrow,{direction:"prev",size:"sm",onClick:_,"aria-label":"Previous testimonial"}),(0,a.jsxs)("span",{className:u.default.counter,"aria-live":"polite",children:[h+1,"/",e.length]}),(0,a.jsx)(o.CarouselArrow,{direction:"next",size:"sm",onClick:p,"aria-label":"Next testimonial"})]})]})}e.s(["TestimonialCarousel",0,m,"default",0,m],984184)},303205,e=>{e.v({actions:"StaticCard-module-scss-module__SHGyoa__actions",body:"StaticCard-module-scss-module__SHGyoa__body",card:"StaticCard-module-scss-module__SHGyoa__card",clipped:"StaticCard-module-scss-module__SHGyoa__clipped",content:"StaticCard-module-scss-module__SHGyoa__content",cta:"StaticCard-module-scss-module__SHGyoa__cta",ctaArrow:"StaticCard-module-scss-module__SHGyoa__ctaArrow",dark:"StaticCard-module-scss-module__SHGyoa__dark",dividerH:"StaticCard-module-scss-module__SHGyoa__dividerH",dividerV:"StaticCard-module-scss-module__SHGyoa__dividerV",footer:"StaticCard-module-scss-module__SHGyoa__footer",header:"StaticCard-module-scss-module__SHGyoa__header",image:"StaticCard-module-scss-module__SHGyoa__image",overlay:"StaticCard-module-scss-module__SHGyoa__overlay",title:"StaticCard-module-scss-module__SHGyoa__title"})},838356,e=>{e.v({body:"StickyScrollVerticalStepper-module-scss-module__oeKMgW__body",copy:"StickyScrollVerticalStepper-module-scss-module__oeKMgW__copy",cta:"StickyScrollVerticalStepper-module-scss-module__oeKMgW__cta",header:"StickyScrollVerticalStepper-module-scss-module__oeKMgW__header",heading:"StickyScrollVerticalStepper-module-scss-module__oeKMgW__heading",image:"StickyScrollVerticalStepper-module-scss-module__oeKMgW__image",imageDesktop:"StickyScrollVerticalStepper-module-scss-module__oeKMgW__imageDesktop",imageMobile:"StickyScrollVerticalStepper-module-scss-module__oeKMgW__imageMobile",media:"StickyScrollVerticalStepper-module-scss-module__oeKMgW__media",navItem:"StickyScrollVerticalStepper-module-scss-module__oeKMgW__navItem",navItemActive:"StickyScrollVerticalStepper-module-scss-module__oeKMgW__navItemActive",navLabel:"StickyScrollVerticalStepper-module-scss-module__oeKMgW__navLabel",navLabelActive:"StickyScrollVerticalStepper-module-scss-module__oeKMgW__navLabelActive",navList:"StickyScrollVerticalStepper-module-scss-module__oeKMgW__navList",navNumeral:"StickyScrollVerticalStepper-module-scss-module__oeKMgW__navNumeral",panel:"StickyScrollVerticalStepper-module-scss-module__oeKMgW__panel",pin:"StickyScrollVerticalStepper-module-scss-module__oeKMgW__pin",section:"StickyScrollVerticalStepper-module-scss-module__oeKMgW__section",srOnly:"StickyScrollVerticalStepper-module-scss-module__oeKMgW__srOnly",stack:"StickyScrollVerticalStepper-module-scss-module__oeKMgW__stack"})},844110,e=>{"use strict";var a=e.i(843476),s=e.i(271645),l=e.i(207670),t=e.i(226006),i=e.i(559458);let o={300:"s300",400:"s400",500:"s500"};function r({children:e,size:s="400",tone:t="base",className:n}){return(0,a.jsx)("span",{className:(0,l.default)(i.default.tag,i.default[o[s]],"accent"===t&&i.default.accent,"muted"===t&&i.default.muted,n),children:e})}var n=e.i(117899),d=e.i(838356);let c={fit:"crop",ar:"3:4"};function u(e){return null}function m({children:e,className:i,...o}
2){let u=(0,s.useRef)(null),_=(0,s.useRef)([]),[p,h]=(0,s.useState)(0),f=(0,s.useMemo)(()=>s.Children.toArray(e).filter(e=>(0,s.isValidElement)(e)).slice(0,4).map(e=>e.props),[e]),g=f.length,v=f.map(e=>e.stepTitle),x=Math.max(g-1+.35,1),b=(0,s.useMemo)(()=>window.matchMedia?.("(prefers-reduced-motion: reduce)").matches,[]);return(0,s.useEffect)(()=>{let e=u.current;if(!e)return;let a=0,s=-1,l=()=>{a=0;let l=e.getBoundingClientRect(),t=e.offsetHeight-window.innerHeight,i=Math.min(Math.max(-l.top,0),Math.max(t,0)),o=(t>0?i/t:0)*x;b||_.current.forEach((e,a)=>{if(!e)return;let s=Math.min(Math.max(a-o,0),1);e.style.transform=`translate3d(0, ${100*s}svh, 0)`});let r=Math.min(Math.max(Math.round(o),0),g-1);r!==s&&(s=r,h(r))},t=()=>{a||(a=requestAnimationFrame(l))};return l(),window.addEventListener("scroll",t,{passive:!0}),window.addEventListener("resize",t),()=>{a&&cancelAnimationFrame(a),window.removeEventListener("scroll",t),window.removeEventListener("resize",t)}},[g,x,b]),(0,a.jsx)("section",{ref:u,className:(0,l.default)(d.default.section,i),style:{"--steps":g,"--dwell":.35},...o,children:(0,a.jsx)("div",{className:d.default.pin,children:(0,a.jsx)("div",{className:d.default.stack,children:f.map((e,s)=>(0,a.jsxs)("div",{ref:e=>{_.current[s]=e},className:d.default.panel,style:{zIndex:s},inert:s!==p,"data-inactive":s!==p,"data-no-image":!e.image,children:[(0,a.jsx)("ol",{className:d.default.navList,"aria-hidden":"true",children:v.map((e,t)=>{let i=t===s;return(0,a.jsxs)("li",{className:(0,l.default)(d.default.navItem,i&&d.default.navItemActive),children:[(0,a.jsx)(r,{size:"300",tone:i?"accent":"muted",className:d.default.navNumeral,children:t+1}),(0,a.jsx)("span",{className:(0,l.default)(d.default.navLabel,i&&d.default.navLabelActive),children:e})]},t)})}),(0,a.jsxs)("div",{className:d.default.copy,children:[(0,a.jsxs)("div",{className:d.default.header,children:[e.heading?(0,a.jsx)("h2",{className:d.default.heading,children:e.heading}):(0,a.jsx)("h2",{className:d.default.srOnly,children:e.stepTitle}),(0,a.jsx)("div",{className:d.default.body,children:e.body})]}),(e.cta1||e.cta2)&&(0,a.jsxs)("div",{className:d.default.cta,children:[e.cta1,e.cta1&&e.cta2&&(0,a.jsx)(n.Divider,{orientation:"vertical"}),e.cta2]})]}),e.image&&(0,a.jsxs)("div",{className:d.default.media,children:[(0,a.jsx)(t.ImageWrapper,{image:e.image,fill:!0,sizes:"(min-width: 1760px) 700px, (min-width: 1024px) 45vw, calc(100vw - 48px)",imgixParams:c,className:(0,l.default)(d.default.image,e.mobileImage&&d.default.imageDesktop)}),e.mobileImage&&(0,a.jsx)(t.ImageWrapper,{image:e.mobileImage,fill:!0,sizes:"calc(100vw - 48px)",imgixParams:c,className:(0,l.default)(d.default.image,d.default.imageMobile)})]})]},s))})})})}m.Step=u,e.s(["Step",0,u,"StickyScrollVerticalStepper",0,m,"default",0,m],844110)},93034,e=>{e.v({chipContainer:"SymptomDropdown-module-scss-module__BmKxEG__chipContainer",chipContainerFloating:"SymptomDropdown-module-scss-module__BmKxEG__chipContainerFloating",footer:"SymptomDropdown-module-scss-module__BmKxEG__footer",footerLink:"SymptomDropdown-module-scss-module__BmKxEG__footerLink",option:"SymptomDropdown-module-scss-module__BmKxEG__option",options:"SymptomDropdown-module-scss-module__BmKxEG__options",panel:"SymptomDropdown-module-scss-module__BmKxEG__panel",root:"SymptomDropdown-module-scss-module__BmKxEG__root",rootFloating:"SymptomDropdown-module-scss-module__BmKxEG__rootFloating",srOnly:"SymptomDropdown-module-scss-module__BmKxEG__srOnly",trigger:"SymptomDropdown-module-scss-module__BmKxEG__trigger",triggerIcon:"SymptomDropdown-module-scss-module__BmKxEG__triggerIcon",triggerIconOpen:"SymptomDropdown-module-scss-module__BmKxEG__triggerIconOpen"})},559458,e=>{e.v({accent:"TagNumeral-module-scss-module__47euWa__accent",muted:"TagNumeral-module-scss-module__47euWa__muted",s300:"TagNumeral-module-scss-module__47euWa__s300",s400:"TagNumeral-module-scss-module__47euWa__s400",s500:"TagNumeral-module-scss-module__47euWa__s500",tag:"TagNumeral-module-scss-module__47euWa__tag"})},497047,e=>{e.v({bento:"TestimonialBento-module-scss-module__E2GFzW__bento",bentoFeedScroll:"TestimonialBento-module-scss-module__E2GFzW__bentoFeedScroll",cardFooter:"TestimonialBento-module-scss-module__E2GFzW__cardFooter",col1:"TestimonialBento-module-scss-module__E2GFzW__col1",col3:"TestimonialBento-module-scss-module__E2GFzW__col3",ctaCard:"TestimonialBento-module-scss-module__E2GFzW__ctaCard",ctaHeading:"TestimonialBento-module-scss-module__E2GFzW__ctaHeading",feed:"TestimonialBento-module-scss-module__E2GFzW__feed",feedAttr:"TestimonialBento-module-scss-module__E2GFzW__feedAttr",feedAvatar:"TestimonialBento-module-scss-module__E2GFzW__feedAvatar",feedAvatarImg:"TestimonialBento-module-scss-module__E2GFzW__feedAvatarImg",feedFadeBottom:"TestimonialBento-module-scss-module__E2GFzW__feedFadeBottom",feedFadeTop:"TestimonialBento-module-scss-module__E2GFzW__feedFadeTop",feedItem:"TestimonialBento-module-scss-module__E2GFzW__feedItem",feedMeta:"TestimonialBento-module-scss-module__E2GFzW__feedMeta",feedName:"TestimonialBento-module-scss-module__E2GFzW__feedName",feedQuote:"TestimonialBento-module-scss-module__E2GFzW__feedQuote",feedTrack:"TestimonialBento-module-scss-module__E2GFzW__feedTrack",grid:"TestimonialBento-module-scss-module__E2GFzW__grid",radialArrows:"TestimonialBento-module-scss-module__E2GFzW__radialArrows",radialCaption:"TestimonialBento-module-scss-module__E2GFzW__radialCaption",radialCard:"TestimonialBento-module-scss-module__E2GFzW__radialCard",radialInner:"TestimonialBento-module-scss-module__E2GFzW__radialInner",statBlock:"TestimonialBento-module-scss-module__E2GFzW__statBlock",statCaption:"TestimonialBento-module-scss-module__E2GFzW__statCaption",statCard:"TestimonialBento-module-scss-module__E2GFzW__statCard",statHeading:"TestimonialBento-module-scss-module__E2GFzW__statHeading",statNumber:"TestimonialBento-module-scss-module__E2GFzW__statNumber",video:"TestimonialBento-module-scss-module__E2GFzW__video",videoCard:"TestimonialBento-module-scss-module__E2GFzW__videoCard"})},16230,e=>{"use strict";var a=e.i(843476),s=e.i(271645),l=e.i(207670),t=e.i(226006),i=e.i(117899),o=e.i(281739),r=e.i(733112);let n=2*Math.PI*92;function d({percent:e,size:s=200,className:t}){let i=Math.min(100,Math.max(0,e)),o=n*i/100;return(0,a.jsxs)("div",{className:(0,l.default)(r.default.radial,t),style:{width:s,height:s},role:"img","aria-label":`${i}%`,children:[(0,a.jsxs)("svg",{className:r.default.ring,viewBox:"0 0 200 200","aria-hidden":!0,
2children:[(0,a.jsx)("circle",{cx:100,cy:100,r:92,fill:"none",stroke:"var(--midi-color-neutral-200)",strokeWidth:16}),(0,a.jsx)("circle",{cx:100,cy:100,r:92,fill:"none",stroke:"var(--midi-color-orange-400)",strokeWidth:16,strokeLinecap:"round",strokeDasharray:`${o} ${n}`,transform:"rotate(-90 100 100)"})]}),(0,a.jsxs)("span",{className:r.default.value,"aria-hidden":!0,children:[i,"%"]})]})}var c=e.i(660179);e.i(556894);var u=e.i(187595),m=e.i(300407);function _({src:e,alt:s,aspectRatio:i="4:3",onPlay:o,className:r}){return(0,a.jsxs)("div",{className:(0,l.default)(m.default.video,"3:4"===i?m.default.ratio34:m.default.ratio43,r),children:[(0,a.jsx)(t.ImageWrapper,{image:{src:e,alt:s},fill:!0,className:m.default.image}),(0,a.jsx)(c.IconButton,{className:m.default.play,size:"xl",background:"alpha",icon:(0,a.jsx)(u.PlayIcon,{title:""}),"aria-label":"Play video",onClick:o})]})}var p=e.i(91816);let h={src:e.i(903582).default,width:1200,height:1109,blurWidth:8,blurHeight:7,blurDataURL:"data:image/webp;base64,UklGRhQBAABXRUJQVlA4TAgBAAAvB4ABAM1VICICHggACAIAAAAQVuKF9m8BnuCwjWEAHgAAABgAAAAAAAMAZgAAGIDDzGCr4QcLGwMAAHggAEcIAAAA538b68uKAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQIPxXVWX7vQcCkIMAAABw/s0bEwhAYIAJAgAAAAAAAAAAAAAAAAAAAAAAAAAAACAoK1NN2+q+/8iuY7fKPGCYH0MCnNp1wJud9O2XPE75E0b8Mzc4KdVv6duR8EiDdscvauDlMxjpZLmh/115KdVpsr1XWFfaSXYkq3dEp+Gql+Rta2mnI7mIPy4Na3sxiLotPqpF2gQX0oXqhYXyn8QXcpujGAE="};var f=e.i(497047);function g({quote:e,name:s,detail:l,avatar:i,decorative:o}){return(0,a.jsxs)("figure",{className:f.default.feedItem,"aria-hidden":o||void 0,children:[i?(0,a.jsx)("span",{className:f.default.feedAvatar,children:(0,a.jsx)(t.ImageWrapper,{image:i,fill:!0,sizes:"80px",className:f.default.feedAvatarImg})}):null,e?(0,a.jsx)("blockquote",{className:f.default.feedQuote,children:e}):null,(0,a.jsxs)("figcaption",{className:f.default.feedAttr,children:[(0,a.jsx)("span",{className:f.default.feedName,children:s}),l?(0,a.jsx)("span",{className:f.default.feedMeta,children:l}):null]})]})}function v({testimonials:e=[],statHeading:t,statNumber:r,statCaption:n,statCta:c,radialStats:u=[],videoId:m,videoTitle:x="",ctaHeading:b,bookCta:y,className:C,...N}){let[j,w]=(0,s.useState)(0),A=u.length,k=A?u[Math.min(j,A-1)]:void 0,S=e=>w(a=>(a+e+A)%A),P=(0,s.useRef)(null),[I,M]=(0,s.useState)();return(0,s.useEffect)(()=>{let e=P.current;if(!e)return;let a=()=>{let a=e.scrollHeight/2;a<=0||M({"--feed-duration":`${a/50}s`})};a();let s=new ResizeObserver(a);return s.observe(e),()=>s.disconnect()},[e]),(0,a.jsx)("section",{className:(0,l.default)(f.default.bento,C),...N,children:(0,a.jsxs)("div",{className:f.default.grid,children:[(0,a.jsxs)("div",{className:f.default.col1,children:[(0,a.jsxs)("div",{className:f.default.statCard,children:[null!=t&&(0,a.jsx)("p",{className:f.default.statHeading,children:t}),(null!=r||null!=n)&&(0,a.jsxs)("div",{className:f.default.statBlock,children:[null!=r&&(0,a.jsx)("p",{className:f.default.statNumber,children:r}),null!=n&&(0,a.jsx)("p",{className:f.default.statCaption,children:n})]}),null!=c&&(0,a.jsxs)("div",{className:f.default.cardFooter,children:[(0,a.jsx)(i.Divider,{}),c]})]}),k&&(0,a.jsxs)("div",{className:f.default.radialCard,children:[(0,a.jsxs)("div",{className:f.default.radialInner,"aria-live":"polite",children:[(0,a.jsx)(d,{percent:k.percent}),(0,a.jsx)("p",{className:f.default.radialCaption,children:k.caption})]}),A>1&&(0,a.jsxs)("div",{className:f.default.radialArrows,children:[(0,a.jsx)(o.CarouselArrow,{direction:"prev",size:"sm","aria-label":"Previous stat",onClick:()=>S(-1)}),(0,a.jsx)(o.CarouselArrow,{direction:"next",size:"sm","aria-label":"Next stat",onClick:()=>S(1)})]})]})]}),(0,a.jsxs)("div",{className:f.default.feed,tabIndex:0,role:"group","aria-label":"Patient testimonials",children:[(0,a.jsxs)("div",{className:f.default.feedTrack,ref:P,style:I,children:[e.map((e,s)=>(0,a.jsx)(g,{...e},s)),e.map((e,s)=>(0,a.jsx)(g,{...e,decorative:!0},`dup-${s}`))]}),(0,a.jsx)("div",{className:f.default.feedFadeTop,"aria-hidden":!0}),(0,a.jsx)("div",{className:f.default.feedFadeBottom,"aria-hidden":!0})]}),(0,a.jsxs)("div",{className:f.default.col3,children:[(0,a.jsx)("div",{className:f.default.videoCard,
2children:m?(0,a.jsx)(p.VimeoVideo,{className:f.default.video,video:m,title:x}):(0,a.jsx)(_,{className:f.default.video,src:h.src,alt:"",aspectRatio:"3:4"})}),(0,a.jsxs)("div",{className:f.default.ctaCard,children:[null!=b&&(0,a.jsx)("p",{className:f.default.ctaHeading,children:b}),null!=y&&(0,a.jsxs)("div",{className:f.default.cardFooter,children:[(0,a.jsx)(i.Divider,{}),y]})]})]})]})})}e.s(["TestimonialBento",0,v,"default",0,v],16230)},231667,e=>{e.v({attribution:"TestimonialCard-module-scss-module__sgk8ka__attribution",avatar:"TestimonialCard-module-scss-module__sgk8ka__avatar",avatarImg:"TestimonialCard-module-scss-module__sgk8ka__avatarImg",card:"TestimonialCard-module-scss-module__sgk8ka__card",detail:"TestimonialCard-module-scss-module__sgk8ka__detail",full:"TestimonialCard-module-scss-module__sgk8ka__full",name:"TestimonialCard-module-scss-module__sgk8ka__name",quote:"TestimonialCard-module-scss-module__sgk8ka__quote",stacked:"TestimonialCard-module-scss-module__sgk8ka__stacked"})},984317,e=>{e.v({card:"PressQuoteCard-module-scss-module__xMZL_q__card",cream:"PressQuoteCard-module-scss-module__xMZL_q__cream",full:"PressQuoteCard-module-scss-module__xMZL_q__full",logo:"PressQuoteCard-module-scss-module__xMZL_q__logo",logoImg:"PressQuoteCard-module-scss-module__xMZL_q__logoImg",quote:"PressQuoteCard-module-scss-module__xMZL_q__quote",stacked:"PressQuoteCard-module-scss-module__xMZL_q__stacked",yellow:"PressQuoteCard-module-scss-module__xMZL_q__yellow"})},488583,e=>{e.v({columnCard:"SocialProofCarousel-module-scss-module__MLeq3W__columnCard",controls:"SocialProofCarousel-module-scss-module__MLeq3W__controls",controlsDesktop:"SocialProofCarousel-module-scss-module__MLeq3W__controlsDesktop",controlsMobile:"SocialProofCarousel-module-scss-module__MLeq3W__controlsMobile",counter:"SocialProofCarousel-module-scss-module__MLeq3W__counter",heading:"SocialProofCarousel-module-scss-module__MLeq3W__heading",imageCard:"SocialProofCarousel-module-scss-module__MLeq3W__imageCard",imageCardImg:"SocialProofCarousel-module-scss-module__MLeq3W__imageCardImg",media:"SocialProofCarousel-module-scss-module__MLeq3W__media",section:"SocialProofCarousel-module-scss-module__MLeq3W__section",slide:"SocialProofCarousel-module-scss-module__MLeq3W__slide",slideColumn:"SocialProofCarousel-module-scss-module__MLeq3W__slideColumn",testimonialSlide:"SocialProofCarousel-module-scss-module__MLeq3W__testimonialSlide",track:"SocialProofCarousel-module-scss-module__MLeq3W__track",viewport:"SocialProofCarousel-module-scss-module__MLeq3W__viewport"})},727971,e=>{"use strict";var a=e.i(843476),s=e.i(207670),l=e.i(130013);e.i(54829);var t=e.i(527298),i=e.i(281739),o=e.i(91816),r=e.i(226006),n=e.i(231667);
2function d({avatar:e,quote:l,name:t,detail:i,layout:o="stacked",className:c}){return(0,a.jsxs)("figure",{className:(0,s.default)(n.default.card,n.default[o],c),children:[e?(0,a.jsx)("div",{className:n.default.avatar,children:(0,a.jsx)(r.ImageWrapper,{image:e,fill:!0,sizes:"80px",imgixParams:{fit:"crop",ar:"1:1",crop:["faces"]},className:n.default.avatarImg})}):null,(0,a.jsx)("blockquote",{className:n.default.quote,children:l}),(0,a.jsxs)("figcaption",{className:n.default.attribution,children:[(0,a.jsx)("span",{className:n.default.name,children:t}),null!=i&&(0,a.jsx)("span",{className:n.default.detail,children:i})]})]})}var c=e.i(984317);function u({quote:e,logo:l,variant:t="yellow",layout:i="stacked",className:o}){return(0,a.jsxs)("figure",{className:(0,s.default)(c.default.card,c.default[t],c.default[i],o),children:[null!=e&&(0,a.jsx)("blockquote",{className:c.default.quote,children:e}),null!=l&&(0,a.jsx)("div",{className:c.default.logo,children:(0,a.jsx)(r.ImageWrapper,{image:l,className:c.default.logoImg})})]})}var m=e.i(488583);function _({heading:e,cards:n,className:c,...p}){let[h,f]=(0,l.default)({align:"start"}),{scrollPrev:g,scrollNext:v,prevBtnDisabled:x,nextBtnDisabled:b,selectedIndex:y}=(0,t.useCarouselNav)(f);return(0,a.jsxs)("section",{className:(0,s.default)(m.default.section,c),...p,children:[(0,a.jsx)("h2",{className:m.default.heading,children:e}),(0,a.jsx)("div",{className:m.default.viewport,ref:h,children:(0,a.jsx)("div",{className:m.default.track,children:n.map((e,l)=>(function(e,l){switch(e.kind){case"video":return(0,a.jsx)("div",{className:m.default.slide,children:(0,a.jsx)(o.VimeoVideo,{className:m.default.media,video:e.video,title:e.title})},l);case"image":return(0,a.jsx)("div",{className:m.default.slide,children:(0,a.jsx)("div",{className:m.default.imageCard,children:(0,a.jsx)(r.ImageWrapper,{image:e.image,fill:!0,className:m.default.imageCardImg})})},l);case"testimonial":{let t=e.testimonials.slice(0,2),i=1===t.length?"full":"stacked";return(0,a.jsx)("div",{className:(0,s.default)(m.default.slide,m.default.slideColumn,m.default.testimonialSlide),children:t.map((e,s)=>(0,a.jsx)(d,{className:m.default.columnCard,layout:i,avatar:e.avatar,quote:e.quote,name:e.name,detail:e.detail},s))},l)}case"press":{let t=e.quotes.slice(0,2),i=1===t.length?"full":"stacked";return(0,a.jsx)("div",{className:(0,s.default)(m.default.slide,m.default.slideColumn),children:t.map((e,s)=>(0,a.jsx)(u,{className:m.default.columnCard,layout:i,variant:0===s?"yellow":"cream",quote:e.quote,logo:e.logo},s))},l)}default:return null}})(e,l))})}),(0,a.jsxs)("div",{className:m.default.controls,children:[(0,a.jsxs)("div",{className:m.default.controlsMobile,children:[(0,a.jsx)(i.CarouselArrow,{direction:"prev",size:"sm",onClick:g,disabled:x}),(0,a.jsxs)("span",{className:m.default.counter,children:[y+1,"/",n.length]}),(0,a.jsx)(i.CarouselArrow,{direction:"next",size:"sm",onClick:v,disabled:b})]}),(0,a.jsxs)("div",{className:m.default.controlsDesktop,children:[(0,a.jsx)(i.CarouselArrow,{direction:"prev",size:"lg",onClick:g,disabled:x}),(0,a.jsx)(i.CarouselArrow,{direction:"next",size:"lg",onClick:v,disabled:b})]})]})]})}e.s(["SocialProofCarousel",0,_,"default",0,_],727971)},232467,e=>{e.v({group:"TextTicker-module-scss-module__jRcmNq__group",item:"TextTicker-module-scss-module__jRcmNq__item","text-ticker-marquee":"TextTicker-module-scss-module__jRcmNq__text-ticker-marquee",ticker:"TextTicker-module-scss-module__jRcmNq__ticker",track:"TextTicker-module-scss-module__jRcmNq__track"})},811092,e=>{"use strict";var a=e.i(843476),s=e.i(271645),l=e.i(207670),t=e.i(232467);let i={slow:30,medium:50,fast:80};function o({items:e,repeat:s,hidden:l,ref:i}){return(0,a.jsx)("div",{ref:i,className:t.default.group,"aria-hidden":l||void 0,children:Array.from({length:s}).flatMap((s,i)=>e.map((e,s)=>(0,a.jsx)("span",{className:t.default.item,"aria-hidden":l||i>0||void 0,children:e},`${i}-${s}`)))})}function r({items:e,speed:n="medium",className:d}){let c=(0,s.useRef)(null),u=(0,s.useRef)(null),[m,_]=(0,s.useState)(1),[p,h]=(0,s.use
2State)();return(0,s.useEffect)(()=>{let e=c.current,a=u.current;if(!e||!a||window.matchMedia("(prefers-reduced-motion: reduce)").matches)return;let s=()=>{let s=e.clientWidth,l=a.scrollWidth;if(s<=0||l<=0)return;let t=Math.min(40,Math.max(1,Math.ceil(s/(l/m))));t!==m?_(t):h({"--ticker-duration":`${l/i[n]}s`})};s();let l=new ResizeObserver(s);return l.observe(e),()=>l.disconnect()},[m,n,e]),(0,a.jsx)("div",{ref:c,className:(0,l.default)(t.default.ticker,d),children:(0,a.jsxs)("div",{className:t.default.track,style:p,children:[(0,a.jsx)(o,{items:e,repeat:m,ref:u}),(0,a.jsx)(o,{items:e,repeat:m,hidden:!0})]})})}e.s(["TextTicker",0,r,"default",0,r])},412337,e=>{e.v({back:"Typeahead-module-scss-module__N6y-Ta__back",bar:"Typeahead-module-scss-module__N6y-Ta__bar",chevron:"Typeahead-module-scss-module__N6y-Ta__chevron","has-icon":"Typeahead-module-scss-module__N6y-Ta__has-icon",icon:"Typeahead-module-scss-module__N6y-Ta__icon",input:"Typeahead-module-scss-module__N6y-Ta__input","input-wrap":"Typeahead-module-scss-module__N6y-Ta__input-wrap","mobile-open":"Typeahead-module-scss-module__N6y-Ta__mobile-open",option:"Typeahead-module-scss-module__N6y-Ta__option","option-label":"Typeahead-module-scss-module__N6y-Ta__option-label",options:"Typeahead-module-scss-module__N6y-Ta__options","options-bar":"Typeahead-module-scss-module__N6y-Ta__options-bar","options-underline":"Typeahead-module-scss-module__N6y-Ta__options-underline",root:"Typeahead-module-scss-module__N6y-Ta__root",underline:"Typeahead-module-scss-module__N6y-Ta__underline"})},301825,e=>{"use strict";var a=e.i(843476),s=e.i(762630),l=e.i(572226),t=e.i(207670),i=e.i(271645);e.i(556894);var o=e.i(73329),r=e.i(555783),n=e.i(412337);e.s(["Typeahead",0,function({id:e,items:d,value:c,onChange:u,getOptionLabel:m,getOptionKey:_,filter:p,placeholder:h,ariaLabel:f,leadingIcon:g,minQueryLength:v=1,variant:x="bar",immediate:b=!1,className:y,inputClassName:C}){let[N,j]=(0,i.useState)(""),w=(0,r.useIsMobile)(),A=(0,i.useRef)(null),k=p??((e,a)=>m(e).toLowerCase().startsWith(a.toLowerCase())),S=N.length<v?[]:d.filter(e=>k(e,N));return(0,a.jsx)(s.Combobox,{as:"div",value:c,onChange:u,onClose:()=>j(""),immediate:b,className:({open:e})=>(0,t.default)(n.default.root,y,e&&w&&n.default["mobile-open"],e&&w&&"coverage-search-overlay"),children:({open:i})=>(0,a.jsxs)(a.Fragment,{children:[i&&w&&(0,a.jsxs)("button",{type:"button",className:n.default.back,onMouseDown:e=>e.preventDefault(),onClick:()=>A.current?.blur(),children:[(0,a.jsx)(l.ArrowLeftIcon,{width:20,height:20}),"Back"]}),(0,a.jsxs)("div",{className:n.default["input-wrap"],children:[g&&(0,a.jsx)("span",{className:n.default.icon,children:g}),(0,a.jsx)(s.ComboboxInput,{ref:A,id:e,"aria-label":f,placeholder:h,autoComplete:"off",className:(0,t.default)(n.default.input,n.default[x],C,{[n.default["has-icon"]]:!!g}),displayValue:e=>e?m(e):"",onChange:e=>j(e.target.value)}),"underline"===x&&(0,a.jsx)(o.ChevronDownIcon,{className:n.default.chevron,size:20,title:""})]}),S.length>0&&(0,a.jsx)(s.ComboboxOptions,{anchor:w||"underline"===x?void 0:"bottom start",as:"ul",modal:!1,transition:!0,className:(0,t.default)(n.default.options,n.default[`options-${x}`]),children:S.map(e=>(0,a.jsx)(s.ComboboxOption,{as:"li",value:e,className:n.default.option,children:(0,a.jsx)("span",{className:n.default["option-label"],children:m(e)})},_?_(e):m(e)))})]})})}])},300407,e=>{e.v({image:"Video-module-scss-module__ZBGjMW__image",play:"Video-module-scss-module__ZBGjMW__play",ratio34:"Video-module-scss-module__ZBGjMW__ratio34",ratio43:"Video-module-scss-module__ZBGjMW__ratio43",video:"Video-module-scss-module__ZBGjMW__video"})},816745,e=>{"use strict";var a=e.i(271645),s=e.i(241931);let l=/^[\+_a-z0-9-'&=]+(\.[\+_a-z0-9-']+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,})$/i,t="This field is required.",i=["firstName","lastName","phone","employer","stateCode"],o=async(e,a,l)=>{try{return(await fetch(`${(0,s.getMidiAppBaseUrl)()}/api/v1/marketing/newsletter-signup/`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:e,source:a,...l})})).ok}catch{return!1}},r=()=>()=>{},n=()=>!0,d=()=>!1;e.s(["FALLBACK_ATTRIBUTION_SOURCE",0,"Marketing Form","REQUIRED_MESSAGE",0,t,"SUBMIT_FAILED_MESSAGE",0,"Sorry, your submission failed. Please try again.","useHydrated",0,()=>(0,a.useSyncExternalStore)(r,n,d),"useNewsletterSignup",0,e=>{let[s,r]=(0,a.useState)("idle"),[n,d]=(0,a.useState)(null),[c,u]=(0,a.useState)(!1);return{status:s,emailError:n,submitting:c,onSubmit:async a=>{a.preventDefault();let s=new FormData(a.currentTarget),n=String(s.get("email")??""),c=""===n?t:l.test(n)?null:"Enter a valid email address.";(d(c),!c)&&(u(!0),r(await o(n,e,Object.fromEntries(i.map(e=>[e,String(s.get(e)??"").trim()]).filter(([,e])=>""!==e)))?"done":"failed"),u(!1))},clearEmailError:()=>d(null)}}])},217458,e=>{"use strict";e.s(["US_STATES",0,[{code:"AL",name:"Alabama"},{code:"AK",name:"Alaska"},{code:"AZ",name:"Arizona"},{code:"AR",name:"Arkansas"},{code:"CA",name:"California"},{code:"CO",name:"Colorado"},{code:"CT",name:"Connecticut"},{code:"DE",name:"Delaware"},{code:"DC",name:"District of Columbia"},{code:"FL",name:"Florida"},{code:"GA",name:"Georgia"},{code:"HI",name:"Hawaii"},{code:"ID",name:"Idaho"},{code:"IL",name:"Illinois"},{code:"IN",name:"Indiana"},{code:"IA",name:"Iowa"},{code:"KS",name:"Kansas"},{code:"KY",name:"Kentucky"},{code:"LA",name:"Louisiana"},{code:"ME",name:"Maine"},{code:"MD",name:"Maryland"},{code:"MA",name:"Massachusetts"},{code:"MI",name:"Michigan"},{code:"MN",name:"Minnesota"},{code:"MS",name:"Mississippi"},{code:"MO",name:"Missouri"},{code:"MT",name:"Montana"},{code:"NE",name:"Nebraska"},{code:"NV",name:"Nevada"},{code:"NH",name:"New Hampshire"},{code:"NJ",name:"New Jersey"},{code:"NM",name:"New Mexico"},{code:"NY",name:"New York"},{code:"NC",name:"North Carolina"},{code:"ND",name:"North Dakota"},{code:"OH",name:"Ohio"},{code:"OK",name:"Oklahoma"},{code:"OR",name:"Oregon"},{code:"PA",name:"Pennsylvania"},{code:"RI",name:"Rhode Island"},{code:"SC",name:"South Carolina"},{code:"SD",name:"South Dakota"},{code:"TN",name:"Tennessee"},{code:"TX",name:"Texas"},{code:"UT",name:"Utah"},{code:"VT",name:"Vermont"},{code:"VA",name:"Virginia"},{code:"WA",name:"Washington"},{code:"WV",name:"West Virginia"},{code:"WI",name:"Wisconsin"},{code:"WY",name:"Wyoming"}]])},255351,e=>{e.v({"accordion-container":"AccordionWithCta-module-scss-module__NNbDSq__accordion-container","accordion-content-item":"AccordionWithCta-module-scss-module__NNbDSq__accordion-content-item",background:"AccordionWithCta-module-scss-module__NNbDSq__background","bottom-border":"AccordionWithCta-module-scss-module__NNbDSq__bottom-border",bounded:"AccordionWithCta-module-scss-module__NNbDSq__bounded","desktop-cta-link":"AccordionWithCta-module-scss-module__NNbDSq__desktop-cta-link",icon:"AccordionWithCta-module-scss-module__NNbDSq__icon","icon-accordion-content-item":"AccordionWithCta-module-scss-module__NNbDSq__icon-accordion-content-item","iframe-container":"AccordionWithCta-module-scss-module__NNbDSq__iframe-container","mobile-cta-link":"AccordionWithCta-module-scss-module__NNbDSq__mobile-cta-link","modal-button":"AccordionWithCta-module-scss-module__NNbDSq__modal-button","text-stack":"AccordionWithCta-module-scss-module__NNbDSq__text-stack",thumbnail:"AccordionWithCta-module-scss-module__NNbDSq__thumbnail",video:"AccordionWithCta-module-scss-module__NNbDSq__video","video-container":"AccordionWithCta-module-scss-module__NNbDSq__video-container"})},408028,e=>{"use strict";var a=e.i(843476),s=e.i(255351),l=e.i(507789),t=e.i(831884),i=e.i(735404),o=e.i(747357),r=e.i(214261),n=e.i(691586),d=e.i(207670),c=e.i(342935),u=e.i(116759);let m="heart with medical cross",_={...u.labelPrismicComponent,heading2:({children:e})=>(0,a.jsx)("h2",{children:e}),paragraph:({children:e})=>(0,a.jsx)("p",{children:e})},p={...u.labelPrismicComponent,heading3:({children:e})=>(0,a.jsx)("h3",{children:e}),paragraph:({children:e})=>(0,a.jsx)("p",{className:(0,d.default)([s.default["accordion-content-item"],s.default["bottom-border"]]),children:e})},h={...u.labelPrismicComponent,paragraph:({children:e})=>(0,a.jsx)("p",{className:s.default["icon-accordion-content-item"],children:e})},f=e=>{let s=e?.toLowerCase();if("hormones"===s)return(0,a.jsx)(n.HormonesIcon,{});if("holistic"===s)return(0,a.jsx)(n.HolisticIcon,{});if("heart with medical cross"===s);else if("plus sign"===s)return(0,a.jsx)(n.PlusSignInCircleIcon,{});else if("hair and skin"===s)return(0,a.jsx)(n.HairAndSkinIcon,{});else if("sleep"===s)return(0,a.jsx)(n.SleepIcon,{});else if("brain fog"===s)return(0,a.jsx)(n.BrainFogIcon,{});
2else if("hot flashes"===s)return(0,a.jsx)(n.HotFlashesIcon,{});else if("moody"===s)return(0,a.jsx)(n.MoodyIcon,{});else if("vaginal health"===s)return(0,a.jsx)(n.VaginalHealthIcon,{});else if("period problems"===s)return(0,a.jsx)(n.PeriodProblemsIcon,{});else if("weight and body changes"===s)return(0,a.jsx)(n.WeightAndBodyChangesIcon,{});else if("bone fracture"===s)return(0,a.jsx)(n.BoneFractureIcon,{});else if("medication"===s)return(0,a.jsx)(n.MedicationIcon,{});else if("message bubbles"===s)return(0,a.jsx)(n.MessageBubblesIcon,{});else if("care at core"===s)return(0,a.jsx)(n.CareAtCoreIcon,{});else if("partnership"===s)return(0,a.jsx)(n.PartnershipIcon,{});else if("hormone changes"===s)return(0,a.jsx)(n.HormoneChangesIcon,{});else if("results"===s)return(0,a.jsx)(n.ResultsIcon,{});else if("book a visit"===s)return(0,a.jsx)(n.BookVisitIcon,{});return(0,a.jsx)(n.HeartCrossIcon,{})},g=({openModalButton:e})=>(0,a.jsxs)(c.default,{children:[(0,a.jsx)(c.default.Button,{asChild:!0,children:e}),(0,a.jsx)(c.default.Content,{image:(0,a.jsx)("div",{className:s.default["video-container"],children:(0,a.jsx)("div",{className:s.default["iframe-container"],children:(0,a.jsx)("iframe",{className:s.default.video,src:"https://player.vimeo.com/video/1068894646?title=0&byline=0&badge=0&autopause=0&player_id=0&app_id=58479",title:"video about how to get started with Midi Health"})})})})]});e.s(["default",0,({slice:e})=>{let n,c,u,v="iconAccordion"===e.variation||"videoModalIconAccordion"===e.variation;"videoModalIconAccordion"!==e.variation&&(n=!!e.primary.cta_label,c=e.primary.cta_midi_app_url,u=e.primary.cta_midi_app_url_param_value);let x=e.primary.color_theme;return(0,a.jsxs)(o.Bounded,{moduleTheme:x,"slice-variation":e.variation,boundedClassName:s.default.bounded,children:[(0,a.jsx)("div",{className:s.default["text-stack"],children:(0,a.jsx)(t.StackedText,{eyebrow:e.primary.eyebrow,headline:(0,a.jsx)(l.PrismicRichText,{field:e.primary.headline,components:_}),subheading:(0,a.jsx)(l.PrismicRichText,{field:e.primary.subheading,components:_}),cta:"videoModalIconAccordion"===e.variation?(0,a.jsx)(g,{openModalButton:(0,a.jsx)("button",{className:(0,d.default)(["cta","primary-cta",s.default["desktop-cta-link"],s.default["modal-button"]]),children:e.primary.modal_button_label})}):n?(0,a.jsx)(r.CtaFromPrismic,{sliceType:e.slice_type,ctaType:"iconAccordion"===e.variation?"secondary":"primary",midiAppPage:c,midiAppPageParamValue:u,className:s.default["desktop-cta-link"],field:e.primary.cta_link,children:e.primary.cta_label}):void 0})}),(0,a.jsxs)("div",{className:s.default["accordion-container"],children:["default"===e.variation&&(0,a.jsx)(a.Fragment,{children:e.primary.accordion.map((e,t)=>(0,a.jsx)(i.AccordionItem,{defaultOpen:e.open_by_default,itemThumbnail:(0,a.jsx)("div",{className:s.default.icon,children:f(e.icon?e.icon:m)}),itemContent:(0,a.jsx)(l.PrismicRichText,{field:e.item_content,components:p}),itemTitle:(0,a.jsx)(l.PrismicRichText,{field:e.item_title,components:p})},t))}),v&&(0,a.jsx)(a.Fragment,{children:e.primary.accordion.map((e,t)=>(0,a.jsx)(i.AccordionItem,{defaultOpen:e.open_by_default,itemThumbnail:(0,a.jsx)("div",{className:s.default.icon,children:f(e.icon?e.icon:m)}),itemContent:(0,a.jsx)(l.PrismicRichText,{field:e.item_content,components:h}),itemTitle:(0,a.jsx)(l.PrismicRichText,{field:e.item_title,components:p}),useVerticalLine:!0},t))})]}),"videoModalIconAccordion"===e.variation?(0,a.jsx)(g,{openModalButton:(0,a.jsx)("button",{className:(0,d.default)(["cta","primary-cta",s.default["mobile-cta-link"],s.default["modal-button"]]),children:e.primary.modal_button_label})}):n?(0,a.jsx)(r.CtaFromPrismic,{sliceType:e.slice_type,ctaType:"iconAccordion"===e.variation?"secondary":"primary",midiAppPage:c,midiAppPageParamValue:u,className:s.default["mobile-cta-link"],field:e.primary.cta_link,children:e.primary.cta_label}):void 0]})}])},348427,e=>{e.v({bio:"BioInfo-module-scss-module__UVMJmW__bio",body:"BioInfo-module-scss-module__UVMJmW__body",bounded:"BioInfo-module-scss-module__UVMJmW__bounded","clinician-background-color":"BioInfo-module-scss-module__UVMJmW__clinician-background-color","clinician-border":"BioInfo-module-scss-module__UVMJmW__clinician-border",container:"BioInfo-module-scss-module__UVMJmW__container",cta:"BioInfo-module-scss-module__UVMJmW__cta",eyebrow:"BioInfo-module-scss-module__UVMJmW__eyebrow",image:"BioInfo-module-scss-module__UVMJmW__image","leadership-background-color":"BioInfo-module-scss-module__UVMJmW__leadership-background-color","leadership-border":"BioInfo-module-scss-module__UVMJmW__leadership-border",section:"BioInfo-module-scss-module__UVMJmW__section"})},274706,e=>{"use strict";var a=e.i(843476),s=e.i(219160),l=e.i(507789),t=e.i(348427),i=e.i(207670),o=e.i(747357),r=e.i(145694),n=e.i(618566);let d={heading1:({children:e})=>(0,a.jsx)("h1",{className:"body-text-x-large",children:e})};e.s(["default",0,({slice:e})=>
2{let c=(0,n.usePathname)().split("/").filter(Boolean).pop()||"";return(0,a.jsx)(o.Bounded,{sectionClassName:(0,i.default)([t.default.section,"Midi Clinician"===e.primary.team_type?t.default["clinician-background-color"]:t.default["leadership-background-color"]]),boundedClassName:t.default.bounded,children:(0,a.jsxs)("div",{className:(0,i.default)([t.default.container,"Midi Clinician"===e.primary.team_type?t.default["clinician-border"]:t.default["leadership-border"]]),children:[(0,a.jsx)(s.PrismicNextImage,{fallbackAlt:"",preload:!0,className:t.default.image,field:e.primary.image}),(0,a.jsxs)("div",{className:t.default.bio,children:["Midi Blog Writer"!==e.primary.team_type&&(0,a.jsx)("div",{className:(0,i.default)(["eyebrow",t.default.eyebrow]),children:!!e.primary.team_type&&e.primary.team_type}),(0,a.jsx)(l.PrismicRichText,{field:e.primary.headline,components:d}),"Midi Clinician"===e.primary.team_type&&(0,a.jsx)(r.CtaMidiAppLink,{className:t.default.cta,midiAppPage:"welcome?midi_provider_slug=",ctaType:"primary",midiAppPageParamValue:c,children:"Book a Visit with Me"}),(0,a.jsx)("div",{className:t.default.body,children:(0,a.jsx)(l.PrismicRichText,{field:e.primary.body})})]})]})})}])},187403,e=>{e.v({"body-copy-container":"HowMidiWorksCarousel-module-scss-module__D2IoHG__body-copy-container",card:"HowMidiWorksCarousel-module-scss-module__D2IoHG__card","carousel-bounded":"HowMidiWorksCarousel-module-scss-module__D2IoHG__carousel-bounded","carousel-image":"HowMidiWorksCarousel-module-scss-module__D2IoHG__carousel-image","carousel-trigger-buttons":"HowMidiWorksCarousel-module-scss-module__D2IoHG__carousel-trigger-buttons",container:"HowMidiWorksCarousel-module-scss-module__D2IoHG__container","cta-container":"HowMidiWorksCarousel-module-scss-module__D2IoHG__cta-container","desktop-cta":"HowMidiWorksCarousel-module-scss-module__D2IoHG__desktop-cta",embla:"HowMidiWorksCarousel-module-scss-module__D2IoHG__embla",embla__container:"HowMidiWorksCarousel-module-scss-module__D2IoHG__embla__container",embla__next:"HowMidiWorksCarousel-module-scss-module__D2IoHG__embla__next",embla__prev:"HowMidiWorksCarousel-module-scss-module__D2IoHG__embla__prev",embla__slide:"HowMidiWorksCarousel-module-scss-module__D2IoHG__embla__slide",headline:"HowMidiWorksCarousel-module-scss-module__D2IoHG__headline","mobile-cta":"HowMidiWorksCarousel-module-scss-module__D2IoHG__mobile-cta",pink:"HowMidiWorksCarousel-module-scss-module__D2IoHG__pink","slide-image":"HowMidiWorksCarousel-module-scss-module__D2IoHG__slide-image",step:"HowMidiWorksCarousel-module-scss-module__D2IoHG__step",subheading:"HowMidiWorksCarousel-module-scss-module__D2IoHG__subheading","text-content":"HowMidiWorksCarousel-module-scss-module__D2IoHG__text-content","text-stack":"HowMidiWorksCarousel-module-scss-module__D2IoHG__text-stack"})},70504,e=>{"use strict";var a=e.i(843476),s=e.i(572226),l=e.i(130013);e.i(54829);var t=e.i(527298),i=e.i(831884),o=e.i(219160),r=e.i(214261),n=e.i(747357),d=e.i(507789),c=e.i(187403),u=e.i(207670);let m={heading2:({children:e})=>(0,a.jsx)("h2",{className:c.default.headline,children:e}),paragraph:({children:e})=>(0,a.jsx)("p",{className:c.default.subheading,children:e})};e.s(["default",0,({slice:e})=>{let _=!!e.primary.cta_label,p=e.primary.color_theme,[h,f]=(0,l.default)({loop:!1,align:"start"}),{scrollPrev:g,scrollNext:v,prevBtnDisabled:x,nextBtnDisabled:b}=(0,t.useCarouselNav)(f);return(0,a.jsxs)(n.Bounded,{sectionClassName:c.default["carousel-section"],boundedClassName:c.default["carousel-bounded"],"slice-variation":e.variation,children:[(0,a.jsx)("div",{className:c.default["text-stack"],children:(0,a.jsxs)("div",{className:c.default["text-content"],children:[(0,a.jsx)(i.StackedText,{headline:(0,a.jsx)(d.PrismicRichText,{field:e.primary.headline,components:m}),subheading:(0,a.jsx)(d.PrismicRichText,{field:e.primary.subheading,components:m})}),_&&(0,a.jsx)("div",{className:c.default["cta-container"],children:(0,a.jsx)(r.CtaFromPrismic,{sliceType:e.slice_type,ctaType:"primary",midiAppPage:e.primary.cta_midi_app_url,midiAppPageParamValue:e.primary.cta_midi_a
2pp_url_param_value,className:c.default["desktop-cta"],field:e.primary.cta_link,children:e.primary.cta_label})})]})}),(0,a.jsx)("div",{className:c.default.container,children:(0,a.jsx)("div",{className:c.default["main-content"],children:(0,a.jsxs)("div",{className:c.default.embla,children:[(0,a.jsx)("div",{className:c.default.embla__viewport,ref:h,children:(0,a.jsx)("div",{className:c.default.embla__container,children:e.primary.cards.map((e,s)=>(0,a.jsx)("div",{className:c.default.embla__slide,children:(0,a.jsx)("div",{className:c.default["slide-image"],children:(0,a.jsxs)("div",{className:c.default.card,children:[(0,a.jsx)(o.PrismicNextImage,{fallbackAlt:"",className:c.default["carousel-image"],field:e.image}),(0,a.jsxs)("div",{className:(0,u.default)([c.default["body-copy-container"],p?c.default[p]:""]),children:[(0,a.jsx)("div",{className:c.default.step,children:s+1}),(0,a.jsx)(d.PrismicRichText,{field:e.body_copy})]})]})})},s))})}),(0,a.jsx)("div",{className:c.default["carousel-trigger-buttons"],children:(!x||!b)&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("button",{"aria-label":"go to previous slide in carousel",disabled:x,className:c.default.embla__prev,onClick:g,children:(0,a.jsx)(s.ChevronLeftIcon,{})}),(0,a.jsx)("button",{"aria-label":"go to next slide in carousel",disabled:b,className:c.default.embla__next,onClick:v,children:(0,a.jsx)(s.ChevronRightIcon,{})})]})}),_&&(0,a.jsx)(r.CtaFromPrismic,{sliceType:e.slice_type,ctaType:"primary",midiAppPage:e.primary.cta_midi_app_url,midiAppPageParamValue:e.primary.cta_midi_app_url_param_value,className:c.default["mobile-cta"],field:e.primary.cta_link,children:e.primary.cta_label})]})})})]})}])},16091,e=>{e.v({anchor:"HubSpotB2B-module-scss-module__XNu4Ha__anchor",bounded:"HubSpotB2B-module-scss-module__XNu4Ha__bounded",form:"HubSpotB2B-module-scss-module__XNu4Ha__form",headline:"HubSpotB2B-module-scss-module__XNu4Ha__headline",section:"HubSpotB2B-module-scss-module__XNu4Ha__section","text-stack":"HubSpotB2B-module-scss-module__XNu4Ha__text-stack"})},153608,e=>{"use strict";var a=e.i(843476),s=e.i(507789),l=e.i(16091),t=e.i(747357),i=e.i(271645),o=e.i(831884);e.s(["default",0,({slice:e})=>((0,i.useEffect)(()=>{let a=()=>{window.hbspt&&window.hbspt.forms.create({region:"na1",portalId:"24374536",formId:e.primary.form_id||"4783ce84-1521-48ad-9ed7-ad9a5364fcd8",target:"#hubspot-b2b-form"})},s=document.createElement("script");return s.src="https://js.hsforms.net/forms/embed/v2.js",document.body.appendChild(s),s.addEventListener("load",a),()=>{window.removeEventListener("load",a),s.remove()}},[e.primary.form_id]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:l.default.anchor,id:"b2b-hubspot-form"}),(0,a.jsxs)(t.Bounded,{"data-slice-type":e.slice_type,"data-slice-variation":e.variation,sectionClassName:l.default.section,boundedClassName:l.default.bounded,children:["hubspotB2BConfigurable"===e.variation?(0,a.jsx)("div",{className:l.default["text-stack"],children:(0,a.jsx)(o.StackedText,{eyebrow:e.primary.eyebrow,headline:(0,a.jsx)(s.PrismicRichText,{field:e.primary.headline}),subheading:(0,a.jsx)(s.PrismicRichText,{field:e.primary.subheading})})}):(0,a.jsx)("h2",{className:l.default.headline,children:"Partner With Us"}),(0,a.jsx)("div",{id:"hubspot-b2b-form",className:l.default.form})]})]}))])},681990,e=>{e.v({columns:"CoverageResult-module-scss-module__SRyuMG__columns",disclaimer:"CoverageResult-module-scss-module__SRyuMG__disclaimer",divider:"CoverageResult-module-scss-module__SRyuMG__divider",footer:"CoverageResult-module-scss-module__SRyuMG__footer","info-cards":"CoverageResult-module-scss-module__SRyuMG__info-cards",panel:"CoverageResult-module-scss-module__SRyuMG__panel",prices:"CoverageResult-module-scss-module__SRyuMG__prices","second-column":"CoverageResult-module-scss-module__SRyuMG__second-column","self-pay-cta":"CoverageResult-module-scss-module__SRyuMG__self-pay-cta"})},224295,e=>{e.v({hero:"InsuranceCoverageChecker-module-scss-module___WljIq__hero","hero-compact":"InsuranceCoverageChecker-module-scss-module___WljIq__hero-compact",inner:"InsuranceCoverageChecker-module-scss-module___WljIq__inner","result-inner":"InsuranceCoverageChecker-module-scss-module___WljIq__result-inner",section:"InsuranceCoverageChecker-module-scss-module___WljIq__section","text-stack":"InsuranceCoverageChecker-module-scss-module___WljIq__text-stack"})},537650,e=>{"use strict";var a=e.i(843476),s=e.i(271645),l=e.i(207670),t=e.i(831884),i=e.i(662537),o=e.i(331966),r=e.i(556917),n=e.i(762630),d=e.i(572226),c=e.i(555783),u=e.i(677574),m=e.i(300577);let _={name:u.CANT_FIND_CARRIER,synonyms:[],popular:!1};function p({carriers:e,value:t,onChange:i,onCantFind:o,placeholder:r="Select your insurance carrier",disabled:u=!1}
2){let[h,f]=(0,s.useState)(""),g=(0,c.useIsMobile)(),v=(0,s.useRef)(null),x=""===h?e:e.filter(e=>{let a;return a=h.toLowerCase(),!!e.name.toLowerCase().includes(a)||e.synonyms.some(e=>e.toLowerCase().includes(a))}),b=e.filter(e=>e.popular);return(0,a.jsx)(n.Combobox,{as:"div",value:t,onChange:e=>{e===_?o():i(e),setTimeout(()=>v.current?.blur(),0)},onClose:()=>f(""),disabled:u,immediate:!0,className:({open:e})=>(0,l.default)(m.default.root,e&&g&&m.default["mobile-open"],e&&g&&"coverage-search-overlay"),children:({open:e})=>(0,a.jsxs)(a.Fragment,{children:[e&&g&&(0,a.jsxs)("button",{type:"button",className:m.default.back,onMouseDown:e=>e.preventDefault(),onClick:()=>v.current?.blur(),children:[(0,a.jsx)(d.ArrowLeftIcon,{width:20,height:20}),"Back"]}),(0,a.jsx)(n.ComboboxInput,{ref:v,"aria-label":r,placeholder:r,autoComplete:"off",className:(0,l.default)("body-copy",m.default.input),displayValue:e=>e?.name??"",onChange:e=>f(e.target.value)}),(0,a.jsxs)(n.ComboboxOptions,{as:"div",modal:!1,transition:!0,className:(0,l.default)("shadow",m.default.panel),children:[(0,a.jsx)("h3",{className:m.default.heading,children:"Select insurance carrier"}),(0,a.jsx)("p",{className:(0,l.default)("body-copy",m.default.subheading),children:"We accept most major insurance plans."}),""===h&&b.length>0&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("p",{className:m.default.grouplabel,children:"Popular carriers"}),(0,a.jsx)("div",{className:m.default.chips,children:b.map(e=>(0,a.jsx)(n.ComboboxOption,{value:e,className:m.default.chip,children:e.name},`chip-${e.name}`))})]}),(0,a.jsx)("p",{className:m.default.grouplabel,children:"All carriers"}),(0,a.jsx)("ul",{className:m.default.list,children:x.map(e=>(0,a.jsx)(n.ComboboxOption,{as:"li",value:e,className:m.default.option,children:(0,a.jsx)("span",{className:"body-copy",children:e.name})},e.name))}),(0,a.jsx)(n.ComboboxOption,{value:_,className:m.default.cantfind,children:"Can’t find my insurance"})]})]})})}var h=e.i(691586),f=e.i(688351);function g({states:e,fetchStateData:l,onResult:t}){let[n,d]=(0,s.useState)(null),[c,m]=(0,s.useState)(null),[_,v]=(0,s.useState)(!1),[x,b]=(0,s.useState)([]),[y,C]=(0,s.useState)(!1),N=(0,s.useRef)({}),j=(0,s.useRef)(0),w=c||_?"done":n?"loading":"idle",A=async e=>{if(d(e),m(null),v(!1),b([]),!e)return;(0,o.trackEvent)("Insurance Coverage Checker - State Selected",{state_code:e.code,state_name:e.name});let a=N.current[e.code];if(a)return void b((0,u.carriersFromRows)(a));let s=++j.current;C(!0);try{let a=await l(e.code);N.current[e.code]=a,s===j.current&&b((0,u.carriersFromRows)(a))}catch(a){i.captureException(a,{tags:{midi_report:"true",context:"insurance-coverage-checker"},extra:{stateCode:e.code}})}finally{s===j.current&&C(!1)}},k=e=>{if(!n)return;let a=e===u.CANT_FIND_CARRIER;(0,o.trackEvent)("Insurance Coverage Checker - Carrier Selected",{state_code:n.code,state_name:n.name,carrier_name:a?"Can't find my insurance":e,cant_find:a});let s=N.current[n.code]??[];t((0,u.coverageFromRows)(s,n.code,e))};return(0,a.jsxs)("div",{className:f.default.bar,children:[(0,a.jsx)("div",{className:f.default.field,children:(0,a.jsx)(r.Typeahead,{items:e,value:n,onChange:A,getOptionLabel:e=>e.name,getOptionKey:e=>e.code,placeholder:"Select US state",ariaLabel:"Select US state",immediate:!0,minQueryLength:0})}),(0,a.jsx)("div",{className:f.default.divider}),(0,a.jsx)("div",{className:f.default.field,children:(0,a.jsx)(p,{carriers:x,value:c,onChange:e=>{m(e),v(!1),n&&e&&k(e.name)},onCantFind:()=>{m(null),v(!0),k(u.CANT_FIND_CARRIER)},disabled:!n||y})}),"idle"!==w&&(0,a.jsxs)("span",{className:f.default.status,children:["loading"===w&&(0,a.jsx)("span",{role:"status","aria-label":"Checking coverage",children:(0,a.jsx)(h.LoadingSpinnerIcon,{className:f.default.spinner})}),"done"===w&&(0,a.jsx)(h.CheckCircleOutlineIcon,{className:f.default.check})]})]})}var v=e.i(248583);function x({children:e,action:s,className:t}){return(0,a.jsxs)("div",{className:(0,l.default)(v.default.card,t),children:[s&&(0,a.jsx)("div",{className:v.default.action,children:s}),e]})}var b=e.i(299958);function y({icon:e,label:s,price:t,caption:i,className:o}){return(0,a.jsxs)("div",{className:(0,l.default)(b.default.card,o),children:[e&&(0,a.jsx)("span",{className:b.default.icon,children:e}),(0,a.jsxs)("div",{className:b.default.body,children:[(0,a.jsx)("p",{className:b.default.label,children:s}),(0,a.jsx)("p",{className:b.default.price,children:t}),i&&(0,a.jsx)("p",{className:b.default.caption,children:i})]})]})}var C=e.i(404030);function N({icon:e,children:s,className:t}){return(0,a.jsxs)("div",{className:(0,l.default)(C.default.card,t),children:[(0,a.jsx)("span",{className:C.default.icon,children:e}),(0,a.jsx)("div",{className:(0,l.default)("body-copy",C.default.body),children:s})]})}var j=e.i(187726);function w({title:e,accent:t="neutral",items:i,leadText:o,cta:r,helper:n,className:c,defaultOpen:u=!0}
2){let[m,_]=(0,s.useState)(u),p=`${(0,s.useId)()}-body`;return(0,a.jsxs)("div",{className:(0,l.default)(j.default.column,j.default[t],c),"data-open":m,children:[(0,a.jsxs)("button",{type:"button",className:j.default.header,"aria-expanded":m,"aria-controls":p,onClick:()=>_(e=>!e),children:[(0,a.jsx)("h3",{className:j.default.title,children:e}),(0,a.jsx)("span",{className:j.default.indicator,"aria-hidden":!0,children:m?(0,a.jsx)(d.Cross2Icon,{width:20,height:20}):(0,a.jsx)(d.PlusIcon,{width:20,height:20})})]}),(0,a.jsxs)("div",{id:p,className:j.default.body,children:[(0,a.jsx)("ul",{className:j.default.list,children:i.map((e,s)=>(0,a.jsx)("li",{className:(0,l.default)("body-copy",j.default.item),children:e},`${e}-${s}`))}),(o||r||n)&&(0,a.jsxs)("div",{className:j.default.footer,children:[o&&(0,a.jsx)("p",{className:j.default.lead,children:o}),r&&(0,a.jsx)("div",{className:j.default.cta,children:r}),n&&(0,a.jsx)("p",{className:(0,l.default)("body-copy",j.default.helper),children:n})]})]})]})}var A=e.i(145694),k=e.i(944246),S=e.i(681990);let P="$250",I="$150";function M({result:e}){let{branch:s,carrierName:i,stateName:o,acceptedPlans:r,notAcceptedPlans:n}=e,d=()=>(0,k.setRegPaymentType)("insurance"),c=()=>(0,k.setRegPaymentType)("self-pay"),u=e=>(0,a.jsxs)(x,{className:S.default.panel,children:[(0,a.jsx)(t.StackedText,{headline:(0,a.jsxs)("h2",{children:[i," is not in-network with Midi"]}),subheading:(0,a.jsx)("p",{children:"You can still get the same expert Midi care through our self-pay options — no insurance required."})}),(0,a.jsxs)("div",{className:S.default.prices,children:[(0,a.jsx)(y,{icon:(0,a.jsx)(h.ShieldPlusIcon,{}),label:"First visit",price:P,caption:"30-minute comprehensive visit"}),(0,a.jsx)(y,{icon:(0,a.jsx)(h.ShieldPlusIcon,{}),label:"Follow-up visits",price:I,caption:"15-minute visit"})]}),(0,a.jsx)("hr",{className:S.default.divider}),(0,a.jsx)(A.CtaMidiAppLink,{midiAppPage:"welcome",ctaType:"primary",sliceType:"insurance_coverage_checker",analyticsCtaType:"insurance_checker_self_pay",onClick:c,children:"Create account & book a self-pay visit"}),e&&(0,a.jsx)("p",{className:(0,l.default)("body-copy",S.default.disclaimer),children:e})]});return"in_network"===s?(0,a.jsxs)(x,{className:S.default.panel,children:[(0,a.jsx)(t.StackedText,{headline:(0,a.jsxs)("h2",{children:["Good news — we work with most ",i," plans in ",o,"."]}),subheading:(0,a.jsx)("p",{children:"Check the lists below to see if your specific plan is accepted or not."})}),(0,a.jsxs)("div",{className:S.default.columns,children:[(0,a.jsx)(w,{title:"Accepted",accent:"positive",items:r,leadText:"See your plan in the accepted list?",cta:(0,a.jsx)(A.CtaMidiAppLink,{midiAppPage:"welcome",ctaType:"primary",sliceType:"insurance_coverage_checker",analyticsCtaType:"insurance_checker_insurance",onClick:d,children:"Create account & book a visit"})}),(0,a.jsx)(w,{title:"Not accepted",accent:"negative",className:S.default["second-column"],items:n,leadText:"Plan not accepted?",cta:(0,a.jsx)(A.CtaMidiAppLink,{midiAppPage:"welcome",ctaType:"secondary",sliceType:"insurance_coverage_checker",analyticsCtaType:"insurance_checker_self_pay",className:S.default["self-pay-cta"],onClick:c,children:"Create account & book a self-pay visit"}),helper:`Self-pay visits are ${P} for a first 30-minute comprehensive visit, and ${I} for follow-up visits.`})]}),(0,a.jsxs)("p",{className:(0,l.default)("body-copy",S.default.footer),children:["Don’t see your plan listed? No worries, upload your insurance card and we’ll confirm your coverage for you."," ",(0,a.jsx)(A.CtaMidiAppLink,{midiAppPage:"welcome",ctaType:"inline",sliceType:"insurance_coverage_checker",analyticsCtaType:"insurance_checker_insurance",onClick:d,children:"Create account & book a visit"})]})]}):"not_in_network"===s?u():"ineligible"===s?"Medicare"===i?u("Midi is not covered by Medicare or any Medicare-related insurance plan. Midi can accept Medicare beneficiaries as self-pay patients, but beneficiaries cannot submit any claims related to their Midi visits, medications, or associated services."):(0,a.jsxs)(x,{className:S.default.panel,children:[(0,a.jsx)(t.StackedText,{headline:(0,a.jsx)("h2",{children:"We’re not able to accept Medicaid or Medi-Cal patients at this time"})}),(0,a.jsxs)("p",{className:"body-copy",children:["Midi Health and its medical groups are not enrolled with state healthcare programs including Medicaid and Medi-Cal.",(0,a.jsx)("br",{}),"Unfortunately, we cannot treat Medicaid or Medi-Cal patients at this time, including as self-pay patients."]})]}):(0,a.jsxs)(x,{className:S.default.panel,children:[(0,a.jsx)(t.StackedText,{headline:(0,a.jsx)("h2",{children:"We may be able to cover you — let’s find out"}),subheading:(0,a.jsx)("p",{children:"We accept most major insurance plans."})}),(0,a.jsxs)("div",{className:S.default["info-cards"],children:[(0,a.jsxs)(N,{icon:(0,a.jsx)(h.HeartCrossBoldIcon,{}),children:[(0,a.jsxs)("p",{style:{margin:0},children:[(0,a.jsx)("strong",{children:"Create a free account and upload a photo of your insurance card."})," ","Our team will review it and confirm whether you’re in-network."]}),(0,a.jsx)(A.CtaMidiAppLink,{midiAppPage:"welcome",ctaType:"primary",sliceType:"insurance_coverage_checker",analyticsCtaType:"insurance_checker_insurance",onClick:d,children:"Create account & book a visit"})]}),(0,a.jsx)(N,{icon:(0,a.jsx)(h.ShieldPlusIcon,{}),children:(0,a.jsxs)("p",{style:{margin:0},children:[(0,a.jsx)("strong",{children:"Call your insurance company"})," and ask: “Is Midi Health an in-network provider on my plan?”"]})})]})]})}var T=e.i(224295);async function E(e){let a=await fetch(`/api/insurance-coverage?state=${encodeURIComponent(e)}`);
2if(!a.ok)throw Error(`Coverage data fetch failed (${a.status})`);return(await a.json()).rows}e.s(["default",0,({slice:e})=>{let[i,o]=(0,s.useState)(null),r=(0,u.getStates)(),n=(0,c.useIsMobile)(),d=(0,s.useRef)(null);return(0,s.useEffect)(()=>{i&&n&&d.current?.scrollIntoView({behavior:"smooth",block:"start"})},[i,n]),(0,a.jsxs)("section",{"data-slice-type":e.slice_type,"data-slice-variation":e.variation,className:T.default.section,children:[(0,a.jsx)("div",{className:(0,l.default)(T.default.hero,i&&T.default["hero-compact"]),children:(0,a.jsxs)("div",{className:T.default.inner,children:[(0,a.jsx)("div",{className:T.default["text-stack"],children:(0,a.jsx)(t.StackedText,{headline:(0,a.jsx)("h1",{children:"Check your coverage"}),subheading:(0,a.jsx)("p",{children:"Midi is in-network with most major insurance providers across the country — but your specific plan matters. Enter your state and insurance carrier below to find out where you stand."})})}),(0,a.jsx)(g,{states:r,fetchStateData:E,onResult:o})]})}),i&&(0,a.jsx)("div",{ref:d,className:(0,l.default)(T.default.inner,T.default["result-inner"]),children:(0,a.jsx)(M,{result:i})})]})}],537650)},677574,e=>{"use strict";var a=e.i(217458);let s="__cant_find__",l=new Set(["aetna","cigna","bcbs","blue cross blue shield","united healthcare","health net"]);e.s(["CANT_FIND_CARRIER",0,s,"carriersFromRows",0,function(e){let a=new Map;for(let s of e)a.has(s.carrier)||a.set(s.carrier,{name:s.carrier,synonyms:s.synonyms,popular:l.has(s.carrier.toLowerCase())});return[...a.values()].sort((e,a)=>e.name.localeCompare(a.name))},"coverageFromRows",0,function(e,l,t){let i={branch:"uncertain",carrierName:t,stateName:a.US_STATES.find(e=>e.code===l)?.name??l,acceptedPlans:[],notAcceptedPlans:[]};if(t===s)return{...i,carrierName:""};let o=e.filter(e=>e.carrier===t);if(0===o.length)return i;if(o.some(e=>"OON No Self Pay"===e.status))return{...i,branch:"ineligible"};let r=o.filter(e=>"In Network"===e.status).map(e=>e.plan),n=o.filter(e=>"OON"===e.status).map(e=>e.plan);return r.length>0?{...i,branch:"in_network",acceptedPlans:r,notAcceptedPlans:n}:{...i,branch:"not_in_network",notAcceptedPlans:n}},"getStates",0,function(){return a.US_STATES}])},227219,e=>{e.v({button:"NewsletterSignUpForm-module-scss-module__JEOx6q__button",card:"NewsletterSignUpForm-module-scss-module__JEOx6q__card",error:"NewsletterSignUpForm-module-scss-module__JEOx6q__error",input:"NewsletterSignUpForm-module-scss-module__JEOx6q__input","input-invalid":"NewsletterSignUpForm-module-scss-module__JEOx6q__input-invalid",label:"NewsletterSignUpForm-module-scss-module__JEOx6q__label"})},780175,e=>{"use strict";var a=e.i(843476),s=e.i(207670),l=e.i(707621),t=e.i(816745),i=e.i(227219);e.s(["default",0,({slice:e})=>{let{status:o,emailError:r,submitting:n,onSubmit:d,clearEmailError:c}=(0,t.useNewsletterSignup)("blog"),u=(0,t.useHydrated)();return(0,a.jsx)("section",{"data-slice-type":e.slice_type,"data-slice-variation":e.variation,children:"done"===o?(0,a.jsx)("p",{className:i.default.card,role:"status",children:"Thank you for subscribing! Be on the lookout for Midi emails in your inbox"}):(0,a.jsxs)("form",{className:i.default.card,onSubmit:d,noValidate:!0,children:[(0,a.jsx)("label",{className:i.default.label,htmlFor:"blog-newsletter-email",children:"Enjoy Midi Content? Subscribe to the Midi Newsletter"}),(0,a.jsx)("input",{className:(0,s.default)(i.default.input,{[i.default["input-invalid"]]:r}),id:"blog-newsletter-email",type:"email",name:"email",placeholder:"Enter your email here",autoComplete:"email",maxLength:200,onInput:c,required:!0}),(0,a.jsx)("button",{className:(0,s.default)("cta","primary-cta",i.default.button),type:"submit",disabled:!u||n,children:"Subscribe"}),(r||"failed"===o)&&(0,a.jsxs)("p",{className:i.default.error,role:"alert",children:[(0,a.jsx)(l.CircleAlert,{"aria-hidden":"true"}),r??t.SUBMIT_FAILED_MESSAGE]})]})})}])},762037,e=>{e.v({active:"PricingTabs-module-scss-module__KPmW_q__active",bounded:"PricingTabs-module-scss-module__KPmW_q__bounded",container:"PricingTabs-module-scss-module__KPmW_q__container","cta-container":"PricingTabs-module-scss-module__KPmW_q__cta-container","desktop-cta":"PricingTabs-module-scss-module__KPmW_q__desktop-cta","info-box":"PricingTabs-module-scss-module__KPmW_q__info-box","info-box-title":"PricingTabs-module-scss-module__KPmW_q__info-box-title","info-container":"PricingTabs-module-scss-module__KPmW_q__info-container","mobile-cta":"PricingTabs-module-scss-module__KPmW_q__mobile-cta",panel:"PricingTabs-module-scss-module__KPmW_q__panel","panel-item":"PricingTabs-module-scss-module__KPmW_q__panel-item","sub-copy-container":"PricingTabs-module-scss-module__KPmW_q__sub-copy-container","tab-button":"PricingTabs-module-scss-module__KPmW_q__tab-button","tab-buttons-container":"PricingTabs-module-scss-module__KPmW_q__tab-buttons-container","text-stack":"PricingTabs-module-scss-module__KPmW_q__text-stack"})},435841,e=>{"use strict";var a=e.i(843476),s=e.i(747357),l=e.i(762037),t=e.i(831884),i=e.i(214261),o=e.i(271645),r=e.i(207670);let n=[{tabLabel:"Insurance",items:[{itemTitle:"Initial Visit",itemContent:"Only pay your standard co-pay and deductible"},{itemTitle:"Continued Care Visits",itemContent:"Only pay standard co-pay and deductible"}]}
2,{tabLabel:"Self-Pay",items:[{itemTitle:"Initial Visit",itemContent:"$250"},{itemTitle:"Continued Care Visits",itemContent:"$150"}]}];e.s(["default",0,({slice:e})=>{let d=!!e.primary.cta_label,c=e.primary.cta_midi_app_url,u=e.primary.cta_midi_app_url_param_value,[m,_]=(0,o.useState)(n[0].tabLabel),p=(0,o.useRef)(null);return(0,o.useEffect)(()=>{let e=p.current,a=e=>{"Tab"!==e.key&&e.preventDefault(),("ArrowRight"===e.key||"ArrowLeft"===e.key)&&_(e=>e===n[0].tabLabel?n[1].tabLabel:n[0].tabLabel)};return e&&e.addEventListener("keydown",a),()=>{e&&e.removeEventListener("keydown",a)}},[]),(0,a.jsx)(s.Bounded,{"data-slice-type":e.slice_type,"data-slice-variation":e.variation,boundedClassName:l.default.bounded,children:(0,a.jsxs)("div",{className:l.default.container,children:[(0,a.jsxs)("div",{className:l.default["text-stack"],children:[(0,a.jsx)(t.StackedText,{eyebrow:"Costs & Coverage",headline:(0,a.jsxs)("h2",{children:["Expert Care.",(0,a.jsx)("br",{}),"Sane Pricing."]})}),d&&(0,a.jsx)("div",{className:l.default["cta-container"],children:(0,a.jsx)(i.CtaFromPrismic,{sliceType:e.slice_type,ctaType:"primary",midiAppPage:c,midiAppPageParamValue:u,className:l.default["desktop-cta"],field:e.primary.cta_link,children:e.primary.cta_label})})]}),(0,a.jsxs)("div",{className:l.default["info-container"],children:[(0,a.jsx)("div",{className:l.default["tab-buttons-container"],role:"tablist","aria-orientation":"horizontal","aria-label":"Pricing Tabs",ref:p,children:n.map(e=>(0,a.jsx)("button",{onClick:()=>_(e.tabLabel),role:"tab","aria-selected":m===e.tabLabel,"aria-controls":`panel-${e.tabLabel}`,id:`tab-${e.tabLabel}`,tabIndex:m===e.tabLabel?0:-1,className:(0,r.default)([l.default["tab-button"],m===e.tabLabel?l.default.active:""]),children:e.tabLabel},`tab-${e.tabLabel}`))}),n.map(e=>(0,a.jsx)("div",{className:l.default.panel,id:`panel-${e.tabLabel}`,role:"tabpanel",tabIndex:0,"aria-labelledby":`tab-${e.tabLabel}`,hidden:m!==e.tabLabel,children:(0,a.jsx)("div",{className:l.default["panel-item"],children:e.items.map((e,s)=>(0,a.jsxs)("div",{className:l.default["info-box"],children:[(0,a.jsx)("div",{className:l.default["info-box-title"],children:(0,a.jsx)("h3",{children:e.itemTitle})}),(0,a.jsx)("p",{children:e.itemContent})]},s))})},`panel-${e.tabLabel}`)),(0,a.jsx)("div",{className:l.default["sub-copy-container"],children:"limitedSubCopy"===e.variation?(0,a.jsxs)("p",{children:["Have questions about insurance or anything else? Email us at"," ",(0,a.jsx)("a",{href:"mailto:[email protected]",children:"[email protected]"})," ","and our support team will jump in to help."]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("p",{children:"Midi is in-network with most PPO plans. Coverage varies by plan; deductibles, coinsurance, and copays may still apply. Midi Health and the Medical Groups are not enrolled with and are not participating providers with state healthcare programs (i.e., Medi-Cal, Medicaid). We cannot treat Medicaid or Medi-Cal patients at this time, even as self-pay patients."}),(0,a.jsxs)("p",{children:["Midi is not covered by Medicare or any Medicare-related insurance plan. Midi can accept Medicare beneficiaries as self-pay patients, but beneficiaries cannot submit any claims related to their Midi visits, medications, or associated services. Have questions about insurance or anything else? Email us at"," ",(0,a.jsx)("a",{href:"mailto:[email protected]",children:"[email protected]"})," ","and our support team will jump in to help."]})]})})]}),d&&(0,a.jsx)(i.CtaFromPrismic,{sliceType:e.slice_type,ctaType:"primary",midiAppPage:c,midiAppPageParamValue:u,className:l.default["mobile-cta"],field:e.primary.cta_link,children:e.primary.cta_label})]})})}])},956083,e=>{e.v({bounded:"SearchDropdownList-module-scss-module__1y8wPW__bounded",caption:"SearchDropdownList-module-scss-module__1y8wPW__caption","combobox-container":"SearchDropdownList-module-scss-module__1y8wPW__combobox-container",details:"SearchDropdownList-module-scss-module__1y8wPW__details",input:"SearchDropdownList-module-scss-module__1y8wPW__input","input-container":"SearchDropdownList-module-scss-module__1y8wPW__input-container",listname:"SearchDropdownList-module-scss-module__1y8wPW__listname",option:"SearchDropdownList-module-scss-module__1y8wPW__option",options:"SearchDropdownList-module-scss-module__1y8wPW__options","search-icon":"SearchDropdownList-module-scss-module__1y8wPW__search-icon",section:"SearchDropdownList-module-scss-module__1y8wPW__section","text-stack":"SearchDropdownList-module-scss-module__1y8wPW__text-stack"})},262777,e=>{"use strict";var a=e.i(843476),s=e.i(212224),l=e.i(507789),t=e.i(956083),i=e.i(762630),o=e.i(639100),r=e.i(207670),n=e.i(271645),d=e.i(747357),c=e.i(831884),u=e.i(691586),m=e.i(618566);e.s(["default",0,({slice:e})=>
2{let _=e.primary.dropdown_items,[p,h]=(0,n.useState)(null),[f,g]=(0,n.useState)(""),v=(0,m.useRouter)(),x=""===f||f.length<3?[]:_.filter(e=>!!e.name&&"Any"!==e.link.link_type&&e.name.toLowerCase().includes(f.toLowerCase()));return(0,n.useEffect)(()=>{if(p){let e=(0,s.asLink)(p.link);e&&v.push(e)}},[p,v]),(0,a.jsxs)(d.Bounded,{sectionClassName:t.default.section,boundedClassName:t.default.bounded,children:[(0,a.jsx)("div",{className:t.default["text-stack"],children:(0,a.jsx)(c.StackedText,{headline:(0,a.jsx)(l.PrismicRichText,{field:e.primary.headline}),subheading:(0,a.jsx)(l.PrismicRichText,{field:e.primary.subheading})})}),(0,a.jsx)("div",{className:t.default["combobox-container"],children:(0,a.jsx)(o.Field,{children:(0,a.jsxs)(i.Combobox,{as:"div",value:p,onChange:e=>h(e),onClose:()=>g(""),children:[(0,a.jsxs)("div",{className:t.default["input-container"],children:[(0,a.jsx)("div",{className:t.default["search-icon"],children:(0,a.jsx)(u.SearchIcon,{})}),(0,a.jsx)(i.ComboboxInput,{"aria-label":`${e.primary.dropdown_placeholder_text||"search input"}`,placeholder:`${e.primary.dropdown_placeholder_text||""}`,className:(0,r.default)(["body-copy",t.default.input]),displayValue:e=>`${e?.name||""}`,onChange:e=>g(e.target.value)})]}),x.length>0&&(0,a.jsx)(i.ComboboxOptions,{anchor:"bottom start",as:"ul",transition:!0,className:(0,r.default)(["shadow",t.default.options]),children:x.map(e=>(0,a.jsx)(i.ComboboxOption,{as:"li",value:e,className:t.default.option,children:(0,a.jsx)("div",{className:(0,r.default)(["body-copy",t.default.listname]),children:e.name})},e.name))})]})})})]})}])},386550,e=>{e.v({"carousel-trigger-buttons":"SlideshowTextStack-module-scss-module__v4fFTa__carousel-trigger-buttons",embla:"SlideshowTextStack-module-scss-module__v4fFTa__embla","embla-grid-left":"SlideshowTextStack-module-scss-module__v4fFTa__embla-grid-left",embla__container:"SlideshowTextStack-module-scss-module__v4fFTa__embla__container",embla__next:"SlideshowTextStack-module-scss-module__v4fFTa__embla__next",embla__prev:"SlideshowTextStack-module-scss-module__v4fFTa__embla__prev",embla__slide:"SlideshowTextStack-module-scss-module__v4fFTa__embla__slide",embla__viewport:"SlideshowTextStack-module-scss-module__v4fFTa__embla__viewport","slide-image":"SlideshowTextStack-module-scss-module__v4fFTa__slide-image","text-grid-left":"SlideshowTextStack-module-scss-module__v4fFTa__text-grid-left","text-stack":"SlideshowTextStack-module-scss-module__v4fFTa__text-stack"})},550114,e=>{"use strict";var a=e.i(843476),s=e.i(507789),l=e.i(130013),t=e.i(572226);e.i(54829);var i=e.i(527298),o=e.i(831884),r=e.i(386550),n=e.i(219160),d=e.i(747357),c=e.i(207670);e.s(["default",0,({slice:e})=>{let[u,m]=(0,l.default)({loop:!0,align:"start"}),{scrollPrev:_,scrollNext:p,prevBtnDisabled:h,nextBtnDisabled:f}=(0,i.useCarouselNav)(m);return(0,a.jsxs)(d.Bounded,{children:[(0,a.jsx)("div",{className:(0,c.default)(["rightSideCarousel"===e.variation?r.default["text-grid-left"]:r.default["text-stack"]]),children:(0,a.jsx)(o.StackedText,{eyebrow:e.primary.eyebrow,headline:(0,a.jsx)(s.PrismicRichText,{field:e.primary.headline}),subheading:(0,a.jsx)(s.PrismicRichText,{field:e.primary.subheading})})}),(0,a.jsxs)("div",{className:(0,c.default)(["rightSideCarousel"===e.variation?r.default["embla-grid-left"]:r.default.embla]),children:[(0,a.jsx)("div",{className:r.default.embla__viewport,ref:u,children:(0,a.jsx)("div",{className:r.default.embla__container,children:e.primary.slides.map((e,s)=>(0,a.jsx)("div",{className:r.default.embla__slide,children:(0,a.jsx)(n.PrismicNextImage,{fallbackAlt:"",className:r.default["slide-image"],field:e.image})},s))})}),(0,a.jsxs)("div",{className:r.default["carousel-trigger-buttons"],children:[(0,a.jsx)("button",{"aria-label":"go to previous slide in carousel",disabled:h,className:r.default.embla__prev,onClick:_,children:(0,a.jsx)(t.ChevronLeftIcon,{})}),(0,a.jsx)("button",{"aria-label":"go to next slide in carousel",disabled:f,className:r.default.embla__next,onClick:p,children:(0,a.jsx)(t.ChevronRightIcon,{})})]})]})]})}])},404720,e=>{e.v({"combobox-container":"StateInsurance-module-scss-module__LATv5a__combobox-container",input:"StateInsurance-module-scss-module__LATv5a__input","input-container":"StateInsurance-module-scss-module__LATv5a__input-container","insurance-list-container":"StateInsurance-module-scss-module__LATv5a__insurance-list-container",list:"StateInsurance-module-scss-module__LATv5a__list",logos:"StateInsurance-module-scss-module__LATv5a__logos",note:"StateInsurance-module-scss-module__LATv5a__note",option:"StateInsurance-module-scss-module__LATv5a__option",options:"StateInsurance-module-scss-module__LATv5a__options","search-icon":"StateInsurance-module-scss-module__LATv5a__search-icon",state:"StateInsurance-module-scss-module__LATv5a__state","text-stack":"StateInsurance-module-scss-module__LATv5a__text-stack"})},719909,e=>{"use strict";
2var a=e.i(843476),s=e.i(657688);let l={src:e.i(36905).default,width:1106,height:792,blurWidth:8,blurHeight:6,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAGCAYAAAD+Bd/7AAAAgklEQVR42j2OWw4CIQxF7xRoGRke4iMRNCa6APe/O0vCTJP70duTk4IWY7PUZ+B0A7AQ+/XUvj8W/yGiDRPoO6Arc76+neOuQIDVopatW2sF+6yxgEsZPMgYF1Ns4n0+AL5UyOsBEGmcB9cGkjDPWiLNGLWo2uU7zBrHDxNQPc4D+ANTxAT4rx+mxwAAAABJRU5ErkJggg=="},t=[{id:1,name:"Alabama",insuranceProviders:["Aetna (PPO/HMO)","Cigna (PPO/OAP)","Blue Cross Blue Shield","UnitedHealthcare"]},{id:2,name:"Alaska",insuranceProviders:["Aetna (PPO/HMO)","Cigna (PPO/OAP)","UnitedHealthcare"]},{id:3,name:"Arizona",insuranceProviders:["Aetna (PPO/HMO)","Cigna (PPO/OAP)","Blue Cross Blue Shield","UnitedHealthcare"]},{id:4,name:"Arkansas",insuranceProviders:["Aetna (PPO/HMO)","Blue Cross Blue Shield","Cigna (PPO/OAP)","UnitedHealthcare"]},{id:5,name:"California",insuranceProviders:["Aetna (PPO/HMO)","Cigna (PPO/OAP)","Anthem (including Select PPO and HPN)","Blue Cross Blue Shield","Blue Shield of California","Health Net","UnitedHealthcare"]},{id:6,name:"Colorado",insuranceProviders:["Aetna (PPO/HMO)","Cigna (PPO/OAP)","UnitedHealthcare"]},{id:7,name:"Connecticut",insuranceProviders:["Aetna (PPO/HMO)","Anthem Blue Cross Blue Shield","Cigna (PPO/OAP)","UnitedHealthcare"]},{id:8,name:"Delaware",insuranceProviders:["Aetna (PPO/HMO)","Cigna (PPO/OAP)","UnitedHealthcare","Highmark Blue Shield"]},{id:9,name:"District of Columbia",insuranceProviders:["Aetna (PPO/HMO)","Cigna (PPO/OAP)","UnitedHealthcare","CareFirst Blue Cross Blue Shield"]},{id:10,name:"Florida",insuranceProviders:["Aetna (PPO/HMO)","Blue Cross Blue Shield","Cigna (PPO/OAP)","UnitedHealthcare"]},{id:11,name:"Georgia",insuranceProviders:["Aetna (PPO/HMO)","Cigna (PPO/OAP)","UnitedHealthcare"]},{id:12,name:"Hawaii",insuranceProviders:["Aetna (PPO/HMO)","Cigna (PPO/OAP)","Hawaii Medical Service Association (HMSA)","UnitedHealthcare"]},{id:13,name:"Idaho",insuranceProviders:["Aetna (PPO/HMO)","Cigna (PPO/OAP)","Regence Blue Shield","UnitedHealthcare"]},{id:14,name:"Illinois",insuranceProviders:["Aetna (PPO/HMO)","Cigna (PPO/OAP)","Blue Cross Blue Shield","UnitedHealthcare"]},{id:15,name:"Indiana",insuranceProviders:["Aetna (PPO/HMO)","Cigna (PPO/OAP)","UnitedHealthcare","Anthem Blue Cross Blue Shield"]},{id:16,name:"Iowa",insuranceProviders:["Aetna (PPO/HMO)","Cigna (PPO/OAP)","UnitedHealthcare"]},{id:17,name:"Kansas",insuranceProviders:["Aetna (PPO/HMO)","Cigna (PPO/OAP)","UnitedHealthcare"]},{id:18,name:"Kentucky",insuranceProviders:["Aetna (PPO/HMO)","Cigna (PPO/OAP)","UnitedHealthcare"]},{id:19,name:"Louisiana",insuranceProviders:["Aetna (PPO/HMO)","Cigna (PPO/OAP)","UnitedHealthcare"]},{id:20,name:"Maine",insuranceProviders:["Aetna (PPO/HMO)","Cigna (PPO/OAP)","Anthem","UnitedHealthcare"]},{id:21,name:"Maryland",insuranceProviders:["Aetna (PPO/HMO)","Cigna (PPO/OAP)","UnitedHealthcare","CareFirst Blue Cross Blue Shield"]},{id:22,name:"Massachusetts",insuranceProviders:["Aetna (PPO/HMO)","Cigna (PPO/OAP)","Blue Cross Blue Shield","UnitedHealthcare","Mass General Brigham Health Plan"]},{id:23,name:"Michigan",insuranceProviders:["Aetna (PPO/HMO)","Cigna (PPO/OAP)","Blue Cross Blue Shield","Priority Health","UnitedHealthcare"]},{id:24,name:"Minnesota",insuranceProviders:["Aetna (PPO/HMO)","Cigna (PPO/OAP)","UnitedHealthcare"]},{id:25,name:"Mississippi",insuranceProviders:["Aetna (PPO/HMO)","Cigna (PPO/OAP)","UnitedHealthcare"]},{id:26,name:"Missouri",insuranceProviders:["Aetna (PPO/HMO)","Anthem Blue Cross Blue Shield","Cigna (PPO/OAP)","UnitedHealthcare"]},{id:27,name:"Montana",insuranceProviders:["Aetna (PPO/HMO)","Blue Cross Blue Shield","Cigna (PPO/OAP)","UnitedHealthcare"]},{id:28,name:"Nebraska",insuranceProviders:["Aetna (PPO/HMO)","Blue Cross Blue Shield","Cigna (PPO/OAP)","UnitedHealthcare"]},{id:29,name:"Nevada",insuranceProviders:["Aetna (PPO/HMO)","Cigna (PPO/OAP)","UnitedHealthcare"]},{id:30,name:"New Hampshire",insuranceProviders:["Aetna (PPO/HMO)","Cigna (PPO/OAP)","Anthem Blue Cross Blue Shield","UnitedHealthcare"]}
2,{id:31,name:"New Jersey",insuranceProviders:["Aetna (PPO/HMO)","Cigna (PPO/OAP)","Horizon Blue Cross Blue Shield of New Jersey (including OMNIA Tier 1)","UnitedHealthcare"]},{id:32,name:"New Mexico",insuranceProviders:["Aetna (PPO/HMO)","Blue Cross Blue Shield","Cigna (PPO/OAP)","UnitedHealthcare"]},{id:33,name:"New York",insuranceProviders:["Aetna (PPO/HMO)","Cigna (PPO/OAP)","Anthem Blue Cross Blue Shield","UnitedHealthcare"]},{id:34,name:"North Carolina",insuranceProviders:["Aetna (PPO/HMO)","Blue Cross Blue Shield","Cigna (PPO/OAP)","UnitedHealthcare"]},{id:35,name:"North Dakota",insuranceProviders:["Aetna (PPO/HMO)","Cigna (PPO/OAP)","UnitedHealthcare"]},{id:36,name:"Ohio",insuranceProviders:["Aetna (PPO/HMO)","Cigna (PPO/OAP)","Anthem","UnitedHealthcare"]},{id:37,name:"Oklahoma",insuranceProviders:["Aetna (PPO/HMO)","Blue Cross Blue Shield","Cigna (PPO/OAP)","UnitedHealthcare"]},{id:38,name:"Oregon",insuranceProviders:["Aetna (PPO/HMO)","Cigna (PPO/OAP)","Blue Cross Blue Shield","UnitedHealthcare"]},{id:39,name:"Pennsylvania",insuranceProviders:["Aetna (PPO/HMO)","Cigna (PPO/OAP)","Highmark Blue Cross Blue Shield","UnitedHealthcare"]},{id:40,name:"Rhode Island",insuranceProviders:["Aetna (PPO/HMO)","Cigna (PPO/OAP)","UnitedHealthcare"]},{id:41,name:"South Carolina",insuranceProviders:["Aetna (PPO/HMO)","Cigna (PPO/OAP)","UnitedHealthcare"]},{id:42,name:"South Dakota",insuranceProviders:["Aetna (PPO/HMO)","Cigna (PPO/OAP)","UnitedHealthcare"]},{id:43,name:"Tennessee",insuranceProviders:["Aetna (PPO/HMO)","Cigna (PPO/OAP)","UnitedHealthcare"]},{id:44,name:"Texas",insuranceProviders:["Aetna (PPO/HMO)","Cigna (PPO/OAP)","Blue Cross Blue Shield","UnitedHealthcare"]},{id:45,name:"Utah",insuranceProviders:["Aetna (PPO/HMO)","Cigna (PPO/OAP)","UnitedHealthcare","Regence BlueCross BlueShield"]},{id:46,name:"Vermont",insuranceProviders:["Aetna (PPO/HMO)","Cigna (PPO/OAP)","UnitedHealthcare"]},{id:47,name:"Virginia",insuranceProviders:["Aetna (PPO/HMO)","Cigna (PPO/OAP)","Anthem Blue Cross Blue Shield","UnitedHealthcare"]},{id:48,name:"Washington",insuranceProviders:["Aetna (PPO/HMO)","Cigna (PPO/OAP)","First Choice Health","Premera Blue Cross","Regence Blue Shield","UnitedHealthcare"]},{id:49,name:"West Virginia",insuranceProviders:["Aetna (PPO/HMO)","Cigna (PPO/OAP)","UnitedHealthcare"]},{id:50,name:"Wisconsin",insuranceProviders:["Aetna (PPO/HMO)","Anthem Blue Cross Blue Shield","Cigna (PPO/OAP)","UnitedHealthcare"]},{id:51,name:"Wyoming",insuranceProviders:["Aetna (PPO/HMO)","Cigna (PPO/OAP)","UnitedHealthcare"]}];var i=e.i(404720),o=e.i(762630),r=e.i(639100),n=e.i(207670),d=e.i(271645),c=e.i(747357),u=e.i(831884),m=e.i(691586);e.s(["default",0,({slice:e})=>{let[_,p]=(0,d.useState)(null),[h,f]=(0,d.useState)(""),g=""===h?[]:t.filter(e=>e.name.toLowerCase().startsWith(h.toLowerCase()));return(0,a.jsxs)(c.Bounded,{"data-slice-type":e.slice_type,"data-slice-variation":e.variation,sectionClassName:"module-theme-dark-blue",children:[(0,a.jsx)("div",{className:i.default["text-stack"],children:(0,a.jsx)(u.StackedText,{eyebrow:"Check Your Coverage",headline:(0,a.jsx)("h2",{children:"b2BEmployerStateInsurance"===e.variation?"Costs Covered by Insurance":"Accepted by Insurance, Nationwide"}),subheading:"b2BEmployerStateInsurance"===e.variation?(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{children:"Midi is accepted by most PPO plans nationwide. Virtual visits and prescriptions are covered like any other specialty care or treatment—and billed directly to claims."}),(0,a.jsx)("p",{children:"Check if Midi is in-network with your organization’s health plan by entering your state in the search box below."})]}):(0,a.jsx)("p",{children:"Virtual visits with a Midi clinician—plus prescriptions in your Care Plan—are covered by major insurance providers across the country. Confirm your coverage by selecting your state below."})})}),(0,a.jsx)("div",{className:i.default["combobox-container"],children:(0,a.jsx)(r.Field,{children:(0,a.jsxs)(o.Combobox,{as:"div",value:_,onChange:e=>p(e),onClose:()=>f(""),children:[(0,a.jsxs)("div",{className:i.default["input-container"],children:[(0,a.jsx)("div",{className:i.default["search-icon"],children:(0,a.jsx)(m.SearchIcon,{})}),(0,a.jsx)(o.ComboboxInput,{"aria-label":"Enter your state",placeholder:"Enter your state",autoComplete:"off",className:(0,n.default)(["body-copy",i.default.input]),displayValue:e=>e?.name,onChange:e=>f(e.target.value)})]}),(0,a.jsx)(o.ComboboxOptions,{anchor:"bottom start",as:"ul",transition:!0,className:(0,n.default)(["shadow",i.default.options]),children:g.map(e=>(0,a.jsx)(o.ComboboxOption,{as:"li",value:e,className:i.default.option,children:(0,a.jsx)("div",{className:(0,n.default)(["body-copy",i.default.state]),children:e.name})},e.id))})]})})}),(0,a.jsxs)("div",{className:(0,n.default)("shadow",[i.default["insurance-list-container"]]),children:[_?(0,a.jsx)("ul",{className:i.default.list,children:_.insuranceProviders.map(e=>(0,a.jsx)("li",{children:e},e))}):(0,a.jsx)("div",{className:i.default.logos,children:(0,a.jsx)(s.default,{src:l,alt:"insurance logos"})}),(0,a.jsxs)("div",{className:i.default.note,children:[(0,a.jsx)("p",{className:"body-copy-small",children:"Midi is in-network with most PPO plans. Coverage varies by plan; deductibles, coinsurance, and copays may still apply. Midi Health and the Medical Groups are not enrolled with and are not participating providers with state healthcare programs (i.e., Medi-Cal, Medicaid). We cannot treat Medicaid or Medi-Cal patients at this time, even as self-pay patients."}),(0,a.jsx)("p",{className:"body-copy-small",children:"Midi is not covered by Medicare or any Medicare-related insurance plan. Midi can accept Medicare beneficiaries as 
2self-pay patients, but beneficiaries cannot submit any claims related to their Midi visits, medications, or associated services."})]})]})]})}],719909)},558388,e=>{e.v({"button-container":"TestimonialsFullPage-module-scss-module__z2w3zG__button-container","carousel-trigger-buttons":"TestimonialsFullPage-module-scss-module__z2w3zG__carousel-trigger-buttons",embla:"TestimonialsFullPage-module-scss-module__z2w3zG__embla",embla__container:"TestimonialsFullPage-module-scss-module__z2w3zG__embla__container",embla__next:"TestimonialsFullPage-module-scss-module__z2w3zG__embla__next",embla__prev:"TestimonialsFullPage-module-scss-module__z2w3zG__embla__prev",embla__slide:"TestimonialsFullPage-module-scss-module__z2w3zG__embla__slide",embla__viewport:"TestimonialsFullPage-module-scss-module__z2w3zG__embla__viewport",testimonials:"TestimonialsFullPage-module-scss-module__z2w3zG__testimonials"})},226624,e=>{"use strict";var a=e.i(843476),s=e.i(507789),l=e.i(130013),t=e.i(572226),i=e.i(271645),o=e.i(558388);e.i(54829);var r=e.i(527298),n=e.i(747357);let d=[{firstName:"Dee",lastName:"C.",testimonial:"I'm just a different person compared to who I was a few months ago.",tags:["perimenopause"],videoSrc:"https://player.vimeo.com/video/1000930323?badge=0&amp;autopause=0&amp;player_id=0&amp;app_id=58479",id:1,styleClassName:"",avatarImgSrc:null},{firstName:"Laura",lastName:"M.",testimonial:"My clinician is amazing. She prescribed me a GLP-1 for weight loss and HRT. I've lost 20 pounds. I feel so much better now that I'm getting the right support.",tags:["weight","results"],id:2,styleClassName:"",avatarImgSrc:null,videoSrc:null},{firstName:"Victoria",lastName:"W.",testimonial:"Midi was so easy: I got  a same day appointment and they took my insurance.",tags:["weight"],id:3,styleClassName:"",avatarImgSrc:null,videoSrc:null},{firstName:"Glenda",lastName:"M.",testimonial:"I used to wake up with hot flashes and a racing heart that made sleep and functioning at work impossible. Estrogen patches improved my life in just a few days.",tags:["sleep","menopause","perimenopause","results"],id:4,styleClassName:"",avatarImgSrc:null,videoSrc:null},{firstName:"Toi-Yan",lastName:"L.",testimonial:"It's been about 6 or 7 months, and I feel 100% better.",tags:["menopause","perimenopause"],videoSrc:"https://player.vimeo.com/video/1000931091?badge=0&amp;autopause=0&amp;player_id=0&amp;app_id=58479",id:5,styleClassName:"",avatarImgSrc:null},{firstName:"Monica",lastName:"H.",testimonial:"Getting help for my perimenopausal symptoms and mood swings has been a godsend.",tags:["perimenopause","mood & memory"],id:6,styleClassName:"",avatarImgSrc:null,videoSrc:null},{firstName:"Cheryl",lastName:"P.",testimonial:"I had severe symptoms, from hot flashes to vaginal dryness. My PCP said to wait 6-8 weeks, and I couldn't. I liked the immediacy of Midi. My Care Plan is working.",tags:["menopause"],id:7,styleClassName:"",avatarImgSrc:null,videoSrc:null},{firstName:"Traci",lastName:"M.",testimonial:"When Midi prescribed me bioidentical hormone replacement therapy, it immediately solved my sleep problems.",tags:["sleep"],videoSrc:"https://player.vimeo.com/video/1000931125?badge=0&amp;autopause=0&amp;player_id=0&amp;app_id=58479",id:8,styleClassName:"",avatarImgSrc:null},{firstName:"Libby",lastName:"H.",testimonial:"I spent almost three years being dismissed by doctors, and told to nap more. I've been so happy to find a team that knows how to help women through this transition.",tags:["menopause","perimenopause"],id:9,styleClassName:"",avatarImgSrc:null,videoSrc:null},{firstName:"Amy",lastName:"L.",testimonial:"I've been on my treatment plan for nearly 6 months. I have lost 11 pounds. I was prediabetic and had high cholesterol, but my recent blood work shows normal levels.",tags:["menopause","perimenopause","results"],id:10,styleClassName:"",avatarImgSrc:null,videoSrc:null},{firstName:"Emily",lastName:"C",testimonial:"Midi is my partner through perimenopause.",tags:["perimenopause"],videoSrc:"https://player.vimeo.com/video/1005950986?badge=0&amp;autopause=0&amp;transparent=0&amp;player_id=0&amp;app_id=58479",id:11,styleClassName:"",avatarImgSrc:null},{firstName:"Holli",lastName:"S.",testimonial:"These are true specialists that work with women day in and day out.",tags:["midi brand"],id:12,styleClassName:"",avatarImgSrc:null,videoSrc:null},{firstName:"JoAnne",lastName:"R.",testimonial:"I didn't even know my migraines, joint pain, weight gain, and low energy were hormone-related. My Midi clinician is wonderful, and truly wants me to feel my best.",tags:["perimenopause","menopause"],id:13,styleClassName:"",avatarImgSrc:null,videoSrc:null},{firstName:"Tanefa",lastName:"W.",testimonial:"She was culturally sensitive to the different issues that African American women have in health care.",tags:["menopausal","menopause"],videoSrc:"https://player.vimeo.com/video/1000931061?badge=0&amp;autopause=0&amp;player_id=0&amp;app_id=58479",id:14,styleClassName:"",avatarImgSrc:null}
2,{firstName:"Tanya",lastName:"V.",testimonial:"My night sweats and hot flashes are gone. My libido is back and I'm happy to have the energy to do the things I love again.",tags:["sexual wellness","results"],id:15,styleClassName:"",avatarImgSrc:null,videoSrc:null},{firstName:"Katherine",lastName:"G.",testimonial:"Midi was incredibly easy. I signed up and had a visit the next day. My clinician was kind and thoughtful. By the end of the day, I had my prescriptions called in.",tags:["midi brand"],id:16,styleClassName:"",avatarImgSrc:null,videoSrc:null},{firstName:"Sabrina",lastName:"C.",testimonial:"The care at Midi was more than I could've hoped for.",tags:["midi brand"],id:17,styleClassName:"",avatarImgSrc:null,videoSrc:null},{firstName:"Deborah",lastName:"V.",testimonial:"Midi is the real deal.",tags:["menopause"],videoSrc:"https://player.vimeo.com/video/1000930290?badge=0&amp;autopause=0&amp;player_id=0&amp;app_id=58479",id:18,styleClassName:"",avatarImgSrc:null},{firstName:"Jessica",lastName:"W.",testimonial:"I've struggled with perimenopause symptoms like weight gain, hair loss, acne, and facial hair. It hurt my confidence. Midi has been mind-blowing.",tags:["weight","hair & skin","perimenopause"],id:19,styleClassName:"",avatarImgSrc:null,videoSrc:null},{firstName:"LaTisha",lastName:"G.",testimonial:"I've been on that regimen for 5 months and I've lost 15 pounds.",tags:["perimenopause","weight"],videoSrc:"https://player.vimeo.com/video/1000930781?badge=0&amp;autopause=0&amp;player_id=0&amp;app_id=58479",id:20,styleClassName:"",avatarImgSrc:null},{firstName:"Diana",lastName:"M.",testimonial:"I can't believe what a difference my Care Plan made. My joint pain has subsided, I'm sleeping better, my moodiness leveled out. I feel better than I have in a year.",tags:["menopause","PCOS"],id:21,styleClassName:"",avatarImgSrc:null,videoSrc:null},{firstName:"Shyla",lastName:"D.",testimonial:"For the first time, someone actually listened to me during my visit without typing or multitasking. It felt like a luxury to be genuinely heard.",tags:["midi brand"],id:22,styleClassName:"",avatarImgSrc:null,videoSrc:null},{firstName:"Stephanie",lastName:"P.",testimonial:"My symptoms have greatly improved, and it's only been one month.",tags:["menopause","perimenopause"],id:23,styleClassName:"",avatarImgSrc:null,videoSrc:null},{firstName:"Rebecca",lastName:"H.",testimonial:"My clinician is super empathetic, direct, and validating of my experience and identity.",tags:["midi brand"],videoSrc:"https://player.vimeo.com/video/1000930980?badge=0&autopause=0&player_id=0&app_id=58479/embed",id:24,styleClassName:"",avatarImgSrc:null},{firstName:"Katy",lastName:"M.",testimonial:"I went into menopause at 37, went on HRT, and stopped when I was diagnosed with breast cancer. It was so relieving to have Midi on my side, coming up with solutions.",tags:["menopause","cancer & survivorship"],id:25,styleClassName:"",avatarImgSrc:null,videoSrc:null},{firstName:"Megan",lastName:"S.",testimonial:"I put the patch on and felt like superwoman.",tags:["perimenopause","menopause","mood & memory"],videoSrc:"https://player.vimeo.com/video/1000930876?badge=0&amp;autopause=0&amp;player_id=0&amp;app_id=58479",id:26,styleClassName:"",avatarImgSrc:null},{firstName:"Jessica",lastName:"M.",testimonial:"I've struggled with menopausal weight gain. My Midi clinician helped address this and more, I felt heard and validated. I've been looking for this for a long time.",tags:["weight","menopause"],id:27,styleClassName:"",avatarImgSrc:null,videoSrc:null},{firstName:"Viola",lastName:"F.",testimonial:" I can't believe how much my treatment plan has helped with my perimenopause symptoms.",tags:["perimenopause"],id:28,styleClassName:"",avatarImgSrc:null,videoSrc:null},{firstName:"DeShannon",lastName:"C",testimonial:"Brain fog is gone and I'm back to my even-keeled self.",tags:["perimenopause","menopause"],videoSrc:"https://player.vimeo.com/video/1000930355?badge=0&amp;autopause=0&amp;player_id=0&amp;app_id=58479",id:29,styleClassName:"",avatarImgSrc:null},{firstName:"Willow",lastName:"M.",testimonial:"I've been ecstatic to lose the weight and look in the mirror and feel like myself again.",tags:["weight","menopause"],id:30,styleClassName:"",avatarImgSrc:null,videoSrc:null},{firstName:"Lindsay",lastName:"P.",testimonial:"I cried in our last appointment because it just felt so amazing to have symptoms improving.",tags:["perimenopause","menopause"],videoSrc:"https://player.vimeo.com/video/1000930859?badge=0&amp;autopause=0&amp;player_id=0&amp;app_id=58479",id:31,styleClassName:"",avatarImgSrc:null},{firstName:"Linda",lastName:"M.",testimonial:"Navigating treatment with a history of breast cancer and a hereditary dementia gene is hard. My PCP didn't listen to my concerns, but Midi did.",tags:["cancer & survivorship","menopause"],id:32,styleClassName:"",avatarImgSrc:null,videoSrc:null},{firstName:"Sabrina",lastName:"F.",testimonial:"No more night sweats, hardly any heart palpitations, and I'm sleeping!",tags:["menopause","perimenopause","sleep","results"],videoSrc:"https://player.vimeo.com/video/1000930999?badge=0&amp;autopause=0&amp;player_id=0&amp;app_id=58479",id:33,styleClassName:"",avatarImgSrc:null},{firstName:"Kelleyene",lastName:"P.",testimonial:"My life has changed thanks to Midi. Within two weeks, my hot flashes disappeared.",tags:["weight","menopause","results"],id:34,styleClassName:"",avatarImgSrc:null,videoSrc:null},{firstName:"Joreen",lastName:"V.",testimonial:"I feel amazing. This has been one of the biggest gifts of my adult life.",tags:["menopause","perimenopause"],id:35,styleClassName:"",avatarImgSrc:null,videoSrc:null}],c=[{firstName:"Dee",lastName:"C.",testimonial:"I'm just a different person compared to who I was a few months ago.",tags:["perimenopause"],videoSrc:"https://player.vimeo.com/video/1000930323?badge=0&amp;autopause=0&amp;player_id=0&amp;app_id=58479",id:1,styleClassName:"",avatarImgSrc:null},{firstName:"Laura",lastName:"M.",testimonial:"My clinician is amazing. She prescribed me a GLP-1 for weight loss and HRT. I've lost 20 pounds. I feel so much better now that I'm getting the right support.",tags:["weight","results"],id:2,styleClassName:"",avatarImgSrc:null,videoSrc:null},{firstName:"Victoria",lastName:"W.",testimonial:"Midi was so easy: I got  a same day appointment and they took my insurance.",tags:["weight"],id:3,styleClassName:"",avatarImgSrc:null,videoSrc:null},{firstName:"Toi-Yan",lastName:"L.",testimonial:"It's been about 6 or 7 months, and I feel 100% better.",tags:["menopause","perimenopause"],videoSrc:"https://player.vimeo.com/video/1000931091?badge=0&amp;autopause=0&amp;player_id=0&amp;app_id=58479",id:5,styleClassName:"",avatarImgSrc:null},{firstName:"Glenda",lastName:"M.",testimonial:"I used to wake up with hot flashes and a racing heart that made sleep and functioning at work impossible. Estrogen patches improved my life in just a few days.",tags:["sleep","menopause","perimenopause","results"],id:4,styleClassName:"",avatarImgSrc:null,videoSrc:null},{firstName:"Monica",lastName:"H.",testimonial:"Getting help for my perimenopausal symptoms and mood swings has been a godsend.",tags:["perimenopause","mood & memory"],id:6,styleClassName:"",avatarImgSrc:null,videoSrc:null},{firstName:"Cheryl",lastName:"P.",testimonial:"I had severe symptoms, from hot flashes to vaginal dryness. My PCP said to wait 6-8 weeks, and I couldn't. I liked the immediacy of Midi. My Care Plan is working.",tags:["menopause"],id:7,styleClassName:"",avatarImgSrc:null,videoSrc:null},{firstName:"Traci",lastName:"M.",testimonial:"When Midi prescribed me bioidentical hormone replacement therapy, it immediately solved my sleep problems.",tags:["sleep"],videoSrc:"https://player.vimeo.com/video/1000931125?badge=0&amp;autopause=0&amp;player_id=0&amp;app_id=58479",id:8,styleClassName:"",avatarImgSrc:null},{firstName:"Libby",lastName:"H.",testimonial:"I spent almost three years being dismissed by doctors, and told to 
2nap more. I've been so happy to find a team that knows how to help women through this transition.",tags:["menopause","perimenopause"],id:9,styleClassName:"",avatarImgSrc:null,videoSrc:null},{firstName:"Amy",lastName:"L.",testimonial:"I've been on my treatment plan for nearly 6 months. I have lost 11 pounds. I was prediabetic and had high cholesterol, but my recent blood work shows normal levels.",tags:["menopause","perimenopause","results"],id:10,styleClassName:"",avatarImgSrc:null,videoSrc:null},{firstName:"Emily",lastName:"C",testimonial:"Midi is my partner through perimenopause.",tags:["perimenopause"],videoSrc:"https://player.vimeo.com/video/1005950986?badge=0&amp;autopause=0&amp;transparent=0&amp;player_id=0&amp;app_id=58479",id:11,styleClassName:"",avatarImgSrc:null},{firstName:"Holli",lastName:"S.",testimonial:"These are true specialists that work with women day in and day out.",tags:["midi brand"],id:12,styleClassName:"",avatarImgSrc:null,videoSrc:null},{firstName:"JoAnne",lastName:"R.",testimonial:"I didn't even know my migraines, joint pain, weight gain, and low energy were hormone-related. My Midi clinician is wonderful, and truly wants me to feel my best.",tags:["perimenopause","menopause"],id:13,styleClassName:"",avatarImgSrc:null,videoSrc:null},{firstName:"Tanefa",lastName:"W.",testimonial:"She was culturally sensitive to the different issues that African American women have in health care.",tags:["menopausal","menopause"],videoSrc:"https://player.vimeo.com/video/1000931061?badge=0&amp;autopause=0&amp;player_id=0&amp;app_id=58479",id:14,styleClassName:"",avatarImgSrc:null},{firstName:"Tanya",lastName:"V.",testimonial:"My night sweats and hot flashes are gone. My libido is back and I'm happy to have the energy to do the things I love again.",tags:["sexual wellness","results"],id:15,styleClassName:"",avatarImgSrc:null,videoSrc:null},{firstName:"Katherine",lastName:"G.",testimonial:"Midi was incredibly easy. I signed up and had a visit the next day. My clinician 
2was kind and thoughtful. By the end of the day, I had my prescriptions called in.",tags:["midi brand"],id:16,styleClassName:"",avatarImgSrc:null,videoSrc:null},{firstName:"Sabrina",lastName:"C.",testimonial:"The care at Midi was more than I could've hoped for.",tags:["midi brand"],id:17,styleClassName:"",avatarImgSrc:null,videoSrc:null},{firstName:"Deborah",lastName:"V.",testimonial:"Midi is the real deal.",tags:["menopause"],videoSrc:"https://player.vimeo.com/video/1000930290?badge=0&amp;autopause=0&amp;player_id=0&amp;app_id=58479",id:18,styleClassName:"",avatarImgSrc:null},{firstName:"Jessica",lastName:"W.",testimonial:"I've struggled with perimenopause symptoms like weight gain, hair loss, acne, and facial hair. It hurt my confidence. Midi has been mind-blowing.",tags:["weight","hair & skin","perimenopause"],id:19,styleClassName:"",avatarImgSrc:null,videoSrc:null},{firstName:"LaTisha",lastName:"G.",testimonial:"I've been on that regimen for 5 months and I've lost 15 pounds.",tags:["perimenopause","weight"],videoSrc:"https://player.vimeo.com/video/1000930781?badge=0&amp;autopause=0&amp;player_id=0&amp;app_id=58479",id:20,styleClassName:"",avatarImgSrc:null},{firstName:"Diana",lastName:"M.",testimonial:"I can't believe what a difference my Care Plan made. My joint pain has subsided, I'm sleeping better, my moodiness leveled out. I feel better than I have in a year.",tags:["menopause","PCOS"],id:21,styleClassName:"",avatarImgSrc:null,videoSrc:null},{firstName:"Shyla",lastName:"D.",testimonial:"For the first time, someone actually listened to me during my visit without typing or multitasking. It felt like a luxury to be genuinely heard.",tags:["midi brand"],id:22,styleClassName:"",avatarImgSrc:null,videoSrc:null},{firstName:"Stephanie",lastName:"P.",testimonial:"My symptoms have greatly improved, and it's only been one month.",tags:["menopause","perimenopause"],id:23,styleClassName:"",avatarImgSrc:null,videoSrc:null},{firstName:"Rebecca",lastName:"H.",testimonial:"My clinician is super empathetic, direct, and validating of my experience and identity.",tags:["midi brand"],videoSrc:"https://player.vimeo.com/video/1000930980?badge=0&autopause=0&player_id=0&app_id=58479/embed",id:24,styleClassName:"",avatarImgSrc:null},{firstName:"Katy",lastName:"M.",testimonial:"I went into menopause at 37, went on HRT, and stopped when I was diagnosed with breast cancer. It was so relieving to have Midi on my side, coming up with solutions.",tags:["menopause","cancer & survivorship"],id:25,styleClassName:"",avatarImgSrc:null,videoSrc:null},{firstName:"Megan",lastName:"S.",testimonial:"I put the patch on and felt like superwoman.",tags:["perimenopause","menopause","mood & memory"],videoSrc:"https://player.vimeo.com/video/1000930876?badge=0&amp;autopause=0&amp;player_id=0&amp;app_id=58479",id:26,styleClassName:"",avatarImgSrc:null},{firstName:"Jessica",lastName:"M.",testimonial:"I've struggled with menopausal weight gain. My Midi clinician helped address this and more, I felt heard and validated. I've been looking for this for a long time.",tags:["weight","menopause"],id:27,styleClassName:"",avatarImgSrc:null,videoSrc:null},{firstName:"Viola",lastName:"F.",testimonial:" I can't believe how much my treatment plan has helped with my perimenopause symptoms.",tags:["perimenopause"],id:28,styleClassName:"",avatarImgSrc:null,videoSrc:null},{firstName:"DeShannon",lastName:"C",testimonial:"Brain fog is gone and I'm back to my even-keeled self.",tags:["perimenopause","menopause"],videoSrc:"https://player.vimeo.com/video/1000930355?badge=0&amp;autopause=0&amp;player_id=0&amp;app_id=58479",id:29,styleClassName:"",avatarImgSrc:null},{firstName:"Willow",lastName:"M.",testimonial:"I've been ecstatic to lose the weight and look in the mirror and feel like myself again.",tags:["weight","menopause"],id:30,styleClassName:"",avatarImgSrc:null,videoSrc:null},{firstName:"Lindsay",lastName:"P.",testimonial:"I cried in our last appointment because it just felt so amazing to have symptoms improving.",tags:["perimenopause","menopause"],videoSrc:"https://player.vimeo.com/video/1000930859?badge=0&amp;autopause=0&amp;player_id=0&amp;app_id=58479",id:31,styleClassName:"",avatarImgSrc:null},{firstName:"Linda",lastName:"M.",testimonial:"Navigating treatment with a history of breast cancer and a hereditary dementia gene is hard. My PCP didn't listen to my concerns, but Midi did.",tags:["cancer & survivorship","menopause"],id:32,styleClassName:"",avatarImgSrc:null,videoSrc:null},{firstName:"Sabrina",lastName:"F.",testimonial:"No more night sweats, hardly any heart palpitations, and I'm sleeping!",tags:["menopause","perimenopause","sleep","results"],videoSrc:"https://player.vimeo.com/video/1000930999?badge=0&amp;autopause=0&amp;player_id=0&amp;app_id=58479",id:33,styleClassName:"",avatarImgSrc:null},{firstName:"Kelleyene",lastName:"P.",testimonial:"My life has changed thanks to Midi. Within two weeks, my hot flashes disappeared.",tags:["weight","menopause","results"],id:34,styleClassName:"",avatarImgSrc:null,videoSrc:null},{firstName:"Joreen",lastName:"V.",testimonial:"I feel amazing. This has been one of the biggest gifts of my adult life.",tags:["menopause","perimenopause"],id:35,styleClassName:"",avatarImgSrc:null,videoSrc:null}],u=["testimonial-card-brown","testimonial-card-pink","testimonial-card-orange","testimonial-card-blue"];var m=e.i(207670),_=e.i(987236);let p={...e.i(116759).labelPrismicComponent,paragraph:({children:e})=>(0,a.jsx)("h2",{children:e})},h=(({isCarousel:e=!1})=>{let a=0;return(e?c:d).map(e=>{let s={...e};if(!e.videoSrc){let e=a%4;a+=1,s.styleClassName=u[e]}return s})})({isCarousel:!1});e.s(["default",0,({slice:e})=>{let[d,c]=(0,i.useState)(()=>((e=10)=>h.slice(0,e))(10)),u=d.length<h.length,[f,g]=(0,l.default)({loop:!0,align:"start"}),{scrollPrev:v,scrollNext:x,prevBtnDisabled:b,nextBtnDisabled:y}=(0,r.useCarouselNav)(g);return(0,a.jsxs)(n.Bounded,{"data-slice-type":e.slice_type,"data-slice-variation":e.variation,children:[(0,a.jsxs)("div",{className:o.default.embla,children:[(0,a.jsx)("div",{className:o.default.embla__viewport,ref:f,children:(0,a.jsx)("div",{className:o.default.embla__container,children:e.primary.text_carousel.map((e,l)=>(0,a.jsx)("div",{className:o.default.embla__slide,children:(0,a.jsx)(s.PrismicRichText,{components:p,field:e.text_content})},l))})}),(0,a.jsxs)("div",{className:o.default["carousel-trigger-buttons"],children:[(0,a.jsx)("button",{"aria-label":"go to previous slide in carousel",disabled:b,className:o.default.embla__prev,onClick:v,children:(0,a.jsx)(t.ChevronLeftIcon,{})}),(0,a.jsx)("button",{"aria-label":"go to next slide in carousel",disabled:y,className:o.default.embla__next,onClick:x,children:(0,a.jsx)(t.ChevronRightIcon,{})})]})]}),(0,a.jsxs)("div",{className:o.default.testimonials,children:[d?.map(e=>(0,a.jsx)(_.TestimonialCard,{testimonial:e.testimonial,avatarImgSrc:null,videoSrc:e.videoSrc,firstName:e.firstName,lastName:e.lastName,id:e.id,styleClassName:e.styleClassName},e.id)),u&&(0,a.jsx)("div",{className:o.default["button-container"],children:(0,a.jsx)("button",{onClick:()=>{c(((e=10)=>h.slice(0,e))(d.length+10))},className:(0,m.default)(["cta","secondary-cta"]),children:"See More Patient Stories"})})]})]})}],226624)},252518,e=>{e.v({banner:"V2NewsletterSignUpForm-module-scss-module__MbfL9G__banner",card:"V2NewsletterSignUpForm-module-scss-module__MbfL9G__card",column:"V2NewsletterSignUpForm-module-scss-module__MbfL9G__column",consent:"V2NewsletterSignUpForm-module-scss-module__MbfL9G__consent",error:"V2NewsletterSignUpForm-module-scss-module__MbfL9G__error",eyebrow:"V2NewsletterSignUpForm-module-scss-module__MbfL9G__eyebrow",fields:"V2NewsletterSignUpForm-module-scss-module__MbfL9G__fields",header:"V2NewsletterSignUpForm-module-scss-module__MbfL9G__header",image:"V2NewsletterSignUpForm-module-scss-module__MbfL9G__image","image-wrap":"V2NewsletterSignUpForm-module-scss-module__MbfL9G__image-wrap",row:"V2NewsletterSignUpForm-module-scss-module__MbfL9G__row","row-centered":"V2NewsletterSignUpForm-module-scss-module__MbfL9G__row-centered",section:"V2NewsletterSignUpForm-module-scss-module__MbfL9G__section",stack:"V2NewsletterSignUpForm-module-scss-module__MbfL9G__stack"})},395584,e=>{"use strict";var a=e.i(843476),s=e.i(539500),l=e.i(507789),t=e.i(219160),i=e.i(271645),o=e.i(207670),r=e.i(226006),n=e.i(429366),d=e.i(707621),c=e.i(411724);function u({id:e,name:s,label:l,type:t="text",placeholder:i,required:r=!1,autoComplete:n,maxLength:m,error:_,onInput:p,children:h,filled:f}){let g=`${e}-error`;return(0,a.jsxs)("div",{className:c.default.field,children:[(0,a.jsxs)("div",{className:(0,o.default)(c.default.control,{[c.default["control-invalid"]]:_}
2),"data-filled":f?"true":void 0,children:[h??(0,a.jsx)("input",{className:c.default.input,id:e,name:s,type:t,placeholder:i??l,required:r,autoComplete:n,maxLength:m,"aria-describedby":_?g:void 0,"aria-invalid":!!_||void 0,onInput:p}),(0,a.jsxs)("label",{className:c.default.label,htmlFor:e,children:[l,r&&(0,a.jsx)("span",{className:c.default.required,"aria-hidden":"true",children:"*"})]})]}),_&&(0,a.jsxs)("p",{className:c.default.error,id:g,role:"alert",children:[(0,a.jsx)(d.CircleAlert,{"aria-hidden":"true"}),_]})]})}var m=e.i(301825),_=e.i(662537),p=e.i(816745);let h={Generic:"Thank you for subscribing! Be on the lookout for Midi emails in your inbox",Download:"Thank you for signing up! Your download will be sent to your inbox."};var f=e.i(217458),g=e.i(252518);let v={first_name:{name:"firstName",type:"text",autoComplete:"given-name",label:"First Name"},last_name:{name:"lastName",type:"text",autoComplete:"family-name",label:"Last Name"},phone:{name:"phone",type:"tel",autoComplete:"tel",label:"Phone"},employer:{name:"employer",type:"text",autoComplete:"organization",label:"Employer"},state:{name:"stateCode",type:"text",autoComplete:"address-level1",label:"State"}}
2,x={hyperlink:({children:e,node:s,key:l})=>(0,a.jsx)(t.PrismicNextLink,{field:s.data,children:e},l)};e.s(["default",0,({slice:e})=>{let t=e.primary,d="image"in t?t.image:void 0,c=d&&s.isFilled.image(d)?d:null,b="imageTop"===e.variation,y=t.attribution_source?.trim();(0,i.useEffect)(()=>{y||_.captureMessage("Marketing form slice is missing an attribution source",{level:"warning",tags:{midi_report:"true",slice:e.slice_type}})},[y,e.slice_type]);let{status:C,emailError:N,submitting:j,onSubmit:w,clearEmailError:A}=(0,p.useNewsletterSignup)(y||p.FALLBACK_ATTRIBUTION_SOURCE),k=(0,p.useHydrated)(),[S,P]=(0,i.useState)(null),[I,M]=(0,i.useState)({}),T=(0,i.useId)(),E=t.fields.filter(e=>{let a;return!!(a=e.field)&&a in v}),W=(0,a.jsxs)(a.Fragment,{children:[t.eyebrow&&(0,a.jsx)("p",{className:g.default.eyebrow,children:t.eyebrow}),(0,a.jsx)(l.PrismicRichText,{field:t.headline})]}),B=(0,a.jsx)(l.PrismicRichText,{field:t.subheading}),O="done"===C?(0,a.jsx)("div",{className:g.default.card,role:"status",children:(0,a.jsx)(l.PrismicRichText,{field:t.success_message,fallback:(0,a.jsx)("p",{children:h[t.success_message_type??"Generic"]})})}):(0,a.jsxs)("form",{className:g.default.card,onSubmit:e=>{let a=new FormData(e.currentTarget),s={};for(let e of E){let{name:l}=v[e.field];e.required&&!String(a.get(l)??"").trim()&&(s[l]=p.REQUIRED_MESSAGE)}(M(s),Object.keys(s).length>0)?e.preventDefault():w(e)},noValidate:!0,children:[!b&&(0,a.jsxs)(a.Fragment,{children:[W,B]}),(0,a.jsxs)("div",{className:g.default.fields,children:[E.map(e=>{let s=e.field,l=v[s],t=`${T}-${l.name}`;return"state"===s?(0,a.jsx)(u,{id:t,name:l.name,label:l.label,required:!!e.required,error:I[l.name],filled:!!S,children:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(m.Typeahead,{id:t,items:f.US_STATES,value:S,onChange:P,getOptionLabel:e=>e.name,getOptionKey:e=>e.code,variant:"underline",immediate:!0,minQueryLength:0}),(0,a.jsx)("input",{type:"hidden",name:l.name,value:S?.code??""})]})},l.name):(0,a.jsx)(u,{id:t,name:l.name,label:l.label,type:l.type,autoComplete:l.autoComplete,required:!!e.required,maxLength:100,error:I[l.name]},l.name)}),(0,a.jsx)(u,{id:`${T}-email`,name:"email",label:"Email",type:"email",autoComplete:"email",maxLength:200,required:!0,error:N,onInput:A})]}),(0,a.jsx)("div",{className:g.default.consent,children:(0,a.jsx)(l.PrismicRichText,{field:t.consent_text,fallback:(0,a.jsx)("p",{children:"By signing up, you agree to receive messages from Midi, including announcements, treatment plan information and marketing communications. You may unsubscribe at any time."})})}),(0,a.jsx)(n.Button,{type:"submit",variant:"primary",disabled:!k||j,children:t.submit_label??"Submit"}),"failed"===C&&(0,a.jsx)("p",{className:g.default.error,role:"alert",children:p.SUBMIT_FAILED_MESSAGE})]});return(0,a.jsx)("section",{className:g.default.section,"data-slice-type":e.slice_type,"data-slice-variation":e.variation,children:(0,a.jsxs)("div",{className:b?g.default.stack:(0,o.default)(g.default.row,!c&&g.default["row-centered"]),children:[b&&(0,a.jsx)("div",{className:g.default.header,children:W}),c&&(0,a.jsx)("div",{className:g.default["image-wrap"],children:(0,a.jsx)(r.ImageWrapper,{className:g.default.image,image:{prismic:c},fill:!0,sizes:b?"(min-width: 768px) 640px, 100vw":"(min-width: 768px) 50vw, 100vw",imgixParams:{fit:"crop",ar:"728:477"}})}),b&&s.isFilled.richText(t.subheading)&&(0,a.jsx)("div",{className:g.default.header,children:B}),(0,a.jsxs)("div",{className:g.default.column,children:[O,s.isFilled.richText(t.banner)&&(0,a.jsx)("div",{className:g.default.banner,children:(0,a.jsx)(l.PrismicRichText,{field:t.banner,components:x})})]})]})})}],395584)}]);
3
4//# debugId=8b949924-df08-bf44-2517-5174c4ce9baf

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.