import{a as M,b as A}from"./chunk-NIC3EEBE.js";import{a as W,b as B,c as F}from"./chunk-JFCKIVQK.js";import{a as V,b as q}from"./chunk-EBCZUYJG.js";import{o as R,s as D}from"./chunk-KADRYNDC.js";import{a as j,b as N}from"./chunk-PM3MTE6X.js";import{k as O,n as k,o as E}from"./chunk-HO2J6YLX.js";import{C as L,j as I}from"./chunk-Z5RJRCWC.js";import{Ac as d,Bc as T,Cc as r,Dc as x,Eb as v,Gd as z,Ia as u,Ob as C,Rc as h,Sc as g,Tb as c,dd as w,ec as m,lc as p,md as f,nc as b,nd as _,oc as P,pc as y,qc as a,rc as i,sc as S,zb as n}from"./chunk-JSJB5BKT.js";import{e as $}from"./chunk-SZAW6ZBW.js";function K(e,o){if(e&1&&(a(0,"a",10),h(1),f(2,"translate"),i()),e&2){let t=d().$implicit;x("routerLink",t.link),n(),g(_(2,2,t.title))}}function Q(e,o){if(e&1&&(a(0,"span"),h(1),f(2,"translate"),i()),e&2){let t=d().$implicit;n(),g(_(2,1,t.title))}}function U(e,o){e&1&&S(0,"span",11)}function X(e,o){if(e&1&&(a(0,"span"),c(1,K,3,4,"a",10)(2,Q,3,3,"span")(3,U,1,0,"span",11),i()),e&2){let t=o.$implicit,l=o.$index,s=o.$count;n(),p(t.link?1:-1),n(),p(t.link?-1:2),n(),p(l!==s-1?3:-1)}}function Y(e,o){if(e&1&&(a(0,"h2",4),P(1,X,4,3,"span",null,b),i()),e&2){let t=d();m("ngClass",w(1,J,t.toolbarRightIsOverlayPanel)),n(),y(t.titles)}}function Z(e,o){e&1&&r(0,5)}var G,H,J,me,ee=$(()=>{L();A();F();E();N();z();q();F();D();E();G=[[["","header-left",""]],[["","header",""]],[["","header-right",""]],[["","content",""]],"*",[["","footer",""]]],H=["[header-left]","[header]","[header-right]","[content]","*","[footer]"],J=e=>({"mobile-display":e});me=(()=>{class e{constructor(t){this.screenSizeService=t,this.titles=[],this.toolbarRightIsOverlayPanel=!1}ngOnInit(){this.rightToolbarBreakpoint==="small"?(this.screenSizeService.lessThanSmall(!0).subscribe(()=>{this.toolbarRightIsOverlayPanel=!0}),this.screenSizeService.greaterThanSmall().subscribe(()=>{this.toolbarRightIsOverlayPanel=!1})):this.rightToolbarBreakpoint==="medium"&&(this.screenSizeService.lessThanMedium(!0).subscribe(()=>{this.toolbarRightIsOverlayPanel=!0}),this.screenSizeService.greaterThanMedium().subscribe(()=>{this.toolbarRightIsOverlayPanel=!1}))}ngOnChanges(t){if(!this.titlePage){this.titles=[];return}this.titlePage instanceof String||typeof this.titlePage=="string"?this.titles=[{title:this.titlePage}]:this.titles=[...this.titlePage]}static{this.\u0275fac=function(l){return new(l||e)(v(V))}}static{this.\u0275cmp=C({type:e,selectors:[["dvl-page-wrapper-v2"]],inputs:{styleClass:"styleClass",titlePage:"titlePage",rightToolbarBreakpoint:"rightToolbarBreakpoint"},features:[u],ngContentSelectors:H,decls:15,vars:4,consts:[[1,"page-content-wrapper","p-flex-column","p-grid",3,"ngClass"],[1,"wrapper-header","p-col-12"],["styleClass","page-header"],[1,"toolbar-group-left",2,"white-space","nowrap"],[3,"ngClass"],[1,"p-d-flex"],[1,"toolbar-group-right","p-d-flex",2,"white-space","nowrap"],["switchClass","button-action","switchIcon","dvl-icon dvl-icon-more-vert",3,"isPanel","switchLabel"],[1,"wrapper-content","p-col-12"],["pTemplate","footer"],[3,"routerLink"],[1,"di","dvl-icon-arrow-right-medium","arrow","page-header-arrow"]],template:function(l,s){l&1&&(T(G),a(0,"div",0)(1,"div",1)(2,"p-toolbar",2)(3,"div",3),c(4,Y,3,3,"h2",4),a(5,"div",5),r(6),i(),r(7,1),i(),a(8,"div",6)(9,"dvl-overlay-panel-toggle",7),r(10,2),i()()()(),a(11,"div",8),r(12,3),r(13,4),i(),c(14,Z,1,0,"ng-template",9),i()),l&2&&(m("ngClass",s.styleClass),n(4),p(s.titles.length>0?4:-1),n(5),m("isPanel",s.toolbarRightIsOverlayPanel)("switchLabel",null))},dependencies:[I,M,B,W,R,k,O,j],styles:[".page-header[_ngcontent-%COMP%]     .p-toolbar{height:52px}"]})}}return e})()});export{me as a,ee as b};
