1import{aQ as me,k as ie,v as pe,aR as D,u as _e,l as he,M as fe,aS as ge,x as ye,p as be,d as se,o as f,c as L,a as we,D as re,w as U,g as B,t as N,O as ve,a2 as k,i as ae,a8 as Ae,P as $e,Q as Pe,b as ee,aT as Le,e as te,S as Oe}from"#entry";import{u as ce}from"./Itq0hSA7.js";function Ke(e){const{baseUrl:t}=ce(),i=e._localizations?.find(o=>o._locale===me),n=e._localizations?.map(o=>({rel:"alternate",hreflang:o._locale.toLocaleLowerCase(),href:`${t}${o._slug}`}));return i?[...n,{rel:"alternate",hreflang:"x-default",href:`${t}${i?._slug}`}]:n}const xe=["social_media_facebook","social_media_instagram","social_media_youtube","social_media_tiktok"],Ie=e=>{if(!URL.canParse(e))return!1;const{protocol:t,hostname:i}=new URL(e);return(t==="http:"||t==="https:")&&i.length>0},Ee=e=>e?xe.map(t=>e[t]).filter(t=>typeof t=="string").map(t=>t.trim()).filter(t=>t.length>0&&Ie(t)):[],Ce=()=>{const{siteData:e}=ie();return{sameAs:pe(()=>Ee(e.value?.WebsiteSettings))}},O=e=>[...new Set(e.map(t=>t?.trim()).filter(t=>!!t))],Se=e=>O(e.map(({organization_name:t})=>t)).map(t=>({"@type":"CollegeOrUniversity",name:t})),Ue=e=>O(e.map(({title:t})=>t)).map(t=>({"@type":"EducationalOccupationalCredential",name:t})),Be=e=>e.map(({title:t,year:i})=>{const n=t?.trim();if(!n)return null;const o={"@type":"Occupation",name:n};return i?{"@type":"Role",startDate:String(i),hasOccupation:o}:o}).filter(t=>t!==null),Ne=e=>{const t=e.educations??[],i=Se(t),n=Ue(t),o=Be(e.workExperience??[]),s=O((e.knowledge??[]).map(({name:d})=>d)),r=O(e.sameAs??[]);return{...e.givenName&&{givenName:e.givenName},...e.familyName&&{familyName:e.familyName},...e.honorificPrefix&&{honorificPrefix:e.honorificPrefix},...s.length>0&&{knowsAbout:s},...i.length>0&&{alumniOf:i},...n.length>0&&{hasCredential:n},...o.length>0&&{hasOccupation:o},...r.length>0&&{sameAs:r}}},ke=["Article_content","Page_content","ProductPage_content","Doctor_content","ArticleOverview_content","SymptomOverview_content","accordion_content","content","Expert_content","pageWidthContent"],Te=(e,t,i)=>{if(!e||typeof e!="object")return;const n=e,o=s=>{const r=D(s.question),d=D(s.answer);if(!r||!d)return;const l=s._id??r;i.has(l)||(i.add(l),t.push({id:l,question:r,answer:d}))};if(n.__typename==="FAQCollection"&&Array.isArray(n.faqs)){n.faqs.forEach(o);return}if(Array.isArray(n.faq_collection)){const s=n.faq_collection[0];Array.isArray(s?.faqs)&&s.faqs.forEach(o);return}Array.isArray(n.faqs)&&n.faqs.forEach(o)},qe=e=>{const t=[],i=new Set;if(!e||typeof e!="object")return t;const n=e;for(const o of ke){const s=n[o];Array.isArray(s)&&s.forEach(r=>Te(r,t,i))}return t},ne={Expert:"ProfilePage"},je=e=>typeof e=="string"&&ne[e]?ne[e]:"WebPage",g=e=>{if(!URL.canParse(e))return!1;const{protocol:t,hostname:i}=new URL(e);return(t==="http:"||t==="https:")&&i.length>0},oe=(e,t,i)=>{if(g(e))return e;if(!e||e==="/")return i;const n=e.startsWith("/")?e:`/${e}`;return`${t}${n}`},Fe=e=>{if(g(e))return new URL("/",`${e.replace(/\/$/,"")}/`).href},ze=e=>{const t=`${e}/structured-data-logo.png`;return g(t)?t:void 0},Me=(e,t)=>e.map(i=>{const n={"@type":"VideoObject","@id":`${t.pageUrl}#video-${i.videoId}`,thumbnailUrl:i.url,embedUrl:i.embedUrl,inLanguage:t.inLanguage,uploadDate:t.pagePublishedOn},o=["name","description"];for(const s of o){const r=i[s];r&&(n[s]=r)}return n}),Re=(e,t)=>e.map(i=>({"@type":"Question","@id":`${t.pageUrl}#question-${i.id}`,name:i.question,acceptedAnswer:{"@type":"Answer",text:i.answer},mainEntityOfPage:{"@id":t.webPageId}})),He=(e,t,i,n)=>{if(!i)return{localeBase:`${t}/`,inLanguage:n};const o=be(),s=e.split("/").filter(Boolean)[0];let r=s?.includes("-")?s:n.toLowerCase().replace("_","-");const[d,l]=r.split("-"),y=l!==void 0?`${d.toLowerCase()}-${l.toUpperCase()}`:n,b=o.includes(y),w=b?y:n;return r=b?`${d.toLowerCase()}-${l.toLowerCase()}`:n.toLowerCase().replace("_","-"),{localeBase:`${t}/${r}/`,inLanguage:w}},Xe=(e,t)=>{const{locale:i,t:n}=_e(),{location:o,baseUrl:s,path:r}=ce(),{siteData:d}=ie(),{sameAs:l}=Ce(),{supportsLocale:y}=he().public,b=d.value?.WebsiteSettings,w=b?.site_name||n("site.website-data.title"),T=b?.site_description||n("site.website-data.description"),{localeBase:_,inLanguage:h}=He(r,s,y,i.value),q=y?_.replace(/\/$/,""):_,x=`${s}/#organization`,j=`${_}#website`,F=`${s}/#logo`,z=Fe(s),M=ze(s),R={"@type":"Organization","@id":x,name:w,...z&&{url:z},description:T,...l.value.length>0&&{sameAs:l.value},...M&&{logo:{"@type":"ImageObject","@id":F,url:M,width:512,height:512,caption:w}
1,image:{"@id":F}}},le={"@type":"WebSite","@id":j,url:_,name:w,description:T,publisher:{"@id":x},potentialAction:[{"@type":"SearchAction",target:`${_}?q={search_term_string}`,"query-input":"required name=search_term_string"}],inLanguage:h},u=[R,le],m=e?.seo?.social_media_image?.[0]||e?.header?.[0]?.asset||e?.thumbnail_asset||e?.asset,I=!!(m?.url&&g(m.url));let A;I&&m&&(A={"@type":"ImageObject","@id":`${o}#primaryimage`,inLanguage:h,url:m.url,width:m.width||void 0,height:m.height||void 0},u.push(A));const E=I?m?.url:void 0,$=e?.seo?.description,C=e?.seo?.title,H=typeof e?._publish_on=="string"?e._publish_on:void 0;fe({...$&&{description:$,ogDescription:$,twitterDescription:$},...C&&{ogTitle:C,twitterTitle:C},...E&&{ogImage:E,ogImageWidth:m?.width?.toString(),ogImageHeight:m?.height?.toString(),twitterCard:"summary_large_image",twitterImage:E}});const V=typeof e?.seo?.title=="string"&&e.seo.title||typeof e?.title=="string"&&e.title||"",W=t===void 0?[{_slug:"/",title:V}]:t,Q=W.length>0,Y=je(e?.__typename),v=`${o}#${Y.toLowerCase()}`,S=e?.__typename==="Expert"?`${s}/#person-${e._slug?.split("/").filter(Boolean).at(-1)||e._id}`:void 0,de={"@type":Y,"@id":v,url:o,name:V||void 0,isPartOf:{"@id":j},...I&&{primaryImageOfPage:{"@id":`${o}#primaryimage`}},...typeof e?._publish_on=="string"&&{datePublished:e._publish_on},...typeof e?._last_published_on=="string"&&{dateModified:e._last_published_on},description:e?.seo?.description||void 0,...Q&&{breadcrumb:{"@id":`${o}#breadcrumb`}},inLanguage:h,potentialAction:[{"@type":"ReadAction",target:[o]}],...S&&{mainEntity:{"@id":S}}},G=ge(e);if(G.length&&H){const a=Me(G,{pageUrl:o,inLanguage:h,pagePublishedOn:H});u.push(...a)}const J=qe(e);J.length&&u.push(...Re(J,{pageUrl:o,webPageId:v})),Q&&u.push({"@type":"BreadcrumbList","@id":`${o}#breadcrumb`,itemListElement:W.map((a,c)=>({"@type":"ListItem",position:c+1,item:{"@type":"WebPage","@id":oe(a._slug,s,q),url:oe(a._slug,s,q),name:a.title||void 0}}))});let P;if(e?.author?._id){const a=e.author,c=a.name||a.author_name||a.full_name||void 0,p=a.asset?.url||a.author_asset?.url;c&&(P={"@type":"Person","@id":`${_}#/schema/person/${a._id}`,name:c,...p&&g(p)&&{image:{"@type":"ImageObject","@id":`${o}#personlogo`,inLanguage:h,url:p,caption:c}}},u.push(P))}if(e?.__typename==="Article"&&u.push({"@type":"Article","@id":`${o}#article`,isPartOf:{"@id":v},...P&&{author:P},headline:e.title||void 0,...typeof e._publish_on=="string"&&{datePublished:e._publish_on},...typeof e._last_published_on=="string"&&{dateModified:e._last_published_on},mainEntityOfPage:{"@id":v},publisher:R,...A&&{image:A},inLanguage:h}),e?.__typename==="Expert"){const a=e.title,c=e.profession?.trim(),p=e.asset?.url,Z=e.seo?.description?.trim()||e.short_introduction;u.push({"@type":"Person","@id":S,url:o,name:a||void 0,...Ne({givenName:e.first_name,familyName:e.last_name,honorificPrefix:e.honorific_prefix,educations:e.educations,knowledge:e.knowledge,workExperience:e.work_experience,sameAs:[e.linkedin]}),...c&&{jobTitle:c},...Z&&{description:Z},...typeof p=="string"&&g(p)&&{image:{"@type":"ImageObject","@id":`${o}#profileimage`,url:p,contentUrl:p,caption:a}},worksFor:{"@id":x},mainEntityOfPage:{"@id":v}})}u.push(de);const K=[];e?.seo?.noindex&&K.push({name:"robots",content:"noindex, nofollow"});const X=new Set,ue=u.filter(a=>{const c=a;if(c?.["@id"]){if(X.has(c["@id"]))return!1;X.add(c["@id"])}return!0});ye({meta:K,script:[{type:"application/ld+json",key:"seo-structured-data",innerHTML:JSON.stringify({"@context":"https://schema.org","@graph":ue})}]})},Ve={class:"banner-content"},We=se({__name:"Banner",props:{banner:{}},setup(e){return(t,i)=>{const n=ve;return f(),L("div",{class:k(["banner",{hide:e.banner?.only_show_in_app===!0,"show-all-do-apps":e.banner?.only_show_in_app===!0}])},[we("div",Ve,[re(n,{to:e.banner?.link?.[0]?._slug},{default:U(()=>[B(N(e.banner.text),1)]),_:1},8,["to"])])],2)}}}),Ze=Object.assign(ae(We,[["__scopeId","data-v-9410a94b"]]),{__name:"AtomsHeaderBanner"}),Qe={class:"cta-items"},Ye=se({__name:"CallToActions",props:{data:{},class:{},preprEvent:{type:Boolean}},setup(e){return(t,i)=>{const n=Ae("FontAwesomeIcon"),o=Le,s=Oe;return f(),L("div",Qe,[(f(!0),L($e,null,Pe(e.data,r=>(f(),L("div",{key:r._id,class:"cta-item"},[r.__typename==="AddToCartButton"?(f(),ee(o,{key:0,class:k(e.class),type:r.type,"consult-code":r.product[0]._id,"prepr-event":e.preprEvent},{default:U(()=>[B(N(r.caption)+" ",1),re(n,{icon:"fa-regular fa-chevron-right","aria-hidden":"true"})]),_:2},1032,["class","type","consult-code","prepr-event"])):te("",!0),r.__typename==="Button"?(f(),ee(s,{key:1,class:k(e.class),data:r,"prepr-event":e.preprEvent},{default:U(()=>[B(N(r.caption),1)]),_:2},1032,["class","data","prepr-event"])):te("",!0)]))),128))])}}}),De=Object.assign(ae(Ye,[["__scopeId","data-v-2c045cfe"]]),{__name:"MoleculesHeadingCallToActions"});export{De as _,Ke as a,Ze as b,Ne as c,Xe as u};
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.