{"version":3,"file":"HeroPhoto360.TML2XO52.mjs","names":[],"sources":["https:/framerusercontent.com/modules/SlkGXKGYex6mT4K3mmX1/tF4gSjhvifpHecAz2yNL/HeroPhoto360.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";export function HeroPhoto360({breakpoint=\"desktop\",image=\"\",locationLabel=\"Toronto \\xb7 2026\",quote=\"“We see fifteen thousand people who needed someone to take it seriously.”\",photoHeight=540,topOffset=72,imagePosX=50,imagePosY=50,imageFit=\"cover\",showCaption=true,bgColor=\"#F5F0E8\",quoteSize=24,quoteColor=\"#FDFAF6\",gradientOpacity=.42,overlayColor=\"rgba(0,0,0,0)\",lowerBlur=0,overlayStart=50}){const isSmall=breakpoint===\"mobile\";const hasImage=typeof image===\"string\"&&image.trim().length>0;const h=typeof photoHeight===\"number\"&&photoHeight>0?photoHeight:540;const top=typeof topOffset===\"number\"&&topOffset>=0?topOffset:72;const sidePadding=isSmall?12:56;const responsiveQuoteSize=isSmall?Math.max(16,quoteSize-6):quoteSize;return /*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",backgroundColor:bgColor,paddingTop:top,paddingRight:sidePadding,paddingBottom:40,paddingLeft:sidePadding,boxSizing:\"border-box\",fontFamily:\"sans-serif\"},children:/*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\",width:\"100%\",height:h,minHeight:h,overflow:\"hidden\",borderRadius:isSmall?4:6,backgroundColor:\"#DCD0BE\"},children:[hasImage?/*#__PURE__*/_jsx(\"img\",{src:image,alt:\"\",style:{position:\"absolute\",top:0,left:0,width:\"100%\",height:\"100%\",objectFit:imageFit,objectPosition:`${imagePosX}% ${imagePosY}%`,display:\"block\"}}):/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",top:0,left:0,width:\"100%\",height:\"100%\",backgroundImage:\"repeating-linear-gradient(135deg, #E8DFD1 0px 18px, #DCD0BE 18px 36px)\"}}),/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",top:0,left:0,right:0,bottom:0,background:`linear-gradient(to bottom, transparent ${overlayStart}%, rgba(31,35,48,${gradientOpacity}) 100%)`}}),overlayColor&&overlayColor!==\"rgba(0,0,0,0)\"&&/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",top:0,left:0,right:0,bottom:0,background:overlayColor}}),lowerBlur>0&&/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",top:0,left:0,right:0,bottom:0,backdropFilter:`blur(${lowerBlur}px)`,WebkitBackdropFilter:`blur(${lowerBlur}px)`,maskImage:`linear-gradient(to bottom, transparent ${overlayStart}%, black ${Math.min(overlayStart+20,100)}%)`,WebkitMaskImage:`linear-gradient(to bottom, transparent ${overlayStart}%, black ${Math.min(overlayStart+20,100)}%)`}}),!hasImage&&/*#__PURE__*/_jsx(\"p\",{style:{position:\"absolute\",top:24,left:28,margin:0,fontFamily:\"'JetBrains Mono', monospace\",fontSize:11,letterSpacing:\"0.16em\",textTransform:\"uppercase\",color:\"rgba(31,35,48,0.55)\"},children:\"◐ hero photograph\"}),showCaption&&/*#__PURE__*/_jsxs(\"div\",{style:{position:\"absolute\",left:isSmall?16:32,right:isSmall?16:32,bottom:isSmall?20:28},children:[/*#__PURE__*/_jsx(\"p\",{style:{margin:\"0 0 8px\",fontFamily:\"'JetBrains Mono', monospace\",fontSize:11,letterSpacing:\"0.16em\",textTransform:\"uppercase\",color:\"rgba(253,250,246,0.75)\"},children:locationLabel}),/*#__PURE__*/_jsx(\"p\",{style:{margin:0,fontFamily:\"'Instrument Serif', Georgia, serif\",fontWeight:400,fontSize:responsiveQuoteSize,lineHeight:1.25,letterSpacing:\"-0.01em\",color:quoteColor,maxWidth:isSmall?\"100%\":500},children:quote})]})]})});}addPropertyControls(HeroPhoto360,{breakpoint:{type:ControlType.Enum,title:\"Breakpoint\",options:[\"desktop\",\"tablet\",\"mobile\"],optionTitles:[\"Desktop\",\"Tablet\",\"Mobile\"],defaultValue:\"desktop\"},image:{type:ControlType.Image,title:\"Photo\"},photoHeight:{type:ControlType.Number,title:\"Height\",defaultValue:540,min:200,max:900,step:10,displayStepper:true},topOffset:{type:ControlType.Number,title:\"Top Offset (nav clearance)\",defaultValue:72,min:0,max:200,step:4,displayStepper:true},imageFit:{type:ControlType.Enum,title:\"Image Fit\",options:[\"cover\",\"contain\"],optionTitles:[\"Cover\",\"Contain\"],defaultValue:\"cover\"},imagePosX:{type:ControlType.Number,title:\"Image X %\",defaultValue:50,min:0,max:100,step:1,displayStepper:true},imagePosY:{type:ControlType.Number,title:\"Image Y %\",defaultValue:50,min:0,max:100,step:1,displayStepper:true},gradientOpacity:{type:ControlType.Number,title:\"Gradient Opacity\",defaultValue:.42,min:0,max:1,step:.02,displayStepper:true},overlayStart:{type:ControlType.Number,title:\"Overlay Start %\",defaultValue:50,min:0,max:100,step:5,displayStepper:true},overlayColor:{type:ControlType.Color,title:\"Color Overlay\",defaultValue:\"rgba(0,0,0,0)\"},lowerBlur:{type:ControlType.Number,title:\"Lower Blur (px)\",defaultValue:0,min:0,max:20,step:1,displayStepper:true},showCaption:{type:ControlType.Boolean,title:\"Show Caption\",defaultValue:true},quoteSize:{type:ControlType.Number,title:\"Quote Size\",defaultValue:24,min:14,max:48,step:1,displayStepper:true,hidden:props=>!props.showCaption},quoteColor:{type:ControlType.Color,title:\"Quote Color\",defaultValue:\"#FDFAF6\",hidden:props=>!props.showCaption},locationLabel:{type:ControlType.String,title:\"Location\",defaultValue:\"Toronto \\xb7 2026\",hidden:props=>!props.showCaption},quote:{type:ControlType.String,title:\"Quote\",displayTextArea:true,defaultValue:\"“We see fifteen thousand people who needed someone to take it seriously.”\",hidden:props=>!props.showCaption},bgColor:{type:ControlType.Color,title:\"Section BG\",defaultValue:\"#F5F0E8\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"HeroPhoto360\":{\"type\":\"reactComponent\",\"name\":\"HeroPhoto360\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}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