{"version":3,"file":"shared-lib.CAsAfVbH.mjs","names":["__esmMin","le","init_ssg_sandbox_shims","window","p","c","init_jsx_runtime","init_npm_react_18_3_1","motion","AnimatePresence","init_framer_motion_DhsWWWsN","fontStore","addPropertyControls","init_framer_D6uXRwWs","ControlType","EnhancedFramerBadge","props","element","CustomBadge","FramerIcon","containerStyle","framerTextStyle","init_EnhancedFramerBadge","scaledWidth","scale","scaledHeight","animationProps","isPreview","customColor","showCustomBadge","containerAnimationProps","customImageAnimationProps","textAnimationProps","handleClick","customLink","borderStyles","width","height","bgColor","advancedStyle","fontStyles","fonts","css","className","init_GyvzA9MNd","metadata","init_siteMetadata"],"sources":["https:/framerusercontent.com/modules/JzeXCKUHfJrd5nKdBXGo/tAMfJ0ueC7g3KWKK1BZS/EnhancedFramerBadge.js","https:/framerusercontent.com/modules/qIkWfAAkemKwH67reHNA/AliRvrBOJsvP6Q5dpbkc/GyvzA9MNd.js","https:/framerusercontent.com/modules/qmIHkKmqPR5gf3D1Cmcq/XN86Y8vlb4zjousTvHxV/siteMetadata.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType}from\"framer\";import{motion,AnimatePresence}from\"framer-motion\";const FramerIcon=({scale=1,customColor,isPreview=false,...props})=>{const baseWidth=13;const baseHeight=19;const scaledWidth=baseWidth*scale;const scaledHeight=baseHeight*scale;const animationProps=isPreview?{}:{initial:{opacity:0},animate:{opacity:1},transition:{duration:.5,ease:\"easeOut\"}};return /*#__PURE__*/_jsxs(motion.svg,{xmlns:\"http://www.w3.org/2000/svg\",width:scaledWidth,height:scaledHeight,viewBox:`0 0 ${baseWidth} ${baseHeight}`,fill:\"none\",...props,...animationProps,children:[/*#__PURE__*/_jsx(motion.g,{fill:customColor!==null&&customColor!==void 0?customColor:\"#000\",clipPath:\"url(#a)\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M12.77.737h-12l6 6h6v-6ZM6.77 6.737h-6v6h12l-6-6ZM6.77 12.737h-6l6 6v-6Z\"})}),/*#__PURE__*/_jsx(\"defs\",{children:/*#__PURE__*/_jsx(\"clipPath\",{id:\"a\",children:/*#__PURE__*/_jsx(\"path\",{fill:\"#fff\",d:\"M0 0h13v19H0z\"})})})]});};const CustomBadge=props=>{const{width,height,bgColor,showCustomBadge,borderStyles,fontStyles,advancedStyle,isPreview,customLink}=props;if(!showCustomBadge){return null;}const containerAnimationProps=isPreview?{}:{initial:{opacity:0,y:20},animate:{opacity:1,y:0},exit:{opacity:0,y:20},transition:{duration:.5,ease:\"easeOut\"}};const customImageAnimationProps=isPreview?{}:{initial:{scale:0,opacity:0},animate:{scale:1,opacity:1},transition:{duration:.5,delay:.2}};const textAnimationProps=isPreview?{}:{initial:{opacity:0},animate:{opacity:1},transition:{duration:.5,delay:.3}};const handleClick=()=>{window.open(customLink,\"_blank\");};return /*#__PURE__*/_jsxs(motion.div,{style:{...containerStyle,...borderStyles.borderStyle,borderRadius:borderStyles.borderRadius,width:width!==null&&width!==void 0?width:\"fit-content\",height:height!==null&&height!==void 0?height:\"fit-content\",backgroundColor:bgColor},...containerAnimationProps,onClick:handleClick,children:[advancedStyle.showDefaultLogo&&/*#__PURE__*/_jsx(FramerIcon,{customColor:advancedStyle.defaultLogoColor,scale:Math.max(advancedStyle.logoScale,1),isPreview:isPreview}),advancedStyle.showCustomImage&&/*#__PURE__*/_jsx(motion.img,{src:\"https://framerusercontent.com/images/3YKaDGa4rkmdFHgqoj5Q9NRLF0.gif\",alt:\"Custom Logo\",style:{width:`${Math.max(advancedStyle.logoScale,1)*12}px`},...customImageAnimationProps}),/*#__PURE__*/_jsx(motion.p,{style:{...framerTextStyle,...fontStyles.fontStyle,color:fontStyles.fontColor},...textAnimationProps,children:fontStyles.customText})]});};/**\n * @framerDisableUnlink\n * @framerDisableEdit\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n */export default function EnhancedFramerBadge(props){React.useLayoutEffect(()=>{if(!props.isActive)return;const element=document.getElementById(\"__framer-badge-container\");if(element){element.remove();}},[props.isActive]);return /*#__PURE__*/_jsx(AnimatePresence,{children:props.showCustomBadge&&/*#__PURE__*/_jsx(CustomBadge,{...props})});}addPropertyControls(EnhancedFramerBadge,{isActive:{type:ControlType.Boolean,title:\"Native Badge\",defaultValue:true,enabledTitle:\"Hide\",disabledTitle:\"Show\",description:\"Toggle to show or hide the original Framer badge.\"},showCustomBadge:{type:ControlType.Boolean,title:\"Custom Badge\",defaultValue:true,enabledTitle:\"Show\",disabledTitle:\"Hide\",description:\"Toggle to show or hide the custom Framer badge.\"},bgColor:{type:ControlType.Color,title:\"Background Color\",defaultValue:\"#fff\",hidden:props=>!props.showCustomBadge},fontStyles:{type:ControlType.Object,title:\"Font Styles\",controls:{fontStyle:{type:ControlType.Font,controls:\"extended\",displayFontSize:true,displayTextAlignment:false,defaultFontType:\"sans-serif\",defaultValue:{fontSize:12,lineHeight:\"16px\"}},fontColor:{type:ControlType.Color,title:\"Font Color\",defaultValue:\"#323232\"},customText:{type:ControlType.String,title:\"Custom text\",defaultValue:\"Made in Framer\"}},hidden:props=>!props.showCustomBadge},borderStyles:{type:ControlType.Object,title:\"Border Styles\",controls:{borderStyle:{type:ControlType.Border,defaultValue:{borderWidth:1,borderStyle:\"solid\",borderColor:\"#E7E8EB\"}},borderRadius:{type:ControlType.BorderRadius,defaultValue:\"12px\"}},hidden:props=>!props.showCustomBadge},advancedStyle:{type:ControlType.Object,title:\"Advanced Options\",controls:{showDefaultLogo:{type:ControlType.Boolean,title:\"Show Framer Logo\",defaultValue:true,enabledTitle:\"Show\",disabledTitle:\"Hide\",description:\"Toggle to show or hide the Framer logo in the badge.\"},defaultLogoColor:{type:ControlType.Color,title:\"Logo Color\",defaultValue:\"#000\",hidden:props=>!props.advancedStyle.showDefaultLogo},showCustomImage:{type:ControlType.Boolean,title:\"Show Custom Image\",defaultValue:false,enabledTitle:\"Show\",disabledTitle:\"Hide\",description:\"Toggle to show or hide a custom image in the badge.\"},logoScale:{type:ControlType.Number,title:\"Logo Scale\",defaultValue:1,min:.5,max:2,step:.1}},hidden:props=>!props.showCustomBadge},isPreview:{type:ControlType.Boolean,title:\"Preview Mode\",defaultValue:true,enabledTitle:\"On\",disabledTitle:\"Off\",description:\"Toggle to enable or disable animations for preview. (Turn this off before publishing to enable Animations)\",hidden:props=>!props.showCustomBadge},customLink:{type:ControlType.Link,title:\"Custom Link\",defaultValue:\"https://framer.com\",description:\"Enter the URL to open when the badge is clicked.\"}});const containerStyle={display:\"flex\",alignItems:\"center\",justifyContent:\"center\",gap:\"8px\",padding:\"8px 12px\",cursor:\"pointer\"};const framerTextStyle={fontFamily:'\"Inter\", sans-serif',fontSize:\"12px\",fontWeight:700,lineHeight:\"16px\",margin:0,padding:0};\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"EnhancedFramerBadge\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"any\",\"framerDisableUnlink\":\"* @framerDisableEdit\",\"framerSupportedLayoutWidth\":\"any\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./EnhancedFramerBadge.map","// Generated by Framer (808fccf)\nimport{fontStore}from\"framer\";fontStore.loadFonts([]);export const fonts=[{explicitInter:true,fonts:[]}];export const css=[\".framer-Z2k8R .framer-styles-preset-12oif0v:not(.rich-text-wrapper), .framer-Z2k8R .framer-styles-preset-12oif0v.rich-text-wrapper a { --framer-link-text-color: #c2a3a3; }\"];export const className=\"framer-Z2k8R\";\nexport const __FramerMetadata__ = {\"exports\":{\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Generated by Framer (108c8c6)\nexport default function metadata(params,activeLocale){return{description:\"Jewelry Design Studio\",favicon:\"https://framerusercontent.com/assets/Mow0WU3QTc87PrEppYzZogP88.png\",robots:\"max-image-preview:large\",socialImage:\"https://framerusercontent.com/assets/F9BowarWIF2OGREmMmcYZMT2jdE.png\",title:\"Meadoux\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"A,8PAKG,SAAwBe,EAAoB,EAAM,CAA0K,OAAzKd,MAA0B,CAAC,GAAG,CAACe,EAAM,SAAS,OAAO,IAAMC,EAAQ,SAAS,eAAe,0BAA0B,EAAKA,GAASA,EAAQ,OAAO,CAAG,EAAE,CAACD,EAAM,QAAQ,CAAC,EAAsB,gBAAKP,EAAgB,CAAC,SAASO,EAAM,iBAA8B,gBAAKE,EAAY,CAAC,GAAGF,CAAK,CAAC,CAAC,CAAC,CAAE,C,8DALpJ,GAAY,CAAC,QAAM,EAAE,cAAY,YAAU,GAAM,GAAGA,KAAS,CAAC,IAA6CO,EAAY,GAAUC,EAAYC,EAAa,GAAWD,EAAYE,EAAeC,EAAU,CAAC,EAAE,CAAC,QAAQ,CAAC,QAAQ,CAAC,EAAE,QAAQ,CAAC,QAAQ,CAAC,EAAE,WAAW,CAAC,SAAS,GAAG,KAAK,SAAS,CAAC,EAAE,MAAoB,gBAAMnB,EAAO,IAAI,CAAC,MAAM,6BAA6B,MAAMe,EAAY,OAAOE,EAAa,QAAQ,YAAiC,KAAK,OAAO,GAAGT,EAAM,GAAGU,EAAe,SAAS,CAAc,gBAAKlB,EAAO,EAAE,CAAC,KAAKoB,GAAqD,OAAO,SAAS,UAAU,SAAsB,gBAAK,OAAO,CAAC,EAAE,0EAA0E,CAAC,CAAC,CAAC,EAAe,gBAAK,OAAO,CAAC,SAAsB,g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