{"version":3,"file":"VisionMapLocationData.CSlqTnL0.mjs","names":["__esmMin","init_ssg_sandbox_shims","init_npm_react_18_3_1","window","ce","init_jsx_runtime","init_framer_B1b760uK","addPropertyControls","ControlType","writeRecord","id","root","registry","dataKey","value","VisionMapLocationData","props","slug","name","region","country","status","latitude","longitude","image","link","init_VisionMapLocationData"],"sources":["https:/framerusercontent.com/modules/nDoQJyS7wscLgxoINhlC/BGUeK2ZbZRrueqZ9xKfq/VisionMapLocationData.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect}from\"react\";import{addPropertyControls,ControlType}from\"framer\";function writeRecord(dataKey,id,value){if(typeof window===\"undefined\"||!id)return()=>{};const root=window.__viveVisionMapRegistry||={};const registry=root[dataKey]||={locations:{},impacts:{},stories:{}};registry.locations[id]=value;window.dispatchEvent(new CustomEvent(\"vive-vision-map-data\",{detail:{dataKey}}));return()=>{if(registry.locations[id]===value)delete registry.locations[id];window.dispatchEvent(new CustomEvent(\"vive-vision-map-data\",{detail:{dataKey}}));};}/**\n * @framerIntrinsicWidth 1\n * @framerIntrinsicHeight 1\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function VisionMapLocationData(props){const{registryKey:dataKey=\"vision-page\",slug=\"\",name=\"\",region=\"\",country=\"\",status=\"\",latitude=0,longitude=0,image,link=\"\"}=props;useEffect(()=>writeRecord(dataKey,slug,{slug,name,region,country,status,latitude,longitude,image,link}),[dataKey,slug,name,region,country,status,latitude,longitude,image,link]);return /*#__PURE__*/_jsx(\"span\",{\"aria-hidden\":\"true\",style:{display:\"none\"}});}addPropertyControls(VisionMapLocationData,{// Control key renamed from dataKey (2026-10-31): the old key still carried auto-translated de/es/it values, which\n// preventLocalization hides but doesn't clear. A new key starts with none. Keep the new name.\nregistryKey:{type:ControlType.String,preventLocalization:true,title:\"Data Key\",defaultValue:\"vision-page\"},slug:{type:ControlType.String,preventLocalization:true,title:\"Slug\",defaultValue:\"\"},name:{type:ControlType.String,title:\"Name\",defaultValue:\"\"},region:{type:ControlType.String,title:\"Region\",defaultValue:\"\"},country:{type:ControlType.String,title:\"Country\",defaultValue:\"\"},status:{type:ControlType.String,preventLocalization:true,title:\"Status\",defaultValue:\"\"},latitude:{type:ControlType.Number,title:\"Latitude\",defaultValue:0,min:-90,max:90,step:1e-4},longitude:{type:ControlType.Number,title:\"Longitude\",defaultValue:0,min:-180,max:180,step:1e-4},image:{type:ControlType.ResponsiveImage,title:\"Image\"},link:{type:ControlType.Link,title:\"Campus Link\",description:\"Link to this city's Locations page.\"}});VisionMapLocationData.displayName=\"<vision_map_location_data>\";\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"VisionMapLocationData\",\"slots\":[],\"annotations\":{\"framerIntrinsicWidth\":\"1\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerContractVersion\":\"1\",\"framerIntrinsicHeight\":\"1\",\"framerSupportedLayoutHeight\":\"fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./VisionMapLocationData.map"],"mappings":"A,wLAA4H,SAASS,EAAY,EAAQ,EAAG,EAAM,CAAC,GAAUN,IAAS,QAAa,CAACO,EAAG,UAAU,CAAC,EAAE,IAAMC,EAAK,EAAO,0BAA0B,CAAC,EAAQC,EAAS,EAAKC,KAAW,CAAC,UAAU,CAAC,EAAE,QAAQ,CAAC,EAAE,QAAQ,CAAC,CAAC,EAAgH,MAA9G,GAAS,UAAUH,GAAII,EAAMX,EAAO,cAAc,IAAI,YAAY,uBAAuB,CAAC,OAAO,CAAC,SAAO,CAAC,CAAC,CAAC,MAAY,CAAIS,EAAS,UAAUF,KAAMI,GAAM,OAAOF,EAAS,UAAUF,GAAIP,EAAO,cAAc,IAAI,YAAY,uBAAuB,CAAC,OAAO,CAAC,SAAO,CAAC,CAAC,CAAC,CAAE,CAAE,CAKhlB,SAAwBY,EAAsB,EAAM,CAAC,GAAK,CAAC,YAAYF,E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