{"version":3,"file":"WhaleyWireStructuredData.BrxUEw-L.mjs","names":[],"sources":["https:/framerusercontent.com/modules/nBpTENocLT45C3t3VHBk/3xkg9AVU6dNryreEudFD/WhaleyWireStructuredData.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";function safeJson(value){return JSON.stringify(value).replace(/</g,\"\\\\u003c\");}function absoluteUrl(origin,path){return origin?`${origin}${path}`:path;}/**\n * CMS-driven structured data for The Whaley Wire archive and article pages.\n *\n * @framerIntrinsicWidth 1\n * @framerIntrinsicHeight 1\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function WhaleyWireStructuredData(props){const{mode=\"article\",headline=\"\",seoDescription=\"\",excerpt=\"\",image,datePublished=\"\",dateModified=\"\",series=\"\",primaryTopic=\"\",slug=\"\",style}=props;const origin=typeof window!==\"undefined\"?window.location.origin:\"\";const homeUrl=absoluteUrl(origin,\"/\");const insightsUrl=absoluteUrl(origin,\"/insights\");const authorUrl=absoluteUrl(origin,\"/#about\");const organization={\"@type\":\"Organization\",name:\"Whaley Search Partners\",url:homeUrl};if(mode===\"archive\"){const collectionPage={\"@context\":\"https://schema.org\",\"@type\":\"CollectionPage\",name:\"The Whaley Wire\",description:\"Executive search insights from Heather Whaley on leadership judgment, hiring decisions, assessment, ownership, and costly executive-search mistakes.\",url:insightsUrl,isPartOf:{\"@type\":\"WebSite\",name:\"Whaley Search Partners\",url:homeUrl},publisher:organization,inLanguage:\"en-US\"};return /*#__PURE__*/_jsx(\"div\",{\"aria-hidden\":\"true\",style:{...style,position:\"relative\",width:1,height:1,overflow:\"hidden\"},children:/*#__PURE__*/_jsx(\"script\",{type:\"application/ld+json\",dangerouslySetInnerHTML:{__html:safeJson(collectionPage)}})});}const articlePath=`/insights/${slug}`;const articleUrl=absoluteUrl(origin,articlePath);const description=seoDescription||excerpt||undefined;const articleSection=primaryTopic||series||undefined;const imageUrl=image?.src||undefined;const blogPosting={\"@context\":\"https://schema.org\",\"@type\":\"BlogPosting\",headline,datePublished,author:{\"@type\":\"Person\",name:\"Heather Whaley\",url:authorUrl},publisher:organization,mainEntityOfPage:{\"@type\":\"WebPage\",\"@id\":articleUrl},url:articleUrl,inLanguage:\"en-US\"};if(description)blogPosting.description=description;if(imageUrl)blogPosting.image=imageUrl;if(dateModified)blogPosting.dateModified=dateModified;if(articleSection)blogPosting.articleSection=articleSection;const breadcrumbList={\"@context\":\"https://schema.org\",\"@type\":\"BreadcrumbList\",itemListElement:[{\"@type\":\"ListItem\",position:1,name:\"Home\",item:homeUrl},{\"@type\":\"ListItem\",position:2,name:\"Insights\",item:insightsUrl},{\"@type\":\"ListItem\",position:3,name:headline,item:articleUrl}]};return /*#__PURE__*/_jsxs(\"div\",{\"aria-hidden\":\"true\",style:{...style,position:\"relative\",width:1,height:1,overflow:\"hidden\"},children:[/*#__PURE__*/_jsx(\"script\",{type:\"application/ld+json\",dangerouslySetInnerHTML:{__html:safeJson(blogPosting)}}),/*#__PURE__*/_jsx(\"script\",{type:\"application/ld+json\",dangerouslySetInnerHTML:{__html:safeJson(breadcrumbList)}})]});}addPropertyControls(WhaleyWireStructuredData,{mode:{type:ControlType.Enum,title:\"Schema\",options:[\"article\",\"archive\"],optionTitles:[\"Article\",\"Archive\"],defaultValue:\"article\"},headline:{type:ControlType.String,title:\"Headline\",defaultValue:\"\"},seoDescription:{type:ControlType.String,title:\"SEO Description\",defaultValue:\"\"},excerpt:{type:ControlType.String,title:\"Excerpt\",defaultValue:\"\"},image:{type:ControlType.ResponsiveImage,title:\"Image\"},datePublished:{type:ControlType.Date,title:\"Published\",displayTime:false,optional:true},dateModified:{type:ControlType.Date,title:\"Modified\",displayTime:false,optional:true},series:{type:ControlType.String,title:\"Series\",defaultValue:\"\"},primaryTopic:{type:ControlType.String,title:\"Topic\",defaultValue:\"\"},slug:{type:ControlType.String,title:\"Slug\",defaultValue:\"\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"WhaleyWireStructuredData\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"1\",\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"1\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerSupportedLayoutHeight\":\"fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./WhaleyWireStructuredData.map"],"mappings":"iLAA6G,SAAS,EAAS,EAAM,CAAC,OAAO,KAAK,UAAU,CAAK,CAAC,CAAC,QAAQ,KAAK,SAAS,CAAE,CAAC,SAAS,EAAY,EAAO,EAAK,CAAC,OAAO,EAAO,GAAG,IAAS,IAAO,CAAK,CAOjQ,SAAwB,EAAyB,EAAM,CAAC,GAAK,CAAC,OAAK,UAAU,WAAS,GAAG,iBAAe,GAAG,UAAQ,GAAG,QAAM,gBAAc,GAAG,eAAa,GAAG,SAAO,GAAG,eAAa,GAAG,OAAK,GAAG,SAAO,EAAY,EAAc,IAAS,OAAmC,GAAvB,EAAO,SAAS,OAAgB,EAAQ,EAAY,EAAO,GAAG,EAAQ,EAAY,EAAY,EAAO,WAAW,EAAQ,EAAU,EAAY,EAAO,SAAS,EAAQ,EAAa,CAAC,QAAQ,eAAe,KAAK,yBAAyB,IAAI,CAAO,EAAE,GAAG,IAAO,UAAU,CAAC,IAAM,EAAe,CAAC,WAAW,qBAAqB,QAAQ,iBAAiB,KAAK,kBAAkB,YAAY,uJAAuJ,IAAI,EAAY,SAAS,CAAC,QAAQ,UAAU,KAAK,yBAAyB,IAAI,CAAO,EAAE,UAAU,EAAa,WAAW,OAAO,EAAE,OAAoB,EAAK,MAAM,CAAC,cAAc,OAAO,MAAM,CAAC,GAAG,EAAM,SAAS,WAAW,MAAM,EAAE,OAAO,EAAE,SAAS,QAAQ,EAAE,SAAsB,EAAK,SAAS,CAAC,KAAK,sBAAsB,wBAAwB,CAAC,OAAO,EAAS,CAAc,CAAC,CAAC,CAAC,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