import{a as o,j as e,_ as c,v as d,aw as m,dC as h,x as p}from"./main-tangy-colts-beg.js";import{j as f,w as x,m as u}from"./_applist-tangy-colts-beg-36.js";import{e as N}from"./index-tangy-colts-beg-916.js";import{T as i}from"./index-tangy-colts-beg-131.js";import{T as r}from"./index-tangy-colts-beg-827.js";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(a,t){return this.cache.has(a)?this.cache.get(a):(this.cache.set(a,t),t)}};function I({appColor:a,appIcon:t,appTitle:s,isLoading:l,machineLabel:n}){return o("div",{children:[e(T,{isLoading:l}),o("div",{className:"flex items-center gap-3",children:[e(N,{alt:s,color:a,size:50,src:t}),o("div",{children:[e(i.Text,{className:"m-0 block text-base font-semibold capitalize",children:n||c("Select Event")}),e(i.Text,{type:"secondary",children:s||c("Select App")})]})]})]})}function T({isLoading:a}){const{id:t,type:s}=d(m);return o("div",{className:"mb-2 flex items-center",children:[e(r,{className:"text-xs capitalize",color:x(s)?"volcano":"blue",children:s&&f[s]}),e(r,{className:"min-w-6 text-center font-mono text-xs",children:u(t)}),e(p,{conditions:a,children:e(h,{className:"animate-spin",size:18})})]})}export{I as A,T as N};
