{"version":3,"file":"CollapsibleOverride.MkAXDpyB.mjs","names":["useState"],"sources":["https:/framerusercontent.com/modules/xAWX358nF0vbnEmwscZC/q1ctlwWI5YRazbX62sbT/CollapsibleOverride.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useState}from\"react\";export function withCollapsible(Component){return props=>{const[expanded,setExpanded]=useState(false);return /*#__PURE__*/_jsxs(\"div\",{style:{width:\"100%\",position:\"relative\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{overflow:\"hidden\",maxHeight:expanded?9999:310,transition:\"max-height 0.5s ease-in-out\"},children:/*#__PURE__*/_jsx(Component,{...props})}),!expanded&&/*#__PURE__*/_jsx(\"div\",{style:{marginTop:-90,height:90,background:\"linear-gradient(to bottom, transparent, rgb(0,0,0))\",pointerEvents:\"none\",position:\"relative\",zIndex:1}}),/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",justifyContent:\"center\",paddingTop:expanded?20:0,position:\"relative\",zIndex:2},children:/*#__PURE__*/_jsx(\"button\",{onClick:()=>setExpanded(!expanded),style:{background:\"rgba(255,255,255,0.08)\",color:\"#fff\",border:\"1px solid rgba(255,255,255,0.15)\",borderRadius:40,padding:\"14px 32px\",fontSize:15,fontWeight:500,fontFamily:\"Inter, sans-serif\",cursor:\"pointer\"},children:expanded?\"Ver menos ↑\":\"Ver todas las oposiciones ↓\"})})]});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withCollapsible\":{\"type\":\"reactHoc\",\"name\":\"withCollapsible\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CollapsibleOverride.map"],"mappings":"yHAAqF,SAAgB,EAAgB,EAAU,CAAC,MAAO,IAAO,CAAC,GAAK,CAAC,EAAS,GAAaA,EAAS,GAAM,CAAC,OAAoB,EAAM,MAAM,CAAC,MAAM,CAAC,MAAM,OAAO,SAAS,WAAW,CAAC,SAAS,CAAc,EAAK,MAAM,CAAC,MAAM,CAAC,SAAS,SAAS,UAAU,EAAS,KAAK,IAAI,WAAW,8BAA8B,CAAC,SAAsB,EAAK,EAAU,CAAC,GAAG,EAAM,CAAC,CAAC,CAAC,CAAC,CAAC,GAAuB,EAAK,MAAM,CAAC,MAAM,CAAC,UAAU,IAAI,OAAO,GAAG,WAAW,sDAAsD,cAAc,OAAO,SAAS,WAAW,OAAO,EAAE,CAAC,CAAC,CAAc,EAAK,MAAM,CAAC,MAAM,CAAC,QAAQ,OAAO,eAAe,SAAS,WAAW,EAAS,GAAG,EAAE,SAAS,WAAW,OAAO,EAAE,CAAC,SAAsB,EAAK,SAAS,CAAC,YAAY,EAAY,CAAC,EAAS,CAAC,MAAM,CAAC,WAAW,yBAAyB,MAAM,OAAO,OAAO,mCAAmC,aAAa,GAAG,QAAQ,YAAY,SAAS,GAAG,WAAW,IAAI,WAAW,oBAAoB,OAAO,UAAU,CAAC,SAAS,EAAS,cAAc,8BAA8B,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,mBAAthC,IAA4B"}