{"version":3,"file":"ScrollIndicator.C5q0PHSz.mjs","names":[],"sources":["https:/framerusercontent.com/modules/OhxGxLkRHV3Xp7Mk56S3/IDNJYoUrJ6UWpSAcodcm/ScrollIndicator.js"],"sourcesContent":["// Option overlay for image in a stack\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * Image Option Overlay\n *\n * Lets you place an option overlay (button or label) on top of an image, for use in a Stack.\n *\n * @framerIntrinsicWidth 320\n * @framerIntrinsicHeight 180\n *\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n */export default function ScrollIndicator(props){const{image={src:\"https://framerusercontent.com/images/GfGkADagM4KEibNcIiRUWlfrR0.jpg\",alt:\"Gradient 1 - Blue\"},showOverlay,overlayText,overlayColor,overlayTextColor,overlayFont,overlayOpacity,borderRadius,description,showPlainText,plainText,plainTextFont,plainTextColor,onClick,style}=props;return /*#__PURE__*/_jsxs(\"div\",{style:{...style,width:\"100%\",height:\"100%\",position:\"relative\",borderRadius,overflow:\"hidden\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\"},children:[/*#__PURE__*/_jsx(\"img\",{src:image.src,alt:image.alt||\"\",style:{width:\"100%\",height:\"100%\",objectFit:\"cover\",borderRadius,display:\"block\"}}),/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",left:\"50%\",bottom:16,transform:\"translateX(-50%)\",width:44,height:60,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",background:\"transparent\",zIndex:3,pointerEvents:\"none\",filter:\"blur(0.5px)\",transition:\"filter 0.3s cubic-bezier(.4,0,.2,1)\",// Add modern effect\nbackdropFilter:\"blur(2px)\",WebkitBackdropFilter:\"blur(2px)\"},\"aria-hidden\":\"true\",children:/*#__PURE__*/_jsxs(\"svg\",{width:\"44\",height:\"60\",viewBox:\"0 0 44 60\",fill:\"none\",xmlns:\"http://www.w3.org/2000/svg\",children:[/*#__PURE__*/_jsx(\"rect\",{x:\"2\",y:\"2\",width:\"40\",height:\"56\",rx:\"20\",stroke:\"#fff\",strokeWidth:\"2\",fill:\"none\"}),/*#__PURE__*/_jsxs(\"rect\",{x:\"21\",y:\"14\",width:\"2\",height:\"12\",rx:\"1\",fill:\"#fff\",children:[/*#__PURE__*/_jsx(\"animate\",{attributeName:\"y\",values:\"14;24;14\",keyTimes:\"0;0.5;1\",dur:\"1.2s\",repeatCount:\"indefinite\",keySplines:\".4,0,.2,1;.4,0,.2,1\",calcMode:\"spline\"}),/*#__PURE__*/_jsx(\"animate\",{attributeName:\"height\",values:\"12;8;12\",keyTimes:\"0;0.5;1\",dur:\"1.2s\",repeatCount:\"indefinite\",keySplines:\".4,0,.2,1;.4,0,.2,1\",calcMode:\"spline\"})]})]})}),props.showOverlay&&props.overlayText&&/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",top:\"50%\",left:\"50%\",transform:\"translate(-50%, -50%)\",// background: props.overlayColor, // Removed overlay color\ncolor:props.overlayTextColor,opacity:props.overlayOpacity,borderRadius:8,padding:\"6px 18px\",zIndex:4,pointerEvents:\"auto\",boxShadow:\"0 2px 8px rgba(0,0,0,0.10)\",...props.overlayFont},children:props.overlayText}),props.showOverlay&&props.overlayText&&props.description&&/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",left:\"50%\",top:\"calc(50% + 38px)\",transform:\"translateX(-50%)\",color:\"#fff\",background:\"rgba(0,0,0,0.32)\",borderRadius:6,padding:\"2px 10px\",fontSize:13,zIndex:10,pointerEvents:\"none\",fontWeight:500,letterSpacing:\"-0.01em\"},children:props.description}),showPlainText&&plainText&&/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",top:\"50%\",left:\"50%\",transform:\"translate(-50%, -50%)\",background:\"none\",color:plainTextColor,opacity:1,borderRadius:0,padding:0,zIndex:5,pointerEvents:\"auto\",boxShadow:\"none\",...plainTextFont},children:plainText}),description&&!showOverlay&&/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",left:\"50%\",top:\"calc(100% + 8px)\",transform:\"translateX(-50%)\",color:\"#fff\",background:\"rgba(0,0,0,0.32)\",borderRadius:6,padding:\"2px 10px\",fontSize:13,zIndex:10,pointerEvents:\"none\",fontWeight:500,letterSpacing:\"-0.01em\"},children:description})]});}addPropertyControls(ScrollIndicator,{image:{type:ControlType.ResponsiveImage,title:\"Image\"},showOverlay:{type:ControlType.Boolean,title:\"Show Overlay\",defaultValue:true,enabledTitle:\"Show\",disabledTitle:\"Hide\"},overlayText:{type:ControlType.String,title:\"Overlay Text\",defaultValue:\"Option\"},overlayColor:{type:ControlType.Color,title:\"Overlay Color\",defaultValue:\"#111\"},overlayTextColor:{type:ControlType.Color,title:\"Text Color\",defaultValue:\"#fff\"},overlayFont:{type:ControlType.Font,title:\"Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"18px\",variant:\"Semibold\",letterSpacing:\"-0.01em\",lineHeight:\"1.2em\"}},overlayOpacity:{type:ControlType.Number,title:\"Overlay Opacity\",defaultValue:.92,min:.1,max:1,step:.01},borderRadius:{type:ControlType.Number,title:\"Border Radius\",defaultValue:12,min:0,max:40,step:1,unit:\"px\"},description:{type:ControlType.String,title:\"Description\",defaultValue:\"\",placeholder:\"Description below image\"},showPlainText:{type:ControlType.Boolean,title:\"Show Plain Text\",defaultValue:false,enabledTitle:\"Show\",disabledTitle:\"Hide\"},plainText:{type:ControlType.String,title:\"Plain Text\",defaultValue:\"\",placeholder:\"Text without overlay\",hidden:({showPlainText})=>!showPlainText},plainTextFont:{type:ControlType.Font,title:\"Plain Text Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"22px\",variant:\"Semibold\",letterSpacing:\"-0.01em\",lineHeight:\"1.2em\"},hidden:({showPlainText})=>!showPlainText},plainTextColor:{type:ControlType.Color,title:\"Plain Text Color\",defaultValue:\"#fff\",hidden:({showPlainText})=>!showPlainText}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ScrollIndicator\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"320\",\"framerIntrinsicHeight\":\"180\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ScrollIndicator.map"],"mappings":"mKAWG,SAAwB,EAAgB,EAAM,CAAC,GAAK,CAAC,QAAM,CAAC,IAAI,sEAAsE,IAAI,oBAAoB,CAAC,cAAY,cAAY,eAAa,mBAAiB,cAAY,iBAAe,eAAa,cAAY,gBAAc,YAAU,gBAAc,iBAAe,UAAQ,SAAO,EAAM,OAAoB,EAAM,MAAM,CAAC,MAAM,CAAC,GAAG,EAAM,MAAM,OAAO,OAAO,OAAO,SAAS,WAAW,eAAa,SAAS,SAAS,QAAQ,OAAO,WAAW,SAAS,eAAe,SAAS,CAAC,SAAS,CAAc,EAAK,MAAM,CAAC,IAAI,EAAM,IAAI,IAAI,EAAM,KAAK,GAAG,MAAM,CAAC,MAAM,OAAO,OAAO,OAAO,UAAU,QAAQ,eAAa,QAAQ,QAAQ,CAAC,CAAC,CAAc,EAAK,MAAM,CAAC,MAAM,CAAC,SAAS,WAAW,KAAK,MAAM,OAAO,GAAG,UAAU,mBAAmB,MAAM,GAAG,OAAO,GAAG,QAAQ,OAAO,WAAW,SAAS,eAAe,SAAS,WAAW,cAAc,OAAO,EAAE,cAAc,OAAO,OAAO,cAAc,WAAW,sCACn7B,eAAe,YAAY,qBAAqB,YAAY,CAAC,cAAc,OAAO,SAAsB,EAAM,MAAM,CAAC,MAAM,KAAK,OAAO,KAAK,QAAQ,YAAY,KAAK,OAAO,MAAM,6BAA6B,SAAS,CAAc,EAAK,OAAO,CAAC,EAAE,IAAI,EAAE,IAAI,MAAM,KAAK,OAAO,KAAK,GAAG,KAAK,OAAO,OAAO,YAAY,IAAI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