import {J as J$1,c9 as qn,c as tS,aZ as Dt,gP as Ee,gQ as Se,gR as Y$1,c5 as bD,ad as ce,gS as Z$1,L as w,f as QT,dd as kn,cb as Dn,de as Cn,cc as Fn,dV as yn,gX as Ji,dW as h_,a0 as ks,dX as g_,cE as py,a2 as Uu,T as P_,a4 as Sy,ch as My,A as Iw,bu as dy,eU as aM,gZ as jy,cA as Qi,bw as y_,bx as v_,gF as ay,gG as vc,bz as f_,cn as Ry}from'./main-WUGO6e7n.js';function U(e,l){e&1&&Ry(0);}function W(e,l){if(e&1&&(ks(0,"div",4),py(1,U,1,0,"ng-container",5),Uu()),e&2){let t=f_();My("data-pc-section","start"),Iw(),Sy("ngTemplateOutlet",t.startTemplate||t._startTemplate);}}function X(e,l){e&1&&Ry(0);}function Y(e,l){if(e&1&&(ks(0,"div",6),py(1,X,1,0,"ng-container",5),Uu()),e&2){let t=f_();My("data-pc-section","center"),Iw(),Sy("ngTemplateOutlet",t.centerTemplate||t._centerTemplate);}}function Z(e,l){e&1&&Ry(0);}function ee(e,l){if(e&1&&(ks(0,"div",7),py(1,Z,1,0,"ng-container",5),Uu()),e&2){let t=f_();My("data-pc-section","end"),Iw(),Sy("ngTemplateOutlet",t.endTemplate||t._endTemplate);}}var G,H,J,K,te,ae,R,ne,ve,oe=J$1(()=>{qn();qn();tS();tS();Dt();Ee();Se();G=["start"],H=["end"],J=["center"],K=["*"];te=({dt:e})=>`
.p-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: ${e("toolbar.padding")};
    background: ${e("toolbar.background")};
    border: 1px solid ${e("toolbar.border.color")};
    color: ${e("toolbar.color")};
    border-radius: ${e("toolbar.border.radius")};
    gap: ${e("toolbar.gap")};
}

.p-toolbar-start,
.p-toolbar-center,
.p-toolbar-end {
    display: flex;
    align-items: center;
}
`,ae={root:"p-toolbar p-component",start:"p-toolbar-start",center:"p-toolbar-center",end:"p-toolbar-end"},R=(()=>{class e extends Y$1{name="toolbar";theme=te;classes=ae;static \u0275fac=(()=>{let t;return function(a){return (t||(t=bD(e)))(a||e)}})();static \u0275prov=ce({token:e,factory:e.\u0275fac})}return e})(),ne=(()=>{class e extends Z$1{style;styleClass;ariaLabelledBy;_componentStyle=w(R);getBlockableElement(){return this.el.nativeElement.children[0]}startTemplate;endTemplate;centerTemplate;templates;_startTemplate;_endTemplate;_centerTemplate;ngAfterContentInit(){this.templates.forEach(t=>{switch(t.getType()){case "start":case "left":this._startTemplate=t.template;break;case "end":case "right":this._endTemplate=t.template;break;case "center":this._centerTemplate=t.template;break}});}static \u0275fac=(()=>{let t;return function(a){return (t||(t=bD(e)))(a||e)}})();static \u0275cmp=QT({type:e,selectors:[["p-toolbar"]],contentQueries:function(n,a,u){if(n&1&&jy(u,G,4)(u,H,4)(u,J,4)(u,Qi,4),n&2){let o;y_(o=v_())&&(a.startTemplate=o.first),y_(o=v_())&&(a.endTemplate=o.first),y_(o=v_())&&(a.centerTemplate=o.first),y_(o=v_())&&(a.templates=o);}},inputs:{style:"style",styleClass:"styleClass",ariaLabelledBy:"ariaLabelledBy"},features:[aM([R]),dy],ngContentSelectors:K,decls:5,vars:9,consts:[["role","toolbar",3,"ngClass","ngStyle"],["class","p-toolbar-start",4,"ngIf"],["class","p-toolbar-center",4,"ngIf"],["class","p-toolbar-end",4,"ngIf"],[1,"p-toolbar-start"],[4,"ngTemplateOutlet"],[1,"p-toolbar-center"],[1,"p-toolbar-end"]],template:function(n,a){n&1&&(h_(),ks(0,"div",0),g_(1),py(2,W,2,2,"div",1)(3,Y,2,2,"div",2)(4,ee,2,2,"div",3),Uu()),n&2&&(P_(a.styleClass),Sy("ngClass","p-toolbar p-component")("ngStyle",a.style),My("aria-labelledby",a.ariaLabelledBy)("data-pc-name","toolbar"),Iw(2),Sy("ngIf",a.startTemplate||a._startTemplate),Iw(),Sy("ngIf",a.centerTemplate||a._centerTemplate),Iw(),Sy("ngIf",a.endTemplate||a._endTemplate));},dependencies:[kn,Dn,Cn,Fn,yn,Ji],encapsulation:2})}return e})(),ve=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275mod=ay({type:e});static \u0275inj=vc({imports:[ne,Ji,Ji]})}return e})();});export{ne as n,oe as o,ve as v};