PageSourceSearch

https://espaceclient.baudelet-environnement.fr/chunk-OUFMF4KI.js

js baudelet-environnement.fr collected 2026-10-07 23:50:34 UTC 72,764 bytes, 2 lines download raw bytes

1import{a as ln,b as sn}from"./chunk-ZOMI7L7P.js";import{a as Ht,f as oe,g as Wt,i as Qt,j as Kt,k as Jt,l as Xt,m as en,p as tn,s as nn,v as on,x as an,z as rn}from"./chunk-UKDW6PRT.js";import{b as zt,c as Gt,f as Zt,i as Ut,j as Yt,m as G}from"./chunk-U5XG4AS6.js";import{b as St,d as Ot,f as Tt,g as Pt,l as Rt,n as At,o as Bt,p as kt,q as Ft,r as Nt,s as qt,t as Lt,w as Vt,x as jt,y as $t}from"./chunk-HAT64SAG.js";import{a as ht}from"./chunk-GYUTNMH5.js";import{a as ye}from"./chunk-ASF44XKG.js";import{b as wt}from"./chunk-3XIHURP3.js";import{e as Ve,f as Et,g as It,h as ne,i as ie,j as Mt,k as Se,l as J,n as z,q as Oe}from"./chunk-A7AYLVCT.js";import"./chunk-YBPXXZRC.js";import"./chunk-CARY4E7O.js";import{A as Me,C as Dt,D as qe,F as Le,a as yt,e as De,h as we,j as Ne,w as Ee,x as Ie}from"./chunk-RGUVVAL5.js";import{a as vt,b as Ct}from"./chunk-EZXBBV34.js";import{a as ft}from"./chunk-WE2ISEL4.js";import"./chunk-W5FHM725.js";import{g as Ce}from"./chunk-RZMWYYX2.js";import{d as be,e as bt}from"./chunk-Z2GVAQG6.js";import{b as xt}from"./chunk-SXR4FZSO.js";import"./chunk-NP6OI7J6.js";import"./chunk-2C3WUUOE.js";import"./chunk-BBPRYTEE.js";import"./chunk-C5T26E4S.js";import"./chunk-BYCOWWCA.js";import"./chunk-QGWXUQ7J.js";import{q as K,t as C}from"./chunk-7ZZOGKSF.js";import"./chunk-D74IVOWM.js";import{d as xe,i as ut,l as gt,m as H,n as F,p as W,q as Q}from"./chunk-4KETEAXU.js";import{$a as Fe,$b as r,A as se,Ac as A,Bb as fe,Bc as u,Cc as L,Db as rt,E as it,F as te,Ib as he,Ja as E,Ka as I,Lc as T,M as de,Mb as m,Mc as pt,Nc as Y,Pa as j,Pb as ve,Qb as d,Sb as B,Ta as ue,Va as ge,Vb as $,Vc as _,Wb as lt,Wc as D,Yc as v,Zc as P,a as N,ac as l,b as tt,bc as g,cc as b,da as ce,dc as y,fc as M,gc as st,id as _t,j as q,lb as ot,lc as w,ma as me,na as pe,nc as c,pa as V,q as nt,ra as S,sa as Z,tb as a,tc as dt,ub as x,uc as ct,vc as mt,wb as at,ya as O,yc as k,za as _e,zc as s}from"./chunk-OPD4GJAN.js";function Rn(t,i){}var U=class{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0,this.closeOnOverlayDetachments=!0}};var He=(()=>{class t extends It{constructor(e,n,o,p,f,h,R,ee){super(),this._elementRef=e,this._focusTrapFactory=n,this._config=p,this._interactivityChecker=f,this._ngZone=h,this._overlayRef=R,this._focusMonitor=ee,this._platform=Z(yt),this._focusTrap=null,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this._ariaLabelledByQueue=[],this._changeDetectorRef=Z(_t),this._injector=Z(j),this._isDestroyed=!1,this.attachDomPortal=ke=>{this._portalOutlet.hasAttached();let On=this._portalOutlet.attachDomPortal(ke);return this._contentAttached(),On},this._document=o,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(e){this._ariaLabelledByQueue.push(e),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(e){let n=this._ariaLabelledByQueue.indexOf(e);n>-1&&(this._ariaLabelledByQueue.splice(n,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._isDestroyed=!0,this._restoreFocus()}attachComponentPortal(e){this._portalOutlet.hasAttached();let n=this._portalOutlet.attachComponentPortal(e);return this._contentAttached(),n}attachTemplatePortal(e){this._portalOutlet.hasAttached();let n=this._portalOutlet.attachTemplatePortal(e);return this._contentAttached(),n}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(e,n){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let o=()=>{e.removeEventListener("blur",o),e.removeEventListener("mousedown",o),e.removeAttribute("tabindex")};e.addEventListener("blur",o),e.addEventListener("mousedown",o)})),e.focus(n)}_focusByCssSelector(e,n){let o=this._elementRef.nativeElement.querySelector(e);o&&this._forceFocus(o,n)}_trapFocus(){this._isDestroyed||rt(()=>{let e=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||e.focus();break;case!0:case"first-tabbable":this._focusTrap?.focusInitialElement()||this._focusDialogContainer();break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus);break}},{injector:this._injector})}_restoreFocus(){let e=this._config.restoreFocus,n=null;if(typeof e=="string"?n=this._document.querySelector(e):typeof e=="boolean"?n=e?this._elementFocusedBeforeDialogWasOpened:null:e&&(n=e),this._config.restoreFocus&&n&&typeof n.focus=="function"){let o=De(),p=this._elementRef.nativeElement;(!o||o===this._document.body||o===p||p.contains(o))&&(this._focusMonitor?(this._focusMonitor.focusVia(n,this._closeInteractionType),this._closeInteractionType=null):n.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){let e=this._elementRef.nativeElement,n=De();return e===n||e.contains(n)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=De()))}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}static{this.\u0275fac=function(n){return new(n||t)(x(ue),x(Ie),x(xe,8),x(U),x(Ee),x(fe),x(J),x(Me))}}static{this.\u0275cmp=O({type:t,selectors:[["cdk-dialog-container"]],viewQuery:function(n,o){if(n&1&&dt(ne,7),n&2){let p;ct(p=mt())&&(o._portalOutlet=p.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(n,o){n&2&&ve("id",o._config.id||null)("role",o._config.role)("aria-modal",o._config.ariaModal)("aria-labelledby",o._config.ariaLabel?null:o._ariaLabelledByQueue[0])("aria-label",o._config.ariaLabel)("aria-describedby",o._config.ariaDescribedBy||null)},standalone:!0,features:[he,T],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(n,o){n&1&&m(0,Rn,0,0,"ng-template",0)},dependencies:[ne],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2})}}return t})(),ae=class{constructor(i,e){this.overlayRef=i,this.config=e,this.closed=new q,this.disableClose=e.disableClose,this.backdropClick=i.backdropClick(),this.keydownEvents=i.keydownEvents(),this.outsidePointerEvents=i.outsidePointerEvents(),this.id=e.id,this.keydownEvents.subscribe(n=>{n.keyCode===27&&!this.disableClose&&!we(n)&&(n.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=i.detachments().subscribe(()=>{e.closeOnOverlayDetachments!==!1&&this.close()})}close(i,e){if(this.containerInstance){let n=this.closed;this.containerInstance._closeInteractionType=e?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),n.next(i),n.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(i="",e=""){return this.overlayRef.updateSize({width:i,height:e}),this}addPanelClass(i){return this.overlayRef.addPanelClass(i),this}removePanelClass(i){return this.overlayRef.removePanelClass(i),this}},An=new V("DialogScrollStrategy",{providedIn:"root",factory:()=>{let t=Z(z);return()=>t.scrollStrategies.block()}}),Bn=new V("DialogData"),kn=new V("DefaultDialogConfig");var Fn=0,ze=(()=>{class t{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}constructor(e,n,o,p,f,h){this._overlay=e,this._injector=n,this._defaultOptions=o,this._parentDialog=p,this._overlayContainer=f,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new q,this._afterOpenedAtThisLevel=new q,this._ariaHiddenElements=new Map,this.afterAllClosed=se(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(ce(void 0))),this._scrollStrategy=h}open(e,n){let o=this._defaultOptions||new U;n=N(N({},o),n),n.id=n.id||`cdk-dialog-${Fn++}`,n.id&&this.getDialogById(n.id);let p=this._getOverlayConfig(n),f=this._overlay.create(p),h=new ae(f,n),R=this._attachContainer(f,h,n);return h.containerInstance=R,this._attachDialogContent(e,h,R,n),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(h),h.closed.subscribe(()=>this._removeOpenDialog(h,!0)),this.afterOpened.next(h),h}closeAll(){je(this.openDialogs,e=>e.close())}getDialogById(e){return this.openDialogs.find(n=>n.id===e)}ngOnDestroy(){je(this._openDialogsAtThisLevel,e=>{e.config.closeOnDestroy===!1&&this._removeOpenDialog(e,!1)}),je(this._openDialogsAtThisLevel,e=>e.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(e){let n=new Mt({positionStrategy:e.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,width:e.width,height:e.height,disposeOnNavigation:e.closeOnNavigation});return e.backdropClass&&(n.backdropClass=e.backdropClass),n}_attachContainer(e,n,o){let p=o.injector||o.viewContainerRef?.injector,f=[{provide:U,useValue:o},{provide:ae,useValue:n},{provide:J,useValue:e}],h;o.container?typeof o.container=="function"?h=o.container:(h=o.container.type,f.push(...o.container.providers(o))):h=He;let R=new Ve(h,o.viewContainerRef,j.create({parent:p||this._injector,providers:f}),o.componentFactoryResolver);return e.attach(R).instance}_attachDialogContent(e,n,o,p){if(e instanceof at){let f=this._createInjector(p,n,o,void 0),h={$implicit:p.data,dialogRef:n};p.templateContext&&(h=N(N({},h),typeof p.templateContext=="function"?p.templateContext():p.templateContext)),o.attachTemplatePortal(new Et(e,null,h,f))}else{let f=this._createInjector(p,n,o,this._injector),h=o.attachComponentPortal(new Ve(e,p.viewContainerRef,f,p.componentFactoryResolver));n.componentRef=h,n.componentInstance=h.instance}}_createInjector(e,n,o,p){let f=e.injector||e.viewContainerRef?.injector,h=[{provide:Bn,useValue:e.data},{provide:ae,useValue:n}];return e.providers&&(typeof e.providers=="function"?h.push(...e.providers(n,e,o)):h.push(...e.providers)),e.direction&&(!f||!f.get(qe,null,{optional:!0}))&&h.push({provide:qe,useValue:{value:e.direction,change:nt()}}),j.create({parent:f||p,providers:h})}_removeOpenDialog(e,n){let o=this.openDialogs.indexOf(e);o>-1&&(this.openDialogs.splice(o,1),this.openDialogs.length||(this._ariaHiddenElements.forEac
1h((p,f)=>{p?f.setAttribute("aria-hidden",p):f.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),n&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){let e=this._overlayContainer.getContainerElement();if(e.parentElement){let n=e.parentElement.children;for(let o=n.length-1;o>-1;o--){let p=n[o];p!==e&&p.nodeName!=="SCRIPT"&&p.nodeName!=="STYLE"&&!p.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(p,p.getAttribute("aria-hidden")),p.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}static{this.\u0275fac=function(n){return new(n||t)(S(z),S(j),S(kn,8),S(t,12),S(Se),S(An))}}static{this.\u0275prov=me({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function je(t,i){let e=t.length;for(;e--;)i(t[e])}var dn=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=_e({type:t})}static{this.\u0275inj=pe({providers:[ze],imports:[Oe,ie,Dt,ie]})}}return t})();function Nn(t,i){}var re=class{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0}},Ge="mdc-dialog--open",cn="mdc-dialog--opening",mn="mdc-dialog--closing",qn=150,Ln=75,Vn=(()=>{class t extends He{constructor(e,n,o,p,f,h,R,ee,ke){super(e,n,o,p,f,h,R,ke),this._animationMode=ee,this._animationStateChanged=new ge,this._animationsEnabled=this._animationMode!=="NoopAnimations",this._actionSectionCount=0,this._hostElement=this._elementRef.nativeElement,this._enterAnimationDuration=this._animationsEnabled?_n(this._config.enterAnimationDuration)??qn:0,this._exitAnimationDuration=this._animationsEnabled?_n(this._config.exitAnimationDuration)??Ln:0,this._animationTimer=null,this._finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)},this._finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})}}_contentAttached(){super._contentAttached(),this._startOpenAnimation()}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(pn,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(cn,Ge)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(Ge),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(Ge),this._animationsEnabled?(this._hostElement.style.setProperty(pn,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(mn)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(e){this._actionSectionCount+=e,this._changeDetectorRef.markForCheck()}_clearAnimationClasses(){this._hostElement.classList.remove(cn,mn)}_waitForAnimationToComplete(e,n){this._animationTimer!==null&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(n,e)}_requestAnimationFrame(e){this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame=="function"?requestAnimationFrame(e):e()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(e){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:e})}ngOnDestroy(){super.ngOnDestroy(),this._animationTimer!==null&&clearTimeout(this._animationTimer)}attachComponentPortal(e){let n=super.attachComponentPortal(e);return n.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),n}static{this.\u0275fac=function(n){return new(n||t)(x(ue),x(Ie),x(xe,8),x(re),x(Ee),x(fe),x(J),x(Fe,8),x(Me))}}static{this.\u0275cmp=O({type:t,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(n,o){n&2&&(st("id",o._config.id),ve("aria-modal",o._config.ariaModal)("role",o._config.role)("aria-labelledby",o._config.ariaLabel?null:o._ariaLabelledByQueue[0])("aria-label",o._config.ariaLabel)("aria-describedby",o._config.ariaDescribedBy||null),B("_mat-animation-noopable",!o._animationsEnabled)("mat-mdc-dialog-container-with-actions",o._actionSectionCount>0))},standalone:!0,features:[he,T],decls:3,vars:0,consts:[[1,"mat-mdc-dialog-inner-container","mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(n,o){n&1&&(r(0,"div",0)(1,"div",1),m(2,Nn,0,0,"ng-template",2),l()())},dependencies:[ne],styles:['.mat-mdc-dialog-container{width:100%;height:100%;display:block;box-sizing:border-box;max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;outline:0}.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-max-width, 80vw);min-width:var(--mat-dialog-container-min-width, 0)}@media(max-width: 599px){.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-small-max-width, 80vw)}}.mat-mdc-dialog-inner-container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;opacity:0;transition:opacity linear var(--mat-dialog-transition-duration, 0ms);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mdc-dialog--closing .mat-mdc-dialog-inner-container{transition:opacity 75ms linear;transform:none}.mdc-dialog--open .mat-mdc-dialog-inner-container{opacity:1}._mat-animation-noopable .mat-mdc-dialog-inner-container{transition:none}.mat-mdc-dialog-surface{display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;width:100%;height:100%;position:relative;overflow-y:auto;outline:0;transform:scale(0.8);transition:transform var(--mat-dialog-transition-duration, 0ms) cubic-bezier(0, 0, 0.2, 1);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;box-shadow:var(--mat-dialog-container-elevation-shadow, 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12));border-radius:var(--mdc-dialog-container-shape, 4px);background-color:var(--mdc-dialog-container-color, white)}[dir=rtl] .mat-mdc-dialog-surface{text-align:right}.mdc-dialog--open .mat-mdc-dialog-surface,.mdc-dialog--closing .mat-mdc-dialog-surface{transform:none}._mat-animation-noopable .mat-mdc-dialog-surface{transition:none}.mat-mdc-dialog-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mat-mdc-dialog-title{display:block;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:var(--mat-dialog-headline-padding, 0 24px 9px)}.mat-mdc-dialog-title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mat-mdc-dialog-title{text-align:right}.mat-mdc-dialog-container .mat-mdc-dialog-title{color:var(--mdc-dialog-subhead-color, rgba(0, 0, 0, 0.87));font-family:var(--mdc-dialog-subhead-font, Roboto, sans-serif);line-height:var(--mdc-dialog-subhead-line-height, 1.5rem);font-size:var(--mdc-dialog-subhead-size, 1rem);font-weight:var(--mdc-dialog-subhead-weight, 400);letter-spacing:var(--mdc-dialog-subhead-tracking, 0.03125em)}.mat-mdc-dialog-content{display:block;flex-grow:1;box-sizing:border-box;margin:0;overflow:auto;max-height:65vh}.mat-mdc-dialog-content>:first-child{margin-top:0}.mat-mdc-dialog-content>:last-child{margin-bottom:0}.mat-mdc-dialog-container .mat-mdc-dialog-content{color:var(--mdc-dialog-supporting-text-color, rgba(0, 0, 0, 0.6));font-family:var(--mdc-dialog-supporting-text-font, Roboto, sans-serif);line-height:var(--mdc-dialog-supporting-text-line-height, 1.5rem);font-size:var(--mdc-dialog-supporting-text-size, 1rem);font-weight:var(--mdc-dialog-supporting-text-weight, 400);letter-spacing:var(--mdc-dialog-supporting-text-tracking, 0.03125em)}.mat-mdc-dialog-container .mat-mdc-dialog-content{padding:var(--mat-dialog-content-padding, 20px 24px)}.mat-mdc-dialog-container-with-actions .mat-mdc-dialog-content{padding:var(--mat-dialog-with-actions-content-padding, 20px 24px)}.mat-mdc-dialog-container .mat-mdc-dialog-title+.mat-mdc-dialog-content{padding-top:0}.mat-mdc-dialog-actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0);padding:var(--mat-dialog-actions-padding, 8px);justify-content:var(--mat-dialog-actions-alignment, start)}.cdk-high-contrast-active .mat-mdc-dialog-actions{border-top-color:CanvasText}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-start,.mat-mdc-dialog-actions[align=start]{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}
1.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}.mat-mdc-dialog-component-host{display:contents}'],encapsulation:2})}}return t})(),pn="--mat-dialog-transition-duration";function _n(t){return t==null?null:typeof t=="number"?t:t.endsWith("ms")?Ne(t.substring(0,t.length-2)):t.endsWith("s")?Ne(t.substring(0,t.length-1))*1e3:t==="0"?0:null}var Te=function(t){return t[t.OPEN=0]="OPEN",t[t.CLOSING=1]="CLOSING",t[t.CLOSED=2]="CLOSED",t}(Te||{}),le=class{constructor(i,e,n){this._ref=i,this._containerInstance=n,this._afterOpened=new q,this._beforeClosed=new q,this._state=Te.OPEN,this.disableClose=e.disableClose,this.id=i.id,i.addPanelClass("mat-mdc-dialog-panel"),n._animationStateChanged.pipe(te(o=>o.state==="opened"),de(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),n._animationStateChanged.pipe(te(o=>o.state==="closed"),de(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),i.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),it(this.backdropClick(),this.keydownEvents().pipe(te(o=>o.keyCode===27&&!this.disableClose&&!we(o)))).subscribe(o=>{this.disableClose||(o.preventDefault(),jn(this,o.type==="keydown"?"keyboard":"mouse"))})}close(i){this._result=i,this._containerInstance._animationStateChanged.pipe(te(e=>e.state==="closing"),de(1)).subscribe(e=>{this._beforeClosed.next(i),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),e.totalTime+100)}),this._state=Te.CLOSING,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(i){let e=this._ref.config.positionStrategy;return i&&(i.left||i.right)?i.left?e.left(i.left):e.right(i.right):e.centerHorizontally(),i&&(i.top||i.bottom)?i.top?e.top(i.top):e.bottom(i.bottom):e.centerVertically(),this._ref.updatePosition(),this}updateSize(i="",e=""){return this._ref.updateSize(i,e),this}addPanelClass(i){return this._ref.addPanelClass(i),this}removePanelClass(i){return this._ref.removePanelClass(i),this}getState(){return this._state}_finishDialogClose(){this._state=Te.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}};function jn(t,i,e){return t._closeInteractionType=i,t.close(e)}var Ze=new V("MatMdcDialogData"),$n=new V("mat-mdc-dialog-default-options"),Hn=new V("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{let t=Z(z);return()=>t.scrollStrategies.block()}});var zn=0,Ue=(()=>{class t{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}constructor(e,n,o,p,f,h,R,ee){this._overlay=e,this._defaultOptions=p,this._scrollStrategy=f,this._parentDialog=h,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new q,this._afterOpenedAtThisLevel=new q,this.dialogConfigClass=re,this.afterAllClosed=se(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(ce(void 0))),this._dialog=n.get(ze),this._dialogRefConstructor=le,this._dialogContainerType=Vn,this._dialogDataToken=Ze}open(e,n){let o;n=N(N({},this._defaultOptions||new re),n),n.id=n.id||`mat-mdc-dialog-${zn++}`,n.scrollStrategy=n.scrollStrategy||this._scrollStrategy();let p=this._dialog.open(e,tt(N({},n),{positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:n},{provide:U,useValue:n}]},templateContext:()=>({dialogRef:o}),providers:(f,h,R)=>(o=new this._dialogRefConstructor(f,n,R),o.updatePosition(n?.position),[{provide:this._dialogContainerType,useValue:R},{provide:this._dialogDataToken,useValue:h.data},{provide:this._dialogRefConstructor,useValue:o}])}));return o.componentRef=p.componentRef,o.componentInstance=p.componentInstance,this.openDialogs.push(o),this.afterOpened.next(o),o.afterClosed().subscribe(()=>{let f=this.openDialogs.indexOf(o);f>-1&&(this.openDialogs.splice(f,1),this.openDialogs.length||this._getAfterAllClosed().next())}),o}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(e){return this.openDialogs.find(n=>n.id===e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(e){let n=e.length;for(;n--;)e[n].close()}static{this.\u0275fac=function(n){return new(n||t)(S(z),S(j),S(ut,8),S($n,8),S(Hn),S(t,12),S(Se),S(Fe,8))}}static{this.\u0275prov=me({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Pe=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=_e({type:t})}static{this.\u0275inj=pe({providers:[Ue],imports:[dn,Oe,ie,Le,Le]})}}return t})();var{selectAll:Gn,selectEntities:Zn}=an.getSelectors(),Re=C(G,t=>t.boardRequests),Ia=C(Re,Zn),Ye=C(Re,Gn),Ma=C(Re,t=>t.loading),gn=C(Re,t=>t.loaded),fn=C(Ye,t=>t.filter(i=>i.Statut==="done").sort((i,e)=>new Date(e.DatePriseEnCharge).getTime()-new Date(i.DatePriseEnCharge).getTime())),hn=C(Ye,t=>t.filter(i=>i.Statut==="stopped").sort((i,e)=>new Date(e.DatePriseEnCharge).getTime()-new Date(i.DatePriseEnCharge).getTime())),vn=C(Ye,t=>t.filter(i=>i.Statut==="todo").sort((i,e)=>new Date(e.DateCreation).getTime()-new Date(i.DateCreation).getTime()));function Un(t,i){if(t&1&&(r(0,"div",19),s(1),l()),t&2){let e=c().$implicit;a(),L(" ",e==null?null:e.AuteurDemande," ",(e==null?null:e.OrigineDemande)=="Camion"?"\u{1F69B}":""," ")}}function Yn(t,i){if(t&1&&(r(0,"div",20)(1,"div",21),s(2),l(),r(3,"div",22),s(4),l()()),t&2){let e=c().$implicit;a(2),u(" ",(e==null?null:e.NumeroContenant)!=""?"N\xB0"+(e==null?null:e.NumeroContenant):""," "),a(2),u(" ",e==null?null:e.Matiere," ")}}function Wn(t,i){if(t&1&&(r(0,"div",11)(1,"div",12)(2,"div",13),s(3),_(4,"date"),l(),r(5,"div",14),s(6),_(7,"date"),l(),r(8,"div",15),s(9),l()(),r(10,"div",16),m(11,Un,2,2,"div",17)(12,Yn,5,2,"div",18),l()()),t&2){let e=i.$implicit,n=c(2);a(3),u(" ",v(4,5,e==null?null:e.DateCreation,"dd/MM","Z")," "),a(3),u(" ",v(7,9,e==null?null:e.DateCreation,"HH:mm","Z")," "),a(3),A(e==null||e.Emplacement==null?null:e.Emplacement.Label),a(2),d("ngIf",n.view===n.ViewMode.PROFIL),a(),d("ngIf",n.view===n.ViewMode.DUMPSTER)}}function Qn(t,i){if(t&1&&(b(0),m(1,Wn,13,13,"div",10),y()),t&2){let e=c();a(),d("ngForOf",e.boardRequestsTodo)}}function Kn(t,i){if(t&1&&(b(0),r(1,"div",13),s(2),_(3,"date"),l(),r(4,"div",14),s(5),_(6,"date"),l(),y()),t&2){let e=c().$implicit;a(2),u(" ",v(3,2,e==null?null:e.DatePriseEnCharge,"dd/MM","Z")," "),a(3),u(" ",v(6,6,e==null?null:e.DatePriseEnCharge,"HH:mm","Z")," ")}}function Jn(t,i){if(t&1&&(r(0,"div",13),s(1),_(2,"date"),l(),r(3,"div",14),s(4),_(5,"date"),l()),t&2){let e=c().$implicit;a(),u(" ",v(2,2,e==null?null:e.DateNonPriseEnCharge,"dd/MM","Z")," "),a(3),u(" ",v(5,6,e==null?null:e.DateNonPriseEnCharge,"HH:mm","Z")," ")}}function Xn(t,i){if(t&1&&(r(0,"div",19),s(1),l()),t&2){let e=c().$implicit;a(),L(" ",e==null?null:e.AuteurNonPriseEnCharge," ",(e==null?null:e.OrigineDemande)=="Camion"?"\u{1F69B}":""," ")}}function ei(t,i){if(t&1&&(r(0,"div",20)(1,"div",21),s(2),l(),r(3,"div",22),s(4),l()()),t&2){let e=c().$implicit;a(2),u(" ",(e==null?null:e.NumeroContenant)!=""?"N\xB0"+(e==null?null:e.NumeroContenant):""," "),a(2),u(" ",e==null?null:e.Matiere," ")}}function ti(t,i){if(t&1&&(r(0,"div",11)(1,"div",12),m(2,Kn,7,10,"ng-container",5)(3,Jn,6,10,"ng-template",null,1,P),r(5,"div",15),s(6),l()(),r(7,"div",16),m(8,Xn,2,2,"div",17)(9,ei,5,2,"div",18),l()()),t&2){let e=i.$implicit,n=k(4),o=c(2);B("board__row--overline",(e==null?null:e.DateLevageNonPriseEnCharge)!=""&&(e==null?null:e.AuteurLevageNonPriseEnCharge)),a(2),d("ngIf",e==null?null:e.DatePriseEnCharge)("ngIfElse",n),a(4),A(e==null||e.Emplacement==null?null:e.Emplacement.Label),a(2),d("ngIf",o.view===o.ViewMode.PROFIL),a(),d("ngIf",o.view===o.ViewMode.DUMPSTER)}}function ni(t,i){if(t&1&&(b(0),m(1,ti,10,7,"div",23),y()),t&2){let e=c();a(),d("ngForOf",e.boardRequestsStopped)}}function ii(t,i){if(t&1&&(r(0,"div",19),s(1),l()),t&2){let e=c().$implicit;a(),L(" ",e==null?null:e.AuteurPriseEnCharge," ",(e==null?null:e.OrigineDemande)=="Camion"?"\u{1F69B}":""," ")}}function oi(t,i){if(t&1&&(r(0,"div",20)(1,"div",21),s(2),l(),r(3,"div",22),s(4),l()()),t&2){let e=c().$implicit;a(2),u(" ",(e==null?null:e.NumeroContenant)!=""?"N\xB0"+(e==null?null:e.NumeroContenant):""," "),a(2),u(" ",e==null?null:e.Matiere," ")}}function ai(t,i){if(t&1&&(r(0,"div",11)(1,"div",12)(2,"div",13),s(3),_(4,"date"),l(),r(5,"div",14),s(6),_(7,"date"),l(),r(8,"div",15),s(9),l()(),r(10,"div",16),m(11,ii,2,2,"div",17)(12,oi,5,2,"div",18),l()()),t&2){let e=i.$implicit,n=c(2);a(3),u(" ",v(4,5,e==null?null:e.DatePriseEnCharge,"dd/MM","Z")," "),a(3),u(" ",v(7,9,e==null?null:e.DatePriseEnCharge,"HH:mm","Z")," "),a(3),A(e==null||e.Emplacement==null?null:e.Emplacement.Label),a(2),d("ngIf",n.view===n.ViewMode.PROFIL),a(),d("ngIf",n.view===n.ViewMode.DUMPSTER)}}function ri(t,i){if(t&1&&(b(0),m(1,ai,13,13,"div",10),y()),t&2){let e=c();a(),d("ngForOf",e.boardRequestsDone)}}function li(t,i){t&1&&(r(0,"div",24),g(1,"div",25)(2,"div",25)(3,"div",25)(4,"div",25)(5,"div",25),l())}var We=(()=>{class t{constructor(e){this.store=e,this.ViewMode=oe}ngOnInit(){this.boardRequestsLoaded$=this.store.select(gn)}static{this.\u0275fac=function(n){return new(n||t)(x(K))}}static{this.\u0275cmp=O({type:t,selectors:[["board"]],inputs:{view:"view",boardRequestsDone:"boardRequestsDone",boardRequestsStopped:"boardRequestsStopped",boardRequestsTodo:"boardRequestsTodo",delegateType:"delegateType"},standalone:!0,features:[T],decls:20,vars:12,consts:[["boardLoaders",""],["DateNonPriseEnCharge",""],[1,"board__title"],[1,"bullet","bullet--todo"],[1,"board__title-status"],[4,"ngIf","ngIfElse"],[1,"board__title","board__title--spacing"],[1,"bullet","bullet--stopped"],[1,"board__status"],[1,"bullet","bullet--done"],["class","board__row",4,"ngFor","ngForOf"],[1,"board__row"],[1,"board__row--left"],[1,"board__row-date"],[1,"board__row-time"],[1,"board__row-name"],[1,"board__row--right"],["class","board__row-identity",4,"ngIf"],["class","board__row-dumpster",4,"ngIf"],[1,"board__row-identity"],[1,"board__row-dumpster"],[1,"board__row-container"],[1,"board__row-material"],["class","board__row",3,"board__row--overline",4,"ngFor","ngForOf"],[1,"board__loaders"],[1,"board__loader"]],template:function(n,o){if(n&1&&(r(0,"div",2),g(1,"span",3),r(2,"div",4),s(3,"Demandes \xE0 traiter"),l()(),m(4,Qn,2,1,"ng-container",5),_(5,"async"),r(6,"div",6),g(7,"span",7),r(8,"div",8),s(9,"Non prise en charge"),l()(),m(10,ni,2,1,"ng-container",5),_(11,"async"),r(12,"div",6),g(13,"span",9),r(14,"div",8),s(15,"Demandes collect\xE9es"),l()(),m(16,ri,2,1,"ng-container",5),_(17,"async"),m(18,li,6,0,"ng-template",null,0,P)),n&2){let p=k(19);a(4),d("ngIf",D(5,6,o.boardRequestsLoaded$))("ngIfElse",p),a(6),d("ngIf",D(11,8,o.boardRequestsLoaded$))("ngIfElse",p),a(6),d("ngIf",D(17,10,o.boardRequestsLoaded$))("ngIfElse",p)}},dependencies:[F,Q,W,H],styles:['.board__loaders[_ngcontent-%COMP%]{display:flex;flex-direction:column;row-gap:8px;font-size:12px;margin-top:4px}.board__loader[_ngcontent-%COMP%]{position:relative;overflow:hidden;width:100%;height:16px;background:#f1f1f1}.board__loader[_ngcontent-%COMP%]:before{animation-duration:1.5s;animation-fill-mode:forwards;animation-iteration-count:infinite;animation-timing-function:linear;animation-name:_ngcontent-%COMP%_placeHolderShimmer;background:linear-gradient(to right,#f1f1f1,#dededeb3,#f1f1f1 50%);background-size:100%;content:"";height:100%;position:absolute;width:100%}.board__title[_ngcontent-%COMP%]{position:relative;display:flex;align-items:center;column-gap:8px;font-size:14px;margin-bottom:20px}.board__title--spacing[_ngcontent-%COMP%]{margin-top:30px}.board__title[_ngcontent-%COMP%]:before{position:absolute;content:"";width:100%;height:1px;background-color:#ddd;bottom:-8px}.board__row[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;font-size:12px;margin-top:4px;position:relative}.board__row--left[_ngcontent-%COMP%]{display:flex;column-gap:6px}.board__row--overline[_ngcontent-%COMP%]:before{content:"";position:absolute;width:100%;height:1px;background-color:#000}
1.board__row-name[_ngcontent-%COMP%]{font-weight:700}.board__row-dumpster[_ngcontent-%COMP%]{display:flex;justify-content:space-between;column-gap:14px;min-width:70px}.board__row-material[_ngcontent-%COMP%]{width:40px;max-width:40px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:right}@keyframes _ngcontent-%COMP%_placeHolderShimmer{0%{transform:translate(-70%)}to{transform:translate(200%)}}']})}}return t})();function si(t,i){if(t&1&&(r(0,"span",15),s(1),_(2,"date"),l()),t&2){let e=c(2).$implicit;a(),u(" ",v(2,1,e==null?null:e.DateCreation,"dd/MM","Z"),"")}}function di(t,i){if(t&1&&(r(0,"div",16)(1,"span",17),s(2),_(3,"date"),l()()),t&2){let e=c(2).$implicit;a(2),u(" ",v(3,1,e==null?null:e.DateCreation,"HH:mm","Z"),"")}}function ci(t,i){if(t&1&&(r(0,"div",9)(1,"div",10),g(2,"span"),m(3,si,3,5,"span",11),r(4,"span",12),s(5),l(),r(6,"span",13),s(7),l()(),m(8,di,4,5,"div",14),l()),t&2){let e=c().$implicit;a(2),$("bullet bullet--",e==null?null:e.Statut,""),a(),d("ngIf",e==null?null:e.DateCreation),a(2),u(" ",(e==null?null:e.NumeroContenant)!=""?"N\xB0"+(e==null?null:e.NumeroContenant):"-",""),a(2),u(" ",(e==null?null:e.Matiere)!=""?e==null?null:e.Matiere:""," "),a(),d("ngIf",e==null?null:e.DateCreation)}}function mi(t,i){if(t&1&&(r(0,"span",15),s(1),_(2,"date"),l()),t&2){let e=c(2).$implicit;a(),u(" ",v(2,1,e==null?null:e.DateNonPriseEnCharge,"dd/MM","Z"),"")}}function pi(t,i){if(t&1&&(r(0,"div",16)(1,"span",17),s(2),_(3,"date"),l()()),t&2){let e=c(2).$implicit;a(2),u(" ",v(3,1,e==null?null:e.DateNonPriseEnCharge,"HH:mm","Z"),"")}}function _i(t,i){if(t&1&&(r(0,"div",9)(1,"div",10),g(2,"span"),m(3,mi,3,5,"span",18),r(4,"span",12),s(5),l(),r(6,"span",13),s(7),l()(),m(8,pi,4,5,"div",14),l()),t&2){let e=c().$implicit;c(2);let n=k(3);a(2),$("bullet bullet--",e==null?null:e.Statut,""),a(),d("ngIf",e==null?null:e.DateNonPriseEnCharge)("ngIfElse",n),a(2),u(" ",(e==null?null:e.NumeroContenant)!=""?"N\xB0"+(e==null?null:e.NumeroContenant):"-"," "),a(2),u(" ",(e==null?null:e.Matiere)!=""?e==null?null:e.Matiere:"",""),a(),d("ngIf",e==null?null:e.DateNonPriseEnCharge)}}function ui(t,i){if(t&1&&(b(0),m(1,ci,9,7,"div",8)(2,_i,9,8,"div",8),y()),t&2){let e=i.$implicit;a(),d("ngIf",(e==null?null:e.Statut)=="todo"),a(),d("ngIf",(e==null?null:e.Statut)=="stopped"&&(e==null?null:e.DateLevageNonPriseEnCharge)==""&&(e==null?null:e.AuteurLevageNonPriseEnCharge)=="")}}function gi(t,i){if(t&1){let e=M();r(0,"div",3),w("click",function(){E(e);let o=c();return I(o.openDialogEvent())}),g(1,"img",4),r(2,"div",5),s(3),l(),r(4,"div",6),m(5,ui,3,2,"ng-container",7),l()()}if(t&2){let e=c();a(3),A(e.location),a(2),d("ngForOf",e.requests)}}function fi(t,i){if(t&1&&(r(0,"span",27),s(1),_(2,"date"),l()),t&2){let e=c(2).$implicit;a(),u(" ",v(2,1,e==null?null:e.DateCreation,"dd/MM","Z"),"")}}function hi(t,i){if(t&1&&(r(0,"span",27),s(1),_(2,"date"),l()),t&2){let e=c(2).$implicit;a(),u(" ",v(2,1,e==null?null:e.DateCreation,"HH:mm","Z"),"")}}function vi(t,i){if(t&1&&(r(0,"div",24)(1,"div",25),g(2,"span"),m(3,fi,3,5,"span",26)(4,hi,3,5,"span",26),l()()),t&2){let e=c().$implicit;a(2),$("bullet bullet--",e==null?null:e.Statut,""),a(),d("ngIf",e==null?null:e.DateCreation),a(),d("ngIf",e==null?null:e.DateCreation)}}function xi(t,i){if(t&1&&(r(0,"span",27),s(1),_(2,"date"),l()),t&2){let e=c(2).$implicit;a(),u(" ",v(2,1,e==null?null:e.DateNonPriseEnCharge,"dd/MM","Z"),"")}}function Ci(t,i){if(t&1&&(r(0,"span",27),s(1),_(2,"date"),l()),t&2){let e=c(2).$implicit;a(),u(" ",v(2,1,e==null?null:e.DateNonPriseEnCharge,"HH:mm","Z"),"")}}function bi(t,i){if(t&1&&(r(0,"div",24)(1,"div",25),g(2,"span"),m(3,xi,3,5,"span",26)(4,Ci,3,5,"span",26),l()()),t&2){let e=c().$implicit;a(2),$("bullet bullet--",e==null?null:e.Statut,""),a(),d("ngIf",e==null?null:e.DateNonPriseEnCharge),a(),d("ngIf",e==null?null:e.DateNonPriseEnCharge)}}function yi(t,i){if(t&1&&(b(0),m(1,vi,5,5,"div",23)(2,bi,5,5,"div",23),y()),t&2){let e=i.$implicit;a(),d("ngIf",(e==null?null:e.Statut)=="todo"),a(),d("ngIf",(e==null?null:e.Statut)=="stopped"&&((e==null?null:e.DateLevageNonPriseEnCharge)==""||(e==null?null:e.DateLevageNonPriseEnCharge)==null))}}function Di(t,i){if(t&1){let e=M();r(0,"div",19),w("click",function(){E(e);let o=c();return I(o.openDialogEvent())}),g(1,"img",20),r(2,"div",5),s(3),l(),r(4,"div",21)(5,"div",22),m(6,yi,3,2,"ng-container",7),l()()()}if(t&2){let e=c();a(3),A(e.location),a(3),d("ngForOf",e.requests)}}function wi(t,i){if(t&1&&(r(0,"div",28),s(1),_(2,"date"),l(),r(3,"div",29),s(4),_(5,"date"),l()),t&2){let e=i.request;a(),u(" ",v(2,2,e==null?null:e.DateNonPriseEnCharge,"dd/MM","Z")," "),a(3),u(" ",v(5,6,e==null?null:e.DateNonPriseEnCharge,"HH:mm","Z")," ")}}var Qe=(()=>{class t{constructor(){this.openDialog=new ge}openDialogEvent(){this.openDialog.emit({label:this.location,id:this.locationId,locationData:this.locationData,requests:this.requests})}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=O({type:t,selectors:[["card-removal"]],inputs:{location:"location",locationId:"locationId",locationData:"locationData",requests:"requests",delegateType:"delegateType"},outputs:{openDialog:"openDialog"},standalone:!0,features:[T],decls:4,vars:2,consts:[["DateNonPriseEnCharge",""],["class","card-removal",3,"click",4,"ngIf"],["class","card-removal card-removal--others",3,"click",4,"ngIf"],[1,"card-removal",3,"click"],["src","assets/icons/dumpster.svg","alt","Benne",1,"card-removal__dumpster"],[1,"card-removal__title"],[1,"card-removal__content"],[4,"ngFor","ngForOf"],["class","card-removal__item",4,"ngIf"],[1,"card-removal__item"],[1,"card-removal__left"],["class","card-removal__date",4,"ngIf"],[1,"card-removal__number"],[1,"card-removal__matiere"],["class","card-removal__right",4,"ngIf"],[1,"card-removal__date"],[1,"card-removal__right"],[1,"card-removal__time"],["class","card-removal__date",4,"ngIf","ngIfElse"],[1,"card-removal","card-removal--others",3,"click"],["src","assets/icons/dumpster.svg","alt","Benne",1,"card-removal__dumpster--others"],[1,"card-removal__wrapper--others"],[1,"card-removal__items--others"],["class","card-removal__item--others",4,"ngIf"],[1,"card-removal__item--others"],[1,"card-removal__content--others"],["class","card-removal__date--others",4,"ngIf"],[1,"card-removal__date--others"],[1,"board__row-date"],[1,"board__row-time"]],template:function(n,o){n&1&&m(0,gi,6,2,"div",1)(1,Di,7,2,"div",2)(2,wi,6,10,"ng-template",null,0,P),n&2&&(d("ngIf",o.delegateType=="BennesIdentifies"),a(),d("ngIf",o.delegateType=="Autre"))},dependencies:[F,Q,H],styles:["[_nghost-%COMP%]{flex-basis:282px;flex-grow:1}
1.card-removal[_ngcontent-%COMP%]{cursor:pointer;position:relative;background-color:#fff;border-radius:4px;min-height:200px;height:100%;padding:16px;transition:box-shadow .2s ease-in-out}.card-removal[_ngcontent-%COMP%]:hover{box-shadow:0 0 10px #00000014}.card-removal__dumpster[_ngcontent-%COMP%]{width:64px;right:-25px;top:0}.card-removal__dumpster--others[_ngcontent-%COMP%]{position:absolute;width:100px;top:-15px;right:-15px;align-self:center}.card-removal__title[_ngcontent-%COMP%]{font-size:16px;font-weight:500}.card-removal__content[_ngcontent-%COMP%]{display:flex;flex-direction:column;row-gap:6px;margin-top:16px}.card-removal__item[_ngcontent-%COMP%]{display:flex;align-items:center;flex-wrap:nowrap;justify-content:space-between;column-gap:8px;color:#666;font-size:12px}.card-removal__left[_ngcontent-%COMP%]{display:flex;align-items:center;flex-wrap:nowrap;column-gap:10px}.card-removal__matiere[_ngcontent-%COMP%]{max-width:70px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}@media screen and (max-width: 1002px){.card-removal__matiere[_ngcontent-%COMP%]{max-width:120px}}.card-removal__number[_ngcontent-%COMP%]{width:44px;max-width:44px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}@media screen and (max-width: 768px){.card-removal__number[_ngcontent-%COMP%]{width:80px;max-width:80px}}.card-removal__wrapper--others[_ngcontent-%COMP%]{display:flex;column-gap:28px;margin-top:24px;min-height:calc(100% - 48px)}.card-removal__items--others[_ngcontent-%COMP%]{display:flex;flex-direction:column;row-gap:3px;flex:1}.card-removal__content--others[_ngcontent-%COMP%]{display:flex;align-items:center;column-gap:8px;font-size:12px;color:#666}"]})}}return t})();function Ei(t,i){if(t&1&&g(0,"div",2),t&2){let e=c();$("memo memo--",e.type,""),d("innerHTML",e.content,ot)}}function Ii(t,i){if(t&1&&(r(0,"div"),s(1,` Vous n'avez pas d'interlocuteur
2`),l()),t&2){let e=c();$("memo memo--",e.type,"")}}var Ke=(()=>{class t{constructor(){}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=O({type:t,selectors:[["memo"]],inputs:{type:"type",content:"content"},standalone:!0,features:[T],decls:2,vars:2,consts:[[3,"class","innerHTML",4,"ngIf"],[3,"class",4,"ngIf"],[3,"innerHTML"]],template:function(n,o){n&1&&m(0,Ei,1,4,"div",0)(1,Ii,2,3,"div",1),n&2&&(d("ngIf",o.content),a(),d("ngIf",!o.content))},dependencies:[F],styles:[".memo[_ngcontent-%COMP%]{background-color:#658d4c;border-radius:8px;color:#fff;font-size:14px;font-weight:500;padding:10px 6px;white-space:pre-wrap}.memo--long[_ngcontent-%COMP%]{display:flex;align-items:center;column-gap:6px}.memo--long__icon[_ngcontent-%COMP%]{width:16px;height:16px}.memo--short[_ngcontent-%COMP%]{line-height:1.6;margin-top:16px;padding:16px}"]})}}return t})();var{selectAll:Mi,selectEntities:Si}=rn.getSelectors(),Ae=C(G,t=>t.materials),Za=C(Ae,Si),Cn=C(Ae,Mi),Ua=C(Ae,t=>t.loading),Ya=C(Ae,t=>t.loaded);var Oi=()=>[1,2,3,4,5];function Ti(t,i){if(t&1&&(b(0),s(1),y()),t&2){let e=c(2).$implicit;a(),u(" - ",e==null?null:e.Matiere," ")}}function Pi(t,i){if(t&1&&(b(0),s(1," sur contenant "),r(2,"span",28),s(3),l(),m(4,Ti,2,1,"ng-container",17),y()),t&2){let e=c().$implicit;a(3),u("N\xB0",e.NumeroContenant,""),a(),d("ngIf",(e==null?null:e.Matiere)!=null&&(e==null?null:e.Matiere)!="")}}function Ri(t,i){if(t&1){let e=M();r(0,"div",20)(1,"div",21),g(2,"span",22),r(3,"div"),s(4," Non prise en charge d\xE9clar\xE9e par "),r(5,"span",23),s(6),l(),g(7,"br"),s(8," le "),r(9,"span",24),s(10),_(11,"date"),l(),s(12," \xE0 "),r(13,"span",25),s(14),_(15,"date"),l(),m(16,Pi,5,2,"ng-container",17),l()(),r(17,"div",26)(18,"button",27),w("click",function(){let o=E(e).$implicit,p=c(2);return I(p.liftStoppedRequest(o.Id))}),s(19," Lever cette non prise en charge "),l()()()}if(t&2){let e=i.$implicit;a(6),L("",e==null?null:e.AuteurNonPriseEnCharge," ",(e==null?null:e.OrigineDemande)==="Camion"?"\u{1F69B}":"",""),a(4),u(" ",v(11,5,e==null?null:e.DateNonPriseEnCharge,"dd/MM","Z"),""),a(4),u(" ",v(15,9,e==null?null:e.DateNonPriseEnCharge,"HH:mm","Z"),""),a(2),d("ngIf",(e==null?null:e.NumeroContenant)!=null&&(e==null?null:e.NumeroContenant)!="")}}function Ai(t,i){if(t&1&&(r(0,"div",29),s(1),l()),t&2){let e=i.ngIf;a(),u(" ",e," ")}}function Bi(t,i){if(t&1&&(r(0,"option",49),s(1),l()),t&2){let e=i.$implicit;d("value",e.Id),a(),u(" ",e.Label," ")}}function ki(t,i){t&1&&g(0,"div",50)}function Fi(t,i){if(t&1){let e=M();r(0,"button",51),w("click",function(){E(e);let o=c().index,p=c(3);return I(p.removeRow(o))}),g(1,"img",52),l()}}function Ni(t,i){if(t&1&&(r(0,"div",40),g(1,"input",41),r(2,"div",42)(3,"select",43),m(4,Bi,2,2,"option",44),_(5,"async"),l()(),g(6,"input",45)(7,"input",46),m(8,ki,1,0,"div",47)(9,Fi,2,0,"button",48),l()),t&2){let e,n,o=i.$implicit,p=i.index,f=c(3);d("formGroupName",p),a(),B("invalid-field",f.attemptedSubmission&&((e=o.get("containerNumber"))==null?null:e.invalid)),a(2),B("invalid-field",f.attemptedSubmission&&((n=o.get("material"))==null?null:n.invalid)),a(),d("ngForOf",D(
25,8,f.materials$)),a(4),d("ngIf",p===0),a(),d("ngIf",p>0)}}function qi(t,i){if(t&1){let e=M();r(0,"div",30)(1,"div",31)(2,"div",32),s(3,"N\xB0 contenant"),l(),r(4,"div",33),s(5,"Mati\xE8re"),l(),r(6,"div",34),s(7,"Poids (Kg)"),l(),r(8,"div",35),s(9,"Commentaire"),l()(),r(10,"form",36)(11,"div",37),m(12,Ni,10,10,"div",38),l(),r(13,"button",39),w("click",function(){E(e);let o=c(2);return I(o.addRow())}),s(14," + Ajouter un contenant "),l()()()}if(t&2){let e=c(2);a(10),d("formGroup",e.gridForm),a(2),d("ngForOf",e.rows.controls)}}function Li(t,i){if(t&1){let e=M();r(0,"button",58),w("click",function(){let o=E(e).$implicit,p=c(3);return I(p.selectButton(o))}),s(1),l()}if(t&2){let e=i.$implicit,n=c(3);B("modal__choices-button--active",n.selectedButton===e),a(),u(" ",e," ")}}function Vi(t,i){if(t&1){let e=M();r(0,"button",58),w("click",function(){E(e);let o=c(3);return I(o.selectButton(o.selectedButton-1))}),s(1),g(2,"br"),s(3,"- "),l()}if(t&2){let e=c(3);B("modal__choices-button--active",e.selectedButton>5),a(),u(" ",e.selectedButton,"")}}function ji(t,i){if(t&1){let e=M();r(0,"div",53)(1,"div",54),s(2,"Nombre de contenant \xE0 enlever"),l(),r(3,"div",55),m(4,Li,2,3,"button",56)(5,Vi,4,3,"button",57),r(6,"button",58),w("click",function(){E(e);let o=c(2);return I(o.selectedButton>=6?o.selectButton(o.selectedButton+1):o.selectButton(6))}),s(7," + "),l()()()}if(t&2){let e=c(2);a(4),d("ngForOf",pt(2,Oi)),a(),d("ngIf",e.selectedButton>=6)}}function $i(t,i){if(t&1){let e=M();r(0,"button-primary",59),w("action",function(){E(e);let o=c(2);return I(o.sendForm())}),s(1," Valider ma demande "),l()}t&2&&d("borderRadius",!1)}function Hi(t,i){if(t&1){let e=M();r(0,"button-primary",60),w("action",function(){E(e);let o=c(2);return I(o.sendFormOthers())}),s(1," Valider ma demande "),l()}if(t&2){let e=c(2);d("borderRadius",!1)("isDisabled",!e.selectedButton)}}function zi(t,i){t&1&&(r(0,"div",63),s(1," Demandes \xE0 traiter "),l())}function Gi(t,i){if(t&1&&(b(0),r(1,"div",72),s(2),l(),r(3,"div",72),s(4),l(),y()),t&2){let e=c().$implicit;a(2),u(" ",(e==null?null:e.NumeroContenant)!==""?"N\xB0"+(e==null?null:e.NumeroContenant):"-"," "),a(2),A(e==null?null:e.Matiere)}}function Zi(t,i){if(t&1){let e=M();r(0,"button-primary",73),w("action",function(){E(e);let o=c().$implicit,p=c(3);return I(p.deleteRequest(o.Id))}),l()}if(t&2){let e=c(4);d("type",e.buttonTags.BUTTON)("size","small")("color",e.baudeletColors.RED)}}function Ui(t,i){if(t&1&&(r(0,"div",64)(1,"div",65),g(2,"span",66),r(3,"div",67),s(4),_(5,"date"),l(),r(6,"div",68),s(7),_(8,"date"),l(),m(9,Gi,5,2,"ng-container",17),l(),r(10,"div",69)(11,"div",70),s(12),l(),m(13,Zi,1,3,"button-primary",71),l()()),t&2){let e=i.$implicit,n=c(2).ngIf;a(4),u(" ",v(5,6,e==null?null:e.DateCreation,"dd/MM","Z")," "),a(3),u(" ",v(8,10,e==null?null:e.DateCreation,"HH:mm","Z")," "),a(2),d("ngIf",n==="BennesIdentifies"),a(3),L(" ",e==null?null:e.AuteurDemande," ",(e==null?null:e.OrigineDemande)==="Camion"?"\u{1F69B}":""," "),a(),lt(e.Statut==="todo"?13:-1)}}function Yi(t,i){if(t&1&&(b(0),m(1,zi,2,0,"div",61)(2,Ui,14,14,"div",62),y()),t&2){let e=i.ngIf;a(),d("ngIf",e.length>0),a(),d("ngForOf",e)}}function Wi(t,i){t&1&&(r(0,"div",63),s(1," Non prise en charge "),l())}function Qi(t,i){if(t&1&&(b(0),r(1,"div",67),s(2),_(3,"date"),l(),r(4,"div",68),s(5),_(6,"date"),l(),y()),t&2){let e=c().$implicit;a(2),u(" ",v(3,2,e==null?null:e.DatePriseEnCharge,"dd/MM","Z")," "),a(3),u(" ",v(6,6,e==null?null:e.DatePriseEnCharge,"HH:mm","Z")," ")}}function Ki(t,i){if(t&1&&(b(0),r(1,"div",67),s(2),_(3,"date"),l(),r(4,"div",68),s(5),_(6,"date"),l(),y()),t&2){let e=c().$implicit;a(2),u(" ",v(3,2,e==null?null:e.DateNonPriseEnCharge,"dd/MM","Z")," "),a(3),u(" ",v(6,6,e==null?null:e.DateNonPriseEnCharge,"HH:mm","Z")," ")}}function Ji(t,i){if(t&1&&(b(0),r(1,"div",72),s(2),l(),r(3,"div",72),s(4),l(),y()),t&2){let e=c().$implicit;a(2),u(" ",(e==null?null:e.NumeroContenant)!==""?"N\xB0"+(e==null?null:e.NumeroContenant):"-"," "),a(2),A(e==null?null:e.Matiere)}}function Xi(t,i){if(t&1&&(r(0,"div",64)(1,"div",65),g(2,"span",75),m(3,Qi,7,10,"ng-container",17)(4,Ki,7,10,"ng-container",17)(5,Ji,5,2,"ng-container",17),l(),r(6,"div",69)(7,"div",70),s(8),l()()()),t&2){let e=i.$implicit,n=c(2).ngIf;B("modal__board-row--overline",(e==null?null:e.DateLevageNonPriseEnCharge)!==""&&(e==null?null:e.AuteurLevageNonPriseEnCharge)),a(3),d("ngIf",e==null?null:e.DatePriseEnCharge),a(),d("ngIf",e==null?null:e.DateNonPriseEnCharge),a(),d("ngIf",n==="BennesIdentifies"),a(3),L(" ",e==null?null:e.AuteurNonPriseEnCharge," ",(e==null?null:e.OrigineDemande)==="Camion"?"\u{1F69B}":""," ")}}function eo(t,i){if(t&1&&(b(0),m(1,Wi,2,0,"div",61)(2,Xi,9,7,"div",74),y()),t&2){let e=i.ngIf;a(),d("ngIf",e.length>0),a(),d("ngForOf",e)}}function to(t,i){t&1&&(r(0,"div",63),s(1," Demandes collect\xE9es "),l())}function no(t,i){if(t&1&&(b(0),r(1,"div",72),s(2),l(),r(3,"div",72),s(4),l(),y()),t&2){let e=c().$implicit;a(2),u(" ",(e==null?null:e.NumeroContenant)!==""?"N\xB0"+(e==null?null:e.NumeroContenant):"-"," "),a(2),A(e==null?null:e.Matiere)}}function io(t,i){if(t&1&&(r(0,"div",64)(1,"div",65),g(2,"span",76),r(3,"div",67),s(4),_(5,"date"),l(),r(6,"div",68),s(7),_(8,"date"),l(),m(9,no,5,2,"ng-container",17),l(),r(10,"div",69)(11,"div",70),s(12),l(
2)()()),t&2){let e=i.$implicit,n=c(2).ngIf;a(4),u(" ",v(5,5,e==null?null:e.DatePriseEnCharge,"dd/MM","Z")," "),a(3),u(" ",v(8,9,e==null?null:e.DatePriseEnCharge,"HH:mm","Z")," "),a(2),d("ngIf",n==="BennesIdentifies"),a(3),L(" ",e==null?null:e.AuteurPriseEnCharge," ",(e==null?null:e.OrigineDemande)==="Camion"?"\u{1F69B}":""," ")}}function oo(t,i){if(t&1&&(b(0),m(1,to,2,0,"div",61)(2,io,13,13,"div",62),y()),t&2){let e=i.ngIf;a(),d("ngIf",e.length>0),a(),d("ngForOf",e)}}function ao(t,i){if(t&1){let e=M();r(0,"div",1),m(1,Ri,20,13,"div",2),_(2,"async"),r(3,"div",3)(4,"div",4)(5,"div",5),g(6,"img",6),m(7,Ai,2,1,"div",7),_(8,"async"),r(9,"div",8),s(10,"Demander une collecte"),l()(),m(11,qi,15,2,"div",9)(12,ji,8,3,"div",10),r(13,"div",11),m(14,$i,2,1,"button-primary",12),l(),r(15,"div",11),m(16,Hi,2,2,"button-primary",13),l()(),r(17,"div",14)(18,"img",15),w("click",function(){E(e);let o=c();return I(o.closeDialog())}),l(),r(19,"div",16),s(20,"Journal des demandes"),l(),m(21,Yi,3,2,"ng-container",17),_(22,"async"),m(23,eo,3,2,"ng-container",17),_(24,"async"),m(25,oo,3,2,"ng-container",17),_(26,"async"),r(27,"div",18)(28,"button-primary",19),w("action",function(){E(e);let o=c();return I(o.closeDialogAndRedirectToHistory())}),l()()()()()}if(t&2){let e=i.ngIf,n=c();a(),d("ngForOf",D(2,10,n.currentRequestsStoppedNoLifted$)),a(6),d("ngIf",D(8,12,n.labelCurrentRequests$)),a(4),d("ngIf",e==="BennesIdentifies"),a(),d("ngIf",e==="Autre"),a(2),d("ngIf",e==="BennesIdentifies"),a(2),d("ngIf",e==="Autre"),a(5),d("ngIf",D(22,14,n.currentRequestsTodo$)),a(2),d("ngIf",D(24,16,n.currentRequestsStopped$)),a(2),d("ngIf",D(26,18,n.currentRequestsDone$)),a(3),d("borderRadius",!1)}}var Je=(()=>{class t{constructor(e,n,o,p){this.data=e,this.dialogRef=n,this.formBuilder=o,this.store=p,this.attemptedSubmission=!1,this.buttonTags=be,this.baudeletColors=bt}ngOnInit(){this.gridForm=this.formBuilder.group({rows:this.formBuilder.array([])}),this.addRow(),this.labelCurrentRequests$=this.store.select(Wt),this.currentRequestsDone$=this.store.select(Qt),this.currentRequestsTodo$=this.store.select(Xt),this.currentRequestsStopped$=this.store.select(Kt),this.currentRequestsStoppedNoLifted$=this.store.select(Jt),this.materials$=this.store.select(Cn),this.delegateType$=this.store.select(Ce)}get rows(){return this.gridForm.get("rows")}addRow(){this.attemptedSubmission=!1,this.rows.push(this.formBuilder.group({containerNumber:[""],material:["",Ot.required],weight:[""],comment:[""]}))}removeRow(e){e>0&&this.rows.removeAt(e)}closeDialog(){this.dialogRef.close()}closeDialogAndRedirectToHistory(){this.dialogRef.close(),this.store.dispatch(ft({path:["/delegate/history"]}))}sendForm(){if(this.attemptedSubmission=!0,this.gridForm.valid){this.dialogRef.close();let e=this.gridForm.value.rows;this.store.dispatch(Ut({formValues:e}))}}sendFormOthers(){this.dialogRef.close(),this.store.dispatch(Yt({quantity:this.selectedButton}))}liftStoppedRequest(e){this.dialogRef.close(),this.store.dispatch(Gt({id:e}))}deleteRequest(e){this.dialogRef.close(),this.store.dispatch(Zt({id:e}))}selectButton(e){this.selectedButton=e}static{this.\u0275fac=function(n){return new(n||t)(x(Ze),x(le),x(Vt),x(K))}}static{this.\u0275cmp=O({type:t,selectors:[["modal-delegate"]],standalone:!0,features:[T],decls:2,vars:3,consts:[["class","modal",4,"ngIf"],[1,"modal"],["class","modal__alert",4,"ngFor","ngForOf"],[1,"modal__content"],[1,"modal__content-left"],[1,"modal__location"],["src","assets/icons/dumpster.svg","alt","Benne",1,"modal__location-dumpster"],["class","modal__location-title",4,"ngIf"],[1,"modal__location-subtitle"],["class","modal__form",4,"ngIf"],["class","modal__choices",4,"ngIf"],[1,"modal__button","center"],[3,"borderRadius","action",4,"ngIf"],[3,"borderRadius","isDisabled","action",4,"ngIf"],[1,"modal__content-right"],["src","assets/icons/cross.svg","alt","Fermer la modal",1,"modal__content-close",3,"click"],[1,"modal__board-heading"],[4,"ngIf"],[1,"modal__button"],["text","Voir l'historique complet",3,"action","borderRadius"],[1,"modal__alert"],[1,"modal__alert-left"],[1,"bullet","bullet--stopped","bullet--large"],[1,"modal__alert-name"],[1,"modal__alert-date"],[1,"modal__alert-time"],[1,"modal__alert-right"],[1,"modal__alert-button",3,"click"],[1,"modal__alert-id"],[1,"modal__location-title"],[1,"modal__form"],[1,"modal__form-heading"],[1,"modal__form-number"],[1,"modal__form-material"],[1,"modal__form-weight"],[1,"modal__form-comment"],[3,"formGroup"],["formArrayName","rows"],["class","modal__form-row",3,"formGroupName",4,"ngFor","ngForOf"],["type","button",1,"modal__form-add",3,"click"],[1,"modal__form-row",3,"formGroupName"],["formControlName","containerNumber",1,"modal__form-input","modal__form-input--small"],[1,"select-wrapper"],["formControlName","material",1,"modal__form-input"],[3,"value",4,"ngFor","ngForOf"],["formControlName","weight",1,"modal__form-input","modal__form-input--small"],["formControlName","comment",1,"modal__form-input","modal__form-input--full"],["class","modal__form-spacing",4,"ngIf"],["class","modal__form-delete","type","button",3,"click",4,"ngIf"],[3,"value"],[1,"modal__form-spacing"],["type","button",1,"modal__form-delete",3,"click"],["src","assets/icons/poubelle.svg","alt","Supprimer"],[1,"modal__choices"],[1,"modal__choices-title"],[1,"modal__choices-wrapper"],["class","modal__choices-button",3,"modal__choices-button--active","click",4,"ngFor","ngForOf"],["class","modal__choices-button",3,"modal__choices-button--active","click",4,"ngIf"],[1,"modal__choices-button",3,"click"],[3,"action","borderRadius"],[3,"action","borderRadius","isDisabled"],["class","modal__board-title",4,"ngIf"],["class","modal__board-row",4,"ngFor","ngForOf"],[1,"modal__board-title"],[1,"modal__board-row"],[1,"modal__board-row--left"],[1,"bullet","bullet--todo"],[1,"modal__board-row-date"],[1,"modal__board-row-time"],[1,"modal__board-row--right"],[1,"modal__board-row-identity"],["text","Supprimer",3,"type","size","color"],[1,"modal__board-row-number"],["text","Supprimer",3,"action","type","size","color"],["class","modal__board-row",3,"modal__board-row--overline",4,"ngFor","ngForOf"],[1,"bullet","bullet--stopped"],[1,"bullet","bullet--done"]],template:function(n,o){n&1&&(m(0,ao,29,20,"div",0),_(1,"async")),n&2&&d("ngIf",D(1,1,o.delegateType$))},dependencies:[W,Q,jt,Rt,qt,Lt,St,Nt,Tt,Pt,$t,At,Ft,Bt,kt,F,H,ye,Pe,wt],styles:['@charset "UTF-8";.modal[_ngcontent-%COMP%]{width:100%}.modal__button[_ngcontent-%COMP%]{margin:5px 0}.modal__button.center[_ngcontent-%COMP%]{display:flex;justify-content:center}.modal__alert[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;background-color:#ffdcdc;border-bottom:1px solid #f3b9b9;padding:8px 16px}@media screen and (max-width: 1060px){.modal__alert[_ngcontent-%COMP%]{column-gap:24px}}.modal__alert-left[_ngcontent-%COMP%]{display:flex;align-items:center;column-gap:18px;font-size:14px;line-height:1.5}
2.modal__alert-time[_ngcontent-%COMP%], .modal__alert-name[_ngcontent-%COMP%], .modal__alert-date[_ngcontent-%COMP%]{font-weight:700}.modal__alert-button[_ngcontent-%COMP%]{cursor:pointer;color:#fff;background-color:red;border-radius:3px;font-size:12px;font-weight:500;outline:none;border:none;padding:10px;transition:background-color .2s ease-in-out}.modal__alert-button[_ngcontent-%COMP%]:hover{background-color:#e60000}.modal__content[_ngcontent-%COMP%]{display:flex;min-height:400px}@media screen and (max-width: 1060px){.modal__content[_ngcontent-%COMP%]{flex-direction:column}}.modal__content-left[_ngcontent-%COMP%]{flex:1 1 60%;padding:24px;border-right:1px solid #d9d9d9}@media screen and (max-width: 1060px){.modal__content-left[_ngcontent-%COMP%]{border-right:none;border-bottom:1px solid #d9d9d9}}.modal__content-right[_ngcontent-%COMP%]{flex:1 1 40%;padding:24px;background-color:#f6f6f6}.modal__content-close[_ngcontent-%COMP%]{cursor:pointer;display:block;margin-left:auto}.modal__location[_ngcontent-%COMP%]{display:flex;align-items:center;flex-direction:column;row-gap:8px}.modal__location-dumpster[_ngcontent-%COMP%]{width:64px}.modal__location-title[_ngcontent-%COMP%]{font-size:24px;font-weight:500}.modal__location-subtitle[_ngcontent-%COMP%]{font-size:16px;font-weight:500}.modal__choices-title[_ngcontent-%COMP%]{color:#8b8b8b;font-size:12px;text-align:center;margin-top:8px}.modal__choices-wrapper[_ngcontent-%COMP%]{display:flex;justify-content:center;column-gap:6px;margin-top:16px}.modal__choices-button[_ngcontent-%COMP%]{cursor:pointer;outline:none;border:none;border-radius:3px;width:44px;height:44px;display:flex;align-items:center;justify-content:center}.modal__choices-button--active[_ngcontent-%COMP%]{background-color:#fff;border:3px solid #8fb91e}.modal__form[_ngcontent-%COMP%]{display:flex;flex-direction:column;margin-top:20px}.modal__form-heading[_ngcontent-%COMP%]{display:flex;font-size:12px}.modal__form-number[_ngcontent-%COMP%]{width:100px}.modal__form-material[_ngcontent-%COMP%]{margin-left:5px;width:160px!important}.modal__form-weight[_ngcontent-%COMP%]{margin-left:5px;width:100px}.modal__form-comment[_ngcontent-%COMP%]{margin-left:5px}.modal__form-add[_ngcontent-%COMP%]{margin-top:10px;cursor:pointer;display:flex;align-items:center;background-color:transparent;color:#333;font-size:12px;font-weight:500;border:1px solid #333333;outline:none;border-radius:4px;padding:8px}.modal__form-input[_ngcontent-%COMP%]{color:#333;font-size:14px;border:1px solid #e6e6e6;border-radius:3px;padding:14px}.modal__form-input--small[_ngcontent-%COMP%]{width:100px}.modal__form-input--full[_ngcontent-%COMP%]{flex:1}.modal__form-row[_ngcontent-%COMP%]{display:flex;column-gap:5px;margin-top:6px}.modal__form-button[_ngcontent-%COMP%]{border-radius:4px;margin-top:10px}.modal__form-button--others[_ngcontent-%COMP%]{display:flex;margin:30px auto 0}.modal__form-spacing[_ngcontent-%COMP%]{width:30px;height:22px}.modal__form-delete[_ngcontent-%COMP%]{width:30px;cursor:pointer;border:none;background:none}.modal__form-delete[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:19px;height:22px}.modal__board[_ngcontent-%COMP%]{margin-top:12px}.modal__board-heading[_ngcontent-%COMP%]{font-size:16px;font-weight:500}.modal__board-title[_ngcontent-%COMP%]{position:relative;font-size:14px;margin-bottom:16px;margin-top:24px}.modal__board-title[_ngcontent-%COMP%]:before{position:absolute;content:"";width:100%;height:1px;background-color:#ddd;bottom:-8px}.modal__board-row[_ngcontent-%COMP%]{position:relative;display:flex;align-items:center;justify-content:space-between;font-size:12px;margin-top:4px}.modal__board-row--overline[_ngcontent-%COMP%]:before{content:"";position:absolute;width:100%;height:1px;background-color:#000}.modal__board-row--left[_ngcontent-%COMP%]{display:flex;column-gap:6px}.modal__board-row--right[_ngcontent-%COMP%]{display:flex;column-gap:6px;align-items:center;flex-direction:row}@media screen and (max-width: 1280px){.modal__board-row--right[_ngcontent-%COMP%]{flex-direction:column}}.modal__board-button[_ngcontent-%COMP%]{border-radius:4px;margin-top:40px}select[_ngcontent-%COMP%]{appearance:none;-webkit-appearance:none;-moz-appearance:none;background:transparent;width:100%}.select-wrapper[_ngcontent-%COMP%]{position:relative;display:inline-block;flex:1;width:160px!important;max-width:160px!important;min-width:160px!important}.select-wrapper[_ngcontent-%COMP%]:after{content:"\\25bc";position:absolute;right:10px;top:50%;color:#e6e6e6;transform:translateY(-50%);pointer-events:none}.invalid-field[_ngcontent-%COMP%]{border-color:red!important}']})}}return t})();function ro(t,i){return t.reduce((e,n)=>{let o=i(n);return(e[o]=e[o]||[]).push(n),e},{})}function bn(t,i){let e=ro(t,o=>o.Emplacement.IdEmplacement),n=[];
2return i.forEach(o=>{e[o.IdEmplacement]?n.push({id:o.IdEmplacement,label:o.Label,requests:e[o.IdEmplacement],locationData:o}):n.push({id:o.IdEmplacement,label:o.Label,requests:[],locationData:o})}),n.forEach(o=>{o.requests=o.requests.sort((p,f)=>new Date(f.DateCreation).getTime()-new Date(p.DateCreation).getTime())}),n}var{selectAll:lo,selectEntities:so}=on.getSelectors(),Be=C(G,t=>t.requests),Tr=C(Be,so),co=C(Be,lo),yn=C(co,sn,(t,i)=>bn(t,i)),Pr=C(Be,t=>t.loading),Dn=C(Be,t=>t.loaded);var Xe=C(G,t=>t.notes),wn=C(Xe,t=>t.notes?t.notes[0]:null),En=C(wn,t=>t?.Note),In=C(wn,t=>t?.ContactInfo),kr=C(Xe,t=>t.loading),Mn=C(Xe,t=>t.loaded);var et=t=>({loaded:t}),Sn=t=>({"delegate__right-switch-item--active":t});function mo(t,i){t&1&&g(0,"img",9)}function po(t,i){if(t&1&&g(0,"tag",10)(1,"tag",11)(2,"tag",12),t&2){let e=c(2);d("status",e.statusTag.WARNING),a(),d("status",e.statusTag.ERROR)}}function _o(t,i){t&1&&(r(0,"banner",8),m(1,mo,1,0,"ng-template",null,2,P)(3,po,3,2,"ng-template",null,3,P),l())}function uo(t,i){if(t&1&&(b(0),g(1,"alert",21),y()),t&2){let e=i.ngIf;a(),d("message",e)}}function go(t,i){if(t&1&&(b(0),m(1,uo,2,1,"ng-container",15),_(2,"async"),y()),t&2){let e=c(3);a(),d("ngIf",D(2,1,e.note$))}}function fo(t,i){t&1&&g(0,"div",22)}function ho(t,i){if(t&1&&(b(0),m(1,go,3,3,"ng-container",20)(2,fo,1,0,"ng-template",null,4,P),y()),t&2){let e=i.ngIf,n=k(3);a(),d("ngIf",e.loaded)("ngIfElse",n)}}function vo(t,i){if(t&1){let e=M();r(0,"card-removal",24),_(1,"async"),w("openDialog",function(o){E(e);let p=c(5);return I(p.openDialog(o))}),l()}if(t&2){let e=i.$implicit,n=c(5);d("location",e.label)("locationId",e.id)("locationData",e.locationData)("requests",e.requests)("delegateType",D(1,5,n.delegateType$))}}function xo(t,i){if(t&1&&(b(0),m(1,vo,2,7,"card-removal",23),_(2,"async"),y()),t&2){let e=c(4);a(),d("ngForOf",D(2,1,e.requests$))}}function Co(t,i){t&1&&g(0,"alert",25)}function bo(t,i){if(t&1&&(b(0),m(1,xo,3,3,"ng-container",20),_(2,"async"),m(3,Co,1,0,"ng-template",null,6,P),y()),t&2){let e,n=k(4),o=c(3);a(),d("ngIf",(e=D(2,2,o.requests$))==null?null:e.length)("ngIfElse",n)}}function yo(t,i){t&1&&g(0,"div",26)(1,"div",26)(2,"div",26)(3,"div",26)(4,"div",26)(5,"div",26)}function Do(t,i){if(t&1&&(b(0),m(1,bo,5,4,"ng-container",20)(2,yo,6,0,"ng-template",null,5,P),y()),t&2){let e=i.ngIf,n=k(3);a(),d("ngIf",e.loaded)("ngIfElse",n)}}function wo(t,i){if(t&1){let e=M();r(0,"div",36)(1,"div",37),w("click",function(){E(e);let o=c(3);return I(o.setActiveView(o.ViewMode.PROFIL))}),s(2," vue "),g(3,"br"),r(4,"span"),s(5,"profil"),l()(),r(6,"div",37),w("click",function(){E(e);let o=c(3);return I(o.setActiveView(o.ViewMode.DUMPSTER))}),s(7," vue "),g(8,"br"),r(9,"span"),s(10,"benne"),l()()()}if(t&2){let e=c(3);a(),d("ngClass",Y(2,Sn,e.activeView===e.ViewMode.PROFIL)),a(5),d("ngClass",Y(4,Sn,e.activeView===e.ViewMode.DUMPSTER))}}function Eo(t,i){if(t&1&&(b(0),g(1,"memo",38),_(2,"async"),y()),t&2){let e=c(4);a(),d("type","short")("content",D(2,2,e.contactInfo$))}}function Io(t,i){t&1&&g(0,"div",39)}function Mo(t,i){if(t&1&&(b(0),m(1,Eo,3,4,"ng-container",20)(2,Io,1,0,"ng-template",null,4,P),y()),t&2){let e=i.ngIf,n=k(3);a(),d("ngIf",e.loaded)("ngIfElse",n)}}function So(t,i){if(t&1&&(r(0,"div",27)(1,"div",28)(2,"div",29),s(3,"Journal des demandes"),l(),m(4,wo,11,6,"div",30),l(),r(5,"div",31),g(6,"board",32),_(7,"async"),_(8,"async"),_(9,"async"),r(10,"div",33),g(11,"button-primary",34),l()(),r(12,"div",35),s(13," Mon interlocuteur SATC "),l(),m(14,Mo,4,2,"ng-container",15),_(15,"async"),l()),t&2){let e=i.ngIf,n=c(2);a(4),d("ngIf",e==="BennesIdentifies"),a(2),d("view",n.activeView)("boardRequestsTodo",D(7,8,n.boardRequestsTodo$))("boardRequestsDone",D(8,10,n.boardRequestsDone$))("boardRequestsStopped",D(9,12,n.boardRequestsStopped$))("delegateType",e),a(5),d("type",n.buttonTags.LINK),a(3),d("ngIf",Y(16,et,D(15,14,n.allNotesLoaded$)))}}function Oo(t,i){if(t&1&&(r(0,"div",13)(1,"div",14),m(2,ho,4,2,"ng-container",15),_(3,"async"),r(4,"div",16)(5,"span",17),s(6," Demandes d'enl\xE8vement "),l()(),r(7,"div",18),m(8,Do,4,2,"ng-container",15),_(9,"async"),l()(),m(10,So,16,18,"div",19),_(11,"async"),l()),t&2){let e=c();a(2),d("ngIf",Y(9,et,D(3,3,e.allNotesLoaded$))),a(6),d("ngIf",Y(11,et,D(9,5,e.requestsLoaded$))),a(2),d("ngIf",D(11,7,e.delegateType$))}}var al=(()=>{class t{constructor(e,n){this.store=e,this.dialog=n,this.statusTag=xt,this.buttonTags=be,this.ViewMode=oe,this.activeView=oe.PROFIL}ngOnInit(){this.store.dispatch(en()),this.store.dispatch(Ht()),this.store.dispatch(nn()),this.requests$=this.store.select(yn),this.requestsLoaded$=this.store.select(Dn),this.boardRequestsStopped$=this.store.select(hn),this.boardRequestsTodo$=this.store.select(vn),this.boardRequestsDone$=this.store.select(fn),this.delegateType$=this.store.select(Ce),this.note$=this.store.select(En),this.contactInfo$=this.store.select(In),this.allNotesLoaded$=this.store.select(Mn)}setActiveView(e){this.activeView=e}openDialog(e){this.store.dispatch(zt({data:e})),this.store.dispatch(tn({placeId:e.locationData.IdLieu})),this.dialog.open(Je,{panelClass:"modal-delegate"})}static{this.\u0275fac=function(n){return new(n||t)(x(K),x(Ue))}}static{this.\u0275cmp=O({type:t,selectors:[["app-delegate"]],standalone:!0,features:[T],decls:6,vars:0,consts:[["banner",""],["content",""],["icon",""],["right",""],["shimmerBlock",""],["shimmerCards",""],["noRequests",""],[1,"delegate"],["title","Ma Gestion d\xE9l\xE9gu\xE9e"],["src","assets/icons/traffic-light.svg","alt",""],["text","Demande \xE0 traiter",3,"status"],["text","Non prise en charge",3,"status"],["text","Collect\xE9e"],[1,"delegate__content"],[1,"delegate__left"],[4,"ngIf"],[1,"delegate__heading"],[1,"delegate__left-title"],[1,"delegate__cards"],["class","delegate__right",4,"ngIf"],[4,"ngIf","ngIfElse"],["type","orange",3,"message"],[1,"delegate__block--loader"],[3,"location","locationId","locationData","requests","delegateType","openDialog",4,"ngFor","ngForOf"],[3,"openDialog","location","locationId","locationData","requests","delegateType"],["message","0 demande d'enl\xE8vement disponible actuellement","type","rouge"],[1,"delegate__card--loader"],[1,"delegate__right"],[1,"delegate__right-heading"],[1,"delegate__right-title"],["class","delegate__right-switch",4,"ngIf"],[1,"delegate__right-board"],[3,"view","boardRequestsTodo","boardRequestsDone","boardRequestsStopped","delegateType"],[1,"delegate__button"],["text","Voir l'historique complet","url","history",3,"type"],[1,"delegate__right-title","delegate__right-title--spacing"],[1,"delegate__right-switch"],[1,"delegate__right-switch-item",3,"click","ngClass"],[3,"type","content"],[1,"delegate__block--loader","delegate__block--loader--small"]],template:function(n,o){n&1&&(r(0,"section",7)(1,"layout"),m(2,_o,5,0,"ng-template",null,0,P)(4,Oo,12,13,"ng-template",null,1,P),l()())},dependencies:[W,ht,Ct,We,Qe,vt,Pe,Ke,gt,F,H,ln,ye],styles:['.delegate__content[_ngcontent-%COMP%]{display:flex;column-gap:50px}@media screen and (max-width: 1060px){.delegate__content[_ngcontent-%COMP%]{flex-wrap:wrap;row-gap:24px}}.delegate__left[_ngcontent-%COMP%]{flex:1 1 70%}@media screen and (max-width: 1120px){.delegate__left[_ngcontent-%COMP%]{flex:1 1 100%}}.delegate__left-title[_ngcontent-%COMP%]{font-weight:700;color:#658d4c;font-size:18px}.delegate__button[_ngcontent-%COMP%]{margin:5px 0}.delegate__heading[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center}@media screen and (max-width: 768px){.delegate__heading[_ngcontent-%COMP%]{flex-direction:column;row-gap:12px;align-items:start;padding-bottom:20px}}.delegate__title[_ngcontent-%COMP%]{font-size:21px;font-weight:500}.delegate__captions[_ngcontent-%COMP%]{display:flex;column-gap:12px;font-size:14px}@media screen and (max-width: 1120px){.delegate__captions[_ngcontent-%COMP%]{flex-direction:column}}.delegate__caption[_ngcontent-%COMP%]{display:flex;align-items:center;column-gap:6px}.delegate__cards[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;align-items:stretch;gap:44px;margin-top:24px}.delegate__right[_ngcontent-%COMP%]{flex:1 1 30%;min-width:300px}@media screen and (max-width: 1120px){.delegate__right[_ngcontent-%COMP%]{flex:1 1 100%}}.delegate__right-heading[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center}.delegate__right-title[_ngcontent-%COMP%]{font-size:18px;font-weight:700;color:#658d4c}.delegate__right-title--spacing[_ngcontent-%COMP%]{margin-top:16px}.delegate__right-switch[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;column-gap:4px;background-color:#fff;border-radius:100px;padding:3px}.delegate__right-switch-item[_ngcontent-%COMP%]{cursor:pointer;font-size:10px;text-align:center;border-radius:100px;line-height:.9;padding:4px 12px}.delegate__right-switch-item[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-weight:700}.delegate__right-switch-item--active[_ngcontent-%COMP%]{background-color:#8fb91e;color:#fff;cursor:default}.delegate__right-board[_ngcontent-%COMP%]{background-color:#fff;margin-top:16px;padding:16px}.delegate__button[_ngcontent-%COMP%]{border-radius:4px;margin-top:24px}.delegate__card--loader[_ngcontent-%COMP%]{position:relative;overflow:hidden;flex-basis:282px;flex-grow:1;flex-shrink:1;background:#f1f1f1;border-radius:4px;min-height:220px;height:100%;top:0;left:0}.delegate__card--loader[_ngcontent-%COMP%]:before{animation-duration:1.5s;animation-fill-mode:forwards;animation-iteration-count:infinite;animation-timing-function:linear;animation-name:placeHolderShimmer;background:linear-gradient(to right,#f1f1f1,#dededeb3,#f1f1f1 50%);background-size:100%;content:"";height:100%;position:absolute;width:100%}.delegate__block--loader[_ngcontent-%COMP%]{position:relative;overflow:hidden;width:100%;height:42px;background:#f1f1f1}.delegate__block--loader--small[_ngcontent-%COMP%]{height:140px;margin-top:16px}.delegate__block--loader[_ngcontent-%COMP%]:before{animation-duration:1.5s;animation-fill-mode:forwards;animation-iteration-count:infinite;animation-timing-function:linear;animation-name:placeHolderShimmer;background:linear-gradient(to right,#f1f1f1,#dededeb3,#f1f1f1 50%);background-size:100%;content:"";height:100%;position:absolute;width:100%}']})}}return t})();export{al as DelegateComponent};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.