System.register(["./rolldown-runtime-legacy-Djb2rrqm.js","./index-legacy-Bbj6l0yZ.js","./MarkerIcon-Bc3X9WQk-legacy-BQBpoiOY.js","./context-BrD4AniQ-legacy-txE7vzzL.js"],function(e,r){var n,t,o,i,a,l,s,c,u,m;return e("t",function({isActive:e=!1,colors:r,icon:n}){let{zoom:t,mapProvider:o}=l(),d=(0,s.useMemo)(()=>"google"===o.name?t-1<11:t<10,[t,o]);return(0,c.jsxs)("div",{className:u,style:{"--background":null==r?void 0:r.background,"--fill":null==r?void 0:r.fill},children:[(0,c.jsx)("div",{className:i,"data-is-zoomed-out":d,"data-is-active":e,children:(0,c.jsx)(a,{icon:n})}),!d&&(0,c.jsxs)(c.Fragment,{children:[(0,c.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 ${m}`}),(0,c.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 ${m}`})]})]})}),{setters:[function(e){n=e.a},function(e){t=e.St,o=e.q},function(e){i=e.n,a=e.t},function(e){l=e.n}],execute:function(){s=n(t(),1),c=o(),u="\n  relative flex\n",m="\n  -ml-6 -z-10 last:-z-20\n"}}});
//# sourceMappingURL=Cluster-BHQcO6iC-legacy-C89PhZHb.js.map