{"version":3,"file":"StructuredData.-J_HaHG6.mjs","names":["__esmMin","p","c","init_jsx_runtime","addPropertyControls","init_framer_B1b760uK","Script","safeJSON","value","ArticleStructuredData","published","dateOnly","props","modified","image","slug","article","questions","parsed","q","faq","ForbesVideoStructuredData","video","init_StructuredData","match","date","ControlType"],"sources":["https:/framerusercontent.com/modules/1GWzmiOgMicOcRdEVRx3/2TlNlX0dehg5AK1t3Pos/StructuredData.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";const safeJSON=value=>JSON.stringify(value).replace(/</g,\"\\\\u003c\");const dateOnly=value=>{if(typeof value!==\"string\")return\"\";const match=value.match(/^\\d{4}-\\d{2}-\\d{2}/);if(match)return match[0];const date=new Date(value);return Number.isNaN(date.getTime())?\"\":date.toISOString().slice(0,10);};function Script({value}){return /*#__PURE__*/_jsx(\"script\",{type:\"application/ld+json\",dangerouslySetInnerHTML:{__html:safeJSON(value)}});}/**\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n * @framerIntrinsicWidth 1\n * @framerIntrinsicHeight 1\n */export function ArticleStructuredData(props){const published=dateOnly(props.published);const modified=dateOnly(props.modified)||published;const image=typeof props.image===\"string\"?props.image:props.image?.src;const slug=String(props.slug||\"\").replace(/^\\/+|\\/+$/g,\"\");if(!props.headline||!slug||!published)return /*#__PURE__*/_jsx(\"div\",{style:{...props.style,display:\"none\"}});const article={\"@context\":\"https://schema.org\",\"@type\":\"BlogPosting\",headline:props.headline,description:props.description||\"\",datePublished:published,dateModified:modified,...image?{image}:{},mainEntityOfPage:slug.startsWith(\"https://\")?slug:\"https://www.colinrocker.com/blog/\"+slug,author:{\"@type\":\"Person\",\"@id\":\"https://www.colinrocker.com/#colin\",name:\"Colin Rocker\"}};let questions=[];try{const parsed=JSON.parse(props.faq||\"[]\");if(Array.isArray(parsed))questions=parsed.filter(q=>typeof q.question===\"string\"&&typeof q.answer===\"string\"&&q.question&&q.answer);}catch{}const faq={\"@context\":\"https://schema.org\",\"@type\":\"FAQPage\",mainEntity:questions.map(q=>({\"@type\":\"Question\",name:q.question,acceptedAnswer:{\"@type\":\"Answer\",text:q.answer}}))};return /*#__PURE__*/_jsxs(\"div\",{\"aria-hidden\":\"true\",style:{...props.style,display:\"none\"},children:[/*#__PURE__*/_jsx(Script,{value:article}),questions.length>0&&/*#__PURE__*/_jsx(Script,{value:faq})]});}addPropertyControls(ArticleStructuredData,{headline:{type:ControlType.String,title:\"Headline\",defaultValue:\"\"},description:{type:ControlType.String,title:\"Description\",defaultValue:\"\"},published:{type:ControlType.String,title:\"Published\",defaultValue:\"\"},modified:{type:ControlType.String,title:\"Modified\",defaultValue:\"\"},image:{type:ControlType.ResponsiveImage,title:\"Cover\"},slug:{type:ControlType.String,title:\"Canonical URL\",defaultValue:\"\"},faq:{type:ControlType.String,title:\"FAQ\",defaultValue:\"\"}});/**\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n * @framerIntrinsicWidth 1\n * @framerIntrinsicHeight 1\n */export function ForbesVideoStructuredData(props){const video={\"@context\":\"https://schema.org\",\"@type\":\"VideoObject\",name:\"The Brutal Reality Of Starting A Career Today\",description:\"Colin Rocker at the 2026 Forbes Future of Work Summit on why starting a career is getting harder for first-generation professionals.\",thumbnailUrl:\"https://i.ytimg.com/vi/9cEh0OJgNN4/hqdefault.jpg\",uploadDate:\"2026-10-10\",embedUrl:\"https://www.youtube.com/embed/9cEh0OJgNN4\",publisher:{\"@type\":\"Organization\",name:\"Forbes\"}};return /*#__PURE__*/_jsx(\"div\",{\"aria-hidden\":\"true\",style:{...props.style,display:\"none\"},children:/*#__PURE__*/_jsx(Script,{value:video})});}addPropertyControls(ForbesVideoStructuredData,{});\nexport const __FramerMetadata__ = {\"exports\":{\"ArticleStructuredData\":{\"type\":\"reactComponent\",\"name\":\"ArticleStructuredData\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"fixed\",\"framerIntrinsicWidth\":\"1\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerIntrinsicHeight\":\"1\",\"framerContractVersion\":\"1\"}},\"ForbesVideoStructuredData\":{\"type\":\"reactComponent\",\"name\":\"ForbesVideoStructuredData\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"1\",\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"1\",\"framerSupportedLayoutHeight\":\"fixed\",\"framerSupportedLayoutWidth\":\"fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./StructuredData.map"],"mappings":"A,8JAAsZ,SAASM,EAAO,CAAC,SAAO,CAAC,MAAoB,gBAAK,SAAS,CAAC,KAAK,sBAAsB,wBAAwB,CAAC,OAAOC,EAASC,CAAK,CAAC,CAAC,CAAC,CAAE,CAK7hB,SAAgBC,EAAsB,EAAM,CAAC,IAAMC,EAAUC,EAASC,EAAM,SAAS,EAAQC,EAASF,EAASC,EAAM,QAAQ,GAAGF,EAAgBI,EAAM,OAAOF,EAAM,OAAQ,SAASA,EAAM,MAAMA,EAAM,OAAO,IAAUG,EAAK,OAAOH,EAAM,MAAM,EAAE,CAAC,CAAC,QAAQ,aAAa,EAAE,EAAE,GAAG,CAACA,EAAM,UAAU,CAACG,GAAM,CAACL,EAAU,MAAoB,gBAAK,MAAM,CAAC,MAAM,CAAC,GAAGE,EAAM,MAAM,QAAQ,MAAM,CAAC,CAAC,EAAE,IAAMI,EAAQ,CAAC,WAAW,qBAAqB,QAAQ,cAAc,SAASJ,EAAM,SAAS,YAAYA,EAAM,aAAa,GAAG,cAAcF,EAAU,aAAaG,EAAS,GAAGC,EAAM,CAAC,OAAK,EAAE,CAAC,EAAE,iBAAiBC,EAAK,WAAW,UAAU,EAAEA,EAAK,oCAAoCA,EAAK,OAAO,CAAC,QAAQ,SAAS,MAAM,qCAAqC,KAAK,cAAc,CAAC,EAAME,EAAU,CAAC,EAAE,GAAG,CAAC,IAAMC,EAA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