Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ng-select2-component

Package Overview
Dependencies
Maintainers
1
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ng-select2-component - npm Package Compare versions

Comparing version 8.0.1 to 8.0.2

2

bundles/ng-select2-component.umd.min.js

@@ -1,2 +0,2 @@

!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/cdk/scrolling"),require("@angular/core"),require("@angular/forms"),require("rxjs"),require("@angular/cdk/overlay"),require("@angular/common"),require("ngx-infinite-scroll")):"function"==typeof define&&define.amd?define("ng-select2-component",["exports","@angular/cdk/scrolling","@angular/core","@angular/forms","rxjs","@angular/cdk/overlay","@angular/common","ngx-infinite-scroll"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self)["ng-select2-component"]={},e.ng.cdk.scrolling,e.ng.core,e.ng.forms,e.rxjs,e.ng.cdk.overlay,e.ng.common,e.ngxInfiniteScroll)}(this,(function(e,t,n,o,l,r,i,s){"use strict";var a=[{l:"a",s:/[ⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ]/gi},{l:"aa",s:/ꜳ/gi},{l:"ae",s:/[æǽǣ]/gi},{l:"ao",s:/ꜵ/gi},{l:"au",s:/ꜷ/gi},{l:"av",s:/[ꜹꜻ]/gi},{l:"ay",s:/ꜽ/gi},{l:"b",s:/[ⓑbḃḅḇƀƃɓ]/gi},{l:"c",s:/[ⓒcćĉċčçḉƈȼꜿↄ]/gi},{l:"d",s:/[ⓓdḋďḍḑḓḏđƌɖɗꝺ]/gi},{l:"dz",s:/[dzdž]/gi},{l:"e",s:/[ⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ]/gi},{l:"f",s:/[ⓕfḟƒꝼ]/gi},{l:"g",s:/[ⓖgǵĝḡğġǧģǥɠꞡᵹꝿ]/gi},{l:"h",s:/[ⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ]/gi},{l:"hv",s:/ƕ/gi},{l:"i",s:/[ⓘiìíîĩīĭİïḯỉǐȉȋịįḭɨı]/gi},{l:"j",s:/[ⓙjĵǰɉ]/gi},{l:"k",s:/[ⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ]/gi},{l:"l",s:/[ⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇꝆ]/gi},{l:"lj",s:/lj/gi},{l:"m",s:/[ⓜmḿṁṃɱɯ]/gi},{l:"n",s:/[ⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ]/gi},{l:"nj",s:/nj/gi},{l:"o",s:/[ⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔƟꝋꝍɵ]/gi},{l:"oi",s:/ƣ/gi},{l:"oe",s:/œ/gi},{l:"oo",s:/ꝏ/gi},{l:"ou",s:/ȣ/gi},{l:"p",s:/[ⓟpṕṗƥᵽꝑꝓꝕ]/gi},{l:"q",s:/[ⓠqɋꝗꝙ]/gi},{l:"r",s:/[ⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ]/gi},{l:"s",s:/[ⓢsßẞśṥŝṡšṧṣṩșşȿꞩꞅẛ]/gi},{l:"t",s:/[ⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ]/gi},{l:"tz",s:/ꜩ/gi},{l:"u",s:/[ⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ]/gi},{l:"v",s:/[ⓥvṽṿʋꝟʌ]/gi},{l:"vy",s:/ꝡ/gi},{l:"w",s:/[ⓦwẁẃŵẇẅẘẉⱳ]/gi},{l:"x",s:/[ⓧxẋẍ]/gi},{l:"y",s:/[ⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ]/gi},{l:"z",s:/[ⓩzźẑżžẓẕƶȥɀⱬꝣ]/gi}],c=new RegExp("[\\-\\[\\]\\/\\{\\}\\(\\)\\*\\+\\?\\.\\\\\\^\\$\\|]","g");Object.create;function p(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],o=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&o>=e.length&&(e=void 0),{value:e&&e[o++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}Object.create;var u=function(){function e(){}return e.getOptionByValue=function(e,t){var n,o,l,r;if(Array.isArray(e))try{for(var i=p(e),s=i.next();!s.done;s=i.next()){var a=s.value,c=a.options;if(c)try{for(var u=(l=void 0,p(c)),d=u.next();!d.done;d=u.next()){var h=d.value;if(h.value===t)return h}}catch(e){l={error:e}}finally{try{d&&!d.done&&(r=u.return)&&r.call(u)}finally{if(l)throw l.error}}else if(a.value===t)return a}}catch(e){n={error:e}}finally{try{s&&!s.done&&(o=i.return)&&o.call(i)}finally{if(n)throw n.error}}return null},e.getOptionsByValue=function(t,n,o){var l,r;if(o){var i=Array.isArray(n)?n:[],s=[];try{for(var a=p(i),c=a.next();!c.done;c=a.next()){var u=c.value,d=e.getOptionByValue(t,u);d&&s.push(d)}}catch(e){l={error:e}}finally{try{c&&!c.done&&(r=a.return)&&r.call(a)}finally{if(l)throw l.error}}return s}return e.getOptionByValue(t,n)},e.getFirstAvailableOption=function(e){var t,n,o,l;if(Array.isArray(e))try{for(var r=p(e),i=r.next();!i.done;i=r.next()){var s=i.value,a=s.options;if(a)try{for(var c=(o=void 0,p(a)),u=c.next();!u.done;u=c.next()){var d;if(!(d=u.value).disabled)return d.value}}catch(e){o={error:e}}finally{try{u&&!u.done&&(l=c.return)&&l.call(c)}finally{if(o)throw o.error}}else if(!(d=s).disabled)return d.value}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}return null},e.getOptionsCount=function(e){var t,n,o=0;if(Array.isArray(e))try{for(var l=p(e),r=l.next();!r.done;r=l.next()){var i=r.value.options;i?o+=i.length:o++}}catch(e){t={error:e}}finally{try{r&&!r.done&&(n=l.return)&&n.call(l)}finally{if(t)throw t.error}}return o},e.valueIsNotInFilteredData=function(t,n){var o,l,r,i;if(e.isNullOrUndefined(n))return!0;try{for(var s=p(t),a=s.next();!a.done;a=s.next()){var c=a.value,u=c.options;if(u)try{for(var d=(r=void 0,p(u)),h=d.next();!h.done;h=d.next()){if(h.value.value===n)return!1}}catch(e){r={error:e}}finally{try{h&&!h.done&&(i=d.return)&&i.call(d)}finally{if(r)throw r.error}}else if(c.value===n)return!1}}catch(e){o={error:e}}finally{try{a&&!a.done&&(l=s.return)&&l.call(s)}finally{if(o)throw o.error}}return!0},e.getPreviousOption=function(t,n){for(var o=e.isNullOrUndefined(n),l=t.length-1;l>=0;l--){var r=t[l],i=r.options;if(i)for(var s=i.length-1;s>=0;s--){var a=i[s];if(o&&!a.disabled&&!a.hide)return a;o||(o=a.value===n)}else{a=r;if(o&&!a.disabled&&!a.hide)return a;o||(o=a.value===n)}}return null},e.getNextOption=function(t,n){var o,l,r,i,s=e.isNullOrUndefined(n);try{for(var a=p(t),c=a.next();!c.done;c=a.next()){var u=c.value,d=u.options;if(d)try{for(var h=(r=void 0,p(d)),f=h.next();!f.done;f=h.next()){var g=f.value;if(s){if(!g.disabled&&!g.hide)return g}else s||(s=g.value===n)}}catch(e){r={error:e}}finally{try{f&&!f.done&&(i=h.return)&&i.call(h)}finally{if(r)throw r.error}}else{g=u;if(s){if(!g.disabled&&!g.hide)return g}else s||(s=g.value===n)}}}catch(e){o={error:e}}finally{try{c&&!c.done&&(l=a.return)&&l.call(a)}finally{if(o)throw o.error}}return null},e.isNullOrUndefined=function(e){return null==e},e.containSearchText=function(t,n,o){return!n||null!==e.formatSansUnicode(t).match(new RegExp(e.formatPattern(n,o),"i"))},e.protectPattern=function(e){return e.replace(c,"\\$&")},e.formatSansUnicode=function(e){var t,n;try{for(var o=p(a),l=o.next();!l.done;l=o.next()){var r=l.value;e=e.replace(r.s,r.l)}}catch(e){t={error:e}}finally{try{l&&!l.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}return e},e.formatPattern=function(t,n){return t=e.formatSansUnicode(e.protectPattern(t)),n&&"function"==typeof n&&(t=n(t)),t},e.getFilteredData=function(t,n,o){var l,r;if(n){var i=[];try{for(var s=p(t),a=s.next();!a.done;a=s.next()){var c=a.value,u=c.options;if(u){if(u.some((function(t){return e.containSearchText(t.label,n,o)}))){var d=u.filter((function(t){return e.containSearchText(t.label,n,o)}));i.push({label:c.label,options:d})}}else e.containSearchText(c.label,n,o)&&i.push(c)}}catch(e){l={error:e}}finally{try{a&&!a.done&&(r=s.return)&&r.call(s)}finally{if(l)throw l.error}}return i}return t},e.getFilteredSelectedData=function(t,n){var o,l,r=[];try{for(var i=p(t),s=i.next();!s.done;s=i.next()){var a=s.value,c=a.options;if(c){var u=c.filter((function(t){return"false"===e.isSelected(n,t,!0)}));u.length&&r.push({label:a.label,options:u})}else"false"===e.isSelected(n,a,!0)&&r.push(a)}}catch(e){o={error:e}}finally{try{s&&!s.done&&(l=i.return)&&l.call(i)}finally{if(o)throw o.error}}return r},e.isSearchboxHiddex=function(t,n){return(""===n||null==n||isNaN(+n))&&(n=6),e.getOptionsCount(t)<+n},e.isSelected=function(e,t,n){return n?e&&e.some((function(e){return e.value===t.value}))?"true":"false":e&&t.value===e.value?"true":"false"},e.removeSelection=function(e,t){for(var n=0;n<e.length;n++)if(e[n].value===t.value)return void e.splice(n,1)},e}(),d=0,h=["default","hidden","always"],f=function(){function e(e,t,o,r,i,s){this._viewportRuler=e,this._changeDetectorRef=t,this._parentForm=o,this._parentFormGroup=r,this._control=i,this.minCharForSearch=0,this.limitSelection=0,this.styleMode="default",this.infiniteScrollDistance=1.5,this.infiniteScrollThrottle=150,this.resultMaxHeight="200px",this.update=new n.EventEmitter,this.open=new n.EventEmitter,this.close=new n.EventEmitter,this.focus=new n.EventEmitter,this.blur=new n.EventEmitter,this.search=new n.EventEmitter,this.scroll=new n.EventEmitter,this.removeOption=new n.EventEmitter,this.option=null,this.isOpen=!1,this.focused=!1,this.hoveringValue=null,this.innerSearchText="",this._stateChanges=new l.Subject,this._disabled=!1,this._required=!1,this._readonly=!1,this._multiple=!1,this._overlay=!1,this._resettable=!1,this._hideSelectedItems=!1,this._clickDetection=!1,this._uid="select2-"+d++,this._infiniteScroll=!0,this._onTouched=function(){},this._onChange=function(){},this.id=this.id,this._tabIndex=parseInt(s,10)||0,this._control&&(this._control.valueAccessor=this),this._clickDetectionFc=this.clickDetection.bind(this)}return Object.defineProperty(e.prototype,"multiple",{get:function(){return this._multiple},set:function(e){this._multiple=this._coerceBooleanProperty(e),this.ngOnInit()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"overlay",{get:function(){return this._overlay},set:function(e){this._overlay=this._coerceBooleanProperty(e)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"infiniteScroll",{get:function(){return this._infiniteScroll},set:function(e){this._infiniteScroll=this._coerceBooleanProperty(e)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"select2Options",{get:function(){return this.multiple?this.option:null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"select2Option",{get:function(){return this.multiple?null:this.option},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"searchText",{get:function(){return this.innerSearchText},set:function(e){this.customSearchEnabled&&this.search.emit({component:this,value:this._value,search:e}),this.innerSearchText=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"minCountForSearch",{get:function(){return this._minCountForSearch},set:function(e){this._minCountForSearch=e,this.updateSearchBox()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return this._id},set:function(e){this._id=e||this._uid},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"required",{get:function(){return this._required},set:function(e){this._required=this._coerceBooleanProperty(e)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"disabled",{get:function(){return this._control?this._control.disabled:this._disabled},set:function(e){this._disabled=this._coerceBooleanProperty(e)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"hideSelectedItems",{get:function(){return this._hideSelectedItems},set:function(e){this._hideSelectedItems=this._coerceBooleanProperty(e)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"readonly",{get:function(){return this._readonly},set:function(e){this._readonly=this._coerceBooleanProperty(e)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this._value},set:function(e){var t=this;this.testValueChange(this._value,e)&&setTimeout((function(){t._value=e,t.writeValue(e)}),10)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"tabIndex",{get:function(){return this.disabled?-1:this._tabIndex},set:function(e){void 0!==e&&(this._tabIndex=e)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"resettable",{get:function(){return this._resettable},set:function(e){this._resettable=this._coerceBooleanProperty(e)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ariaInvalid",{get:function(){return this._isErrorState()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"classMaterial",{get:function(){return"material"===this.styleMode},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"classNostyle",{get:function(){return"noStyle"===this.styleMode},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"select2above",{get:function(){return"above"===this.listPosition},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"resultsElement",{get:function(){return this.resultContainer.nativeElement},enumerable:!1,configurable:!0}),e.prototype.ngOnInit=function(){var e=this;this._viewportRuler.change(100).subscribe((function(){e.isOpen&&e.triggerRect()}));var t=u.getOptionsByValue(this.data,this._control?this._control.value:this.value,this.multiple);null!==t&&(this.option=t),Array.isArray(t)||(this.hoveringValue=this.value),this.updateSearchBox()},e.prototype.ngAfterViewInit=function(){this.selectionElement=this.selection.nativeElement,this.triggerRect()},e.prototype.ngDoCheck=function(){this.updateSearchBox(),this._dirtyCheckNativeValue()},e.prototype.ngOnDestroy=function(){window.document.body.removeEventListener("click",this._clickDetectionFc)},e.prototype.updateSearchBox=function(){var e=!this.customSearchEnabled&&u.isSearchboxHiddex(this.data,this._minCountForSearch);this.isSearchboxHidden!==e&&(this.isSearchboxHidden=e)},e.prototype.hideSearch=function(){var e=h.indexOf(this.displaySearchStatus)>-1?this.displaySearchStatus:"default";return"default"===e&&this.isSearchboxHidden||"hidden"===e},e.prototype.getOptionStyle=function(e){return"select2-results__option "+(e.hide?"select2-results__option--hide ":"")+(e.value===this.hoveringValue?"select2-results__option--highlighted ":"")+(e.classes||"")},e.prototype.mouseenter=function(e){e.disabled||(this.hoveringValue=e.value)},e.prototype.click=function(e){this.testSelection(e)&&this.select(e)},e.prototype.reset=function(e){this.select(null),e.preventDefault(),e.stopPropagation()},e.prototype.prevChange=function(e){e.stopPropagation()},e.prototype.toggleOpenAndClose=function(){var e=this;this.disabled||(this._focus(!0),this.isOpen=!this.isOpen,this.isOpen?(this.triggerRect(),this.innerSearchText="",this.updateFilteredData(),this._focusSearchboxOrResultsElement(),setTimeout((function(){if(e.option){var t=e.option instanceof Array?e.option[0]:e.option;e.updateScrollFromOption(t)}else e.resultsElement.scrollTop=0})),this.open.emit(this)):this.close.emit(this),this.isOpen&&!this._clickDetection&&setTimeout((function(){window.document.body.addEventListener("click",e._clickDetectionFc,!1),e._clickDetection=!0}),200),this._changeDetectorRef.markForCheck())},e.prototype.hasTemplate=function(e,t){return this.templates instanceof n.TemplateRef||this.templates&&this.templates[e.templateId]instanceof n.TemplateRef||this.templates&&this.templates[t]instanceof n.TemplateRef},e.prototype.getTemplate=function(e,t){if(this.hasTemplate(e,t))return this.templates[e.templateId]||this.templates[t]||this.templates},e.prototype.triggerRect=function(){this._triggerRect=this.selectionElement.getBoundingClientRect()},e.prototype.testSelection=function(e){return!e.disabled&&!(this.multiple&&this.limitSelection&&!(Array.isArray(this._value)&&this._value.length<this.limitSelection))},e.prototype.testValueChange=function(e,t){var n,o;if(null==e&&null==t||e===t)return!1;if(this.multiple&&e&&e.length&&t&&t.length&&e.length===t.length){try{for(var l=p(e),r=l.next();!r.done;r=l.next()){var i=r.value;if(!(t.indexOf(i)>-1))return!0}}catch(e){n={error:e}}finally{try{r&&!r.done&&(o=l.return)&&o.call(l)}finally{if(n)throw n.error}}return!1}return!0},e.prototype.updateFilteredData=function(){var e=this;setTimeout((function(){var t=e.data;e.multiple&&e.hideSelectedItems&&(t=u.getFilteredSelectedData(t,e.option)),!e.customSearchEnabled&&e.searchText&&e.searchText.length>=+e.minCharForSearch&&(t=u.getFilteredData(t,e.searchText,e.editPattern)),u.valueIsNotInFilteredData(t,e.hoveringValue)&&(e.hoveringValue=u.getFirstAvailableOption(t)),e.filteredData=t,e._changeDetectorRef.markForCheck()}))},e.prototype.clickDetection=function(e){this.ifParentContainsClass(e.target,"selection")?this.isOpen&&!this.ifParentContainsId(e.target,this._id)&&(this.toggleOpenAndClose(),this.clickExit()):(this.isOpen&&!this.ifParentContainsClass(e.target,"select2-dropdown")&&this.toggleOpenAndClose(),this.ifParentContainsId(e.target,this._id)||this.clickExit())},e.prototype.clickExit=function(){this._focus(!1),window.document.body.removeEventListener("click",this._clickDetectionFc),this._clickDetection=!1},e.prototype.ifParentContainsClass=function(e,t){return null!==this.getParentElementByClass(e,t)},e.prototype.ifParentContainsId=function(e,t){return null!==this.getParentElementById(e,t)},e.prototype.getParentElementByClass=function(e,t){return this.containClasses(e,t.trim().split(/\s+/))?e:e.parentElement?this.getParentElementByClass(e.parentElement,t):null},e.prototype.getParentElementById=function(e,t){return e.id===t?e:e.parentElement?this.getParentElementById(e.parentElement,t):null},e.prototype.containClasses=function(e,t){var n,o;if(!e.classList)return!1;try{for(var l=p(t),r=l.next();!r.done;r=l.next()){var i=r.value;if(!e.classList.contains(i))return!1}}catch(e){n={error:e}}finally{try{r&&!r.done&&(o=l.return)&&o.call(l)}finally{if(n)throw n.error}}return!0},e.prototype.focusin=function(){this.disabled||this._focus(!0)},e.prototype.focusout=function(){this.selectionElement&&!this.selectionElement.classList.contains("select2-focused")&&(this._focus(!1),this._onTouched())},e.prototype.moveUp=function(){this.updateScrollFromOption(u.getPreviousOption(this.filteredData,this.hoveringValue))},e.prototype.moveDown=function(){this.updateScrollFromOption(u.getNextOption(this.filteredData,this.hoveringValue))},e.prototype.updateScrollFromOption=function(e){if(e){this.hoveringValue=e.value;var t=this.results.find((function(t){return t.nativeElement.innerText.trim()===e.label}));if(t){this.resultsElement.scrollTop=0;var n=this.resultsElement.getBoundingClientRect(),o=t.nativeElement.getBoundingClientRect();this.resultsElement.scrollTop=o.top-n.top}}},e.prototype.selectByEnter=function(){if(this.hoveringValue){var e=u.getOptionByValue(this.data,this.hoveringValue);this.select(e)}},e.prototype.select=function(e){var t;if(null!==e)if(this.multiple){var n=this.option,o=n.findIndex((function(t){return t.value===e.value}));-1===o?n.push(e):n.splice(o,1),t=this.option.map((function(e){return e.value}))}else this.option=e,this.isOpen&&(this.isOpen=!1,this.close.emit(this),this.selectionElement&&this.selectionElement.focus()),t=this.option.value;else this.option=null;this.multiple&&this.hideSelectedItems&&this.updateFilteredData(),this._control?this._onChange(t):this._value=t,this.update.emit({component:this,value:t,options:Array.isArray(this.option)?this.option:this.option?[this.option]:null})},e.prototype.keyDown=function(e){this._testKey(e,["ArrowDown",40])?(this.moveDown(),e.preventDefault()):this._testKey(e,["ArrowUp",38])?(this.moveUp(),e.preventDefault()):this._testKey(e,["Enter",13])?(this.selectByEnter(),e.preventDefault()):this._testKey(e,["Escape","Tab",9,27])&&this.isOpen&&(this.toggleOpenAndClose(),this._focus(!1))},e.prototype.openKey=function(e){this._testKey(e,["ArrowDown","ArrowUp","Enter",40,38,13])?(this.toggleOpenAndClose(),e.preventDefault()):this._testKey(e,["Escape","Tab",9,27])&&(this._focus(!1),this._onTouched())},e.prototype.trackBy=function(e,t){return t.value},e.prototype.searchUpdate=function(e){this.searchText=e.target.value,this.updateFilteredData()},e.prototype.isSelected=function(e){return u.isSelected(this.option,e,this.multiple)},e.prototype.isDisabled=function(e){return e.disabled?"true":"false"},e.prototype.removeSelection=function(e,t){u.removeSelection(this.option,t),this.multiple&&this.hideSelectedItems&&this.updateFilteredData();var n=this.option.map((function(e){return e.value}));this._control?this._onChange(n):this._value=n,this.update.emit({component:this,value:n,options:Array.isArray(this.option)?this.option:this.option?[this.option]:null}),this.removeOption.emit({component:this,value:n,removedOption:t}),e.preventDefault(),e.stopPropagation(),this.isOpen&&this._focusSearchboxOrResultsElement()},e.prototype.writeValue=function(e){this._setSelectionByValue(e)},e.prototype.registerOnChange=function(e){this._onChange=e},e.prototype.registerOnTouched=function(e){this._onTouched=e},e.prototype.setDisabledState=function(e){this.disabled=e},e.prototype._isErrorState=function(){var e=this._control&&this._control.invalid,t=this._control&&this._control.touched,n=this._parentFormGroup&&this._parentFormGroup.submitted||this._parentForm&&this._parentForm.submitted;return!(!e||!t&&!n)},e.prototype._testKey=function(e,t){return void 0===t&&(t=[]),this._isKey(this._getKey(e),t)},e.prototype._getKey=function(e){var t;return void 0!==e.key?t=e.key:void 0!==e.keyIdentifier?t=e.keyIdentifier:void 0!==e.keyCode?t=e.keyCode:e.preventDefault(),t},e.prototype._isKey=function(e,t){return void 0===t&&(t=[]),!!(t&&t.length>0)&&-1!==t.indexOf(e)},e.prototype._setSelectionByValue=function(e){var t=this;if(this.option||null!=e){var n=Array.isArray(e);if(this.multiple&&e&&!n)throw new Error("Non array value.");this.data?this.multiple?(this.option=[],n&&u.getOptionsByValue(this.data,e,this.multiple).map((function(e){return t.select(e)}))):this.select(u.getOptionByValue(this.data,e)):this._control&&this._control.viewToModelUpdate(e),this._changeDetectorRef.markForCheck()}},e.prototype._dirtyCheckNativeValue=function(){var e=this.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this._stateChanges.next())},e.prototype._coerceBooleanProperty=function(e){return null!=e&&""+e!="false"},e.prototype._focusSearchboxOrResultsElement=function(){this.isSearchboxHidden?this.resultsElement&&this.resultsElement.focus():this.searchInput.nativeElement&&this.searchInput.nativeElement.focus()},e.prototype._focus=function(e){!e&&this.focused?(this.focused=e,this.blur.emit(this)):e&&!this.focused&&(this.focused=e,this.focus.emit(this))},e.prototype.onScroll=function(e){this.scroll.emit({component:this,way:e,search:this.innerSearchText})},e}();f.decorators=[{type:n.Component,args:[{selector:"select2",template:'<div class="select2-label"\n (click)="toggleOpenAndClose()">\n <ng-content select="select2-label"></ng-content>\n <span *ngIf="required"\n class="select2-required"></span>\n</div>\n<div class="select2 select2-container select2-container--default select2-container--focus"\n [class.select2-container--below]="!select2above"\n [class.select2-container--above]="select2above"\n [class.select2-container--open]="isOpen"\n [class.select2-container--disabled]="disabled">\n <div class="selection"\n #selection\n #trigger="cdkOverlayOrigin"\n [attr.tabindex]="!this.isOpen ? tabIndex : \'-1\'"\n (click)="toggleOpenAndClose()"\n (focus)="focusin()"\n (blur)="focusout()"\n (keydown)="openKey($event)"\n cdkOverlayOrigin\n [class.select2-focused]="focused">\n <div class="select2-selection"\n [class.select2-selection--multiple]="multiple"\n [class.select2-selection--single]="!multiple"\n role="combobox">\n <span *ngIf="!multiple"\n class="select2-selection__rendered"\n [title]="select2Option?.label || \'\'">\n <span *ngIf="!select2Option">&nbsp;</span>\n <span *ngIf="select2Option"\n [innerHTML]="select2Option.label"></span>\n <span [class.select2-selection__placeholder__option]="option"\n class="select2-selection__placeholder">{{placeholder}}</span>\n </span>\n <span (click)="reset($event)"\n *ngIf="!multiple && resettable && select2Option"\n class="select2-selection__reset"\n role="presentation">×</span>\n <span *ngIf="!multiple"\n class="select2-selection__arrow"\n role="presentation">\n </span>\n <ul *ngIf="multiple"\n class="select2-selection__rendered">\n <span [class.select2-selection__placeholder__option]="select2Options?.length > 0"\n class="select2-selection__placeholder">{{placeholder}}</span>\n <li *ngFor="let op of option; trackBy: trackBy"\n class="select2-selection__choice"\n [title]="op.label">\n <span (click)="removeSelection($event, op)"\n class="select2-selection__choice__remove"\n role="presentation">×</span>\n <span [innerHTML]="op.label"></span>\n </li>\n </ul>\n </div>\n </div>\n <ng-container *ngIf="!overlay">\n <ng-container *ngTemplateOutlet="containerTemplate"></ng-container>\n </ng-container>\n\n <div class="select2-subscript-wrapper">\n <ng-content select="select2-hint"></ng-content>\n </div>\n</div>\n\n<ng-template cdkConnectedOverlay\n cdkConnectedOverlayHasBackdrop\n cdkConnectedOverlayBackdropClass="select2-overlay-backdrop"\n [cdkConnectedOverlayOrigin]="trigger"\n [cdkConnectedOverlayOpen]="this.isOpen && overlay"\n [cdkConnectedOverlayMinWidth]="_triggerRect?.width!"\n (backdropClick)="toggleOpenAndClose()">\n <ng-container *ngTemplateOutlet="containerTemplate"></ng-container>\n</ng-template>\n\n<ng-template #containerTemplate>\n <div class="select2-container select2-container--default select2-container-dropdown"\n [class.select2-container--open]="isOpen"\n [class.select2-overlay]="overlay">\n <div class="select2-dropdown"\n [class.select2-dropdown--below]="!select2above"\n [class.select2-dropdown--above]="select2above">\n <div class="select2-search select2-search--dropdown"\n [class.select2-search--hide]="hideSearch()">\n <input #searchInput\n [id]="id + \'-search-field\'"\n [value]="searchText"\n (keydown)="keyDown($event)"\n (keyup)="searchUpdate($event)"\n (change)="prevChange($event)"\n class="select2-search__field"\n type="search"\n role="textbox"\n autocomplete="off"\n autocorrect="off"\n autocapitalize="off"\n spellcheck="false"\n [attr.tabindex]="this.isOpen ? tabIndex : \'-1\'">\n </div>\n <div class="select2-results">\n <ul #results\n class="select2-results__options"\n [style.max-height]="resultMaxHeight"\n role="tree"\n tabindex="-1"\n infiniteScroll\n [infiniteScrollDisabled]="!infiniteScroll && !isOpen"\n [infiniteScrollDistance]="infiniteScrollDistance"\n [infiniteScrollThrottle]="infiniteScrollThrottle"\n [infiniteScrollContainer]="results"\n (scrolled)="onScroll(\'down\')"\n (scrolledUp)="onScroll(\'up\')"\n (keydown)="keyDown($event)">\n <ng-container *ngFor="let groupOrOption of filteredData; index as i; trackBy:trackBy">\n <li *ngIf="groupOrOption.options"\n class="select2-results__option"\n role="group">\n <strong *ngIf="!hasTemplate(groupOrOption, \'group\'); else optGroup"\n [attr.class]="\'select2-results__group\' + (groupOrOption.classes ? \' \' + groupOrOption.classes : \'\')"\n [innerHTML]="groupOrOption.label"></strong>\n <ng-template #optGroup>\n <ng-container\n *ngTemplateOutlet="getTemplate(groupOrOption, \'group\'); context: groupOrOption">\n </ng-container>\n </ng-template>\n\n <ul class="select2-results__options select2-results__options--nested">\n <li *ngFor="let option of groupOrOption.options; index as j; trackBy:trackBy"\n #result\n [id]="option.id || id + \'-option-\' + i + \'-\' + j"\n [class]="getOptionStyle(option)"\n role="treeitem"\n [attr.aria-selected]="isSelected(option)"\n [attr.aria-disabled]="isDisabled(option)"\n (mouseenter)="mouseenter(option)"\n (click)="click(option)">\n <div *ngIf="!hasTemplate(option, \'option\'); else liGroup"\n class="select2-label-content"\n [innerHTML]="option.label"></div>\n <ng-template #liGroup>\n <ng-container\n *ngTemplateOutlet="getTemplate(option, \'option\'); context: option">\n </ng-container>\n </ng-template>\n </li>\n </ul>\n </li>\n <li *ngIf="!groupOrOption.options"\n #result\n [id]="groupOrOption.id || id + \'-option-\' + i"\n [class]="getOptionStyle(groupOrOption)"\n role="treeitem"\n [attr.aria-selected]="isSelected(groupOrOption)"\n [attr.aria-disabled]="isDisabled(groupOrOption)"\n (mouseenter)="mouseenter(groupOrOption)"\n (click)="click(groupOrOption)">\n <div *ngIf="!hasTemplate(groupOrOption, \'option\'); else li"\n [innerHTML]="groupOrOption.label"\n class="select2-label-content"></div>\n <ng-template #li>\n <ng-container\n *ngTemplateOutlet="getTemplate(groupOrOption, \'option\'); context: groupOrOption">\n </ng-container>\n </ng-template>\n </li>\n </ng-container>\n <li class="select2-no-result select2-results__option"\n *ngIf="!filteredData?.length && noResultMessage"\n [innerHTML]="noResultMessage"></li>\n </ul>\n </div>\n </div>\n </div>\n</ng-template>\n',styles:['.select2-label{color:#000;color:var(--select2-label-text-color,#000)}.select2-container{box-sizing:border-box;display:inline-block;margin:0;position:relative;vertical-align:middle;width:100%}.select2-container .select2-container-dropdown{opacity:0;position:absolute;width:0}.select2-container .select2-selection--single{-moz-user-select:none;-ms-user-select:none;-webkit-user-select:none;box-sizing:border-box;cursor:pointer;display:block;height:28px;user-select:none}.select2-container .select2-selection--single .select2-selection__rendered{display:block;flex:1 1 auto;overflow:hidden;padding:0 0 0 8px;text-overflow:ellipsis;white-space:nowrap}.select2-container .select2-selection--single .select2-selection__clear{position:relative}.select2-container .select2-selection--multiple{-moz-user-select:none;-ms-user-select:none;-webkit-user-select:none;box-sizing:border-box;cursor:pointer;display:block;min-height:32px;user-select:none}.select2-container .select2-selection--multiple .select2-selection__rendered{display:inline-block;overflow:hidden;padding-left:8px;text-overflow:ellipsis;white-space:nowrap}.select2-container .select2-search--inline{float:left}.select2-container .select2-search--inline .select2-search__field{border:none;box-sizing:border-box;font-size:100%;margin-top:5px;padding:0}.select2-container .select2-search--inline .select2-search__field::-webkit-search-cancel-button{-webkit-appearance:none}.select2-dropdown{background:#fff;background:var(--select2-dropdown-background,#fff);border:1px solid #aaa;border:1px solid var(--select2-dropdown-border-color,#aaa);border-radius:4px;border-radius:var(--select2-selection-border-radius,4px);box-sizing:border-box;display:block;height:0;overflow:hidden;position:absolute;width:100%;z-index:1051}.select2-dropdown .select2-label-content{display:contents}.select2-results{display:block}.select2-results__options{list-style:none;margin:0;padding:0}.select2-results__option{-moz-user-select:none;-ms-user-select:none;-webkit-user-select:none;color:#000;color:var(--select2-option-text-color,#000);padding:6px;user-select:none}.select2-results__option[aria-selected]{cursor:pointer}.select2-container.select2-container-dropdown.select2-container--open{opacity:1;width:100%}.select2-container--open .select2-dropdown{height:auto;overflow:auto}.select2-container--open .select2-dropdown--above{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0;bottom:27px;display:flex;flex-direction:column-reverse}.select2-container--open .select2-dropdown--below{border-top:none;border-top-left-radius:0;border-top-right-radius:0}.select2-search--dropdown{display:block;padding:4px}.select2-search--dropdown .select2-search__field{box-sizing:border-box;padding:4px;width:100%}.select2-search--dropdown .select2-search__field::-webkit-search-cancel-button{-webkit-appearance:none}.select2-search--dropdown.select2-search--hide{display:none}.select2-close-mask{background:#fff;border:0;display:block;filter:alpha(opacity=0);height:auto;left:0;margin:0;min-height:100%;min-width:100%;opacity:0;padding:0;position:fixed;top:0;width:auto;z-index:99}.select2-required:before{color:red;color:var(--select2-required-color,red);content:"*"}.select2-hidden-accessible{border:0!important;clip:rect(0 0 0 0)!important;height:1px!important;margin:-1px!important;overflow:hidden!important;padding:0!important;position:absolute!important;width:1px!important}.select2-container--default .select2-selection--single{background:#fff;background:var(--select2-selection-background,#fff);border:1px solid #aaa;border:1px solid var(--select2-selection-border-color,#aaa);border-radius:4px;border-radius:var(--select2-selection-border-radius,4px);display:flex}.select2-container--default .select2-selection--single .select2-selection__rendered{color:#444;color:var(--select2-selection-text-color,#444);line-height:28px}.select2-container--default .select2-selection--single .select2-selection__clear{cursor:pointer;float:right;font-weight:700}.select2-container--default .select2-selection--single .select2-selection__placeholder{color:#999;color:var(--select2-placeholder-color,#999)}.select2-container--default .select2-selection--single .select2-selection__placeholder span{overflow:hidden;text-overflow:ellipsis;text-overflow:var(--select2-placeholder-overflow,ellipsis);white-space:nowrap}.select2-container--default .select2-selection--single .select2-selection__placeholder__option{display:none}.select2-container--default .select2-selection--single .select2-selection__arrow,.select2-container--default .select2-selection--single .select2-selection__reset{align-items:center;display:flex;justify-content:center;width:20px}.select2-container--default .select2-selection--single .select2-selection__arrow:before{border-bottom:0 solid var(--select2-arrow-color,#888);border-color:#888 transparent;border-left:4px solid transparent;border-right:4px solid transparent;border-top:5px solid var(--select2-arrow-color,#888);content:" ";height:0;width:0}.select2-container--default .select2-selection--single .select2-selection__reset{color:#999;color:var(--select2-reset-color,#999)}.select2-container--default.select2-container--disabled .select2-selection--single{background:#eee;background:var(--select2-selection-disabled-background,#eee);cursor:default}.select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__clear{display:none}.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow:before{border-bottom-color:var(--select2-arrow-color,#888);border-color:transparent transparent #888;border-right-color:transparent;border-top-color:transparent;border-width:0 4px 5px}.select2-container--default .select2-selection--multiple{background:#fff;background:var(--select2-selection-background,#fff);border:1px solid #aaa;border:1px solid var(--select2-selection-border-color,#aaa);border-radius:4px;border-radius:var(--select2-selection-border-radius,4px);cursor:text}.select2-container--default .select2-selection--multiple .select2-selection__rendered{box-sizing:border-box;flex:1 1 auto;list-style:none;margin:0;padding:0 5px;width:100%}.select2-container--default .select2-selection--multiple .select2-selection__rendered li{list-style:none}.select2-container--default .select2-selection--multiple .select2-selection__placeholder{color:#999;color:var(--select2-placeholder-color,#999);display:block;float:left;margin-top:5px;overflow:hidden;text-overflow:ellipsis;text-overflow:var(--select2-placeholder-overflow,ellipsis);white-space:nowrap;width:100%}.select2-container--default .select2-selection--multiple .select2-selection__placeholder__option{display:none}.select2-container--default .select2-selection--multiple .select2-selection__clear{cursor:pointer;float:right;font-weight:700;margin-right:10px;margin-top:5px}.select2-container--default .select2-selection--multiple .select2-selection__choice{background:#e4e4e4;background:var(--select2-selection-choice-background,#e4e4e4);border:1px solid #aaa;border:1px solid var(--select2-selection-choice-border-color,#aaa);border-radius:4px;border-radius:var(--select2-selection-border-radius,4px);color:#000;color:var(--select2-selection-choice-text-color,#000);cursor:default;float:left;margin-right:5px;margin-top:5px;padding:0 5px}.select2-container--default .select2-selection--multiple .select2-selection__choice__remove{color:#999;color:var(--select2-selection-choice-close-color,#999);cursor:pointer;display:inline-block;font-weight:700;margin-right:2px}.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover{color:#333;color:var(--select2-selection-choice-hover-close-color,#333)}.select2-container--default.select2-container--focused .select2-selection--multiple,.select2-container--default:not(.select2-container--open) .select2-focused .select2-selection--multiple,.select2-container--default:not(.select2-container--open) .select2-focused .select2-selection--single{border:1px solid #000;border:1px solid var(--select2-selection-focus-border-color,#000);outline:none}.select2-container--default.select2-container--disabled .select2-selection--multiple{background:#eee;background:var(--select2-selection-disabled-background,#eee);cursor:default}.select2-container--default.select2-container--disabled .select2-selection__choice__remove{display:none}.select2-container--default.select2-container--open.select2-container--above .select2-selection--multiple,.select2-container--default.select2-container--open.select2-container--above .select2-selection--single{border-top-left-radius:0;border-top-right-radius:0}.select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple,.select2-container--default.select2-container--open.select2-container--below .select2-selection--single{border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--default .select2-search--dropdown .select2-search__field{background:#fff;background:1px solid var(--select2-search-background,#fff);border:1px solid #aaa;border:1px solid var(--select2-search-border-color,#aaa);border-radius:0;border-radius:var(--select2-search-border-radius,0)}.select2-container--default .select2-search--inline .select2-search__field{-webkit-appearance:textfield;background:transparent;border:none;box-shadow:none;outline:none}.select2-container--default .select2-results>.select2-results__options{overflow-y:auto}.select2-container--default .select2-results__option[role=group]{padding:0}.select2-container--default .select2-results__option[aria-disabled=true]{background:transparent;background:var(--select2-option-disabled-background,transparent);color:#999;color:var(--select2-option-disabled-text-color,#999)}.select2-container--default .select2-results__option[aria-selected=true]{background:#ddd;background:var(--select2-option-selected-background,#ddd);color:#000;color:var(--select2-option-selected-text-color,#000)}.select2-container--default .select2-results__option .select2-results__option{padding-left:1em}.select2-container--default .select2-results__option .select2-results__option .select2-results__group{padding-left:0}.select2-container--default .select2-results__option .select2-results__option .select2-results__option{margin-left:-1em;padding-left:2em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-2em;padding-left:3em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-3em;padding-left:4em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-4em;padding-left:5em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-5em;padding-left:6em}.select2-container--default .select2-results__option--highlighted[aria-selected]{background:#5897fb;background:var(--select2-option-highlighted-background,#5897fb);color:#fff;color:var(--select2-option-highlighted-text-color,#fff)}.select2-container--default .select2-results__option--hide{display:none}.select2-container--default .select2-results__group{background:transparent;background:var(--select2-option-group-background,transparent);color:grey;color:var(--select2-option-group-text-color,grey);cursor:default;display:block;padding:6px}.select2-no-result{color:#888;color:var(--select2-no-result-color,#888);font-style:italic;font-style:var(--select2-font-style-color,italic)}:host.nostyle .select2-dropdown{border-color:transparent}:host.nostyle .select2-container--default .select2-focused .select2-selection--multiple,:host.nostyle .select2-container--default .select2-focused .select2-selection--single,:host.nostyle .select2-container--default:not(.select2-container--open) .select2-focused .select2-selection--multiple,:host.nostyle .select2-container--default:not(.select2-container--open) .select2-focused .select2-selection--single,:host.nostyle .select2-selection--multiple,:host.nostyle .select2-selection--single{background:transparent;border-color:transparent}:host.material{display:inline-block;width:300px}:host.material>.select2-container{padding-bottom:1.29688em;vertical-align:inherit}:host.material>.select2-container .selection{align-items:baseline;border-top:.84375em solid transparent;display:inline-flex;height:auto;padding:.4375em 0;width:100%}:host.material .select2-container--default .select2-selection--multiple,:host.material .select2-container--default .select2-selection--single{border:0;border-radius:0;box-sizing:border-box;height:24px;width:100%}:host.material .select2-container--default .select2-selection--multiple:before,:host.material .select2-container--default .select2-selection--single:before{background:#ddd;background:var(--select2-material-underline,#ddd);bottom:1.65em;content:" ";display:block;height:1px;position:absolute;width:100%}:host.material .select2-container--default .select2-selection--multiple:after,:host.material .select2-container--default .select2-selection--single:after{background:#5a419e;background:var(--select2-material-underline-active,#5a419e);bottom:1.63em;content:" ";display:block;height:2px;left:50%;position:absolute;transition:none;width:0}:host.material .select2-container--default .select2-selection--multiple .select2-selection__rendered,:host.material .select2-container--default .select2-selection--single .select2-selection__rendered{line-height:inherit;padding-left:1px}:host.material .select2-container--default .select2-selection--multiple .select2-selection__placeholder,:host.material .select2-container--default .select2-selection--single .select2-selection__placeholder{color:rgba(0,0,0,.38);color:var(--select2-material-placeholder-color,rgba(0,0,0,.38));display:block;left:0;position:absolute;top:20px;transform-origin:0 21px;transition:transform .3s}:host.material .select2-container--default .select2-container--open{bottom:1.6em;left:0}:host.material .select2-container--default .select2-selection__placeholder__option{transform:translateY(-1.5em) scale(.75) perspective(100px) translateZ(.001px);width:133.33333%}:host.material .select2-container--default .select2-selection__arrow{top:20px}:host.material .select2-container--default.select2-container--open .select2-selection--multiple:after,:host.material .select2-container--default.select2-container--open .select2-selection--single:after,:host.material .select2-container--default .select2-focused .select2-selection--multiple:after,:host.material .select2-container--default .select2-focused .select2-selection--single:after{left:0;transition:width .3s cubic-bezier(.12,1,.77,1),left .3s cubic-bezier(.12,1,.77,1);width:100%}:host.material .select2-container--default .select2-dropdown{border:0;border-radius:0;box-shadow:0 5px 5px rgba(0,0,0,.5)}:host.material .select2-container--default .select2-results__option--highlighted[aria-selected],:host.material .select2-container--default .select2-results__option[aria-selected=true]{background:rgba(0,0,0,.04);background:var(--select2-material-option-selected-background,rgba(0,0,0,.04));color:#000;color:var(--select2-material-option-highlighted-text-color,#000)}:host.material .select2-container--default .select2-results__option[aria-selected=true]{color:#ff5722;color:var(--select2-material-option-selected-text-color,#ff5722)}:host.material .select2-container--default.select2-container--disabled .select2-selection--multiple,:host.material .select2-container--default.select2-container--disabled .select2-selection--single{background:transparent}:host.material .select2-container--default.select2-container--disabled .select2-selection--multiple:before,:host.material .select2-container--default.select2-container--disabled .select2-selection--single:before{background:linear-gradient(90deg,rgba(0,0,0,.26) 0,rgba(0,0,0,.26) 33%,transparent 0);background:var(--select2-material-underline-disabled,linear-gradient(90deg,rgba(0,0,0,.26) 0,rgba(0,0,0,.26) 33%,transparent 0));background-position:0 bottom;background-repeat:repeat-x;background-size:4px 1px}:host.material.ng-invalid.ng-touched .select2-container--default .select2-selection--multiple:after,:host.material.ng-invalid.ng-touched .select2-container--default .select2-selection--multiple:before,:host.material.ng-invalid.ng-touched .select2-container--default .select2-selection--single:after,:host.material.ng-invalid.ng-touched .select2-container--default .select2-selection--single:before{background:red;background:var(--select2-material-underline-invalid,red)}:host.material:not(.select2-container--open) .select2-focused .select2-selection--multiple,:host.material:not(.select2-container--open) .select2-focused .select2-selection--single{border:0}:host.material .select2-subscript-wrapper{color:#888;color:var(--select2-hint-text-color,#888);font-size:75%;position:absolute;top:calc(100% - 1.72917em)}::ng-deep .select2-overlay-backdrop{background:rgba(0,0,0,.32);background:var(--select2-overlay-backdrop,transparent)}@supports (-moz-appearance:none){select2.material .select2-container--default .select2-selection--multiple,select2.material .select2-container--default .select2-selection--single{height:26px}}@supports (-ms-scroll-limit:0){select2.material .select2-container--default .select2-selection--multiple,select2.material .select2-container--default .select2-selection--single{height:25px}}']}]}],f.ctorParameters=function(){return[{type:t.ViewportRuler},{type:n.ChangeDetectorRef},{type:o.NgForm,decorators:[{type:n.Optional}]},{type:o.FormGroupDirective,decorators:[{type:n.Optional}]},{type:o.NgControl,decorators:[{type:n.Self},{type:n.Optional}]},{type:String,decorators:[{type:n.Attribute,args:["tabindex"]}]}]},f.propDecorators={data:[{type:n.Input}],minCharForSearch:[{type:n.Input}],displaySearchStatus:[{type:n.Input}],placeholder:[{type:n.Input}],customSearchEnabled:[{type:n.Input}],limitSelection:[{type:n.Input}],listPosition:[{type:n.Input}],multiple:[{type:n.Input}],overlay:[{type:n.Input}],styleMode:[{type:n.Input}],noResultMessage:[{type:n.Input}],infiniteScrollDistance:[{type:n.Input}],infiniteScrollThrottle:[{type:n.Input}],infiniteScroll:[{type:n.Input}],editPattern:[{type:n.Input}],templates:[{type:n.Input}],resultMaxHeight:[{type:n.Input}],update:[{type:n.Output}],open:[{type:n.Output}],close:[{type:n.Output}],focus:[{type:n.Output}],blur:[{type:n.Output}],search:[{type:n.Output}],scroll:[{type:n.Output}],removeOption:[{type:n.Output}],minCountForSearch:[{type:n.Input}],id:[{type:n.Input},{type:n.HostBinding,args:["id"]}],required:[{type:n.Input}],disabled:[{type:n.Input}],hideSelectedItems:[{type:n.Input}],readonly:[{type:n.Input}],value:[{type:n.Input}],tabIndex:[{type:n.Input}],resettable:[{type:n.Input}],ariaInvalid:[{type:n.HostBinding,args:["attr.aria-invalid"]}],classMaterial:[{type:n.HostBinding,args:["class.material"]}],classNostyle:[{type:n.HostBinding,args:["class.nostyle"]}],select2above:[{type:n.HostBinding,args:["class.select2-above"]}],selection:[{type:n.ViewChild,args:["selection",{static:!0}]}],resultContainer:[{type:n.ViewChild,args:["results"]}],results:[{type:n.ViewChildren,args:["result"]}],searchInput:[{type:n.ViewChild,args:["searchInput"]}]};var g=function(){};g.decorators=[{type:n.Directive,args:[{selector:"select2-hint"}]}];var b=function(){};b.decorators=[{type:n.Directive,args:[{selector:"select2-label"}]}];var m=function(){};m.decorators=[{type:n.NgModule,args:[{imports:[i.CommonModule,o.FormsModule,r.OverlayModule,o.ReactiveFormsModule,s.InfiniteScrollModule],declarations:[g,b,f],exports:[o.FormsModule,o.ReactiveFormsModule,g,b,f]}]}],e.Select2=f,e.Select2Hint=g,e.Select2Label=b,e.Select2Module=m,e.Select2Utils=u,e.defaultMinCountForSearch=6,e.protectRegexp=c,e.timeout=200,e.unicodePatterns=a,Object.defineProperty(e,"__esModule",{value:!0})}));
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/cdk/scrolling"),require("@angular/core"),require("@angular/forms"),require("rxjs"),require("@angular/cdk/overlay"),require("@angular/common"),require("ngx-infinite-scroll")):"function"==typeof define&&define.amd?define("ng-select2-component",["exports","@angular/cdk/scrolling","@angular/core","@angular/forms","rxjs","@angular/cdk/overlay","@angular/common","ngx-infinite-scroll"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self)["ng-select2-component"]={},e.ng.cdk.scrolling,e.ng.core,e.ng.forms,e.rxjs,e.ng.cdk.overlay,e.ng.common,e.ngxInfiniteScroll)}(this,(function(e,t,n,o,l,r,i,s){"use strict";var a=[{l:"a",s:/[ⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ]/gi},{l:"aa",s:/ꜳ/gi},{l:"ae",s:/[æǽǣ]/gi},{l:"ao",s:/ꜵ/gi},{l:"au",s:/ꜷ/gi},{l:"av",s:/[ꜹꜻ]/gi},{l:"ay",s:/ꜽ/gi},{l:"b",s:/[ⓑbḃḅḇƀƃɓ]/gi},{l:"c",s:/[ⓒcćĉċčçḉƈȼꜿↄ]/gi},{l:"d",s:/[ⓓdḋďḍḑḓḏđƌɖɗꝺ]/gi},{l:"dz",s:/[dzdž]/gi},{l:"e",s:/[ⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ]/gi},{l:"f",s:/[ⓕfḟƒꝼ]/gi},{l:"g",s:/[ⓖgǵĝḡğġǧģǥɠꞡᵹꝿ]/gi},{l:"h",s:/[ⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ]/gi},{l:"hv",s:/ƕ/gi},{l:"i",s:/[ⓘiìíîĩīĭİïḯỉǐȉȋịįḭɨı]/gi},{l:"j",s:/[ⓙjĵǰɉ]/gi},{l:"k",s:/[ⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ]/gi},{l:"l",s:/[ⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇꝆ]/gi},{l:"lj",s:/lj/gi},{l:"m",s:/[ⓜmḿṁṃɱɯ]/gi},{l:"n",s:/[ⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ]/gi},{l:"nj",s:/nj/gi},{l:"o",s:/[ⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔƟꝋꝍɵ]/gi},{l:"oi",s:/ƣ/gi},{l:"oe",s:/œ/gi},{l:"oo",s:/ꝏ/gi},{l:"ou",s:/ȣ/gi},{l:"p",s:/[ⓟpṕṗƥᵽꝑꝓꝕ]/gi},{l:"q",s:/[ⓠqɋꝗꝙ]/gi},{l:"r",s:/[ⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ]/gi},{l:"s",s:/[ⓢsßẞśṥŝṡšṧṣṩșşȿꞩꞅẛ]/gi},{l:"t",s:/[ⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ]/gi},{l:"tz",s:/ꜩ/gi},{l:"u",s:/[ⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ]/gi},{l:"v",s:/[ⓥvṽṿʋꝟʌ]/gi},{l:"vy",s:/ꝡ/gi},{l:"w",s:/[ⓦwẁẃŵẇẅẘẉⱳ]/gi},{l:"x",s:/[ⓧxẋẍ]/gi},{l:"y",s:/[ⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ]/gi},{l:"z",s:/[ⓩzźẑżžẓẕƶȥɀⱬꝣ]/gi}],c=new RegExp("[\\-\\[\\]\\/\\{\\}\\(\\)\\*\\+\\?\\.\\\\\\^\\$\\|]","g");Object.create;function p(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],o=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&o>=e.length&&(e=void 0),{value:e&&e[o++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}Object.create;var u=function(){function e(){}return e.getOptionByValue=function(e,t){var n,o,l,r;if(Array.isArray(e))try{for(var i=p(e),s=i.next();!s.done;s=i.next()){var a=s.value,c=a.options;if(c)try{for(var u=(l=void 0,p(c)),d=u.next();!d.done;d=u.next()){var h=d.value;if(h.value===t)return h}}catch(e){l={error:e}}finally{try{d&&!d.done&&(r=u.return)&&r.call(u)}finally{if(l)throw l.error}}else if(a.value===t)return a}}catch(e){n={error:e}}finally{try{s&&!s.done&&(o=i.return)&&o.call(i)}finally{if(n)throw n.error}}return null},e.getOptionsByValue=function(t,n,o){var l,r;if(o){var i=Array.isArray(n)?n:[],s=[];try{for(var a=p(i),c=a.next();!c.done;c=a.next()){var u=c.value,d=e.getOptionByValue(t,u);d&&s.push(d)}}catch(e){l={error:e}}finally{try{c&&!c.done&&(r=a.return)&&r.call(a)}finally{if(l)throw l.error}}return s}return e.getOptionByValue(t,n)},e.getFirstAvailableOption=function(e){var t,n,o,l;if(Array.isArray(e))try{for(var r=p(e),i=r.next();!i.done;i=r.next()){var s=i.value,a=s.options;if(a)try{for(var c=(o=void 0,p(a)),u=c.next();!u.done;u=c.next()){var d;if(!(d=u.value).disabled)return d.value}}catch(e){o={error:e}}finally{try{u&&!u.done&&(l=c.return)&&l.call(c)}finally{if(o)throw o.error}}else if(!(d=s).disabled)return d.value}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}return null},e.getOptionsCount=function(e){var t,n,o=0;if(Array.isArray(e))try{for(var l=p(e),r=l.next();!r.done;r=l.next()){var i=r.value.options;i?o+=i.length:o++}}catch(e){t={error:e}}finally{try{r&&!r.done&&(n=l.return)&&n.call(l)}finally{if(t)throw t.error}}return o},e.valueIsNotInFilteredData=function(t,n){var o,l,r,i;if(e.isNullOrUndefined(n))return!0;try{for(var s=p(t),a=s.next();!a.done;a=s.next()){var c=a.value,u=c.options;if(u)try{for(var d=(r=void 0,p(u)),h=d.next();!h.done;h=d.next()){if(h.value.value===n)return!1}}catch(e){r={error:e}}finally{try{h&&!h.done&&(i=d.return)&&i.call(d)}finally{if(r)throw r.error}}else if(c.value===n)return!1}}catch(e){o={error:e}}finally{try{a&&!a.done&&(l=s.return)&&l.call(s)}finally{if(o)throw o.error}}return!0},e.getPreviousOption=function(t,n){for(var o=e.isNullOrUndefined(n),l=t.length-1;l>=0;l--){var r=t[l],i=r.options;if(i)for(var s=i.length-1;s>=0;s--){var a=i[s];if(o&&!a.disabled&&!a.hide)return a;o||(o=a.value===n)}else{a=r;if(o&&!a.disabled&&!a.hide)return a;o||(o=a.value===n)}}return null},e.getNextOption=function(t,n){var o,l,r,i,s=e.isNullOrUndefined(n);try{for(var a=p(t),c=a.next();!c.done;c=a.next()){var u=c.value,d=u.options;if(d)try{for(var h=(r=void 0,p(d)),f=h.next();!f.done;f=h.next()){var g=f.value;if(s){if(!g.disabled&&!g.hide)return g}else s||(s=g.value===n)}}catch(e){r={error:e}}finally{try{f&&!f.done&&(i=h.return)&&i.call(h)}finally{if(r)throw r.error}}else{g=u;if(s){if(!g.disabled&&!g.hide)return g}else s||(s=g.value===n)}}}catch(e){o={error:e}}finally{try{c&&!c.done&&(l=a.return)&&l.call(a)}finally{if(o)throw o.error}}return null},e.isNullOrUndefined=function(e){return null==e},e.containSearchText=function(t,n,o){return!n||null!==e.formatSansUnicode(t).match(new RegExp(e.formatPattern(n,o),"i"))},e.protectPattern=function(e){return e.replace(c,"\\$&")},e.formatSansUnicode=function(e){var t,n;try{for(var o=p(a),l=o.next();!l.done;l=o.next()){var r=l.value;e=e.replace(r.s,r.l)}}catch(e){t={error:e}}finally{try{l&&!l.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}return e},e.formatPattern=function(t,n){return t=e.formatSansUnicode(e.protectPattern(t)),n&&"function"==typeof n&&(t=n(t)),t},e.getFilteredData=function(t,n,o){var l,r;if(n){var i=[];try{for(var s=p(t),a=s.next();!a.done;a=s.next()){var c=a.value,u=c.options;if(u){if(u.some((function(t){return e.containSearchText(t.label,n,o)}))){var d=u.filter((function(t){return e.containSearchText(t.label,n,o)}));i.push({label:c.label,options:d})}}else e.containSearchText(c.label,n,o)&&i.push(c)}}catch(e){l={error:e}}finally{try{a&&!a.done&&(r=s.return)&&r.call(s)}finally{if(l)throw l.error}}return i}return t},e.getFilteredSelectedData=function(t,n){var o,l,r=[];try{for(var i=p(t),s=i.next();!s.done;s=i.next()){var a=s.value,c=a.options;if(c){var u=c.filter((function(t){return"false"===e.isSelected(n,t,!0)}));u.length&&r.push({label:a.label,options:u})}else"false"===e.isSelected(n,a,!0)&&r.push(a)}}catch(e){o={error:e}}finally{try{s&&!s.done&&(l=i.return)&&l.call(i)}finally{if(o)throw o.error}}return r},e.isSearchboxHiddex=function(t,n){return(""===n||null==n||isNaN(+n))&&(n=6),e.getOptionsCount(t)<+n},e.isSelected=function(e,t,n){return n?e&&e.some((function(e){return e.value===t.value}))?"true":"false":e&&t.value===e.value?"true":"false"},e.removeSelection=function(e,t){for(var n=0;n<e.length;n++)if(e[n].value===t.value)return void e.splice(n,1)},e}(),d=0,h=["default","hidden","always"],f=function(){function e(e,t,o,r,i,s){this._viewportRuler=e,this._changeDetectorRef=t,this._parentForm=o,this._parentFormGroup=r,this._control=i,this.minCharForSearch=0,this.limitSelection=0,this.styleMode="default",this.infiniteScrollDistance=1.5,this.infiniteScrollThrottle=150,this.resultMaxHeight="200px",this.update=new n.EventEmitter,this.open=new n.EventEmitter,this.close=new n.EventEmitter,this.focus=new n.EventEmitter,this.blur=new n.EventEmitter,this.search=new n.EventEmitter,this.scroll=new n.EventEmitter,this.removeOption=new n.EventEmitter,this.option=null,this.isOpen=!1,this.focused=!1,this.hoveringValue=null,this.innerSearchText="",this._stateChanges=new l.Subject,this._disabled=!1,this._required=!1,this._readonly=!1,this._multiple=!1,this._overlay=!1,this._resettable=!1,this._hideSelectedItems=!1,this._clickDetection=!1,this._uid="select2-"+d++,this._infiniteScroll=!0,this._onTouched=function(){},this._onChange=function(){},this.id=this.id,this._tabIndex=parseInt(s,10)||0,this._control&&(this._control.valueAccessor=this),this._clickDetectionFc=this.clickDetection.bind(this)}return Object.defineProperty(e.prototype,"multiple",{get:function(){return this._multiple},set:function(e){this._multiple=this._coerceBooleanProperty(e),this.ngOnInit()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"overlay",{get:function(){return this._overlay},set:function(e){this._overlay=this._coerceBooleanProperty(e)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"infiniteScroll",{get:function(){return this._infiniteScroll},set:function(e){this._infiniteScroll=this._coerceBooleanProperty(e)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"select2Options",{get:function(){return this.multiple?this.option:null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"select2Option",{get:function(){return this.multiple?null:this.option},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"searchText",{get:function(){return this.innerSearchText},set:function(e){this.customSearchEnabled&&this.search.emit({component:this,value:this._value,search:e}),this.innerSearchText=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"minCountForSearch",{get:function(){return this._minCountForSearch},set:function(e){this._minCountForSearch=e,this.updateSearchBox()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return this._id},set:function(e){this._id=e||this._uid},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"required",{get:function(){return this._required},set:function(e){this._required=this._coerceBooleanProperty(e)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"disabled",{get:function(){return this._control?this._control.disabled:this._disabled},set:function(e){this._disabled=this._coerceBooleanProperty(e)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"hideSelectedItems",{get:function(){return this._hideSelectedItems},set:function(e){this._hideSelectedItems=this._coerceBooleanProperty(e)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"readonly",{get:function(){return this._readonly},set:function(e){this._readonly=this._coerceBooleanProperty(e)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this._value},set:function(e){var t=this;this.testValueChange(this._value,e)&&setTimeout((function(){t._value=e,t.writeValue(e)}),10)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"tabIndex",{get:function(){return this.disabled?-1:this._tabIndex},set:function(e){void 0!==e&&(this._tabIndex=e)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"resettable",{get:function(){return this._resettable},set:function(e){this._resettable=this._coerceBooleanProperty(e)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ariaInvalid",{get:function(){return this._isErrorState()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"classMaterial",{get:function(){return"material"===this.styleMode},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"classNostyle",{get:function(){return"noStyle"===this.styleMode},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"select2above",{get:function(){return"above"===this.listPosition},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"resultsElement",{get:function(){return this.resultContainer.nativeElement},enumerable:!1,configurable:!0}),e.prototype.ngOnInit=function(){var e=this;this._viewportRuler.change(100).subscribe((function(){e.isOpen&&e.triggerRect()}));var t=u.getOptionsByValue(this.data,this._control?this._control.value:this.value,this.multiple);null!==t&&(this.option=t),Array.isArray(t)||(this.hoveringValue=this.value),this.updateSearchBox()},e.prototype.ngAfterViewInit=function(){this.selectionElement=this.selection.nativeElement,this.triggerRect()},e.prototype.ngDoCheck=function(){this.updateSearchBox(),this._dirtyCheckNativeValue(),this._triggerRect&&this.overlayWidth!==this._triggerRect.width&&(this.overlayWidth=this._triggerRect.width)},e.prototype.ngOnDestroy=function(){window.document.body.removeEventListener("click",this._clickDetectionFc)},e.prototype.updateSearchBox=function(){var e=!this.customSearchEnabled&&u.isSearchboxHiddex(this.data,this._minCountForSearch);this.isSearchboxHidden!==e&&(this.isSearchboxHidden=e)},e.prototype.hideSearch=function(){var e=h.indexOf(this.displaySearchStatus)>-1?this.displaySearchStatus:"default";return"default"===e&&this.isSearchboxHidden||"hidden"===e},e.prototype.getOptionStyle=function(e){return"select2-results__option "+(e.hide?"select2-results__option--hide ":"")+(e.value===this.hoveringValue?"select2-results__option--highlighted ":"")+(e.classes||"")},e.prototype.mouseenter=function(e){e.disabled||(this.hoveringValue=e.value)},e.prototype.click=function(e){this.testSelection(e)&&this.select(e)},e.prototype.reset=function(e){this.select(null),e.preventDefault(),e.stopPropagation()},e.prototype.prevChange=function(e){e.stopPropagation()},e.prototype.toggleOpenAndClose=function(){var e=this;this.disabled||(this._focus(!0),this.isOpen=!this.isOpen,this.isOpen?(this.triggerRect(),this.innerSearchText="",this.updateFilteredData(),this._focusSearchboxOrResultsElement(),setTimeout((function(){if(e.option){var t=e.option instanceof Array?e.option[0]:e.option;e.updateScrollFromOption(t)}else e.resultsElement.scrollTop=0})),this.open.emit(this)):this.close.emit(this),this.isOpen&&!this._clickDetection&&setTimeout((function(){window.document.body.addEventListener("click",e._clickDetectionFc,!1),e._clickDetection=!0}),200),this._changeDetectorRef.markForCheck())},e.prototype.hasTemplate=function(e,t){return this.templates instanceof n.TemplateRef||this.templates&&this.templates[e.templateId]instanceof n.TemplateRef||this.templates&&this.templates[t]instanceof n.TemplateRef},e.prototype.getTemplate=function(e,t){if(this.hasTemplate(e,t))return this.templates[e.templateId]||this.templates[t]||this.templates},e.prototype.triggerRect=function(){this._triggerRect=this.selectionElement.getBoundingClientRect()},e.prototype.testSelection=function(e){return!e.disabled&&!(this.multiple&&this.limitSelection&&!(Array.isArray(this._value)&&this._value.length<this.limitSelection))},e.prototype.testValueChange=function(e,t){var n,o;if(null==e&&null==t||e===t)return!1;if(this.multiple&&e&&e.length&&t&&t.length&&e.length===t.length){try{for(var l=p(e),r=l.next();!r.done;r=l.next()){var i=r.value;if(!(t.indexOf(i)>-1))return!0}}catch(e){n={error:e}}finally{try{r&&!r.done&&(o=l.return)&&o.call(l)}finally{if(n)throw n.error}}return!1}return!0},e.prototype.updateFilteredData=function(){var e=this;setTimeout((function(){var t=e.data;e.multiple&&e.hideSelectedItems&&(t=u.getFilteredSelectedData(t,e.option)),!e.customSearchEnabled&&e.searchText&&e.searchText.length>=+e.minCharForSearch&&(t=u.getFilteredData(t,e.searchText,e.editPattern)),u.valueIsNotInFilteredData(t,e.hoveringValue)&&(e.hoveringValue=u.getFirstAvailableOption(t)),e.filteredData=t,e._changeDetectorRef.markForCheck()}))},e.prototype.clickDetection=function(e){this.ifParentContainsClass(e.target,"selection")?this.isOpen&&!this.ifParentContainsId(e.target,this._id)&&(this.toggleOpenAndClose(),this.clickExit()):(this.isOpen&&!this.ifParentContainsClass(e.target,"select2-dropdown")&&this.toggleOpenAndClose(),this.ifParentContainsId(e.target,this._id)||this.clickExit())},e.prototype.clickExit=function(){this._focus(!1),window.document.body.removeEventListener("click",this._clickDetectionFc),this._clickDetection=!1},e.prototype.ifParentContainsClass=function(e,t){return null!==this.getParentElementByClass(e,t)},e.prototype.ifParentContainsId=function(e,t){return null!==this.getParentElementById(e,t)},e.prototype.getParentElementByClass=function(e,t){return this.containClasses(e,t.trim().split(/\s+/))?e:e.parentElement?this.getParentElementByClass(e.parentElement,t):null},e.prototype.getParentElementById=function(e,t){return e.id===t?e:e.parentElement?this.getParentElementById(e.parentElement,t):null},e.prototype.containClasses=function(e,t){var n,o;if(!e.classList)return!1;try{for(var l=p(t),r=l.next();!r.done;r=l.next()){var i=r.value;if(!e.classList.contains(i))return!1}}catch(e){n={error:e}}finally{try{r&&!r.done&&(o=l.return)&&o.call(l)}finally{if(n)throw n.error}}return!0},e.prototype.focusin=function(){this.disabled||this._focus(!0)},e.prototype.focusout=function(){this.selectionElement&&!this.selectionElement.classList.contains("select2-focused")&&(this._focus(!1),this._onTouched())},e.prototype.moveUp=function(){this.updateScrollFromOption(u.getPreviousOption(this.filteredData,this.hoveringValue))},e.prototype.moveDown=function(){this.updateScrollFromOption(u.getNextOption(this.filteredData,this.hoveringValue))},e.prototype.updateScrollFromOption=function(e){if(e){this.hoveringValue=e.value;var t=this.results.find((function(t){return t.nativeElement.innerText.trim()===e.label}));if(t){this.resultsElement.scrollTop=0;var n=this.resultsElement.getBoundingClientRect(),o=t.nativeElement.getBoundingClientRect();this.resultsElement.scrollTop=o.top-n.top}}},e.prototype.selectByEnter=function(){if(this.hoveringValue){var e=u.getOptionByValue(this.data,this.hoveringValue);this.select(e)}},e.prototype.select=function(e){var t;if(null!==e)if(this.multiple){var n=this.option,o=n.findIndex((function(t){return t.value===e.value}));-1===o?n.push(e):n.splice(o,1),t=this.option.map((function(e){return e.value}))}else this.option=e,this.isOpen&&(this.isOpen=!1,this.close.emit(this),this.selectionElement&&this.selectionElement.focus()),t=this.option.value;else this.option=null;this.multiple&&this.hideSelectedItems&&this.updateFilteredData(),this._control?this._onChange(t):this._value=t,this.update.emit({component:this,value:t,options:Array.isArray(this.option)?this.option:this.option?[this.option]:null})},e.prototype.keyDown=function(e){this._testKey(e,["ArrowDown",40])?(this.moveDown(),e.preventDefault()):this._testKey(e,["ArrowUp",38])?(this.moveUp(),e.preventDefault()):this._testKey(e,["Enter",13])?(this.selectByEnter(),e.preventDefault()):this._testKey(e,["Escape","Tab",9,27])&&this.isOpen&&(this.toggleOpenAndClose(),this._focus(!1))},e.prototype.openKey=function(e){this._testKey(e,["ArrowDown","ArrowUp","Enter",40,38,13])?(this.toggleOpenAndClose(),e.preventDefault()):this._testKey(e,["Escape","Tab",9,27])&&(this._focus(!1),this._onTouched())},e.prototype.trackBy=function(e,t){return t.value},e.prototype.searchUpdate=function(e){this.searchText=e.target.value,this.updateFilteredData()},e.prototype.isSelected=function(e){return u.isSelected(this.option,e,this.multiple)},e.prototype.isDisabled=function(e){return e.disabled?"true":"false"},e.prototype.removeSelection=function(e,t){u.removeSelection(this.option,t),this.multiple&&this.hideSelectedItems&&this.updateFilteredData();var n=this.option.map((function(e){return e.value}));this._control?this._onChange(n):this._value=n,this.update.emit({component:this,value:n,options:Array.isArray(this.option)?this.option:this.option?[this.option]:null}),this.removeOption.emit({component:this,value:n,removedOption:t}),e.preventDefault(),e.stopPropagation(),this.isOpen&&this._focusSearchboxOrResultsElement()},e.prototype.writeValue=function(e){this._setSelectionByValue(e)},e.prototype.registerOnChange=function(e){this._onChange=e},e.prototype.registerOnTouched=function(e){this._onTouched=e},e.prototype.setDisabledState=function(e){this.disabled=e},e.prototype._isErrorState=function(){var e=this._control&&this._control.invalid,t=this._control&&this._control.touched,n=this._parentFormGroup&&this._parentFormGroup.submitted||this._parentForm&&this._parentForm.submitted;return!(!e||!t&&!n)},e.prototype._testKey=function(e,t){return void 0===t&&(t=[]),this._isKey(this._getKey(e),t)},e.prototype._getKey=function(e){var t;return void 0!==e.key?t=e.key:void 0!==e.keyIdentifier?t=e.keyIdentifier:void 0!==e.keyCode?t=e.keyCode:e.preventDefault(),t},e.prototype._isKey=function(e,t){return void 0===t&&(t=[]),!!(t&&t.length>0)&&-1!==t.indexOf(e)},e.prototype._setSelectionByValue=function(e){var t=this;if(this.option||null!=e){var n=Array.isArray(e);if(this.multiple&&e&&!n)throw new Error("Non array value.");this.data?this.multiple?(this.option=[],n&&u.getOptionsByValue(this.data,e,this.multiple).map((function(e){return t.select(e)}))):this.select(u.getOptionByValue(this.data,e)):this._control&&this._control.viewToModelUpdate(e),this._changeDetectorRef.markForCheck()}},e.prototype._dirtyCheckNativeValue=function(){var e=this.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this._stateChanges.next())},e.prototype._coerceBooleanProperty=function(e){return null!=e&&""+e!="false"},e.prototype._focusSearchboxOrResultsElement=function(){var e=this;this.isSearchboxHidden?this.resultsElement&&this.resultsElement.focus():setTimeout((function(){e.searchInput&&e.searchInput.nativeElement&&(console.log(e.searchInput.nativeElement),e.searchInput.nativeElement.focus())}))},e.prototype._focus=function(e){!e&&this.focused?(this.focused=e,this.blur.emit(this)):e&&!this.focused&&(this.focused=e,this.focus.emit(this))},e.prototype.onScroll=function(e){this.scroll.emit({component:this,way:e,search:this.innerSearchText})},e}();f.decorators=[{type:n.Component,args:[{selector:"select2",template:'<div class="select2-label"\n (click)="toggleOpenAndClose()">\n <ng-content select="select2-label"></ng-content>\n <span *ngIf="required"\n class="select2-required"></span>\n</div>\n<div class="select2 select2-container select2-container--default select2-container--focus"\n [class.select2-container--below]="!select2above"\n [class.select2-container--above]="select2above"\n [class.select2-container--open]="isOpen"\n [class.select2-container--disabled]="disabled">\n <div class="selection"\n #selection\n #trigger="cdkOverlayOrigin"\n [attr.tabindex]="!this.isOpen ? tabIndex : \'-1\'"\n (click)="toggleOpenAndClose()"\n (focus)="focusin()"\n (blur)="focusout()"\n (keydown)="openKey($event)"\n cdkOverlayOrigin\n [class.select2-focused]="focused">\n <div class="select2-selection"\n [class.select2-selection--multiple]="multiple"\n [class.select2-selection--single]="!multiple"\n role="combobox">\n <span *ngIf="!multiple"\n class="select2-selection__rendered"\n [title]="select2Option?.label || \'\'">\n <span *ngIf="!select2Option">&nbsp;</span>\n <span *ngIf="select2Option"\n [innerHTML]="select2Option.label"></span>\n <span [class.select2-selection__placeholder__option]="option"\n class="select2-selection__placeholder">{{placeholder}}</span>\n </span>\n <span (click)="reset($event)"\n *ngIf="!multiple && resettable && select2Option"\n class="select2-selection__reset"\n role="presentation">×</span>\n <span *ngIf="!multiple"\n class="select2-selection__arrow"\n role="presentation">\n </span>\n <ul *ngIf="multiple"\n class="select2-selection__rendered">\n <span [class.select2-selection__placeholder__option]="select2Options?.length > 0"\n class="select2-selection__placeholder">{{placeholder}}</span>\n <li *ngFor="let op of option; trackBy: trackBy"\n class="select2-selection__choice"\n [title]="op.label">\n <span (click)="removeSelection($event, op)"\n class="select2-selection__choice__remove"\n role="presentation">×</span>\n <span [innerHTML]="op.label"></span>\n </li>\n </ul>\n </div>\n </div>\n <ng-container *ngIf="!overlay">\n <ng-container *ngTemplateOutlet="containerTemplate"></ng-container>\n </ng-container>\n\n <div class="select2-subscript-wrapper">\n <ng-content select="select2-hint"></ng-content>\n </div>\n</div>\n\n<ng-template cdkConnectedOverlay\n cdkConnectedOverlayHasBackdrop\n cdkConnectedOverlayBackdropClass="select2-overlay-backdrop"\n [cdkConnectedOverlayOrigin]="trigger"\n [cdkConnectedOverlayOpen]="this.isOpen && overlay"\n [cdkConnectedOverlayMinWidth]="overlayWidth"\n (backdropClick)="toggleOpenAndClose()">\n <ng-container *ngTemplateOutlet="containerTemplate"></ng-container>\n</ng-template>\n\n<ng-template #containerTemplate>\n <div class="select2-container select2-container--default select2-container-dropdown"\n [class.select2-container--open]="isOpen"\n [class.select2-overlay]="overlay">\n <div class="select2-dropdown"\n [class.select2-dropdown--below]="!select2above"\n [class.select2-dropdown--above]="select2above">\n <div class="select2-search select2-search--dropdown"\n [class.select2-search--hide]="hideSearch()">\n <input #searchInput\n [id]="id + \'-search-field\'"\n [value]="searchText"\n (keydown)="keyDown($event)"\n (keyup)="searchUpdate($event)"\n (change)="prevChange($event)"\n class="select2-search__field"\n type="search"\n role="textbox"\n autocomplete="off"\n autocorrect="off"\n autocapitalize="off"\n spellcheck="false"\n [attr.tabindex]="this.isOpen ? tabIndex : \'-1\'">\n </div>\n <div class="select2-results">\n <ul #results\n class="select2-results__options"\n [style.max-height]="resultMaxHeight"\n role="tree"\n tabindex="-1"\n infiniteScroll\n [infiniteScrollDisabled]="!infiniteScroll && !isOpen"\n [infiniteScrollDistance]="infiniteScrollDistance"\n [infiniteScrollThrottle]="infiniteScrollThrottle"\n [infiniteScrollContainer]="results"\n (scrolled)="onScroll(\'down\')"\n (scrolledUp)="onScroll(\'up\')"\n (keydown)="keyDown($event)">\n <ng-container *ngFor="let groupOrOption of filteredData; index as i; trackBy:trackBy">\n <li *ngIf="groupOrOption.options"\n class="select2-results__option"\n role="group">\n <strong *ngIf="!hasTemplate(groupOrOption, \'group\'); else optGroup"\n [attr.class]="\'select2-results__group\' + (groupOrOption.classes ? \' \' + groupOrOption.classes : \'\')"\n [innerHTML]="groupOrOption.label"></strong>\n <ng-template #optGroup>\n <ng-container\n *ngTemplateOutlet="getTemplate(groupOrOption, \'group\'); context: groupOrOption">\n </ng-container>\n </ng-template>\n\n <ul class="select2-results__options select2-results__options--nested">\n <li *ngFor="let option of groupOrOption.options; index as j; trackBy:trackBy"\n #result\n [id]="option.id || id + \'-option-\' + i + \'-\' + j"\n [class]="getOptionStyle(option)"\n role="treeitem"\n [attr.aria-selected]="isSelected(option)"\n [attr.aria-disabled]="isDisabled(option)"\n (mouseenter)="mouseenter(option)"\n (click)="click(option)">\n <div *ngIf="!hasTemplate(option, \'option\'); else liGroup"\n class="select2-label-content"\n [innerHTML]="option.label"></div>\n <ng-template #liGroup>\n <ng-container\n *ngTemplateOutlet="getTemplate(option, \'option\'); context: option">\n </ng-container>\n </ng-template>\n </li>\n </ul>\n </li>\n <li *ngIf="!groupOrOption.options"\n #result\n [id]="groupOrOption.id || id + \'-option-\' + i"\n [class]="getOptionStyle(groupOrOption)"\n role="treeitem"\n [attr.aria-selected]="isSelected(groupOrOption)"\n [attr.aria-disabled]="isDisabled(groupOrOption)"\n (mouseenter)="mouseenter(groupOrOption)"\n (click)="click(groupOrOption)">\n <div *ngIf="!hasTemplate(groupOrOption, \'option\'); else li"\n [innerHTML]="groupOrOption.label"\n class="select2-label-content"></div>\n <ng-template #li>\n <ng-container\n *ngTemplateOutlet="getTemplate(groupOrOption, \'option\'); context: groupOrOption">\n </ng-container>\n </ng-template>\n </li>\n </ng-container>\n <li class="select2-no-result select2-results__option"\n *ngIf="!filteredData?.length && noResultMessage"\n [innerHTML]="noResultMessage"></li>\n </ul>\n </div>\n </div>\n </div>\n</ng-template>\n',styles:['.select2-label{color:#000;color:var(--select2-label-text-color,#000)}.select2-container{box-sizing:border-box;display:inline-block;margin:0;position:relative;vertical-align:middle;width:100%}.select2-container .select2-container-dropdown{opacity:0;position:absolute;width:0}.select2-container .select2-selection--single{-moz-user-select:none;-ms-user-select:none;-webkit-user-select:none;box-sizing:border-box;cursor:pointer;display:block;height:28px;user-select:none}.select2-container .select2-selection--single .select2-selection__rendered{display:block;flex:1 1 auto;overflow:hidden;padding:0 0 0 8px;text-overflow:ellipsis;white-space:nowrap}.select2-container .select2-selection--single .select2-selection__clear{position:relative}.select2-container .select2-selection--multiple{-moz-user-select:none;-ms-user-select:none;-webkit-user-select:none;box-sizing:border-box;cursor:pointer;display:block;min-height:32px;user-select:none}.select2-container .select2-selection--multiple .select2-selection__rendered{display:inline-block;overflow:hidden;padding-left:8px;text-overflow:ellipsis;white-space:nowrap}.select2-container .select2-search--inline{float:left}.select2-container .select2-search--inline .select2-search__field{border:none;box-sizing:border-box;font-size:100%;margin-top:5px;padding:0}.select2-container .select2-search--inline .select2-search__field::-webkit-search-cancel-button{-webkit-appearance:none}.select2-dropdown{background:#fff;background:var(--select2-dropdown-background,#fff);border:1px solid #aaa;border:1px solid var(--select2-dropdown-border-color,#aaa);border-radius:4px;border-radius:var(--select2-selection-border-radius,4px);box-sizing:border-box;display:block;height:0;overflow:hidden;position:absolute;width:100%;z-index:1051}.select2-dropdown .select2-label-content{display:contents}.select2-results{display:block}.select2-results__options{list-style:none;margin:0;padding:0}.select2-results__option{-moz-user-select:none;-ms-user-select:none;-webkit-user-select:none;color:#000;color:var(--select2-option-text-color,#000);padding:6px;user-select:none}.select2-results__option[aria-selected]{cursor:pointer}.select2-container.select2-container-dropdown.select2-container--open{opacity:1;width:100%}.select2-container--open .select2-dropdown{height:auto;overflow:auto}.select2-container--open .select2-dropdown--above{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0;bottom:27px;display:flex;flex-direction:column-reverse}.select2-container--open .select2-dropdown--below{border-top:none;border-top-left-radius:0;border-top-right-radius:0}.select2-search--dropdown{display:block;padding:4px}.select2-search--dropdown .select2-search__field{box-sizing:border-box;padding:4px;width:100%}.select2-search--dropdown .select2-search__field::-webkit-search-cancel-button{-webkit-appearance:none}.select2-search--dropdown.select2-search--hide{display:none}.select2-close-mask{background:#fff;border:0;display:block;filter:alpha(opacity=0);height:auto;left:0;margin:0;min-height:100%;min-width:100%;opacity:0;padding:0;position:fixed;top:0;width:auto;z-index:99}.select2-required:before{color:red;color:var(--select2-required-color,red);content:"*"}.select2-hidden-accessible{border:0!important;clip:rect(0 0 0 0)!important;height:1px!important;margin:-1px!important;overflow:hidden!important;padding:0!important;position:absolute!important;width:1px!important}.select2-container--default .select2-selection--single{background:#fff;background:var(--select2-selection-background,#fff);border:1px solid #aaa;border:1px solid var(--select2-selection-border-color,#aaa);border-radius:4px;border-radius:var(--select2-selection-border-radius,4px);display:flex}.select2-container--default .select2-selection--single .select2-selection__rendered{color:#444;color:var(--select2-selection-text-color,#444);line-height:28px}.select2-container--default .select2-selection--single .select2-selection__clear{cursor:pointer;float:right;font-weight:700}.select2-container--default .select2-selection--single .select2-selection__placeholder{color:#999;color:var(--select2-placeholder-color,#999)}.select2-container--default .select2-selection--single .select2-selection__placeholder span{overflow:hidden;text-overflow:ellipsis;text-overflow:var(--select2-placeholder-overflow,ellipsis);white-space:nowrap}.select2-container--default .select2-selection--single .select2-selection__placeholder__option{display:none}.select2-container--default .select2-selection--single .select2-selection__arrow,.select2-container--default .select2-selection--single .select2-selection__reset{align-items:center;display:flex;justify-content:center;width:20px}.select2-container--default .select2-selection--single .select2-selection__arrow:before{border-bottom:0 solid var(--select2-arrow-color,#888);border-color:#888 transparent;border-left:4px solid transparent;border-right:4px solid transparent;border-top:5px solid var(--select2-arrow-color,#888);content:" ";height:0;width:0}.select2-container--default .select2-selection--single .select2-selection__reset{color:#999;color:var(--select2-reset-color,#999)}.select2-container--default.select2-container--disabled .select2-selection--single{background:#eee;background:var(--select2-selection-disabled-background,#eee);cursor:default}.select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__clear{display:none}.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow:before{border-bottom-color:var(--select2-arrow-color,#888);border-color:transparent transparent #888;border-right-color:transparent;border-top-color:transparent;border-width:0 4px 5px}.select2-container--default .select2-selection--multiple{background:#fff;background:var(--select2-selection-background,#fff);border:1px solid #aaa;border:1px solid var(--select2-selection-border-color,#aaa);border-radius:4px;border-radius:var(--select2-selection-border-radius,4px);cursor:text}.select2-container--default .select2-selection--multiple .select2-selection__rendered{box-sizing:border-box;flex:1 1 auto;list-style:none;margin:0;padding:0 5px;width:100%}.select2-container--default .select2-selection--multiple .select2-selection__rendered li{list-style:none}.select2-container--default .select2-selection--multiple .select2-selection__placeholder{color:#999;color:var(--select2-placeholder-color,#999);display:block;float:left;margin-top:5px;overflow:hidden;text-overflow:ellipsis;text-overflow:var(--select2-placeholder-overflow,ellipsis);white-space:nowrap;width:100%}.select2-container--default .select2-selection--multiple .select2-selection__placeholder__option{display:none}.select2-container--default .select2-selection--multiple .select2-selection__clear{cursor:pointer;float:right;font-weight:700;margin-right:10px;margin-top:5px}.select2-container--default .select2-selection--multiple .select2-selection__choice{background:#e4e4e4;background:var(--select2-selection-choice-background,#e4e4e4);border:1px solid #aaa;border:1px solid var(--select2-selection-choice-border-color,#aaa);border-radius:4px;border-radius:var(--select2-selection-border-radius,4px);color:#000;color:var(--select2-selection-choice-text-color,#000);cursor:default;float:left;margin-right:5px;margin-top:5px;padding:0 5px}.select2-container--default .select2-selection--multiple .select2-selection__choice__remove{color:#999;color:var(--select2-selection-choice-close-color,#999);cursor:pointer;display:inline-block;font-weight:700;margin-right:2px}.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover{color:#333;color:var(--select2-selection-choice-hover-close-color,#333)}.select2-container--default.select2-container--focused .select2-selection--multiple,.select2-container--default:not(.select2-container--open) .select2-focused .select2-selection--multiple,.select2-container--default:not(.select2-container--open) .select2-focused .select2-selection--single{border:1px solid #000;border:1px solid var(--select2-selection-focus-border-color,#000);outline:none}.select2-container--default.select2-container--disabled .select2-selection--multiple{background:#eee;background:var(--select2-selection-disabled-background,#eee);cursor:default}.select2-container--default.select2-container--disabled .select2-selection__choice__remove{display:none}.select2-container--default.select2-container--open.select2-container--above .select2-selection--multiple,.select2-container--default.select2-container--open.select2-container--above .select2-selection--single{border-top-left-radius:0;border-top-right-radius:0}.select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple,.select2-container--default.select2-container--open.select2-container--below .select2-selection--single{border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--default .select2-search--dropdown .select2-search__field{background:#fff;background:1px solid var(--select2-search-background,#fff);border:1px solid #aaa;border:1px solid var(--select2-search-border-color,#aaa);border-radius:0;border-radius:var(--select2-search-border-radius,0)}.select2-container--default .select2-search--inline .select2-search__field{-webkit-appearance:textfield;background:transparent;border:none;box-shadow:none;outline:none}.select2-container--default .select2-results>.select2-results__options{overflow-y:auto}.select2-container--default .select2-results__option[role=group]{padding:0}.select2-container--default .select2-results__option[aria-disabled=true]{background:transparent;background:var(--select2-option-disabled-background,transparent);color:#999;color:var(--select2-option-disabled-text-color,#999)}.select2-container--default .select2-results__option[aria-selected=true]{background:#ddd;background:var(--select2-option-selected-background,#ddd);color:#000;color:var(--select2-option-selected-text-color,#000)}.select2-container--default .select2-results__option .select2-results__option{padding-left:1em}.select2-container--default .select2-results__option .select2-results__option .select2-results__group{padding-left:0}.select2-container--default .select2-results__option .select2-results__option .select2-results__option{margin-left:-1em;padding-left:2em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-2em;padding-left:3em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-3em;padding-left:4em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-4em;padding-left:5em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-5em;padding-left:6em}.select2-container--default .select2-results__option--highlighted[aria-selected]{background:#5897fb;background:var(--select2-option-highlighted-background,#5897fb);color:#fff;color:var(--select2-option-highlighted-text-color,#fff)}.select2-container--default .select2-results__option--hide{display:none}.select2-container--default .select2-results__group{background:transparent;background:var(--select2-option-group-background,transparent);color:grey;color:var(--select2-option-group-text-color,grey);cursor:default;display:block;padding:6px}.select2-no-result{color:#888;color:var(--select2-no-result-color,#888);font-style:italic;font-style:var(--select2-font-style-color,italic)}:host.nostyle .select2-dropdown{border-color:transparent}:host.nostyle .select2-container--default .select2-focused .select2-selection--multiple,:host.nostyle .select2-container--default .select2-focused .select2-selection--single,:host.nostyle .select2-container--default:not(.select2-container--open) .select2-focused .select2-selection--multiple,:host.nostyle .select2-container--default:not(.select2-container--open) .select2-focused .select2-selection--single,:host.nostyle .select2-selection--multiple,:host.nostyle .select2-selection--single{background:transparent;border-color:transparent}:host.material{display:inline-block;width:300px}:host.material>.select2-container{padding-bottom:1.29688em;vertical-align:inherit}:host.material>.select2-container .selection{align-items:baseline;border-top:.84375em solid transparent;display:inline-flex;height:auto;padding:.4375em 0;width:100%}:host.material .select2-container--default .select2-selection--multiple,:host.material .select2-container--default .select2-selection--single{border:0;border-radius:0;box-sizing:border-box;height:24px;width:100%}:host.material .select2-container--default .select2-selection--multiple:before,:host.material .select2-container--default .select2-selection--single:before{background:#ddd;background:var(--select2-material-underline,#ddd);bottom:1.65em;content:" ";display:block;height:1px;position:absolute;width:100%}:host.material .select2-container--default .select2-selection--multiple:after,:host.material .select2-container--default .select2-selection--single:after{background:#5a419e;background:var(--select2-material-underline-active,#5a419e);bottom:1.63em;content:" ";display:block;height:2px;left:50%;position:absolute;transition:none;width:0}:host.material .select2-container--default .select2-selection--multiple .select2-selection__rendered,:host.material .select2-container--default .select2-selection--single .select2-selection__rendered{line-height:inherit;padding-left:1px}:host.material .select2-container--default .select2-selection--multiple .select2-selection__placeholder,:host.material .select2-container--default .select2-selection--single .select2-selection__placeholder{color:rgba(0,0,0,.38);color:var(--select2-material-placeholder-color,rgba(0,0,0,.38));display:block;left:0;position:absolute;top:20px;transform-origin:0 21px;transition:transform .3s}:host.material .select2-container--default .select2-container--open{bottom:1.6em;left:0}:host.material .select2-container--default .select2-selection__placeholder__option{transform:translateY(-1.5em) scale(.75) perspective(100px) translateZ(.001px);width:133.33333%}:host.material .select2-container--default .select2-selection__arrow{top:20px}:host.material .select2-container--default.select2-container--open .select2-selection--multiple:after,:host.material .select2-container--default.select2-container--open .select2-selection--single:after,:host.material .select2-container--default .select2-focused .select2-selection--multiple:after,:host.material .select2-container--default .select2-focused .select2-selection--single:after{left:0;transition:width .3s cubic-bezier(.12,1,.77,1),left .3s cubic-bezier(.12,1,.77,1);width:100%}:host.material .select2-container--default .select2-dropdown{border:0;border-radius:0;box-shadow:0 5px 5px rgba(0,0,0,.5)}:host.material .select2-container--default .select2-results__option--highlighted[aria-selected],:host.material .select2-container--default .select2-results__option[aria-selected=true]{background:rgba(0,0,0,.04);background:var(--select2-material-option-selected-background,rgba(0,0,0,.04));color:#000;color:var(--select2-material-option-highlighted-text-color,#000)}:host.material .select2-container--default .select2-results__option[aria-selected=true]{color:#ff5722;color:var(--select2-material-option-selected-text-color,#ff5722)}:host.material .select2-container--default.select2-container--disabled .select2-selection--multiple,:host.material .select2-container--default.select2-container--disabled .select2-selection--single{background:transparent}:host.material .select2-container--default.select2-container--disabled .select2-selection--multiple:before,:host.material .select2-container--default.select2-container--disabled .select2-selection--single:before{background:linear-gradient(90deg,rgba(0,0,0,.26) 0,rgba(0,0,0,.26) 33%,transparent 0);background:var(--select2-material-underline-disabled,linear-gradient(90deg,rgba(0,0,0,.26) 0,rgba(0,0,0,.26) 33%,transparent 0));background-position:0 bottom;background-repeat:repeat-x;background-size:4px 1px}:host.material.ng-invalid.ng-touched .select2-container--default .select2-selection--multiple:after,:host.material.ng-invalid.ng-touched .select2-container--default .select2-selection--multiple:before,:host.material.ng-invalid.ng-touched .select2-container--default .select2-selection--single:after,:host.material.ng-invalid.ng-touched .select2-container--default .select2-selection--single:before{background:red;background:var(--select2-material-underline-invalid,red)}:host.material:not(.select2-container--open) .select2-focused .select2-selection--multiple,:host.material:not(.select2-container--open) .select2-focused .select2-selection--single{border:0}:host.material .select2-subscript-wrapper{color:#888;color:var(--select2-hint-text-color,#888);font-size:75%;position:absolute;top:calc(100% - 1.72917em)}::ng-deep .select2-overlay-backdrop{background:rgba(0,0,0,.32);background:var(--select2-overlay-backdrop,transparent)}@supports (-moz-appearance:none){select2.material .select2-container--default .select2-selection--multiple,select2.material .select2-container--default .select2-selection--single{height:26px}}@supports (-ms-scroll-limit:0){select2.material .select2-container--default .select2-selection--multiple,select2.material .select2-container--default .select2-selection--single{height:25px}}']}]}],f.ctorParameters=function(){return[{type:t.ViewportRuler},{type:n.ChangeDetectorRef},{type:o.NgForm,decorators:[{type:n.Optional}]},{type:o.FormGroupDirective,decorators:[{type:n.Optional}]},{type:o.NgControl,decorators:[{type:n.Self},{type:n.Optional}]},{type:String,decorators:[{type:n.Attribute,args:["tabindex"]}]}]},f.propDecorators={data:[{type:n.Input}],minCharForSearch:[{type:n.Input}],displaySearchStatus:[{type:n.Input}],placeholder:[{type:n.Input}],customSearchEnabled:[{type:n.Input}],limitSelection:[{type:n.Input}],listPosition:[{type:n.Input}],multiple:[{type:n.Input}],overlay:[{type:n.Input}],styleMode:[{type:n.Input}],noResultMessage:[{type:n.Input}],infiniteScrollDistance:[{type:n.Input}],infiniteScrollThrottle:[{type:n.Input}],infiniteScroll:[{type:n.Input}],editPattern:[{type:n.Input}],templates:[{type:n.Input}],resultMaxHeight:[{type:n.Input}],update:[{type:n.Output}],open:[{type:n.Output}],close:[{type:n.Output}],focus:[{type:n.Output}],blur:[{type:n.Output}],search:[{type:n.Output}],scroll:[{type:n.Output}],removeOption:[{type:n.Output}],minCountForSearch:[{type:n.Input}],id:[{type:n.Input},{type:n.HostBinding,args:["id"]}],required:[{type:n.Input}],disabled:[{type:n.Input}],hideSelectedItems:[{type:n.Input}],readonly:[{type:n.Input}],value:[{type:n.Input}],tabIndex:[{type:n.Input}],resettable:[{type:n.Input}],ariaInvalid:[{type:n.HostBinding,args:["attr.aria-invalid"]}],classMaterial:[{type:n.HostBinding,args:["class.material"]}],classNostyle:[{type:n.HostBinding,args:["class.nostyle"]}],select2above:[{type:n.HostBinding,args:["class.select2-above"]}],selection:[{type:n.ViewChild,args:["selection",{static:!0}]}],resultContainer:[{type:n.ViewChild,args:["results"]}],results:[{type:n.ViewChildren,args:["result"]}],searchInput:[{type:n.ViewChild,args:["searchInput"]}]};var g=function(){};g.decorators=[{type:n.Directive,args:[{selector:"select2-hint"}]}];var b=function(){};b.decorators=[{type:n.Directive,args:[{selector:"select2-label"}]}];var m=function(){};m.decorators=[{type:n.NgModule,args:[{imports:[i.CommonModule,o.FormsModule,r.OverlayModule,o.ReactiveFormsModule,s.InfiniteScrollModule],declarations:[g,b,f],exports:[o.FormsModule,o.ReactiveFormsModule,g,b,f]}]}],e.Select2=f,e.Select2Hint=g,e.Select2Label=b,e.Select2Module=m,e.Select2Utils=u,e.defaultMinCountForSearch=6,e.protectRegexp=c,e.timeout=200,e.unicodePatterns=a,Object.defineProperty(e,"__esModule",{value:!0})}));
//# sourceMappingURL=ng-select2-component.umd.min.js.map
# Changelog of ng-select2
## V8.0.2 (2021-07-01)
### Corrections
- fix open event with overlay
- fix ExpressionChangedAfterItHasBeenCheckedError
## V8.0.1 (2021-07-01)
### Corrections
- fix overlay size on reopen after resize

