1import{c as e}from"./3EGrv1SK.js";import{i as t,n}from"./DvMxUnYI.js";import"./BvHGX029.js";var r=t` 2 fragment SpecialistCard on Specialist { 3 id 4 image 5 title 6 familyName 7 firstName 8 isActive 9 isFamilyCircle 10 urlKey 11 } 12`,i=t` 13 ${r} 14 fragment SpecialistDetail on Specialist { 15 ...SpecialistCard 16 biography 17 createdAt 18 updatedAt 19 sameAs { 20 instagram 21 tiktok 22 website 23 xcom 24 youtube 25 } 26 } 27`,a=async r=>{let a=await n({query:t` 28 ${i} 29 query specialistsByIds($ids: [Int!]!) { 30 specialistsByIds(ids: $ids) { 31 list { 32 ...SpecialistDetail 33 } 34 } 35 } 36 `,variables:{ids:r.map(e=>parseInt(e))}});if(!a.data?.specialistsByIds||a.data.specialistsByIds.list.length===0)throw new e(`No specialists found with ids ${r.join(`, `)}`);return a.data.specialistsByIds.list.map(l)},o=async r=>{let a=await n({query:t` 37 ${i} 38 query specialistByIdOrSlug($key: String!) { 39 specialistByIdOrSlug(key: $key) { 40 ...SpecialistDetail 41 } 42 } 43 `,variables:{key:r}});if(!a.data?.specialistByIdOrSlug)throw new e(`No specialist found with id ${r}`);return l(a.data.specialistByIdOrSlug)},s=92,c=e=>{let t=e.isActive&&e.urlKey?`/professionals/${e.urlKey}/`:void 0;return{id:e.id,familyName:e.familyName,firstName:e.firstName,title:e.title,isFamilyCircle:e.isFamilyCircle,isActive:e.isActive,image:e.image||`/resources/img/common/img_error.svg`,urlKey:e.urlKey,link:t}},l=e=>{let t=c(e);return{...t,biography:e.biography||``,createdAt:e.createdAt,updatedAt:e.updatedAt,sameAs:e.sameAs||{instagram:``,tiktok:``,website:``,xcom:``,youtube:``},linkArticles:t.link?`/professionals/${e.urlKey}/article/`:void 0,linkReviews:t.link?`/professionals/${e.urlKey}/reviews/`:void 0,linkForJsonLd:e.id===s?void 0:t.link,editedBy:`${e.familyName} ${e.firstName}`,schemaType:e.id===s?`Organization`:`Person`}};export{r as i,a as n,c as r,o as t};
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.