(function(){try{var g=typeof window!=="undefined"?window:typeof global!=="undefined"?global:typeof self!=="undefined"?self:{};g["__faroBundleId_hub-ui"]="1776264056705-b139a53649"}catch(l){}})();import{j as e}from"./c2heove9.js";import{S as u}from"./do88pojc.js";import{u as m}from"./d5pgaylm.js";import{u as b}from"./exrsql4t.js";import{u as i}from"./u1wxccqa.js";import{Z as n,ac as s,T as d}from"./la47cm74.js";import{E as t}from"./m5s21b8a.js";function A(){return e.jsxs(n,{sx:{my:2},color:"premium",icon:e.jsx(u,{}),children:[e.jsx(s,{children:"Docker Build Cloud is now available!"}),e.jsxs(d,{variant:"body1",children:["Our new cloud-based build accelerates builds with native multi-arch support and a shared team cache."," ",e.jsx(t,{href:"https://docs.docker.com/build/cloud/",children:"Try it for free"}),"."]})]})}function h(){return i("BuildCloudHubAnnouncements")?e.jsxs(n,{color:"premium",icon:e.jsx(u,{}),children:[e.jsx(s,{children:"Build faster with Docker Build Cloud! "}),e.jsxs(d,{variant:"body1",children:["Make fast, multi-platform builds leveraging a shared team cache with Docker Build Cloud! Try it for free today."," ",e.jsx(t,{href:"https://docs.docker.com/build/cloud/",children:"Learn more"}),"."]})]}):null}function g({namespace:o,name:r}){const a=i("BuildCloudHubAnnouncements"),c=b(o,"autobuild"),{data:l}=m({namespace:o||"--disabled--",repository:r||"--disabled--"},{enabled:a&&c&&!!o&&!!r});return l&&l.objects.length>0?e.jsx(h,{}):null}export{h as B,A as a,g as b};