{"version":3,"file":"TagItemListSchema.B-EZawSW.mjs","names":[],"sources":["https:/framerusercontent.com/modules/mAPXrMXcrAHsbCjaZKKG/5fbz8dlomPcUpdNGE8LF/TagItemListSchema.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function TagItemListSchema(props){const{tagName=\"\",tagSlug=\"\",itemsJson=\"[]\"}=props;let items=[];try{const cleaned=itemsJson.startsWith(\"X\")?itemsJson.slice(1):itemsJson;items=JSON.parse(cleaned);}catch{items=[];}const pageUrl=`https://www.iwatchfaces.com/filtered-collections/collections-${tagSlug}`;const schema={\"@context\":\"https://schema.org\",\"@type\":\"CollectionPage\",name:`${tagName} Apple Watch Faces`,url:pageUrl,isPartOf:{\"@type\":\"WebSite\",name:\"Vellum\",url:\"https://www.iwatchfaces.com\"},mainEntity:{\"@type\":\"ItemList\",name:`${tagName} Apple Watch Face Collections`,numberOfItems:items.length,itemListElement:items.map((it,i)=>({\"@type\":\"ListItem\",position:i+1,item:{\"@type\":\"Product\",name:it.name,url:it.url,image:it.image||undefined,brand:{\"@type\":\"Brand\",name:\"Vellum Studio\"},category:\"Apple Watch Face Collection\",offers:{\"@type\":\"Offer\",url:it.url,price:\"0\",priceCurrency:\"USD\",availability:\"https://schema.org/InStock\",seller:{\"@type\":\"Organization\",name:\"Vellum Studio\"}}}}))}};return /*#__PURE__*/_jsx(\"div\",{style:{position:\"relative\",width:0,height:0,overflow:\"hidden\"},children:/*#__PURE__*/_jsx(\"script\",{type:\"application/ld+json\",dangerouslySetInnerHTML:{__html:JSON.stringify(schema)}})});}addPropertyControls(TagItemListSchema,{tagName:{type:ControlType.String,title:\"Tag Name\",defaultValue:\"\"},tagSlug:{type:ControlType.String,title:\"Tag Slug\",defaultValue:\"\"},itemsJson:{type:ControlType.String,title:\"Items JSON\",defaultValue:\"[]\",displayTextArea:true}});// rev 1782072197729\n\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"TagItemListSchema\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"fixed\",\"framerSupportedLayoutWidth\":\"fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./TagItemListSchema.map"],"mappings":"4JAGG,SAAwB,EAAkB,EAAM,CAAC,GAAK,CAAC,UAAQ,GAAG,UAAQ,GAAG,YAAU,MAAM,EAAU,EAAM,CAAC,EAAE,GAAG,CAAC,IAAM,EAAQ,EAAU,WAAW,GAAG,EAAE,EAAU,MAAM,CAAC,EAAE,EAAU,EAAM,KAAK,MAAM,CAAO,CAAE,MAAM,CAAC,EAAM,CAAC,CAAE,CAAC,IAAM,EAAQ,gEAAgE,IAAgB,EAAO,CAAC,WAAW,qBAAqB,QAAQ,iBAAiB,KAAK,GAAG,EAAQ,oBAAoB,IAAI,EAAQ,SAAS,CAAC,QAAQ,UAAU,KAAK,SAAS,IAAI,6BAA6B,EAAE,WAAW,CAAC,QAAQ,WAAW,KAAK,GAAG,EAAQ,+BAA+B,cAAc,EAAM,OAAO,gBAAgB,EAAM,KAAK,EAAG,KAAK,CAAC,QAAQ,WAAW,SAAS,EAAE,EAAE,KAAK,CAAC,QAAQ,UAAU,KAAK,EAAG,KAAK,IAAI,EAAG,IAAI,MAAM,EAAG,OAAO,IAAA,GAAU,MAAM,CAAC,QAAQ,QAAQ,KAAK,eAAe,EAAE,SAAS,8BAA8B,OAAO,CAAC,QAAQ,QAAQ,IAAI,EAAG,IAAI,MAAM,IAAI,cAAc,MAAM,aAAa,6BAA6B,OAAO,CAAC,QAAQ,eAAe,KAAK,eAAe,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,OAAoB,EAAK,MAAM,CAAC,MAAM,CAAC,SAAS,WAAW,MAAM,EAAE,OAAO,EAAE,SAAS,QAAQ,EAAE,SAAsB,EAA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