{"version":3,"file":"ImageMaskFrame.D3SRQePy.mjs","names":[],"sources":["https:/framerusercontent.com/modules/towCDL6V6PYxck6QNFP0/5hvFj8JF4wTJiDhbdzyh/ImageMaskFrame.js"],"sourcesContent":["// Simple frame with CMS-linkable image mask\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function ImageMaskFrame(props){const{maskImage={src:\"https://framerusercontent.com/images/GfGkADagM4KEibNcIiRUWlfrR0.jpg\",alt:\"Mask Image\"},backgroundColor,maskAlignment,maskFill}=props;return /*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",height:\"100%\",backgroundColor,WebkitMask:`url(${maskImage.src}) ${maskAlignment} / ${maskFill} no-repeat`,mask:`url(${maskImage.src}) ${maskAlignment} / ${maskFill} no-repeat`,...props.style}});}addPropertyControls(ImageMaskFrame,{maskImage:{type:ControlType.ResponsiveImage,title:\"Mask Image\"},backgroundColor:{type:ControlType.Color,title:\"Background Color\",defaultValue:\"#000000\"},maskAlignment:{type:ControlType.Enum,title:\"Mask Alignment\",options:[\"center\",\"top\",\"bottom\",\"left\",\"right\",\"top left\",\"top right\",\"bottom left\",\"bottom right\"],optionTitles:[\"Center\",\"Top\",\"Bottom\",\"Left\",\"Right\",\"Top Left\",\"Top Right\",\"Bottom Left\",\"Bottom Right\"],defaultValue:\"center\"},maskFill:{type:ControlType.Enum,title:\"Mask Fill\",options:[\"cover\",\"contain\",\"100% 100%\",\"auto\"],optionTitles:[\"Cover\",\"Contain\",\"Stretch\",\"Auto\"],defaultValue:\"cover\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ImageMaskFrame\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"fixed\",\"framerSupportedLayoutHeight\":\"fixed\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ImageMaskFrame.map"],"mappings":"6JAIG,SAAwB,EAAe,EAAM,CAAC,GAAK,CAAC,YAAU,CAAC,IAAI,sEAAsE,IAAI,aAAa,CAAC,kBAAgB,gBAAc,YAAU,EAAM,OAAoB,EAAK,MAAM,CAAC,MAAM,CAAC,MAAM,OAAO,OAAO,OAAO,kBAAgB,WAAW,OAAO,EAAU,IAAI,IAAI,EAAc,KAAK,EAAS,YAAY,KAAK,OAAO,EAAU,IAAI,IAAI,EAAc,KAAK,EAAS,YAAY,GAAG,EAAM,MAAM,CAAC,CAAC,kBAHtZ,IAAoD,CAGoW,EAAoB,EAAe,CAAC,UAAU,CAAC,KAAK,EAAY,gBAAgB,MAAM,aAAa,CAAC,gBAAgB,CAAC,KAAK,EAAY,MAAM,MAAM,mBAAmB,aAAa,UAAU,CAAC,cAAc,CAAC,KAAK,EAAY,KAAK,MAAM,iBAAiB,QAAQ,CAAC,SAAS,MAAM,SAAS,OAAO,QAAQ,WAAW,YAAY,cAAc,eAAe,CAAC,aAAa,CAAC,SAAS,MAAM,SAAS,OAAO,QAAQ,WAAW,YAAY,cAAc,eAAe,CAAC,aAAa,SAAS,CAAC,SAAS,CAAC,KAAK,EAAY,KAAK,MAAM,YAAY,QAAQ,CAAC,QAAQ,UAAU,YAAY,OAAO,CAAC,aAAa,CAAC,QAAQ,UAAU,UAAU,OAAO,CAAC,aAAa,QAAQ,CAAC,CAAC"}