System.register(["./rolldown-runtime-legacy-Djb2rrqm.js","./index-legacy-Bbj6l0yZ.js","./index.modern-legacy-DpYSJnkR.js","./MarkerIcon-Bc3X9WQk-legacy-BQBpoiOY.js","./context-BrD4AniQ-legacy-txE7vzzL.js","./Cluster-BHQcO6iC-legacy-C89PhZHb.js"],function(e,r){var t,o,i,n,l,s,c,a;return e("default",function({clusters:e,colors:r,clusterIcon:t,onClick:o,doesSuperclusterContainActiveMarker:u}){n();let{activeMarker:d,zoom:p}=s(),m=e=>()=>{e.properties.disableClick||null==o||o(e)};return null==e?void 0:e.map((e,o)=>{let n=e.geometry.coordinates[0],s=e.geometry.coordinates[1];return(0,a.jsxs)(i,{position:{lat:s,lng:n},onClick:m(e),children:[e.properties.cluster&&(0,a.jsx)(c,{colors:r,icon:t,isActive:u(e.properties.cluster_id)}),!e.properties.cluster&&(0,a.jsx)("div",{className:"\n  group/marker cursor-pointer rounded-full\n  relative h-7 w-7 flex items-center justify-center\n  text-base-white ring-1 ring-inset\n  transition-colors\n\n  bg-[var(--background,theme(colors.base.white))]\n  ring-[var(--fill,theme(colors.primary.100))]\n\n  hover:bg-[var(--fill,theme(colors.primary.100))]\n\n  data-[is-zoomed-out=true]:bg-[var(--fill,theme(colors.primary.100))]\n  data-[is-zoomed-out=true]:h-4\n  data-[is-zoomed-out=true]:w-4\n\n  data-[is-active=true]:bg-[var(--fill,theme(colors.primary.100))]\n",style:e.properties.defaultColor?{}:{"--background":null==r?void 0:r.background,"--fill":null==r?void 0:r.fill},"data-is-cluster":!!e.properties.cluster,"data-is-zoomed-out":p-1<11,"data-is-active":(null==d?void 0:d.id)===e.properties.id,children:(0,a.jsx)(l,{icon:e.properties.icon})})]},`map-marker-${n}-${s}-${o}`)})}),{setters:[function(e){e.a},function(e){t=e.St,o=e.q},function(e){i=e.n,n=e.s},function(e){e.n,l=e.t},function(e){s=e.n},function(e){c=e.t}],execute:function(){t(),a=o()}}});
//# sourceMappingURL=Google-CXGCn-oJ-legacy-ByPNiQ7u.js.map