{"version":3,"file":"StructuredData.BJ_9qBnD.mjs","names":["__esmMin","c","init_jsx_runtime","init_framer_BkYB2Gqq","addPropertyControls","ControlType","isoDate","value","d","build","p","SITE","WEBSITE_ID","PERSON_ID","PERSON","url","WEBSITE","StructuredData","json","props","init_StructuredData"],"sources":["https:/framerusercontent.com/modules/psBaX3Jlm6BrYCdMjLuL/dUpLViAsWAK6Erj7a6iv/StructuredData.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";const SITE=\"https://victorarellano.se\";const PERSON_ID=SITE+\"/#person\";const WEBSITE_ID=SITE+\"/#website\";const PERSON={\"@type\":\"Person\",\"@id\":PERSON_ID,name:\"Victor Arellano\",url:SITE+\"/\",image:\"https://framerusercontent.com/images/GtikUWNQt9uacCXUm2rbK97QF7I.jpg?scale-down-to=1024\",jobTitle:\"Product Marketer\",description:\"Product marketer in Stockholm writing about positioning, launches and how buyers talk.\",address:{\"@type\":\"PostalAddress\",addressLocality:\"Stockholm\",addressCountry:\"SE\"},knowsAbout:[\"Product marketing\",\"Positioning\",\"Go-to-market strategy\",\"Product launches\",\"AI for marketing teams\"],sameAs:[\"https://www.linkedin.com/in/vparellano/\",\"https://github.com/vittycent\",\"https://substack.com/@hejvictor\",\"https://hejvictor.substack.com/\",\"https://www.productmarketingalliance.com/author/victor-arellano/\"]};const WEBSITE={\"@type\":\"WebSite\",\"@id\":WEBSITE_ID,url:SITE+\"/\",name:\"Victor Arellano\",inLanguage:\"en\",publisher:{\"@id\":PERSON_ID}};function isoDate(value){if(!value)return undefined;const d=new Date(value);return isNaN(d.getTime())?undefined:d.toISOString();}function build(p){if(p.page===\"about\"){return{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"ProfilePage\",\"@id\":SITE+\"/about#profile\",url:SITE+\"/about\",name:\"About \\xb7 Victor Arellano\",isPartOf:{\"@id\":WEBSITE_ID},mainEntity:{\"@id\":PERSON_ID}},PERSON]};}if(p.page===\"post\"){const url=p.slug?SITE+\"/writing/\"+p.slug:undefined;return{\"@context\":\"https://schema.org\",\"@type\":\"BlogPosting\",headline:p.headline||undefined,description:p.description||undefined,datePublished:isoDate(p.date),image:p.image&&p.image.src?[p.image.src]:undefined,url,mainEntityOfPage:url?{\"@type\":\"WebPage\",\"@id\":url}:undefined,author:{\"@type\":\"Person\",\"@id\":PERSON_ID,name:\"Victor Arellano\",url:SITE+\"/\"},publisher:{\"@type\":\"Person\",\"@id\":PERSON_ID,name:\"Victor Arellano\"},isPartOf:{\"@id\":WEBSITE_ID},inLanguage:\"en\"};}return{\"@context\":\"https://schema.org\",\"@graph\":[WEBSITE,PERSON]};}/**\n * Schema.org structured data (JSON-LD) for search engines and AI assistants. Invisible on the page.\n *\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n */export default function StructuredData(props){const json=JSON.stringify(build(props)).replace(/</g,\"\\\\u003c\");return /*#__PURE__*/_jsx(\"div\",{style:{...props.style,overflow:\"hidden\",pointerEvents:\"none\"},\"aria-hidden\":\"true\",children:/*#__PURE__*/_jsx(\"script\",{type:\"application/ld+json\",dangerouslySetInnerHTML:{__html:json}})});}StructuredData.defaultProps={page:\"home\",headline:\"\",description:\"\",date:\"\",slug:\"\"};addPropertyControls(StructuredData,{page:{type:ControlType.Enum,title:\"Page\",options:[\"home\",\"about\",\"post\"],optionTitles:[\"Home\",\"About\",\"Post\"],defaultValue:\"home\"},headline:{type:ControlType.String,title:\"Headline\",defaultValue:\"\"},description:{type:ControlType.String,title:\"Description\",defaultValue:\"\"},date:{type:ControlType.Date,title:\"Date\"},image:{type:ControlType.ResponsiveImage,title:\"Image\"},slug:{type:ControlType.String,title:\"Slug\",defaultValue:\"\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"StructuredData\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"any\"}},\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