{"version":3,"file":"Talks_ResponsiveContainer.CD6n6d74.mjs","names":[],"sources":["https:/framerusercontent.com/modules/VEZyyDoCDkEd85TBbMz8/Sb41mKZ8mmbynN4TBy3f/Talks_ResponsiveContainer.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";// --- CONFIGURATION ---\nconst RATIO=16/9;const MAX_HEIGHT_CALC=\"100vh - 200px\";// ---------------------\nexport function MaxWidthContainer(Component){return props=>{return /*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",display:\"flex\",justifyContent:\"left\"},children:/*#__PURE__*/_jsx(\"div\",{style:{// This calculates the width limit based on the video height logic\nwidth:`min(100%, calc((${MAX_HEIGHT_CALC}) * ${RATIO}))`,display:\"flex\",flexDirection:\"column\"},children:/*#__PURE__*/_jsx(Component,{...props,style:{...props.style,width:\"100%\",height:\"auto\"}})})});};}\nexport const __FramerMetadata__ = {\"exports\":{\"MaxWidthContainer\":{\"type\":\"reactHoc\",\"name\":\"MaxWidthContainer\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Talks_ResponsiveContainer.map"],"mappings":"oGAEA,SAAgB,EAAkB,EAAU,CAAC,MAAO,IAA4B,EAAK,MAAM,CAAC,MAAM,CAAC,MAAM,OAAO,QAAQ,OAAO,eAAe,OAAO,CAAC,SAAsB,EAAK,MAAM,CAAC,MAAM,CAC9L,MAAM,mBAAmB,EAAgB,MAAM,EAAM,IAAI,QAAQ,OAAO,cAAc,SAAS,CAAC,SAAsB,EAAK,EAAU,CAAC,GAAG,EAAM,MAAM,CAAC,GAAG,EAAM,MAAM,MAAM,OAAO,OAAO,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,sBAH3J,CACrC,EAAM,GAAG,EAAQ,EAAgB"}