PageSourceSearch

https://portal.privacypillar.com/default-node_modules_angular_cdk_fesm2020_overlay_mjs.7b6b022504ddae9b.js

js privacypillar.com collected 2026-09-24 09:07:43 UTC 43,864 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkprivacypillar_sfo3=self.webpackChunkprivacypillar_sfo3||[]).push([["default-node_modules_angular_cdk_fesm2020_overlay_mjs"],{98184:(nt,X,b)=>{b.d(X,{Iu:()=>Q,U8:()=>yt,X_:()=>h,Xj:()=>G,aV:()=>I,pI:()=>pt,xu:()=>st});var y=b(35197),D=b(36895),l=b(94650),g=b(21281),R=b(83353),K=b(92198),Z=b(72986),U=b(7625),H=b(44290),A=b(40445),F=b(84080),M=b(8929),k=b(42654),$=b(36787),Y=b(29521);const N=(0,R.Mq)();class V{constructor(t,e){this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){const t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=(0,g.HM)(-this._previousScrollPosition.left),t.style.top=(0,g.HM)(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const t=this._document.documentElement,i=t.style,s=this._document.body.style,n=i.scrollBehavior||"",r=s.scrollBehavior||"";this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),N&&(i.scrollBehavior=s.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),N&&(i.scrollBehavior=n,s.scrollBehavior=r)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const e=this._document.body,i=this._viewportRuler.getViewportSize();return e.scrollHeight>i.height||e.scrollWidth>i.width}}class W{constructor(t,e,i,s){this._scrollDispatcher=t,this._ngZone=e,this._viewportRuler=i,this._config=s,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(t){this._overlayRef=t}enable(){if(this._scrollSubscription)return;const t=this._scrollDispatcher.scrolled(0).pipe((0,K.h)(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=t.subscribe(()=>{const e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=t.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class j{enable(){}disable(){}attach(){}}function T(o,t){return t.some(e=>o.bottom<e.top||o.top>e.bottom||o.right<e.left||o.left>e.right)}function z(o,t){return t.some(e=>o.top<e.top||o.bottom>e.bottom||o.left<e.left||o.right>e.right)}class u{constructor(t,e,i,s){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=i,this._config=s,this._scrollSubscription=null}attach(t){this._overlayRef=t}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:i,height:s}=this._viewportRuler.getViewportSize();T(e,[{width:i,height:s,bottom:s,right:i,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}}let a=(()=>{class o{constructor(e,i,s,n){this._scrollDispatcher=e,this._viewportRuler=i,this._ngZone=s,this.noop=()=>new j,this.close=r=>new W(this._scrollDispatcher,this._ngZone,this._viewportRuler,r),this.block=()=>new V(this._viewportRuler,this._document),this.reposition=r=>new u(this._scrollDispatcher,this._viewportRuler,this._ngZone,r),this._document=n}}return o.\u0275fac=function(e){return new(e||o)(l.LFG(y.mF),l.LFG(y.rL),l.LFG(l.R0b),l.LFG(D.K0))},o.\u0275prov=l.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"}),o})();class h{constructor(t){if(this.scrollStrategy=new j,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t){const e=Object.keys(t);for(const i of e)void 0!==t[i]&&(this[i]=t[i])}}}class C{constructor(t,e){this.connectionPair=t,this.scrollableViewProperties=e}}let B=(()=>{class o{constructor(e){this._attachedOverlays=[],this._document=e}
1ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){const i=this._attachedOverlays.indexOf(e);i>-1&&this._attachedOverlays.splice(i,1),0===this._attachedOverlays.length&&this.detach()}}return o.\u0275fac=function(e){return new(e||o)(l.LFG(D.K0))},o.\u0275prov=l.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"}),o})(),at=(()=>{class o extends B{constructor(e,i){super(e),this._ngZone=i,this._keydownListener=s=>{const n=this._attachedOverlays;for(let r=n.length-1;r>-1;r--)if(n[r]._keydownEvents.observers.length>0){const c=n[r]._keydownEvents;this._ngZone?this._ngZone.run(()=>c.next(s)):c.next(s);break}}}add(e){super.add(e),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return o.\u0275fac=function(e){return new(e||o)(l.LFG(D.K0),l.LFG(l.R0b,8))},o.\u0275prov=l.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"}),o})(),lt=(()=>{class o extends B{constructor(e,i,s){super(e),this._platform=i,this._ngZone=s,this._cursorStyleIsSet=!1,this._pointerDownListener=n=>{this._pointerDownEventTarget=(0,R.sA)(n)},this._clickListener=n=>{const r=(0,R.sA)(n),c="click"===n.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:r;this._pointerDownEventTarget=null;const f=this._attachedOverlays.slice();for(let p=f.length-1;p>-1;p--){const d=f[p];if(d._outsidePointerEvents.observers.length<1||!d.hasAttached())continue;if(d.overlayElement.contains(r)||d.overlayElement.contains(c))break;const v=d._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>v.next(n)):v.next(n)}}}add(e){if(super.add(e),!this._isAttached){const i=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(i)):this._addEventListeners(i),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=i.style.cursor,i.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const e=this._document.body;e.removeEventListener("pointerdown",this._pointerDownListener,!0),e.removeEventListener("click",this._clickListener,!0),e.removeEventListener("auxclick",this._clickListener,!0),e.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(e.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(e){e.addEventListener("pointerdown",this._pointerDownListener,!0),e.addEventListener("click",this._clickListener,!0),e.addEventListener("auxclick",this._clickListener,!0),e.addEventListener("contextmenu",this._clickListener,!0)}}return o.\u0275fac=function(e){return new(e||o)(l.LFG(D.K0),l.LFG(R.t4),l.LFG(l.R0b,8))},o.\u0275prov=l.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"}),o})(),G=(()=>{class o{constructor(e,i){this._platform=i,this._document=e}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const e="cdk-overlay-container";if(this._platform.isBrowser||(0,R.Oy)()){const s=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let n=0;n<s.length;n++)s[n].remove()}const i=this._document.createElement("div");i.classList.add(e),(0,R.Oy)()?i.setAttribute("platform","test"):this._platform.isBrowser||i.setAttribute("platform","server"),this._document.body.appendChild(i),this._containerElement=i}}return o.\u0275fac=function(e){return new(e||o)(l.LFG(D.K0),l.LFG(R.t4))},o.\u0275prov=l.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"}),o})();class Q{constructor(t,e,i,s,n,r,c,f,p,d=!1){this._portalOutlet=t,this._host=e,this._pane=i,this._config=s,this._ngZone=n,this._keyboardDispatcher=r,this._document=c,this._location=f,this._outsideClickDispatcher=p,this._animationsDisabled=d,this._backdropElement=null,this._backdropClick=new M.xQ,this._attachments=new M.xQ,this._detachments=new M.xQ,this._locationChanges=k.w.EMPTY,this._backdropClickHandler=v=>this._backdropClick.next(v),this._backdropTransitionendHandler=v=>{this._disposeBackdrop(v.target)}
1,this._keydownEvents=new M.xQ,this._outsidePointerEvents=new M.xQ,s.scrollStrategy&&(this._scrollStrategy=s.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=s.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(t){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const e=this._portalOutlet.attach(t);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,Z.q)(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof e?.onDestroy&&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();const t=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),t}dispose(){const t=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),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._previousHostParent=this._pane=this._host=null,t&&this._detachments.next(),this._detachments.complete()}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(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()))}updateSize(t){this._config={...this._config,...t},this._updateElementSize()}setDirection(t){this._config={...this._config,direction:t},this._updateElementDirection()}addPanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!0)}removePanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!1)}getDirection(){const t=this._config.direction;return t?"string"==typeof t?t:t.value:"ltr"}updateScrollStrategy(t){t!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=t,this.hasAttached()&&(t.attach(this),t.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const t=this._pane.style;t.width=(0,g.HM)(this._config.width),t.height=(0,g.HM)(this._config.height),t.minWidth=(0,g.HM)(this._config.minWidth),t.minHeight=(0,g.HM)(this._config.minHeight),t.maxWidth=(0,g.HM)(this._config.maxWidth),t.maxHeight=(0,g.HM)(this._config.maxHeight)}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"":"none"}_attachBackdrop(){const t="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(t)})}):this._backdropElement.classList.add(t)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const t=this._backdropElement;if(t){if(this._animationsDisabled)return void this._disposeBackdrop(t);t.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{t.addEventListener("transitionend",this._backdropTransitionendHandler)}),t.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(t)},500))}}_toggleClasses(t,e,i){const s=(0,g.Eq)(e||[]).filter(n=>!!n);s.length&&(i?t.classList.add(...s):t.classList.remove(...s))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const t=this._ngZone.onStable.pipe((0,U.R)((0,$.T)(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(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()),t.unsubscribe())})})}_disposeScrollStrategy(){const t=this._scrollStrategy;t&&(t.disable(),t.detach&&t.detach())}_disposeBackdrop(t){t&&(t.removeEventListener("click",this._backdropClickHandler),t.removeEventListener("transitionend",this._backdropTransitionendHandler),t.remove(),this._backdropElement===t&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const J="cdk-overlay-connected-position-bounding-box",ht=/([A-Za-z%]+)$/;class ct{get positions(){return this._preferredPositions}
1constructor(t,e,i,s,n){this._viewportRuler=e,this._document=i,this._platform=s,this._overlayContainer=n,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new M.xQ,this._resizeSubscription=k.w.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(t)}attach(t){this._validatePositions(),t.hostElement.classList.add(J),this._overlayRef=t,this._boundingBox=t.hostElement,this._pane=t.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)return void this.reapplyLastPosition();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();const t=this._originRect,e=this._overlayRect,i=this._viewportRect,s=this._containerRect,n=[];let r;for(let c of this._preferredPositions){let f=this._getOriginPoint(t,s,c),p=this._getOverlayPoint(f,e,c),d=this._getOverlayFit(p,e,i,c);if(d.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(c,f);this._canFitWithFlexibleDimensions(d,p,i)?n.push({position:c,origin:f,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(f,c)}):(!r||r.overlayFit.visibleArea<d.visibleArea)&&(r={overlayFit:d,overlayPoint:p,originPoint:f,position:c,overlayRect:e})}if(n.length){let c=null,f=-1;for(const p of n){const d=p.boundingBoxRect.width*p.boundingBoxRect.height*(p.position.weight||1);d>f&&(f=d,c=p)}return this._isPushed=!1,void this._applyPosition(c.position,c.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(r.position,r.originPoint);this._applyPosition(r.position,r.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&L(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(J),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const t=this._lastPosition;if(t){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const e=this._getOriginPoint(this._originRect,this._containerRect,t);this._applyPosition(t,e)}else this.apply()}withScrollableContainers(t){return this._scrollables=t,this}withPositions(t){return this._preferredPositions=t,-1===t.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(t){return this._viewportMargin=t,this}withFlexibleDimensions(t=!0){return this._hasFlexibleDimensions=t,this}withGrowAfterOpen(t=!0){return this._growAfterOpen=t,this}withPush(t=!0){return this._canPush=t,this}withLockedPosition(t=!0){return this._positionLocked=t,this}setOrigin(t){return this._origin=t,this}withDefaultOffsetX(t){return this._offsetX=t,this}withDefaultOffsetY(t){return this._offsetY=t,this}withTransformOriginOn(t){return this._transformOriginSelector=t,this}_getOriginPoint(t,e,i){let s,n;if("center"==i.originX)s=t.left+t.width/2;else{const r=this._isRtl()?t.right:t.left,c=this._isRtl()?t.left:t.right;s="start"==i.originX?r:c}return e.left<0&&(s-=e.left),n="center"==i.originY?t.top+t.height/2:"top"==i.originY?t.top:t.bottom,e.top<0&&(n-=e.top),{x:s,y:n}}_getOverlayPoint(t,e,i){let s,n;return s="center"==i.overlayX?-e.width/2:"start"===i.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,n="center"==i.overlayY?-e.height/2:"top"==i.overlayY?0:-e.height,{x:t.x+s,y:t.y+n}}_getOverlayFit(t,e,i,s){const n=tt(e);let{x:r,y:c}
1=t,f=this._getOffset(s,"x"),p=this._getOffset(s,"y");f&&(r+=f),p&&(c+=p);let x=0-c,O=c+n.height-i.height,w=this._subtractOverflows(n.width,0-r,r+n.width-i.width),S=this._subtractOverflows(n.height,x,O),ot=w*S;return{visibleArea:ot,isCompletelyWithinViewport:n.width*n.height===ot,fitsInViewportVertically:S===n.height,fitsInViewportHorizontally:w==n.width}}_canFitWithFlexibleDimensions(t,e,i){if(this._hasFlexibleDimensions){const s=i.bottom-e.y,n=i.right-e.x,r=q(this._overlayRef.getConfig().minHeight),c=q(this._overlayRef.getConfig().minWidth);return(t.fitsInViewportVertically||null!=r&&r<=s)&&(t.fitsInViewportHorizontally||null!=c&&c<=n)}return!1}_pushOverlayOnScreen(t,e,i){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};const s=tt(e),n=this._viewportRect,r=Math.max(t.x+s.width-n.width,0),c=Math.max(t.y+s.height-n.height,0),f=Math.max(n.top-i.top-t.y,0),p=Math.max(n.left-i.left-t.x,0);let d=0,v=0;return d=s.width<=n.width?p||-r:t.x<this._viewportMargin?n.left-i.left-t.x:0,v=s.height<=n.height?f||-c:t.y<this._viewportMargin?n.top-i.top-t.y:0,this._previousPushAmount={x:d,y:v},{x:t.x+d,y:t.y+v}}_applyPosition(t,e){if(this._setTransformOrigin(t),this._setOverlayElementStyles(e,t),this._setBoundingBoxStyles(e,t),t.panelClass&&this._addPanelClasses(t.panelClass),this._lastPosition=t,this._positionChanges.observers.length){const i=this._getScrollVisibility(),s=new C(t,i);this._positionChanges.next(s)}this._isInitialRender=!1}_setTransformOrigin(t){if(!this._transformOriginSelector)return;const e=this._boundingBox.querySelectorAll(this._transformOriginSelector);let i,s=t.overlayY;i="center"===t.overlayX?"center":this._isRtl()?"start"===t.overlayX?"right":"left":"start"===t.overlayX?"left":"right";for(let n=0;n<e.length;n++)e[n].style.transformOrigin=`${i} ${s}`}_calculateBoundingBoxRect(t,e){const i=this._viewportRect,s=this._isRtl();let n,r,c,d,v,x;if("top"===e.overlayY)r=t.y,n=i.height-r+this._viewportMargin;else if("bottom"===e.overlayY)c=i.height-t.y+2*this._viewportMargin,n=i.height-c+this._viewportMargin;else{const O=Math.min(i.bottom-t.y+i.top,t.y),w=this._lastBoundingBoxSize.height;n=2*O,r=t.y-O,n>w&&!this._isInitialRender&&!this._growAfterOpen&&(r=t.y-w/2)}if("end"===e.overlayX&&!s||"start"===e.overlayX&&s)x=i.width-t.x+this._viewportMargin,d=t.x-this._viewportMargin;else if("start"===e.overlayX&&!s||"end"===e.overlayX&&s)v=t.x,d=i.right-t.x;else{const O=Math.min(i.right-t.x+i.left,t.x),w=this._lastBoundingBoxSize.width;d=2*O,v=t.x-O,d>w&&!this._isInitialRender&&!this._growAfterOpen&&(v=t.x-w/2)}return{top:r,left:v,bottom:c,right:x,width:d,height:n}}_setBoundingBoxStyles(t,e){const i=this._calculateBoundingBoxRect(t,e);!this._isInitialRender&&!this._growAfterOpen&&(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));const s={};if(this._hasExactPosition())s.top=s.left="0",s.bottom=s.right=s.maxHeight=s.maxWidth="",s.width=s.height="100%";else{const n=this._overlayRef.getConfig().maxHeight,r=this._overlayRef.getConfig().maxWidth;s.height=(0,g.HM)(i.height),s.top=(0,g.HM)(i.top),s.bottom=(0,g.HM)(i.bottom),s.width=(0,g.HM)(i.width),s.left=(0,g.HM)(i.left),s.right=(0,g.HM)(i.right),s.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",s.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",n&&(s.maxHeight=(0,g.HM)(n)),r&&(s.maxWidth=(0,g.HM)(r))}this._lastBoundingBoxSize=i,L(this._boundingBox.style,s)}_resetBoundingBoxStyles(){L(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){L(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,e){const i={},s=this._hasExactPosition(),n=this._hasFlexibleDimensions,r=this._overlayRef.getConfig();if(s){const d=this._viewportRuler.getViewportScrollPosition();L(i,this._getExactOverlayY(e,t,d)),L(i,this._getExactOverlayX(e,t,d))}else i.position="static";let c="",f=this._getOffset(e,"x"),p=this._getOffset(e,"y");f&&(c+=`translateX(${f}px) `),p&&(c+=`translateY(${p}px)`),i.transform=c.trim(),r.maxHeight&&(s?i.maxHeight=(0,g.HM)(r.maxHeight):n&&(i.maxHeight="")),r.maxWidth&&(s?i.maxWidth=(0,g.HM)(r.maxWidth):n&&(i.maxWidth="")),L(this._pane.style,i)}_getExactOverlayY(t,e,i){let s={top:"",bottom:""},n=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(n=this._pushOverlayOnScreen(n,this._overlayRect,i)),"bottom"===t.overlayY?s.bottom=this._document.documentElement.clientHeight-(n.y+this._overlayRect.height)+"px":s.top=(0,g.HM)(n.y),s}_getExactOverlayX(t,e,i){let r,s={left:"",right:""},n=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(n=this._pushOverlayOnScreen(n,this._overlayRect,i)),r=this._isRtl()?"end"===t.overlayX?"left":"right":"end"===t.overlayX?"right":"left","right"===r?s.right=this._document.documentElement.clientWidth-(n.x+this._overlayRect.width)+"px":s.left=(0,g.HM)(n.x),s}_getScrollVisibility(){const t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),i=this._scrollables.map(s=>s.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:z(t,i),isOriginOutsideView:T(t,i),isOverlayClipped:z(e,i),isOverlayOutsideView:T(e,i)}}_subtractOverflows(t,...e){return e.reduce((i,s)=>i-Math.max(s,0),t)}_getNarrowedViewportRect(){const t=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,i=this._viewportRuler.getViewportScrollPosition();return{top:i.top+this._viewportMargin,left:i.left+this._viewportMargin,right:i.left+t-this._viewportMargin,bottom:i.top+e-this._viewportMargin,width:t-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(t,e){return"x"===e?null==t.offsetX?this._offsetX:t.offsetX:null==t.offsetY?this._offsetY:t.offsetY}_validatePositions(){}
1_addPanelClasses(t){this._pane&&(0,g.Eq)(t).forEach(e=>{""!==e&&-1===this._appliedPanelClasses.indexOf(e)&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(t=>{this._pane.classList.remove(t)}),this._appliedPanelClasses=[])}_getOriginRect(){const t=this._origin;if(t instanceof l.SBq)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();const e=t.width||0,i=t.height||0;return{top:t.y,bottom:t.y+i,left:t.x,right:t.x+e,height:i,width:e}}}function L(o,t){for(let e in t)t.hasOwnProperty(e)&&(o[e]=t[e]);return o}function q(o){if("number"!=typeof o&&null!=o){const[t,e]=o.split(ht);return e&&"px"!==e?null:parseFloat(t)}return o||null}function tt(o){return{top:Math.floor(o.top),right:Math.floor(o.right),bottom:Math.floor(o.bottom),left:Math.floor(o.left),width:Math.floor(o.width),height:Math.floor(o.height)}}const et="cdk-global-overlay-wrapper";class dt{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(t){const e=t.getConfig();this._overlayRef=t,this._width&&!e.width&&t.updateSize({width:this._width}),this._height&&!e.height&&t.updateSize({height:this._height}),t.hostElement.classList.add(et),this._isDisposed=!1}top(t=""){return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}left(t=""){return this._xOffset=t,this._xPosition="left",this}bottom(t=""){return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}right(t=""){return this._xOffset=t,this._xPosition="right",this}start(t=""){return this._xOffset=t,this._xPosition="start",this}end(t=""){return this._xOffset=t,this._xPosition="end",this}width(t=""){return this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this}height(t=""){return this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this}centerHorizontally(t=""){return this.left(t),this._xPosition="center",this}centerVertically(t=""){return this.top(t),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:s,height:n,maxWidth:r,maxHeight:c}=i,f=!("100%"!==s&&"100vw"!==s||r&&"100%"!==r&&"100vw"!==r),p=!("100%"!==n&&"100vh"!==n||c&&"100%"!==c&&"100vh"!==c),d=this._xPosition,v=this._xOffset,x="rtl"===this._overlayRef.getConfig().direction;let O="",w="",S="";f?S="flex-start":"center"===d?(S="center",x?w=v:O=v):x?"left"===d||"end"===d?(S="flex-end",O=v):("right"===d||"start"===d)&&(S="flex-start",w=v):"left"===d||"start"===d?(S="flex-start",O=v):("right"===d||"end"===d)&&(S="flex-end",w=v),t.position=this._cssPosition,t.marginLeft=f?"0":O,t.marginTop=p?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=f?"0":w,e.justifyContent=S,e.alignItems=p?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,i=e.style;e.classList.remove(et),i.justifyContent=i.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}}let _t=(()=>{class o{constructor(e,i,s,n){this._viewportRuler=e,this._document=i,this._platform=s,this._overlayContainer=n}global(){return new dt}flexibleConnectedTo(e){return new ct(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return o.\u0275fac=function(e){return new(e||o)(l.LFG(y.rL),l.LFG(D.K0),l.LFG(R.t4),l.LFG(G))},o.\u0275prov=l.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"}),o})(),ut=0,I=(()=>{class o{constructor(e,i,s,n,r,c,f,p,d,v,x,O){this.scrollStrategies=e,this._overlayContainer=i,this._componentFactoryResolver=s,this._positionBuilder=n,this._keyboardDispatcher=r,this._injector=c,this._ngZone=f,this._document=p,this._directionality=d,this._location=v,this._outsideClickDispatcher=x,this._animationsModuleType=O}create(e){const i=this._createHostElement(),s=this._createPaneElement(i),n=this._createPortalOutlet(s),r=new h(e);return r.direction=r.direction||this._directionality.value,new Q(n,i,s,r,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(e){const i=this._document.createElement("div");return i.id="cdk-overlay-"+ut++,i.classList.add("cdk-overlay-pane"),e.appendChild(i),i}_createHostElement(){const e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(l.z2F)),new F.u0(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return o.\u0275fac=function(e){return new(e||o)(l.LFG(a),l.LFG(G),l.LFG(l._Vd),l.LFG(_t),l.LFG
1(at),l.LFG(l.zs3),l.LFG(l.R0b),l.LFG(D.K0),l.LFG(A.Is),l.LFG(D.Ye),l.LFG(lt),l.LFG(l.QbO,8))},o.\u0275prov=l.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"}),o})();const ft=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],it=new l.OlP("cdk-connected-overlay-scroll-strategy");let st=(()=>{class o{constructor(e){this.elementRef=e}}return o.\u0275fac=function(e){return new(e||o)(l.Y36(l.SBq))},o.\u0275dir=l.lG2({type:o,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0}),o})(),pt=(()=>{class o{get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=(0,g.Ig)(e)}get lockPosition(){return this._lockPosition}set lockPosition(e){this._lockPosition=(0,g.Ig)(e)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(e){this._flexibleDimensions=(0,g.Ig)(e)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(e){this._growAfterOpen=(0,g.Ig)(e)}get push(){return this._push}set push(e){this._push=(0,g.Ig)(e)}constructor(e,i,s,n,r){this._overlay=e,this._dir=r,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=k.w.EMPTY,this._attachSubscription=k.w.EMPTY,this._detachSubscription=k.w.EMPTY,this._positionSubscription=k.w.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new l.vpe,this.positionChange=new l.vpe,this.attach=new l.vpe,this.detach=new l.vpe,this.overlayKeydown=new l.vpe,this.overlayOutsideClick=new l.vpe,this._templatePortal=new F.UE(i,s),this._scrollStrategyFactory=n,this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=ft);const e=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(i=>{this.overlayKeydown.next(i),i.keyCode===Y.hY&&!this.disableClose&&!(0,Y.Vb)(i)&&(i.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(i=>{this.overlayOutsideClick.next(i)})}_buildConfig(){const e=this._position=this.positionStrategy||this._createPositionStrategy(),i=new h({direction:this._dir,positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(i.width=this.width),(this.height||0===this.height)&&(i.height=this.height),(this.minWidth||0===this.minWidth)&&(i.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(i.minHeight=this.minHeight),this.backdropClass&&(i.backdropClass=this.backdropClass),this.panelClass&&(i.panelClass=this.panelClass),i}_updatePositionStrategy(e){const i=this.positions.map(s=>({originX:s.originX,originY:s.originY,overlayX:s.overlayX,overlayY:s.overlayY,offsetX:s.offsetX||this.offsetX,offsetY:s.offsetY||this.offsetY,panelClass:s.panelClass||void 0}));return e.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(i).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const e=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(e),e}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin 
1instanceof st?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(e=>{this.backdropClick.emit(e)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe((0,H.o)(()=>this.positionChange.observers.length>0)).subscribe(e=>{this.positionChange.emit(e),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return o.\u0275fac=function(e){return new(e||o)(l.Y36(I),l.Y36(l.Rgc),l.Y36(l.s_b),l.Y36(it),l.Y36(A.Is,8))},o.\u0275dir=l.lG2({type:o,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[l.TTD]}),o})();const vt={provide:it,deps:[I],useFactory:function gt(o){return()=>o.scrollStrategies.reposition()}};let yt=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=l.oAB({type:o}),o.\u0275inj=l.cJS({providers:[I,vt],imports:[A.vT,F.eL,y.Cl,y.Cl]}),o})()},84080:(nt,X,b)=>{b.d(X,{C5:()=>A,Pl:()=>W,UE:()=>F,eL:()=>T,en:()=>k,ig:()=>V,u0:()=>Y});var y=b(94650),D=b(36895);class H{attach(a){return this._attachedHost=a,a.attach(this)}detach(){let a=this._attachedHost;null!=a&&(this._attachedHost=null,a.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(a){this._attachedHost=a}}class A extends H{constructor(a,h,_,m,C){super(),this.component=a,this.viewContainerRef=h,this.injector=_,this.componentFactoryResolver=m,this.projectableNodes=C}}class F extends H{constructor(a,h,_,m){super(),this.templateRef=a,this.viewContainerRef=h,this.context=_,this.injector=m}get origin(){return this.templateRef.elementRef}attach(a,h=this.context){return this.context=h,super.attach(a)}detach(){return this.context=void 0,super.detach()}}class M extends H{constructor(a){super(),this.element=a instanceof y.SBq?a.nativeElement:a}}class k{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(a){return a instanceof A?(this._attachedPortal=a,this.attachComponentPortal(a)):a instanceof F?(this._attachedPortal=a,this.attachTemplatePortal(a)):this.attachDomPortal&&a instanceof M?(this._attachedPortal=a,this.attachDomPortal(a)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDis
1poseFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(a){this._disposeFn=a}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class Y extends k{constructor(a,h,_,m,C){super(),this.outletElement=a,this._componentFactoryResolver=h,this._appRef=_,this._defaultInjector=m,this.attachDomPortal=P=>{const E=P.element,B=this._document.createComment("dom-portal");E.parentNode.insertBefore(B,E),this.outletElement.appendChild(E),this._attachedPortal=P,super.setDisposeFn(()=>{B.parentNode&&B.parentNode.replaceChild(E,B)})},this._document=C}attachComponentPortal(a){const _=(a.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(a.component);let m;return a.viewContainerRef?(m=a.viewContainerRef.createComponent(_,a.viewContainerRef.length,a.injector||a.viewContainerRef.injector,a.projectableNodes||void 0),this.setDisposeFn(()=>m.destroy())):(m=_.create(a.injector||this._defaultInjector||y.zs3.NULL),this._appRef.attachView(m.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(m.hostView),m.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(m)),this._attachedPortal=a,m}attachTemplatePortal(a){let h=a.viewContainerRef,_=h.createEmbeddedView(a.templateRef,a.context,{injector:a.injector});return _.rootNodes.forEach(m=>this.outletElement.appendChild(m)),_.detectChanges(),this.setDisposeFn(()=>{let m=h.indexOf(_);-1!==m&&h.remove(m)}),this._attachedPortal=a,_}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(a){return a.hostView.rootNodes[0]}}let V=(()=>{class u extends F{constructor(h,_){super(h,_)}}return u.\u0275fac=function(h){return new(h||u)(y.Y36(y.Rgc),y.Y36(y.s_b))},u.\u0275dir=y.lG2({type:u,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[y.qOj]}),u})(),W=(()=>{class u extends k{constructor(h,_,m){super(),this._componentFactoryResolver=h,this._viewContainerRef=_,this._isInitialized=!1,this.attached=new y.vpe,this.attachDomPortal=C=>{const P=C.element,E=this._document.createComment("dom-portal");C.setAttachedHost(this),P.parentNode.insertBefore(E,P),this._getRootNode().appendChild(P),this._attachedPortal=C,super.setDisposeFn(()=>{E.parentNode&&E.parentNode.replaceChild(P,E)})},this._document=m}get portal(){return this._attachedPortal}set portal(h){this.hasAttached()&&!h&&!this._isInitialized||(this.hasAttached()&&super.detach(),h&&super.attach(h),this._attachedPortal=h||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(h){h.setAttachedHost(this);const _=null!=h.viewContainerRef?h.viewContainerRef:this._viewContainerRef,C=(h.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(h.component),P=_.createComponent(C,_.length,h.injector||_.injector,h.projectableNodes||void 0);return _!==this._viewContainerRef&&this._getRootNode().appendChild(P.hostView.rootNodes[0]),super.setDisposeFn(()=>P.destroy()),this._attachedPortal=h,this._attachedRef=P,this.attached.emit(P),P}attachTemplatePortal(h){h.setAttachedHost(this);const _=this._viewContainerRef.createEmbeddedView(h.templateRef,h.context,{injector:h.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=h,this._attachedRef=_,this.attached.emit(_),_}_getRootNode(){const h=this._viewContainerRef.element.nativeElement;return h.nodeType===h.ELEMENT_NODE?h:h.parentNode}}return u.\u0275fac=function(h){return new(h||u)(y.Y36(y._Vd),y.Y36(y.s_b),y.Y36(D.K0))},u.\u0275dir=y.lG2({type:u,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[y.qOj]}),u})(),T=(()=>{class u{}return u.\u0275fac=function(h){return new(h||u)},u.\u0275mod=y.oAB({type:u}),u.\u0275inj=y.cJS({}),u})()}}]);

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.