import{c as F}from"./chunk-LKYWGEAC.js";import{a as D}from"./chunk-RB23SGQE.js";import"./chunk-AI2T33KF.js";import"./chunk-B47LJMRU.js";import{b as I}from"./chunk-6UA5PZOR.js";import"./chunk-YLQ2GSBQ.js";import"./chunk-EHV5JSNA.js";import"./chunk-PB7QIE4O.js";import"./chunk-S2V6IA2C.js";import"./chunk-2UBKXA5Q.js";import"./chunk-SPDRGHFO.js";import"./chunk-ZBEJAM5I.js";import"./chunk-N2PQ6HLD.js";import"./chunk-RYOTKPRJ.js";import"./chunk-ORQ34GH7.js";import"./chunk-DZT3OJCU.js";import"./chunk-7SMWJ3GR.js";import"./chunk-P2NRYBYH.js";import"./chunk-M7AISLOK.js";import"./chunk-URVBFPQY.js";import"./chunk-OP2OM2NB.js";import"./chunk-YFKO2YMD.js";import"./chunk-KMX5PVQZ.js";import"./chunk-H7ZIYAN2.js";import{c as f}from"./chunk-D5M6Y5VI.js";import"./chunk-PFQHIQUX.js";import"./chunk-3CODJNWE.js";import"./chunk-HJB5ICMZ.js";import"./chunk-QU4JA34D.js";import"./chunk-TAYSHZWB.js";import"./chunk-GDIYNKGM.js";import"./chunk-L4FY67IO.js";import"./chunk-7WODUV7D.js";import{a as g}from"./chunk-35AQP5ZJ.js";import"./chunk-WWV256XH.js";import"./chunk-EP2DJHVF.js";import"./chunk-S3JIFK7T.js";import"./chunk-EQ67X7AF.js";import"./chunk-LMRN7T6T.js";import"./chunk-IVW2C32D.js";import"./chunk-KANMOB5U.js";import"./chunk-D3YCQTGW.js";import"./chunk-OBT56KUD.js";import{m as w}from"./chunk-NMCXU7N6.js";import{$b as y,Ba as C,Bc as m,Jc as v,Nb as a,Rb as h,Uc as x,Vc as T,Yb as r,_b as b,ac as S,bc as c,cc as l,dc as p,oc as _,sb as s,tb as d}from"./chunk-IYD54RT7.js";import"./chunk-RVFOIZLJ.js";function E(t,e){t&1&&m(0," No data available for the selected branch and CI Set ")}function P(t,e){if(t&1&&p(0,"osee-scripts-pass-fail-chart",3),t&2){let i=e.$implicit;h("stats",i)}}function j(t,e){if(t&1&&(c(0,"h2",1),m(1,"Test Scripts Pass/Fail"),l(),c(2,"div",2),y(3,P,1,1,"osee-scripts-pass-fail-chart",3,b),l()),t&2){let i=_();s(3),S(i)}}function B(t,e){if(t&1&&a(0,E,1,0)(1,j,5,0),t&2){let i=e;r(0,i.length===0?0:-1),s(),r(1,i.length>0?1:-1)}}function M(t,e){t&1&&m(0," Loading... ")}function k(t,e){if(t&1&&(c(0,"div",0),a(1,B,2,2),x(2,"async"),a(3,M,1,0),l()),t&2){let i,o=_();s(),r(1,(i=T(2,1,o.subsystemStats))?1:3,i)}}var G=(()=>{let e=class e{constructor(o,n){this.uiService=o,this.dashboardService=n,this.subsystemStats=this.dashboardService.subsystemStats,this.branchId=f(this.uiService.branchId),this.branchType=f(this.uiService.branchType)}};e.\u0275fac=function(n){return new(n||e)(d(g),d(D))},e.\u0275cmp=C({type:e,selectors:[["osee-subsystems"]],standalone:!0,features:[v],decls:2,vars:1,consts:[[1,"tw-px-4","tw-pb-4"],[1,"tw-font-bold"],[1,"tw-flex","tw-flex-wrap","tw-gap-8"],[3,"stats"]],template:function(n,u){n&1&&(p(0,"osee-ci-dashboard-controls"),a(1,k,4,3,"div",0)),n&2&&(s(),r(1,u.branchId()&&u.branchType()?1:-1))},dependencies:[w,I,F],encapsulation:2});let t=e;return t})();export{G as default};
