1"use strict";(self.webpackChunkctmpharma=self.webpackChunkctmpharma||[]).push([[9945],{89945:(An,me,p)=>{p.d(me,{R6:()=>Tn});var t=p(41360),D=p(13047),M=p(59361),Oe=p(31482),R=p(47433),S=p(20816),T=p(4121);function Y(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var G=p(34910),v=p(21413),C=p(18359),ye=p(57786),K=p(5964),ve=p(56977),Ce=p(77048);function g(s){return null==s?"":"string"==typeof s?s:`${s}px`}var U=p(54750),x=p(67333);let b;function be(){if(null==b){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return b=!1,b;if("scrollBehavior"in document.documentElement.style)b=!0;else{const s=Element.prototype.scrollTo;b=!!s&&!/\{\s*\[native code\]\s*\}/.test(s.toString())}}return b}class A{_attachedHost;attach(n){return this._attachedHost=n,n.attach(this)}detach(){let n=this._attachedHost;null!=n&&(this._attachedHost=null,n.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(n){this._attachedHost=n}}class Pe extends A{component;viewContainerRef;injector;componentFactoryResolver;projectableNodes;constructor(n,e,i,o,l){super(),this.component=n,this.viewContainerRef=e,this.injector=i,this.projectableNodes=l}}class z extends A{templateRef;viewContainerRef;context;injector;constructor(n,e,i,o){super(),this.templateRef=n,this.viewContainerRef=e,this.context=i,this.injector=o}get origin(){return this.templateRef.elementRef}attach(n,e=this.context){return this.context=e,super.attach(n)}detach(){return this.context=void 0,super.detach()}}class Me extends A{element;constructor(n){super(),this.element=n instanceof t.aKT?n.nativeElement:n}}class we{_attachedPortal;_disposeFn;_isDisposed=!1;hasAttached(){return!!this._attachedPortal}attach(n){return n instanceof Pe?(this._attachedPortal=n,this.attachComponentPortal(n)):n instanceof z?(this._attachedPortal=n,this.attachTemplatePortal(n)):this.attachDomPortal&&n instanceof Me?(this._attachedPortal=n,this.attachDomPortal(n)):void 0}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(n){this._disposeFn=n}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class Se extends we{outletElement;_appRef;_defaultInjector;_document;constructor(n,e,i,o,l){super(),this.outletElement=n,this._appRef=i,this._defaultInjector=o,this._document=l}attachComponentPortal(n){let e;if(n.viewContainerRef){const i=n.injector||n.viewContainerRef.injector,o=i.get(t.Vns,null,{optional:!0})||void 0;e=n.viewContainerRef.createComponent(n.component,{index:n.viewContainerRef.length,injector:i,ngModuleRef:o,projectableNodes:n.projectableNodes||void 0}),this.setDisposeFn(()=>e.destroy())}else{const i=this._appRef,o=n.injector||this._defaultInjector||t.zZn.NULL,l=o.get(t.uvJ,i.injector);e=(0,t.a0P)(n.component,{elementInjector:o,environmentInjector:l,projectableNodes:n.projectableNodes||void 0}),i.attachView(e.hostView),this.setDisposeFn(()=>{i.viewCount>0&&i.detachView(e.hostView),e.destroy()})}return this.outletElement.appendChild(this._getComponentRootNode(e)),this._attachedPortal=n,e}attachTemplatePortal(n){let e=n.viewContainerRef,i=e.createEmbeddedView(n.templateRef,n.context,{injector:n.injector});return i.rootNodes.forEach(o=>this.outletElement.appendChild(o)),i.detectChanges(),this.setDisposeFn(()=>{let o=e.indexOf(i);-1!==o&&e.remove(o)}),this._attachedPortal=n,i}attachDomPortal=n=>{const e=n.element,i=this._document.createComment("dom-portal");e.parentNode.insertBefore(i,e),this.outletElement.appendChild(e),this._attachedPortal=n,super.setDisposeFn(()=>{i.parentNode&&i.parentNode.replaceChild(e,i)})};dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(n){return n.hostView.rootNodes[0]}}var $=p(25049),xe=p(99683);const Q=be();class De{_viewportRuler;_previousHTMLStyles={top:"",left:""};_previousScrollPosition;_isEnabled=!1;_document;
1constructor(n,e){this._viewportRuler=n,this._document=e}attach(){}enable(){if(this._canBeEnabled()){const n=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=n.style.left||"",this._previousHTMLStyles.top=n.style.top||"",n.style.left=g(-this._previousScrollPosition.left),n.style.top=g(-this._previousScrollPosition.top),n.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const n=this._document.documentElement,i=n.style,o=this._document.body.style,l=i.scrollBehavior||"",r=o.scrollBehavior||"";this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,n.classList.remove("cdk-global-scrollblock"),Q&&(i.scrollBehavior=o.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Q&&(i.scrollBehavior=l,o.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 Re{_scrollDispatcher;_ngZone;_viewportRuler;_config;_scrollSubscription=null;_overlayRef;_initialScrollPosition;constructor(n,e,i,o){this._scrollDispatcher=n,this._ngZone=e,this._viewportRuler=i,this._config=o}attach(n){this._overlayRef=n}enable(){if(this._scrollSubscription)return;const n=this._scrollDispatcher.scrolled(0).pipe((0,K.p)(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=n.subscribe(()=>{const e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=n.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())}}class Z{enable(){}disable(){}attach(){}}function F(s,n){return n.some(e=>s.bottom<e.top||s.top>e.bottom||s.right<e.left||s.left>e.right)}function J(s,n){return n.some(e=>s.top<e.top||s.bottom>e.bottom||s.left<e.left||s.right>e.right)}class Te{_scrollDispatcher;_viewportRuler;_ngZone;_config;_scrollSubscription=null;_overlayRef;constructor(n,e,i,o){this._scrollDispatcher=n,this._viewportRuler=e,this._ngZone=i,this._config=o}attach(n){this._overlayRef=n}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:o}=this._viewportRuler.getViewportSize();F(e,[{width:i,height:o,bottom:o,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 Ae=(()=>{class s{_scrollDispatcher=(0,t.WQX)(x.R);_viewportRuler=(0,t.WQX)(x.Xj);_ngZone=(0,t.WQX)(t.SKi);_document=(0,t.WQX)(M.q);constructor(){}noop=()=>new Z;close=e=>new Re(this._scrollDispatcher,this._ngZone,this._viewportRuler,e);block=()=>new De(this._viewportRuler,this._document);reposition=e=>new Te(this._scrollDispatcher,this._viewportRuler,this._ngZone,e);static \u0275fac=function(i){return new(i||s)};static \u0275prov=t.jDH({token:s,factory:s.\u0275fac,providedIn:"root"})}return s})();class q{positionStrategy;scrollStrategy=new Z;panelClass="";hasBackdrop=!1;backdropClass="cdk-overlay-dark-backdrop";width;height;minWidth;minHeight;maxWidth;maxHeight;direction;disposeOnNavigation=!1;constructor(n){if(n){const e=Object.keys(n);for(const i of e)void 0!==n[i]&&(this[i]=n[i])}}}class E{offsetX;offsetY;panelClass;originX;originY;overlayX;overlayY;constructor(n,e,i,o,l){this.offsetX=i,this.offsetY=o,this.panelClass=l,this.originX=n.originX,this.originY=n.originY,this.overlayX=e.overlayX,this.overlayY=e.overlayY}}class Fe{connectionPair;scrollableViewProperties;constructor(n,e){this.connectionPair=n,this.scrollableViewProperties=e}}let ee=(()=>{class s{_attachedOverlays=[];_document=(0,t.WQX)(M.q);_isAttached;constructor(){}ngOnDestroy(){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()}static \u0275fac=function(i){return new(i||s)};static \u0275prov=t.jDH({token:s,factory:s.\u0275fac,providedIn:"root"})}return s})(),Be=(()=>{class s extends ee{_ngZone=(0,t.WQX)(t.SKi);_renderer=(0,t.WQX)(t._9s).createRenderer(null,null);_cleanupKeydown;add(e){super.add(e),this._isAttached||(this._ngZone.runOutsideAngular(()=>{this._cleanupKeydown=this._renderer.listen("body","keydown",this._key
1downListener)}),this._isAttached=!0)}detach(){this._isAttached&&(this._cleanupKeydown?.(),this._isAttached=!1)}_keydownListener=e=>{const i=this._attachedOverlays;for(let o=i.length-1;o>-1;o--)if(i[o]._keydownEvents.observers.length>0){this._ngZone.run(()=>i[o]._keydownEvents.next(e));break}};static \u0275fac=(()=>{let e;return function(o){return(e||(e=t.xGo(s)))(o||s)}})();static \u0275prov=t.jDH({token:s,factory:s.\u0275fac,providedIn:"root"})}return s})(),Ne=(()=>{class s extends ee{_platform=(0,t.WQX)(R.O);_ngZone=(0,t.WQX)(t.SKi);_renderer=(0,t.WQX)(t._9s).createRenderer(null,null);_cursorOriginalValue;_cursorStyleIsSet=!1;_pointerDownEventTarget;_cleanups;add(e){if(super.add(e),!this._isAttached){const i=this._document.body,o={capture:!0};this._cleanups=this._ngZone.runOutsideAngular(()=>[(0,S.f)(this._renderer,i,"pointerdown",this._pointerDownListener,o),(0,S.f)(this._renderer,i,"click",this._clickListener,o),(0,S.f)(this._renderer,i,"auxclick",this._clickListener,o),(0,S.f)(this._renderer,i,"contextmenu",this._clickListener,o)]),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=i.style.cursor,i.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=(0,T.Fb)(e)};_clickListener=e=>{const i=(0,T.Fb)(e),o="click"===e.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:i;this._pointerDownEventTarget=null;const l=this._attachedOverlays.slice();for(let r=l.length-1;r>-1;r--){const c=l[r];if(c._outsidePointerEvents.observers.length<1||!c.hasAttached())continue;if(te(c.overlayElement,i)||te(c.overlayElement,o))break;const a=c._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>a.next(e)):a.next(e)}};static \u0275fac=(()=>{let e;return function(o){return(e||(e=t.xGo(s)))(o||s)}})();static \u0275prov=t.jDH({token:s,factory:s.\u0275fac,providedIn:"root"})}return s})();function te(s,n){const e=typeof ShadowRoot<"u"&&ShadowRoot;let i=n;for(;i;){if(i===s)return!0;i=e&&i instanceof ShadowRoot?i.host:i.parentNode}return!1}let ne=(()=>{class s{static \u0275fac=function(i){return new(i||s)};static \u0275cmp=t.VBU({type:s,selectors:[["ng-component"]],hostAttrs:["cdk-overlay-style-loader",""],decls:0,vars:0,template:function(i,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}@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}\n"],encapsulation:2,changeDetection:0})}return s})(),ie=(()=>{class s{_platform=(0,t.WQX)(R.O);_containerElement;_document=(0,t.WQX)(M.q);_styleLoader=(0,t.WQX)(G.l);constructor(){}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._loadStyles(),this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const e="cdk-overlay-container";if(this._platform.isBrowser||Y()){const o=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let l=0;l<o.length;l++)o[l].remove()}const i=this._document.createElement("div");i.classList.add(e),Y()?i.setAttribute("platform","test"):this._platform.isBrowser||i.setAttribute("platform","server"),this._document.body.appendChild(i),this._containerElement=i}_loadStyles(){this._styleLoader.load(ne)}static \u0275fac=function(i){return new(i||s)};static \u0275prov=t.jDH({token:s,factory:s.\u0275fac,providedIn:"root"})}return s})();class Xe{_renderer;_ngZone;element;_cleanupClick;_cleanupTransitionEnd;_fallbackTimeout;constructor(n,e,i,o){this._renderer=e,this._ngZone=i,this.element=n.createElement("div"),this.element.classList.add("cdk-overlay-backdrop"),this._cleanupClick=e.listen(this.element,"click",o)}detach(){this._ngZone.runOutsideAngular(()=>{const n=this.element;clearTimeout(this._fallbackTimeout),this._cleanupTransitionEnd?.(),this._cleanupTransitionEnd=this._renderer.listen(n,"transitionend",this.dispose),this._fallbackTimeout=setTimeout(this.dispose,500),n.style.pointerEvents="none",n.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()}}class Ie{_portalOutlet;_host;_pane;_config;_ngZone;_keyboardDispatcher;_document;_location;_outsideClickDispatcher;_animationsDisabled;_injector;_renderer;_backdropClick=new v.B;_attachments=new v.B;_detachments=new v.B;_positionStrategy;_scrollStrategy;_locationChanges=C.yU.EMPTY;_backdropRef=null;_previousHostParent;_keydownEvents=new v.B;_outsidePointerEvents=new v.B;_renders=new v.B;_afterRenderRef;_afterNextRenderRef;constructor(n,e,i,o,l,r,c,a,_,d=!1,u,y){this._portalOutlet=n,this._host=e,this._pane=i,this._config=o,this._ngZone=l,this._keyboardDispatcher=r,this._document=c,this._location=a,this._outsideClickDispatcher=_,this._animationsDisabled=d,this._injector=u,this._renderer=y,o.scrollStrategy&&(this._scrollStrategy=o.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=o.positionStrategy,this._afterRenderRef=(0,t.O8t)(()=>(0,t.Tzd)(()=>{this._renders.next()},{injector:this._injector}))}get overlayElement(){return this._pane}get backdropElement(){return this._backdropRef?.element||null}get hostElement(){return this._host}attach(n){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const e=this._portalOutlet.attach(n);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=(0,t.mal)(()=>{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._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 n=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),n}dispose(){const n=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._backdropRef?.dispose(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dis
1pose(),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,n&&this._detachments.next(),this._detachments.complete(),this._afterRenderRef.destroy(),this._renders.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(n){n!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=n,this.hasAttached()&&(n.attach(this),this.updatePosition()))}updateSize(n){this._config={...this._config,...n},this._updateElementSize()}setDirection(n){this._config={...this._config,direction:n},this._updateElementDirection()}addPanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!0)}removePanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!1)}getDirection(){const n=this._config.direction;return n?"string"==typeof n?n:n.value:"ltr"}updateScrollStrategy(n){n!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=n,this.hasAttached()&&(n.attach(this),n.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const n=this._pane.style;n.width=g(this._config.width),n.height=g(this._config.height),n.minWidth=g(this._config.minWidth),n.minHeight=g(this._config.minHeight),n.maxWidth=g(this._config.maxWidth),n.maxHeight=g(this._config.maxHeight)}_togglePointerEvents(n){this._pane.style.pointerEvents=n?"":"none"}_attachBackdrop(){const n="cdk-overlay-backdrop-showing";this._backdropRef?.dispose(),this._backdropRef=new Xe(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(n))}):this._backdropRef.element.classList.add(n)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){this._animationsDisabled?(this._backdropRef?.dispose(),this._backdropRef=null):this._backdropRef?.detach()}_toggleClasses(n,e,i){const o=(0,U.F)(e||[]).filter(l=>!!l);o.length&&(i?n.classList.add(...o):n.classList.remove(...o))}_detachContentWhenEmpty(){this._ngZone.runOutsideAngular(()=>{const n=this._renders.pipe((0,ve.Q)((0,ye.h)(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()),n.unsubscribe())})})}_disposeScrollStrategy(){const n=this._scrollStrategy;n?.disable(),n?.detach?.()}}const oe="cdk-overlay-connected-position-bounding-box",He=/([A-Za-z%]+)$/;class Ve{_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 v.B;_resizeSubscription=C.yU.EMPTY;_offsetX=0;_offsetY=0;_transformOriginSelector;_appliedPanelClasses=[];_previousPushAmount;positionChanges=this._positionChanges;get positions(){return this._preferredPositions}
vendor: 4,345 bytes, line 1
1constructor(n,e,i,o,l){this._viewportRuler=e,this._document=i,this._platform=o,this._overlayContainer=l,this.setOrigin(n)}attach(n){this._validatePositions(),n.hostElement.classList.add(oe),this._overlayRef=n,this._boundingBox=n.hostElement,this._pane=n.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 n=this._originRect,e=this._overlayRect,i=this._viewportRect,o=this._containerRect,l=[];let r;for(let c of this._preferredPositions){let a=this._getOriginPoint(n,o,c),_=this._getOverlayPoint(a,e,c),d=this._getOverlayFit(_,e,i,c);if(d.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(c,a);this._canFitWithFlexibleDimensions(d,_,i)?l.push({position:c,origin:a,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(a,c)}):(!r||r.overlayFit.visibleArea<d.visibleArea)&&(r={overlayFit:d,overlayPoint:_,originPoint:a,position:c,overlayRect:e})}if(l.length){let c=null,a=-1;for(const _ of l){const d=_.boundingBoxRect.width*_.boundingBoxRect.height*(_.position.weight||1);d>a&&(a=d,c=_)}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&&P(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(oe),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const n=this._lastPosition;if(n){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,n);this._applyPosition(n,e)}else this.apply()}withScrollableContainers(n){return this._scrollables=n,this}withPositions(n){return this._preferredPositions=n,-1===n.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(n){return this._viewportMargin=n,this}withFlexibleDimensions(n=!0){return this._hasFlexibleDimensions=n,this}withGrowAfterOpen(n=!0){return this._growAfterOpen=n,this}withPush(n=!0){return this._canPush=n,this}withLockedPosition(n=!0){return this._positionLocked=n,this}setOrigin(n){return this._origin=n,this}withDefaultOffsetX(n){return this._offsetX=n,this}withDefaultOffsetY(n){return this._offsetY=n,this}withTransformOriginOn(n){return this._transformOriginSelector=n,this}_getOriginPoint(n,e,i){let o,l;if("center"==i.originX)o=n.left+n.width/2;else{const r=this._isRtl()?n.right:n.left,c=this._isRtl()?n.left:n.right;o="start"==i.originX?r:c}return e.left<0&&(o-=e.left),l="center"==i.originY?n.top+n.height/2:"top"==i.originY?n.top:n.bottom,e.top<0&&(l-=e.top),{x:o,y:l}}_getOverlayPoint(n,e,i){let o,l;return o="center"==i.overlayX?-e.width/2:"start"===i.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,l="center"==i.overlayY?-e.height/2:"top"==i.overlayY?0:-e.height,{x:n.x+o,y:n.y+l}}_getOverlayFit(n,e,i,o){const l=le(e);let{x:r,y:c}=n,a=this._getOffset(o,"x"),_=this._getOffset(o,"y");a&&(r+=a),_&&(c+=_);let y=0-c,m=c+l.height-i.height,f=this._subtractOverflows(l.width,0-r,r+l.width-i.width),O=this._subtractOverflows(l.he
1ight,y,m),fe=f*O;return{visibleArea:fe,isCompletelyWithinViewport:l.width*l.height===fe,fitsInViewportVertically:O===l.height,fitsInViewportHorizontally:f==l.width}}_canFitWithFlexibleDimensions(n,e,i){if(this._hasFlexibleDimensions){const o=i.bottom-e.y,l=i.right-e.x,r=se(this._overlayRef.getConfig().minHeight),c=se(this._overlayRef.getConfig().minWidth);return(n.fitsInViewportVertically||null!=r&&r<=o)&&(n.fitsInViewportHorizontally||null!=c&&c<=l)}return!1}_pushOverlayOnScreen(n,e,i){if(this._previousPushAmount&&this._positionLocked)return{x:n.x+this._previousPushAmount.x,y:n.y+this._previousPushAmount.y};const o=le(e),l=this._viewportRect,r=Math.max(n.x+o.width-l.width,0),c=Math.max(n.y+o.height-l.height,0),a=Math.max(l.top-i.top-n.y,0),_=Math.max(l.left-i.left-n.x,0);let d=0,u=0;return d=o.width<=l.width?_||-r:n.x<this._viewportMargin?l.left-i.left-n.x:0,u=o.height<=l.height?a||-c:n.y<this._viewportMargin?l.top-i.top-n.y:0,this._previousPushAmount={x:d,y:u},{x:n.x+d,y:n.y+u}}_applyPosition(n,e){if(this._setTransformOrigin(n),this._setOverlayElementStyles(e,n),this._setBoundingBoxStyles(e,n),n.panelClass&&this._addPanelClasses(n.panelClass),this._positionChanges.observers.length){const i=this._getScrollVisibility();if(n!==this._lastPosition||!this._lastScrollVisibility||!function Le(s,n){return s===n||s.isOriginClipped===n.isOriginClipped&&s.isOriginOutsideView===n.isOriginOutsideView&&s.isOverlayClipped===n.isOverlayClipped&&s.isOverlayOutsideView===n.isOverlayOutsideView}(this._lastScrollVisibility,i)){const o=new Fe(n,i);this._positionChanges.next(o)}this._lastScrollVisibility=i}this._lastPosition=n,this._isInitialRender=!1}_setTransformOrigin(n){if(!this._transformOriginSelector)return;const e=this._boundingBox.querySelectorAll(this._transformOriginSelector);let i,o=n.overlayY;i="center"===n.overlayX?"center":this._isRtl()?"start"===n.overlayX?"right":"left":"start"===n.overlayX?"left":"right";for(let l=0;l<e.length;l++)e[l].style.transformOrigin=`${i} ${o}`}_calculateBoundingBoxRect(n,e){const i=this._viewportRect,o=this._isRtl();let l,r,c,d,u,y;if("top"===e.overlayY)r=n.y,l=i.height-r+this._viewportMargin;else if("bottom"===e.overlayY)c=i.height-n.y+2*this._viewportMargin,l=i.height-c+this._viewportMargin;else{const m=Math.min(i.bottom-n.y+i.top,n.y),f=this._lastBoundingBoxSize.height;l=2*m,r=n.y-m,l>f&&!this._isInitialRender&&!this._growAfterOpen&&(r=n.y-f/2)}if("end"===e.overlayX&&!o||"start"===e.overlayX&&o)y=i.width-n.x+2*this._viewportMargin,d=n.x-this._viewportMargin;else if("start"===e.overlayX&&!o||"end"===e.overlayX&&o)u=n.x,d=i.right-n.x;else{const m=Math.min(i.right-n.x+i.left,n.x),f=this._lastBoundingBoxSize.width;d=2*m,u=n.x-m,d>f&&!this._isInitialRender&&!this._growAfterOpen&&(u=n.x-f/2)}return{top:r,left:u,bottom:c,right:y,width:d,height:l}}_setBoundingBoxStyles(n,e){const i=this._calculateBoundingBoxRect(n,e);!this._isInitialRender&&!this._growAfterOpen&&(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));const o={};if(this._hasExactPosition())o.top=o.left="0",o.bottom=o.right=o.maxHeight=o.maxWidth="",o.width=o.height="100%";else{const l=this._overlayRef.getConfig().maxHeight,r=this._overlayRef.getConfig().maxWidth;o.height=g(i.height),o.top=g(i.top),o.bottom=g(i.bottom),o.width=g(i.width),o.left=g(i.left),o.right=g(i.right),o.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",o.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",l&&(o.maxHeight=g(l)),r&&(o.maxWidth=g(r))}this._lastBoundingBoxSize=i,P(this._boundingBox.style,o)}_resetBoundingBoxStyles(){P(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){P(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(n,e){const i={},o=this._hasExactPosition(),l=this._hasFlexibleDimensions,r=this._overlayRef.getConfig();if(o){const d=this._viewportRuler.getViewportScrollPosition();P(i,this._getExactOverlayY(e,n,d)),P(i,this._getExactOverlayX(e,n,d))}else i.position="static";let c="",a=this._getOffset(e,"x"),_=this._getOffset(e,"y");a&&(c+=`translateX(${a}px) `),_&&(c+=`translateY(${_}px)`),i.transform=c.trim(),r.maxHeight&&(o?i.maxHeight=g(r.maxHeight):l&&(i.maxHeight="")),r.maxWidth&&(o?i.maxWidth=g(r.maxWidth):l&&(i.maxWidth="")),P(this._pane.style,i)}_getExactOverlayY(n,e,i){let o={top:"",bottom:""},l=this._getOverlayPoint(e,this._overlayRect,n);return this._isPushed&&(l=this._pushOverlayOnScreen(l,this._overlayRect,i)),"bottom"===n.overlayY?o.bottom=this._document.documentElement.clientHeight-(l.y+this._overlayRect.height)+"px":o.top=g(l.y),o}_getExactOverlayX(n,e,i){let r,o={left:"",right:""},l=this._getOverlayPoint(e,this._overlayRect,n);return this._isPushed&&(l=this._pushOverlayOnScreen(l,this._overlayRect,i)),r=this._isRtl()?"end"===n.overlayX?"left":"right":"end"===n.overlayX?"right":"left","right"===r?o.right=this._document.documentElement.clientWidth-(l.x+this._overlayRect.width)+"px":o.left=g(l.x),o}_getScrollVisibility(){const n=this._getOriginRect(),e=this._pane.getBoundingClientRect(),i=this._scrollables.map(o=>o.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:J(n,i),isOriginOutsideView:F(n,i),isOverlayClipped:J(e,i),isOverlayOutsideView:F(e,i)}}_subtractOverflows(n,...e){return e.reduce((i,o)=>i-Math.max(o,0),n)}_getNarrowedViewportRect(){const n=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+n-this._viewportMargin,bottom:i.top+e-this._viewportMargin,width:n-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(n,e){return"x"===e?null==n.offsetX?this._offsetX:n.offsetX:null==n.offsetY?this._offsetY:n.offsetY}_validatePositions(){}
1_addPanelClasses(n){this._pane&&(0,U.F)(n).forEach(e=>{""!==e&&-1===this._appliedPanelClasses.indexOf(e)&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(n=>{this._pane.classList.remove(n)}),this._appliedPanelClasses=[])}_getOriginRect(){const n=this._origin;if(n instanceof t.aKT)return n.nativeElement.getBoundingClientRect();if(n instanceof Element)return n.getBoundingClientRect();const e=n.width||0,i=n.height||0;return{top:n.y,bottom:n.y+i,left:n.x,right:n.x+e,height:i,width:e}}}function P(s,n){for(let e in n)n.hasOwnProperty(e)&&(s[e]=n[e]);return s}function se(s){if("number"!=typeof s&&null!=s){const[n,e]=s.split(He);return e&&"px"!==e?null:parseFloat(n)}return s||null}function le(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)}}const re="cdk-global-overlay-wrapper";class je{_overlayRef;_cssPosition="static";_topOffset="";_bottomOffset="";_alignItems="";_xPosition="";_xOffset="";_width="";_height="";_isDisposed=!1;attach(n){const e=n.getConfig();this._overlayRef=n,this._width&&!e.width&&n.updateSize({width:this._width}),this._height&&!e.height&&n.updateSize({height:this._height}),n.hostElement.classList.add(re),this._isDisposed=!1}top(n=""){return this._bottomOffset="",this._topOffset=n,this._alignItems="flex-start",this}left(n=""){return this._xOffset=n,this._xPosition="left",this}bottom(n=""){return this._topOffset="",this._bottomOffset=n,this._alignItems="flex-end",this}right(n=""){return this._xOffset=n,this._xPosition="right",this}start(n=""){return this._xOffset=n,this._xPosition="start",this}end(n=""){return this._xOffset=n,this._xPosition="end",this}width(n=""){return this._overlayRef?this._overlayRef.updateSize({width:n}):this._width=n,this}height(n=""){return this._overlayRef?this._overlayRef.updateSize({height:n}):this._height=n,this}centerHorizontally(n=""){return this.left(n),this._xPosition="center",this}centerVertically(n=""){return this.top(n),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:o,height:l,maxWidth:r,maxHeight:c}=i,a=!("100%"!==o&&"100vw"!==o||r&&"100%"!==r&&"100vw"!==r),_=!("100%"!==l&&"100vh"!==l||c&&"100%"!==c&&"100vh"!==c),d=this._xPosition,u=this._xOffset,y="rtl"===this._overlayRef.getConfig().direction;let m="",f="",O="";a?O="flex-start":"center"===d?(O="center",y?f=u:m=u):y?"left"===d||"end"===d?(O="flex-end",m=u):("right"===d||"start"===d)&&(O="flex-start",f=u):"left"===d||"start"===d?(O="flex-start",m=u):("right"===d||"end"===d)&&(O="flex-end",f=u),n.position=this._cssPosition,n.marginLeft=a?"0":m,n.marginTop=_?"0":this._topOffset,n.marginBottom=this._bottomOffset,n.marginRight=a?"0":f,e.justifyContent=O,e.alignItems=_?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,i=e.style;e.classList.remove(re),i.justifyContent=i.alignItems=n.marginTop=n.marginBottom=n.marginLeft=n.marginRight=n.position="",this._overlayRef=null,this._isDisposed=!0}}let We=(()=>{class s{_viewportRuler=(0,t.WQX)(x.Xj);_document=(0,t.WQX)(M.q);_platform=(0,t.WQX)(R.O);_overlayContainer=(0,t.WQX)(ie);constructor(){}global(){return new je}flexibleConnectedTo(e){return new Ve(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static \u0275fac=function(i){return new(i||s)};static \u0275prov=t.jDH({token:s,factory:s.\u0275fac,providedIn:"root"})}return s})(),B=(()=>{class s{scrollStrategies=(0,t.WQX)(Ae);_overlayContainer=(0,t.WQX)(ie);_positionBuilder=(0,t.WQX)(We);_keyboardDispatcher=(0,t.WQX)(Be);_injector=(0,t.WQX)(t.zZn);_ngZone=(0,t.WQX)(t.SKi);_document=(0,t.WQX)(M.q);_directionality=(0,t.WQX)($.dS);_location=(0,t.WQX)(Oe.aZ);_outsideClickDispatcher=(0,t.WQX)(Ne);_animationsModuleType=(0,t.WQX)(t.bc$,{optional:!0});_idGenerator=(0,t.WQX)(xe.g);_renderer=(0,t.WQX)(t._9s).createRenderer(null,null);_appRef;_styleLoader=(0,t.WQX)(G.l);constructor(){}create(e){this._styleLoader.load(ne);const i=this._createHostElement(),o=this._createPaneElement(i),l=this._createPortalOutlet(o),r=new q(e);return r.direction=r.direction||this._directionality.value,new Ie(l,i,o,r,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType,this._injector.get(t.uvJ),this._renderer)}position(){return this._positionBuilder}_createPaneElement(e){const i=this._document.createElement("div");return i.id=this._idGenerator.getId("cdk-overlay-"),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(t.o8S)),new Se(e,null,this._appRef,this._injector,this._document)}static \u0275fac=function(i){return new(i||s)};static \u0275prov=t.jDH({token:s,factory:s.\u0275fac,providedIn:"root"})}return s})();const Ye=[{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"}],ce=new t.nKC("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{const s=(0,t.WQX)(B);return()=>s.scrollStrategies.reposition()}});let N=(()=>{class s{elementRef=(0,t.WQX)(t.aKT);constructor(){}static \u0275fac=function(i){return new(i||s)};static \u0275dir=t.FsC({type:s,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]})}return s})(),X=(()=>{class s{_overlay=(0,t.WQX)(B);_dir=(0,t.WQX)($.dS,{optional:!0});_overlayRef;_templatePortal;_backdropSubscription=C.yU.EMPTY;_attachSubscription=C.yU.EMPTY;_detachSubscription=C.yU.EMPTY;_positionSubscription=C.yU.EMPTY;_offsetX;_offsetY;_position;_scrollStrategyFactory=(0,t.WQX)(ce);_disposeOnNavigation=!1;_ngZone=(0,t.WQX)(t.SKi);origin;positions;positionStrategy;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)}width;height;minWidth;minHeight;backdropClass;panelClass;viewportMargin=0;scrollStrategy;open=!1;disableClose=!1;transformOriginSelector;hasBackdrop=!1;lockPosition=!1;flexibleDimensions=!1;growAfterOpen=!1;push=!1;get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(e){this._disposeOnNavigation=e}backdropClick=new t.bkB;positionChange=new t.bkB;attach=new t.bkB;detach=new t.bkB;overlayKeydown=new t.bkB;overlayOutsideClick=new t.bkB;constructor(){const e=(0,t.WQX)(t.C4Q),i=(0,t.WQX)(t.c1b);
1this._templatePortal=new z(e,i),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?.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=Ye);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),27===i.keyCode&&!this.disableClose&&!function Ee(s,...n){return n.length?n.some(e=>s[e]):s.altKey||s.shiftKey||s.ctrlKey||s.metaKey}(i)&&(i.preventDefault(),this.detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(i=>{const o=this._getOriginElement(),l=(0,T.Fb)(i);(!o||o!==l&&!o.contains(l))&&this.overlayOutsideClick.next(i)})}_buildConfig(){const e=this._position=this.positionStrategy||this._createPositionStrategy(),i=new q({direction:this._dir||"ltr",positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});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(o=>({originX:o.originX,originY:o.originY,overlayX:o.overlayX,overlayY:o.overlayY,offsetX:o.offsetX||this.offsetX,offsetY:o.offsetY||this.offsetY,panelClass:o.panelClass||void 0}));return e.setOrigin(this._getOrigin()).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._getOrigin());return this._updatePositionStrategy(e),e}_getOrigin(){return this.origin instanceof N?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof N?this.origin.elementRef.nativeElement:this.origin instanceof t.aKT?this.origin.nativeElement:typeof Element<"u"&&this.origin instanceof Element?this.origin:null}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,Ce.v)(()=>this.positionChange.observers.length>0)).subscribe(e=>{this._ngZone.run(()=>this.positionChange.emit(e)),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()})),this.open=!0}detachOverlay(){this._overlayRef?.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.open=!1}static \u0275fac=function(i){return new(i||s)};static \u0275dir=t.FsC({type:s,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[0,"cdkConnectedOverlayOrigin","origin"],positions:[0,"cdkConnectedOverlayPositions","positions"],positionStrategy:[0,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[0,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[0,"cdkConnectedOverlayOffsetY","offsetY"],width:[0,"cdkConnectedOverlayWidth","width"],height:[0,"cdkConnectedOverlayHeight","height"],minWidth:[0,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[0,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[0,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[0,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[0,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[0,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[0,"cdkConnectedOverlayOpen","open"],disableClose:[0,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[0,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[2,"cdkConnectedOverlayHasBackdrop","hasBackdrop",t.L39],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",t.L39],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",t.L39],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",t.L39],push:[2,"cdkConnectedOverlayPush","push",t.L39],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",t.L39]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[t.OA$]})}return s})();var Ke=p(45564),I=p(89079),Ue=p(7673),ze=p(33726),$e=p(31397),ae=p(96354),de=p(88141),Qe=p(23386);function Ze(s,n,e,i){const o=window&&!!window.document&&window.document.documentElement;let l=o&&n?window:e;if(s&&(l=s&&o&&"string"==typeof s?function Je(s,n,e){return(e?window.document:n).querySelector(s)}(s,e.nativeElement,i):s,!l))throw new Error("ngx-infinite-scroll {resolveContainerElement()}: selector for");return l}function H(s){return s&&!s.firstChange}const et={clientHeight:"clientHeight",offsetHeight:"offsetHeight",scrollHeight:"scrollHeight",pageYOffset:"pageYOffset",offsetTop:"offsetTop",scrollTop:"scrollTop",top:"top"},tt={clientHeight:"clientWidth",offsetHeight:"offsetWidth",scrollHeight:"scrollWidth",pageYOffset:"pageXOffset",offsetTop:"offsetLeft",scrollTop:"scrollLeft",top:"left"};class nt{constructor(n=!0){this.vertical=n,this.propsMap=n?et:tt}clientHeightKey(){return this.propsMap.clientHeight}offsetHeightKey(){return this.propsMap.offsetHeight}scrollHeightKey(){return this.propsMap.scrollHeight}pageYOffsetKey(){return this.propsMap.pageYOffset}offsetTopKey(){return this.propsMap.offsetTop}scrollTopKey(){return this.propsMap.scrollTop}topKey(){return this.propsMap.top}}function lt(s){return["Window","global"].some(e=>Object.prototype.toString.call(s).includes(e))}function V(s,n){return s?n.document.documentElement:null}function he(s,n){const e=function at({container:s,isWindow:n,axis:e}){const{offsetHeightKey:i,clientHeightKey:o}=_e(e);return pe(s,n,i,o)}(n);return n.isWindow?function rt(s,n,e){const{axis:i,container:o,isWindow:l}=e,{offsetHeightKey:r,clientHeightKey:c}=_e(i),a=s+ue(V(l,o),i,l),_=pe(n.nativeElement,l,r,c),d=function dt(s,n,e){const i=n.topKey();if(s.getBoundingClientRect)return s.getBoundingClientRect()[i]+ue(s,n,e)}(n.nativeElement,i,l)+_;return{height:s,scrolled:a,totalToScroll:d,isWindow:l}}(e,s,n):function ct(s,n,e){const{axis:i,container:o}=e;return{height:s,scrolled:o[i.scrollTopKey()],totalToScroll:o[i.scrollHeightKey()],isWindow:!1}}(e,0,n)}function _e(s){return{offsetHeightKey:s.offsetHeightKey(),clientHeightKey:s.clientHeightKey()}}function pe(s,n,e,i){if(isNaN(s[e])){const o=V(n,s);return o?o[i]:0}return s[e]}function ue(s,n,e){const i=n.pageYOffsetKey(),o=n.scrollTopKey(),l=n.offsetTopKey();return isNaN(window.pageYOffset)?V(e,s)[o]:s.ownerDocument?s.ownerDocument.defaultView[i]:s[l]}function ht(s,n={down:0,up:0},e){let i,o;if(s.totalToScroll<=0)return!1;const l=s.isWindow?s.scrolled:s.height+s.scrolled;return e?(i=(s.totalToScroll-l)/s.totalToScroll,o=(n?.down?n.down:0)/10):(i=s.scrolled/(s.scrolled+(s.totalToScroll-l)),o=(n?.up?n.up:0)/10),i<=o}class ft{constructor(n){this.lastScrollPosition=0,this.lastTotalToScroll=0,this.totalToScroll=0,this.triggered={down:0,up:0},Object.assign(this,n)}updateScrollPosition(n){return this.lastScrollPosition=n}updateTotalToScroll(n){this.lastTotalToScroll!==n&&(this.lastTotalToScroll=this.totalToScroll,this.totalToScroll=n)}updateScroll(n,e){this.updateScrollPosition(n),this.updateTotalToScroll(e)}updateTriggeredFlag(n,e){e?this.triggered.down=n:this.triggered.up=n}isTriggeredScroll(n,e){return e?this.triggered.down===n:this.triggered.up===n}}const L={DOWN:"[NGX_ISE] DOWN",UP:"[NGX_ISE] UP"};function vt(s){const{scrollDown:n,stats:{scrolled:e}}=s;return{type:n?L.DOWN:L.UP,payload:{currentScrollPosition:e}}}let Ct=(()=>{class s{constructor(e,i){this.element=e,this.zone=i,this.scrolled=new t.bkB,this.scrolledUp=new t.bkB,this.infiniteScrollDistance=2,this.infiniteScrollUpDistance=1.5,this.infiniteScrollThrottle=150,this.infiniteScrollDisabled=!1,this.infiniteScrollContainer=null,this.scrollWindow=!0,this.immediateCheck=!1,this.horizontal=!1,this.alwaysCallback=!1,this.fromRoot=!1}ngAfterViewInit(){this.infiniteScrollDisabled||this.setup()}ngOnChanges({infiniteScrollContainer:e,infiniteScrollDisabled:i,infiniteScrollDistance:o}){const l=H(e),r=H(i),c=H(o),a=!r&&!this.infiniteScrollDisabled||r&&!i.currentValue||c;(l||r||c)&&(this.destroyScroller(),a&&this.setup())}ngOnDestroy(){this.destroyScroller()}setup(){(function qe(){return typeof window<"u"})()&&this.zone.runOutsideAngular(()=>{this.disposeScroller=function mt(s){const{scrollContainer:n,scrollWindow:e,element:i,fromRoot:o}=s,l=function ot({windowElement:s,axis:n}){return function st(s,n){const e=s.isWindow||n&&!n.nativeElement?n:n.nativeElement;return{...s,container:e}}({axis:n,isWindow:lt(s)},s)}({axis:new nt(!s.horizontal),windowElement:Ze(n,e,i,o)}),r=new ft({totalToScroll:he(i,l).totalToScroll}),a={up:s.upDistance,down:s.downDistance};return function Ot(s){let n=(0,ze.R)(s.container,"scroll");return s.throttle&&(n=n.pipe((0,Qe.c)(s.throttle,void 0,{leading:!0,trailing:!0}))),n}({container:l.container,throttle:s.throttle}).pipe((0,$e.Z)(()=>(0,Ue.of)(he(i,l))),(0,ae.T)(_=>function yt(s,n,e){const{scrollDown:i,fire:o}=function pt(s,n,e){const i=function _t(s,n){return s<n.scrolled}(s,n);return{fire:ht(n,e,i),scrollDown:i}}(s,n,e);return{scrollDown:i,fire:o,stats:n}}(r.lastScrollPosition,_,a)),(0,de.M)(({stats:_})=>r.updateScroll(_.scrolled,_.totalToScroll)),(0,K.p)(({fire:_,scrollDown:d,stats:{totalToScroll:u}}
1)=>function it(s,n,e){return!!(s&&n||!e&&n)}(s.alwaysCallback,_,r.isTriggeredScroll(u,d))),(0,de.M)(({scrollDown:_,stats:{totalToScroll:d}})=>{r.updateTriggeredFlag(d,_)}),(0,ae.T)(vt))}({fromRoot:this.fromRoot,alwaysCallback:this.alwaysCallback,disable:this.infiniteScrollDisabled,downDistance:this.infiniteScrollDistance,element:this.element,horizontal:this.horizontal,scrollContainer:this.infiniteScrollContainer,scrollWindow:this.scrollWindow,throttle:this.infiniteScrollThrottle,upDistance:this.infiniteScrollUpDistance}).subscribe(e=>this.handleOnScroll(e))})}handleOnScroll({type:e,payload:i}){const o=e===L.DOWN?this.scrolled:this.scrolledUp;(function bt(s){return s.observed??s.observers.length>0})(o)&&this.zone.run(()=>o.emit(i))}destroyScroller(){this.disposeScroller&&this.disposeScroller.unsubscribe()}static{this.\u0275fac=function(i){return new(i||s)(t.rXU(t.aKT),t.rXU(t.SKi))}}static{this.\u0275dir=t.FsC({type:s,selectors:[["","infiniteScroll",""],["","infinite-scroll",""],["","data-infinite-scroll",""]],inputs:{infiniteScrollDistance:"infiniteScrollDistance",infiniteScrollUpDistance:"infiniteScrollUpDistance",infiniteScrollThrottle:"infiniteScrollThrottle",infiniteScrollDisabled:"infiniteScrollDisabled",infiniteScrollContainer:"infiniteScrollContainer",scrollWindow:"scrollWindow",immediateCheck:"immediateCheck",horizontal:"horizontal",alwaysCallback:"alwaysCallback",fromRoot:"fromRoot"},outputs:{scrolled:"scrolled",scrolledUp:"scrolledUp"},features:[t.OA$]})}}return s})();var j=p(89417);const Pt=["selection"],Mt=["results"],wt=["result"],St=["searchInput"],xt=["dropdown"],kt=[[["select2-label"],["ng-select2-label"]],[["select2-hint"],["ng-select2-hint"]]],Et=["select2-label, ng-select2-label","select2-hint, ng-select2-hint"],Dt=()=>[],W=(s,n)=>n.id;function Rt(s,n){1&s&&t.nrm(0,"span",9)}function Tt(s,n){1&s&&t.eu8(0)}function At(s,n){if(1&s&&t.DNE(0,Tt,1,0,"ng-container",16),2&s){t.XpG(2);const e=t.sdS(18);t.Y8G("ngTemplateOutlet",e)}}
1function Ft(s,n){if(1&s&&(t.nrm(0,"span",15),t.DNE(1,At,1,1,"ng-container")),2&s){const e=t.XpG();t.Y8G("innerHTML",e._selectionOverrideLabel(),t.npT),t.R7$(),t.vxM(e.resettable()&&!e.disabled()&&!e.readonly()&&e.resetSelectedValue()!==e._value&&(!e.multiple()&&e.select2Option||e.multiple()&&e.select2Options.length>0)?1:-1)}}function Bt(s,n){1&s&&(t.j41(0,"span"),t.EFF(1,"\xa0"),t.k0s())}function Nt(s,n){if(1&s&&t.nrm(0,"span",20),2&s){const e=t.XpG(3);t.Y8G("innerHTML",e.select2Option.label,t.npT)}}function Xt(s,n){1&s&&t.eu8(0)}function It(s,n){if(1&s&&t.DNE(0,Xt,1,0,"ng-container",21),2&s){const e=t.XpG(3);t.Y8G("ngTemplateOutlet",e.getTemplate(e.select2Option,"option",!0))("ngTemplateOutletContext",e.select2Option)}}function Ht(s,n){if(1&s&&t.DNE(0,Nt,1,1,"span",20)(1,It,1,2,"ng-container"),2&s){const e=t.XpG(2);t.vxM(!e.hasTemplate(e.select2Option,"option",!0)||e.noLabelTemplate()?0:1)}}function Vt(s,n){1&s&&t.eu8(0)}function Lt(s,n){if(1&s&&t.DNE(0,Vt,1,0,"ng-container",16),2&s){t.XpG(2);const e=t.sdS(18);t.Y8G("ngTemplateOutlet",e)}}function jt(s,n){if(1&s&&(t.j41(0,"span",17),t.DNE(1,Bt,2,0,"span")(2,Ht,2,1),t.j41(3,"span",18),t.EFF(4),t.k0s()(),t.DNE(5,Lt,1,1,"ng-container"),t.nrm(6,"span",19)),2&s){const e=t.XpG();t.Y8G("title",(null==e.select2Option?null:e.select2Option.label)||""),t.BMQ("aria-live",e.nativeKeyboard()&&!e.isOpen?"polite":null),t.R7$(),t.vxM(e.select2Option?-1:1),t.R7$(),t.vxM(e.select2Option?2:-1),t.R7$(),t.AVh("select2-selection__placeholder__option",e.selectedOption),t.R7$(),t.JRh(e.placeholder()),t.R7$(),t.vxM(e.resettable()&&e.resetSelectedValue()!==e._value&&e.select2Option&&!e.disabled()&&!e.readonly()?5:-1)}}function Wt(s,n){if(1&s&&(t.j41(0,"span",18),t.EFF(1),t.k0s()),2&s){const e=t.XpG(2);t.AVh("select2-selection__placeholder__option",e.select2Options.length>0),t.R7$(),t.JRh(e.placeholder())}}function Yt(s,n){if(1&s){const e=t.RV6();t.j41(0,"span",28),t.bIt("click",function(o){t.eBV(e);
1const l=t.XpG().$implicit,r=t.XpG(2);return t.Njj(r.removeSelection(o,l))}),t.EFF(1,"\xd7"),t.k0s()}}function Gt(s,n){if(1&s&&t.nrm(0,"span",20),2&s){const e=t.XpG().$implicit;t.Y8G("innerHTML",e.label,t.npT)}}function Kt(s,n){1&s&&t.eu8(0)}function Ut(s,n){if(1&s&&t.DNE(0,Kt,1,0,"ng-container",21),2&s){const e=t.XpG().$implicit,i=t.XpG(2);t.Y8G("ngTemplateOutlet",i.getTemplate(e,"option",!0))("ngTemplateOutletContext",e)}}function zt(s,n){if(1&s){const e=t.RV6();t.j41(0,"li",26),t.bIt("focus",function(){t.eBV(e);const o=t.XpG(2);return t.Njj(o._updateFocusState(!0))})("keydown.enter",function(o){const l=t.eBV(e).$implicit,r=t.XpG(2);return t.Njj(r.removeSelection(o,l))}),t.DNE(1,Yt,2,0,"span",27)(2,Gt,1,1,"span",20)(3,Ut,1,2,"ng-container"),t.k0s()}if(2&s){const e=n.$implicit,i=t.XpG(2);t.Y8G("title",e.label),t.R7$(),t.vxM(i.disabled()||i.readonly()?-1:1),t.R7$(),t.vxM(!i.hasTemplate(e,"option",!0)||i.noLabelTemplate()?2:3)}}function $t(s,n){if(1&s){const e=t.RV6();t.j41(0,"li",29),t.bIt("focus",function(o){t.eBV(e);const l=t.XpG(2);return t.Njj(l.stopEvent(o))})("blur",function(o){t.eBV(e);const l=t.XpG(2);return t.Njj(l.stopEvent(o))}),t.j41(1,"input",30),t.bIt("click",function(o){t.eBV(e);const l=t.XpG(2);return l.toggleOpenAndClose(!1,!0),t.Njj(l.stopEvent(o))})("keydown",function(o){t.eBV(e);const l=t.XpG(2);return t.Njj(l.keyDown(o,!0))})("keyup",function(o){t.eBV(e);const l=t.XpG(2);return t.Njj(l.searchUpdate(o))})("change",function(o){t.eBV(e);const l=t.XpG(2);return t.Njj(l.prevChange(o))}),t.k0s()()}if(2&s){const e=t.XpG(2);t.R7$(),t.Y8G("id",e.id()+"-create-field")}}function Qt(s,n){1&s&&t.eu8(0)}function Zt(s,n){if(1&s&&t.DNE(0,Qt,1,0,"ng-container",16),2&s){t.XpG(2);const e=t.sdS(18);t.Y8G("ngTemplateOutlet",e)}}function Jt(s,n){if(1&s){const e=t.RV6();t.j41(0,"ul",22),t.bIt("cdkDropListDropped",function(o){t.eBV(e);const l=t.XpG();return t.Njj(l.drop(o))}),t.DNE(1,Wt,2,3,"span",23),t.Z7z(2,zt,4,3,"li",24,W),t.DNE(4,$t,2,1,"li",25),t.k0s(),t.DNE(5,Zt,1,1,"ng-container")}if(2&s){const e=t.XpG();t.Y8G("cdkDropListDisabled",!e.multipleDrag()),t.R7$(),t.vxM(e.autoCreate()?-1:1),t.R7$(),t.Dyx(e.selectedOption||t.lJ4(4,Dt)),t.R7$(2),t.vxM(e.autoCreate()?4:-1),t.R7$(),t.vxM(e.resettable()&&(null==e.selectedOption?null:e.selectedOption.length)>0&&!e.disabled()&&!e.readonly()?5:-1)}}function qt(s,n){1&s&&t.eu8(0)}function en(s,n){if(1&s&&t.DNE(0,qt,1,0,"ng-container",16),2&s){t.XpG();const e=t.sdS(16);t.Y8G("ngTemplateOutlet",e)}}function tn(s,n){1&s&&t.eu8(0)}function nn(s,n){if(1&s&&t.DNE(0,tn,1,0,"ng-container",16),2&s){t.XpG();const e=t.sdS(16);t.Y8G("ngTemplateOutlet",e)}}function on(s,n){if(1&s){const e=t.RV6();t.j41(0,"li",40),t.bIt("click",function(){t.eBV(e);const o=t.XpG(2);return t.Njj(o.selectAll())}),t.j41(1,"div",41),t.EFF(2),t.k0s()()}if(2&s){const e=t.XpG(2);t.R7$(2),t.SpI(" ",e.selectAllTest()?e.removeAllText():e.selectAllText()," ")}}function sn(s,n){if(1&s&&t.nrm(0,"strong",20),2&s){t.XpG(2);const e=t.r8f(0);t.Y8G("innerHTML",e.label,t.npT),t.BMQ("class","select2-results__group"+(e.classes?" "+e.classes:""))}}function ln(s,n){1&s&&t.eu8(0)}function rn(s,n){if(1&s&&t.DNE(0,ln,1,0,"ng-container",21),2&s){t.XpG(2);const e=t.r8f(0),i=t.XpG(2);t.Y8G("ngTemplateOutlet",i.getTemplate(e,"group"))("ngTemplateOutletContext",e)}}function cn(s,n){if(1&s&&t.nrm(0,"div",47),2&s){const e=t.XpG().$implicit;t.Y8G("innerHTML",e.label,t.npT)}}function an(s,n){1&s&&t.eu8(0)}function dn(s,n){if(1&s&&t.DNE(0,an,1,0,"ng-container",21),2&s){const e=t.XpG().$implicit,i=t.XpG(4);t.Y8G("ngTemplateOutlet",i.getTemplate(e,"option"))("ngTemplateOutletContext",e)}}function hn(s,n){if(1&s){const e=t.RV6();t.j41(0,"li",46,6),t.bIt("mouseenter",function(){const o=t.eBV(e).$implicit,l=t.XpG(4);return t.Njj(l.mouseenter(o))})("click",function(){const o=t.eBV(e).$implicit,l=t.XpG(4);return t.Njj(l.click(o))}),t.DNE(2,cn,1,1,"div",47)(3,dn,1,2,"ng-container"),t.k0s()}if(2&s){const e=n.$implicit,i=t.XpG(4);t.HbH(i.getOptionStyle(e)),t.Y8G("id",i.getElementId(e)),t.BMQ("aria-selected",i.isSelected(e))("aria-disabled",i.isDisabled(e)),t.R7$(2),t.vxM(i.hasTemplate(e,"option")?3:2)}}function _n(s,n){if(1&s&&(t.j41(0,"li",42)(1,"span",43),t.DNE(2,sn,1,2,"strong",20)(3,rn,1,2,"ng-container"),t.k0s(),t.j41(4,"ul",44),t.Z7z(5,hn,4,6,"li",45,W),t.k0s()()),2&s){const e=t.XpG().$implicit,i=t.r8f(0),o=t.XpG(2);t.R7$(),t.Y8G("id",o.getElementId(e)),t.R7$(),t.vxM(o.hasTemplate(i,"group")?3:2),t.R7$(2),t.BMQ("aria-labelledby",o.getElementId(e)),t.R7$(),t.Dyx(i.options)}}function pn(s,n){if(1&s&&t.nrm(0,"div",47),2&s){t.XpG();const e=t.r8f(0);t.Y8G("innerHTML",e.label,t.npT)}}function un(s,n){1&s&&t.eu8(0)}function gn(s,n){if(1&s&&t.DNE(0,un,1,0,"ng-container",21),2&s){t.XpG();const e=t.r8f(0),i=t.XpG(3);t.Y8G("ngTemplateOutlet",i.getTemplate(e,"option"))("ngTemplateOutletContext",e)}}function fn(s,n){1&s&&t.eu8(0)}function mn(s,n){if(1&s&&t.DNE(0,fn,1,0,"ng-container",21),2&s){t.XpG();const e=t.r8f(0),i=t.XpG(3);t.Y8G("ngTemplateOutlet",i.getTemplate(e,"option"))("ngTemplateOutletContext",e)}}function On(s,n){if(1&s){const e=t.RV6();
1t.SS7(0),t.j41(1,"li",46,6),t.bIt("mouseenter",function(){t.eBV(e);const o=t.r8f(0),l=t.XpG(3);return t.Njj(l.mouseenter(o))})("click",function(){t.eBV(e);const o=t.r8f(0),l=t.XpG(3);return t.Njj(l.click(o))}),t.DNE(3,pn,1,1,"div",47)(4,gn,1,2,"ng-container"),t.k0s(),t.DNE(5,mn,1,2,"ng-template",null,7,t.C5r)}if(2&s){const e=t.XpG().$implicit,i=t.XpG(2),o=t.bH3(i._toOption(e));t.R7$(),t.HbH(i.getOptionStyle(o)),t.Y8G("id",i.getElementId(e)),t.BMQ("aria-selected",i.isSelected(o))("aria-disabled",i.isDisabled(o)),t.R7$(2),t.vxM(i.hasTemplate(o,"option")?4:3)}}function yn(s,n){if(1&s&&(t.SS7(0),t.DNE(1,_n,7,3,"li",42)(2,On,7,7)),2&s){const e=n.$implicit,i=t.bH3(t.XpG(2)._toGroup(e));t.R7$(),t.vxM(void 0!==i.options?1:2)}}function vn(s,n){if(1&s&&t.nrm(0,"li",38),2&s){const e=t.XpG(2);t.Y8G("innerHTML",e.noResultMessage(),t.npT)}}function Cn(s,n){if(1&s&&t.nrm(0,"li",39),2&s){const e=t.XpG(2);t.Y8G("innerHTML",e.maxResultsMessage(),t.npT)}}function bn(s,n){if(1&s){const e=t.RV6();t.j41(0,"div",31)(1,"div",32,3)(3,"div",33)(4,"input",34,4),t.bIt("keydown",function(o){t.eBV(e);const l=t.XpG();return t.Njj(l.keyDown(o,l.autoCreate()))})("keyup",function(o){t.eBV(e);const l=t.XpG();return t.Njj(l.searchUpdate(o))})("change",function(o){t.eBV(e);const l=t.XpG();return t.Njj(l.prevChange(o))}),t.k0s()(),t.j41(6,"div",35)(7,"ul",36,5),t.bIt("scrolled",function(){t.eBV(e);const o=t.XpG();return t.Njj(o.onScroll("down"))})("scrolledUp",function(){t.eBV(e);const o=t.XpG();return t.Njj(o.onScroll("up"))})("keydown",function(o){t.eBV(e);const l=t.XpG();return t.Njj(l.keyDown(o))}),t.DNE(9,on,3,1,"li",37),t.Z7z(10,yn,3,2,null,null,W),t.DNE(12,vn,1,1,"li",38)(13,Cn,1,1,"li",39),t.k0s()()()()}if(2&s){let e,i,o;const l=t.sdS(8),r=t.XpG();t.AVh("select2-container--open",r.isOpen)("select2-overlay",r.overlay())("select2-position-auto","auto"===r.listPosition())("select2-style-borderless","borderless"===r.styleMode()),t.Y8G("id",r.idOverlay()),t.R7$(),t.AVh("select2-dropdown--below",!r.select2above)("select2-dropdown--above",r.select2above),t.R7$(2),t.AVh("select2-search--hide",r.isSearchboxHidden),t.R7$(),t.Y8G("id",r.id()+"-search-field")("value",r.searchText),t.BMQ("tabindex",r.isOpen?r._tabIndex:"-1")("aria-labelledby",null!==(e=r.ariaLabelledby())&&void 0!==e?e:r.idLabel())("aria-controls",r.idOptions())("aria-activedescendant",r.hoveringOptionId()),t.R7$(3),t.xc7("max-height",r.resultMaxHeight())("--grid-size",r.grid()||null),t.AVh("select2-grid",r.grid()&&r.isNumber(r.grid()))("select2-grid-auto",r.grid()&&!r.isNumber(r.grid())),t.Y8G("id",r.idOptions())("infiniteScrollDisabled",!r.infiniteScroll()&&!r.isOpen)("infiniteScrollDistance",r.infiniteScrollDistance())("infiniteScrollThrottle",r.infiniteScrollThrottle())("infiniteScrollContainer",l),t.BMQ("aria-labelledby",null!==(i=r.ariaLabelledby())&&void 0!==i?i:r.idLabel())("aria-multiselectable",r.multiple())("aria-activedescendant",r.hoveringOptionId()),t.R7$(2),t.vxM(r.showSelectAll()&&r.multiple()?9:-1),t.R7$(),t.Dyx(r.filteredData()),t.R7$(2),t.vxM(null!=(o=r.filteredData())&&o.length||!r.noResultMessage()?-1:12),t.R7$(),t.vxM(r.maxResultsExceeded?13:-1)}}function Pn(s,n){if(1&s){const e=t.RV6();t.j41(0,"button",48),t.bIt("focus",function(){t.eBV(e);const o=t.XpG();return t.Njj(o._updateFocusState(!0))})("click",function(o){t.eBV(e);const l=t.XpG();return t.Njj(l.reset(o))})("keydown",function(o){return t.eBV(e),t.Njj(o.stopPropagation())}),t.j41(1,"span",49),t.EFF(2,"\xd7"),t.k0s()()}if(2&s){const e=t.XpG();t.BMQ("aria-description",e.ariaResetButtonDescription())("aria-controls",e.idCombo())}}const Mn=[{l:"a",s:/[\u24d0\uff41\u1e9a\xe0\xe1\xe2\u1ea7\u1ea5\u1eab\u1ea9\xe3\u0101\u0103\u1eb1\u1eaf\u1eb5\u1eb3\u0227\u01e1\xe4\u01df\u1ea3\xe5\u01fb\u01ce\u0201\u0203\u1ea1\u1ead\u1eb7\u1e01\u0105\u2c65\u0250]/gi},{l:"aa",s:/\ua733/gi},{l:"ae",s:/[\xe6\u01fd\u01e3]/gi},{l:"ao",s:/\ua735/gi},{l:"au",s:/\ua737/gi},{l:"av",s:/[\ua739\ua73b]/gi},{l:"ay",s:/\ua73d/gi},{l:"b",s:/[\u24d1\uff42\u1e03\u1e05\u1e07\u0180\u0183\u0253]/gi},{l:"c",s:/[\u24d2\uff43\u0107\u0109\u010b\u010d\xe7\u1e09\u0188\u023c\ua73f\u2184]/gi},{l:"d",s:/[\u24d3\uff44\u1e0b\u010f\u1e0d\u1e11\u1e13\u1e0f\u0111\u018c\u0256\u0257\ua77a]/gi},{l:"dz",s:/[\u01f3\u01c6]/gi},{l:"e",s:/[\u24d4\uff45\xe8\xe9\xea\u1ec1\u1ebf\u1ec5\u1ec3\u1ebd\u0113\u1e15\u1e17\u0115\u0117\xeb\u1ebb\u011b\u0205\u0207\u1eb9\u1ec7\u0229\u1e1d\u0119\u1e19\u1e1b\u0247\u025b\u01dd]/gi},{l:"f",s:/[\u24d5\uff46\u1e1f\u0192\ua77c]/gi},{l:"g",s:/[\u24d6\uff47\u01f5\u011d\u1e21\u011f\u0121\u01e7\u0123\u01e5\u0260\ua7a1\u1d79\ua77f]/gi}
1,{l:"h",s:/[\u24d7\uff48\u0125\u1e23\u1e27\u021f\u1e25\u1e29\u1e2b\u1e96\u0127\u2c68\u2c76\u0265]/gi},{l:"hv",s:/\u0195/gi},{l:"i",s:/[\u24d8\uff49\xec\xed\xee\u0129\u012b\u012d\u0130\xef\u1e2f\u1ec9\u01d0\u0209\u020b\u1ecb\u012f\u1e2d\u0268\u0131]/gi},{l:"j",s:/[\u24d9\uff4a\u0135\u01f0\u0249]/gi},{l:"k",s:/[\u24da\uff4b\u1e31\u01e9\u1e33\u0137\u1e35\u0199\u2c6a\ua741\ua743\ua745\ua7a3]/gi},{l:"l",s:/[\u24db\uff4c\u0140\u013a\u013e\u1e37\u1e39\u013c\u1e3d\u1e3b\u017f\u0142\u019a\u026b\u2c61\ua749\ua781\ua747\ua746]/gi},{l:"lj",s:/\u01c9/gi},{l:"m",s:/[\u24dc\uff4d\u1e3f\u1e41\u1e43\u0271\u026f]/gi},{l:"n",s:/[\u24dd\uff4e\u01f9\u0144\xf1\u1e45\u0148\u1e47\u0146\u1e4b\u1e49\u019e\u0272\u0149\ua791\ua7a5]/gi},{l:"nj",s:/\u01cc/gi},{l:"o",s:/[\u24de\uff4f\xf2\xf3\xf4\u1ed3\u1ed1\u1ed7\u1ed5\xf5\u1e4d\u022d\u1e4f\u014d\u1e51\u1e53\u014f\u022f\u0231\xf6\u022b\u1ecf\u0151\u01d2\u020d\u020f\u01a1\u1edd\u1edb\u1ee1\u1edf\u1ee3\u1ecd\u1ed9\u01eb\u01ed\xf8\u01ff\u0254\u019f\ua74b\ua74d\u0275]/gi},{l:"oi",s:/\u01a3/gi},{l:"oe",s:/\u0153/gi},{l:"oo",s:/\ua74f/gi},{l:"ou",s:/\u0223/gi},{l:"p",s:/[\u24df\uff50\u1e55\u1e57\u01a5\u1d7d\ua751\ua753\ua755]/gi},{l:"q",s:/[\u24e0\uff51\u024b\ua757\ua759]/gi},{l:"r",s:/[\u24e1\uff52\u0155\u1e59\u0159\u0211\u0213\u1e5b\u1e5d\u0157\u1e5f\u024d\u027d\ua75b\ua7a7\ua783]/gi},{l:"s",s:/[\u24e2\uff53\xdf\u1e9e\u015b\u1e65\u015d\u1e61\u0161\u1e67\u1e63\u1e69\u0219\u015f\u023f\ua7a9\ua785\u1e9b]/gi},{l:"t",s:/[\u24e3\uff54\u1e6b\u1e97\u0165\u1e6d\u021b\u0163\u1e71\u1e6f\u0167\u01ad\u0288\u2c66\ua787]/gi},{l:"tz",s:/\ua729/gi},{l:"u",s:/[\u24e4\uff55\xf9\xfa\xfb\u0169\u1e79\u016b\u1e7b\u016d\xfc\u01dc\u01d8\u01d6\u01da\u1ee7\u016f\u0171\u01d4\u0215\u0217\u01b0\u1eeb\u1ee9\u1eef\u1eed\u1ef1\u1ee5\u1e73\u0173\u1e77\u1e75\u0289]/gi},{l:"v",s:/[\u24e5\uff56\u1e7d\u1e7f\u028b\ua75f\u028c]/gi},{l:"vy",s:/\ua761/gi},{l:"w",s:/[\u24e6\uff57\u1e81\u1e83\u0175\u1e87\u1e85\u1e98\u1e89\u2c73]/gi},{l:"x",s:/[\u24e7\uff58\u1e8b\u1e8d]/gi},{l:"y",s:/[\u24e8\uff59\u1ef3\xfd\u0177\u1ef9\u0233\u1e8f\xff\u1ef7\u1e99\u1ef5\u01b4\u024f\u1eff]/gi},{l:"z",s:/[\u24e9\uff5a\u017a\u1e91\u017c\u017e\u1e93\u1e95\u01b6\u0225\u0240\u2c6c\ua763]/gi}],Sn=new RegExp("[\\-\\[\\]\\/\\{\\}\\(\\)\\*\\+\\?\\.\\\\\\^\\$\\|]","g");class h{static getOptionByValue(n,e){if(Array.isArray(n))for(const i of n){const o=i.options;if(o){for(const l of o)if(l.value===e)return l}else if(i.value===e)return i}return null}static getOptionsByValue(n,e,i){if(i){const o=Array.isArray(e)?e:[],l=[];for(const r of o){const c=h.getOptionByValue(n,r);c&&l.push(c)}return l}return h.getOptionByValue(n,e)}static getFirstAvailableOption(n){if(Array.isArray(n))for(const e of n){const i=e.options;if(i){for(const o of i)if(!o.disabled)return o}else if(!e.disabled)return e}return null}static optionIsNotInFilteredData(n,e){if(h.isNullOrUndefined(e))return!0;for(const i of n){const o=i.options;if(o&&o.includes(e))return!1;if(i===e)return!1}return!0}static getPreviousOption(n,e){let i=h.isNullOrUndefined(e);for(let o=n.length-1;o>=0;o--){const l=n[o],r=l.options;if(r)for(let c=r.length-1;c>=0;c--){const a=r[c];if(i&&!a.disabled&&!a.hide)return a;i||(i=a===e)}else{if(i&&!l.disabled&&!l.hide)return l;i||(i=l===e)}}return null}static getNextOption(n,e){let i=h.isNullOrUndefined(e);if(n)for(const o of n){const l=o.options;if(l)for(const r of l)if(i){if(!r.disabled&&!r.hide)return r}else i||(i=r===e);else if(i){if(!o.disabled&&!o.hide)return o}else i||(i=o===e)}return null}static getFirstOption(n){const e=n[0];return this.isOption(e)?e??null:e.options[0]??null}static getLastOption(n){const e=n.at(-1);return e?this.isOption(e)?e:e.options.at(-1)??null:null}static isGroup(n){return!!n.options}static isOption(n){return!this.isGroup(n)}static getReduceData(n,e=0){if(e>0){let i=0;const o=[];for(const l of n){const r=l.options;if(r){const c={...l,options:[]};o.push(c);for(const a of r)if(c.options.push(a),i++,i===e)return{result:o,reduce:!0}}else o.push(l),i++;if(i===e)return{result:o,reduce:!0}}return{result:o,reduce:!1}}return{result:n,reduce:!1}}static getFilteredData(n,e,i){if(e){const o=[];for(const l of n){const r=l.options;if(r){if(r.some(c=>
1h.containSearchText(c.label,e,i))){const c=r.filter(a=>h.containSearchText(a.label,e,i));o.push({...l,options:c})}}else h.containSearchText(l.label,e,i)&&o.push(l)}return o}return n}static getFilteredSelectedData(n,e){const i=[];for(const o of n){const l=o.options;if(l){const r=l.filter(c=>"false"===h.isSelected(e,c,!0));r.length&&i.push({...o,options:r})}else"false"===h.isSelected(e,o,!0)&&i.push(o)}return i}static isSearchboxHidden(n,e){return(null==e||isNaN(+e))&&(e=6),h.getOptionsCount(n)<+e}static isSelected(n,e,i){return i?n&&n.some(o=>o.value===e.value)?"true":"false":n&&e.value===n.value?"true":"false"}static removeSelection(n,e){for(let i=0;i<n.length;i++)if(n[i].value===e.value)return void n.splice(i,1)}static getOptionsCount(n){let e=0;if(Array.isArray(n))for(const i of n){const o=i.options;e+=o?o.length:1}return e}static isNullOrUndefined(n){return null==n}static containSearchText(n,e,i){return!e||null!==h.formatSansUnicode(n).match(new RegExp(h.formatPattern(e,i),"i"))}static protectPattern(n){return n.replace(Sn,"\\$&")}static formatSansUnicode(n){for(const e of Mn)n=n.replace(e.s,e.l);return n}static formatPattern(n,e){return n=h.formatSansUnicode(h.protectPattern(n)),e&&"function"==typeof e&&(n=e(n)),n}}let xn=0;const kn=["Enter"," "],En=["ArrowDown","ArrowUp","Home","End","PageUp","PageDown"],Dn=["ArrowDown","ArrowUp","Enter"," ","Home","End","PageUp","PageDown"],Rn=["Home","End","PageUp","PageDown"],ge=["Escape","Tab",{key:"ArrowUp",altKey:!0}];let Tn=(()=>{class s{get classMaterial(){return"material"===this.styleMode()}get classNostyle(){return"noStyle"===this.styleMode()}get classBorderless(){return"borderless"===this.styleMode()}get select2above(){return this.overlay()?this._isAbobeOverlay():"above"===this.listPosition()}get select2Options(){return this.multiple()?this.selectedOption??[]:[]}get select2Option(){return this.multiple()?null:this.selectedOption}get searchText(){return this.innerSearchText}set searchText(e){this.innerSearchText=e}get disabledState(){return this._control?.disabled??this._disabled}get _positions(){switch(this.listPosition()){case"above":return[new E({originX:"start",originY:"top"},{overlayX:"start",overlayY:"bottom"})];case"auto":return[new E({originX:"start",originY:"bottom"},{overlayX:"start",overlayY:"top"}),new E({originX:"start",originY:"top"},{overlayX:"start",overlayY:"bottom"})];default:return[new E({originX:"start",originY:"bottom"},{overlayX:"start",overlayY:"top"})]}}get resultsElement(){return this.resultContainer()?.nativeElement}get _tabIndex(){return this.disabledState?-1:this.tabIndex()}constructor(e,i,o,l,r,c){this._viewportRuler=e,this._changeDetectorRef=i,this._parentForm=o,this._parentFormGroup=l,this._control=r,this._uid="select2-"+xn++,this.data=t.hFB.required(),this.minCharForSearch=(0,t.hFB)(0,{transform:t.Udg}),this.displaySearchStatus=(0,t.hFB)(void 0),this.placeholder=(0,t.hFB)(void 0),this.limitSelection=(0,t.hFB)(0,{transform:t.Udg}),this.listPosition=(0,t.hFB)("below"),this.overlay=(0,t.hFB)(!1,{transform:t.L39}),this.multiple=(0,t.hFB)(!1,{transform:t.L39}),this.multipleDrag=(0,t.hFB)(!1,{transform:t.L39}),this.styleMode=(0,t.hFB)("default"),this.noResultMessage=(0,t.hFB)(),this.maxResults=(0,t.hFB)(0,{transform:t.Udg}),this.maxResultsMessage=(0,t.hFB)("Too many results\u2026"),this.infiniteScrollDistance=(0,t.hFB)(1.5,{transform:t.Udg}),this.infiniteScrollThrottle=(0,t.hFB)(150,{transform:t.Udg}),this.infiniteScroll=(0,t.hFB)(!1,{transform:t.L39}),this.autoCreate=(0,t.hFB)(!1,{transform:t.L39}),this.noLabelTemplate=(0,t.hFB)(!1,{transform:t.L39}),this.editPattern=(0,t.hFB)(void 0),this.templates=(0,t.hFB)(void 0),this.templateSelection=(0,t.hFB)(void 0),this.resultMaxHeight=(0,t.hFB)("200px"),this.customSearchEnabled=(0,t.hFB)(!1,{transform:t.L39}),this.minCountForSearch=(0,t.hFB)(void 0,{transform:t.Udg}),this.id=(0,t.hFB)(this._uid),this.idLabel=(0,t.EWP)(()=>`${this.id()}-label`),this.idCombo=(0,t.EWP)(()=>`${this.id()}-combo`),this.idOptions=(0,t.EWP)(()=>`${this.id()}-options`),this.idOverlay=(0,t.EWP)(()=>`${this.id()}-overlay`),this.required=(0,t.hFB)(!1,{transform:t.L39}),this.disabled=(0,t.hFB)(!1,{transform:t.L39}),this.hideSelectedItems=(0,t.hFB)(!1,{transform:t.L39}),this.readonly=(0,t.hFB)(!1,{transform:t.L39}),this.value=(0,t.hFB)(),this.tabIndex=(0,t.hFB)(0,{transform:t.Udg}),this.resettable=(0,t.hFB)(!1,{transform:t.L39}),this.resetSelectedValue=(0,t.hFB)(void 0),this.nativeKeyboard=(0,t.hFB)(!1,{transform:t.L39}),this.grid=(0,t.hFB)(""),this.selectionOverride=(0,t.hFB)(void 0),this.selectionNoWrap=(0,t.hFB)(!1,{transform:t.L39}),this.showSelectAll=(0,t.hFB)(!1,{transform:t.L39}),this.removeAllText=(0,t.hFB)("Remove all"),this.selectAllText=(0,t.hFB)("Select all"),this.title=(0,t.hFB)(),this.ariaLabelledby=(0,t.hFB)(),this.ariaDescribedby=(0,t.hFB)(),this.ariaInvalid=(0,t.hFB)(!1,{transform:t.L39}),this.ariaResetButtonDescription=(0,t.hFB)("Reset"),this.update=(0,t.CGW)(),this.autoCreateItem=(0,t.CGW)(),this.open=(0,t.CGW)(),this.close=(0,t.CGW)(),this.focus=(0,t.CGW)(),this.blur=(0,t.CGW)(),this.search=(0,t.CGW)(),this.scroll=(0,t.CGW)(),this.removeOption=(0,t.CGW)(),this.cdkConnectedOverlay=t.ebz.required(X),this.selection=t.ebz.required("selection"),this.resultContainer=(0,t.ebz)("results"),this.results=(0,t.dtW)("result"),this.searchInput=(0,t.ebz)("searchInput"),this.dropdown=(0,t.ebz)("dropdown"),this.selectedOption=null,this.isOpen=!1,this.focused=!1,this.filteredData=(0,t.vPA)(void 0),this.overlayWidth="",this.overlayHeight="",this.hoveringOption=(0,t.vPA)(null),this.hoveringOptionId=(0,t.EWP)(()=>this.getElementId(this.hoveringOption())),this.innerSearchText="",this._stateChanges=new v.B,this._data=[],this._disabled=!1,this._value=null,this.toObservable=new C.yU,this._onTouched=()=>{},this._onChange=()=>{},this._control&&(this._control.valueAccessor=this),this.toObservable.add((0,I.br)(this.multiple).subscribe(a=>{this.ngOnInit()})),this.toObservable.add((0,I.br)(this.minCountForSearch).subscribe(a=>{this.updateSearchBox()})),this.toObservable.add((0,I.br)(this.disabled).subscribe(a=>{this._disabled=a}))}ngOnChanges(e){let i;if(e.data&&(this._data=e.data.currentValue,i=!0),e.value){const o=e.value.currentValue;this.testValueChange(this._value,o)&&(void 0===this._value&&(this._value=o),this.writeValue(o),i=!0)}i&&this.updateFilteredData()}clickDetection(e){if(this.isOpen){const i=e.target;this.ifParentContainsClass(i,"selection")?this.ifParentContainsId(i,this.id())||(this.toggleOpenAndClose(),this.clickExit()):((!this.ifParentContainsClass(i,"select2-dropdown")&&!this.multiple()&&!this.hideSelectedItems()||
1!(this.ifParentContainsClass(i,"select2-results__option")||this.ifParentContainsClass(i,"select2-dropdown")))&&this.toggleOpenAndClose(),!this.overlay()&&!this.ifParentContainsId(i,this.id())&&this.clickExit())}else this.focused&&this._focus(this.clickOnSelect2Element(e.target))}ngOnInit(){this._viewportRuler.change(100).subscribe(()=>{this.isOpen&&this.triggerRect()});const e=h.getOptionsByValue(this._data,this._control?this._control.value:this.value(),this.multiple());null!==e&&(this.selectedOption=e??null),Array.isArray(e)||this.hoveringOption.set(h.getOptionByValue(this._data,this.value)),this.updateSearchBox()}ngAfterViewInit(){this.cdkConnectedOverlay().positionChange.subscribe(e=>{"auto"===this.listPosition()&&e.connectionPair?.originY&&this._overlayPosition!==e.connectionPair.originY&&(this.triggerRect(),this._overlayPosition=e.connectionPair.originY,this._changeDetectorRef.detectChanges())}),this.selectionElement=this.selection().nativeElement,this.triggerRect()}ngDoCheck(){this.updateSearchBox(),this._dirtyCheckNativeValue(),this._triggerRect&&(this.overlayWidth!==this._triggerRect.width&&(this.overlayWidth=this._triggerRect.width,this._changeDetectorRef.detectChanges()),this._dropdownRect&&this._dropdownRect.height>0&&this.overlayHeight!==this._dropdownRect.height&&(this.overlayHeight="auto"===this.listPosition()?this._dropdownRect.height:0,this.fixValue()))}ngOnDestroy(){this.toObservable.unsubscribe()}fixValue(){if(!Array.isArray(this.selectedOption)&&this.multiple()){const e=this.selectedOption;this.selectedOption=[],setTimeout(()=>{this.select(e),this._changeDetectorRef.detectChanges()})}else if(Array.isArray(this.selectedOption)&&!this.multiple()){const e=this.selectedOption[0];this.selectedOption=null,setTimeout(()=>{this.select(e),this._changeDetectorRef.detectChanges()})}else this._changeDetectorRef.detectChanges()}updateSearchBox(){if(this.autoCreate()&&!this.multiple())this.isSearchboxHidden=!1;else{const e="hidden"===this.displaySearchStatus()||"always"!==this.displaySearchStatus()&&!this.customSearchEnabled()&&h.isSearchboxHidden(this._data,this.minCountForSearch());this.isSearchboxHidden!==e&&(this.isSearchboxHidden=e)}}getOptionStyle(e){return"select2-results__option "+(e.hide?"select2-results__option--hide ":"")+(e===this.hoveringOption()?"select2-results__option--highlighted ":"")+(e.classes||"")}mouseenter(e){e.disabled||this.hoveringOption.set(e)}click(e){this.testSelection(e)&&this.select(e)}reset(e){const i=this.resetSelectedValue();this.select(void 0!==i?h.getOptionByValue(this._data,i)??null:null),e&&this.stopEvent(e),this._focus(!0)}prevChange(e){e.stopPropagation()}stopEvent(e){e.preventDefault(),e.stopPropagation()}toggleOpenAndClose(e=!0,i,o){if(this.disabledState||this.readonly())return;this._focus(e);const l=o&&this._testKey(o,Rn),r=this.isOpen!==(i??!this.isOpen);if(this.isOpen=i??!this.isOpen,this.isOpen){if(this.isSearchboxHidden||(this.innerSearchText="",this.updateFilteredData(),this._focusSearchbox(e)),this.isSearchboxHidden&&!r&&o)this.keyDown(o);else{if(this.selectedOption){const c=Array.isArray(this.selectedOption)?this.selectedOption[0]:this.selectedOption;this.updateScrollFromOption(c)}else this.resultsElement&&(this.resultsElement.scrollTop=0);l&&this.keyDown(o),this._changeDetectorRef.detectChanges(),this.triggerRect(),this.cdkConnectedOverlay().overlayRef?.updatePosition()}r&&this.open.emit(this)}else r&&this.close.emit(this);this._changeDetectorRef.markForCheck()}hasTemplate(e,i,o=!1){const l=this.templates(),r=this.templates();return!!o&&(l?.[e.templateSelectionId??""]instanceof t.C4Q||l?.[`${i}Selection`]instanceof t.C4Q||l?.templateSelection instanceof t.C4Q||this.templateSelection()instanceof t.C4Q)||r?.[e.templateId??""]instanceof t.C4Q||r?.[i]instanceof t.C4Q||r?.template instanceof t.C4Q||r instanceof t.C4Q||!1}getTemplate(e,i,o=!1){const l=this.templates(),r=this.templates();return this.hasTemplate(e,i,o)?(o?l?.[e.templateSelectionId??""]||l?.[`${i}Selection`]||l?.templateSelection||this.templateSelection():void 0)||r?.[e.templateId??""]||r?.[i]||r?.template||r:void 0}triggerRect(){this._triggerRect=this.selectionElement?.getBoundingClientRect();const e=this.dropdown();this._dropdownRect=e?.nativeElement?e.nativeElement.getBoundingClientRect():void 0}isNumber(e){return!isNaN(e-0)&&null!==e&&""!==e&&!1!==e}
1selectAll(){if(this.multiple()){if(this.selectAllTest())this.selectedOption=[],this.writeValue([]);else{const e=[];this._data.forEach(i=>{h.isGroup(i)?i.options.forEach(o=>{!o.disabled&&!o.hide&&e.push(o)}):!i.disabled&&!i.hide&&e.push(i)}),this.selectedOption=e,this.writeValue(e.map(i=>i.value))}this.isOpen=!1,this.close.emit(this)}}selectAllTest(){if(this.multiple()&&Array.isArray(this.selectedOption)&&this.selectedOption.length){let e=0;return this._data.forEach(i=>{h.isGroup(i)?i.options.forEach(o=>{!o.disabled&&!o.hide&&e++}):!i.disabled&&!i.hide&&e++}),this.selectedOption.length===e}return!1}testSelection(e){if(e.disabled)return!1;const i=this.limitSelection();return!this.multiple()||!i||this.optionsSize()<i}testValueChange(e,i){if(null==e&&null==i||e===i)return!1;if(this.multiple()&&e?.length&&i?.length&&e.length===i.length){for(const o of e)if(!(i.indexOf(o)>-1))return!0;return!1}return!0}updateFilteredData(){let e=this._data;if(this.multiple()&&this.hideSelectedItems()&&(e=h.getFilteredSelectedData(e,this.selectedOption)),!this.customSearchEnabled()&&this.searchText&&this.searchText.length>=+this.minCharForSearch()&&(e=h.getFilteredData(e,this.searchText,this.editPattern())),this.maxResults()>0){const i=h.getReduceData(e,+this.maxResults());e=i.result,this.maxResultsExceeded=i.reduce}else this.maxResultsExceeded=!1;if(h.optionIsNotInFilteredData(e,this.hoveringOption())&&this.hoveringOption.set(h.getFirstAvailableOption(e)),this.filteredData.set(e),this.multiple()&&Array.isArray(this.selectedOption)&&this.selectedOption.length){const i=[],o=this.selectedOption.map(l=>l.value);this._data.forEach(l=>{h.isGroup(l)?l.options.forEach(r=>{o.includes(r.value)&&i.push(r)}):o.includes(l.value)&&i.push(l)}),this.selectedOption=this.selectedOption.map(l=>i.find(r=>r.value===l.value))}else if(!Array.isArray(this.selectedOption)&&this.selectedOption){let i=null;this._data.forEach(o=>{h.isGroup(o)?o.options.forEach(l=>{this.selectedOption.value===l.value&&(i=l)}):this.selectedOption.value===o.value&&(i=o)}),this.selectedOption=i}this._changeDetectorRef.detectChanges()}clickExit(){this._focus(!1)}isInSelect(e){return this.ifParentContainsId(e,this.id())||this.ifParentContainsId(e,this.idOverlay())}ifParentContainsClass(e,i){return null!==this.getParentElementByClass(e,i)}ifParentContainsId(e,i){return null!==this.getParentElementById(e,i)}getParentElementByClass(e,i){return this.containClasses(e,i.trim().split(/\s+/))?e:e.parentElement?this.getParentElementByClass(e.parentElement,i):null}getParentElementById(e,i){return e.id===i?e:e.parentElement?this.getParentElementById(e.parentElement,i):null}containClasses(e,i){if(!e.classList)return!1;for(const o of i)if(!e.classList.contains(o))return!1;return!0}containAlmostOneClasses(e,i){if(!e.classList)return!1;let o=!1;for(const l of i)e.classList.contains(l)&&(o=!0);return o}clickOnSelect2Element(e){return this.containAlmostOneClasses(e,["select2-overlay-backdrop","select2-label-content","select2-selection__rendered","select2-results__option"])}focusin(e){this.disabledState||this._focus(!0,e)}focusout(e){(!e.relatedTarget||!this.isInSelect(e.relatedTarget))&&(this._focus(!1),this._onTouched())}select(e,i=!0,o=!0){let l;if(null!=e)if(this.multiple()){this.selectedOption??=[];const r=this.selectedOption,c=r.findIndex(a=>a.value===e.value);-1===c?r.push(e):r.splice(c,1),l=this.selectedOption.map(a=>a.value)}else this.selectedOption=e,o&&this.isOpen&&(this.isOpen=!1,this.close.emit(this),this.selectionElement?.focus()),l=this.selectedOption.value,!e&&null===this._value&&(this._value=l);else(Array.isArray(this.selectedOption)?this.selectedOption?.length:this.selectedOption)&&(l=""),this.selectedOption=null;this.multiple()&&this.hideSelectedItems()&&this.updateFilteredData(),i&&=void 0!==l&&this.testDiffValue(this._value,l),this._control&&this._onChange(l),i&&(this.writeValue(l),setTimeout(()=>{this.updateEvent(l)}))}testDiffValue(e,i){return Array.isArray(e)?e?.length!==i?.length:e!==i}keyDown(e,i=!1){i&&this._testKey(e,["Enter"])?this.createAndAdd(e):this._testKey(e,[{key:"ArrowDown",altKey:!1}])?(this.moveDown(),this.actionAfterKeyDownMoveAction(e)):this._testKey(e,[{key:"ArrowUp",altKey:!1}])?(this.moveUp(),this.actionAfterKeyDownMoveAction(e)):this._testKey(e,["Home"])?(this.moveStart(),this.actionAfterKeyDownMoveAction(e)):this._testKey(e,["End"])?(this.moveEnd(),this.actionAfterKeyDownMoveAction(e)):this._testKey(e,["PageUp"])?(this.moveUp(10),this.actionAfterKeyDownMoveAction(e)):this._testKey(e,["PageDown"])?(this.moveDown(10),this.actionAfterKeyDownMoveAction(e)):this._testKey(e,["Enter"])||this.isSearchboxHidden&&this._testKey(e,[" "])?(this.selectByEnter(!0),e.preventDefault()):this._testKey(e,ge)&&this.isOpen&&(this.toggleOpenAndClose(),this._focus(!0))}actionAfterKeyDownMoveAction(e){e.preventDefault(),this.nativeKeyboard()&&!this.multiple()&&this.selectByEnter(!1)}openKey(e,i=!1){i&&this._testKey(e,["Enter"])?this.createAndAdd(e):this._testKey(e,this.nativeKeyboard()&&!this.multiple()?kn:Dn)?(this.toggleOpenAndClose(!0,!0,e),e.preventDefault()):this.nativeKeyboard()&&!this.multiple()&&this._testKey(e,En)?(this.updateScrollFromOption(this.select2Option),this.keyDown(e,i)):this._testKey(e,ge)&&this.isOpen&&(this.toggleOpenAndClose(),this._onTouched())}searchUpdate(e){this.searchText=e.target.value,this.customSearchEnabled()?this.search.emit({component:this,value:this._value,search:this.searchText,data:this._data,filteredData:i=>{this.filteredData.set(i),this._changeDetectorRef.markForCheck()}}):this.updateFilteredData()}isSelected(e){return h.isSelected(this.selectedOption,e,this.multiple())}isDisabled(e){return e.disabled?"true":"false"}removeSelection(e,i){if(this.readonly()||this.disabledState)return;h.removeSelection(this.selectedOption,i),this.multiple()&&this.hideSelectedItems()&&this.updateFilteredData();const o=this.selectedOption.map(l=>l.value);this._control?this._onChange(o):this._value=o??null,this.updateEvent(o),this.removeOption.emit({component:this,value:o,removedOption:i}),e.preventDefault(),e.stopPropagation(),this.isOpen?this._focusSearchbox():this._focus(!0)}writeValue(e){this.selectedOption=null,this._setSelectionByValue(this.multiple()?e??[]:e),this.testValueChange(this._value,e)&&(this._value=e)}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this._disabled=e}onScroll(e){this.scroll.emit({component:this,way:e,search:this.innerSearchText,data:this._data})}drop(e){if(Array.isArray(this.selectedOption)){(0,D.HD)(this.selectedOption,e.previousIndex,e.currentIndex);const i=this.selectedOption.map(o=>o.value);this.writeValue(i),this._value=i,this.updateEvent(i)}}
1_isErrorState(){const e=this._control?.invalid,i=this._control?.touched;return!(!e||!i&&!this._parentFormGroup?.submitted&&!this._parentForm?.submitted)}_selectionOverrideLabel(){const e=this.selectionOverride();return"function"==typeof e?e({size:this.optionsSize(),options:Array.isArray(this.selectedOption)?this.selectedOption:this.selectedOption?[this.selectedOption]:null}):"string"==typeof e?e.replaceAll("%size%",`${this.optionsSize()}`):void 0}getElementId(e){if(!e)return e;if(e.id)return e.id;const[i,o]=this._getElementPath(e),l=r=>void 0!==r?`-${r}`:"";return e.id??=`${this.id()}-option${l(i)}${l(o)}`,e.id}_getElementPath(e){for(let i=0;i<this._data.length;i++){const o=this._data[i];if(o===e)return[i];if(h.isGroup(o)){const l=o.options.findIndex(r=>r===e);if(l>=0)return[i,l]}}return[]}_toGroup(e){return e}_toOption(e){return e}updateEvent(e){this.update.emit({component:this,value:e,options:Array.isArray(this.selectedOption)?this.selectedOption:this.selectedOption?[this.selectedOption]:null})}optionsSize(){return Array.isArray(this.selectedOption)?this.selectedOption.length:this.selectedOption?1:0}addItem(e){let i=h.getOptionByValue(this._data,e);return i||(i={value:e,label:e},this._data.push(i)),i}createAndAdd(e){const i=e.target.value;if(i.trim()){e.target.value="",this.searchText="";const o=this.addItem(i.trim());this.click(o),this.updateFilteredData(),this.autoCreateItem.emit({value:o,component:this,options:Array.isArray(this.selectedOption)?this.selectedOption:this.selectedOption?[this.selectedOption]:null})}this.stopEvent(e)}moveUp(e=1){for(let i=0;i<e;i++)this.updateScrollFromOption(h.getPreviousOption(this.filteredData(),this.hoveringOption()))}moveDown(e=1){for(let i=0;i<e;i++)this.updateScrollFromOption(h.getNextOption(this.filteredData(),this.hoveringOption()))}moveStart(){this.updateScrollFromOption(h.getFirstOption(this.filteredData()))}moveEnd(){this.updateScrollFromOption(h.getLastOption(this.filteredData()))}updateScrollFromOption(e){if(e){this.hoveringOption.set(e);const i=this.results().find(o=>o.nativeElement.innerText.trim()===e.label);if(i&&this.resultsElement){const o=this.resultsElement.getBoundingClientRect(),l=i.nativeElement.getBoundingClientRect();l.bottom>o.bottom?this.resultsElement.scrollTop+=l.bottom-o.bottom:o.top>l.top&&(this.resultsElement.scrollTop+=l.top-o.top)}}}selectByEnter(e=!1){const i=this.hoveringOption();i&&this.select(i,!0,e)}_testKey(e,i=[]){const{key:o,altKey:l}=e;return i.some(r=>"string"==typeof r?r===o:o===r.key&&l===r.altKey)}_setSelectionByValue(e){if(this.selectedOption||null!=e){const i=Array.isArray(e);if(this.multiple()&&e&&!i)throw new Error("Non array value.");this._data?this.multiple()?(Array.isArray(this.selectedOption)||(this.selectedOption=[]),i?(h.getOptionsByValue(this._data,e,this.multiple()).forEach(o=>this.select(o,!1)),this._value??=e,this.testDiffValue(this._value,e)&&this.updateEvent(e)):null===e&&(this._value=[],this.reset(),this.select(null,!1),this.testDiffValue(this._value,e)&&(this._value=[],this.updateEvent(this._value)))):(this._value=e,this.select(h.getOptionByValue(this._data,this._value),this.isOpen,!1)):this._control&&this._control.viewToModelUpdate(e),this._changeDetectorRef.markForCheck()}}_dirtyCheckNativeValue(){const e=this.value();this._previousNativeValue!==e&&(this._previousNativeValue=e,this._stateChanges.next())}_focusSearchbox(e=!0){this.isSearchboxHidden||setTimeout(()=>{const i=this.searchInput();i&&i.nativeElement&&e&&i.nativeElement.focus()})}_focus(e,i){if(e){const o=!this.isSearchboxHidden&&this.isOpen?this.searchInput().nativeElement:this.selection().nativeElement;document.activeElement!==o&&o.focus(i)}else(document.activeElement===this.selection()?.nativeElement||document.activeElement===this.searchInput()?.nativeElement)&&document.activeElement.blur();this._updateFocusState(e)}_isAbobeOverlay(){const e=this.listPosition();return this.overlay()&&this._overlayPosition&&"auto"===e?"top"===this._overlayPosition:"above"===e}_updateFocusState(e){!e&&this.focused?(this.focused=e,this.blur.emit(this)):e&&!this.focused&&(this.focused=e,this.focus.emit(this))}static{this.\u0275fac=function(i){return new(i||s)(t.rXU(x.Xj),t.rXU(t.gRc),t.rXU(j.cV,8),t.rXU(j.j4,8),t.rXU(j.vO,10),t.kS0("tabindex"))}}static{this.\u0275cmp=t.VBU({type:s,selectors:[["select2"],["ng-select2"]],viewQuery:function(i,o){1&i&&(t.wEZ(o.cdkConnectedOverlay,X,5),t.wEZ(o.selection,Pt,5),t.wEZ(o.resultContainer,Mt,5),t.wEZ(o.results,wt,5),t.wEZ(o.searchInput,St,5),t.wEZ(o.dropdown,xt,5)),2&i&&t.NyB(6)},hostVars:11,hostBindings:function(i,o){1&i&&t.bIt("click",function(r){return o.clickDetection(r)},!1,t.EBC),2&i&&(t.Mr5("id",o.id()),t.AVh("select2-selection-nowrap",o.selectionNoWrap())("material",o.classMaterial)("nostyle",o.classNostyle)("borderless",o.classBorderless)("select2-above",o.select2above))},inputs:{data:[1,"data"],minCharForSearch:[1,"minCharForSearch"],displaySearchStatus:[1,"displaySearchStatus"],placeholder:[1,"placeholder"],limitSelection:[1,"limitSelection"],listPosition:[1,"listPosition"],overlay:[1,"overlay"],multiple:[1,"multiple"],multipleDrag:[1,"multipleDrag"],styleMode:[1,"styleMode"],noResultMessage:[1,"noResultMessage"],maxResults:[1,"maxResults"],maxResultsMessage:[1,"maxResultsMessage"],infiniteScrollDistance:[1,"infiniteScrollDistance"],infiniteScrollThrottle:[1,"infiniteScrollThrottle"],infiniteScroll:[1,"infiniteScroll"],autoCreate:[1,"autoCreate"],noLabelTemplate:[1,"noLabelTemplate"],editPattern:[1,"editPattern"],templates:[1,"templates"],templateSelection:[1,"templateSelection"],resultMaxHeight:[1,"resultMaxHeight"],customSearchEnabled:[1,"customSearchEnabled"],minCountForSearch:[1,"minCountForSearch"],id:[1,"id"],required:[1,"required"],disabled:[1,"disabled"],hideSelectedItems:[1,"hideSelectedItems"],readonly:[1,"readonly"],value:[1,"value"],tabIndex:[1,"tabIndex"],resettable:[1,"resettable"],resetSelectedValue:[1,"resetSelectedValue"],nativeKeyboard:[1,"nativeKeyboard"],grid:[1,"grid"],selectionOverride:[1,"selectionOverride"],selectionNoWrap:[1,"selectionNoWrap"],showSelectAll:[1,"showSelectAll"],removeAllText:[1,"removeAllText"],selectAllText:[1,"selectAllText"],title:[1,"title"],ariaLabelledby:[1,"ariaLabelledby"],ariaDescribedby:[1,"ariaDescribedby"],ariaInvalid:[1,"ariaInvalid"],ariaResetButtonDescription:[1,"ariaResetButtonDescription"]},outputs:{update:"update",autoCreateItem:"autoCreateItem",open:"open",close:"close",focu
1s:"focus",blur:"blur",search:"search",scroll:"scroll",removeOption:"removeOption"},features:[t.OA$],ngContentSelectors:Et,decls:19,vars:39,consts:[["selection","","trigger","cdkOverlayOrigin"],["containerTemplate",""],["resetButton",""],["dropdown",""],["searchInput",""],["results",""],["result",""],["li",""],[1,"select2-label",3,"click","id"],["aria-hidden","true",1,"select2-required"],[1,"select2","select2-container","select2-container--default"],["role","combobox","aria-haspopup","listbox","cdkOverlayOrigin","",1,"selection",3,"click","focus","focusout","keydown","id","tabindex"],[1,"select2-selection"],[1,"select2-subscript-wrapper"],["cdkConnectedOverlay","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","select2-overlay-backdrop",3,"backdropClick","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayMinWidth","cdkConnectedOverlayHeight","cdkConnectedOverlayPositions"],[1,"select2-selection__override",3,"innerHTML"],[4,"ngTemplateOutlet"],[1,"select2-selection__rendered",3,"title"],[1,"select2-selection__placeholder"],["role","presentation",1,"select2-selection__arrow"],[3,"innerHTML"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["cdkDropList","","cdkDropListOrientation","mixed",1,"select2-selection__rendered",3,"cdkDropListDropped","cdkDropListDisabled"],[1,"select2-selection__placeholder",3,"select2-selection__placeholder__option"],["tabindex","0","cdkDrag","",1,"select2-selection__choice",3,"title"],[1,"select2-selection__auto-create"],["tabindex","0","cdkDrag","",1,"select2-selection__choice",3,"focus","keydown.enter","title"],["role","presentation","aria-hidden","true",1,"select2-selection__choice__remove"],["role","presentation","aria-hidden","true",1,"select2-selection__choice__remove",3,"click"],[1,"select2-selection__auto-create",3,"focus","blur"],["type","search","role","textbox","autocomplete","off","autocorrect","off","autocapitalize","off","spellcheck","false",1,"select2-create__field",3,"click","keydown","keyup","change","id"],[1,"select2-container","select2-container--default","select2-container-dropdown",3,"id"],[1,"select2-dropdown"],[1,"select2-search","select2-search--dropdown"],["type","search","role","combobox","autocomplete","off","autocorrect","off","autocapitalize","off","spellcheck","false","aria-autocomplete","list","aria-expanded","true",1,"select2-search__field",3,"keydown","keyup","change","id","value"],[1,"select2-results"],["role","listbox","tabindex","-1","infiniteScroll","",1,"select2-results__options",3,"scrolled","scrolledUp","keydown","id","infiniteScrollDisabled","infiniteScrollDistance","infiniteScrollThrottle","infiniteScrollContainer"],["tabindex","1","aria-selected","",1,"select2-results__option","select2-selectall"],[1,"select2-no-result","select2-results__option",3,"innerHTML"],[1,"select2-too-much-result","select2-results__option",3,"innerHTML"],["tabindex","1","aria-selected","",1,"select2-results__option","select2-selectall",3,"click"],[1,"select2-label-content"],[1,"select2-results__option","select2-results__group"],[3,"id"],["role","group",1,"select2-results__options","select2-results__options--nested"],["role","option",3,"id","class"],["role","option",3,"mouseenter","click","id"],[1,"select2-label-content",3,"innerHTML"],["type","button",1,"select2-selection__reset",3,"focus","click","keydown"],["aria-hidden","true"]],template:function(i,o){if(1&i){const l=t.RV6();t.NAR(kt),t.j41(0,"label",8),t.bIt("click",function(){return t.eBV(l),t.Njj(o.toggleOpenAndClose())}),t.SdG(1),t.DNE(2,Rt,1,0,"span",9),t.k0s(),t.j41(3,"div",10)(4,"div",11,0),t.bIt("click",function(){return t.eBV(l),t.Njj(o.toggleOpenAndClose())})("focus",function(){return t.eBV(l),t.Njj(o.focusin())})("focusout",function(c){return t.eBV(l),t.Njj(o.focusout(c))})("keydown",function(c){return t.eBV(l),t.Njj(o.openKey(c))}),t.j41(7,"div",12),t.DNE(8,Ft,2,2)(9,jt,7,8)(10,Jt,6,5),t.k0s()(),t.DNE(11,en,1,1,"ng-container"),t.j41(12,"div",13),t.SdG(13,1),t.k0s()(),t.DNE(14,nn,1,1,"ng-template",14),t.bIt("backdropClick",function(){return t.eBV(l),t.Njj(o.toggleOpenAndClose())}),t.DNE(15,bn,14,40,"ng-template",null,1,t.C5r)(17,Pn,3,2,"ng-template",null,2,t.C5r)}if(2&i){let l;const r=t.sdS(6);t.Y8G("id",o.idLabel()),t.R7$(2),t.vxM(o.required()?2:-1),t.R7$(),t.AVh("select2-container--focus",o.focused)("select2-container--below",!o.select2above)("select2-container--above",o.select2above)("select2-container--open",o.isOpen)("select2-container--disabled",o.disabled())("select2-container--readonly",o.readonly()),t.R7$(),t.AVh("select2-focused",o.focused),t.Y8G("id",o.idCombo())("tabindex",o.isOpen?"-1":o._tabIndex),t.BMQ("aria-labelledby",null!==(l=o.ariaLabelledby())&&void 0!==l?l:o.idLabel())("aria-expanded",o.isOpen)("aria-controls",o.idOptions())("aria-activedescendant",o.isOpen?o.hoveringOptionId():null)("aria-describedby",o.ariaDescribedby())("title",o.title())("aria-invalid",o._isErrorState()||o.ariaInvalid()?"true":null)("aria-required",o.required()?"true":null)("aria-readonly",o.readonly()?"true":null)("aria-disabled",o.disabled()?"true":null),t.R7$(3),t.AVh("select2-selection--multiple",o.multiple())("select2-selection--single",!o.multiple()),t.R7$(),t.vxM(o.selectionOverride()?8:o.multiple()?10:9),t.R7$(3),t.vxM(o.overlay()?-1:11),t.R7$(3),t.Y8G("cdkConnectedOverlayOrigin",r)("cdkConnectedOverlayOpen",o.isOpen&&o.overlay())("cdkConnectedOverlayMinWidth",o.overlayWidth)("cdkConnectedOverlayHeight",o.overlayHeight)("cdkConnectedOverlayPositions",o._positions)}},dependencies:[N,Ke.T3,X,Ct,D.O7,D.T1],styles:['.select2-label[_ngcontent-%COMP%]{color:var(--select2-label-text-color, #000)}.select2-container[_ngcontent-%COMP%]{display:inline-block;position:relative;vertical-align:middle;box-sizing:border-box;margin:0;width:100%}.select2-container[_ngcontent-%COMP%] .select2-container-dropdown[_ngcontent-%COMP%]{position:absolute;opacity:0;width:0px}.select2-container[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]{display:block;cursor:pointer;box-sizing:border-box;height:var(--select2-single-height, 28px);-webkit-user-select:none;user-select:none}.select2-container[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%]{display:block;flex:1 1 auto;
1padding:var(--select2-selection-padding, 0 0 0 8px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.select2-container[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__clear[_ngcontent-%COMP%]{position:relative}.select2-container[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{display:block;cursor:pointer;box-sizing:border-box;min-height:var(--select2-multiple-height, 28px);-webkit-user-select:none;user-select:none}.select2-container[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%]{display:inline-flex;flex-wrap:wrap;gap:var(--select2-selection-multiple-gap, 2px 5px);padding-bottom:2px;padding-left:8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.select2-container[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%] .select2-selection__auto-create[_ngcontent-%COMP%]{display:flex;flex:1 1 150px;min-width:150px}.select2-container[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%] .select2-create__field[_ngcontent-%COMP%]{border:0;width:100%}.select2-container[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%] .select2-create__field[_ngcontent-%COMP%]:focus{outline:0;border:0}.select2-container[_ngcontent-%COMP%] .select2-search--inline[_ngcontent-%COMP%]{float:left}.select2-container[_ngcontent-%COMP%] .select2-search--inline[_ngcontent-%COMP%] .select2-search__field[_ngcontent-%COMP%]{box-sizing:border-box;margin-top:5px;border:none;padding:0;font-size:100%}.select2-container[_ngcontent-%COMP%] .select2-search--inline[_ngcontent-%COMP%] .select2-search__field[_ngcontent-%COMP%]::-webkit-search-cancel-button{-webkit-appearance:none}.select2-dropdown[_ngcontent-%COMP%]{display:block;position:absolute;z-index:1051;box-sizing:border-box;border:1px solid var(--select2-dropdown-border-color, #aaa);border-radius:var(--select2-selection-border-radius, 4px);background:var(--select2-dropdown-background, white);width:100%;height:0;overflow:hidden}.select2-dropdown[_ngcontent-%COMP%] .select2-label-content[_ngcontent-%COMP%]{display:contents}.select2-results[_ngcontent-%COMP%]{display:block}.select2-results__options[_ngcontent-%COMP%]{margin:0;padding:0;list-style:none}.select2-results__option[_ngcontent-%COMP%]{padding:var(--select2-option-padding, 6px);color:var(--select2-option-text-color, #000);-webkit-user-select:none;user-select:none}.select2-results__option[aria-selected][_ngcontent-%COMP%]{cursor:pointer}.select2-container.select2-container-dropdown.select2-container--open[_ngcontent-%COMP%]{opacity:1;width:100%}.select2-container--open[_ngcontent-%COMP%] .select2-dropdown[_ngcontent-%COMP%]{height:auto;overflow:auto}.select2-container--open[_ngcontent-%COMP%] .select2-dropdown--above[_ngcontent-%COMP%]{display:flex;bottom:27px;flex-direction:column-reverse;border-bottom:var(--select2-dropdown-above-border-bottom, none);border-bottom-right-radius:var(--select2-dropdown-above-border-bottom-right-radius, 0);border-bottom-left-radius:var(--select2-dropdown-above-border-bottom-left-radius, 0)}.select2-container--open[_ngcontent-%COMP%] .select2-dropdown--below[_ngcontent-%COMP%]{border-top:var(--select2-dropdown-below-border-top, none);border-top-right-radius:var(--select2-dropdown-below-border-top-right-radius, 0);border-top-left-radius:var(--select2-dropdown-below-border-top-left-radius, 0)}.select2-search--dropdown[_ngcontent-%COMP%]{display:block;padding:4px}.select2-search--dropdown[_ngcontent-%COMP%] .select2-search__field[_ngcontent-%COMP%]{box-sizing:border-box;padding:4px;width:100%}.select2-search--dropdown[_ngcontent-%COMP%] .select2-search__field[_ngcontent-%COMP%]::-webkit-search-cancel-button{-webkit-appearance:none}.select2-search--dropdown.select2-search--hide[_ngcontent-%COMP%]{display:none}.select2-close-mask[_ngcontent-%COMP%]{display:block;position:fixed;top:0;left:0;opacity:0;z-index:99;margin:0;border:0;padding:0;width:auto;min-width:100%;height:auto;min-height:100%}.select2-required[_ngcontent-%COMP%]:before{content:"*";color:var(--select2-required-color, red)}.select2-hidden-accessible[_ngcontent-%COMP%]{border:0!important;clip:rect(0 0 0 0)!important;position:absolute!important;margin:-1px!important;padding:0!important;width:1px!important;height:1px!important;overflow:hidden!important}.select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]{display:flex;border:1px solid var(--select2-selection-border-color, #aaa);border-radius:var(--select2-selection-border-radius, 4px);background:var(--select2-selection-background, #fff)}.select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%]{color:var(--select2-selection-text-color, #111);line-height:var(--select2-selection-line-height, 28px)}.select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__clear[_ngcontent-%COMP%]{float:right;cursor:pointer;font-weight:700}.select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__placeholder[_ngcontent-%COMP%]{color:var(--select2-placeholder-color, #999)}.select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__placeholder[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{overflow:hidden;text-overflow:var(--select2-placeholder-overflow, ellipsis);white-space:nowrap}.select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__placeholder__option[_ngcontent-%COMP%]{display:none}.select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__override[_ngcontent-%COMP%]{flex:1;margin:0 5px}.select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__reset[_ngcontent-%COMP%], .select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__arrow[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;width:20px}.select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__arrow[_ngcontent-%COMP%]:before{border-width:5px 4px 0;border-style:solid;border-color:var(--select2-arrow-color, #888) transparent;width:0;height:0;content:" "}.select2-container--default[_ngcontent-%COMP%] .select2-selection__reset[_ngcontent-%COMP%]{align-self:center;border:var(--select2-reset-border, none);border-radius:var(--select2-reset-border-radius, 4px);background:var(--select2-reset-background, transparent);height:fit-content;color:var(--select2-reset-color, #999)}.select2-container--default.select2-container--disabled[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__clear[_ngcontent-%COMP%], .select2-container--default.select2-container--disabled[_ngcontent-%COMP%] .select2-selection__choice__remove[_ngcontent-%COMP%], .select2-container--default.select2-container--readonly[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__clear[_ngcontent-%COMP%], .select2-container--default.select2-container--readonly[_ngcontent-%COMP%] .select2-selection__choice__remove[_ngcontent-%COMP%]{display:none}.select2-container--default.select2-container--disabled[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%], .select2-container--default.select2-container--disabled[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{cursor:default;background:var(--select2-selection-disabled-background, #eee)}.select2-container--default.select2-container--readonly[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%], .select2-container--default.select2-container--readonly[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{background:var(--select2-selection-readonly-background, #eee)}.select2-container--default.select2-container--open[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__arrow[_ngcontent-%COMP%]:before{border-width:0 4px 5px;border-color:transparent transparent var(--select2-arrow-color, #888)}.select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{display:flex;cursor:text;border:1px solid var(--select2-selection-border-color, #aaa);border-radius:var(--select2-selection-border-radius, 4px);background:var(--select2-selection-background, #fff)}.select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%]{flex:1 1 auto;align-items:center;box-sizing:border-box;margin:0;padding:var(--select2-selection-multiple-padding, 2px 5px);width:100%;min-height:1em;list-style:none}.select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{line-height:var(--select2-selection-choice-line-height, 20px);list-style:none}.select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__placeholder[_ngcontent-%COMP%]{display:block;float:left;margin:-3px 0;width:100%;overflow:hidden;color:var(--select2-placeholder-color, #999);text-overflow:var(--select2-placeholder-overflow, ellipsis);white-space:nowrap}.select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__placeholder__option[_ngcontent-%COMP%]{display:none}.select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__override[_ngcontent-%COMP%]{flex:1;margin:0 5px}.select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__clear[_ngcontent-%COMP%]{float:right;cursor:pointer;margin-top:5px;margin-right:10px;font-weight:700}.select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__choice[_ngcontent-%COMP%]{cursor:default;border:1px solid var(--select2-selection-choice-border-color, #aaa);border-radius:var(--select2-selection-border-radius, 4px);background:var(--select2-selection-choice-background, #e4e4e4);padding:0 5px;color:var(--select2-selection-choice-text-color, #000)}.select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__choice.cdk-drag[_ngcontent-%COMP%]:not(.cdk-drag-disabled){cursor:move}.select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__choice__remove[_ngcontent-%COMP%]{display:inline-block;cursor:pointer;margin-right:2px;color:var(--select2-selection-choice-close-color, #999);font-weight:700}.select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__choice__remove[_ngcontent-%COMP%]:hover{color:var(--select2-selection-choice-hover-close-color, #333)}.select2-container--default.select2-container--focused[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{outline:none;border:solid var(--select2-selection-focus-border-color, #000) 1px}.select2-container--default[_ngcontent-%COMP%]:not(.select2-container--open) .select2-focused[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%], .select2-container--default[_ngcontent-%COMP%]:not(.select2-container--open) .select2-focused[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{outline:none;border:solid var(--select2-selection-focus-border-color, #000) 1px}.select2-container--default.select2-container--open.select2-container--above[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%], .select2-container--default.select2-container--open.select2-container--above[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{border-top-right-radius:0;border-top-left-radius:0}.select2-container--default.select2-container--open.select2-container--below[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%], .select2-container--default.select2-container--open.select2-container--below[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{border-bottom-right-radius:0;border-bottom-left-radius:0}.select2-container--default[_ngcontent-%COMP%] .select2-search--dropdown[_ngcontent-%COMP%] .select2-search__field[_ngcontent-%COMP%]{border:1px solid var(--select2-search-border-color, #aaa);border-radius:var(--select2-search-border-radius, 0px);background:1px solid var(--select2-search-background, #fff)}.select2-container--default[_ngcontent-%COMP%] .select2-search--inline[_ngcontent-%COMP%] .select2-search__field[_ngcontent-%COMP%]{-webkit-appearance:textfield;outline:none;box-shadow:none;border:none;background:transparent}.select2-container--default[_ngcontent-%COMP%] .select2-results[_ngcontent-%COMP%] > .select2-results__options[_ngcontent-%COMP%]{overflow-y:auto}.select2-container--default[_ngcontent-%COMP%] .select2-results__option.select2-results__group[_ngcontent-%COMP%]{grid-column:col-start/col-end;padding:0}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[aria-disabled=true][_ngcontent-%COMP%]{background:var(--select2-option-disabled-background, transparent);color:var(--select2-option-disabled-text-color, #999)}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[aria-selected=true][_ngcontent-%COMP%]{background:var(--select2-option-selected-background, #ddd);color:var(--select2-option-selected-text-color, #000)}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%]{padding-left:1em}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__group[_ngcontent-%COMP%]{padding-left:0}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%]{margin-left:-1em;padding-left:2em}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%]{margin-left:-2em;padding-left:3em}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%]{margin-left:-3em;padding-left:4em}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%]{margin-left:-4em;padding-left:5em}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%]{margin-left:-5em;padding-left:6em}.select2-container--default[_ngcontent-%COMP%] .select2-results__option--highlighted[aria-selected][_ngcontent-%COMP%]{background:var(--select2-option-highlighted-background, #5897fb);color:var(--select2-option-highlighted-text-color, #fff)}.select2-container--default[_ngcontent-%COMP%] .select2-results__option--hide[_ngcontent-%COMP%]{display:none}.select2-container--default[_ngcontent-%COMP%] .select2-results__group[_ngcontent-%COMP%]{display:block;curso
1r:default;background:var(--select2-option-group-background, transparent);padding:6px;color:var(--select2-option-group-text-color, gray)}.select2-no-result[_ngcontent-%COMP%]{color:var(--select2-no-result-color, #888);font-style:var(--select2-no-result-font-style, italic)}.select2-too-much-result[_ngcontent-%COMP%]{color:var(--select2-too-much-result-color, #888);font-style:var(--select2-too-much-font-style, italic)}.select2-grid[_ngcontent-%COMP%], .select2-grid[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{display:grid;grid-template-columns:[col-start] repeat(var(--grid-size),1fr) [col-end]}.select2-grid-auto[_ngcontent-%COMP%], .select2-grid-auto[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{display:grid;grid-template-columns:[col-start] repeat(auto-fill,minmax(var(--grid-size, 100px),1fr)) [col-end]}.select2-container--default[_ngcontent-%COMP%] .select2-grid[_ngcontent-%COMP%] ul[_ngcontent-%COMP%], .select2-container--default[_ngcontent-%COMP%] .select2-grid-auto[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{padding-left:var(--select2-option-padding, 6px)}.select2-container--default[_ngcontent-%COMP%] .select2-grid[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] .select2-results__group[_ngcontent-%COMP%], .select2-container--default[_ngcontent-%COMP%] .select2-grid-auto[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] .select2-results__group[_ngcontent-%COMP%]{padding-left:0}.select2-container--default[_ngcontent-%COMP%] .select2-grid[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%], .select2-container--default[_ngcontent-%COMP%] .select2-grid-auto[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%], .select2-container--default[_ngcontent-%COMP%] .select2-grid[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%], .select2-container--default[_ngcontent-%COMP%] .select2-grid-auto[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%], .select2-container--default[_ngcontent-%COMP%] .select2-grid[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%], .select2-container--default[_ngcontent-%COMP%] .select2-grid-auto[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%], .select2-container--default[_ngcontent-%COMP%] .select2-grid[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%], .select2-container--default[_ngcontent-%COMP%] .select2-grid-auto[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%], .select2-container--default[_ngcontent-%COMP%] .select2-grid[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%], .select2-container--default[_ngcontent-%COMP%] .select2-grid-auto[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%]{padding-left:var(--select2-option-padding, 6px)}.nostyle[_nghost-%COMP%] .select2-dropdown[_ngcontent-%COMP%]{border-color:transparent}.nostyle[_nghost-%COMP%] .select2-selection--single[_ngcontent-%COMP%], .nostyle[_nghost-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{border-color:transparent;background:transparent}.nostyle[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-focused[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%], .nostyle[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-focused[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%], .nostyle[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%]:not(.select2-container--open) .select2-focused[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%], .nostyle[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%]:not(.select2-container--open) .select2-focused[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{border-color:transparent;background:transparent}.borderless[_nghost-%COMP%]{--select2-dropdown-above-border-bottom: 1px solid var(--select2-dropdown-border-color, #aaa);--select2-dropdown-above-border-bottom-left-radius: var(--select2-selection-border-radius, 4px);--select2-dropdown-above-border-bottom-right-radius: var(--select2-selection-border-radius, 4px);--select2-dropdown-below-border-top: 1px solid var(--select2-dropdown-border-color, #aaa);--select2-dropdown-below-border-top-left-radius: var(--select2-selection-border-radius, 4px);--select2-dropdown-below-border-top-right-radius: var(--select2-selection-border-radius, 4px)}.borderless[_nghost-%COMP%] .select2-selection--single[_ngcontent-%COMP%], .borderless[_nghost-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{border-color:transparent;background:transparent}.borderless[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-focused[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%], .borderless[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-focused[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%], .borderless[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%]:not(.select2-container--open) .select2-focused[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%], .borderless[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%]:not(.select2-container--open) .select2-focused[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{border-color:transparent;background:transparent}.select2-selection-nowrap[_nghost-%COMP%] .select2-selection--single.select2-selection[_ngcontent-%COMP%], .select2-selection-nowrap[_nghost-%COMP%] .select2-selection--single.select2-selection[_ngcontent-%COMP%] span[_ngcontent-%COMP%], .select2-selection-nowrap[_nghost-%COMP%] .select2-selection--single.select2-selection[_ngcontent-%COMP%] ul[_ngcontent-%COMP%], .select2-selection-nowrap[_nghost-%COMP%] .select2-selection--multiple.select2-selection[_ngcontent-%COMP%], .select2-selection-nowrap[_nghost-%COMP%] .select2-selection--multiple.select2-selection[_ngcontent-%COMP%] span[_ngcontent-%COMP%], .select2-selection-nowrap[_nghost-%COMP%] .select2-selection--multiple.select2-selection[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.select2-selection-nowrap[_nghost-%COMP%] .select2-selection--single.select2-selection[_ngcontent-%COMP%] ul[_ngcontent-%COMP%], .select2-selection-nowrap[_nghost-%COMP%] .select2-selection--multiple.select2-selection[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{display:flex;flex-wrap:nowrap}.select2-selection-nowrap[_nghost-%COMP%] .select2-selection--single.select2-selection[_ngcontent-%COMP%] li[_ngcontent-%COMP%], .select2-selection-nowrap[_nghost-%COMP%] .select2-selection--multiple.select2-selection[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{display:flex}.material[_nghost-%COMP%]{display:inline-block;width:300px}.material[_nghost-%COMP%] > .select2-container[_ngcontent-%COMP%]{vertical-align:inherit;padding-bottom:1.29688em}.material[_nghost-%COMP%] > .select2-container[_ngcontent-%COMP%] .selection[_ngcontent-%COMP%]{display:inline-flex;align-items:baseline;border-top:.84375em solid transparent;padding:.4375em 0;width:100%;height:auto}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%], .material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{box-sizing:border-box;border:0;border-radius:0;width:100%;height:24px}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]:before, .material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]:before{display:block;position:absolute;bottom:1.65em;background:var(--select2-material-underline, #ddd);width:100%;height:1px;content:" "}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]:after, .material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]:after{display:block;position:absolute;bottom:1.63em;left:50%;transition:none;background:var(--select2-material-underline-active, #5a419e);width:0%;height:2px;content:" "}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%], .material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%]{padding-left:1px;line-height:inherit}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__placeholder[_ngcontent-%COMP%], .material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__placeholder[_ngcontent-%COMP%]{display:block;position:absolute;top:20px;left:0;
1transform-origin:0 21px;transition:transform .3s;color:var(--select2-material-placeholder-color, rgba(0, 0, 0, .38))}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-container--open[_ngcontent-%COMP%]{bottom:1.6em;left:0}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection__placeholder__option[_ngcontent-%COMP%]{transform:translateY(-1.5em) scale(.75) perspective(100px) translateZ(.001px);width:133.33333%}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection__arrow[_ngcontent-%COMP%]{top:20px}.material[_nghost-%COMP%] .select2-container--default.select2-container--open[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]:after, .material[_nghost-%COMP%] .select2-container--default.select2-container--open[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]:after, .material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-focused[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]:after, .material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-focused[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]:after{left:0%;transition:width .3s cubic-bezier(.12,1,.77,1),left .3s cubic-bezier(.12,1,.77,1);width:100%}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-dropdown[_ngcontent-%COMP%]{box-shadow:0 5px 5px #00000080;border:0;border-radius:0}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-results__option[aria-selected=true][_ngcontent-%COMP%], .material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-results__option--highlighted[aria-selected][_ngcontent-%COMP%]{background:var(--select2-material-option-selected-background, rgba(0, 0, 0, .04));color:var(--select2-material-option-highlighted-text-color, #000)}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-results__option[aria-selected=true][_ngcontent-%COMP%]{color:var(--select2-material-option-selected-text-color, #ff5722)}.material[_nghost-%COMP%] .select2-container--default.select2-container--disabled[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%], .material[_nghost-%COMP%] .select2-container--default.select2-container--disabled[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%], .material[_nghost-%COMP%] .select2-container--default.select2-container--readonly[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%], .material[_nghost-%COMP%] .select2-container--default.select2-container--readonly[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{background:transparent}.material[_nghost-%COMP%] .select2-container--default.select2-container--disabled[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]:before, .material[_nghost-%COMP%] .select2-container--default.select2-container--disabled[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]:before{background:var(--select2-material-underline-disabled, linear-gradient(to right, rgba(0, 0, 0, .26) 0, rgba(0, 0, 0, .26) 33%, transparent 0));background-position:0 bottom;background-size:4px 1px;background-repeat:repeat-x}.material[_nghost-%COMP%] .select2-container--default.select2-container--readonly[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]:before, .material[_nghost-%COMP%] .select2-container--default.select2-container--readonly[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]:before{background:var(--select2-material-underline-readonly, linear-gradient(to right, rgba(0, 0, 0, .26) 0, rgba(0, 0, 0, .26) 33%, transparent 0));background-position:0 bottom;background-size:4px 1px;background-repeat:repeat-x}.material.ng-invalid.ng-touched[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]:before, .material.ng-invalid.ng-touched[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]:after, .material.ng-invalid.ng-touched[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]:before, .material.ng-invalid.ng-touched[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]:after{background:var(--select2-material-underline-invalid, red)}.material[_nghost-%COMP%]:not(.select2-container--open) .select2-focused[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%], .material[_nghost-%COMP%]:not(.select2-container--open) .select2-focused[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{border:0}
1.material[_nghost-%COMP%] .select2-subscript-wrapper[_ngcontent-%COMP%]{position:absolute;top:calc(100% - 1.72917em);color:var(--select2-hint-text-color, #888);font-size:75%} .select2-overlay-backdrop{background:var(--select2-overlay-backdrop, transparent)} .cdk-overlay-container .select2-container .select2-dropdown.select2-dropdown--above{bottom:0} .cdk-overlay-container .select2-container--open.select2-position-auto .select2-dropdown{margin-bottom:28px} .cdk-overlay-container .select2-container--open.select2-position-auto .select2-dropdown.select2-dropdown--above{bottom:0;margin-top:28px;margin-bottom:0} .cdk-overlay-container .select2-style-borderless{--select2-dropdown-above-border-bottom: 1px solid var(--select2-dropdown-border-color, #aaa);--select2-dropdown-above-border-bottom-left-radius: var(--select2-selection-border-radius, 4px);--select2-dropdown-above-border-bottom-right-radius: var(--select2-selection-border-radius, 4px);--select2-dropdown-below-border-top: 1px solid var(--select2-dropdown-border-color, #aaa);--select2-dropdown-below-border-top-left-radius: var(--select2-selection-border-radius, 4px);--select2-dropdown-below-border-top-right-radius: var(--select2-selection-border-radius, 4px)}@supports (-moz-appearance: none){select2.material[_ngcontent-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%], select2.material[_ngcontent-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{height:26px}}'],changeDetection:0})}}return s})()}}]);
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.