{"version":3,"file":"Eyebrow.aetSAjt5.mjs","names":[],"sources":["https:/framerusercontent.com/modules/w8mCBxL39htYeBhXXU2p/VTKZJLWAqDJbm2W0ehfx/Eyebrow.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";const defaultFont={fontFamily:'\"Montserrat\", sans-serif',fontSize:\"18px\",fontWeight:500,lineHeight:\"1.3em\",letterSpacing:\"0em\"};/**\n * A lightweight, CSS-based Liquid Glass eyebrow for Framer.\n * Place directly over an image/video/gradient; it samples the real backdrop.\n * Text stays sharp because blur is applied only to a separate glass layer.\n * No external packages, background image duplication, or SVG filter dependency.\n *\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight auto\n * @framerIntrinsicWidth 555\n * @framerIntrinsicHeight 56\n */export default function LiquidGlassEyebrow(props){const{text=\"A LITTLE LOOK AT A BIG BEGINNING\",font=defaultFont,textColor=\"#FFFFFF\",tint=\"#FFFFFF\",tintOpacity=.1,blur=14,saturation=1.6,highlight=.8,shadow=.18,radius=999,paddingX=28,paddingY=15,trackLight=true,style}=props;const handlePointerMove=event=>{if(!trackLight||event.pointerType===\"touch\")return;const element=event.currentTarget;const bounds=element.getBoundingClientRect();if(!bounds.width||!bounds.height)return;element.style.setProperty(\"--glass-x\",`${(event.clientX-bounds.left)/bounds.width*100}%`);element.style.setProperty(\"--glass-y\",`${(event.clientY-bounds.top)/bounds.height*100}%`);};const resetLight=event=>{event.currentTarget.style.setProperty(\"--glass-x\",\"25%\");event.currentTarget.style.setProperty(\"--glass-y\",\"0%\");};const layer={position:\"absolute\",inset:0,borderRadius:\"inherit\",pointerEvents:\"none\"};return /*#__PURE__*/_jsxs(\"div\",{onPointerMove:handlePointerMove,onPointerLeave:resetLight,style:{position:\"relative\",display:\"inline-flex\",alignItems:\"center\",justifyContent:\"center\",width:\"max-content\",maxWidth:\"100%\",minWidth:0,boxSizing:\"border-box\",padding:`${paddingY}px ${paddingX}px`,borderRadius:radius,background:\"transparent\",// Keep overflow visible so the glass can sample its surroundings.\noverflow:\"visible\",...style},children:[/*#__PURE__*/_jsx(\"span\",{\"aria-hidden\":\"true\",style:{...layer,// The filter must be on this layer, not the text or parent.\nbackdropFilter:`blur(${blur}px) saturate(${saturation})`,WebkitBackdropFilter:`blur(${blur}px) saturate(${saturation})`,boxShadow:`0 8px 28px rgba(15, 45, 65, ${shadow}), inset 0 1px 1px rgba(255,255,255,${highlight*.9}), inset 0 -1px 2px rgba(255,255,255,${highlight*.35})`}}),/*#__PURE__*/_jsx(\"span\",{\"aria-hidden\":\"true\",style:{...layer,background:tint,opacity:tintOpacity}}),/*#__PURE__*/_jsx(\"span\",{\"aria-hidden\":\"true\",style:{...layer,// Broad curved reflections create a glassy lens appearance.\nbackground:`radial-gradient(ellipse at var(--glass-x, 25%) var(--glass-y, 0%), rgba(255,255,255,${highlight*.36}) 0%, rgba(255,255,255,0) 65%), linear-gradient(125deg, rgba(255,255,255,${highlight*.14}) 0%, rgba(255,255,255,0) 42%, rgba(255,255,255,${highlight*.04}) 68%, rgba(255,255,255,${highlight*.2}) 100%)`}}),/*#__PURE__*/_jsx(\"span\",{\"aria-hidden\":\"true\",style:{...layer,boxSizing:\"border-box\",// A directional rim instead of a flat white outline.\npadding:\"1px\",background:`linear-gradient(145deg, rgba(255,255,255,${highlight}) 0%, rgba(255,255,255,${highlight*.18}) 36%, rgba(255,255,255,${highlight*.1}) 56%, rgba(255,255,255,${highlight*.75}) 100%)`,WebkitMask:\"linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0)\",WebkitMaskComposite:\"xor\",mask:\"linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0)\",maskComposite:\"exclude\"}}),/*#__PURE__*/_jsx(\"span\",{style:{...defaultFont,...font,position:\"relative\",display:\"block\",minWidth:0,maxWidth:\"100%\",color:textColor,textAlign:\"center\",whiteSpace:\"normal\",overflowWrap:\"anywhere\",textShadow:\"0 1px 2px rgba(10,40,60,0.10)\"},children:text})]});}addPropertyControls(LiquidGlassEyebrow,{text:{type:ControlType.String,title:\"Text\",defaultValue:\"A LITTLE LOOK AT A BIG BEGINNING\"},font:{type:ControlType.Font,title:\"Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:defaultFont},textColor:{type:ControlType.Color,title:\"Text Color\",defaultValue:\"#FFFFFF\"},tint:{type:ControlType.Color,title:\"Glass Tint\",defaultValue:\"#FFFFFF\"},tintOpacity:{type:ControlType.Number,title:\"Tint Opacity\",defaultValue:.1,min:0,max:1,step:.01,description:\"Lower values make the background more visible.\"},blur:{type:ControlType.Number,title:\"Blur\",defaultValue:14,min:0,max:40,step:1,unit:\"px\"},saturation:{type:ControlType.Number,title:\"Saturation\",defaultValue:1.6,min:0,max:3,step:.1},highlight:{type:ControlType.Number,title:\"Highlights\",defaultValue:.8,min:0,max:1,step:.05},shadow:{type:ControlType.Number,title:\"Shadow\",defaultValue:.18,min:0,max:.5,step:.01},radius:{type:ControlType.Number,title:\"Radius\",defaultValue:999,min:0,max:999,step:1,unit:\"px\"},paddingX:{type:ControlType.Number,title:\"Padding X\",defaultValue:28,min:0,max:80,step:1,unit:\"px\"},paddingY:{type:ControlType.Number,title:\"Padding Y\",defaultValue:15,min:0,max:60,step:1,unit:\"px\"},trackLight:{type:ControlType.Boolean,title:\"Follow Light\",defaultValue:true,description:\"Reflection follows the pointer; no continuous animation.\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"LiquidGlassEyebrow\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"56\",\"framerSupportedLayoutHeight\":\"auto\",\"framerSupportedLayoutWidth\":\"any\",\"framerIntrinsicWidth\":\"555\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Eyebrow.map"],"mappings":"oKAUG,SAAwB,EAAmB,EAAM,CAAC,GAAK,CAAC,OAAK,mCAA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