{"version":3,"file":"ProfilePhotoCard.DQRNSxGS.mjs","names":[],"sources":["https:/framerusercontent.com/modules/8Bi6Zp3zpvZgGfQOldis/zV9oJfvFaFwnX5FVcjOx/ProfilePhotoCard.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useEffect}from\"react\";import{addPropertyControls,ControlType}from\"framer\";const PERSON_DIRECTORY={\"jay-frank\":{slug:\"jay-frank\",name:\"Jay Frank\",jobTitle:\"Founder & CEO\",linkedin:\"https://www.linkedin.com/in/jayfranksm/\",knowsAbout:[\"Capital markets\",\"1031 Exchange\",\"Alternative investments\",\"Private wealth distribution\",\"Real estate investment\"]},\"steve-rokozewski\":{slug:\"steve-rokozewski\",name:\"Stephen Rokoszewski\",jobTitle:\"Partner & COO\",linkedin:\"https://www.linkedin.com/in/stephenrokoszewski/\",knowsAbout:[\"Operations\",\"Technology\",\"Distribution infrastructure\",\"Investor servicing\"]},\"kamil-poltorak\":{slug:\"kamil-poltorak\",name:\"Kamil Poltorak\",jobTitle:\"Managing Director, Real Estate\",linkedin:\"https://www.linkedin.com/in/kamilpoltorak/\",knowsAbout:[\"Financial modeling\",\"Real estate underwriting and valuation\",\"REIT portfolio management\",\"Structured finance\"]},\"daniela-ochoa\":{slug:\"daniela-ochoa\",name:\"Daniela Ochoa\",jobTitle:\"Associate, Operations\",linkedin:\"https://www.linkedin.com/in/daniela-ochoa-ochoa-2235198b/\",knowsAbout:[\"Operational integrity\",\"Process optimization\",\"Strategic planning\",\"Risk mitigation\"]},\"nicole-castro\":{slug:\"nicole-castro\",name:\"Nicole Castro\",jobTitle:\"Vice President, Marketing\",linkedin:\"https://www.linkedin.com/in/nicole-castro-2410b7168/\",knowsAbout:[\"Brand strategy\",\"Marketing\",\"Communications\"]}};function detectPersonFromPath(){if(typeof window===\"undefined\")return null;const path=window.location.pathname.toLowerCase();const match=path.match(/\\/team\\/([^/]+)/);if(!match)return null;const slug=match[1];return PERSON_DIRECTORY[slug]||null;}export default function ProfilePhotoCard({photo,linkedInUrl=\"https://linkedin.com\"}){useEffect(()=>{if(typeof document===\"undefined\")return;const person=detectPersonFromPath();if(!person)return;const id=`sb-person-schema-${person.slug}`;if(document.getElementById(id))return;const payload={\"@context\":\"https://schema.org\",\"@type\":\"Person\",name:person.name,jobTitle:person.jobTitle,worksFor:{\"@type\":\"Organization\",name:\"Sightbridge Capital Partners\",url:\"https://sightbridge.com\"},url:`https://sightbridge.com/team/${person.slug}`,sameAs:[person.linkedin],knowsAbout:person.knowsAbout};const script=document.createElement(\"script\");script.type=\"application/ld+json\";script.id=id;script.textContent=JSON.stringify(payload);document.head.appendChild(script);return()=>{document.getElementById(id)?.remove();};},[]);return /*#__PURE__*/_jsxs(\"div\",{style:{width:\"100%\",height:\"460px\",borderRadius:\"12px\",overflow:\"hidden\",position:\"relative\",backgroundColor:\"rgb(30,30,36)\",flexShrink:0},children:[photo?/*#__PURE__*/_jsx(\"img\",{src:photo,alt:\"\",style:{position:\"absolute\",inset:0,width:\"100%\",height:\"100%\",objectFit:\"cover\",objectPosition:\"center top\",display:\"block\",filter:\"grayscale(100%) contrast(1.32) brightness(0.97)\",WebkitFilter:\"grayscale(100%) contrast(1.32) brightness(0.97)\"}}):/*#__PURE__*/_jsxs(\"div\",{style:{position:\"absolute\",inset:0,display:\"flex\",flexDirection:\"column\",alignItems:\"center\",justifyContent:\"center\",backgroundColor:\"rgb(30,30,36)\",backgroundImage:\"repeating-linear-gradient(45deg, rgba(255,255,255,0.025) 0px, rgba(255,255,255,0.025) 8px, transparent 8px, transparent 16px)\",gap:14,padding:\"0 24px\"},children:[/*#__PURE__*/_jsxs(\"svg\",{width:\"56\",height:\"56\",viewBox:\"0 0 64 64\",fill:\"none\",children:[/*#__PURE__*/_jsx(\"circle\",{cx:\"32\",cy:\"24\",r:\"14\",fill:\"rgba(255,255,255,0.22)\"}),/*#__PURE__*/_jsx(\"ellipse\",{cx:\"32\",cy:\"58\",rx:\"24\",ry:\"16\",fill:\"rgba(255,255,255,0.22)\"})]}),/*#__PURE__*/_jsx(\"div\",{style:{fontFamily:\"Manrope, sans-serif\",fontSize:\"13px\",fontWeight:600,letterSpacing:\"0.06em\",textTransform:\"uppercase\",color:\"rgba(255,255,255,0.65)\",textAlign:\"center\"},children:\"Upload Photo\"}),/*#__PURE__*/_jsx(\"div\",{style:{fontFamily:\"'Libre Franklin', sans-serif\",fontSize:\"12px\",color:\"rgba(255,255,255,0.45)\",textAlign:\"center\",lineHeight:1.4,maxWidth:220},children:\"Select this card and use the Headshot Photo control in the right-side properties panel.\"})]}),/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",bottom:0,left:0,right:0,height:\"140px\",background:\"linear-gradient(to bottom, transparent, rgba(20,20,26,0.88))\",pointerEvents:\"none\",zIndex:1}}),/*#__PURE__*/_jsxs(\"a\",{href:linkedInUrl||\"#\",target:\"_blank\",rel:\"noopener noreferrer\",style:{position:\"absolute\",bottom:\"16px\",left:\"16px\",right:\"16px\",zIndex:2,display:\"flex\",flexDirection:\"row\",alignItems:\"center\",justifyContent:\"center\",gap:\"8px\",backgroundColor:\"rgb(30,30,36)\",borderRadius:\"8px\",padding:\"10px 16px\",textDecoration:\"none\",cursor:\"pointer\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{width:\"22px\",height:\"22px\",borderRadius:\"3px\",backgroundColor:\"rgb(255,255,255)\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",flexShrink:0},children:/*#__PURE__*/_jsx(\"span\",{style:{fontFamily:\"Manrope, sans-serif\",fontWeight:700,fontSize:\"13px\",color:\"rgb(30,30,36)\",lineHeight:1},children:\"in\"})}),/*#__PURE__*/_jsx(\"span\",{style:{fontFamily:\"Manrope, sans-serif\",fontWeight:500,fontSize:\"15px\",color:\"rgb(255,255,255)\",letterSpacing:\"-0.02em\"},children:\"View LinkedIn Profile\"})]})]});}addPropertyControls(ProfilePhotoCard,{photo:{type:ControlType.Image,title:\"Headshot Photo\"},linkedInUrl:{type:ControlType.String,title:\"LinkedIn URL\",defaultValue:\"https://linkedin.com\",placeholder:\"https://linkedin.com/in/...\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ProfilePhotoCard\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ProfilePhotoCard.map"],"mappings":"+LAAi5C,SAAS,GAAsB,CAAC,GAAU,IAAS,OAAY,OAAO,KAAuD,IAAM,EAA7C,EAAO,SAAS,SAAS,aAAa,CAAkB,MAAM,kBAAkB,CAA2C,OAAtC,GAA6C,EAAhB,EAAM,KAAtB,KAA8D,SAAwB,EAAiB,CAAC,QAAM,cAAY,wBAAwB,CAAytB,OAAxtB,MAAc,CAAC,GAAG,OAAO,SAAW,IAAY,OAAO,IAAM,EAAO,GAAsB,CAAC,GAAG,CAAC,EAAO,OAAO,IAAM,EAAG,oBAAoB,EAAO,OAAO,GAAG,SAAS,eAAe,EAAG,CAAC,OAAO,IAAM,EAAQ,CAAC,WAAW,qBAAqB,QAAQ,SAAS,KAAK,EAAO,KAAK,SAAS,EAAO,SAAS,SAAS,CAAC,QAAQ,eAAe,KAAK,+BAA+B,IAAI,0BAA0B,CAAC,IAAI,gCAAgC,EAAO,OAAO,OAAO,CAAC,EAAO,SAAS,CAAC,WAAW,EAAO,WAAW,CAAO,EAAO,SAAS,cAAc,SAAS,CAA6H,MAA5H,GAAO,KAAK,sBAAsB,EAAO,GAAG,EAAG,EAAO,YAAY,KAAK,UAAU,EAAQ,CAAC,SAAS,KAAK,YAAY,EAAO,KAAW,CAAC,SAAS,eAAe,EAAG,EAAE,QAAQ,GAAK,EAAE,CAAC,CAAqB,EAAM,MAAM,CAAC,MAAM,CAAC,MAAM,OAAO,OAAO,QAAQ,aAAa,OAAO,SAAS,SAAS,SAAS,WAAW,gBAAgB,gBAAgB,WAAW,EAAE,CAAC,SAAS,CAAC,EAAmB,EAAK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