{"version":3,"file":"ResourceEditorialBridge.DshpAb98.mjs","names":["__esmMin","init_ssg_sandbox_shims","window","c","init_jsx_runtime","ce","init_npm_react_18_3_1","init_framer_BisrWwwE","addPropertyControls","ControlType","ResourceEditorialBridge","records","schemas","offerUrls","repairOffers","value","record","repaired","key","entry","eventResourceList","created","r","el","i","parsed","normalized","style","init_ResourceEditorialBridge"],"sources":["https:/framerusercontent.com/modules/BxKH10Ric8IGaQ1uzPBa/BVvok5o2Bd6qEdUth3Bf/ResourceEditorialBridge.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType}from\"framer\";/**\n * Native text stays editable; this bridge supplies the approved custom WOFF.\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n * @framerIntrinsicWidth 1\n * @framerIntrinsicHeight 1\n */export default function ResourceEditorialBridge({schemas=\"[]\",style}){React.useEffect(()=>{if(typeof document===\"undefined\")return;let records=[];try{records=JSON.parse(decodeURIComponent(schemas));}catch{return;}const offerUrls={\"Aspen Wedding Videography\":\"https://summitphotoandfilm.com/aspen-wedding-videographer\",\"Aspen Event Videography\":\"https://summitphotoandfilm.com/aspen-event-videographer\",\"Wedding Photography And Videography\":\"https://summitphotoandfilm.com/\",\"Aspen Wedding Photography\":\"https://summitphotoandfilm.com/photo\",\"Event Photography (Private Events)\":\"https://summitphotoandfilm.com/events\"};const repairOffers=value=>{if(Array.isArray(value))return value.map(repairOffers);if(!value||typeof value!==\"object\")return value;const record=value;const repaired=Object.fromEntries(Object.entries(record).map(([key,entry])=>[key,repairOffers(entry)]));if(record[\"@type\"]===\"Offer\"&&!record.url&&offerUrls[record.itemOffered?.name]){repaired.url=offerUrls[record.itemOffered.name];}return repaired;};const eventResourceList={\"@context\":\"https://schema.org\",\"@type\":\"ItemList\",name:\"Aspen Event Photography Resources\",itemListOrder:\"https://schema.org/ItemListOrderAscending\",numberOfItems:9,itemListElement:[{\"@type\":\"ListItem\",name:\"Aspen Event Photography: The Complete Planning Guide\",position:1,url:\"https://summitphotoandfilm.com/aspen-colorado-events-photography-guide\"},{\"@type\":\"ListItem\",name:\"Corporate Event Photography Aspen Guide\",position:2,url:\"https://summitphotoandfilm.com/corporate-event-photography-aspen\"},{\"@type\":\"ListItem\",name:\"Corporate Retreat Photography in Aspen\",position:3,url:\"https://summitphotoandfilm.com/corporate-retreat-photography-aspen\"},{\"@type\":\"ListItem\",name:\"Snowmass Corporate Retreat Photographer: What to Expect\",position:4,url:\"https://summitphotoandfilm.com/snowmass-corporate-retreat-photographer\"},{\"@type\":\"ListItem\",name:\"Best Aspen Corporate Event Venues\",position:5,url:\"https://summitphotoandfilm.com/aspen-corporate-event-venues\"},{\"@type\":\"ListItem\",name:\"Aspen Art Event Photographer: Gallery Openings, Art Fairs, and Collector Events\",position:6,url:\"https://summitphotoandfilm.com/aspen-art-event-photographer\"},{\"@type\":\"ListItem\",name:\"Paul JAS Center Aspen Event Photography: A First Look at One of Downtown’s Newest Venues\",position:7,url:\"https://summitphotoandfilm.com/paul-jas-center-aspen-event-photography\"},{\"@type\":\"ListItem\",name:\"Event Video vs Photography\",position:8,url:\"https://summitphotoandfilm.com/event-video-vs-photography\"},{\"@type\":\"ListItem\",name:\"Explore our Aspen event videography resources\",position:9,url:\"https://summitphotoandfilm.com/aspen-event-videography-resources\"}]};const created=[];records.forEach((r,i)=>{if(!r.json||document.getElementById(r.id))return;const el=document.createElement(\"script\");el.id=r.id||`resource-preserved-schema-${i}`;el.type=\"application/ld+json\";try{const parsed=JSON.parse(r.json);const normalized=window.location.pathname.replace(/\\/$/,\"\")===\"/aspen-event-photography-resources\"&&parsed[\"@type\"]===\"ItemList\"?eventResourceList:parsed;el.textContent=JSON.stringify(repairOffers(normalized));}catch{el.textContent=r.json;}document.head.appendChild(el);created.push(el);});return()=>created.forEach(el=>el.remove());},[schemas]);return /*#__PURE__*/_jsx(\"div\",{\"aria-hidden\":\"true\",style:{...style,width:1,height:1,pointerEvents:\"none\"},children:/*#__PURE__*/_jsx(\"style\",{children:`\n @font-face{font-family:SummitResourceTangardenia;src:url(\"https://static.showit.co/file/9OrRHPlpPC60r18-jLDpBQ/shared/tan-gardenia-webfont.woff\") format(\"woff\");font-weight:400;font-style:normal;font-display:swap}\n [data-framer-name^=\"SummitDisplay__Resource\"],[data-framer-name^=\"SummitDisplay__Resource\"] *{font-family:SummitResourceTangardenia,serif!important;font-weight:400!important}\n [data-framer-name=\"Resource CTA\"] *{font-family:Syne,sans-serif!important}\n [data-framer-name=\"Resource Editorial Main\"] a:focus-visible{outline:2px solid currentColor;outline-offset:5px}\n [data-framer-name=\"Resource Guide Card\"]{transition:background-color .2s ease}\n [data-framer-name=\"Resource Guide Card\"]:hover{background-color:rgba(0,0,0,.045)!important}\n @media(max-width:767.98px){[data-framer-name=\"Retreat date\"] .framer-text{font-size:12px!important}}\n @media(prefers-reduced-motion:reduce){[data-framer-name=\"Resource Guide Card\"]{transition:none}}\n `})});}addPropertyControls(ResourceEditorialBridge,{schemas:{type:ControlType.String,title:\"Preserved schema\",displayTextArea:true,defaultValue:\"[]\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ResourceEditorialBridge\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"1\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerIntrinsicWidth\":\"1\",\"framerSupportedLayoutHeight\":\"fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ResourceEditorialBridge.map"],"mappings":"A,wLAMG,SAAwBU,EAAwB,CAAC,UAAQ,KAAK,SAAO,CAAsoG,OAAroGL,MAAoB,CAAC,GAAG,OAAO,SAAW,IAAY,OAAO,IAAIM,EAAQ,CAAC,EAAE,GAAG,CAAC,EAAQ,KAAK,MAAM,mBAAmBC,CAAO,CAAC,CAAE,MAAM,CAAC,MAAO,CAAC,IAAMC,EAAU,CAAC,4BA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