{"version":3,"file":"PkFeedArticle.BkO2Bqla.mjs","names":["__esmMin","c","init_jsx_runtime","init_framer_DDfsYcI0","addPropertyControls","ControlType","PkFeedArticle","props","data","CATS","category","image","init_PkFeedArticle"],"sources":["https:/framerusercontent.com/modules/qmRq067MVCProrYusiPT/RVs78iN97lli8QUN0m9c/PkFeedArticle.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";// Category option ids from the Articles collection, so the feed shows names.\nconst CATS={VBMyWxR1j:\"Training\",D0x3LXBo1:\"Endurance\",yzeSrw7JE:\"Strength\",YvC6RA0d_:\"Nutrition\",ykPd7rSn4:\"Altitude\",T5S4VyUlb:\"Recovery\",an64oa2jB:\"Gear\",RJqFquFvP:\"Trek Preparation\"};/**\r\n * Data feed for the Articles collection. Put one inside a CMS Collection List: it renders nothing visible,\r\n * only a JSON data block. The Learn library and homepage field notes read these blocks, so a new article\r\n * appears there automatically once published.\r\n *\r\n * @framerSupportedLayoutWidth fixed\r\n * @framerSupportedLayoutHeight fixed\r\n * @framerIntrinsicWidth 1\r\n * @framerIntrinsicHeight 1\r\n */export default function PkFeedArticle(props){const{title=\"\",category=\"\",excerpt=\"\",readTime=\"\",related=\"\",image,slug=\"\",featured=false}=props;const data={slug,title,category:CATS[category]||category,excerpt,readTime,related,featured,img:image&&image.src||\"\"};return /*#__PURE__*/_jsx(\"script\",{type:\"application/json\",\"data-pk-feed\":\"article\",dangerouslySetInnerHTML:{__html:JSON.stringify(data).replace(/</g,\"\\\\u003c\")}});}addPropertyControls(PkFeedArticle,{title:{type:ControlType.String,title:\"Title\",defaultValue:\"\"},category:{type:ControlType.String,title:\"Category\",defaultValue:\"\"},excerpt:{type:ControlType.String,title:\"Excerpt\",defaultValue:\"\"},readTime:{type:ControlType.String,title:\"Read time\",defaultValue:\"\"},related:{type:ControlType.String,title:\"Related\",defaultValue:\"\"},image:{type:ControlType.ResponsiveImage,title:\"Image\"},slug:{type:ControlType.String,title:\"Slug\",defaultValue:\"\"},featured:{type:ControlType.Boolean,title:\"Featured\",defaultValue:false}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"PkFeedArticle\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"fixed\",\"framerIntrinsicHeight\":\"1\",\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"1\",\"framerSupportedLayoutWidth\":\"fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./PkFeedArticle.map"],"mappings":"A,4JAUG,SAAwBM,EAAc,EAAM,CAAC,GAAK,CAAC,QAAM,GAAG,WAAS,GAAG,UAAQ,GAAG,WAAS,GAAG,UAAQ,GAAG,QAAM,OAAK,GAAG,WAAS,IAAOC,EAAYC,EAAK,CAAC,OAAK,QAAM,SAASC,EAAKC,IAAWA,EAAS,UAAQ,WAAS,UAAQ,WAAS,IAAIC,GAAOA,EAAM,KAAK,EAAE,EAAE,MAAoB,gBAAK,SAAS,CAAC,KAAK,mBAAmB,eAAe,UAAU,wBAAwB,CAAC,OAAO,KAAK,UAAUH,CAAI,CAAC,CAAC,QAAQ,KAAK,SAAS,CAAC,CAAC,CAAC,CAAE,C,4CATpa,EAAK,CAAC,UAAU,WAAW,UAAU,YAAY,UAAU,WAAW,UAAU,YAAY,UAAU,WAAW,UAAU,WAAW,UAAU,OAAO,UAAU,kBAAkB,EASkPJ,EAAoBE,EAAc,CAAC,MAAM,CAAC,KAAKD,EAAY,OAAO,MAAM,QAAQ,aAAa,EAAE,EAAE,SAAS,CAAC,KAAKA,EAAY,OAAO,MAAM,WAAW,aAAa,EAAE,EAAE,QAAQ,CAAC,KAAKA,EAAY,OAAO,MAAM,UAAU,aAAa,EAAE,EAAE,SAAS,CAAC,KAAKA,EAAY,OAAO,MAAM,YAAY,aAAa,EAAE,EAAE,QAAQ,CAAC,KAAKA,EAAY,OAAO,MAAM,UAAU,aAAa,EAAE,EAAE,MAAM,CAAC,KAAKA,EAAY,gBAAgB,MAAM,OAAO,EAAE,KAAK,CAAC,KAAKA,EAAY,OAAO,MAAM,OAAO,aAAa,EAAE,EAAE,SAAS,CAAC,KAAKA,EAAY,QAAQ,MAAM,WAAW,aAAa,EAAK,CAAC,CAAC,C"}