{"version":3,"file":"Contained_Partner_Logo.Bxey5CmD.mjs","names":["useMemo"],"sources":["https:/framerusercontent.com/modules/V8ySvDMM6cv3UeCNzpzo/23nXhENJT39805NrDBjB/Contained_Partner_Logo.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useMemo}from\"react\";/**\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n */export default function ContainedPartnerLogo(props){const{imageUrl=\"https://framerusercontent.com/images/GfGkADagM4KEibNcIiRUWlfrR0.jpg\",altText}=props;const resolvedAlt=useMemo(()=>altText||\"\",[altText]);const scaleFactor=useMemo(()=>{const normalizedAlt=(altText||\"\").trim().toLowerCase();const isAut=normalizedAlt.includes(\"auckland university of technology\")||normalizedAlt.includes(\"aut\");if(isAut||normalizedAlt===\"icon construction\"){return .82;}if(normalizedAlt===\"deloitte\"){return .82;}if(normalizedAlt===\"auckland council\"){return 1.3;}if(normalizedAlt===\"university of auckland\"){return 1.45;}return 1;},[altText]);return /*#__PURE__*/_jsx(\"img\",{src:imageUrl,alt:resolvedAlt,style:{position:\"relative\",display:\"block\",width:\"100%\",height:\"100%\",maxWidth:\"100%\",maxHeight:\"100%\",objectFit:\"contain\",objectPosition:\"center\",background:\"transparent\",transform:`scale(${scaleFactor})`,transformOrigin:\"center center\"}});}addPropertyControls(ContainedPartnerLogo,{imageUrl:{type:ControlType.String,title:\"Image URL\",defaultValue:\"https://framerusercontent.com/images/GfGkADagM4KEibNcIiRUWlfrR0.jpg\",placeholder:\"https://example.com/logo.png\"},altText:{type:ControlType.String,title:\"Alt Text\",defaultValue:\"Partner logo\",placeholder:\"Describe the logo\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ContainedPartnerLogo\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Contained_Partner_Logo.map"],"mappings":"0KAGG,SAAwB,EAAqB,EAAM,CAAC,GAAK,CAAC,WAAS,sEAAsE,WAAS,EAAie,OAAoB,EAAK,MAAM,CAAC,IAAI,EAAS,IAAtfA,MAAY,GAAS,GAAG,CAAC,CAAO,CAAoe,EAAE,MAAM,CAAC,SAAS,WAAW,QAAQ,QAAQ,MAAM,OAAO,OAAO,OAAO,SAAS,OAAO,UAAU,OAAO,UAAU,UAAU,eAAe,SAAS,WAAW,cAAc,UAAU,SAAvoBA,MAAY,CAAC,IAAM,GAAe,GAAS,GAAA,CAAI,KAAK,CAAC,CAAC,YAAY,EAA4T,OAA9S,EAAc,SAAS,mCAAmC,GAAG,EAAc,SAAS,KAAK,GAAY,IAAgB,qBAAoC,IAAgB,WAAmB,IAAQ,IAAgB,mBAA2B,IAAQ,IAAgB,yBAAiC,KAAa,CAAE,EAAE,CAAC,CAAO,CAAyQ,EAAE,GAAG,gBAAgB,eAAe,CAAC,CAAC,CAAE,iBAH13B,IAAoD,IAA2B,EAG4yB,EAAoB,EAAqB,CAAC,SAAS,CAAC,KAAK,EAAY,OAAO,MAAM,YAAY,aAAa,sEAAsE,YAAY,8BAA8B,EAAE,QAAQ,CAAC,KAAK,EAAY,OAAO,MAAM,WAAW,aAAa,eAAe,YAAY,mBAAmB,CAAC,CAAC"}