@@ -25,3 +32,3 @@

### Corrections
- fix placeholder overflow (ellipsis)

@@ -28,0 +35,0 @@

@@ -92,2 +92,3 @@ import { ViewportRuler } from '@angular/cdk/scrolling';

get select2above(): boolean;
overlayWidth: number;
_triggerRect: ClientRect;

@@ -94,0 +95,0 @@ private _minCountForSearch?;

@@ -1,1 +0,1 @@

{"__symbolic":"module","version":4,"metadata":{"Select2Group":{"__symbolic":"interface"},"Select2Option":{"__symbolic":"interface"},"Select2Value":{"__symbolic":"interface"},"Select2UpdateValue":{"__symbolic":"interface"},"Select2Data":{"__symbolic":"interface"},"Select2UpdateEvent":{"__symbolic":"interface"},"Select2SearchEvent":{"__symbolic":"interface"},"Select2RemoveEvent":{"__symbolic":"interface"},"Select2ScrollEvent":{"__symbolic":"interface"},"timeout":200,"unicodePatterns":{"__symbolic":"error","message":"Expression form not supported","line":4,"character":17,"module":"./lib/select2-const"},"defaultMinCountForSearch":6,"protectRegexp":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"RegExp"},"arguments":["[\\-\\[\\]\\/\\{\\}\\(\\)\\*\\+\\?\\.\\\\\\^\\$\\|]","g"]},"Select2":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":21,"character":1},"arguments":[{"selector":"select2","template":"<div class=\"select2-label\"\n (click)=\"toggleOpenAndClose()\">\n <ng-content select=\"select2-label\"></ng-content>\n <span *ngIf=\"required\"\n class=\"select2-required\"></span>\n</div>\n<div class=\"select2 select2-container select2-container--default select2-container--focus\"\n [class.select2-container--below]=\"!select2above\"\n [class.select2-container--above]=\"select2above\"\n [class.select2-container--open]=\"isOpen\"\n [class.select2-container--disabled]=\"disabled\">\n <div class=\"selection\"\n #selection\n #trigger=\"cdkOverlayOrigin\"\n [attr.tabindex]=\"!this.isOpen ? tabIndex : '-1'\"\n (click)=\"toggleOpenAndClose()\"\n (focus)=\"focusin()\"\n (blur)=\"focusout()\"\n (keydown)=\"openKey($event)\"\n cdkOverlayOrigin\n [class.select2-focused]=\"focused\">\n <div class=\"select2-selection\"\n [class.select2-selection--multiple]=\"multiple\"\n [class.select2-selection--single]=\"!multiple\"\n role=\"combobox\">\n <span *ngIf=\"!multiple\"\n class=\"select2-selection__rendered\"\n [title]=\"select2Option?.label || ''\">\n <span *ngIf=\"!select2Option\">&nbsp;</span>\n <span *ngIf=\"select2Option\"\n [innerHTML]=\"select2Option.label\"></span>\n <span [class.select2-selection__placeholder__option]=\"option\"\n class=\"select2-selection__placeholder\">{{placeholder}}</span>\n </span>\n <span (click)=\"reset($event)\"\n *ngIf=\"!multiple && resettable && select2Option\"\n class=\"select2-selection__reset\"\n role=\"presentation\">×</span>\n <span *ngIf=\"!multiple\"\n class=\"select2-selection__arrow\"\n role=\"presentation\">\n </span>\n <ul *ngIf=\"multiple\"\n class=\"select2-selection__rendered\">\n <span [class.select2-selection__placeholder__option]=\"select2Options?.length > 0\"\n class=\"select2-selection__placeholder\">{{placeholder}}</span>\n <li *ngFor=\"let op of option; trackBy: trackBy\"\n class=\"select2-selection__choice\"\n [title]=\"op.label\">\n <span (click)=\"removeSelection($event, op)\"\n class=\"select2-selection__choice__remove\"\n role=\"presentation\">×</span>\n <span [innerHTML]=\"op.label\"></span>\n </li>\n </ul>\n </div>\n </div>\n <ng-container *ngIf=\"!overlay\">\n <ng-container *ngTemplateOutlet=\"containerTemplate\"></ng-container>\n </ng-container>\n\n <div class=\"select2-subscript-wrapper\">\n <ng-content select=\"select2-hint\"></ng-content>\n </div>\n</div>\n\n<ng-template cdkConnectedOverlay\n cdkConnectedOverlayHasBackdrop\n cdkConnectedOverlayBackdropClass=\"select2-overlay-backdrop\"\n [cdkConnectedOverlayOrigin]=\"trigger\"\n [cdkConnectedOverlayOpen]=\"this.isOpen && overlay\"\n [cdkConnectedOverlayMinWidth]=\"_triggerRect?.width!\"\n (backdropClick)=\"toggleOpenAndClose()\">\n <ng-container *ngTemplateOutlet=\"containerTemplate\"></ng-container>\n</ng-template>\n\n<ng-template #containerTemplate>\n <div class=\"select2-container select2-container--default select2-container-dropdown\"\n [class.select2-container--open]=\"isOpen\"\n [class.select2-overlay]=\"overlay\">\n <div class=\"select2-dropdown\"\n [class.select2-dropdown--below]=\"!select2above\"\n [class.select2-dropdown--above]=\"select2above\">\n <div class=\"select2-search select2-search--dropdown\"\n [class.select2-search--hide]=\"hideSearch()\">\n <input #searchInput\n [id]=\"id + '-search-field'\"\n [value]=\"searchText\"\n (keydown)=\"keyDown($event)\"\n (keyup)=\"searchUpdate($event)\"\n (change)=\"prevChange($event)\"\n class=\"select2-search__field\"\n type=\"search\"\n role=\"textbox\"\n autocomplete=\"off\"\n autocorrect=\"off\"\n autocapitalize=\"off\"\n spellcheck=\"false\"\n [attr.tabindex]=\"this.isOpen ? tabIndex : '-1'\">\n </div>\n <div class=\"select2-results\">\n <ul #results\n class=\"select2-results__options\"\n [style.max-height]=\"resultMaxHeight\"\n role=\"tree\"\n tabindex=\"-1\"\n infiniteScroll\n [infiniteScrollDisabled]=\"!infiniteScroll && !isOpen\"\n [infiniteScrollDistance]=\"infiniteScrollDistance\"\n [infiniteScrollThrottle]=\"infiniteScrollThrottle\"\n [infiniteScrollContainer]=\"results\"\n (scrolled)=\"onScroll('down')\"\n (scrolledUp)=\"onScroll('up')\"\n (keydown)=\"keyDown($event)\">\n <ng-container *ngFor=\"let groupOrOption of filteredData; index as i; trackBy:trackBy\">\n <li *ngIf=\"groupOrOption.options\"\n class=\"select2-results__option\"\n role=\"group\">\n <strong *ngIf=\"!hasTemplate(groupOrOption, 'group'); else optGroup\"\n [attr.class]=\"'select2-results__group' + (groupOrOption.classes ? ' ' + groupOrOption.classes : '')\"\n [innerHTML]=\"groupOrOption.label\"></strong>\n <ng-template #optGroup>\n <ng-container\n *ngTemplateOutlet=\"getTemplate(groupOrOption, 'group'); context: groupOrOption\">\n </ng-container>\n </ng-template>\n\n <ul class=\"select2-results__options select2-results__options--nested\">\n <li *ngFor=\"let option of groupOrOption.options; index as j; trackBy:trackBy\"\n #result\n [id]=\"option.id || id + '-option-' + i + '-' + j\"\n [class]=\"getOptionStyle(option)\"\n role=\"treeitem\"\n [attr.aria-selected]=\"isSelected(option)\"\n [attr.aria-disabled]=\"isDisabled(option)\"\n (mouseenter)=\"mouseenter(option)\"\n (click)=\"click(option)\">\n <div *ngIf=\"!hasTemplate(option, 'option'); else liGroup\"\n class=\"select2-label-content\"\n [innerHTML]=\"option.label\"></div>\n <ng-template #liGroup>\n <ng-container\n *ngTemplateOutlet=\"getTemplate(option, 'option'); context: option\">\n </ng-container>\n </ng-template>\n </li>\n </ul>\n </li>\n <li *ngIf=\"!groupOrOption.options\"\n #result\n [id]=\"groupOrOption.id || id + '-option-' + i\"\n [class]=\"getOptionStyle(groupOrOption)\"\n role=\"treeitem\"\n [attr.aria-selected]=\"isSelected(groupOrOption)\"\n [attr.aria-disabled]=\"isDisabled(groupOrOption)\"\n (mouseenter)=\"mouseenter(groupOrOption)\"\n (click)=\"click(groupOrOption)\">\n <div *ngIf=\"!hasTemplate(groupOrOption, 'option'); else li\"\n [innerHTML]=\"groupOrOption.label\"\n class=\"select2-label-content\"></div>\n <ng-template #li>\n <ng-container\n *ngTemplateOutlet=\"getTemplate(groupOrOption, 'option'); context: groupOrOption\">\n </ng-container>\n </ng-template>\n </li>\n </ng-container>\n <li class=\"select2-no-result select2-results__option\"\n *ngIf=\"!filteredData?.length && noResultMessage\"\n [innerHTML]=\"noResultMessage\"></li>\n </ul>\n </div>\n </div>\n </div>\n</ng-template>\n","styles":[".select2-label{color:#000;color:var(--select2-label-text-color,#000)}.select2-container{box-sizing:border-box;display:inline-block;margin:0;position:relative;vertical-align:middle;width:100%}.select2-container .select2-container-dropdown{opacity:0;position:absolute;width:0}.select2-container .select2-selection--single{-moz-user-select:none;-ms-user-select:none;-webkit-user-select:none;box-sizing:border-box;cursor:pointer;display:block;height:28px;user-select:none}.select2-container .select2-selection--single .select2-selection__rendered{display:block;flex:1 1 auto;overflow:hidden;padding:0 0 0 8px;text-overflow:ellipsis;white-space:nowrap}.select2-container .select2-selection--single .select2-selection__clear{position:relative}.select2-container .select2-selection--multiple{-moz-user-select:none;-ms-user-select:none;-webkit-user-select:none;box-sizing:border-box;cursor:pointer;display:block;min-height:32px;user-select:none}.select2-container .select2-selection--multiple .select2-selection__rendered{display:inline-block;overflow:hidden;padding-left:8px;text-overflow:ellipsis;white-space:nowrap}.select2-container .select2-search--inline{float:left}.select2-container .select2-search--inline .select2-search__field{border:none;box-sizing:border-box;font-size:100%;margin-top:5px;padding:0}.select2-container .select2-search--inline .select2-search__field::-webkit-search-cancel-button{-webkit-appearance:none}.select2-dropdown{background:#fff;background:var(--select2-dropdown-background,#fff);border:1px solid #aaa;border:1px solid var(--select2-dropdown-border-color,#aaa);border-radius:4px;border-radius:var(--select2-selection-border-radius,4px);box-sizing:border-box;display:block;height:0;overflow:hidden;position:absolute;width:100%;z-index:1051}.select2-dropdown .select2-label-content{display:contents}.select2-results{display:block}.select2-results__options{list-style:none;margin:0;padding:0}.select2-results__option{-moz-user-select:none;-ms-user-select:none;-webkit-user-select:none;color:#000;color:var(--select2-option-text-color,#000);padding:6px;user-select:none}.select2-results__option[aria-selected]{cursor:pointer}.select2-container.select2-container-dropdown.select2-container--open{opacity:1;width:100%}.select2-container--open .select2-dropdown{height:auto;overflow:auto}.select2-container--open .select2-dropdown--above{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0;bottom:27px;display:flex;flex-direction:column-reverse}.select2-container--open .select2-dropdown--below{border-top:none;border-top-left-radius:0;border-top-right-radius:0}.select2-search--dropdown{display:block;padding:4px}.select2-search--dropdown .select2-search__field{box-sizing:border-box;padding:4px;width:100%}.select2-search--dropdown .select2-search__field::-webkit-search-cancel-button{-webkit-appearance:none}.select2-search--dropdown.select2-search--hide{display:none}.select2-close-mask{background:#fff;border:0;display:block;filter:alpha(opacity=0);height:auto;left:0;margin:0;min-height:100%;min-width:100%;opacity:0;padding:0;position:fixed;top:0;width:auto;z-index:99}.select2-required:before{color:red;color:var(--select2-required-color,red);content:\"*\"}.select2-hidden-accessible{border:0!important;clip:rect(0 0 0 0)!important;height:1px!important;margin:-1px!important;overflow:hidden!important;padding:0!important;position:absolute!important;width:1px!important}.select2-container--default .select2-selection--single{background:#fff;background:var(--select2-selection-background,#fff);border:1px solid #aaa;border:1px solid var(--select2-selection-border-color,#aaa);border-radius:4px;border-radius:var(--select2-selection-border-radius,4px);display:flex}.select2-container--default .select2-selection--single .select2-selection__rendered{color:#444;color:var(--select2-selection-text-color,#444);line-height:28px}.select2-container--default .select2-selection--single .select2-selection__clear{cursor:pointer;float:right;font-weight:700}.select2-container--default .select2-selection--single .select2-selection__placeholder{color:#999;color:var(--select2-placeholder-color,#999)}.select2-container--default .select2-selection--single .select2-selection__placeholder span{overflow:hidden;text-overflow:ellipsis;text-overflow:var(--select2-placeholder-overflow,ellipsis);white-space:nowrap}.select2-container--default .select2-selection--single .select2-selection__placeholder__option{display:none}.select2-container--default .select2-selection--single .select2-selection__arrow,.select2-container--default .select2-selection--single .select2-selection__reset{align-items:center;display:flex;justify-content:center;width:20px}.select2-container--default .select2-selection--single .select2-selection__arrow:before{border-bottom:0 solid var(--select2-arrow-color,#888);border-color:#888 transparent;border-left:4px solid transparent;border-right:4px solid transparent;border-top:5px solid var(--select2-arrow-color,#888);content:\" \";height:0;width:0}.select2-container--default .select2-selection--single .select2-selection__reset{color:#999;color:var(--select2-reset-color,#999)}.select2-container--default.select2-container--disabled .select2-selection--single{background:#eee;background:var(--select2-selection-disabled-background,#eee);cursor:default}.select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__clear{display:none}.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow:before{border-bottom-color:var(--select2-arrow-color,#888);border-color:transparent transparent #888;border-right-color:transparent;border-top-color:transparent;border-width:0 4px 5px}.select2-container--default .select2-selection--multiple{background:#fff;background:var(--select2-selection-background,#fff);border:1px solid #aaa;border:1px solid var(--select2-selection-border-color,#aaa);border-radius:4px;border-radius:var(--select2-selection-border-radius,4px);cursor:text}.select2-container--default .select2-selection--multiple .select2-selection__rendered{box-sizing:border-box;flex:1 1 auto;list-style:none;margin:0;padding:0 5px;width:100%}.select2-container--default .select2-selection--multiple .select2-selection__rendered li{list-style:none}.select2-container--default .select2-selection--multiple .select2-selection__placeholder{color:#999;color:var(--select2-placeholder-color,#999);display:block;float:left;margin-top:5px;overflow:hidden;text-overflow:ellipsis;text-overflow:var(--select2-placeholder-overflow,ellipsis);white-space:nowrap;width:100%}.select2-container--default .select2-selection--multiple .select2-selection__placeholder__option{display:none}.select2-container--default .select2-selection--multiple .select2-selection__clear{cursor:pointer;float:right;font-weight:700;margin-right:10px;margin-top:5px}.select2-container--default .select2-selection--multiple .select2-selection__choice{background:#e4e4e4;background:var(--select2-selection-choice-background,#e4e4e4);border:1px solid #aaa;border:1px solid var(--select2-selection-choice-border-color,#aaa);border-radius:4px;border-radius:var(--select2-selection-border-radius,4px);color:#000;color:var(--select2-selection-choice-text-color,#000);cursor:default;float:left;margin-right:5px;margin-top:5px;padding:0 5px}.select2-container--default .select2-selection--multiple .select2-selection__choice__remove{color:#999;color:var(--select2-selection-choice-close-color,#999);cursor:pointer;display:inline-block;font-weight:700;margin-right:2px}.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover{color:#333;color:var(--select2-selection-choice-hover-close-color,#333)}.select2-container--default.select2-container--focused .select2-selection--multiple,.select2-container--default:not(.select2-container--open) .select2-focused .select2-selection--multiple,.select2-container--default:not(.select2-container--open) .select2-focused .select2-selection--single{border:1px solid #000;border:1px solid var(--select2-selection-focus-border-color,#000);outline:none}.select2-container--default.select2-container--disabled .select2-selection--multiple{background:#eee;background:var(--select2-selection-disabled-background,#eee);cursor:default}.select2-container--default.select2-container--disabled .select2-selection__choice__remove{display:none}.select2-container--default.select2-container--open.select2-container--above .select2-selection--multiple,.select2-container--default.select2-container--open.select2-container--above .select2-selection--single{border-top-left-radius:0;border-top-right-radius:0}.select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple,.select2-container--default.select2-container--open.select2-container--below .select2-selection--single{border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--default .select2-search--dropdown .select2-search__field{background:#fff;background:1px solid var(--select2-search-background,#fff);border:1px solid #aaa;border:1px solid var(--select2-search-border-color,#aaa);border-radius:0;border-radius:var(--select2-search-border-radius,0)}.select2-container--default .select2-search--inline .select2-search__field{-webkit-appearance:textfield;background:transparent;border:none;box-shadow:none;outline:none}.select2-container--default .select2-results>.select2-results__options{overflow-y:auto}.select2-container--default .select2-results__option[role=group]{padding:0}.select2-container--default .select2-results__option[aria-disabled=true]{background:transparent;background:var(--select2-option-disabled-background,transparent);color:#999;color:var(--select2-option-disabled-text-color,#999)}.select2-container--default .select2-results__option[aria-selected=true]{background:#ddd;background:var(--select2-option-selected-background,#ddd);color:#000;color:var(--select2-option-selected-text-color,#000)}.select2-container--default .select2-results__option .select2-results__option{padding-left:1em}.select2-container--default .select2-results__option .select2-results__option .select2-results__group{padding-left:0}.select2-container--default .select2-results__option .select2-results__option .select2-results__option{margin-left:-1em;padding-left:2em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-2em;padding-left:3em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-3em;padding-left:4em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-4em;padding-left:5em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-5em;padding-left:6em}.select2-container--default .select2-results__option--highlighted[aria-selected]{background:#5897fb;background:var(--select2-option-highlighted-background,#5897fb);color:#fff;color:var(--select2-option-highlighted-text-color,#fff)}.select2-container--default .select2-results__option--hide{display:none}.select2-container--default .select2-results__group{background:transparent;background:var(--select2-option-group-background,transparent);color:grey;color:var(--select2-option-group-text-color,grey);cursor:default;display:block;padding:6px}.select2-no-result{color:#888;color:var(--select2-no-result-color,#888);font-style:italic;font-style:var(--select2-font-style-color,italic)}:host.nostyle .select2-dropdown{border-color:transparent}:host.nostyle .select2-container--default .select2-focused .select2-selection--multiple,:host.nostyle .select2-container--default .select2-focused .select2-selection--single,:host.nostyle .select2-container--default:not(.select2-container--open) .select2-focused .select2-selection--multiple,:host.nostyle .select2-container--default:not(.select2-container--open) .select2-focused .select2-selection--single,:host.nostyle .select2-selection--multiple,:host.nostyle .select2-selection--single{background:transparent;border-color:transparent}:host.material{display:inline-block;width:300px}:host.material>.select2-container{padding-bottom:1.29688em;vertical-align:inherit}:host.material>.select2-container .selection{align-items:baseline;border-top:.84375em solid transparent;display:inline-flex;height:auto;padding:.4375em 0;width:100%}:host.material .select2-container--default .select2-selection--multiple,:host.material .select2-container--default .select2-selection--single{border:0;border-radius:0;box-sizing:border-box;height:24px;width:100%}:host.material .select2-container--default .select2-selection--multiple:before,:host.material .select2-container--default .select2-selection--single:before{background:#ddd;background:var(--select2-material-underline,#ddd);bottom:1.65em;content:\" \";display:block;height:1px;position:absolute;width:100%}:host.material .select2-container--default .select2-selection--multiple:after,:host.material .select2-container--default .select2-selection--single:after{background:#5a419e;background:var(--select2-material-underline-active,#5a419e);bottom:1.63em;content:\" \";display:block;height:2px;left:50%;position:absolute;transition:none;width:0}:host.material .select2-container--default .select2-selection--multiple .select2-selection__rendered,:host.material .select2-container--default .select2-selection--single .select2-selection__rendered{line-height:inherit;padding-left:1px}:host.material .select2-container--default .select2-selection--multiple .select2-selection__placeholder,:host.material .select2-container--default .select2-selection--single .select2-selection__placeholder{color:rgba(0,0,0,.38);color:var(--select2-material-placeholder-color,rgba(0,0,0,.38));display:block;left:0;position:absolute;top:20px;transform-origin:0 21px;transition:transform .3s}:host.material .select2-container--default .select2-container--open{bottom:1.6em;left:0}:host.material .select2-container--default .select2-selection__placeholder__option{transform:translateY(-1.5em) scale(.75) perspective(100px) translateZ(.001px);width:133.33333%}:host.material .select2-container--default .select2-selection__arrow{top:20px}:host.material .select2-container--default.select2-container--open .select2-selection--multiple:after,:host.material .select2-container--default.select2-container--open .select2-selection--single:after,:host.material .select2-container--default .select2-focused .select2-selection--multiple:after,:host.material .select2-container--default .select2-focused .select2-selection--single:after{left:0;transition:width .3s cubic-bezier(.12,1,.77,1),left .3s cubic-bezier(.12,1,.77,1);width:100%}:host.material .select2-container--default .select2-dropdown{border:0;border-radius:0;box-shadow:0 5px 5px rgba(0,0,0,.5)}:host.material .select2-container--default .select2-results__option--highlighted[aria-selected],:host.material .select2-container--default .select2-results__option[aria-selected=true]{background:rgba(0,0,0,.04);background:var(--select2-material-option-selected-background,rgba(0,0,0,.04));color:#000;color:var(--select2-material-option-highlighted-text-color,#000)}:host.material .select2-container--default .select2-results__option[aria-selected=true]{color:#ff5722;color:var(--select2-material-option-selected-text-color,#ff5722)}:host.material .select2-container--default.select2-container--disabled .select2-selection--multiple,:host.material .select2-container--default.select2-container--disabled .select2-selection--single{background:transparent}:host.material .select2-container--default.select2-container--disabled .select2-selection--multiple:before,:host.material .select2-container--default.select2-container--disabled .select2-selection--single:before{background:linear-gradient(90deg,rgba(0,0,0,.26) 0,rgba(0,0,0,.26) 33%,transparent 0);background:var(--select2-material-underline-disabled,linear-gradient(90deg,rgba(0,0,0,.26) 0,rgba(0,0,0,.26) 33%,transparent 0));background-position:0 bottom;background-repeat:repeat-x;background-size:4px 1px}:host.material.ng-invalid.ng-touched .select2-container--default .select2-selection--multiple:after,:host.material.ng-invalid.ng-touched .select2-container--default .select2-selection--multiple:before,:host.material.ng-invalid.ng-touched .select2-container--default .select2-selection--single:after,:host.material.ng-invalid.ng-touched .select2-container--default .select2-selection--single:before{background:red;background:var(--select2-material-underline-invalid,red)}:host.material:not(.select2-container--open) .select2-focused .select2-selection--multiple,:host.material:not(.select2-container--open) .select2-focused .select2-selection--single{border:0}:host.material .select2-subscript-wrapper{color:#888;color:var(--select2-hint-text-color,#888);font-size:75%;position:absolute;top:calc(100% - 1.72917em)}::ng-deep .select2-overlay-backdrop{background:rgba(0,0,0,.32);background:var(--select2-overlay-backdrop,transparent)}@supports (-moz-appearance:none){select2.material .select2-container--default .select2-selection--multiple,select2.material .select2-container--default .select2-selection--single{height:26px}}@supports (-ms-scroll-limit:0){select2.material .select2-container--default .select2-selection--multiple,select2.material .select2-container--default .select2-selection--single{height:25px}}"]}]}],"members":{"data":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":29,"character":5}}]}],"minCharForSearch":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":30,"character":5}}]}],"displaySearchStatus":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":31,"character":5}}]}],"placeholder":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":32,"character":5}}]}],"customSearchEnabled":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":33,"character":5}}]}],"limitSelection":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":34,"character":5}}]}],"listPosition":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":35,"character":5}}]}],"multiple":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":37,"character":5}}]}],"overlay":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":42,"character":5}}]}],"styleMode":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":47,"character":5}}]}],"noResultMessage":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":50,"character":5}}]}],"infiniteScrollDistance":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":53,"character":5}}]}],"infiniteScrollThrottle":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":56,"character":5}}]}],"infiniteScroll":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":59,"character":5}}]}],"editPattern":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":64,"character":5}}]}],"templates":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":67,"character":5}}]}],"resultMaxHeight":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":71,"character":5}}]}],"update":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":73,"character":5}}]}],"open":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":74,"character":5}}]}],"close":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":75,"character":5}}]}],"focus":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":76,"character":5}}]}],"blur":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":77,"character":5}}]}],"search":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":78,"character":5}}]}],"scroll":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":79,"character":5}}]}],"removeOption":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":80,"character":5}}]}],"minCountForSearch":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":115,"character":5}}]}],"id":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":126,"character":5}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":127,"character":5},"arguments":["id"]}]}],"required":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":132,"character":5}}]}],"disabled":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":137,"character":5}}]}],"hideSelectedItems":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":142,"character":5}}]}],"readonly":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":147,"character":5}}]}],"value":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":152,"character":5}}]}],"tabIndex":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":167,"character":5}}]}],"resettable":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":179,"character":5}}]}],"ariaInvalid":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":183,"character":5},"arguments":["attr.aria-invalid"]}]}],"classMaterial":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":188,"character":5},"arguments":["class.material"]}]}],"classNostyle":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":193,"character":5},"arguments":["class.nostyle"]}]}],"select2above":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":198,"character":5},"arguments":["class.select2-above"]}]}],"selection":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":207,"character":5},"arguments":["selection",{"static":true}]}]}],"resultContainer":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":208,"character":5},"arguments":["results"]}]}],"results":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChildren","line":209,"character":5},"arguments":["result"]}]}],"searchInput":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":210,"character":5},"arguments":["searchInput"]}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":245,"character":9}}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":246,"character":9}}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Self","line":247,"character":9}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":247,"character":17}}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Attribute","line":248,"character":9},"arguments":["tabindex"]}]],"parameters":[{"__symbolic":"reference","module":"@angular/cdk/scrolling","name":"ViewportRuler","line":243,"character":34},{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":244,"character":36},{"__symbolic":"reference","module":"@angular/forms","name":"NgForm","line":245,"character":41},{"__symbolic":"reference","module":"@angular/forms","name":"FormGroupDirective","line":246,"character":46},{"__symbolic":"reference","module":"@angular/forms","name":"NgControl","line":247,"character":45},{"__symbolic":"reference","name":"string"}]}],"ngOnInit":[{"__symbolic":"method"}],"ngAfterViewInit":[{"__symbolic":"method"}],"ngDoCheck":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"updateSearchBox":[{"__symbolic":"method"}],"hideSearch":[{"__symbolic":"method"}],"getOptionStyle":[{"__symbolic":"method"}],"mouseenter":[{"__symbolic":"method"}],"click":[{"__symbolic":"method"}],"reset":[{"__symbolic":"method"}],"prevChange":[{"__symbolic":"method"}],"toggleOpenAndClose":[{"__symbolic":"method"}],"hasTemplate":[{"__symbolic":"method"}],"getTemplate":[{"__symbolic":"method"}],"triggerRect":[{"__symbolic":"method"}],"testSelection":[{"__symbolic":"method"}],"testValueChange":[{"__symbolic":"method"}],"updateFilteredData":[{"__symbolic":"method"}],"clickDetection":[{"__symbolic":"method"}],"clickExit":[{"__symbolic":"method"}],"ifParentContainsClass":[{"__symbolic":"method"}],"ifParentContainsId":[{"__symbolic":"method"}],"getParentElementByClass":[{"__symbolic":"method"}],"getParentElementById":[{"__symbolic":"method"}],"containClasses":[{"__symbolic":"method"}],"focusin":[{"__symbolic":"method"}],"focusout":[{"__symbolic":"method"}],"moveUp":[{"__symbolic":"method"}],"moveDown":[{"__symbolic":"method"}],"updateScrollFromOption":[{"__symbolic":"method"}],"selectByEnter":[{"__symbolic":"method"}],"select":[{"__symbolic":"method"}],"keyDown":[{"__symbolic":"method"}],"openKey":[{"__symbolic":"method"}],"trackBy":[{"__symbolic":"method"}],"searchUpdate":[{"__symbolic":"method"}],"isSelected":[{"__symbolic":"method"}],"isDisabled":[{"__symbolic":"method"}],"removeSelection":[{"__symbolic":"method"}],"writeValue":[{"__symbolic":"method"}],"registerOnChange":[{"__symbolic":"method"}],"registerOnTouched":[{"__symbolic":"method"}],"setDisabledState":[{"__symbolic":"method"}],"_isErrorState":[{"__symbolic":"method"}],"_testKey":[{"__symbolic":"method"}],"_getKey":[{"__symbolic":"method"}],"_isKey":[{"__symbolic":"method"}],"_setSelectionByValue":[{"__symbolic":"method"}],"_dirtyCheckNativeValue":[{"__symbolic":"method"}],"_coerceBooleanProperty":[{"__symbolic":"method"}],"_focusSearchboxOrResultsElement":[{"__symbolic":"method"}],"_focus":[{"__symbolic":"method"}],"onScroll":[{"__symbolic":"method"}]}},"Select2Hint":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":2,"character":1},"arguments":[{"selector":"select2-hint"}]}],"members":{}},"Select2Label":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":2,"character":1},"arguments":[{"selector":"select2-label"}]}],"members":{}},"Select2Utils":{"__symbolic":"class","members":{},"statics":{"isNullOrUndefined":{"__symbolic":"function","parameters":["value"],"value":{"__symbolic":"binop","operator":"||","left":{"__symbolic":"binop","operator":"===","left":{"__symbolic":"reference","name":"value"},"right":null},"right":{"__symbolic":"binop","operator":"===","left":{"__symbolic":"reference","name":"value"},"right":{"__symbolic":"reference","name":"undefined"}}}},"containSearchText":{"__symbolic":"function","parameters":["label","searchText","editPattern"],"value":{"__symbolic":"if","condition":{"__symbolic":"reference","name":"searchText"},"thenExpression":{"__symbolic":"binop","operator":"!==","left":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"Select2Utils"},"member":"formatSansUnicode"},"arguments":[{"__symbolic":"reference","name":"label"}]},"member":"match"},"arguments":[{"__symbolic":"new","expression":{"__symbolic":"reference","name":"RegExp"},"arguments":[{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"Select2Utils"},"member":"formatPattern"},"arguments":[{"__symbolic":"reference","name":"searchText"},{"__symbolic":"reference","name":"editPattern"}]},"i"]}]},"right":null},"elseExpression":true}},"protectPattern":{"__symbolic":"function","parameters":["str"],"value":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"str"},"member":"replace"},"arguments":[{"__symbolic":"reference","name":"protectRegexp"},"\\$&"]}},"isSelected":{"__symbolic":"function","parameters":["options","option","multiple"],"value":{"__symbolic":"if","condition":{"__symbolic":"reference","name":"multiple"},"thenExpression":{"__symbolic":"if","condition":{"__symbolic":"binop","operator":"&&","left":{"__symbolic":"reference","name":"options"},"right":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"options"},"member":"some"},"arguments":[{"__symbolic":"error","message":"Lambda not supported","line":259,"character":22,"module":"./lib/select2-utils"}]}},"thenExpression":"true","elseExpression":"false"},"elseExpression":{"__symbolic":"if","condition":{"__symbolic":"binop","operator":"&&","left":{"__symbolic":"reference","name":"options"},"right":{"__symbolic":"binop","operator":"===","left":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"option"},"member":"value"},"right":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"options"},"member":"value"}}},"thenExpression":"true","elseExpression":"false"}}}}},"Select2Module":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":11,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":13,"character":8},{"__symbolic":"reference","module":"@angular/forms","name":"FormsModule","line":14,"character":8},{"__symbolic":"reference","module":"@angular/cdk/overlay","name":"OverlayModule","line":15,"character":8},{"__symbolic":"reference","module":"@angular/forms","name":"ReactiveFormsModule","line":16,"character":8},{"__symbolic":"reference","module":"ngx-infinite-scroll","name":"InfiniteScrollModule","line":17,"character":8}],"declarations":[{"__symbolic":"reference","name":"Select2Hint"},{"__symbolic":"reference","name":"Select2Label"},{"__symbolic":"reference","name":"Select2"}],"exports":[{"__symbolic":"reference","module":"@angular/forms","name":"FormsModule","line":25,"character":8},{"__symbolic":"reference","module":"@angular/forms","name":"ReactiveFormsModule","line":26,"character":8},{"__symbolic":"reference","name":"Select2Hint"},{"__symbolic":"reference","name":"Select2Label"},{"__symbolic":"reference","name":"Select2"}]}]}],"members":{}}},"origins":{"Select2Group":"./lib/select2-interfaces","Select2Option":"./lib/select2-interfaces","Select2Value":"./lib/select2-interfaces","Select2UpdateValue":"./lib/select2-interfaces","Select2Data":"./lib/select2-interfaces","Select2UpdateEvent":"./lib/select2-interfaces","Select2SearchEvent":"./lib/select2-interfaces","Select2RemoveEvent":"./lib/select2-interfaces","Select2ScrollEvent":"./lib/select2-interfaces","timeout":"./lib/select2-const","unicodePatterns":"./lib/select2-const","defaultMinCountForSearch":"./lib/select2-const","protectRegexp":"./lib/select2-const","Select2":"./lib/select2.component","Select2Hint":"./lib/select2-hint.component","Select2Label":"./lib/select2-label.component","Select2Utils":"./lib/select2-utils","Select2Module":"./lib/select2.module"},"importAs":"ng-select2-component"}
{"__symbolic":"module","version":4,"metadata":{"Select2Group":{"__symbolic":"interface"},"Select2Option":{"__symbolic":"interface"},"Select2Value":{"__symbolic":"interface"},"Select2UpdateValue":{"__symbolic":"interface"},"Select2Data":{"__symbolic":"interface"},"Select2UpdateEvent":{"__symbolic":"interface"},"Select2SearchEvent":{"__symbolic":"interface"},"Select2RemoveEvent":{"__symbolic":"interface"},"Select2ScrollEvent":{"__symbolic":"interface"},"timeout":200,"unicodePatterns":{"__symbolic":"error","message":"Expression form not supported","line":4,"character":17,"module":"./lib/select2-const"},"defaultMinCountForSearch":6,"protectRegexp":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"RegExp"},"arguments":["[\\-\\[\\]\\/\\{\\}\\(\\)\\*\\+\\?\\.\\\\\\^\\$\\|]","g"]},"Select2":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":21,"character":1},"arguments":[{"selector":"select2","template":"<div class=\"select2-label\"\n (click)=\"toggleOpenAndClose()\">\n <ng-content select=\"select2-label\"></ng-content>\n <span *ngIf=\"required\"\n class=\"select2-required\"></span>\n</div>\n<div class=\"select2 select2-container select2-container--default select2-container--focus\"\n [class.select2-container--below]=\"!select2above\"\n [class.select2-container--above]=\"select2above\"\n [class.select2-container--open]=\"isOpen\"\n [class.select2-container--disabled]=\"disabled\">\n <div class=\"selection\"\n #selection\n #trigger=\"cdkOverlayOrigin\"\n [attr.tabindex]=\"!this.isOpen ? tabIndex : '-1'\"\n (click)=\"toggleOpenAndClose()\"\n (focus)=\"focusin()\"\n (blur)=\"focusout()\"\n (keydown)=\"openKey($event)\"\n cdkOverlayOrigin\n [class.select2-focused]=\"focused\">\n <div class=\"select2-selection\"\n [class.select2-selection--multiple]=\"multiple\"\n [class.select2-selection--single]=\"!multiple\"\n role=\"combobox\">\n <span *ngIf=\"!multiple\"\n class=\"select2-selection__rendered\"\n [title]=\"select2Option?.label || ''\">\n <span *ngIf=\"!select2Option\">&nbsp;</span>\n <span *ngIf=\"select2Option\"\n [innerHTML]=\"select2Option.label\"></span>\n <span [class.select2-selection__placeholder__option]=\"option\"\n class=\"select2-selection__placeholder\">{{placeholder}}</span>\n </span>\n <span (click)=\"reset($event)\"\n *ngIf=\"!multiple && resettable && select2Option\"\n class=\"select2-selection__reset\"\n role=\"presentation\">×</span>\n <span *ngIf=\"!multiple\"\n class=\"select2-selection__arrow\"\n role=\"presentation\">\n </span>\n <ul *ngIf=\"multiple\"\n class=\"select2-selection__rendered\">\n <span [class.select2-selection__placeholder__option]=\"select2Options?.length > 0\"\n class=\"select2-selection__placeholder\">{{placeholder}}</span>\n <li *ngFor=\"let op of option; trackBy: trackBy\"\n class=\"select2-selection__choice\"\n [title]=\"op.label\">\n <span (click)=\"removeSelection($event, op)\"\n class=\"select2-selection__choice__remove\"\n role=\"presentation\">×</span>\n <span [innerHTML]=\"op.label\"></span>\n </li>\n </ul>\n </div>\n </div>\n <ng-container *ngIf=\"!overlay\">\n <ng-container *ngTemplateOutlet=\"containerTemplate\"></ng-container>\n </ng-container>\n\n <div class=\"select2-subscript-wrapper\">\n <ng-content select=\"select2-hint\"></ng-content>\n </div>\n</div>\n\n<ng-template cdkConnectedOverlay\n cdkConnectedOverlayHasBackdrop\n cdkConnectedOverlayBackdropClass=\"select2-overlay-backdrop\"\n [cdkConnectedOverlayOrigin]=\"trigger\"\n [cdkConnectedOverlayOpen]=\"this.isOpen && overlay\"\n [cdkConnectedOverlayMinWidth]=\"overlayWidth\"\n (backdropClick)=\"toggleOpenAndClose()\">\n <ng-container *ngTemplateOutlet=\"containerTemplate\"></ng-container>\n</ng-template>\n\n<ng-template #containerTemplate>\n <div class=\"select2-container select2-container--default select2-container-dropdown\"\n [class.select2-container--open]=\"isOpen\"\n [class.select2-overlay]=\"overlay\">\n <div class=\"select2-dropdown\"\n [class.select2-dropdown--below]=\"!select2above\"\n [class.select2-dropdown--above]=\"select2above\">\n <div class=\"select2-search select2-search--dropdown\"\n [class.select2-search--hide]=\"hideSearch()\">\n <input #searchInput\n [id]=\"id + '-search-field'\"\n [value]=\"searchText\"\n (keydown)=\"keyDown($event)\"\n (keyup)=\"searchUpdate($event)\"\n (change)=\"prevChange($event)\"\n class=\"select2-search__field\"\n type=\"search\"\n role=\"textbox\"\n autocomplete=\"off\"\n autocorrect=\"off\"\n autocapitalize=\"off\"\n spellcheck=\"false\"\n [attr.tabindex]=\"this.isOpen ? tabIndex : '-1'\">\n </div>\n <div class=\"select2-results\">\n <ul #results\n class=\"select2-results__options\"\n [style.max-height]=\"resultMaxHeight\"\n role=\"tree\"\n tabindex=\"-1\"\n infiniteScroll\n [infiniteScrollDisabled]=\"!infiniteScroll && !isOpen\"\n [infiniteScrollDistance]=\"infiniteScrollDistance\"\n [infiniteScrollThrottle]=\"infiniteScrollThrottle\"\n [infiniteScrollContainer]=\"results\"\n (scrolled)=\"onScroll('down')\"\n (scrolledUp)=\"onScroll('up')\"\n (keydown)=\"keyDown($event)\">\n <ng-container *ngFor=\"let groupOrOption of filteredData; index as i; trackBy:trackBy\">\n <li *ngIf=\"groupOrOption.options\"\n class=\"select2-results__option\"\n role=\"group\">\n <strong *ngIf=\"!hasTemplate(groupOrOption, 'group'); else optGroup\"\n [attr.class]=\"'select2-results__group' + (groupOrOption.classes ? ' ' + groupOrOption.classes : '')\"\n [innerHTML]=\"groupOrOption.label\"></strong>\n <ng-template #optGroup>\n <ng-container\n *ngTemplateOutlet=\"getTemplate(groupOrOption, 'group'); context: groupOrOption\">\n </ng-container>\n </ng-template>\n\n <ul class=\"select2-results__options select2-results__options--nested\">\n <li *ngFor=\"let option of groupOrOption.options; index as j; trackBy:trackBy\"\n #result\n [id]=\"option.id || id + '-option-' + i + '-' + j\"\n [class]=\"getOptionStyle(option)\"\n role=\"treeitem\"\n [attr.aria-selected]=\"isSelected(option)\"\n [attr.aria-disabled]=\"isDisabled(option)\"\n (mouseenter)=\"mouseenter(option)\"\n (click)=\"click(option)\">\n <div *ngIf=\"!hasTemplate(option, 'option'); else liGroup\"\n class=\"select2-label-content\"\n [innerHTML]=\"option.label\"></div>\n <ng-template #liGroup>\n <ng-container\n *ngTemplateOutlet=\"getTemplate(option, 'option'); context: option\">\n </ng-container>\n </ng-template>\n </li>\n </ul>\n </li>\n <li *ngIf=\"!groupOrOption.options\"\n #result\n [id]=\"groupOrOption.id || id + '-option-' + i\"\n [class]=\"getOptionStyle(groupOrOption)\"\n role=\"treeitem\"\n [attr.aria-selected]=\"isSelected(groupOrOption)\"\n [attr.aria-disabled]=\"isDisabled(groupOrOption)\"\n (mouseenter)=\"mouseenter(groupOrOption)\"\n (click)=\"click(groupOrOption)\">\n <div *ngIf=\"!hasTemplate(groupOrOption, 'option'); else li\"\n [innerHTML]=\"groupOrOption.label\"\n class=\"select2-label-content\"></div>\n <ng-template #li>\n <ng-container\n *ngTemplateOutlet=\"getTemplate(groupOrOption, 'option'); context: groupOrOption\">\n </ng-container>\n </ng-template>\n </li>\n </ng-container>\n <li class=\"select2-no-result select2-results__option\"\n *ngIf=\"!filteredData?.length && noResultMessage\"\n [innerHTML]=\"noResultMessage\"></li>\n </ul>\n </div>\n </div>\n </div>\n</ng-template>\n","styles":[".select2-label{color:#000;color:var(--select2-label-text-color,#000)}.select2-container{box-sizing:border-box;display:inline-block;margin:0;position:relative;vertical-align:middle;width:100%}.select2-container .select2-container-dropdown{opacity:0;position:absolute;width:0}.select2-container .select2-selection--single{-moz-user-select:none;-ms-user-select:none;-webkit-user-select:none;box-sizing:border-box;cursor:pointer;display:block;height:28px;user-select:none}.select2-container .select2-selection--single .select2-selection__rendered{display:block;flex:1 1 auto;overflow:hidden;padding:0 0 0 8px;text-overflow:ellipsis;white-space:nowrap}.select2-container .select2-selection--single .select2-selection__clear{position:relative}.select2-container .select2-selection--multiple{-moz-user-select:none;-ms-user-select:none;-webkit-user-select:none;box-sizing:border-box;cursor:pointer;display:block;min-height:32px;user-select:none}.select2-container .select2-selection--multiple .select2-selection__rendered{display:inline-block;overflow:hidden;padding-left:8px;text-overflow:ellipsis;white-space:nowrap}.select2-container .select2-search--inline{float:left}.select2-container .select2-search--inline .select2-search__field{border:none;box-sizing:border-box;font-size:100%;margin-top:5px;padding:0}.select2-container .select2-search--inline .select2-search__field::-webkit-search-cancel-button{-webkit-appearance:none}.select2-dropdown{background:#fff;background:var(--select2-dropdown-background,#fff);border:1px solid #aaa;border:1px solid var(--select2-dropdown-border-color,#aaa);border-radius:4px;border-radius:var(--select2-selection-border-radius,4px);box-sizing:border-box;display:block;height:0;overflow:hidden;position:absolute;width:100%;z-index:1051}.select2-dropdown .select2-label-content{display:contents}.select2-results{display:block}.select2-results__options{list-style:none;margin:0;padding:0}.select2-results__option{-moz-user-select:none;-ms-user-select:none;-webkit-user-select:none;color:#000;color:var(--select2-option-text-color,#000);padding:6px;user-select:none}.select2-results__option[aria-selected]{cursor:pointer}.select2-container.select2-container-dropdown.select2-container--open{opacity:1;width:100%}.select2-container--open .select2-dropdown{height:auto;overflow:auto}.select2-container--open .select2-dropdown--above{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0;bottom:27px;display:flex;flex-direction:column-reverse}.select2-container--open .select2-dropdown--below{border-top:none;border-top-left-radius:0;border-top-right-radius:0}.select2-search--dropdown{display:block;padding:4px}.select2-search--dropdown .select2-search__field{box-sizing:border-box;padding:4px;width:100%}.select2-search--dropdown .select2-search__field::-webkit-search-cancel-button{-webkit-appearance:none}.select2-search--dropdown.select2-search--hide{display:none}.select2-close-mask{background:#fff;border:0;display:block;filter:alpha(opacity=0);height:auto;left:0;margin:0;min-height:100%;min-width:100%;opacity:0;padding:0;position:fixed;top:0;width:auto;z-index:99}.select2-required:before{color:red;color:var(--select2-required-color,red);content:\"*\"}.select2-hidden-accessible{border:0!important;clip:rect(0 0 0 0)!important;height:1px!important;margin:-1px!important;overflow:hidden!important;padding:0!important;position:absolute!important;width:1px!important}.select2-container--default .select2-selection--single{background:#fff;background:var(--select2-selection-background,#fff);border:1px solid #aaa;border:1px solid var(--select2-selection-border-color,#aaa);border-radius:4px;border-radius:var(--select2-selection-border-radius,4px);display:flex}.select2-container--default .select2-selection--single .select2-selection__rendered{color:#444;color:var(--select2-selection-text-color,#444);line-height:28px}.select2-container--default .select2-selection--single .select2-selection__clear{cursor:pointer;float:right;font-weight:700}.select2-container--default .select2-selection--single .select2-selection__placeholder{color:#999;color:var(--select2-placeholder-color,#999)}.select2-container--default .select2-selection--single .select2-selection__placeholder span{overflow:hidden;text-overflow:ellipsis;text-overflow:var(--select2-placeholder-overflow,ellipsis);white-space:nowrap}.select2-container--default .select2-selection--single .select2-selection__placeholder__option{display:none}.select2-container--default .select2-selection--single .select2-selection__arrow,.select2-container--default .select2-selection--single .select2-selection__reset{align-items:center;display:flex;justify-content:center;width:20px}.select2-container--default .select2-selection--single .select2-selection__arrow:before{border-bottom:0 solid var(--select2-arrow-color,#888);border-color:#888 transparent;border-left:4px solid transparent;border-right:4px solid transparent;border-top:5px solid var(--select2-arrow-color,#888);content:\" \";height:0;width:0}.select2-container--default .select2-selection--single .select2-selection__reset{color:#999;color:var(--select2-reset-color,#999)}.select2-container--default.select2-container--disabled .select2-selection--single{background:#eee;background:var(--select2-selection-disabled-background,#eee);cursor:default}.select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__clear{display:none}.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow:before{border-bottom-color:var(--select2-arrow-color,#888);border-color:transparent transparent #888;border-right-color:transparent;border-top-color:transparent;border-width:0 4px 5px}.select2-container--default .select2-selection--multiple{background:#fff;background:var(--select2-selection-background,#fff);border:1px solid #aaa;border:1px solid var(--select2-selection-border-color,#aaa);border-radius:4px;border-radius:var(--select2-selection-border-radius,4px);cursor:text}.select2-container--default .select2-selection--multiple .select2-selection__rendered{box-sizing:border-box;flex:1 1 auto;list-style:none;margin:0;padding:0 5px;width:100%}.select2-container--default .select2-selection--multiple .select2-selection__rendered li{list-style:none}.select2-container--default .select2-selection--multiple .select2-selection__placeholder{color:#999;color:var(--select2-placeholder-color,#999);display:block;float:left;margin-top:5px;overflow:hidden;text-overflow:ellipsis;text-overflow:var(--select2-placeholder-overflow,ellipsis);white-space:nowrap;width:100%}.select2-container--default .select2-selection--multiple .select2-selection__placeholder__option{display:none}.select2-container--default .select2-selection--multiple .select2-selection__clear{cursor:pointer;float:right;font-weight:700;margin-right:10px;margin-top:5px}.select2-container--default .select2-selection--multiple .select2-selection__choice{background:#e4e4e4;background:var(--select2-selection-choice-background,#e4e4e4);border:1px solid #aaa;border:1px solid var(--select2-selection-choice-border-color,#aaa);border-radius:4px;border-radius:var(--select2-selection-border-radius,4px);color:#000;color:var(--select2-selection-choice-text-color,#000);cursor:default;float:left;margin-right:5px;margin-top:5px;padding:0 5px}.select2-container--default .select2-selection--multiple .select2-selection__choice__remove{color:#999;color:var(--select2-selection-choice-close-color,#999);cursor:pointer;display:inline-block;font-weight:700;margin-right:2px}.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover{color:#333;color:var(--select2-selection-choice-hover-close-color,#333)}.select2-container--default.select2-container--focused .select2-selection--multiple,.select2-container--default:not(.select2-container--open) .select2-focused .select2-selection--multiple,.select2-container--default:not(.select2-container--open) .select2-focused .select2-selection--single{border:1px solid #000;border:1px solid var(--select2-selection-focus-border-color,#000);outline:none}.select2-container--default.select2-container--disabled .select2-selection--multiple{background:#eee;background:var(--select2-selection-disabled-background,#eee);cursor:default}.select2-container--default.select2-container--disabled .select2-selection__choice__remove{display:none}.select2-container--default.select2-container--open.select2-container--above .select2-selection--multiple,.select2-container--default.select2-container--open.select2-container--above .select2-selection--single{border-top-left-radius:0;border-top-right-radius:0}.select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple,.select2-container--default.select2-container--open.select2-container--below .select2-selection--single{border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--default .select2-search--dropdown .select2-search__field{background:#fff;background:1px solid var(--select2-search-background,#fff);border:1px solid #aaa;border:1px solid var(--select2-search-border-color,#aaa);border-radius:0;border-radius:var(--select2-search-border-radius,0)}.select2-container--default .select2-search--inline .select2-search__field{-webkit-appearance:textfield;background:transparent;border:none;box-shadow:none;outline:none}.select2-container--default .select2-results>.select2-results__options{overflow-y:auto}.select2-container--default .select2-results__option[role=group]{padding:0}.select2-container--default .select2-results__option[aria-disabled=true]{background:transparent;background:var(--select2-option-disabled-background,transparent);color:#999;color:var(--select2-option-disabled-text-color,#999)}.select2-container--default .select2-results__option[aria-selected=true]{background:#ddd;background:var(--select2-option-selected-background,#ddd);color:#000;color:var(--select2-option-selected-text-color,#000)}.select2-container--default .select2-results__option .select2-results__option{padding-left:1em}.select2-container--default .select2-results__option .select2-results__option .select2-results__group{padding-left:0}.select2-container--default .select2-results__option .select2-results__option .select2-results__option{margin-left:-1em;padding-left:2em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-2em;padding-left:3em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-3em;padding-left:4em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-4em;padding-left:5em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-5em;padding-left:6em}.select2-container--default .select2-results__option--highlighted[aria-selected]{background:#5897fb;background:var(--select2-option-highlighted-background,#5897fb);color:#fff;color:var(--select2-option-highlighted-text-color,#fff)}.select2-container--default .select2-results__option--hide{display:none}.select2-container--default .select2-results__group{background:transparent;background:var(--select2-option-group-background,transparent);color:grey;color:var(--select2-option-group-text-color,grey);cursor:default;display:block;padding:6px}.select2-no-result{color:#888;color:var(--select2-no-result-color,#888);font-style:italic;font-style:var(--select2-font-style-color,italic)}:host.nostyle .select2-dropdown{border-color:transparent}:host.nostyle .select2-container--default .select2-focused .select2-selection--multiple,:host.nostyle .select2-container--default .select2-focused .select2-selection--single,:host.nostyle .select2-container--default:not(.select2-container--open) .select2-focused .select2-selection--multiple,:host.nostyle .select2-container--default:not(.select2-container--open) .select2-focused .select2-selection--single,:host.nostyle .select2-selection--multiple,:host.nostyle .select2-selection--single{background:transparent;border-color:transparent}:host.material{display:inline-block;width:300px}:host.material>.select2-container{padding-bottom:1.29688em;vertical-align:inherit}:host.material>.select2-container .selection{align-items:baseline;border-top:.84375em solid transparent;display:inline-flex;height:auto;padding:.4375em 0;width:100%}:host.material .select2-container--default .select2-selection--multiple,:host.material .select2-container--default .select2-selection--single{border:0;border-radius:0;box-sizing:border-box;height:24px;width:100%}:host.material .select2-container--default .select2-selection--multiple:before,:host.material .select2-container--default .select2-selection--single:before{background:#ddd;background:var(--select2-material-underline,#ddd);bottom:1.65em;content:\" \";display:block;height:1px;position:absolute;width:100%}:host.material .select2-container--default .select2-selection--multiple:after,:host.material .select2-container--default .select2-selection--single:after{background:#5a419e;background:var(--select2-material-underline-active,#5a419e);bottom:1.63em;content:\" \";display:block;height:2px;left:50%;position:absolute;transition:none;width:0}:host.material .select2-container--default .select2-selection--multiple .select2-selection__rendered,:host.material .select2-container--default .select2-selection--single .select2-selection__rendered{line-height:inherit;padding-left:1px}:host.material .select2-container--default .select2-selection--multiple .select2-selection__placeholder,:host.material .select2-container--default .select2-selection--single .select2-selection__placeholder{color:rgba(0,0,0,.38);color:var(--select2-material-placeholder-color,rgba(0,0,0,.38));display:block;left:0;position:absolute;top:20px;transform-origin:0 21px;transition:transform .3s}:host.material .select2-container--default .select2-container--open{bottom:1.6em;left:0}:host.material .select2-container--default .select2-selection__placeholder__option{transform:translateY(-1.5em) scale(.75) perspective(100px) translateZ(.001px);width:133.33333%}:host.material .select2-container--default .select2-selection__arrow{top:20px}:host.material .select2-container--default.select2-container--open .select2-selection--multiple:after,:host.material .select2-container--default.select2-container--open .select2-selection--single:after,:host.material .select2-container--default .select2-focused .select2-selection--multiple:after,:host.material .select2-container--default .select2-focused .select2-selection--single:after{left:0;transition:width .3s cubic-bezier(.12,1,.77,1),left .3s cubic-bezier(.12,1,.77,1);width:100%}:host.material .select2-container--default .select2-dropdown{border:0;border-radius:0;box-shadow:0 5px 5px rgba(0,0,0,.5)}:host.material .select2-container--default .select2-results__option--highlighted[aria-selected],:host.material .select2-container--default .select2-results__option[aria-selected=true]{background:rgba(0,0,0,.04);background:var(--select2-material-option-selected-background,rgba(0,0,0,.04));color:#000;color:var(--select2-material-option-highlighted-text-color,#000)}:host.material .select2-container--default .select2-results__option[aria-selected=true]{color:#ff5722;color:var(--select2-material-option-selected-text-color,#ff5722)}:host.material .select2-container--default.select2-container--disabled .select2-selection--multiple,:host.material .select2-container--default.select2-container--disabled .select2-selection--single{background:transparent}:host.material .select2-container--default.select2-container--disabled .select2-selection--multiple:before,:host.material .select2-container--default.select2-container--disabled .select2-selection--single:before{background:linear-gradient(90deg,rgba(0,0,0,.26) 0,rgba(0,0,0,.26) 33%,transparent 0);background:var(--select2-material-underline-disabled,linear-gradient(90deg,rgba(0,0,0,.26) 0,rgba(0,0,0,.26) 33%,transparent 0));background-position:0 bottom;background-repeat:repeat-x;background-size:4px 1px}:host.material.ng-invalid.ng-touched .select2-container--default .select2-selection--multiple:after,:host.material.ng-invalid.ng-touched .select2-container--default .select2-selection--multiple:before,:host.material.ng-invalid.ng-touched .select2-container--default .select2-selection--single:after,:host.material.ng-invalid.ng-touched .select2-container--default .select2-selection--single:before{background:red;background:var(--select2-material-underline-invalid,red)}:host.material:not(.select2-container--open) .select2-focused .select2-selection--multiple,:host.material:not(.select2-container--open) .select2-focused .select2-selection--single{border:0}:host.material .select2-subscript-wrapper{color:#888;color:var(--select2-hint-text-color,#888);font-size:75%;position:absolute;top:calc(100% - 1.72917em)}::ng-deep .select2-overlay-backdrop{background:rgba(0,0,0,.32);background:var(--select2-overlay-backdrop,transparent)}@supports (-moz-appearance:none){select2.material .select2-container--default .select2-selection--multiple,select2.material .select2-container--default .select2-selection--single{height:26px}}@supports (-ms-scroll-limit:0){select2.material .select2-container--default .select2-selection--multiple,select2.material .select2-container--default .select2-selection--single{height:25px}}"]}]}],"members":{"data":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":29,"character":5}}]}],"minCharForSearch":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":30,"character":5}}]}],"displaySearchStatus":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":31,"character":5}}]}],"placeholder":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":32,"character":5}}]}],"customSearchEnabled":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":33,"character":5}}]}],"limitSelection":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":34,"character":5}}]}],"listPosition":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":35,"character":5}}]}],"multiple":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":37,"character":5}}]}],"overlay":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":42,"character":5}}]}],"styleMode":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":47,"character":5}}]}],"noResultMessage":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":50,"character":5}}]}],"infiniteScrollDistance":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":53,"character":5}}]}],"infiniteScrollThrottle":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":56,"character":5}}]}],"infiniteScroll":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":59,"character":5}}]}],"editPattern":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":64,"character":5}}]}],"templates":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":67,"character":5}}]}],"resultMaxHeight":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":71,"character":5}}]}],"update":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":73,"character":5}}]}],"open":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":74,"character":5}}]}],"close":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":75,"character":5}}]}],"focus":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":76,"character":5}}]}],"blur":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":77,"character":5}}]}],"search":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":78,"character":5}}]}],"scroll":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":79,"character":5}}]}],"removeOption":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":80,"character":5}}]}],"minCountForSearch":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":115,"character":5}}]}],"id":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":126,"character":5}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":127,"character":5},"arguments":["id"]}]}],"required":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":132,"character":5}}]}],"disabled":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":137,"character":5}}]}],"hideSelectedItems":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":142,"character":5}}]}],"readonly":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":147,"character":5}}]}],"value":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":152,"character":5}}]}],"tabIndex":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":167,"character":5}}]}],"resettable":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":179,"character":5}}]}],"ariaInvalid":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":183,"character":5},"arguments":["attr.aria-invalid"]}]}],"classMaterial":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":188,"character":5},"arguments":["class.material"]}]}],"classNostyle":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":193,"character":5},"arguments":["class.nostyle"]}]}],"select2above":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":198,"character":5},"arguments":["class.select2-above"]}]}],"selection":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":208,"character":5},"arguments":["selection",{"static":true}]}]}],"resultContainer":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":209,"character":5},"arguments":["results"]}]}],"results":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChildren","line":210,"character":5},"arguments":["result"]}]}],"searchInput":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":211,"character":5},"arguments":["searchInput"]}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":246,"character":9}}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":247,"character":9}}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Self","line":248,"character":9}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":248,"character":17}}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Attribute","line":249,"character":9},"arguments":["tabindex"]}]],"parameters":[{"__symbolic":"reference","module":"@angular/cdk/scrolling","name":"ViewportRuler","line":244,"character":34},{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":245,"character":36},{"__symbolic":"reference","module":"@angular/forms","name":"NgForm","line":246,"character":41},{"__symbolic":"reference","module":"@angular/forms","name":"FormGroupDirective","line":247,"character":46},{"__symbolic":"reference","module":"@angular/forms","name":"NgControl","line":248,"character":45},{"__symbolic":"reference","name":"string"}]}],"ngOnInit":[{"__symbolic":"method"}],"ngAfterViewInit":[{"__symbolic":"method"}],"ngDoCheck":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"updateSearchBox":[{"__symbolic":"method"}],"hideSearch":[{"__symbolic":"method"}],"getOptionStyle":[{"__symbolic":"method"}],"mouseenter":[{"__symbolic":"method"}],"click":[{"__symbolic":"method"}],"reset":[{"__symbolic":"method"}],"prevChange":[{"__symbolic":"method"}],"toggleOpenAndClose":[{"__symbolic":"method"}],"hasTemplate":[{"__symbolic":"method"}],"getTemplate":[{"__symbolic":"method"}],"triggerRect":[{"__symbolic":"method"}],"testSelection":[{"__symbolic":"method"}],"testValueChange":[{"__symbolic":"method"}],"updateFilteredData":[{"__symbolic":"method"}],"clickDetection":[{"__symbolic":"method"}],"clickExit":[{"__symbolic":"method"}],"ifParentContainsClass":[{"__symbolic":"method"}],"ifParentContainsId":[{"__symbolic":"method"}],"getParentElementByClass":[{"__symbolic":"method"}],"getParentElementById":[{"__symbolic":"method"}],"containClasses":[{"__symbolic":"method"}],"focusin":[{"__symbolic":"method"}],"focusout":[{"__symbolic":"method"}],"moveUp":[{"__symbolic":"method"}],"moveDown":[{"__symbolic":"method"}],"updateScrollFromOption":[{"__symbolic":"method"}],"selectByEnter":[{"__symbolic":"method"}],"select":[{"__symbolic":"method"}],"keyDown":[{"__symbolic":"method"}],"openKey":[{"__symbolic":"method"}],"trackBy":[{"__symbolic":"method"}],"searchUpdate":[{"__symbolic":"method"}],"isSelected":[{"__symbolic":"method"}],"isDisabled":[{"__symbolic":"method"}],"removeSelection":[{"__symbolic":"method"}],"writeValue":[{"__symbolic":"method"}],"registerOnChange":[{"__symbolic":"method"}],"registerOnTouched":[{"__symbolic":"method"}],"setDisabledState":[{"__symbolic":"method"}],"_isErrorState":[{"__symbolic":"method"}],"_testKey":[{"__symbolic":"method"}],"_getKey":[{"__symbolic":"method"}],"_isKey":[{"__symbolic":"method"}],"_setSelectionByValue":[{"__symbolic":"method"}],"_dirtyCheckNativeValue":[{"__symbolic":"method"}],"_coerceBooleanProperty":[{"__symbolic":"method"}],"_focusSearchboxOrResultsElement":[{"__symbolic":"method"}],"_focus":[{"__symbolic":"method"}],"onScroll":[{"__symbolic":"method"}]}},"Select2Hint":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":2,"character":1},"arguments":[{"selector":"select2-hint"}]}],"members":{}},"Select2Label":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":2,"character":1},"arguments":[{"selector":"select2-label"}]}],"members":{}},"Select2Utils":{"__symbolic":"class","members":{},"statics":{"isNullOrUndefined":{"__symbolic":"function","parameters":["value"],"value":{"__symbolic":"binop","operator":"||","left":{"__symbolic":"binop","operator":"===","left":{"__symbolic":"reference","name":"value"},"right":null},"right":{"__symbolic":"binop","operator":"===","left":{"__symbolic":"reference","name":"value"},"right":{"__symbolic":"reference","name":"undefined"}}}},"containSearchText":{"__symbolic":"function","parameters":["label","searchText","editPattern"],"value":{"__symbolic":"if","condition":{"__symbolic":"reference","name":"searchText"},"thenExpression":{"__symbolic":"binop","operator":"!==","left":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"Select2Utils"},"member":"formatSansUnicode"},"arguments":[{"__symbolic":"reference","name":"label"}]},"member":"match"},"arguments":[{"__symbolic":"new","expression":{"__symbolic":"reference","name":"RegExp"},"arguments":[{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"Select2Utils"},"member":"formatPattern"},"arguments":[{"__symbolic":"reference","name":"searchText"},{"__symbolic":"reference","name":"editPattern"}]},"i"]}]},"right":null},"elseExpression":true}},"protectPattern":{"__symbolic":"function","parameters":["str"],"value":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"str"},"member":"replace"},"arguments":[{"__symbolic":"reference","name":"protectRegexp"},"\\$&"]}},"isSelected":{"__symbolic":"function","parameters":["options","option","multiple"],"value":{"__symbolic":"if","condition":{"__symbolic":"reference","name":"multiple"},"thenExpression":{"__symbolic":"if","condition":{"__symbolic":"binop","operator":"&&","left":{"__symbolic":"reference","name":"options"},"right":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"options"},"member":"some"},"arguments":[{"__symbolic":"error","message":"Lambda not supported","line":259,"character":22,"module":"./lib/select2-utils"}]}},"thenExpression":"true","elseExpression":"false"},"elseExpression":{"__symbolic":"if","condition":{"__symbolic":"binop","operator":"&&","left":{"__symbolic":"reference","name":"options"},"right":{"__symbolic":"binop","operator":"===","left":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"option"},"member":"value"},"right":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"options"},"member":"value"}}},"thenExpression":"true","elseExpression":"false"}}}}},"Select2Module":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":11,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":13,"character":8},{"__symbolic":"reference","module":"@angular/forms","name":"FormsModule","line":14,"character":8},{"__symbolic":"reference","module":"@angular/cdk/overlay","name":"OverlayModule","line":15,"character":8},{"__symbolic":"reference","module":"@angular/forms","name":"ReactiveFormsModule","line":16,"character":8},{"__symbolic":"reference","module":"ngx-infinite-scroll","name":"InfiniteScrollModule","line":17,"character":8}],"declarations":[{"__symbolic":"reference","name":"Select2Hint"},{"__symbolic":"reference","name":"Select2Label"},{"__symbolic":"reference","name":"Select2"}],"exports":[{"__symbolic":"reference","module":"@angular/forms","name":"FormsModule","line":25,"character":8},{"__symbolic":"reference","module":"@angular/forms","name":"ReactiveFormsModule","line":26,"character":8},{"__symbolic":"reference","name":"Select2Hint"},{"__symbolic":"reference","name":"Select2Label"},{"__symbolic":"reference","name":"Select2"}]}]}],"members":{}}},"origins":{"Select2Group":"./lib/select2-interfaces","Select2Option":"./lib/select2-interfaces","Select2Value":"./lib/select2-interfaces","Select2UpdateValue":"./lib/select2-interfaces","Select2Data":"./lib/select2-interfaces","Select2UpdateEvent":"./lib/select2-interfaces","Select2SearchEvent":"./lib/select2-interfaces","Select2RemoveEvent":"./lib/select2-interfaces","Select2ScrollEvent":"./lib/select2-interfaces","timeout":"./lib/select2-const","unicodePatterns":"./lib/select2-const","defaultMinCountForSearch":"./lib/select2-const","protectRegexp":"./lib/select2-const","Select2":"./lib/select2.component","Select2Hint":"./lib/select2-hint.component","Select2Label":"./lib/select2-label.component","Select2Utils":"./lib/select2-utils","Select2Module":"./lib/select2.module"},"importAs":"ng-select2-component"}
{
"name": "ng-select2-component",
"version": "8.0.1",
"version": "8.0.2",
"description": "An Angular select2 component.",

@@ -5,0 +5,0 @@ "author": "York Yao, Célian Veyssière",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc