1"use strict";(self.webpackChunkroot=self.webpackChunkroot||[]).push([[1079],{91079:(at,D,s)=>{s.d(D,{Bb:()=>q,XC:()=>X,ZL:()=>C});var T=s(15664),p=s(63191),i=s(5e3),c=s(90508),y=s(50727),R=s(77579),L=s(49770),_=s(56451),S=s(39646),m=s(54968),M=s(70925),g=s(69808),h=s(91314),E=s(6731),u=s(91159),B=s(47429),F=s(93075),w=s(67322),I=s(68675),v=s(63900),f=s(95698),O=s(39300),W=s(54004),K=s(18505),U=s(91005),Y=s(50226);const x=["panel"];function V(n,a){if(1&n&&(i.TgZ(0,"div",0,1),i.Hsn(2),i.qZA()),2&n){const t=a.id,e=i.oxw();i.Q6J("id",e.id)("ngClass",e._classList),i.uIk("aria-label",e.ariaLabel||null)("aria-labelledby",e._getPanelAriaLabelledby(t))}}const H=["*"];let k=0;class j{constructor(a,t){this.source=a,this.option=t}}const G=(0,c.Kr)(class{}),b=new i.OlP("mat-autocomplete-default-options",{providedIn:"root",factory:function N(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1}}});let z=(()=>{class n extends G{constructor(t,e,o,l){super(),this._changeDetectorRef=t,this._elementRef=e,this._activeOptionChanges=y.w0.EMPTY,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this.optionSelected=new i.vpe,this.opened=new i.vpe,this.closed=new i.vpe,this.optionActivated=new i.vpe,this._classList={},this.id="mat-autocomplete-"+k++,this.inertGroups=(null==l?void 0:l.SAFARI)||!1,this._autoActiveFirstOption=!!o.autoActiveFirstOption,this._autoSelectActiveOption=!!o.autoSelectActiveOption}get isOpen(){return this._isOpen&&this.showPanel}get autoActiveFirstOption(){return this._autoActiveFirstOption}set autoActiveFirstOption(t){this._autoActiveFirstOption=(0,p.Ig)(t)}get autoSelectActiveOption(){return this._autoSelectActiveOption}set autoSelectActiveOption(t){this._autoSelectActiveOption=(0,p.Ig)(t)}set classList(t){this._classList=t&&t.length?(0,p.du)(t).reduce((e,o)=>(e[o]=!0,e),{}):{},this._setVisibilityClasses(this._classList),this._elementRef.nativeElement.className=""}ngAfterContentInit(){this._keyManager=new T.s1(this.options).withWrap(),this._activeOptionChanges=this._keyManager.change.subscribe(t=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[t]||null})}),this._setVisibility()}ngOnDestroy(){this._activeOptionChanges.unsubscribe()}_setScrollTop(t){this.panel&&(this.panel.nativeElement.scrollTop=t)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}_emitSelectEvent(t){const e=new j(this,t);this.optionSelected.emit(e)}_getPanelAriaLabelledby(t){return this.ariaLabel?null:this.ariaLabelledby?(t?t+" ":"")+this.ariaLabelledby:t}_setVisibilityClasses(t){t[this._visibleClass]=this.showPanel,t[this._hiddenClass]=!this.showPanel}}return n.\u0275fac=function(t){return new(t||n)(i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(b),i.Y36(M.t4))},n.\u0275dir=i.lG2({type:n,viewQuery:function(t,e){if(1&t&&(i.Gf(i.Rgc,7),i.Gf(x,5)),2&t){let o;i.iGM(o=i.CRH())&&(e.template=o.first),i.iGM(o=i.CRH())&&(e.panel=o.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:"autoActiveFirstOption",autoSelectActiveOption:"autoSelectActiveOption",panelWidth:"panelWidth",classList:["class","classList"]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},features:[i.qOj]}),n})(),X=(()=>{class n extends z{constructor(){super(...arguments),this._visibleClass="mat-autocomplete-visible",this._hiddenClass="mat-autocomplete-hidden"}}return n.\u0275fac=function(){let a;return function(e){return(a||(a=i.n5z(n)))(e||n)}}(),n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-autocomplete"]],contentQueries:function(t,e,o){if(1&t&&(i.Suo(o,c.K7,5),i.Suo(o,c.ey,5)),2&t){let l;i.iGM(l=i.CRH())&&(e.optionGroups=l),i.iGM(l=i.CRH())&&(e.options=l)}},hostAttrs:[1,"mat-autocomplete"],inputs:{disableRipple:"disableRipple"},exportAs:["matAutocomplete"],features:[i._Bn([{provide:c.HF,useExisting:n}]),i.qOj],ngContentSelectors:H,decls:1,vars:0,consts:[["role","listbox",1,"mat-autocomplete-panel",3,"id","ngClass"],["panel",""]],template:function(t,e){1&t&&(i.F$t(),i.YNc(0,V,3,4,"ng-template"))},dependencies:[g.mk],styles:[".mat-autocomplete-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;visibility:hidden;max-width:none;max-height:256px;position:relative;width:100%;border-bottom-left-radius:4px;border-bottom-right-radius:4px}.mat-autocomplete-panel.mat-autocomplete-visible{visibility:visible}.mat-autocomplete-panel.mat-autocomplete-hidden{visibility:hidden}.mat-autocomplete-panel-above .mat-autocomplete-panel{border-radius:0;border-top-left-radius:4px;border-top-right-radius:4px}.mat-autocomplete-panel .mat-divider-horizontal{margin-top:-1px}.cdk-high-contrast-active .mat-autocomplete-panel{outline:solid 1px}mat-autocomplete{display:none}"],encapsulation:2,changeDetection:0}),n})();const P=new i.OlP("mat-autocomplete-scroll-strategy"),J={provide:P,deps:[h.aV],useFactory:function Q(n){return()=>n.scrollStrategies.reposition()}},Z={provide:F.JU,useExisting:(0,i.Gpc)(()=>C),multi:!0};let $=(()=>{class n{constructor(t,e,o,l,r,A,tt,et,it,ot,nt){this._element=t,this._overlay=e,this._viewContainerRef
1=o,this._zone=l,this._changeDetectorRef=r,this._dir=tt,this._formField=et,this._document=it,this._viewportRuler=ot,this._defaults=nt,this._componentDestroyed=!1,this._autocompleteDisabled=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=y.w0.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new R.x,this._windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen},this._onChange=()=>{},this._onTouched=()=>{},this.position="auto",this.autocompleteAttribute="off",this._overlayAttached=!1,this.optionSelections=(0,L.P)(()=>{const d=this.autocomplete?this.autocomplete.options:null;return d?d.changes.pipe((0,I.O)(d),(0,v.w)(()=>(0,_.T)(...d.map(st=>st.onSelectionChange)))):this._zone.onStable.pipe((0,f.q)(1),(0,v.w)(()=>this.optionSelections))}),this._scrollStrategy=A}get autocompleteDisabled(){return this._autocompleteDisabled}set autocompleteDisabled(t){this._autocompleteDisabled=(0,p.Ig)(t)}ngAfterViewInit(){const t=this._getWindow();void 0!==t&&this._zone.runOutsideAngular(()=>t.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(t){t.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){const t=this._getWindow();void 0!==t&&t.removeEventListener("blur",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}openPanel(){this._attachOverlay(),this._floatLabel()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this._zone.run(()=>{this.autocomplete.closed.emit()}),this.autocomplete._isOpen=this._overlayAttached=!1,this._pendingAutoselectedOption=null,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._componentDestroyed||this._changeDetectorRef.detectChanges())}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return(0,_.T)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe((0,O.h)(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe((0,O.h)(()=>this._overlayAttached)):(0,S.of)()).pipe((0,W.U)(t=>t instanceof c.rN?t:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return(0,_.T)((0,m.R)(this._document,"click"),(0,m.R)(this._document,"auxclick"),(0,m.R)(this._document,"touchend")).pipe((0,O.h)(t=>{const e=(0,M.sA)(t),o=this._formField?this._formField._elementRef.nativeElement:null,l=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&e!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!o||!o.contains(e))&&(!l||!l.contains(e))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(e)}))}writeValue(t){Promise.resolve(null).then(()=>this._assignOptionValue(t))}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this._element.nativeElement.disabled=t}_handleKeydown(t){const e=t.keyCode,o=(0,u.Vb)(t);if(e===u.hY&&!o&&t.preventDefault(),this.activeOption&&e===u.K5&&this.panelOpen&&!o)this.activeOption._selectViaInteraction(),this._resetActiveItem(),t.preventDefault();else if(this.autocomplete){const l=this.autocomplete._keyManager.activeItem,r=e===u.LH||e===u.JH;e===u.Mf||r&&!o&&this.panelOpen?this.autocomplete._keyManager.onKeydown(t):r&&this._canOpen()&&this.openPanel(),(r||this.autocomplete._keyManager.activeItem!==l)&&(this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0),this.autocomplete.autoSelectActiveOption&&this.activeOption&&(this._pendingAutoselectedOption||(this._valueBeforeAutoSelection=this._element.nativeElement.value),this._pendingAutoselectedOption=this.activeOption,this._assignOptionValue(this.activeOption.value)))}}_handleInput(t){let e=t.target,o=e.value;"number"===e.type&&(o=""==o?null:parseFloat(o)),this._previousValue!==o&&(this._previousValue=o,this._pendingAutoselectedOption=null,this._onChange(o),this._canOpen()&&this._document.activeElement===t.target&&this.openPanel
1())}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_handleClick(){this._canOpen()&&!this.panelOpen&&this.openPanel()}_floatLabel(t=!1){this._formField&&"auto"===this._formField.floatLabel&&(t?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField.floatLabel="auto",this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){const t=this._zone.onStable.pipe((0,f.q)(1)),e=this.autocomplete.options.changes.pipe((0,K.b)(()=>this._positionStrategy.reapplyLastPosition()),(0,U.g)(0));return(0,_.T)(t,e).pipe((0,v.w)(()=>(this._zone.run(()=>{const o=this.panelOpen;this._resetActiveItem(),this.autocomplete._setVisibility(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),o!==this.panelOpen&&(this.panelOpen?this.autocomplete.opened.emit():this.autocomplete.closed.emit())}),this.panelClosingActions)),(0,f.q)(1)).subscribe(o=>this._setValueAndClose(o))}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_assignOptionValue(t){const e=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(t):t;this._updateNativeInputValue(null!=e?e:"")}_updateNativeInputValue(t){this._formField?this._formField._control.value=t:this._element.nativeElement.value=t,this._previousValue=t}_setValueAndClose(t){const e=t?t.source:this._pendingAutoselectedOption;e&&(this._clearPreviousSelectedOption(e),this._assignOptionValue(e.value),this._onChange(e.value),this.autocomplete._emitSelectEvent(e),this._element.nativeElement.focus()),this.closePanel()}_clearPreviousSelectedOption(t){this.autocomplete.options.forEach(e=>{e!==t&&e.selected&&e.deselect()})}_attachOverlay(){var t;let e=this._overlayRef;e?(this._positionStrategy.setOrigin(this._getConnectedElement()),e.updateSize({width:this._getPanelWidth()})):(this._portal=new B.UE(this.autocomplete.template,this._viewContainerRef,{id:null===(t=this._formField)||void 0===t?void 0:t.getLabelId()}),e=this._overlay.create(this._getOverlayConfig()),this._overlayRef=e,this._handleOverlayEvents(e),this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&e&&e.updateSize({width:this._getPanelWidth()})})),e&&!e.hasAttached()&&(e.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());const o=this.panelOpen;this.autocomplete._setVisibility(),this.autocomplete._isOpen=this._overlayAttached=!0,this.panelOpen&&o!==this.panelOpen&&this.autocomplete.opened.emit()}_getOverlayConfig(){var t;return new h.X_({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir,panelClass:null===(t=this._defaults)||void 0===t?void 0:t.overlayPanelClass})}_getOverlayPosition(){const t=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(t),this._positionStrategy=t,t}_setStrategyPositions(t){const e=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],o=this._aboveClass,l=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:o},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:o}];let r;r="above"===this.position?l:"below"===this.position?e:[...e,...l],t.withPositions(r)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){const t=this.autocomplete;t.autoActiveFirstOption?t._keyManager.setFirstItemActive():t._keyManager.setActiveItem(-1)}_canOpen(){const t=this._element.nativeElement;return!t.readOnly&&!t.disabled&&!this._autocompleteDisabled}_getWindow(){var t;return(null===(t=this._document)||void 0===t?void 0:t.defaultView)||window}_scrollToOption(t){const e=this.autocomplete,o=(0,c.CB)(t,e.options,e.optionGroups);if(0===t&&1===o)e._setScrollTop(0);else if(e.panel){const l=e.options.toArray()[t];if(l){const r=l._getHostElement(),A=(0,c.jH)(r.offsetTop,r.offsetHeight,e._getScrollTop(),e.panel.nativeElement.offsetHeight);e._setScrollTop(A)}}}_handleOverlayEvents(t){t.keydownEvents().subscribe(e=>{var o;(e.keyCode===u.hY&&!(0,u.Vb)(e)||e.keyCode===u.LH&&(0,u.Vb)(e,"altKey"))&&(this._pe
1ndingAutoselectedOption&&(this._updateNativeInputValue(null!==(o=this._valueBeforeAutoSelection)&&void 0!==o?o:""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),e.stopPropagation(),e.preventDefault())}),t.outsidePointerEvents().subscribe()}}return n.\u0275fac=function(t){return new(t||n)(i.Y36(i.SBq),i.Y36(h.aV),i.Y36(i.s_b),i.Y36(i.R0b),i.Y36(i.sBO),i.Y36(P),i.Y36(Y.Is,8),i.Y36(w.G_,9),i.Y36(g.K0,8),i.Y36(E.rL),i.Y36(b,8))},n.\u0275dir=i.lG2({type:n,inputs:{autocomplete:["matAutocomplete","autocomplete"],position:["matAutocompletePosition","position"],connectedTo:["matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:["autocomplete","autocompleteAttribute"],autocompleteDisabled:["matAutocompleteDisabled","autocompleteDisabled"]},features:[i.TTD]}),n})(),C=(()=>{class n extends ${constructor(){super(...arguments),this._aboveClass="mat-autocomplete-panel-above"}}return n.\u0275fac=function(){let a;return function(e){return(a||(a=i.n5z(n)))(e||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-autocomplete-trigger"],hostVars:7,hostBindings:function(t,e){1&t&&i.NdJ("focusin",function(){return e._handleFocus()})("blur",function(){return e._onTouched()})("input",function(l){return e._handleInput(l)})("keydown",function(l){return e._handleKeydown(l)})("click",function(){return e._handleClick()}),2&t&&i.uIk("autocomplete",e.autocompleteAttribute)("role",e.autocompleteDisabled?null:"combobox")("aria-autocomplete",e.autocompleteDisabled?null:"list")("aria-activedescendant",e.panelOpen&&e.activeOption?e.activeOption.id:null)("aria-expanded",e.autocompleteDisabled?null:e.panelOpen.toString())("aria-owns",e.autocompleteDisabled||!e.panelOpen||null==e.autocomplete?null:e.autocomplete.id)("aria-haspopup",e.autocompleteDisabled?null:"listbox")},exportAs:["matAutocompleteTrigger"],features:[i._Bn([Z]),i.qOj]}),n})(),q=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[J],imports:[h.U8,c.Ng,c.BQ,g.ez,E.ZD,c.Ng,c.BQ]}),n})()}}]);
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.