{"version":3,"file":"ClippedPhoto.B5hvbGid.mjs","names":[],"sources":["https:/framerusercontent.com/modules/y82wj6Fpr0KT3nX4f4TX/ONluC9ZBaXJDsYQ1lhd5/ClippedPhoto.js"],"sourcesContent":["// code/overrides.tsx\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{forwardRef}from\"react\";// helper to generate shape\nfunction getClipPath(cut){return`polygon(\n        ${cut}px 0,\n        calc(100% - ${cut}px) 0,\n        100% ${cut}px,\n        100% calc(100% - ${cut}px),\n        calc(100% - ${cut}px) 100%,\n        ${cut}px 100%,\n        0 calc(100% - ${cut}px),\n        0 ${cut}px\n    )`;}// ✅ Override wrapper\nexport function withClip40(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const cut=40;const clip=getClipPath(cut);return /*#__PURE__*/_jsx(Component,{...props,ref:ref,style:{...props.style,WebkitClipPath:clip,clipPath:clip,overflow:\"hidden\"}});});}// ✅ Optional presets\nexport function withClip20(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const clip=getClipPath(20);return /*#__PURE__*/_jsx(Component,{...props,ref:ref,style:{...props.style,WebkitClipPath:clip,clipPath:clip,overflow:\"hidden\"}});});}export function withClip60(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const clip=getClipPath(60);return /*#__PURE__*/_jsx(Component,{...props,ref:ref,style:{...props.style,WebkitClipPath:clip,clipPath:clip,overflow:\"hidden\"}});});}\nexport const __FramerMetadata__ = {\"exports\":{\"withClip40\":{\"type\":\"reactHoc\",\"name\":\"withClip40\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withClip20\":{\"type\":\"reactHoc\",\"name\":\"withClip20\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withClip60\":{\"type\":\"reactHoc\",\"name\":\"withClip60\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ClippedPhoto.map"],"mappings":"kHAEA,SAAS,EAAY,EAAI,CAAC,MAAM;UACtB,EAAI;sBACQ,EAAI;eACX,EAAI;2BACQ,EAAI;sBACT,EAAI;UAChB,EAAI;wBACU,EAAI;YAChB,EAAI;OAEhB,SAAgB,EAAW,EAAU,CAAC,OAAoB,GAAY,EAAM,IAAM,CAAc,IAAM,EAAK,EAAd,GAA8B,CAAC,OAAoB,EAAK,EAAU,CAAC,GAAG,EAAU,MAAI,MAAM,CAAC,GAAG,EAAM,MAAM,eAAe,EAAK,SAAS,EAAK,SAAS,SAAS,CAAC,CAAC,EAAG,CAChQ,SAAgB,EAAW,EAAU,CAAC,OAAoB,GAAY,EAAM,IAAM,CAAC,IAAM,EAAK,EAAY,GAAG,CAAC,OAAoB,EAAK,EAAU,CAAC,GAAG,EAAU,MAAI,MAAM,CAAC,GAAG,EAAM,MAAM,eAAe,EAAK,SAAS,EAAK,SAAS,SAAS,CAAC,CAAC,EAAG,kBAZvM,IAA8B"}