import{b as S}from"./chunk-ZWHK5YDX.js";import"./chunk-WL5LMZZA.js";import{c as C}from"./chunk-ZSNLO3TX.js";import"./chunk-2JONWNYA.js";import"./chunk-FVG4OCAJ.js";import"./chunk-MX3BGMF7.js";import"./chunk-B47LJMRU.js";import"./chunk-TS5XAMXE.js";import"./chunk-EHV5JSNA.js";import"./chunk-5VEBEOBK.js";import"./chunk-S2V6IA2C.js";import"./chunk-QG2WC3H3.js";import"./chunk-6KEUYGBO.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-XXO64O37.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"./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{g as x}from"./chunk-CX23ZL4L.js";import"./chunk-EP2DJHVF.js";import"./chunk-ZVZZ3QVR.js";import"./chunk-EQ67X7AF.js";import"./chunk-LMRN7T6T.js";import"./chunk-KHAMQZND.js";import{c as j,e as T}from"./chunk-KANMOB5U.js";import"./chunk-D3YCQTGW.js";import"./chunk-OBT56KUD.js";import{m as b}from"./chunk-NMCXU7N6.js";import{Ba as u,F as m,Jc as I,Nb as f,Rb as h,Uc as _,Vc as D,Yb as g,dc as v,g as s,ha as y,pa as d,tb as p,u as c,ua as l}from"./chunk-IYD54RT7.js";import"./chunk-RVFOIZLJ.js";var V=(()=>{let e=class e{constructor(t){this._ui=t,this._typeId=new s("")}get typeId(){return this._typeId}set type(t){this._typeId.next(t)}get id(){return this._ui.id}set idValue(t){this._ui.idValue=t}get branchType(){return this._ui.type}set typeValue(t){this._ui.typeValue=t}};e.\u0275fac=function(r){return new(r||e)(l(x))},e.\u0275prov=d({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();function F(i,e){i&1&&v(0,"osee-messaging-types-platform-type-card",0),i&2&&h("typeData",e)}var A=(()=>{let e=class e{constructor(t,r,n,o){this.router=t,this.route=r,this._typeDetail=n,this._typeService=o,this.type=this._typeDetail.typeId.pipe(m(a=>a!==""),y(a=>this._typeService.getType(a)))}ngOnInit(){this.route.paramMap.pipe(c(t=>{this._typeDetail.idValue=t.get("branchId")||"",this._typeDetail.typeValue=t.get("branchType")||"",this._typeDetail.type=t.get("typeId")||""})).subscribe()}};e.\u0275fac=function(r){return new(r||e)(p(T),p(j),p(V),p(C))},e.\u0275cmp=u({type:e,selectors:[["osee-messaging-type-detail"]],standalone:!0,features:[I],decls:2,vars:3,consts:[[3,"typeData"]],template:function(r,n){if(r&1&&(f(0,F,1,1,"osee-messaging-types-platform-type-card",0),_(1,"async")),r&2){let o;g(0,(o=D(1,1,n.type))?0:-1,o)}},dependencies:[b,S],encapsulation:2});let i=e;return i})(),J=A;export{A as TypeDetailComponent,J as default};
