{"version":3,"file":"Contained_Partner_Logo.Dj_ZiPhX.mjs","names":["useMemo","__esmMin","pe","init_npm_react_18_3_1","c","init_jsx_runtime","init_framer_BkYB2Gqq","addPropertyControls","ControlType","ContainedPartnerLogo","props","resolvedAlt","altText","scaleFactor","normalizedAlt","imageUrl","init_Contained_Partner_Logo"],"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":"A,0KAGG,SAAwBS,EAAqB,EAAM,CAAC,GAAK,CAAC,WAAS,sEAAsE,WAASC,EAAYC,EAAYX,MAAYY,GAAS,GAAG,CAACA,CAAO,CAAC,EAAQC,EAAYb,MAAY,CAAC,IAAMc,GAAeF,GAAS,GAAA,CAAI,KAAK,CAAC,CAAC,YAAY,EAA4T,OAA9SE,EAAc,SAAS,mCAAmC,GAAGA,EAAc,SAAS,KAAK,GAAYA,IAAgB,qBAAoCA,IAAgB,WAAmB,IAAQA,IAAgB,mBAA2B,IAAQA,IAAgB,yBAAiC,KAAa,CAAE,EAAE,CAACF,CAAO,CAAC,EAAE,MAAoB,gBAAK,MAAM,CAAC,IAAIG,EAAS,IAAIJ,EAAY,MAAM,CAAC,SAAS,WAAW,QAAQ,QAAQ,MAAM,OAAO,OAAO,OAAO,SAAS,OAAO,UAAU,OAAO,UAAU,UAAU,eAAe,SAAS,WAAW,cAAc,UAAU,SAASE,EAAY,GAAG,gBAAgB,eAAe,CAAC,CAAC,CAAE,C,0CAACN,EAAoBE,EAAqB,CAAC,SAAS,CAAC,KAAKD,EAAY,OAAO,MAAM,YAAY,aAAa,sEAAsE,YAAY,8BAA8B,EAAE,QAAQ,CAAC,KAAKA,EAAY,OAAO,MAAM,WAAW,aAAa,eAAe,YAAY,mBAAmB,CAAC,CAAC,C"}