PageSourceSearch

https://topografiapamieci.pl/chunk-LWTRKZFA.js

js topografiapamieci.pl collected 2026-10-08 12:04:20 UTC 82,404 bytes, 3 lines download raw bytes

vendor: 39,060 bytes, lines 1-2
1import{a as pi}from"./chunk-3BCI2MAQ.js";import{a as lt,b as ct}from"./chunk-VDE6X6YM.js";import{b as zt}from"./chunk-SL7SMNQL.js";import{a as fe,b as _e,c as tt,d as it,e as ei,f as ti,g as ii,h as oi,i as si,j as ni,k as ri,l as ai,m as li,n as ci,o as di,p as hi}from"./chunk-HOH3WV5R.js";import{a as Be,b as me,c as et,f as Wt,g as qt,h as ot,i as Gt,j as Qt,k as st,l as nt,n as $t,o as Zt,p as Kt,q as Jt,r as rt,s as E,t as at}from"./chunk-NR6XLY2I.js";import{A as ue,D as te,E as Le,F as Xt,L as Ke,M as Je,N as ie,c as Oe,e as z,f as De,g as Re,j as ke,l as Me,n as Te,s as Ae,u as Ie}from"./chunk-S7LYEJVY.js";import{a as jt}from"./chunk-4GXCJFHC.js";import{m as Yt,o as Ht,w as ee,x as X,y as j}from"./chunk-24MP32AG.js";import{Ab as S,Bb as oe,Cb as se,Eb as A,Fb as P,Fc as Vt,Gb as D,Hc as Ut,Jc as H,Kb as Mt,Lb as Tt,Mb as At,Nb as B,Ob as J,Q as G,Ra as l,Rb as N,Tb as It,Ua as Se,Ub as f,V as Q,Va as xt,Vb as Y,W as ce,Wb as v,Xb as Lt,Y as ge,Ya as Pe,_ as h,_a as Ot,a as $e,bb as k,bc as Bt,ca as Ce,cb as he,db as Ee,ea as w,f as U,fa as C,fb as Ze,ga as St,gb as Z,gc as p,ha as Pt,hc as u,ia as L,ja as q,jb as K,kb as pe,mc as ne,na as T,pb as Dt,pc as xe,qc as ve,ra as de,rb as x,rc as F,sb as O,ta as $,tc as Ft,u as wt,vb as Rt,wb as kt,xb as y,xc as Nt,y as Ct,ya as Et,yb as d,zb as c}from"./chunk-TH2R3M5J.js";import{a as W,b as bt}from"./chunk-GAL4ENT6.js";var ye=class{_attachedHost;attach(i){return this._attachedHost=i,i.attach(this)}detach(){let i=this._attachedHost;i!=null&&(this._attachedHost=null,i.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(i){this._attachedHost=i}},be=class extends ye{component;viewContainerRef;injector;projectableNodes;constructor(i,e,t,o){super(),this.component=i,this.viewContainerRef=e,this.injector=t,this.projectableNodes=o}},Fe=class extends ye{templateRef;viewContainerRef;context;injector;constructor(i,e,t,o){super(),this.templateRef=i,this.viewContainerRef=e,this.context=t,this.injector=o}get origin(){return this.templateRef.elementRef}attach(i,e=this.context){return this.context=e,super.attach(i)}detach(){return this.context=void 0,super.detach()}},dt=class extends ye{element;constructor(i){super(),this.element=i instanceof $?i.nativeElement:i}},ht=class{_attachedPortal;_disposeFn;_isDisposed=!1;hasAttached(){return!!this._attachedPortal}attach(i){if(i instanceof be)return this._attachedPortal=i,this.attachComponentPortal(i);if(i instanceof Fe)return this._attachedPortal=i,this.attachTemplatePortal(i);if(this.attachDomPortal&&i instanceof dt)return this._attachedPortal=i,this.attachDomPortal(i)}attachDomPortal=null;detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(i){this._disposeFn=i}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}},Ne=class extends ht{outletElement;_appRef;_defaultInjector;constructor(i,e,t){super(),this.outletElement=i,this._appRef=e,this._defaultInjector=t}attachComponentPortal(i){let e;if(i.viewContainerRef){let t=i.injector||i.viewContainerRef.injector,o=t.get(Ot,null,{optional:!0})||void 0;e=i.viewContainerRef.createComponent(i.component,{index:i.viewContainerRef.length,injector:t,ngModuleRef:o,projectableNodes:i.projectableNodes||void 0}),this.setDisposeFn(()=>e.destroy())}else{let t=this._appRef,o=i.injector||this._defaultInjector||L.NULL,n=o.get(Ce,t.injector);e=Nt(i.component,{elementInjector:o,environmentInjector:n,projectableNodes:i.projectableNodes||void 0}),t.attachView(e.hostView),this.setDisposeFn(()=>{t.viewCount>0&&t.detachView(e.hostView),e.destroy()})}return this.outletElement.appendChild(this._getComponentRootNode(e)),this._attachedPortal=i,e}attachTemplatePortal(i){let e=i.viewContainerRef,t=e.createEmbeddedView(i.templateRef,i.context,{injector:i.injector});return t.rootNodes.forEach(o=>this.outletElement.appendChild(o)),t.detectChanges(),this.setDisposeFn(()=>{let o=e.indexOf(t);o!==-1&&e.remove(o)}),this._attachedPortal=i,t}attachDomPortal=i=>{let e=i.element;e.parentNode;let t=this.outletElement.ownerDocument.createComment("dom-portal");e.parentNode.insertBefore(t,e),this.outletElement.appendChild(e),this._attachedPortal=i,super.setDisposeFn(()=>{t.parentNode&&t.parentNode.replaceChild(e,t)})};dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(i){return i.hostView.rootNodes[0]}};var ui=(()=>{class s{static \u0275fac=function(t){return new(t||s)};static \u0275mod=he({type:s});static \u0275inj=ce({})}return s})();var mi=Wt();function wi(s){return new Ve(s.get(_e),s.get(q))}var Ve=class{_viewportRuler;_previousHTMLStyles={top:"",left:""};_previousScrollPosition;_isEnabled=!1;_document;constructor(i,e){this._viewportRuler=i,this._document=e}attach(){}enable(){if(this._canBeEnabled()){let i=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=i.style.left||"",this._previousHTMLStyles.top=i.style.top||"",i.style.left=E(-this._previousScrollPosition.left),i.style.top=E(-this._previousScrollPosition.top),i.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let i=this._document.documentElement,e=this._document.body,t=i.style,o=e.style,n=t.scrollBehavior||"",r=o.scrollBehavior||"";this._isEnabled=!1,t.left=this._previousHTMLStyles.left,t.top=this._previousHTMLStyles.top,i.classList.remove("cdk-global-scrollblock"),mi&&(t.scrollBehavior=o.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),mi&&(t.scrollBehavior=n,o.scrollBehavior=r)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let e=this._document.documentElement,t=this._viewportRuler.getViewportSize();return e.scrollHeight>t.height||e.scrollWidth>t.width}};function Ci(s,i){return new Ue(s.get(fe),s.get(K),s.get(_e),i)}var Ue=class{_scrollDispatcher;_ngZone;_viewportRuler;_config;_scrollSubscription=null;_overlayRef;_initialScrollPosition;constructor(i,e,t,o){this._scrollDispatcher=i,this._ngZone=e,this._viewportRuler=t,this._config=o}attach(i){this._overlayRef,this._overlayRef=i}enable(){if(this._scrollSubscription)return;let i=this._scrollDispatcher.scrolled(0).pipe(Ct(e=>!e||!this._overlayRef.overlayElement.contains(e.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=i.subscribe(()=>{let e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=i.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}_detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}};var we=class{enable(){}disable(){}attach(){}};function pt(s,i){return i.some(e=>{let t=s.bottom<e.top,o=s.top>e.bottom,n=s.right<e.left,r=s.left>e.right;return t||o||n||r})}function fi(s,i){return i.some(e=>{let t=s.top<e.top,o=s.bottom>e.bottom,n=s.left<e.left,r=s.right>e.right;return t||o||n||r})}function le(s,i){return new Ye(s.get(fe),s.get(_e),s.get(K),i)}var Ye=class{_scrollDispatcher;_viewportRuler;_ngZone;_config;_scrollSubscription=null;_overlayRef;constructor(i,e,t,o){this._scrollDispatcher=i,this._viewportRuler=e,this._ngZone=t,this._config=o}attach(i){this._overlayRef,this._overlayRef=i}enable(){if(!this._scrollSubscription){let i=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(i).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:t,height:o}=this._viewportRuler.getViewportSize();pt(e,[{width:t,height:o,bottom:o,right:t,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}})}}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},Si=(()=>{class s{_injector=h(L);constructor(){}noop=()=>new we;close=e=>Ci(this._injector,e);block=()=>wi(this._injector);reposition=e=>le(this._injector,e);static \u0275fac=function(t){return new(t||s)};static \u0275prov=Q({token:s,factory:s.\u0275fac,providedIn:"root"})}return s})(),He=class{positionStrategy;scrollStrategy=new we;panelClass="";hasBackdrop=!1;backdropClass="cdk-overlay-dark-backdrop";disableAnimations;width;height;minWidth;minHeight;maxWidth;maxHeight;direction;disposeOnNavigation=!1;constructor(i){if(i){let e=Object.keys(i);for(let t of e)i[t]!==void 0&&(this[t]=i[t])}}};var Xe=class{connectionPair;scrollableViewProperties;constructor(i,e){this.connectionPair=i,this.scrollableViewProperties=e}};var Pi=(()=>{class s{_attachedOverlays=[];_document=h(q);_isAttached;constructor(){}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){let t=this._attachedOverlays.indexOf(e);t>-1&&this._attachedOverlays.splice(t,1),this._attachedOverlays.length===0&&this.detach()}static \u0275fac=function(t){return new(t||s)};static \u0275prov=Q({token:s,factory:s.\u0275fac,providedIn:"root"})}return s})(),Ei=(()=>{class s extends Pi{_ngZone=h(K);_renderer=h(Se).createRenderer(null,null);_cleanupKeydown;add(e){super.add(e),this._isAttached||(this._ngZone.runOutsideAngular(()=>{this._cleanupKeydown=this._renderer.listen("body","keydown",this._keydownListener)}),this._isAttached=!0)}detach(){this._isAttached&&(this._cleanupKeydown?.(),this._isAttached=!1)}_keydownListener=e=>{let t=this._attachedOverlays;for(let o=t.length-1;o>-1;o--)if(t[o]._keydownEvents.observers.length>0){this._ngZone.run(()=>t[o]._keydownEvents.next(e));break}};static \u0275fac=(()=>{let e;return function(o){return(e||(e=de(s)))(o||s)}})();static \u0275prov=Q({token:s,factory:s.\u0275fac,providedIn:"root"})}return s})(),xi=(()=>{class s extends Pi{_platform=h(me);_ngZone=h(K);_renderer=h(Se).createRenderer(null,null);_cursorOriginalValue;_cursorStyleIsSet=!1;_pointerDownEventTarget;_cleanups;add(e){if(super.add(e),!this._isAttached){let t=this._document.body,o={capture:!0},n=this._renderer;this._cleanups=this._ngZone.runOutsideAngular(()=>[n.listen(t,"pointerdown",this._pointerDownListener,o),n.listen(t,"click",this._clickListener,o),n.listen(t,"auxclick",this._clickListener,o),n.listen(t,"contextmenu",this._clickListener,o)]),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=t.style.cursor,t.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){this._isAttached&&(this._cleanups?.forEach(e=>e()),this._cleanups=void 0,this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}_pointerDownListener=e=>{this._pointerDownEventTarget=ot(e)};_clickListener=e=>{let t=ot(e),o=e.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:t;this._pointerDownEventTarget=null;let n=this._attachedOverlays.slice();for(let r=n.length-1;r>-1;r--){let a=n[r];if(a._outsidePointerEvents.observers.length<1||!a.hasAttached())continue;if(_i(a.overlayElement,t)||_i(a.overlayElement,o))break;let m=a._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>m.next(e)):m.next(e)}};static \u0275fac=(()=>{let e;return function(o){return(e||(e=de(s)))(o||s)}})();static \u0275prov=Q({token:s,factory:s.\u0275fac,providedIn:"root"})}return s})();function _i(s,i){let e=typeof ShadowRoot<"u"&&ShadowRoot,t=i;for(;t;){if(t===s)return!0;t=e&&t instanceof ShadowRoot?t.host:t.parentNode}return!1}var Oi=(()=>{class s{static \u0275fac=function(t){return new(t||s)};static \u0275cmp=k({type:s,selectors:[["ng-component"]],hostAttrs:["cdk-overlay-style-loader",""],decls:0,vars:0,template:function(t,o){},styles:[`.cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed}@layer cdk-overlay{.cdk-overlay-container{z-index:1000}}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute}@layer cdk-overlay{.cdk-global-overlay-wrapper{z-index:1000}}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;display:flex;max-width:100%;max-height:100%}@layer cdk-overlay{.cdk-overlay-pane{z-index:1000}}.cdk-overlay-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;pointer-events:auto;-webkit-tap-highlight-color:rgba(0,0,0,0);opacity:0;touch-action:manipulation}@layer cdk-overlay{.cdk-overlay-backdrop{z-index:1000;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}}@media(prefers-reduced-motion){.cdk-overlay-backdrop{transition-duration:1ms}}.cdk-overlay-backdrop-showing{opacity:1}@media(forced-colors: active){.cdk-overlay-backdrop-showing{opacity:.6}}@layer cdk-overlay{.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing,.cdk-high-contrast-active .cdk-overlay-transparent-backdrop{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;display:flex;flex-direction:column;min-width:1px;min-height:1px}@layer cdk-overlay{.cdk-overlay-connected-position-bounding-box{z-index:1000}}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}
2`],encapsulation:2,changeDetection:0})}return s})(),Di=(()=>{class s{_platform=h(me);_containerElement;_document=h(q);_styleLoader=h(st);constructor(){}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._loadStyles(),this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let e="cdk-overlay-container";if(this._platform.isBrowser||lt()){let o=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let n=0;n<o.length;n++)o[n].remove()}let t=this._document.createElement("div");t.classList.add(e),lt()?t.setAttribute("platform","test"):this._platform.isBrowser||t.setAttribute("platform","server"),this._document.body.appendChild(t),this._containerElement=t}_loadStyles(){this._styleLoader.load(Oi)}static \u0275fac=function(t){return new(t||s)};static \u0275prov=Q({token:s,factory:s.\u0275fac,providedIn:"root"})}return s})(),ut=class{_renderer;_ngZone;element;_cleanupClick;_cleanupTransitionEnd;_fallbackTimeout;constructor(i,e,t,o){this._renderer=e,this._ngZone=t,this.element=i.createElement("div"),this.element.classList.add("cdk-overlay-backdrop"),this._cleanupClick=e.listen(this.element,"click",o)}detach(){this._ngZone.runOutsideAngular(()=>{let i=this.element;clearTimeout(this._fallbackTimeout),this._cleanupTransitionEnd?.(),this._cleanupTransitionEnd=this._renderer.listen(i,"transitionend",this.dispose),this._fallbackTimeout=setTimeout(this.dispose,500),i.style.pointerEvents="none",i.classList.remove("cdk-overlay-backdrop-showing")})}dispose=()=>{clearTimeout(this._fallbackTimeout),this._cleanupClick?.(),this._cleanupTransitionEnd?.(),this._cleanupClick=this._cleanupTransitionEnd=this._fallbackTimeout=void 0,this.element.remove()}},je=class{_portalOutlet;_host;_pane;_config;_ngZone;_keyboardDispatcher;_document;_location;_outsideClickDispatcher;_animationsDisabled;_injector;_renderer;_backdropClick=new U;_attachments=new U;_detachments=new U;_positionStrategy;_scrollStrategy;_locationChanges=$e.EMPTY;_backdropRef=null;_detachContentMutationObserver;_detachContentAfterRenderRef;_previousHostParent;_keydownEvents=new U;_outsidePointerEvents=new U;_afterNextRenderRef;constructor(i,e,t,o,n,r,a,m,g,_=!1,b,R){this._portalOutlet=i,this._host=e,this._pane=t,this._config=o,this._ngZone=n,this._keyboardDispatcher=r,this._document=a,this._location=m,this._outsideClickDispatcher=g,this._animationsDisabled=_,this._injector=b,this._renderer=R,o.scrollStrategy&&(this._scrollStrategy=o.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=o.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropRef?.element||null}get hostElement(){return this._host}attach(i){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);let e=this._portalOutlet.attach(i);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=pe(()=>{this.hasAttached()&&this.updatePosition()},{injector:this._injector}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._completeDetachContent(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),typeof e?.onDestroy=="function"&&e.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let i=this._portalOutlet.detach();return this._detachments.next(),this._completeDetachContent(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),i}dispose(){let i=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._backdropRef?.dispose(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._afterNextRenderRef?.destroy(),this._previousHostParent=this._pane=this._host=this._backdropRef=null,i&&this._detachments.next(),this._detachments.complete(),this._completeDetachContent()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(i){i!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=i,this.hasAttached()&&(i.attach(this),this.updatePosition()))}updateSize(i){this._config=W(W({},this._config),i),this._updateElementSize()}setDirection(i){this._config=bt(W({},this._config),{direction:i}),this._updateElementDirection()}addPanelClass(i){this._pane&&this._toggleClasses(this._pane,i,!0)}removePanelClass(i){this._pane&&this._toggleClasses(this._pane,i,!1)}getDirection(){let i=this._config.direction;return i?typeof i=="string"?i:i.value:"ltr"}updateScrollStrategy(i){i!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=i,this.hasAttached()&&(i.attach(this),i.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let i=this._pane.style;i.width=E(this._config.width),i.height=E(this._config.height),i.minWidth=E(this._config.minWidth),i.minHeight=E(this._config.minHeight),i.maxWidth=E(this._config.maxWidth),i.maxHeight=E(this._config.maxHeight)}_togglePointerEvents(i){this._pane.style.pointerEvents=i?"":"none"}_attachBackdrop(){let i="cdk-overlay-backdrop-showing";this._backdropRef?.dispose(),this._backdropRef=new ut(this._document,this._renderer,this._ngZone,e=>{this._backdropClick.next(e)}),this._animationsDisabled&&this._backdropRef.element.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropRef.element,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropRef.element,this._host),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this._backdropRef?.element.classList.add(i))}):this._backdropRef.element.classList.add(i)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){this._animationsDisabled?(this._backdropRef?.dispose(),this._backdropRef=null):this._backdropRef?.detach()}_toggleClasses(i,e,t){let o=nt(e||[]).filter(n=>!!n);o.length&&(t?i.classList.add(...o):i.classList.remove(...o))}_detachContentWhenEmpty(){let i=!1;try{this._detachContentAfterRenderRef=pe(()=>{i=!0,this._detachContent()},{injector:this._injector})}catch(e){if(i)throw e;this._detachContent()}globalThis.MutationObserver&&this._pane&&(this._detachContentMutationObserver||=new globalThis.MutationObserver(()=>{this._detachContent()}),this._detachContentMutationObserver.observe(this._pane,{childList:!0}))}_detachContent(){(!this._pane||!this._host||this._pane.children.length===0)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),this._completeDetachContent())}_completeDetachContent(){this._detachContentAfterRenderRef?.destroy(),this._detachContentAfterRenderRef=void 0,this._detachContentMutationObserver?.disconnect()}_disposeScrollStrategy(){let i=this._scrollStrategy;i?.disable(),i?.detach?.()}},gi="cdk-overlay-connected-position-bounding-box",zi=/([A-Za-z%]+)$/;function qe(s,i){return new ze(i,s.get(_e),s.get(q),s.get(me),s.get(Di))}var ze=class{_viewportRuler;_document;_platform;_overlayContainer;_overlayRef;_isInitialRender;_lastBoundingBoxSize={width:0,height:0};_isPushed=!1;_canPush=!0;_growAfterOpen=!1;_hasFlexibleDimensions=!0;_positionLocked=!1;_originRect;_overlayRect;_viewportRect;_containerRect;_viewportMargin=0;_scrollables=[];_preferredPositions=[];_origin;_pane;_isDisposed;_boundingBox;_lastPosition;_lastScrollVisibility;_positionChanges=new U;_resizeSubscription=$e.EMPTY;_offsetX=0;_offsetY=0;_transformOriginSelector;_appliedPanelClasses=[];_previousPushAmount;positionChanges=this._positionChanges;get positions(){return this._preferredPositions}constructor(i,e,t,o,n){this._viewportRuler=e,this._document=t,this._platform=o,this._overlayContainer=n,this.setOrigin(i)}attach(i){this._overlayRef&&this._overlayRef,this._validatePositions(),i.hostElement.classList.add(gi),this._overlayRef=i,this._boundingBox=i.hostElement,this._pane=i.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition){this.reapplyLastPosition();return}this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let i=this._originRect,e=this._overlayRect,t=this._viewportRect,o=this._containerRect,n=[],r;for(let a of this._preferredPositions){let m=this._getOriginPoint(i,o,a),g=this._getOverlayPoint(m,e,a),_=this._getOverlayFit(g,e,t,a);if(_.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(a,m);return}if(this._canFitWithFlexibleDimensions(_,g,t)){n.push({position:a,origin:m,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(m,a)});continue}(!r||r.overlayFit.visibleArea<_.visibleArea)&&(r={overlayFit:_,overlayPoint:g,originPoint:m,position:a,overlayRect:e})}if(n.length){let a=null,m=-1;for(let g of n){let _=g.boundingBoxRect.width*g.boundingBoxRect.height*(g.position.weight||1);_>m&&(m=_,a=g)}this._isPushed=!1,this._applyPosition(a.position,a.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(r.position,r.originPoint);return}this._applyPosition(r.position,r.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&ae(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(gi),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let i=this._lastPosition;if(i){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let e=this._getOriginPoint(this._originRect,this._containerRect,i);this._applyPosition(i,e)}else this.apply()}withScrollableContainers(i){return this._scrollables=i,this}withPositions(i){return this._preferredPositions=i,i.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(i){return this._viewportMargin=i,this}withFlexibleDimensions(i=!0){return this._hasFlexibleDimensions=i,this}withGrowAfterOpen(i=!0){return this._growAfterOpen=i,this}withPush(i=!0){return this._canPush=i,this}withLockedPosition(i=!0){return this._positionLocked=i,this}setOrigin(i){return this._origin=i,this}withDefaultOffsetX(i){return this._offsetX=i,this}withDefaultOffsetY(i){return this._offsetY=i,this}withTransformOriginOn(i){return this._transformOriginSelector=i,this}_getOriginPoint(i,e,t){let o;if(t.originX=="center")o=i.left+i.width/2;else{let r=this._isRtl()?i.right:i.left,a=this._isRtl()?i.left:i.right;o=t.originX=="start"?r:a}e.left<0&&(o-=e.left);let n;return t.originY=="center"?n=i.top+i.height/2:n=t.originY=="top"?i.top:i.bottom,e.top<0&&(n-=e.top),{x:o,y:n}}_getOverlayPoint(i,e,t){let o;t.overlayX=="center"?o=-e.width/2:t.overlayX==="start"?o=this._isRtl()?-e.width:0:o=this._isRtl()?0:-e.width;let n;return t.overlayY=="center"?n=-e.height/2:n=t.overlayY=="top"?0:-e.height,{x:i.x+o,y:i.y+n}}_getOverlayFit(i,e,t,o){let n=yi(e),{x:r,y:a}=i,m=this._getOffset(o,"x"),g=this._getOffset(o,"y");m&&(r+=m),g&&(a+=g);let _=0-r,b=r+n.width-t.width,R=0-a,I=a+n.height-t.height,M=this._subtractOverflows(n.width,_,b),V=this._subtractOverflows(n.height,R,I),yt=M*V;return{visibleArea:yt,isCompletelyWithinViewport:n.width*n.height===yt,fitsInViewportVertically:V===n.height,fitsInViewportHorizontally:M==n.width}}_canFitWithFlexibleDimensions(i,e,t){if(this._hasFlexibleDimensions){let o=t.bottom-e.y,n=t.right-e.x,r=vi(this._overlayRef.getConfig().minHeight),a=vi(this._overlayRef.getConfig().minWidth),m=i.fitsInViewportVertically||r!=null&&r<=o,g=i.fitsInViewportHorizontally||a!=null&&a<=n;return m&&g}return!1}_pushOverlayOnScreen(i,e,t){if(this._previousPushAmount&&this._positionLocked)return{x:i.x+this._previousPushAmount.x,y:i.y+this._previousPushAmount.y};let o=yi(e),n=this._viewportRect,r=Math.max(i.x+o.width-n.width,0),a=Math.max(i.y+o.height-n.height,0),m=Math.max(n.top-t.top-i.y,0),g=Math.max(n.left-t.left-i.x,0),_=0,b=0;return o.width<=n.width?_=g||-r:_=i.x<this._viewportMargin?n.left-t.left-i.x:0,o.height<=n.height?b=m||-a:b=i.y<this._viewportMargin?n.top-t.top-i.y:0,this._previousPushAmount={x:_,y:b},{x:i.x+_,y:i.y+b}}_applyPosition(i,e){if(this._setTransformOrigin(i),this._setOverlayElementStyles(e,i),this._setBoundingBoxStyles(e,i),i.panelClass&&this._addPanelClasses(i.panelClass),this._positionChanges.observers.length){let t=this._getScrollVisibility();if(i!==this._lastPosition||!this._lastScrollVisibility||!Wi(this._lastScrollVisibility,t)){let o=new Xe(i,t);this._positionChanges.next(o)}this._lastScrollVisibility=t}this._lastPosition=i,this._isInitialRender=!1}_setTransformOrigin(i){if(!this._transformOriginSelector)return;let e=this._boundingBox.querySelectorAll(this._transformOriginSelector),t,o=i.overlayY;i.overlayX==="center"?t="center":this._isRtl()?t=i.overlayX==="start"?"right":"left":t=i.overlayX==="start"?"left":"right";for(let n=0;n<e.length;n++)e[n].style.transformOrigin=`${t} ${o}`}_calculateBoundingBoxRect(i,e){let t=this._viewportRect,o=this._isRtl(),n,r,a;if(e.overlayY==="top")r=i.y,n=t.height-r+this._viewportMargin;else if(e.overlayY==="bottom")a=t.height-i.y+this._viewportMargin*2,n=t.height-a+this._viewportMargin;else{let I=Math.min(t.bottom-i.y+t.top,i.y),M=this._lastBoundingBoxSize.height;n=I*2,r=i.y-I,n>M&&!this._isInitialRender&&!this._growAfterOpen&&(r=i.y-M/2)}let m=e.overlayX==="start"&&!o||e.overlayX==="end"&&o,g=e.overlayX==="end"&&!o||e.overlayX==="start"&&o,_,b,R;if(g)R=t.width-i.x+this._viewportMargin*2,_=i.x-this._viewportMargin;else if(m)b=i.x,_=t.right-i.x;else{let I=Math.min(t.right-i.x+t.left,i.x),M=this._lastBoundingBoxSize.width;_=I*2,b=i.x-I,_>M&&!this._isInitialRender&&!this._growAfterOpen&&(b=i.x-M/2)}return{top:r,left:b,bottom:a,right:R,width:_,height:n}}_setBoundingBoxStyles(i,e){let t=this._calculateBoundingBoxRect(i,e);!this._isInitialRender&&!this._growAfterOpen&&(t.height=Math.min(t.height,this._lastBoundingBoxSize.height),t.width=Math.min(t.width,this._lastBoundingBoxSize.width));let o={};if(this._hasExactPosition())o.top=o.left="0",o.bottom=o.right=o.maxHeight=o.maxWidth="",o.width=o.height="100%";else{let n=this._overlayRef.getConfig().maxHeight,r=this._overlayRef.getConfig().maxWidth;o.height=E(t.height),o.top=E(t.top),o.bottom=E(t.bottom),o.width=E(t.width),o.left=E(t.left),o.right=E(t.right),e.overlayX==="center"?o.alignItems="center":o.alignItems=e.overlayX==="end"?"flex-end":"flex-start",e.overlayY==="center"?o.justifyContent="center":o.justifyContent=e.overlayY==="bottom"?"flex-end":"flex-start",n&&(o.maxHeight=E(n)),r&&(o.maxWidth=E(r))}this._lastBoundingBoxSize=t,ae(this._boundingBox.style,o)}_resetBoundingBoxStyles(){ae(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){ae(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(i,e){let t={},o=this._hasExactPosition(),n=this._hasFlexibleDimensions,r=this._overlayRef.getConfig();if(o){let _=this._viewportRuler.getViewportScrollPosition();ae(t,this._getExactOverlayY(e,i,_)),ae(t,this._getExactOverlayX(e,i,_))}else t.position="static";let a="",m=this._getOffset(e,"x"),g=this._getOffset(e,"y");m&&(a+=`translateX(${m}px) `),g&&(a+=`translateY(${g}px)`),t.transform=a.trim(),r.maxHeight&&(o?t.maxHeight=E(r.maxHeight):n&&(t.maxHeight="")),r.maxWidth&&(o?t.maxWidth=E(r.maxWidth):n&&(t.maxWidth="")),ae(this._pane.style,t)}_getExactOverlayY(i,e,t){let o={top:"",bottom:""},n=this._getOverlayPoint(e,this._overlayRect,i);if(this._isPushed&&(n=this._pushOverlayOnScreen(n,this._overlayRect,t)),i.overlayY==="bottom"){let r=this._document.documentElement.clientHeight;o.bottom=`${r-(n.y+this._overlayRect.height)}px`}else o.top=E(n.y);return o}_getExactOverlayX(i,e,t){let o={left:"",right:""},n=this._getOverlayPoint(e,this._overlayRect,i);this._isPushed&&(n=this._pushOverlayOnScreen(n,this._overlayRect,t));let r;if(this._isRtl()?r=i.overlayX==="end"?"left":"right":r=i.overlayX==="end"?"right":"left",r==="right"){let a=this._document.documentElement.clientWidth;o.right=`${a-(n.x+this._overlayRect.width)}px`}else o.left=E(n.x);return o}_getScrollVisibility(){let i=this._getOriginRect(),e=this._pane.getBoundingClientRect(),t=this._scrollables.map(o=>o.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:fi(i,t),isOriginOutsideView:pt(i,t),isOverlayClipped:fi(e,t),isOverlayOutsideView:pt(e,t)}}_subtractOverflows(i,...e){return e.reduce((t,o)=>t-Math.max(o,0),i)}_getNarrowedViewportRect(){let i=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,t=this._viewportRuler.getViewportScrollPosition();return{top:t.top+this._viewportMargin,left:t.left+this._viewportMargin,right:t.left+i-this._viewportMargin,bottom:t.top+e-this._viewportMargin,width:i-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(i,e){return e==="x"?i.offsetX==null?this._offsetX:i.offsetX:i.offsetY==null?this._offsetY:i.offsetY}_validatePositions(){}_addPanelClasses(i){this._pane&&nt(i).forEach(e=>{e!==""&&this._appliedPanelClasses.indexOf(e)===-1&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(i=>{this._pane.classList.remove(i)}),this._appliedPanelClasses=[])}_getOriginRect(){let i=this._origin;if(i instanceof $)return i.nativeElement.getBoundingClientRect();if(i instanceof Element)return i.getBoundingClientRect();let e=i.width||0,t=i.height||0;return{top:i.y,bottom:i.y+t,left:i.x,right:i.x+e,height:t,width:e}}};function ae(s,i){for(let e in i)i.hasOwnProperty(e)&&(s[e]=i[e]);return s}function vi(s){if(typeof s!="number"&&s!=null){let[i,e]=s.split(zi);return!e||e==="px"?parseFloat(i):null}return s||null}function yi(s){return{top:Math.floor(s.top),right:Math.floor(s.right),bottom:Math.floor(s.bottom),left:Math.floor(s.left),width:Math.floor(s.width),height:Math.floor(s.height)}}function Wi(s,i){return s===i?!0:s.isOriginClipped===i.isOriginClipped&&s.isOriginOutsideView===i.isOriginOutsideView&&s.isOverlayClipped===i.isOverlayClipped&&s.isOverlayOutsideView===i.isOverlayOutsideView}var bi="cdk-global-overlay-wrapper";function Ri(s){return new We}var We=class{_overlayRef;_cssPosition="static";_topOffset="";_bottomOffset="";_alignItems="";_xPosition="";_xOffset="";_width="";_height="";_isDisposed=!1;attach(i){let e=i.getConfig();this._overlayRef=i,this._width&&!e.width&&i.updateSize({width:this._width}),this._height&&!e.height&&i.updateSize({height:this._height}),i.hostElement.classList.add(bi),this._isDisposed=!1}top(i=""){return this._bottomOffset="",this._topOffset=i,this._alignItems="flex-start",this}left(i=""){return this._xOffset=i,this._xPosition="left",this}bottom(i=""){return this._topOffset="",this._bottomOffset=i,this._alignItems="flex-end",this}right(i=""){return this._xOffset=i,this._xPosition="right",this}start(i=""){return this._xOffset=i,this._xPosition="start",this}end(i=""){return this._xOffset=i,this._xPosition="end",this}width(i=""){return this._overlayRef?this._overlayRef.updateSize({width:i}):this._width=i,this}height(i=""){return this._overlayRef?this._overlayRef.updateSize({height:i}):this._height=i,this}centerHorizontally(i=""){return this.left(i),this._xPosition="center",this}centerVertically(i=""){return this.top(i),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let i=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,t=this._overlayRef.getConfig(),{width:o,height:n,maxWidth:r,maxHeight:a}=t,m=(o==="100%"||o==="100vw")&&(!r||r==="100%"||r==="100vw"),g=(n==="100%"||n==="100vh")&&(!a||a==="100%"||a==="100vh"),_=this._xPosition,b=this._xOffset,R=this._overlayRef.getConfig().direction==="rtl",I="",M="",V="";m?V="flex-start":_==="center"?(V="center",R?M=b:I=b):R?_==="left"||_==="end"?(V="flex-end",I=b):(_==="right"||_==="start")&&(V="flex-start",M=b):_==="left"||_==="start"?(V="flex-start",I=b):(_==="right"||_==="end")&&(V="flex-end",M=b),i.position=this._cssPosition,i.marginLeft=m?"0":I,i.marginTop=g?"0":this._topOffset,i.marginBottom=this._bottomOffset,i.marginRight=m?"0":M,e.justifyContent=V,e.alignItems=g?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let i=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,t=e.style;e.classList.remove(bi),t.justifyContent=t.alignItems=i.marginTop=i.marginBottom=i.marginLeft=i.marginRight=i.position="",this._overlayRef=null,this._isDisposed=!0}},ki=(()=>{class s{_injector=h(L);constructor(){}global(){return Ri()}flexibleConnectedTo(e){return qe(this._injector,e)}static \u0275fac=function(t){return new(t||s)};static \u0275prov=Q({token:s,factory:s.\u0275fac,providedIn:"root"})}return s})();function Ge(s,i){s.get(st).load(Oi);let e=s.get(Di),t=s.get(q),o=s.get(Zt),n=s.get(Dt),r=s.get(Be),a=t.createElement("div"),m=t.createElement("div");m.id=o.getId("cdk-overlay-"),m.classList.add("cdk-overlay-pane"),a.appendChild(m),e.getContainerElement().appendChild(a);let g=new Ne(m,n,s),_=new He(i),b=s.get(xt,null,{optional:!0})||s.get(Se).createRenderer(null,null);return _.direction=_.direction||r.value,new je(g,a,m,_,s.get(K),s.get(Ei),t,s.get(Vt),s.get(xi),i?.disableAnimations??s.get(Et,null,{optional:!0})==="NoopAnimations",s.get(Ce),b)}var Mi=(()=>{class s{scrollStrategies=h(Si);_positionBuilder=h(ki);_injector=h(L);constructor(){}create(e){return Ge(this._injector,e)}position(){return this._positionBuilder}static \u0275fac=function(t){return new(t||s)};static \u0275prov=Q({token:s,factory:s.\u0275fac,providedIn:"root"})}return s})();var qi=new ge("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let s=h(L);return()=>le(s)}});function Gi(s){let i=h(L);return()=>le(i)}var Qi={provide:qi,useFactory:Gi},mt=(()=>{class s{static \u0275fac=function(t){return new(t||s)};static \u0275mod=he({type:s});static \u0275inj=ce({providers:[Mi,Qi],imports:[qt,ui,it,it]})}return s})();var Zi=["tooltip"],ft=20;var _t=new ge("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{let s=h(L);return()=>le(s,{scrollThrottle:ft})}});function Ii(s){let i=h(L);return()=>le(i,{scrollThrottle:ft})}var Li={provide:_t,deps:[],useFactory:Ii};function Bi(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}var Fi=new ge("mat-tooltip-default-options",{providedIn:"root",factory:Bi});var Ti="tooltip-panel",Ai=Gt({passive:!0}),Ki=8,Ji=8,eo=24,to=200,gt=(()=>{class s{_elementRef=h($);_ngZone=h(K);_platform=h(me);_ariaDescriber=h(Jt);_focusMonitor=h(Qt);_dir=h(Be);_injector=h(L);
2_viewContainerRef=h(Pe);_animationsDisabled=ct();_defaultOptions=h(Fi,{optional:!0});_overlayRef;_tooltipInstance;_overlayPanelClass;_portal;_position="below";_positionAtOrigin=!1;_disabled=!1;_tooltipClass;_viewInitialized=!1;_pointerExitEventsInitialized=!1;_tooltipComponent=Ni;_viewportMargin=8;_currentPosition;_cssClassPrefix="mat-mdc";_ariaDescriptionPending;_dirSubscribed=!1;get position(){return this._position}set position(e){e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(e){this._positionAtOrigin=at(e),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(e){let t=at(e);this._disabled!==t&&(this._disabled=t,t?this.hide(0):this._setupPointerEnterEventsIfNeeded(),this._syncAriaDescription(this.message))}get showDelay(){return this._showDelay}set showDelay(e){this._showDelay=et(e)}_showDelay;get hideDelay(){return this._hideDelay}set hideDelay(e){this._hideDelay=et(e),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}_hideDelay;touchGestures="auto";get message(){return this._message}set message(e){let t=this._message;this._message=e!=null?String(e).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage()),this._syncAriaDescription(t)}_message="";get tooltipClass(){return this._tooltipClass}set tooltipClass(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}_passiveListeners=[];_touchstartTimeout=null;_destroyed=new U;_isDestroyed=!1;constructor(){let e=this._defaultOptions;e&&(this._showDelay=e.showDelay,this._hideDelay=e.hideDelay,e.position&&(this.position=e.position),e.positionAtOrigin&&(this.positionAtOrigin=e.positionAtOrigin),e.touchGestures&&(this.touchGestures=e.touchGestures),e.tooltipClass&&(this.tooltipClass=e.tooltipClass)),this._viewportMargin=Ki}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(G(this._destroyed)).subscribe(e=>{e?e==="keyboard"&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){let e=this._elementRef.nativeElement;this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([t,o])=>{e.removeEventListener(t,o,Ai)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._isDestroyed=!0,this._ariaDescriber.removeDescription(e,this.message,"tooltip"),this._focusMonitor.stopMonitoring(e)}show(e=this.showDelay,t){if(this.disabled||!this.message||this._isTooltipVisible()){this._tooltipInstance?._cancelPendingAnimations();return}let o=this._createOverlay(t);this._detach(),this._portal=this._portal||new be(this._tooltipComponent,this._viewContainerRef);let n=this._tooltipInstance=o.attach(this._portal).instance;n._triggerElement=this._elementRef.nativeElement,n._mouseLeaveHideDelay=this._hideDelay,n.afterHidden().pipe(G(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),n.show(e)}hide(e=this.hideDelay){let t=this._tooltipInstance;t&&(t.isVisible()?t.hide(e):(t._cancelPendingAnimations(),this._detach()))}toggle(e){this._isTooltipVisible()?this.hide():this.show(void 0,e)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(e){if(this._overlayRef){let r=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!e)&&r._origin instanceof $)return this._overlayRef;this._detach()}let t=this._injector.get(fe).getAncestorScrollContainers(this._elementRef),o=`${this._cssClassPrefix}-${Ti}`,n=qe(this._injector,this.positionAtOrigin?e||this._elementRef:this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(t);return n.positionChanges.pipe(G(this._destroyed)).subscribe(r=>{this._updateCurrentPositionClass(r.connectionPair),this._tooltipInstance&&r.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=Ge(this._injector,{direction:this._dir,positionStrategy:n,panelClass:this._overlayPanelClass?[...this._overlayPanelClass,o]:o,scrollStrategy:this._injector.get(_t)(),disableAnimations:this._animationsDisabled}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(G(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(G(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe(G(this._destroyed)).subscribe(r=>{this._isTooltipVisible()&&r.keyCode===27&&!Kt(r)&&(r.preventDefault(),r.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._dirSubscribed||(this._dirSubscribed=!0,this._dir.change.pipe(G(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(e){let t=e.getConfig().positionStrategy,o=this._getOrigin(),n=this._getOverlayPosition();t.withPositions([this._addOffset(W(W({},o.main),n.main)),this._addOffset(W(W({},o.fallback),n.fallback))])}_addOffset(e){let t=Ji,o=!this._dir||this._dir.value=="ltr";return e.originY==="top"?e.offsetY=-t:e.originY==="bottom"?e.offsetY=t:e.originX==="start"?e.offsetX=o?-t:t:e.originX==="end"&&(e.offsetX=o?t:-t),e}_getOrigin(){let e=!this._dir||this._dir.value=="ltr",t=this.position,o;t=="above"||t=="below"?o={originX:"center",originY:t=="above"?"top":"bottom"}:t=="before"||t=="left"&&e||t=="right"&&!e?o={originX:"start",originY:"center"}:(t=="after"||t=="right"&&e||t=="left"&&!e)&&(o={originX:"end",originY:"center"});let{x:n,y:r}=this._invertPosition(o.originX,o.originY);return{main:o,fallback:{originX:n,originY:r}}}_getOverlayPosition(){let e=!this._dir||this._dir.value=="ltr",t=this.position,o;t=="above"?o={overlayX:"center",overlayY:"bottom"}:t=="below"?o={overlayX:"center",overlayY:"top"}:t=="before"||t=="left"&&e||t=="right"&&!e?o={overlayX:"end",overlayY:"center"}:(t=="after"||t=="right"&&e||t=="left"&&!e)&&(o={overlayX:"start",overlayY:"center"});let{x:n,y:r}=this._invertPosition(o.overlayX,o.overlayY);return{main:o,fallback:{overlayX:n,overlayY:r}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),pe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()},{injector:this._injector}))}_setTooltipClass(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck())}_invertPosition(e,t){return this.position==="above"||this.position==="below"?t==="top"?t="bottom":t==="bottom"&&(t="top"):e==="end"?e="start":e==="start"&&(e="end"),{x:e,y:t}}_updateCurrentPositionClass(e){let{overlayY:t,originX:o,originY:n}=e,r;if(t==="center"?this._dir&&this._dir.value==="rtl"?r=o==="end"?"left":"right":r=o==="start"?"left"
2:"right":r=t==="bottom"&&n==="top"?"above":"below",r!==this._currentPosition){let a=this._overlayRef;if(a){let m=`${this._cssClassPrefix}-${Ti}-`;a.removePanelClass(m+this._currentPosition),a.addPanelClass(m+r)}this._currentPosition=r}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",e=>{this._setupPointerExitEventsIfNeeded();let t;e.x!==void 0&&e.y!==void 0&&(t=e),this.show(void 0,t)}]):this.touchGestures!=="off"&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",e=>{let t=e.targetTouches?.[0],o=t?{x:t.clientX,y:t.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),this._touchstartTimeout&&clearTimeout(this._touchstartTimeout);let n=500;this._touchstartTimeout=setTimeout(()=>{this._touchstartTimeout=null,this.show(void 0,o)},this._defaultOptions?.touchLongPressShowDelay??n)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;let e=[];
2if(this._platformSupportsMouseEvents())e.push(["mouseleave",t=>{let o=t.relatedTarget;(!o||!this._overlayRef?.overlayElement.contains(o))&&this.hide()}],["wheel",t=>this._wheelListener(t)]);else if(this.touchGestures!=="off"){this._disableNativeGesturesIfNecessary();let t=()=>{this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions?.touchendHideDelay)};e.push(["touchend",t],["touchcancel",t])}this._addListeners(e),this._passiveListeners.push(...e)}_addListeners(e){e.forEach(([t,o])=>{this._elementRef.nativeElement.addEventListener(t,o,Ai)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(e){if(this._isTooltipVisible()){let t=this._injector.get(q).elementFromPoint(e.clientX,e.clientY),o=this._elementRef.nativeElement;t!==o&&!o.contains(t)&&this.hide()}}_disableNativeGesturesIfNecessary(){let e=this.touchGestures;if(e!=="off"){let t=this._elementRef.nativeElement,o=t.style;(e==="on"||t.nodeName!=="INPUT"&&t.nodeName!=="TEXTAREA")&&(o.userSelect=o.msUserSelect=o.webkitUserSelect=o.MozUserSelect="none"),(e==="on"||!t.draggable)&&(o.webkitUserDrag="none"),o.touchAction="none",o.webkitTapHighlightColor="transparent"}}_syncAriaDescription(e){this._ariaDescriptionPending||(this._ariaDescriptionPending=!0,this._ariaDescriber.removeDescription(this._elementRef.nativeElement,e,"tooltip"),this._isDestroyed||pe({write:()=>{this._ariaDescriptionPending=!1,this.message&&!this.disabled&&this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")}},{injector:this._injector}))}static \u0275fac=function(t){return new(t||s)};static \u0275dir=Ee({type:s,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(t,o){t&2&&N("mat-mdc-tooltip-disabled",o.disabled)},inputs:{position:[0,"matTooltipPosition","position"],positionAtOrigin:[0,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[0,"matTooltipDisabled","disabled"],showDelay:[0,"matTooltipShowDelay","showDelay"],hideDelay:[0,"matTooltipHideDelay","hideDelay"],touchGestures:[0,"matTooltipTouchGestures","touchGestures"],message:[0,"matTooltip","message"],tooltipClass:[0,"matTooltipClass","tooltipClass"]},exportAs:["matTooltip"]})}return s})(),Ni=(()=>{class s{_changeDetectorRef=h(Ft);_elementRef=h($);_isMultiline=!1;message;tooltipClass;_showTimeoutId;_hideTimeoutId;_triggerElement;_mouseLeaveHideDelay;_animationsDisabled=ct();_tooltip;_closeOnInteraction=!1;_isVisible=!1;_onHide=new U;_showAnimation="mat-mdc-tooltip-show";_hideAnimation="mat-mdc-tooltip-hide";constructor(){}show(e){this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},e)}hide(e){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},e)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:e}){(!e||!this._triggerElement.contains(e))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){let e=this._elementRef.nativeElement.getBoundingClientRect();return e.height>eo&&e.width>=to}_handleAnimationEnd({animationName:e}){(e===this._showAnimation||e===this._hideAnimation)&&this._finalizeAnimation(e===this._showAnimation)}_cancelPendingAnimations(){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(e){e?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(e){let t=this._tooltip.nativeElement,o=this._showAnimation,n=this._hideAnimation;if(t.classList.remove(e?n:o),t.classList.add(e?o:n),this._isVisible!==e&&(this._isVisible=e,this._changeDetectorRef.markForCheck()),e&&!this._animationsDisabled&&typeof getComputedStyle=="function"){let r=getComputedStyle(t);(r.getPropertyValue("animation-duration")==="0s"||r.getPropertyValue("animation-name")==="none")&&(this._animationsDisabled=!0)}e&&this._onShow(),this._animationsDisabled&&(t.classList.add("_mat-animation-noopable"),this._finalizeAnimation(e))}static \u0275fac=function(t){return new(t||s)};static \u0275cmp=k({type:s,selectors:[["mat-tooltip-component"]],viewQuery:function(t,o){if(t&1&&Mt(Zi,7),t&2){let n;Tt(n=At())&&(o._tooltip=n.first)}},hostAttrs:["aria-hidden","true"],hostBindings:function(t,o){t&1&&P("mouseleave",function(r){return o._handleMouseLeave(r)})},decls:4,vars:4,consts:[["tooltip",""],[1,"mdc-tooltip","mat-mdc-tooltip",3,"animationend","ngClass"],[1,"mat-mdc-tooltip-surface","mdc-tooltip__surface"]],template:function(t,o){if(t&1){let n=A();d(0,"div",1,0),P("animationend",function(a){return w(n),C(o._handleAnimationEnd(a))}),d(2,"div",2),f(3),c()()}t&2&&(N("mdc-tooltip--multiline",o._isMultiline),y("ngClass",o.tooltipClass),l(3),Y(o.message))},dependencies:[Ut],styles:[`.mat-mdc-tooltip{position:relative;transform:scale(0);display:inline-flex}.mat-mdc-tooltip::before{content:"";top:0;right:0;bottom:0;left:0;z-index:-1;position:absolute}.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before{top:-8px}.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before{bottom:-8px}.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before{left:-8px}.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before{right:-8px}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-surface{word-break:normal;overflow-wrap:anywhere;padding:4px 8px;min-width:40px;
2max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center;will-change:transform,opacity;background-color:var(--mat-tooltip-container-color, var(--mat-sys-inverse-surface));color:var(--mat-tooltip-supporting-text-color, var(--mat-sys-inverse-on-surface));border-radius:var(--mat-tooltip-container-shape, var(--mat-sys-corner-extra-small));font-family:var(--mat-tooltip-supporting-text-font, var(--mat-sys-body-small-font));font-size:var(--mat-tooltip-supporting-text-size, var(--mat-sys-body-small-size));font-weight:var(--mat-tooltip-supporting-text-weight, var(--mat-sys-body-small-weight));line-height:var(--mat-tooltip-supporting-text-line-height, var(--mat-sys-body-small-line-height));letter-spacing:var(--mat-tooltip-supporting-text-tracking, var(--mat-sys-body-small-tracking))}.mat-mdc-tooltip-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:right}.mat-mdc-tooltip-panel{line-height:normal}.mat-mdc-tooltip-panel.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}
3`],encapsulation:2,changeDetection:0})}return s})(),vt=(()=>{class s{static \u0275fac=function(t){return new(t||s)};static \u0275mod=he({type:s});static \u0275inj=ce({providers:[Li],imports:[$t,mt,rt,rt,tt]})}return s})();var oo=(s,i)=>i.privilege;function so(s,i){s&1&&S(0,"i",2)}function no(s,i){s&1&&S(0,"i",3)}function ro(s,i){if(s&1&&(d(0,"div",1),p(1,"translate"),S(2,"i"),f(3,"\xA0 "),x(4,so,1,0,"i",2)(5,no,1,0,"i",3),c()),s&2){let e=i.$implicit,t=D();y("matTooltip",u(1,5,e.tooltipKey)),l(2),It(Bt("fas ",e.icon)),l(2),O(t.hasPrivilege()(e.privilege)?4:5)}}var Vi=(()=>{class s{user=ve.required();roleIconMap=ve.required();hasPrivilege=ne(()=>e=>this.user().privileges?.includes(e)??!1);static \u0275fac=function(t){return new(t||s)};static \u0275cmp=k({type:s,selectors:[["jw-access-overview"]],inputs:{user:[1,"user"],roleIconMap:[1,"roleIconMap"]},decls:3,vars:0,consts:[[1,"flex","flex-wrap","gap-2"],[1,"flex","items-center",3,"matTooltip"],[1,"fas","fa-check","text-green-500"],[1,"fas","fa-times","text-red-500"]],template:function(t,o){t&1&&(d(0,"div",0),Rt(1,ro,6,7,"div",1,oo),c()),t&2&&(l(),kt(o.roleIconMap()))},dependencies:[H,vt,gt,j,X],encapsulation:2,changeDetection:0})}return s})();var lo=["confirmationDialog"];function co(s,i){s&1&&(f(0),p(1,"translate")),s&2&&v(" ",u(1,1,"panel.users.changePassword.validation.required")," ")}function ho(s,i){s&1&&(f(0),p(1,"translate")),s&2&&v(" ",u(1,1,"panel.users.changePassword.validation.minLength")," ")}function po(s,i){if(s&1&&(d(0,"div",7)(1,"span",10),x(2,co,2,3),x(3,ho,2,3),c()()),s&2){let e,t,o=D();l(2),O((e=o.passwordForm.get("password"))!=null&&e.hasError("required")?2:-1),l(),O((t=o.passwordForm.get("password"))!=null&&t.hasError("minlength")?3:-1)}}function uo(s,i){s&1&&(f(0),p(1,"translate")),s&2&&v(" ",u(1,1,"panel.users.changePassword.validation.required")," ")}function mo(s,i){s&1&&(f(0),p(1,"translate")),s&2&&v(" ",u(1,1,"panel.users.changePassword.validation.passwordMatch")," ")}function fo(s,i){if(s&1&&(d(0,"div",7)(1,"span",10),x(2,uo,2,3),x(3,mo,2,3),c()()),s&2){let e,t,o=D();l(2),O((e=o.passwordForm.get("confirmPassword"))!=null&&e.hasError("required")?2:-1),l(),O(!o.passwordsMatch()&&((t=o.passwordForm.get("confirmPassword"))!=null&&t.value)?3:-1)}}var Ui=(()=>{class s{fb=h(Ae);userManagementService=h(ie);notificationService=h(te);translateService=h(ee);confirmationDialog=F.required("confirmationDialog");user=T(null);isSubmitting=T(!1);passwordForm=this.fb.group({password:["",[z.required,z.minLength(8)]],confirmPassword:["",z.required]});passwordsMatch(){let e=this.passwordForm.get("password")?.value,t=this.passwordForm.get("confirmPassword")?.value;return e===t}
3isChangeButtonDisabled(){return this.passwordForm.invalid||!this.passwordsMatch()||this.isSubmitting()}show(e){this.user.set(e),this.passwordForm.reset(),this.confirmationDialog().show()}handleConfirm(){if(this.passwordForm.valid&&this.passwordsMatch()&&this.user()&&!this.isSubmitting()){this.isSubmitting.set(!0);let e=this.passwordForm.get("password"),t=this.user();if(!e?.value||!t)return;let o={newPassword:e.value,temporaryPassword:!1};this.userManagementService.changeUserPassword(t.keycloakId,o).subscribe({next:()=>{this.notificationService.sendSuccess(this.translateService.instant("panel.users.changePassword.success")),this.confirmationDialog().hide(),this.isSubmitting.set(!1)},error:n=>{console.error("Error changing password:",n),this.notificationService.sendError(this.translateService.instant("panel.users.changePassword.error")),this.isSubmitting.set(!1)}})}}handleCancel(){this.confirmationDialog().hide()}static \u0275fac=function(t){return new(t||s)};static \u0275cmp=k({type:s,selectors:[["jw-change-password-modal"]],viewQuery:function(t,o){t&1&&B(o.confirmationDialog,lo,5),t&2&&J()},decls:22,vars:30,consts:[["confirmationDialog",""],[3,"confirmed","cancelled","confirmButtonLabel","cancelButtonLabel","confirmButtonClasses","cancelButtonClasses"],[1,"text-lg","font-bold","mb-4"],[1,"space-y-4",3,"formGroup"],[1,"form-control"],["for","password",1,"block","text-sm","font-medium","mb-2"],["type","password","id","password","formControlName","password",1,"input","input-bordered","w-full",3,"placeholder"],[1,"label"],["for","confirmPassword",1,"block","text-sm","font-medium","mb-2"],["type","password","id","confirmPassword","formControlName","confirmPassword",1,"input","input-bordered","w-full",3,"placeholder"],[1,"label-text-alt","text-error"]],template:function(t,o){if(t&1){let n=A();d(0,"ui-confirmation-dialog",1,0),p(2,"translate"),p(3,"translate"),P("confirmed",function(){return w(n),C(o.handleConfirm())})("cancelled",function(){return w(n),C(o.handleCancel())}),d(4,"h3",2),f(5),p(6,"translate"),c(),d(7,"form",3)(8,"div",4)(9,"label",5),f(10),p(11,"translate"),c(),S(12,"input",6),p(13,"translate"),x(14,po,4,2,"div",7),c(),d(15,"div",4)(16,"label",8),f(17),p(18,"translate"),c(),S(19,"input",9),p(20,"translate"),x(21,fo,4,2,"div",7),c()()()}if(t&2){let n,r,a,m;y("confirmButtonLabel",u(2,16,"panel.users.changePassword.buttons.change"))("cancelButtonLabel",u(3,18,"panel.users.changePassword.buttons.cancel"))("confirmButtonClasses",o.isChangeButtonDisabled()?"btn-success btn-disabled":"btn-success")("cancelButtonClasses","btn-outline"),l(5),Y(u(6,20,"panel.users.changePassword.title")),l(2),y("formGroup",o.passwordForm),l(3),v(" ",u(11,22,"panel.users.changePassword.password.label")," * "),l(2),N("input-error",((n=o.passwordForm.get("password"))==null?null:n.invalid)&&((n=o.passwordForm.get("password"))==null?null:n.touched)),y("placeholder",u(13,24,"panel.users.changePassword.password.placeholder")),l(2),O((r=o.passwordForm.get("password"))!=null&&r.invalid&&((r=o.passwordForm.get("password"))!=null&&r.touched)?14:-1),l(3),v(" ",u(18,26,"panel.users.changePassword.confirmPassword.label")," * "),l(2),N("input-error",((a=o.passwordForm.get("confirmPassword"))==null?null:a.invalid)&&((a=o.passwordForm.get("confirmPassword"))==null?null:a.touched)||
3!o.passwordsMatch()&&((a=o.passwordForm.get("confirmPassword"))==null?null:a.value)),y("placeholder",u(20,28,"panel.users.changePassword.confirmPassword.placeholder")),l(2),O((m=o.passwordForm.get("confirmPassword"))!=null&&m.invalid&&((m=o.passwordForm.get("confirmPassword"))!=null&&m.touched)||!o.passwordsMatch()&&((m=o.passwordForm.get("confirmPassword"))!=null&&m.value)?21:-1)}},dependencies:[H,Ie,ke,Oe,De,Re,Me,Te,j,X,ue],encapsulation:2,changeDetection:0})}return s})();var _o=["confirmationDialog"],go=["accessEditor"],Yi=(()=>{class s{userManagementService=h(ie);notificationService=h(te);translateService=h(ee);confirmationDialog=F.required("confirmationDialog");accessEditor=F.required("accessEditor");user=T(null);isSubmitting=T(!1);userAccessUpdated=xe();show(e){this.user.set(e),this.confirmationDialog().show()}getUserPrivileges(){let e=this.user();return!e||!e.privileges?[]:e.privileges}handleConfirm(){let e=this.user();if(!e||this.isSubmitting())return;this.isSubmitting.set(!0);let t=this.accessEditor().getAccessDifference(),o=`${e.firstName} ${e.lastName}`,n=t.added.length>0,r=t.removed.length>0;if(!n&&!r){this.confirmationDialog().hide(),this.isSubmitting.set(!1);return}let a=[];if(n){let g={operation:Ke.ADD,roleType:Je.REALM,roles:t.added};a.push(this.userManagementService.updateUserRoles(e.keycloakId,g))}if(r){let g={operation:Ke.REMOVE,roleType:Je.REALM,roles:t.removed};a.push(this.userManagementService.updateUserRoles(e.keycloakId,g))}wt(a).subscribe({next:()=>{this.notificationService.sendSuccess(this.translateService.instant("panel.users.editAccess.success",{name:o})),this.confirmationDialog().hide(),this.isSubmitting.set(!1),this.userAccessUpdated.emit(e)},error:()=>{this.notificationService.sendError(this.translateService.instant("panel.users.editAccess.error",{name:o})),this.isSubmitting.set(!1)}})}handleCancel(){this.confirmationDialog().hide()}static \u0275fac=function(t){return new(t||s)};static \u0275cmp=k({type:s,selectors:[["jw-access-edit-modal"]],viewQuery:function(t,o){t&1&&(B(o.confirmationDialog,_o,5),B(o.accessEditor,go,5)),t&2&&J(2)},outputs:{userAccessUpdated:"userAccessUpdated"},decls:9,vars:12,consts:[["confirmationDialog",""],["accessEditor",""],[3,"confirmed","cancelled","confirmButtonLabel","cancelButtonLabel","confirmButtonClasses","cancelButtonClasses"],[1,"text-lg","font-bold","mb-4"],[3,"initialRoles"]],template:function(t,o){if(t&1){let n=A();d(0,"ui-confirmation-dialog",2,0),p(2,"translate"),p(3,"translate"),P("confirmed",function(){return w(n),C(o.handleConfirm())})("cancelled",function(){return w(n),C(o.handleCancel())}),d(4,"h3",3),f(5),p(6,"translate"),c(),S(7,"jw-access-editor",4,1),c()}t&2&&(y("confirmButtonLabel",u(2,6,"panel.users.editAccess.buttons.save"))("cancelButtonLabel",u(3,8,"panel.users.editAccess.buttons.cancel"))("confirmButtonClasses",o.isSubmitting()?"btn-success btn-disabled":"btn-success")("cancelButtonClasses","btn-outline"),l(5),v(" ",u(6,10,"panel.users.editAccess.title")," "),l(2),y("initialRoles",o.getUserPrivileges()))},dependencies:[H,j,X,ue,pi],encapsulation:2,changeDetection:0})}return s})();var vo=["confirmationDialog"];function yo(s,i){s&1&&(d(0,"div",7)(1,"span",14),f(2),p(3,"translate"),c()()),s&2&&(l(2),v(" ",u(3,1,"panel.users.editUser.validation.required")," "))}function bo(s,i){s&1&&(d(0,"div",7)(1,"span",14),f(2),p(3,"translate"),c()()),s&2&&(l(2),v(" ",u(3,1,"panel.users.editUser.validation.required")," "))}function wo(s,i){s&1&&(d(0,"div",7)(1,"span",14),f(2),p(3,"translate"),c()()),s&2&&(l(2),v(" ",u(3,1,"panel.users.editUser.validation.required")," "))}function Co(s,i){s&1&&(f(0),p(1,"translate")),s&2&&v(" ",u(1,1,"panel.users.editUser.validation.required")," ")}function So(s,i){s&1&&(f(0),p(1,"translate")),s&2&&v(" ",u(1,1,"panel.users.editUser.validation.email")," ")}function Po(s,i){if(s&1&&(d(0,"div",7)(1,"span",14),x(2,Co,2,3),x(3,So,2,3),c()()),s&2){let e,t,o=D();l(2),O((e=o.userForm.get("email"))!=null&&e.hasError("required")?2:-1),l(),O((t=o.userForm.get("email"))!=null&&t.hasError("email")?3:-1)}}var Hi=(()=>{class s{fb=h(Ae);userManagementService=h(ie);notificationService=h(te);translateService=h(ee);confirmationDialog=F.required("confirmationDialog");user=T(null);isSubmitting=T(!1);userUpdated=xe();userForm=this.fb.group({firstName:["",z.required],lastName:["",z.required],username:["",z.required],email:["",[z.required,z.email]]});show(e){this.user.set(e),this.userForm.patchValue({firstName:e.firstName,lastName:e.lastName,username:e.username,email:e.email}),this.confirmationDialog().show()}
3isSaveButtonDisabled(){return this.userForm.invalid||this.isSubmitting()}handleConfirm(){if(this.userForm.valid&&this.user()&&!this.isSubmitting()){this.isSubmitting.set(!0);let e=this.user(),t=this.userForm.value;if(!e)return;let o={firstName:t.firstName,lastName:t.lastName,username:t.username,email:t.email,emailVerified:!0};this.userManagementService.updateUser(e.keycloakId,o).subscribe({next:n=>{this.notificationService.sendSuccess(this.translateService.instant("panel.users.editUser.success")),this.confirmationDialog().hide(),this.userUpdated.emit(n),this.isSubmitting.set(!1)},error:n=>{console.error("Error updating user:",n),this.notificationService.sendError(this.translateService.instant("panel.users.editUser.error")),this.isSubmitting.set(!1)}})}}handleCancel(){this.confirmationDialog().hide()}static \u0275fac=function(t){return new(t||s)};static \u0275cmp=k({type:s,selectors:[["jw-edit-user-modal"]],viewQuery:function(t,o){t&1&&B(o.confirmationDialog,vo,5),t&2&&J()},outputs:{userUpdated:"userUpdated"},decls:36,vars:48,consts:[["confirmationDialog",""],[3,"confirmed","cancelled","confirmButtonLabel","cancelButtonLabel","confirmButtonClasses","cancelButtonClasses"],[1,"text-lg","font-bold","mb-4"],[1,"space-y-4",3,"formGroup"],[1,"form-control"],["for","firstName",1,"block","text-sm","font-medium","mb-2"],["type","text","id","firstName","formControlName","firstName",1,"input","input-bordered","w-full",3,"placeholder"],[1,"label"],["for","lastName",1,"block","text-sm","font-medium","mb-2"],["type","text","id","lastName","formControlName","lastName",1,"input","input-bordered","w-full",3,"placeholder"],["for","username",1,"block","text-sm","font-medium","mb-2"],["type","text","id","username","formControlName","username",1,"input","input-bordered","w-full",3,"placeholder"],["for","email",1,"block","text-sm","font-medium","mb-2"],["type","email","id","email","formControlName","email",1,"input","input-bordered","w-full",3,"placeholder"],[1,"label-text-alt","text-error"]],template:function(t,o){if(t&1){let n=A();d(0,"ui-confirmation-dialog",1,0),p(2,"translate"),p(3,"translate"),P("confirmed",function(){return w(n),C(o.handleConfirm())})("cancelled",function(){return w(n),C(o.handleCancel())}),d(4,"h3",2),f(5),p(6,"translate"),c(),d(7,"form",3)(8,"div",4)(9,"label",5),f(10),p(11,"translate"),c(),S(12,"input",6),p(13,"translate"),x(14,yo,4,3,"div",7),c(),d(15,"div",4)(16,"label",8),f(17),p(18,"translate"),c(),S(19,"input",9),p(20,"translate"),x(21,bo,4,3,"div",7),c(),d(22,"div",4)(23,"label",10),f(24),p(25,"translate"),c(),S(26,"input",11),p(27,"translate"),x(28,wo,4,3,"div",7),c(),d(29,"div",4)(30,"label",12),f(31),p(32,"translate"),c(),S(33,"input",13),p(34,"translate"),x(35,Po,4,2,"div",7),c()()()}if(t&2){let n,r,a,m,g,_,b,R;y("confirmButtonLabel",u(2,26,"panel.users.editUser.buttons.save"))("cancelButtonLabel",u(3,28,"panel.users.editUser.buttons.cancel"))("confirmButtonClasses",o.isSaveButtonDisabled()?"btn-success btn-disabled":"btn-success")("cancelButtonClasses","btn-outline"),l(5),Y(u(6,30,"panel.users.editUser.title")),l(2),y("formGroup",o.userForm),l(3),v(" ",u(11,32,"panel.users.editUser.form.firstName.label")," * "),l(2),N("input-error",((n=o.userForm.get("firstName"))==null?null:n.invalid)&&((n=o.userForm.get("firstName"))==null?null:n.touched)),y("placeholder",u(13,34,"panel.users.editUser.form.firstName.placeholder")),l(2),O((r=o.userForm.get("firstName"))!=null&&r.invalid&&((r=o.userForm.get("firstName"))!=null&&r.touched)?14:-1),l(3),v(" ",u(18,36,"panel.users.editUser.form.lastName.label")," * "),l(2),N("input-error",((a=o.userForm.get("lastName"))==null?null:a.invalid)&&((a=o.userForm.get("lastName"))==null?null:a.touched)),y("placeholder",u(20,38,"panel.users.editUser.form.lastName.placeholder")),l(2),O((m=o.userForm.get("lastName"))!=null&&m.invalid&&((m=o.userForm.get("lastName"))!=null&&m.touched)?21:-1),l(3),v(" ",u(25,40,"panel.users.editUser.form.username.label")," * "),l(2),N("input-error",((g=o.userForm.get("username"))==null?null:g.invalid)&&((g=o.userForm.get("username"))==null?null:g.touched)),y("placeholder",u(27,42,"panel.users.editUser.form.username.placeholder")),l(2),O((_=o.userForm.get("username"))!=null&&_.invali
3d&&((_=o.userForm.get("username"))!=null&&_.touched)?28:-1),l(3),v(" ",u(32,44,"panel.users.editUser.form.email.label")," * "),l(2),N("input-error",((b=o.userForm.get("email"))==null?null:b.invalid)&&((b=o.userForm.get("email"))==null?null:b.touched)),y("placeholder",u(34,46,"panel.users.editUser.form.email.placeholder")),l(2),O((R=o.userForm.get("email"))!=null&&R.invalid&&((R=o.userForm.get("email"))!=null&&R.touched)?35:-1)}},dependencies:[H,Ie,ke,Oe,De,Re,Me,Te,j,X,ue],encapsulation:2,changeDetection:0})}return s})();var Eo=["changePasswordModal"],xo=["accessEditModal"],Oo=["editUserModal"];function Do(s,i){if(s&1){let e=A();d(0,"button",36),P("click",function(){w(e);let o=D();return C(o.clearSearch())}),S(1,"i",37),f(2),p(3,"translate"),c()}s&2&&(l(2),v(" ",u(3,1,"panel.users.search.clear")," "))}function Ro(s,i){s&1&&(d(0,"div",18),f(1),p(2,"translate"),c()),s&2&&(l(),v(" ",u(2,1,"panel.users.search.minCharsWarning")," "))}function ko(s,i){if(s&1&&(d(0,"div",19)(1,"strong"),f(2),p(3,"translate"),c(),f(4),c()),s&2){let e=D();l(2),Y(u(3,2,"panel.users.search.activeSearch")),l(2),v(' "',e.activeSearchQuery(),'" ')}}function Mo(s,i){s&1&&(d(0,"th",38),f(1),p(2,"translate"),c()),s&2&&(l(),v("",u(2,1,"panel.users.table.name")," "))}function To(s,i){if(s&1&&(d(0,"td",39),f(1),c()),s&2){let e=i.$implicit;l(),Lt(" ",e.firstName," ",e.lastName," ")}}function Ao(s,i){s&1&&(d(0,"th",38),f(1),p(2,"translate"),c()),s&2&&(l(),v("",u(2,1,"panel.users.table.username")," "))}function Io(s,i){if(s&1&&(d(0,"td",39),f(1),c()),s&2){let e=i.$implicit;l(),v(" ",e.username," ")}}function Lo(s,i){s&1&&(d(0,"th",38),f(1),p(2,"translate"),c()),s&2&&(l(),v("",u(2,1,"panel.users.table.email")," "))}function Bo(s,i){if(s&1&&(d(0,"td",39),f(1),c()),s&2){let e=i.$implicit;l(),Y(e.email)}}function Fo(s,i){s&1&&(d(0,"th",38),f(1),p(2,"translate"),c()),s&2&&(l(),v(" ",u(2,1,"panel.users.table.permissions")," "))}function No(s,i){if(s&1&&(d(0,"td",39),S(1,"jw-access-overview",40),c()),s&2){let e=i.$implicit,t=D();l(),y("user",e)("roleIconMap",t.roleIconMap())}}function Vo(s,i){s&1&&(d(0,"th",38),f(1),p(2,"translate"),c()),s&2&&(l(),v("",u(2,1,"panel.users.table.active")," "))}function Uo(s,i){if(s&1){let e=A();d(0,"td",41)(1,"input",42),P("change",function(){let o=w(e).$implicit,n=D();return C(n.toggleActive(o))}),c()()}if(s&2){let e=i.$implicit,t=D();l(),y("checked",e.enabled)("disabled",t.isUserBeingToggled(e.keycloakId)||t.isUserProtected(e))}}function Yo(s,i){s&1&&(d(0,"th",38),f(1),p(2,"translate"),c()),s&2&&(l(),v("",u(2,1,"panel.users.table.actions")," "))}function Ho(s,i){if(s&1){let e=A();d(0,"td",39)(1,"button",43),P("click",function(){let o=w(e).$implicit,n=D();return C(n.openEditUserModal(o))}),f(2),p(3,"translate"),c(),d(4,"button",44),P("click",function(){let o=w(e).$implicit,n=D();return C(n.openAccessEditModal(o))}),f(5),p(6,"translate"),c(),d(7,"button",45),P("click",function(){let o=w(e).$implicit,n=D();return C(n.openChangePasswordModal(o))}),f(8),p(9,"translate"),c(),d(10,"button",46),f(11),p(12,"translate"),c()()}if(s&2){let e=i.$implicit,t=D();l(),y("disabled",t.isUserProtected(e)),l(),v(" ",u(3,8,"panel.users.actions.editUserData")," "),l(2),y("disabled",t.isUserProtected(e)),l(),v(" ",u(6,10,"panel.users.actions.editPermissions")," "),l(2),y("disabled",t.isUserProtected(e)),l(),v(" ",u(9,12,"panel.users.actions.changePassword")," "),l(2),y("disabled",t.isUserProtected(e)),l(),v(" ",u(12,14,"panel.users.actions.deleteUser")," ")}}function Xo(s,i){s&1&&S(0,"tr",47)}function jo(s,i){s&1&&S(0,"tr",48)}var dr=(()=>{class s extends Xt{usersBeingToggled=T(new Set);protectedRole=ve();toggleActive(e){let t=`${e.firstName} ${e.lastName}`;e.enabled?this.performUserStatusChange(e,"block",t):this.performUserStatusChange(e,"unblock",t)}performUserStatusChange(e,t,o){this.usersBeingToggled.update(r=>new Set(r.add(e.keycloakId))),(t==="block"?this.userManagementService.blockUser(e.keycloakId):this.userManagementService.unblockUser(e.keycloakId)).subscribe({next:()=>{e.enabled=t==="unblock",this.showStatusChangeNotification(!0,t,o),this.removeUserFromToggling(e.keycloakId)},error:()=>{this.showStatusChangeNotification(!1,t,o),this.removeUserFromToggling(e.keycloakId)}})}removeUserFromToggling(e){this.usersBeingToggled.update(t=>{let o=new Set(t);return o.delete(e),o})}isUserBeingToggled(e){return this.usersBeingToggled().has(e)}isUserProtected(e){let t=this.protectedRole();return!!t&&e.privileges.includes(t)}showStatusChangeNotification(e,t,o){let n=t==="block"?"panel.users.block":"panel.users.unblock",r=e?`${n}Success`:`${n}Error`,a=this.translateService.instant(r,{name:o});e?this.notificationService.sendSuccess(a):this.notificationService.sendError(a)}tableDatasource=new hi;displayedColumns=["name","username","email","permissions","active","actions"];roleIconMap=ne(()=>zt().map(t=>({icon:t.icon,privilege:t.key,tooltipKey:t.descriptionKey})));paginator=F.required(Le);changePasswordModal=F.required("changePasswordModal");accessEditModal=F.required("accessEditModal");editUserModal=F.required("editUserModal");searchQuery=T("");activeSearchParam=T("");minSearchLength=3;hasClearableSearch=ne(()=>{let e=this.activeSearchParam();return e&&e.length>=this.minSearchLength});activeSearchQuery=ne(()=>{let e=this.activeSearchParam();return e&&e.length>=this.minSearchLength?e:""});userManagementService=h(ie);notificationService=h(te);translateService=h(ee);languageService=h(jt);router=h(Ht);route=h(Yt);currentLanguage=ne(()=>this.languageService.getCurrentLanguage());ngAfterViewInit(){this.route.queryParams.subscribe(e=>{let t=e.search||"";this.activeSearchParam.set(t),this.searchQuery.set(t),this.loadData()})}loadData(){this.dataRequest().subscribe({next:e=>{this.totalElements.set(e.totalElements),this.tableDatasource.data=e.content},error:()=>{this.notificationService.sendError(this.translateService.instant("panel.users.loadError"))}})}dataRequest(){let e=this.activeSearchParam();return e&&e.length>=this.minSearchLength?this.userManagementService.searchUsers(e,{page:this.pageIndex(),size:this.pageSize()}):this.userManagementService.listUsers({page:this.pageIndex(),size:this.pageSize()})}updateSearchQuery(e){this.searchQuery.set(e)}isSearchValid(){return this.searchQuery().length>=this.minSearchLength}onSearch(){this.isSearchValid()&&(this.pageIndex.set(0),this.updateUrlParams(this.searchQuery()))}clearSearch(){this.searchQuery.set(""),this.pageIndex.set(0),this.updateUrlParams("")}updateUrlParams(e){this.router.navigate([],{relativeTo:this.route,queryParams:{search:e||null},queryParamsHandling:"merge"})}navigateToCreateUser(){this.router.navigate(["create"],{relativeTo:this.route})}openChangePasswordModal(e){this.changePasswordModal().show(e)}
3openAccessEditModal(e){this.accessEditModal().show(e)}openEditUserModal(e){this.editUserModal().show(e)}onUserAccessUpdated(){this.loadData()}onUserUpdated(){this.loadData()}static \u0275fac=(()=>{let e;return function(o){return(e||(e=de(s)))(o||s)}})();static \u0275cmp=k({type:s,selectors:[["jw-users-list"]],viewQuery:function(t,o){t&1&&(B(o.paginator,Le,5),B(o.changePasswordModal,Eo,5),B(o.accessEditModal,xo,5),B(o.editUserModal,Oo,5)),t&2&&J(4)},inputs:{protectedRole:[1,"protectedRole"]},features:[Ze],decls:54,vars:27,consts:[["searchInput",""],["changePasswordModal",""],["accessEditModal",""],["editUserModal",""],[1,"ms-4","me-8"],[1,"mt-4","mb-4","text-2xl","font-bold"],[1,"btn","btn-success","btn-sm",3,"click"],[1,"my-4"],[1,"flex","items-center","gap-3"],[1,"input"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24",1,"h-[1em]","opacity-50",2,"height","1em !important"],["stroke-linejoin","round","stroke-linecap","round","stroke-width","2.5","fill","none","stroke","currentColor"],["cx","11","cy","11","r","8"],["d","m21 21-4.3-4.3"],["type","search",3,"input","keyup.enter","placeholder","value"],[1,"btn","btn-primary","btn-sm",3,"click","disabled"],[1,"fas","fa-search","mr-1"],[1,"btn","btn-secondary","btn-sm"],[1,"text-base-content/70","mt-2","text-sm"],[1,"text-base-content","mt-2","text-sm"],[1,"table-responsive","w-full"],["mat-table","",1,"my-5","w-full",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","","mat-sort-header","id",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","username"],["matColumnDef","email"],["matColumnDef","permissions"],["matColumnDef","active"],["mat-cell","","class","text-center",4,"matCellDef"],["matColumnDef","actions"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],[3,"page","pageIndex","pageSize","length","pageSizeOptions","language","showRangeLabel","showPageLabel"],[3,"userAccessUpdated"],[3,"userUpdated"],[1,"btn","btn-secondary","btn-sm",3,"click"],[1,"fas","fa-times","mr-1"],["mat-header-cell","","mat-sort-header","id"],["mat-cell",""],[3,"user","roleIconMap"],["mat-cell","",1,"text-center"],["type","checkbox",1,"toggle","toggle-success",3,"change","checked","disabled"],["data-test","edit-user",1,"btn","btn-info","btn-outline","btn-sm","mx-1","my-1","whitespace-nowrap",3,"click","disabled"],["data-test","edit-permissions",1,"btn","btn-info","btn-outline","btn-sm","mx-1","my-1","whitespace-nowrap",3,"click","disabled"],["data-test","change-password",1,"btn","btn-info","btn-outline","btn-sm","mx-1","my-1","whitespace-nowrap",3,"click","disabled"],["data-test","delete-user",1,"btn","btn-error","btn-outline","btn-sm","mx-1","my-1","whitespace-nowrap",3,"disabled"],["mat-header-row",""],["mat-row",""]],template:function(t,o){if(t&1){let n=A();d(0,"div",4)(1,"div")(2,"h1",5),f(3),p(4,"translate"),c(),d(5,"button",6),P("click",function(){return w(n),C(o.navigateToCreateUser())}),f(6),p(7,"translate"),c()(),d(8,"div",7)(9,"div",8)(10,"label",9),St(),d(11,"svg",10)(12,"g",11),S(13,"circle",12)(14,"path",13),c()(),Pt(),d(15,"input",14,0),p(17,"translate"),P("input",function(a){return w(n),C(o.updateSearchQuery(a.target.value))})("keyup.enter",function(){return w(n),C(o.onSearch())}),c()(),d(18,"button",15),P("click",function(){return w(n),C(o.onSearch())}),S(19,"i",16),f(20),p(21,"translate"),c(),x(22,Do,4,3,"button",17),c(),x(23,Ro,3,3,"div",18),x(24,ko,5,4,"div",19),c(),d(25,"div",20)(26,"table",21),oe(27,22),Z(28,Mo,3,3,"th",23)(29,To,2,2,"td",24),se(),oe(30,25),Z(31,Ao,3,3,"th",23)(32,Io,2,1,"td",24),se(),oe(33,26),Z(34,Lo,3,3,"th",23)(35,Bo,2,1,"td",24),se(),oe(36,27),Z(37,Fo,3,3,"th",23)(38,No,2,2,"td",24),se(),oe(39,28),Z(40,Vo,3,3,"th",23)(41,Uo,2,2,"td",29),se(),oe(42,30),Z(43,Yo,3,3,"th",23)(44,Ho,13,16,"td",24),se(),Z(45,Xo,1,0,"tr",31)(46,jo,1,0,"tr",32),c(),d(47,"ui-paginator",33),P("page",function(a){return w(n),C(o.changePage(a.pageIndex,a.pageSize))}),c()()(),S(48,"jw-change-password-modal",null,1),d(50,"jw-access-edit-modal",34,2),P("userAccessUpdated",function(){return w(n),C(o.onUserAccessUpdated())}),c(),d(52,"jw-edit-user-modal",35,3),P("userUpdated",function(){return w(n),C(o.onUserUpdated())}),c()}t&2&&(l(3),Y(u(4,19,"panel.users.title")),l(3),v("",u(7,21,"panel.users.addUser")," "),l(9),y("placeholder",u(17,23,"panel.users.search.placeholder"))("value",o.searchQuery()),l(3),y("disabled",!o.isSearchValid()),l(2),v(" ",u
3(21,25,"panel.users.search.button")," "),l(2),O(o.hasClearableSearch()?22:-1),l(),O(o.searchQuery()&&o.searchQuery().length>0&&o.searchQuery().length<3?23:-1),l(),O(o.activeSearchQuery()?24:-1),l(2),y("dataSource",o.tableDatasource),l(19),y("matHeaderRowDef",o.displayedColumns),l(),y("matRowDefColumns",o.displayedColumns),l(),y("pageIndex",o.pageIndex())("pageSize",o.pageSize())("length",o.totalElements())("pageSizeOptions",o.pageSizeOptions())("language",o.currentLanguage())("showRangeLabel",!1)("showPageLabel",!0))},dependencies:[H,di,ei,ii,ri,oi,ti,ai,si,ni,li,ci,Le,Vi,Ui,Yi,Hi,j,X],styles:["mat-table[_ngcontent-%COMP%]{display:table!important;table-layout:auto;width:100%}.mat-column-name[_ngcontent-%COMP%]{width:18%;min-width:150px}.mat-column-username[_ngcontent-%COMP%]{width:15%;min-width:150px}.mat-column-email[_ngcontent-%COMP%]{width:15%;min-width:180px}.mat-column-permissions[_ngcontent-%COMP%]{width:12%;min-width:120px}.mat-column-active[_ngcontent-%COMP%]{width:10%;min-width:80px;text-align:center}.mat-column-actions[_ngcontent-%COMP%]{width:30%;min-width:300px}"]})}return s})();export{dr as UsersListComponent};

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.