PageSourceSearch

https://gs1bih.org/199.5687719e6c702dcc.js

js gs1bih.org collected 2026-09-25 07:53:40 UTC 87,440 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkgs1bih=self.webpackChunkgs1bih||[]).push([[199],{6199:(ht,Ve,I)=>{I.d(Ve,{m:()=>Ne});var t=I(6895),C=I(529),m=I(4650),Ie=I(4707);let A=(()=>{class a{}return a.START="start",a.STOP="stop",a.UPDATE="update",a.RESET="reset",a.RESET_GLOBAL="reset_global",a.UNSUBSCRIBE="unsubscribe",a})();const Y="block-ui-main";let z=(()=>{let a=class{constructor(){this.blockUISettings={},this.blockUIInstances={},this.blockUISubject=new Ie.t(1),this.blockUIObservable=this.blockUISubject.asObservable(),this.blockUIObservable.subscribe(this.blockUIMiddleware.bind(this))}getSettings(){return this.blockUISettings}updateSettings(r={}){this.blockUISettings=Object.assign(Object.assign({},this.blockUISettings),r)}decorate(r=Y){const d={name:r,isActive:!1,blockCount:0,start:this.dispatch(this.blockUISubject,A.START,r),update:this.dispatch(this.blockUISubject,A.UPDATE,r),stop:this.dispatch(this.blockUISubject,A.STOP,r),reset:this.dispatch(this.blockUISubject,A.RESET,r),resetGlobal:this.dispatch(this.blockUISubject,A.RESET_GLOBAL,r),unsubscribe:this.dispatch(this.blockUISubject,A.UNSUBSCRIBE,r)};return this.blockUIInstances[r]=this.blockUIInstances[r]||d,d}observe(){return this.blockUIObservable}clearInstance(r){this.dispatch(this.blockUISubject,A.RESET,r)}blockUIMiddleware({action:r,name:d}){let f=null;switch(r){case A.START:f=!0;break;case A.STOP:case A.RESET:f=!1}null!==f&&(this.blockUIInstances[d].isActive=f)}dispatch(r,d,f=Y){return g=>{r.next({name:f,action:d,message:g})}}};return a.\u0275fac=function(r){return new(r||a)},a.\u0275prov=m.Yz7({token:a,factory:function(p){return a.\u0275fac(p)}}),a})(),ce=(()=>{let a=class{constructor(r){this.blockUIInstance=r,this.globalDispatch=this.blockUIInstance.decorate()}start(r,d){this.dispatch(r,A.START,d)}stop(r){this.dispatch(r,A.STOP)}reset(r){this.dispatch(r,A.RESET)}resetGlobal(){this.globalDispatch.resetGlobal()}update(r,d){this.dispatch(r,A.UPDATE,d)}unsubscribe(r){this.dispatch(r,A.UNSUBSCRIBE)}isActive(r=null){const d=r?this.toArray(r):null,f=this.blockUIInstance.blockUIInstances;return Object.keys(f).some(g=>d?d.indexOf(f[g].name)>=0&&f[g].isActive:f[g].isActive)}dispatch(r=[],d,f){this.toArray(r).forEach(b=>this.blockUIInstance.decorate(b)[d](f))}toArray(r=[]){return"string"==typeof r?[r]:r}};return a.\u0275fac=function(r){return new(r||a)(m.LFG(z))},a.\u0275prov=m.Yz7({token:a,factory:function(p){return a.\u0275fac(p)}}),a})();var de;const j=new z,Ae=new m.OlP("BlockUIModuleSettings");function we(a){return j.updateSettings(a),j}let N=de=class{static forRoot(p={}){return{ngModule:de,providers:[{provide:Ae,useValue:p},{provide:z,useFactory:we,deps:[Ae]},ce]}}};N.\u0275fac=function(p){return new(p||N)},N.\u0275mod=m.oAB({type:N}),N.\u0275inj=m.cJS({imports:[t.ez]});var q=I(4006),ke=I(2148),he=I(3416),ie=I(5226);I(8164),I(5439),I(1481);var ge=I(388),xe=I(4838),me=I(2216),ve=I(3194);const Me=[t.ez,q.u5,q.UX,C.JF,ke.Bz,he.aw,N,ie.A0,xe.yz,me.uH];let Ne=(()=>{class a{}return a.\u0275fac=function(r){return new(r||a)},a.\u0275mod=m.oAB({type:a}),a.\u0275inj=m.cJS({imports:[Me,ve.qyJ.pick({Eye:ve.bAj,FileDown:ve.pk}),ge.zk.forRoot(),t.ez,q.u5,q.UX,C.JF,ke.Bz,he.aw,N,ie.A0,xe.yz,me.uH,ge.zk]}),a})()},4838:(ht,Ve,I)=>{I.d(Ve,{xZ:()=>g,yz:()=>L});var t=I(4650),C=I(4006);function T(n){return null!=n}function Q(n){try{const c=new Date(n);return!isNaN(c.getTime())}catch{return!1}}function H(n){try{if(n._d instanceof Date){const c=n._d,s=+c.getMonth()+1,_=+c.getDate();return`${c.getFullYear()}-${re(s)}-${re(_)}`}if("object"==typeof n&&null!=n.year&&null!=n.month&&null!=n.day){const s=+n.day;return`${n.year}-${re(+n.month)}-${re(s)}`}}catch{}return n}function re(n){return n<10?`0${n}`:n}const w=n=>c=>{if(T(C.kI.required(c)))return null;const s=c.value;return Array.isArray(s)&&s.length>=+n?null:{arrayLength:{minLength:n}}},Xe={provide:C.Cf,useExisting:(0,t.Gpc)(()=>Ue),multi:!0};let Ue=(()=>{class n{ngOnInit(){this.validator=w(this.arrayLength)}ngOnChanges(s){for(const _ in s)"arrayLength"===_&&(this.validator=w(s[_].currentValue),this.onChange&&this.onChange())}validate(s){return this.validator(s)}registerOnValidatorChange(s){this.onChange=s}}return n.\u0275fac=function(s){return new(s||n)},n.\u0275dir=t.lG2({type:n,selectors:[["","arrayLength","","formControlName",""],["","arrayLength","","formControl",""],["","arrayLength","","ngModel",""]],inputs:{arrayLength:"arrayLength"},features:[t._Bn([Xe]),t.TTD]}),n})();const et={provide:C.Cf,useExisting:(0,t.Gpc)(()=>Pe),multi:!0};let Pe=(()=>{class n{validate(s){return(n=>T(C.kI.required(n))||/^(?:[A-Z0-9+\/]{4}
1)*(?:[A-Z0-9+\/]{2}==|[A-Z0-9+\/]{3}=|[A-Z0-9+\/]{4})$/i.test(n.value)?null:{base64:!0})(s)}}return n.\u0275fac=function(s){return new(s||n)},n.\u0275dir=t.lG2({type:n,selectors:[["","base64","","formControlName",""],["","base64","","formControl",""],["","base64","","ngModel",""]],features:[t._Bn([et])]}),n})();const Te={provide:C.Cf,useExisting:(0,t.Gpc)(()=>be),multi:!0};let be=(()=>{class n{validate(s){return(n=>{if(T(C.kI.required(n)))return null;const s=n.value.replace(/[^0-9]+/g,"");if(!/^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\d{3})\d{11}|(?:9792)\d{12})$/.test(s))return{creditCard:!0};let M,F,Z,_=0;for(let Ce=s.length-1;Ce>=0;Ce--)M=s.substring(Ce,Ce+1),F=parseInt(M,10),Z?(F*=2,_+=F>=10?F%10+1:F):_+=F,Z=!Z;return Boolean(_%10==0&&s)?null:{creditCard:!0}})(s)}}return n.\u0275fac=function(s){return new(s||n)},n.\u0275dir=t.lG2({type:n,selectors:[["","creditCard","","formControlName",""],["","creditCard","","formControl",""],["","creditCard","","ngModel",""]],features:[t._Bn([Te])]}),n})();const tt={provide:C.Cf,useExisting:(0,t.Gpc)(()=>$),multi:!0};let $=(()=>{class n{validate(s){return(n=>T(C.kI.required(n))||/^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/.test(n.value)?null:{dateISO:!0})(s)}}return n.\u0275fac=function(s){return new(s||n)},n.\u0275dir=t.lG2({type:n,selectors:[["","dateISO","","formControlName",""],["","dateISO","","formControl",""],["","dateISO","","ngModel",""]],features:[t._Bn([tt])]}),n})();const ae={provide:C.Cf,useExisting:(0,t.Gpc)(()=>Ee),multi:!0};let Ee=(()=>{class n{validate(s){return(n=>{if(T(C.kI.required(n)))return null;let c=n.value;return c=H(c),Q(c)?null:{date:!0}})(s)}}return n.\u0275fac=function(s){return new(s||n)},n.\u0275dir=t.lG2({type:n,selectors:[["","date","","formControlName",""],["","date","","formControl",""],["","date","","ngModel",""]],features:[t._Bn([ae])]}),n})();const ct={provide:C.Cf,useExisting:(0,t.Gpc)(()=>qe),multi:!0};let qe=(()=>{class n{validate(s){return(n=>T(C.kI.required(n))||/^\d+$/.test(n.value)?null:{digits:!0})(s)}}return n.\u0275fac=function(s){return new(s||n)},n.\u0275dir=t.lG2({type:n,selectors:[["","digits","","formControlName",""],["","digits","","formControl",""],["","digits","","ngModel",""]],features:[t._Bn([ct])]}),n})();const ue={provide:C.Cf,useExisting:(0,t.Gpc)(()=>m),multi:!0};let m=(()=>{class n{validate(s){return(n=>
1T(C.kI.required(n))||/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(n.value)?null:{email:!0})(s)}}return n.\u0275fac=function(s){return new(s||n)},n.\u0275dir=t.lG2({type:n,selectors:[["","ngvemail","","formControlName",""],["","ngvemail","","formControl",""],["","ngvemail","","ngModel",""]],features:[t._Bn([ue])]}),n})();const ze={provide:C.Cf,useExisting:(0,t.Gpc)(()=>ye),multi:!0};let ye=(()=>{class n{ngOnInit(){this.validator=(n=>{let c=!1;return s=>(c||(c=!0,n.valueChanges.subscribe(()=>{s.updateValueAndValidity()})),n.value===s.value?null:{equalTo:{control:n,value:n.value}})})(this.equalTo)}validate(s){return this.validator(s)}}return n.\u0275fac=function(s){return new(s||n)},n.\u0275dir=t.lG2({type:n,selectors:[["","equalTo","","formControlName",""],["","equalTo","","formControl",""],["","equalTo","","ngModel",""]],inputs:{equalTo:"equalTo"},features:[t._Bn([ze])]}),n})();const Se=n=>c=>T(C.kI.required(c))||n===c.value?null:{equal:{value:n}},te={provide:C.Cf,useExisting:(0,t.Gpc)(()=>W),multi:!0};let W=(()=>{class n{ngOnInit(){this.validator=Se(this.equal)}ngOnChanges(s){for(const _ in s)"equal"===_&&(this.validator=Se(s[_].currentValue),this.onChange&&this.onChange())}validate(s){return this.validator(s)}registerOnValidatorChange(s){this.onChange=s}}return n.\u0275fac=function(s){return new(s||n)},n.\u0275dir=t.lG2({type:n,selectors:[["","equal","","formControlName",""],["","equal","","formControl",""],["","equal","","ngModel",""]],inputs:{equal:"equal"},features:[t._Bn([te]),t.TTD]}),n})();const K=n=>c=>!T(n)||T(C.kI.required(c))||+c.value>=+n?null:{gte:{value:n}},V={provide:C.Cf,useExisting:(0,t.Gpc)(()=>A),multi:!0};let A=(()=>{class n{ngOnInit(){this.validator=K(this.gte)}ngOnChanges(s){for(const _ in s)"gte"===_&&(this.validator=K(s[_].currentValue),this.onChange&&this.onChange())}validate(s){return this.validator(s)}registerOnValidatorChange(s){this.onChange=s}}return n.\u0275fac=function(s){return new(s||n)},n.\u0275dir=t.lG2({type:n,selectors:[["","gte","","formControlName",""],["","gte","","formControl",""],["","gte","","ngModel",""]],inputs:{gte:"gte"},features:[t._Bn([V]),t.TTD]}),n})();const Y=n=>c=>!T(n)||T(C.kI.required(c))||+c.value>+n?null:{gt:{value:n}},z={provide:C.Cf,useExisting:(0,t.Gpc)(()=>X),multi:!0};let X=(()=>{class n{ngOnInit(){this.validator=Y(this.gt)}ngOnChanges(s){for(const _ in s)"gt"===_&&(this.validator=Y(s[_].currentValue),this.onChange&&this.onChange())}validate(s){return this.validator(s)}registerOnValidatorChange(s){this.onChange=s}}return n.\u0275fac=function(s){return new(s||n)},n.\u0275dir=t.lG2({type:n,selectors:[["","gt","","formControlName",""],["","gt","","formControl",""],["","gt","","ngModel",""]],inputs:{gt:"gt"},features:[t._Bn([z]),t.TTD]}),n})();const De=n=>c=>!T(n)||T(C.kI.required(c))?null:n.indexOf(c.value)<0?{includedIn:{value:c.value,reason:n}}:null,nt={provide:C.Cf,useExisting:(0,t.Gpc)(()=>ne),multi:!0};let ne=(()=>{class n{ngOnInit(){this.validator=De(this.includedIn)}ngOnChanges(s){for(const _ in s)"includedIn"===_&&(this.validator=De(s[_].currentValue),this.onChange&&this.onChange())}validate(s){return this.validator(s)}registerOnValidatorChange(s){this.onChange=s}}return n.\u0275fac=function(s){return new(s||n)},n.\u0275dir=t.lG2({type:n,selectors:[["","includedIn","","formControlName",""],["","includedIn","","formControl",""],["","includedIn","","ngModel",""]],inputs:{includedIn:"includedIn"},features:[t._Bn([nt]),t.TTD]}),n})();const it={provide:C.Cf,useExisting:(0,t.Gpc)(()=>de),multi:!0};let de=(()=>{class n{validate(s){return(n=>{if(T(C.kI.required(n)))return null;const c=n.value;try{const s=JSON.parse(c);if(Boolean(s)&&"object"==typeof s)return null}catch{}return{json:!0}})(s)}}return n.\u0275fac=function(s){return new(s||n)},n.\u0275dir=t.lG2({type:n,selectors:[["","json","","formControlName",""],["","json","","formControl",""],["","json","","ngModel",""]],features:[t._Bn([it])]}),n})();const j=n=>c=>!T(n)||T(C.kI.required(c))||+c.value<=+n?null:{lte:{value:n}},Ae={provide:C.Cf,useExisting:(0,t.Gpc)(()=>we),multi:!0};let we=(()=>{class n{ngOnInit(){this.validator=j(this.lte)}ngOnChanges(s){for(const _ in s)"lte"===_&&(this.validator=j(s[_].currentValue),this.onChange&&this.onChange())}validate(s){return this.validator(s)}registerOnValidatorChange(s){this.onChange=s}}return n.\u0275fac=function(s){return new(s||n)},n.\u0275dir=t.lG2({type:n,selectors:[["","lte","","formControlName",""],["","lte","","formControl",""],["","lte","","ngModel",""]],inputs:{lte:"lte"},features:[t._Bn([Ae]),t.TTD]}),n})();const N=n=>c=>!T(n)||T(C.kI.required(c))||+c.value<+n?null:{lt:{value:n}},je={provide:C.Cf,useExisting:(0,t.Gpc)(()=>Je),multi:!0};let Je=(()=>{class n{ngOnInit(){this.validator=N(this.lt)}ngOnChanges(s){for(const _ in s)"lt"===_&&(this.validator=N(s[_].currentValue),this.onChange&&this.onChange())}validate(s){return this.validator(s)}registerOnValidatorChange(s){this.onChange=s}}return n.\u0275fac=function(s){return new(s||n)},n.\u0275dir=t.lG2({type:n,selectors:[["","lt","","formControlName",""],["","lt","","formControl",""],["","lt","","ngModel",""]],inputs:{lt:"lt"},features:[t._Bn([je]),t.TTD]}),n})();const q=n=>{let c,s=!1,_=n;const M=n instanceof C.NI||n instanceof C.On;return F=>{if(!s&&M&&(s=!0,n.valueChanges.subscribe(()=>
1{F.updateValueAndValidity()})),M&&(_=n.value),c=H(_),!(Q(c)||c instanceof Function)){if(null==c)return null;if(M)return{maxDate:{error:"maxDate is invalid"}};throw Error("maxDate value must be or return a formatted date")}if(T(C.kI.required(F)))return null;const Z=new Date(H(F.value)).getTime();return Q(Z)?(c instanceof Function&&(c=c()),Z<=new Date(c).getTime()?null:M?{maxDate:{control:n,value:n.value}}:{maxDate:{value:_,control:void 0}}):{value:!0}}},ke={provide:C.Cf,useExisting:(0,t.Gpc)(()=>he),multi:!0};let he=(()=>{class n{ngOnInit(){this.validator=q(this.maxDate)}ngOnChanges(s){for(const _ in s)"maxDate"===_&&(this.validator=q(s[_].currentValue),this.onChange&&this.onChange())}validate(s){return this.validator(s)}registerOnValidatorChange(s){this.onChange=s}}return n.\u0275fac=function(s){return new(s||n)},n.\u0275dir=t.lG2({type:n,selectors:[["","maxDate","","formControlName",""],["","maxDate","","formControl",""],["","maxDate","","ngModel",""]],inputs:{maxDate:"maxDate"},features:[t._Bn([ke]),t.TTD]}),n})();const ie=n=>c=>!T(n)||T(C.kI.required(c))||+c.value<=+n?null:{max:{value:n}},se={provide:C.Cf,useExisting:(0,t.Gpc)(()=>ee),multi:!0};let ee=(()=>{class n{ngOnInit(){this.validator=ie(this.max)}ngOnChanges(s){for(const _ in s)"max"===_&&(this.validator=ie(s[_].currentValue),this.onChange&&this.onChange())}validate(s){return this.validator(s)}registerOnValidatorChange(s){this.onChange=s}}return n.\u0275fac=function(s){return new(s||n)},n.\u0275dir=t.lG2({type:n,selectors:[["","max","","formControlName",""],["","max","","formControl",""],["","max","","ngModel",""]],inputs:{max:"max"},features:[t._Bn([se]),t.TTD]}),n})();const pe=n=>{let c,s=!1,_=n;const M=n instanceof C.NI||n instanceof C.On;return F=>{if(!s&&M&&(s=!0,n.valueChanges.subscribe(()=>{F.updateValueAndValidity()})),M&&(_=n.value),c=H(_),!(Q(c)||c instanceof Function)){if(null==c)return null;if(M)return{minDate:{error:"minDate is invalid"}};throw Error("minDate value must be or return a formatted date")}if(T(C.kI.required(F)))return null;const Z=new Date(H(F.value)).getTime();return Q(Z)?(c instanceof Function&&(c=c()),Z>=new Date(c).getTime()?null:M?{minDate:{control:n,value:n.value}}:{minDate:{value:_,control:void 0}}):{value:!0}}},Qe={provide:C.Cf,useExisting:(0,t.Gpc)(()=>Oe),multi:!0};let Oe=(()=>{class n{ngOnInit(){this.validator=pe(this.minDate)}ngOnChanges(s){for(const _ in s)"minDate"===_&&(this.validator=pe(s[_].currentValue),this.onChange&&this.onChange())}validate(s){return this.validator(s)}registerOnValidatorChange(s){this.onChange=s}}return n.\u0275fac=function(s){return new(s||n)},n.\u0275dir=t.lG2({type:n,selectors:[["","minDate","","formControlName",""],["","minDate","","formControl",""],["","minDate","","ngModel",""]],inputs:{minDate:"minDate"},features:[t._Bn([Qe]),t.TTD]}),n})();const fe=n=>c=>!T(n)||T(C.kI.required(c))||+c.value>=+n?null:{min:{value:n}},$e={provide:C.Cf,useExisting:(0,t.Gpc)(()=>Fe),multi:!0};let Fe=(()=>{class n{ngOnInit(){this.validator=fe(this.min)}ngOnChanges(s){for(const _ in s)"min"===_&&(this.validator=fe(s[_].currentValue),this.onChange&&this.onChange())}validate(s){return this.validator(s)}registerOnValidatorChange(s){this.onChange=s}}return n.\u0275fac=function(s){return new(s||n)},n.\u0275dir=t.lG2({type:n,selectors:[["","min","","formControlName",""],["","min","","formControl",""],["","min","","ngModel",""]],inputs:{min:"min"},features:[t._Bn([$e]),t.TTD]}),n})();const xe={provide:C.Cf,useExisting:(0,t.Gpc)(()=>me),multi:!0};let me=(()=>{class n{ngOnInit(){this.validator=(n=>{let c=!1;return s=>{c||(c=!0,n.valueChanges.subscribe(()=>{s.updateValueAndValidity()}));const _=s.value;return null==n.value&&null==_||n.value!==_?null:{notEqualTo:{control:n,value:n.value}}}})(this.notEqualTo)}validate(s){return this.validator(s)}}return n.\u0275fac=function(s){return new(s||n)},n.\u0275dir=t.lG2({type:n,selectors:[["","notEqualTo","","formControlName",""],["","notEqualTo","","formControl",""],["","notEqualTo","","ngModel",""]],inputs:{notEqualTo:"notEqualTo"},features:[t._Bn([xe])]}),n})();const _e=n=>c=>T(C.kI.required(c))||n!==c.value?null:{notEqual:{value:n}},ve={provide:C.Cf,useExisting:(0,t.Gpc)(()=>Me),multi:!0};let Me=(()=>{class n{ngOnInit(){this.validator=_e(this.notEqual)}ngOnChanges(s){for(const _ in s)"notEqual"===_&&(this.validator=_e(s[_].currentValue),this.onChange&&this.onChange())}validate(s){return this.validator(s)}registerOnValidatorChange(s){this.onChange=s}}return n.\u0275fac=function(s){return new(s||n)},n.\u0275dir=t.lG2({type:n,selectors:[["","notEqual","","formControlName",""],["","notEqual","","formControl",""],["","notEqual","","ngModel",""]],inputs:{notEqual:"notEqual"},features:[t._Bn([ve]),t.TTD]}),n})();const Be=n=>c=>!T(n)||T(C.kI.required(c))?null:n.indexOf(c.value)>=0?{notIncludedIn:{value:c.value,reason:n}}:null,st={provide:C.Cf,useExisting:(0,t.Gpc)(()=>Ne),multi:!0};let Ne=(()=>{class n{ngOnInit(){this.validator=Be(this.notIncludedIn)}ngOnChanges(s){for(const _ in s)"notIncludedIn"===_&&(this.validator=Be(s[_].currentValue),this.onChange&&this.onChange())}validate(s){return this.validator(s)}registerOnValidatorChange(s){this.onChange=s}}return n.\u0275fac=function(s){return new(s||n)},n.\u0275dir=t.lG2({type:n,selectors:[["","notIncludedIn","","formControlName",""],["","notIncludedIn","","formControl",""],["","notIncludedIn","","ngModel",""]],inputs:{notIncludedIn:"notIncludedIn"},features:[t._Bn([st]),t.TTD]}),n})();const a=n=>{if(!T(n))return s=>null;const c=C.kI.pattern(n);return s=>T(C.kI.required(s))||c(s)?null:{notMatching:{value:s.value,reason:n}}},p={provide:C.Cf,useExisting:(0,t.Gpc)(()=>r),multi:!0};let r=(()=>{class n{ngOnInit(){this.validator=a(this.notMatching)}ngOnChanges(s){for(const _ in s)"notMatching"===_&&(this.validator=a(s[_].currentValue),this.onChange&&this.onChange())}validate(s){return this.validator(s)}registerOnValidatorChange(s){this.onChange=s}}return n.\u0275fac=function(s){return new(s||n)},n.\u0275dir=t.lG2({type:n,selectors:[["","notMatching","","formControlName",""],["","notMatching","","formControl",""],["","notMatching","","ngModel",""]],inputs:{notMatching:"notMatching"},features:[t._Bn([p]),t.TTD]}),n})();const f={provide:C.Cf,useExisting:(0,t.Gpc)(()=>g),multi:!0};let g=(()=>{class n{validate(s){return(n=>T(C.kI.required(n))||/^(?:-?\d+|-?\d{1,3}(?:,\d{3})+)?(?:\.\d+)?$/.test(n.value)?null:{number:!0})(s)}}return n.\u0275fac=function(s){return new(s||n)},n.\u0275dir=t.lG2({type:n,selectors:[["","number","","formControlName",""],["","number","","formControl",""],["","number","","ngModel",""]],features:[t._Bn([f])]}),n})();const b=n=>c=>{if(T(C.kI.required(c)))return null;const s=n.split(","),_=c.value;let M=!0;for(const F of s)if(null==_[F]){M=!1;break}return M?null:{hasProperty:{value:n}}},S={provide:C.Cf,useExisting:(0,t.Gpc)(()=>B),multi:!0};let B=(()=>{class n{ngOnInit(){this.validator=b(this.property)}ngOnChanges(s){for(const _ in s)"property"===_&&(this.validator=b(s[_].currentValue),this.onChange&&this.onChange())}validate(s){return this.validator(s)}registerOnValidatorChange(s){this.onChange=s}}return n.\u0275fac=function(s){return new(s||n)},n.\u0275dir=t.lG2({type:n,selectors:[["","property","","formControlName",""],["","property","","formControl",""],["","property","","ngModel",""]],inputs:{property:"property"},features:[t._Bn([S]),t.TTD]}),n})();const E=n=>c=>{if(!T(n)||T(C.kI.required(c)))return null;const s=c.value;return s.length>=n[0]&&s.length<=n[1]?null:{rangeLength:{value:n}}},x={provide:C.Cf,useExisting:(0,t.Gpc)(()=>U),multi:!0};let U=(()=>{class n{ngOnInit(){this.validator=E(this.rangeLength)}ngOnChanges(s){for(const _ in s)"rangeLength"===_&&(this.validator=E(s[_].currentValue),this.onChange&&this.onChange())}validate(s){return this.validator(s)}registerOnValidatorChange(s){this.onChange=s}}return n.\u0275fac=function(s){return new(s||n)},n.\u0275dir=t.lG2({type:n,selectors:[["","rangeLength","","formControlName",""],["","rangeLength","","formControl",""],["","rangeLength","","ngModel",""]],inputs:{rangeLength:"rangeLength"},features:[t._Bn([x]),t.TTD]}),n})();const k=n=>c=>{if(!T(n)||T(C.kI.required(c)))return null;const s=+c.value;return s>=n[0]&&s<=n[1]?null:{range:{value:n}}},J={provide:C.Cf,useExisting:(0,t.Gpc)(()=>oe),multi:!0};let oe=(()=>{class n{ngOnInit(){this.validator=k(this.range)}ngOnChanges(s){for(const _ in s)"range"===_&&(this.validator=k(s[_].currentValue),this.onChange&&this.onChange())}validate(s){return this.validator(s)}registerOnValidatorChange(s){this.onChange=s}}return n.\u0275fac=function(s){return new(s||n)},n.\u0275dir=t.lG2({type:n,selectors:[["","range","","formControlName",""],["","range","","formControl",""],["","range","","ngModel",""]],inputs:{range:"range"},features:[t._Bn([J]),t.TTD]}),n})();const dt={provide:C.Cf,useExisting:(0,t.Gpc)(()=>ot),multi:!0};let ot=(()=>{class n{validate(s){return(n=>
1T(C.kI.required(n))||/^(?:(?:(?:https?|ftp):)?\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,})).?)(?::\d{2,5})?(?:[/?#]\S*)?$/i.test(n.value)?null:{url:!0})(s)}}return n.\u0275fac=function(s){return new(s||n)},n.\u0275dir=t.lG2({type:n,selectors:[["","url","","formControlName",""],["","url","","formControl",""],["","url","","ngModel",""]],features:[t._Bn([dt])]}),n})();const rt={3:/^[0-9A-F]{8}-[0-9A-F]{4}-3[0-9A-F]{3}-[0-9A-F]{4}-[0-9A-F]{12}$/i,4:/^[0-9A-F]{8}-[0-9A-F]{4}-4[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i,5:/^[0-9A-F]{8}-[0-9A-F]{4}-5[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i,all:/^[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}$/i},We=n=>c=>{if(T(C.kI.required(c)))return null;const s=c.value;return new RegExp(rt[n]||rt.all).test(s)?null:{uuid:!0}},lt={provide:C.Cf,useExisting:(0,t.Gpc)(()=>at),multi:!0};let at=(()=>{class n{ngOnInit(){this.validator=We(this.uuid)}ngOnChanges(s){for(const _ in s)"uuid"===_&&(this.validator=We(s[_].currentValue),this.onChange&&this.onChange())}validate(s){return this.validator(s)}registerOnValidatorChange(s){this.onChange=s}}return n.\u0275fac=function(s){return new(s||n)},n.\u0275dir=t.lG2({type:n,selectors:[["","uuid","","formControlName",""],["","uuid","","formControl",""],["","uuid","","ngModel",""]],inputs:{uuid:"uuid"},features:[t._Bn([lt]),t.TTD]}),n})(),L=(()=>{class n{}return n.\u0275fac=function(s){return new(s||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({}),n})()},5226:(ht,Ve,I)=>{I.d(Ve,{mR:()=>U,ir:()=>E,w9:()=>ft,A0:()=>_t});var t=I(4650),C=I(4006),T=I(2722),Q=I(4986),H=I(4482),re=I(8421),w=I(5403),Ue=I(5963);var et=I(8675),Pe=I(8505),Te=I(9300),be=I(4004),He=I(6406),tt=I(4408);let le,$=1;const ae={};function Ee(l){return l in ae&&(delete ae[l],!0)}const Ye={setImmediate(l){const o=$++;return ae[o]=!0,le||(le=Promise.resolve()),le.then(()=>Ee(o)&&l()),o},clearImmediate(l){Ee(l)}},{setImmediate:qe,clearImmediate:Ze}=Ye,ue={setImmediate(...l){const{delegate:o}=ue;return(o?.setImmediate||qe)(...l)},clearImmediate(l){const{delegate:o}=ue;return(o?.clearImmediate||Ze)(l)},delegate:void 0};var Ie=I(7565);const ye=new class ze extends Ie.v{flush(o){this._active=!0;const e=this._scheduled;this._scheduled=void 0;const{actions:i}=this;let u;o=o||i.shift();do{if(u=o.execute(o.state,o.delay))break}while((o=i[0])&&o.id===e&&i.shift());if(this._active=!1,u){for(;(o=i[0])&&o.id===e&&i.shift();)o.unsubscribe();throw u}}}(class m extends tt.o{constructor(o,e){super(o,e),this.scheduler=o,this.work=e}requestAsyncId(o,e,i=0){return null!==i&&i>0?super.requestAsyncId(o,e,i):(o.actions.push(this),o._scheduled||(o._scheduled=ue.setImmediate(o.flush.bind(o,void 0))))}recycleAsyncId(o,e,i=0){var u;if(null!=i?i>0:this.delay>0)return super.recycleAsyncId(o,e,i);const{actions:h}=o;null!=e&&(null===(u=h[h.length-1])||void 0===u?void 0:u.id)!==e&&(ue.clearImmediate(e),o._scheduled===e&&(o._scheduled=void 0))}});var te=I(7579),W=I(4968),K=I(6451),V=I(6895);const A=["content"],Y=["scroll"],z=["padding"],X=function(l){return{searchTerm:l}};function De(l,o){if(1&l&&(t.TgZ(0,"div",6),t.GkF(1,7),t.qZA()),2&l){const e=t.oxw();
1t.xp6(1),t.Q6J("ngTemplateOutlet",e.headerTemplate)("ngTemplateOutletContext",t.VKq(2,X,e.filterValue))}}function nt(l,o){if(1&l&&(t.TgZ(0,"div",8),t.GkF(1,7),t.qZA()),2&l){const e=t.oxw();t.xp6(1),t.Q6J("ngTemplateOutlet",e.footerTemplate)("ngTemplateOutletContext",t.VKq(2,X,e.filterValue))}}const ne=["*"],ce=["searchInput"];function it(l,o){if(1&l){const e=t.EpF();t.TgZ(0,"span",15),t.NdJ("click",function(){t.CHM(e);const u=t.oxw().$implicit,h=t.oxw(2);return t.KtG(h.unselect(u))}),t._uU(1,"\xd7"),t.qZA(),t._UZ(2,"span",16)}if(2&l){const e=t.oxw().$implicit,i=t.oxw(2);t.xp6(2),t.Q6J("ngItemLabel",e.label)("escape",i.escapeHTML)}}function de(l,o){}const j=function(l,o,e){return{item:l,clear:o,label:e}};function Ae(l,o){if(1&l&&(t.TgZ(0,"div",12),t.YNc(1,it,3,2,"ng-template",null,13,t.W1O),t.YNc(3,de,0,0,"ng-template",14),t.qZA()),2&l){const e=o.$implicit,i=t.MAs(2),u=t.oxw(2);t.ekj("ng-value-disabled",e.disabled),t.xp6(3),t.Q6J("ngTemplateOutlet",u.labelTemplate||i)("ngTemplateOutletContext",t.kEZ(4,j,e.value,u.clearItem,e.label))}}function we(l,o){if(1&l&&(t.ynx(0),t.YNc(1,Ae,4,8,"div",11),t.BQk()),2&l){const e=t.oxw();
1t.xp6(1),t.Q6J("ngForOf",e.selectedItems)("ngForTrackBy",e.trackByOption)}}function N(l,o){}const je=function(l,o){return{items:l,clear:o}};function Je(l,o){if(1&l&&t.YNc(0,N,0,0,"ng-template",14),2&l){const e=t.oxw();t.Q6J("ngTemplateOutlet",e.multiLabelTemplate)("ngTemplateOutletContext",t.WLB(2,je,e.selectedValues,e.clearItem))}}function q(l,o){1&l&&t._UZ(0,"div",19)}function ke(l,o){}function he(l,o){if(1&l&&(t.ynx(0),t.YNc(1,q,1,0,"ng-template",null,17,t.W1O),t.YNc(3,ke,0,0,"ng-template",18),t.BQk()),2&l){const e=t.MAs(2),i=t.oxw();t.xp6(3),t.Q6J("ngTemplateOutlet",i.loadingSpinnerTemplate||e)}}function ie(l,o){if(1&l&&(t.TgZ(0,"span",20)(1,"span",21),t._uU(2,"\xd7"),t.qZA()()),2&l){const e=t.oxw();t.s9C("title",e.clearAllText)}}function se(l,o){if(1&l&&t._UZ(0,"span",27),2&l){const e=t.oxw().$implicit,i=t.oxw(2);t.Q6J("ngItemLabel",e.label)("escape",i.escapeHTML)}}function ee(l,o){}const pe=function(l,o,e,i){return{item:l,item$:o,index:e,searchTerm:i}};function Qe(l,o){if(1&l){const e=t.EpF();t.TgZ(0,"div",25),t.NdJ("click",function(){const h=t.CHM(e).$implicit,v=t.oxw(2);return t.KtG(v.toggleItem(h))})("mouseover",function(){const h=t.CHM(e).$implicit,v=t.oxw(2);return t.KtG(v.onItemHover(h))}),t.YNc(1,se,1,2,"ng-template",null,26,t.W1O),t.YNc(3,ee,0,0,"ng-template",14),t.qZA()}if(2&l){const e=o.$implicit,i=t.MAs(2),u=t.oxw(2);t.ekj("ng-option-disabled",e.disabled)("ng-option-selected",e.selected)("ng-optgroup",e.children)("ng-option",!e.children)("ng-option-child",!!e.parent)("ng-option-marked",e===u.itemsList.markedItem),t.uIk("role",e.children?"group":"option")("aria-selected",e.selected)("id",null==e?null:e.htmlId),t.xp6(3),t.Q6J("ngTemplateOutlet",e.children?u.optgroupTemplate||i:u.optionTemplate||i)("ngTemplateOutletContext",t.l5B(17,pe,e.value,e,e.index,u.searchTerm))}}function Oe(l,o){if(1&l&&(t.TgZ(0,"span")(1,"span",30),t._uU(2),t.qZA(),t._uU(3),t.qZA()),2&l){const e=t.oxw(3);t.xp6(2),t.Oqu(e.addTagText),t.xp6(1),t.hij('"',e.searchTerm,'"')}}function fe(l,o){}function $e(l,o){if(1&l){const e=t.EpF();t.TgZ(0,"div",28),t.NdJ("mouseover",function(){t.CHM(e);const u=t.oxw(2);return t.KtG(u.itemsList.unmarkItem())})("click",function(){t.CHM(e);const u=t.oxw(2);return t.KtG(u.selectTag())}),t.YNc(1,Oe,4,2,"ng-template",null,29,t.W1O),t.YNc(3,fe,0,0,"ng-template",14),t.qZA()}if(2&l){const e=t.MAs(2),i=t.oxw(2);t.ekj("ng-option-marked",!i.itemsList.markedItem),t.xp6(3),t.Q6J("ngTemplateOutlet",i.tagTemplate||e)("ngTemplateOutletContext",t.VKq(4,X,i.searchTerm))}}function Fe(l,o){if(1&l&&(t.TgZ(0,"div",32),t._uU(1),t.qZA()),2&l){const e=t.oxw(3);t.xp6(1),t.Oqu(e.notFoundText)}}function ge(l,o){}function xe(l,o){if(1&l&&(t.ynx(0),t.YNc(1,Fe,2,1,"ng-template",null,31,t.W1O),t.YNc(3,ge,0,0,"ng-template",14),t.BQk()),2&l){const e=t.MAs(2),i=t.oxw(2);t.xp6(3),t.Q6J("ngTemplateOutlet",i.notFoundTemplate||e)("ngTemplateOutletContext",t.VKq(2,X,i.searchTerm))}}function me(l,o){if(1&l&&(t.TgZ(0,"div",32),t._uU(1),t.qZA()),2&l){const e=t.oxw(3);t.xp6(1),t.Oqu(e.typeToSearchText)}}function _e(l,o){}function ve(l,o){if(1&l&&(t.ynx(0),t.YNc(1,me,2,1,"ng-template",null,33,t.W1O),t.YNc(3,_e,0,0,"ng-template",18),t.BQk()),2&l){const e=t.MAs(2),i=t.oxw(2);t.xp6(3),t.Q6J("ngTemplateOutlet",i.typeToSearchTemplate||e)}}function Me(l,o){if(1&l&&(t.TgZ(0,"div",32),t._uU(1),t.qZA()),2&l){const e=t.oxw(3);t.xp6(1),t.Oqu(e.loadingText)}}function Be(l,o){}function st(l,o){if(1&l&&(t.ynx(0),t.YNc(1,Me,2,1,"ng-template",null,34,t.W1O),t.YNc(3,Be,0,0,"ng-template",14),t.BQk()),2&l){const e=t.MAs(2),i=t.oxw(2);t.xp6(3),t.Q6J("ngTemplateOutlet",i.loadingTextTemplate||e)("ngTemplateOutletContext",t.VKq(2,X,i.searchTerm))}}function Ne(l,o){if(1&l){const e=t.EpF();t.TgZ(0,"ng-dropdown-panel",22),t.NdJ("update",function(u){t.CHM(e);const h=t.oxw();return t.KtG(h.viewPortItems=u)})("scroll",function(u){t.CHM(e);const h=t.oxw();return t.KtG(h.scroll.emit(u))})("scrollToEnd",function(u){t.CHM(e);const h=t.oxw();return t.KtG(h.scrollToEnd.emit(u))})("outsideClick",function(){t.CHM(e);const u=t.oxw();return t.KtG(u.close())}),t.ynx(1),t.YNc(2,Qe,4,22,"div",23),t.YNc(3,$e,4,6,"div",24),t.BQk(),t.YNc(4,xe,4,4,"ng-container",3),t.YNc(5,ve,4,1,"ng-container",3),t.YNc(6,st,4,4,"ng-container",3),t.qZA()}if(2&l){const e=t.oxw();t.ekj("ng-select-multiple",e.multiple),t.Q6J("virtualScroll",e.virtualScroll)("bufferAmount",e.bufferAmount)("appendTo",e.appendTo)("position",e.dropdownPosition)("headerTemplate",e.headerTemplate)("footerTemplate",e.footerTemplate)("filterValue",e.searchTerm)("items",e.itemsList.filteredItems)("markedItem",e.itemsList.markedItem)("ngClass",e.appendTo?e.classes:null)("id",e.dropdownId),t.xp6(2),t.Q6J("ngForOf",e.viewPortItems)("ngForTrackBy",e.trackByOption),t.xp6(1),t.Q6J("ngIf",e.showAddTag),t.xp6(1),t.Q6J("ngIf",e.showNoItemsFound()),t.xp6(1),t.Q6J("ngIf",e.showTypeToSearch()),t.xp6(1),t.Q6J("ngIf",e.loading&&0===e.itemsList.filteredItems.length)}}const a=/[&<>"']/g,p=RegExp(a.source),r={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function f(l){return null!=l}function g(l){return"object"==typeof l&&f(l)}function S(l){return l instanceof Function}let B=(()=>{class l{constructor(e){this.element=e,this.escape=!0}ngOnChanges(e){this.element.nativeElement.innerHTML=this.escape?function d(l){return l&&p.test(l)?l.replace(a,o=>r[o]):l}(this.ngItemLabel):this.ngItemLabel}}return l.\u0275fac=function(e){return new(e||l)(t.Y36(t.SBq))},l.\u0275dir=t.lG2({type:l,selectors:[["","ngItemLabel",""]],inputs:{ngItemLabel:"ngItemLabel",escape:"escape"},features:[t.TTD]}),l})(),E=(()=>{class l{constructor(e){this.template=e}}return l.\u0275fac=function(e){return new(e||l)(t.Y36(t.Rgc))},l.\u0275dir=t.lG2({type:l,selectors:[["","ng-option-tmp",""]]}),l})(),x=(()=>{class l{constructor(e){this.template=e}}return l.\u0275fac=function(e){return new(e||l)(t.Y36(t.Rgc))},l.\u0275dir=t.lG2({type:l,selectors:[["","ng-optgroup-tmp",""]]}),l})(),U=(()=>{class l{constructor(e){this.template=e}}return l.\u0275fac=function(e){return new(e||l)(t.Y36(t.Rgc))},l.\u0275dir=t.lG2({type:l,selectors:[["","ng-label-tmp",""]]}),l})(),k=(()=>{class l{constructor(e){this.template=e}}return l.\u0275fac=function(e){return new(e||l)(t.Y36(t.Rgc))},l.\u0275dir=t.lG2({type:l,selectors:[["","ng-multi-label-tmp",""]]}),l})(),J=(()=>{class l{constructor(e){this.template=e}}return l.\u0275fac=function(e){return new(e||l)(t.Y36(t.Rgc))},l.\u0275dir=t.lG2({type:l,selectors:[["","ng-header-tmp",""]]}),l})(),oe=(()=>{class l{constructor(e){this.template=e}}return l.\u0275fac=function(e){return new(e||l)(t.Y36(t.Rgc))},l.\u0275dir=t.lG2({type:l,selectors:[["","ng-footer-tmp",""]]}),l})(),Le=(()=>{class l{constructor(e){this.template=e}}return l.\u0275fac=function(e){return new(e||l)(t.Y36(t.Rgc))},l.\u0275dir=t.lG2({type:l,selectors:[["","ng-notfound-tmp",""]]}),l})(),dt=(()=>{class l{constructor(e){this.template=e}}return l.\u0275fac=function(e){return new(e||l)(t.Y36(t.Rgc))},l.\u0275dir=t.lG2({type:l,selectors:[["","ng-typetosearch-tmp",""]]}),l})(),ot=(()=>{class l{constructor(e){this.template=e}}return l.\u0275fac=function(e){return new(e||l)(t.Y36(t.Rgc))},l.\u0275dir=t.lG2({type:l,selectors:[["","ng-loadingtext-tmp",""]]}),l})(),rt=(()=>{class l{constructor(e){this.template=e}}return l.\u0275fac=function(e){return new(e||l)(t.Y36(t.Rgc))},l.\u0275dir=t.lG2({type:l,selectors:[["","ng-tag-tmp",""]]}),l})(),We=(()=>{class l{constructor(e){this.template=e}}return l.\u0275fac=function(e){return new(e||l)(t.Y36(t.Rgc))},l.\u0275dir=t.lG2({type:l,selectors:[["","ng-loadingspinner-tmp",""]]}),l})();function lt(){return"axxxxxxxxxxx".replace(/[x]/g,()=>(16*Math.random()|0).toString(16))}const at={"\u24b6":"A",\uff21:"A",\u00c0:"A",\u00c1:"A",\u00c2:"A",\u1ea6:"A",\u1ea4:"A",\u1eaa:"A",\u1ea8:"A",\u00c3:"A",\u0100:"A",\u0102:"A",\u1eb0:"A",\u1eae:"A",\u1eb4:"A",\u1eb2:"A",\u0226:"A",\u01e0:"A",\u00c4:"A",\u01de:"A",\u1ea2:"A",\u00c5:"A",\u01fa:"A",\u01cd:"A",\u0200:"A",\u0202:"A",\u1ea0:"A",\u1eac:"A",\u1eb6:"A",\u1e00:"A",\u0104:"A",\u023a:"A",\u2c6f:"A",\ua732:"AA",\u00c6:"AE",\u01fc:"AE",\u01e2:"AE",\ua734:"AO",\ua736:"AU",\ua738:"AV",\ua73a:"AV",\ua73c:"AY","\u24b7":"B",\uff22:"B",\u1e02:"B",\u1e04:"B",\u1e06:"B",\u0243:"B",\u0182:"B",\u0181:"B","\u24b8":"C",\uff23:"C",\u0106:"C",\u0108:"C",\u010a:"C",\u010c:"C",\u00c7:"C",\u1e08:"C",\u0187:"C",\u023b:"C",\ua73e:"C","\u24b9":"D",\uff24:"D",\u1e0a:"D",\u010e:"D",\u1e0c:"D",\u1e10:"D",\u1e12:"D",\u1e0e:"D",\u0110:"D",\u018b:"D",\u018a:"D",\u0189:"D",\ua779:"D",\u01f1:"DZ",\u01c4:"DZ",\u01f2:"Dz",\u01c5:"Dz","\u24ba":"E",\uff25:"E",\u00c8:"E",\u00c9:"E",\u00ca:"E",\u1ec0:"E",\u1ebe:"E",\u1ec4:"E",\u1ec2:"E",\u1ebc:"E",\u0112:"E",\u1e14:"E",\u1e16:"E",\u0114:"E",\u0116:"E",\u00cb:"E",\u1eba:"E",\u011a:"E",\u0204:"E",\u0206:"E",\u1eb8:"E",\u1ec6:"E",\u0228:"E",\u1e1c:"E",\u0118:"E",\u1e18:"E",\u1e1a:"E",\u0190:"E",\u018e:"E","\u24bb":"F",\uff26:"F",\u1e1e:"F",\u0191:"F",\ua77b:"F","\u24bc":"G",\uff27:"G",\u01f4:"G",\u011c:"G",\u1e20:"G",\u011e:"G",\u0120:"G",\u01e6:"G",\u0122:"G",\u01e4:"G",\u0193:"G",\ua7a0:"G",\ua77d:"G",\ua77e:"G","\u24bd":"H",\uff28:"H",\u0124:"H",\u1e22:"H",\u1e26:"H",\u021e:"H",\u1e24:"H",\u1e28:"H",\u1e2a:"H",\u0126:"H",\u2c67:"H",\u2c75:"H",\ua78d:"H","\u24be":"I",\uff29:"I",\u00cc:"I",\u00cd:"I",\u00ce:"I",\u0128:"I",\u012a:"I",\u012c:"I",\u0130:"I",\u00cf:"I",\u1e2e:"I",\u1ec8:"I",\u01cf:"I",\u0208:"I",\u020a:"I",\u1eca:"I",\u012e:"I",\u1e2c:"I",\u0197:"I","\u24bf":"J",\uff2a:"J",\u0134:"J",\u0248:"J","\u24c0":"K",\uff2b:"K",\u1e30:"K",\u01e8:"K",\u1e32:"K",\u0136:"K",\u1e34
1:"K",\u0198:"K",\u2c69:"K",\ua740:"K",\ua742:"K",\ua744:"K",\ua7a2:"K","\u24c1":"L",\uff2c:"L",\u013f:"L",\u0139:"L",\u013d:"L",\u1e36:"L",\u1e38:"L",\u013b:"L",\u1e3c:"L",\u1e3a:"L",\u0141:"L",\u023d:"L",\u2c62:"L",\u2c60:"L",\ua748:"L",\ua746:"L",\ua780:"L",\u01c7:"LJ",\u01c8:"Lj","\u24c2":"M",\uff2d:"M",\u1e3e:"M",\u1e40:"M",\u1e42:"M",\u2c6e:"M",\u019c:"M","\u24c3":"N",\uff2e:"N",\u01f8:"N",\u0143:"N",\u00d1:"N",\u1e44:"N",\u0147:"N",\u1e46:"N",\u0145:"N",\u1e4a:"N",\u1e48:"N",\u0220:"N",\u019d:"N",\ua790:"N",\ua7a4:"N",\u01ca:"NJ",\u01cb:"Nj","\u24c4":"O",\uff2f:"O",\u00d2:"O",\u00d3:"O",\u00d4:"O",\u1ed2:"O",\u1ed0:"O",\u1ed6:"O",\u1ed4:"O",\u00d5:"O",\u1e4c:"O",\u022c:"O",\u1e4e:"O",\u014c:"O",\u1e50:"O",\u1e52:"O",\u014e:"O",\u022e:"O",\u0230:"O",\u00d6:"O",\u022a:"O",\u1ece:"O",\u0150:"O",\u01d1:"O",\u020c:"O",\u020e:"O",\u01a0:"O",\u1edc:"O",\u1eda:"O",\u1ee0:"O",\u1ede:"O",\u1ee2:"O",\u1ecc:"O",\u1ed8:"O",\u01ea:"O",\u01ec:"O",\u00d8:"O",\u01fe:"O",\u0186:"O",\u019f:"O",\ua74a:"O",\ua74c:"O",\u01a2:"OI",\ua74e:"OO",\u0222:"OU","\u24c5":"P",\uff30:"P",\u1e54:"P",\u1e56:"P",\u01a4:"P",\u2c63:"P",\ua750:"P",\ua752:"P",\ua754:"P","\u24c6":"Q",\uff31:"Q",\ua756:"Q",\ua758:"Q",\u024a:"Q","\u24c7":"R",\uff32:"R",\u0154:"R",\u1e58:"R",\u0158:"R",\u0210:"R",\u0212:"R",\u1e5a:"R",\u1e5c:"R",\u0156:"R",\u1e5e:"R",\u024c:"R",\u2c64:"R",\ua75a:"R",\ua7a6:"R",\ua782:"R","\u24c8":"S",\uff33:"S",\u1e9e:"S",\u015a:"S",\u1e64:"S",\u015c:"S",\u1e60:"S",\u0160:"S",\u1e66:"S",\u1e62:"S",\u1e68:"S",\u0218:"S",\u015e:"S",\u2c7e:"S",\ua7a8:"S",\ua784:"S","\u24c9":"T",\uff34:"T",\u1e6a:"T",\u0164:"T",\u1e6c:"T",\u021a:"T",\u0162:"T",\u1e70:"T",\u1e6e:"T",\u0166:"T",\u01ac:"T",\u01ae:"T",\u023e:"T",\ua786:"T",\ua728:"TZ","\u24ca":"U",\uff35:"U",\u00d9:"U",\u00da:"U",\u00db:"U",\u0168:"U",\u1e78:"U",\u016a:"U",\u1e7a:"U",\u016c:"U",\u00dc:"U",\u01db:"U",\u01d7:"U",\u01d5:"U",\u01d9:"U",\u1ee6:"U",\u016e:"U",\u0170:"U",\u01d3:"U",\u0214:"U",\u0216:"U",\u01af:"U",\u1eea:"U",\u1ee8:"U",\u1eee:"U",\u1eec:"U",\u1ef0:"U",\u1ee4:"U",\u1e72:"U",\u0172:"U",\u1e76:"U",\u1e74:"U",\u0244:"U","\u24cb":"V",\uff36:"V",\u1e7c:"V",\u1e7e:"V",\u01b2:"V",\ua75e:"V",\u0245:"V",\ua760:"VY","\u24cc":"W",\uff37:"W",\u1e80:"W",\u1e82:"W",\u0174:"W",\u1e86:"W",\u1e84:"W",\u1e88:"W",\u2c72:"W","\u24cd":"X",\uff38:"X",\u1e8a:"X",\u1e8c:"X","\u24ce":"Y",\uff39:"Y",\u1ef2:"Y",\u00dd:"Y",\u0176:"Y",\u1ef8:"Y",\u0232:"Y",\u1e8e:"Y",\u0178:"Y",\u1ef6:"Y",\u1ef4:"Y",\u01b3:"Y",\u024e:"Y",\u1efe:"Y","\u24cf":"Z",\uff3a:"Z",\u0179:"Z",\u1e90:"Z",\u017b:"Z",\u017d:"Z",\u1e92:"Z",\u1e94:"Z",\u01b5:"Z",\u0224:"Z",\u2c7f:"Z",\u2c6b:"Z",\ua762:"Z","\u24d0":"a",\uff41:"a",\u1e9a:"a",\u00e0:"a",\u00e1:"a",\u00e2:"a",\u1ea7:"a",\u1ea5:"a",\u1eab:"a",\u1ea9:"a",\u00e3:"a",\u0101:"a",\u0103:"a",\u1eb1:"a",\u1eaf:"a",\u1eb5:"a",\u1eb3:"a",\u0227:"a",\u01e1:"a",\u00e4:"a",\u01df:"a",\u1ea3:"a",\u00e5:"a",\u01fb:"a",\u01ce:"a",\u0201:"a",\u0203:"a",\u1ea1:"a",\u1ead:"a",\u1eb7:"a",\u1e01:"a",\u0105:"a",\u2c65:"a",\u0250:"a",\ua733:"aa",\u00e6:"ae",\u01fd:"ae",\u01e3:"ae",\ua735:"ao",\ua737:"au",\ua739:"av",\ua73b:"av",\ua73d:"ay","\u24d1":"b",\uff42:"b",\u1e03:"b",\u1e05:"b",\u1e07:"b",\u0180:"b",\u0183:"b",\u0253:"b","\u24d2":"c",\uff43:"c",\u0107:"c",\u0109:"c",\u010b:"c",\u010d:"c",\u00e7:"c",\u1e09:"c",\u0188:"c",\u023c:"c",\ua73f:"c",\u2184:"c","\u24d3":"d",\uff44:"d",\u1e0b:"d",\u010f:"d",\u1e0d:"d",\u1e11:"d",\u1e13:"d",\u1e0f:"d",\u0111:"d",\u018c:"d",\u0256:"d",\u0257:"d",\ua77a:"d",\u01f3:"dz",\u01c6:"dz","\u24d4":"e",\uff45:"e",\u00e8:"e",\u00e9:"e",\u00ea:"e",\u1ec1:"e",\u1ebf:"e",\u1ec5:"e",\u1ec3:"e",\u1ebd:"e",\u0113:"e",\u1e15:"e",\u1e17:"e",\u0115:"e",\u0117:"e",\u00eb:"e",\u1ebb:"e",\u011b:"e",\u0205:"e",\u0207:"e",\u1eb9:"e",\u1ec7:"e",\u0229:"e",\u1e1d:"e",\u0119:"e",\u1e19:"e",\u1e1b:"e",\u0247:"e",\u025b:"e",\u01dd:"e","\u24d5":"f",\uff46:"f",\u1e1f:"f",\u0192:"f",\ua77c:"f","\u24d6":"g",\uff47:"g",\u01f5:"g",\u011d:"g",\u1e21:"g",\u011f:"g",\u0121:"g",\u01e7:"g",\u0123:"g",\u01e5:"g",\u0260:"g",\ua7a1:"g",\u1d79:"g",\ua77f:"g","\u24d7":"h",\uff48:"h",\u0125:"h",\u1e23:"h",\u1e27:"h",\u021f:"h",\u1e25:"h",\u1e29:"h",\u1e2b:"h",\u1e96:"h",\u0127:"h",\u2c68:"h",\u2c76:"h",\u0265:"h",\u0195:"hv","\u24d8":"i",\uff49:"i",\u00ec:"i",\u00ed:"i",\u00ee:"i",\u0129:"i",\u012b:"i",\u012d:"i",\u00ef:"i",\u1e2f:"i",\u1ec9:"i",\u01d0:"i",\u0209:"i",\u020b:"i",\u1ecb:"i",\u012f:"i",\u1e2d:"i",\u0268:"i",\u0131:"i","\u24d9":"j",\uff4a:"j",\u0135:"j",\u01f0:"j",\u0249:"j","\u24da":"k",\uff4b:"k",\u1e31:"k",\u01e9:"k",\u1e33:"k",\u0137:"k",\u1e35:"k",\u0199:"k",\u2c6a:"k",\ua741:"k",\ua743:"k",\ua745:"k",\ua7a3:"k","\u24db":"l",\uff4c:"l",\u0140:"l",\u013a:"l",\u013e:"l",\u1e37:"l",\u1e39:"l",\u013c:"l",\u1e3d:"l",\u1e3b:"l",\u017f:"l",\u0142:"l",\u019a:"l",\u026b:"l",\u2c61:"l",\ua749:"l",\ua781:"l",\ua747:"l",\u01c9:"lj","\u24dc":"m",\uff4d:"m",\u1e3f:"m",\u1e41:"m",\u1e43:"m",\u0271:"m",\u026f:"m","\u24dd":"n",\uff4e:"n",\u01f9:"n",\u0144:"n",\u00f1:"n",\u1e45:"n",\u0148:"n",\u1e47:"n",\u0146:"n",\u1e4b:"n",\u1e49:"n",\u019e:"n",\u0272:"n",\u0149:"n",\ua791:"n",\ua7a5:"n",\u01cc:"nj","\u24de":"o",\uff4f:"o",\u00f2:"o",\u00f3:"o",\u00f4:"o",\u1ed3:"o",\u1ed1:"o",\u1ed7:"o",\u1ed5:"o",\u00f5:"o",\u1e4d:"o",\u022d:"o",\u1e4f:"o",\u014d:"o",\u1e51:"o",\u1e53:"o",\u014f:"o",\u022f:"o",\u0231:"o",\u00f6:"o",\u022b:"o",\u1ecf:"o",\u0151:"o",\u01d2:"o",\u020d:"o",\u020f:"o",\u01a1:"o",\u1edd:"o",\u1edb:"o",\u1ee1:"o",\u1edf:"o",\u1ee3:"o",\u1ecd:"o",\u1ed9:"o",\u01eb:"o",\u01ed:"o",\u00f8:"o",\u01ff:"o",\u0254:"o",\ua74b:"o",\ua74d:"o",\u0275:"o",\u01a3:"oi",\u0223:"ou",\ua74f:"oo","\u24df":"p",\uff50:"p",\u1e55:"p",\u1e57:"p",\u01a5:"p",\u1d7d:"p",\ua751:"p",\ua753:"p",\ua755:"p","\u24e0":"q",\uff51:"q",\u024b:"q",\ua757:"q",\ua759:"q","\u24e1":"r",\uff52:"r",\u0155:"r",\u1e59:"r",\u0159:"r",\u0211:"r",\u0213:"r",\u1e5b:"r",\u1e5d:"r",\u0157:"r",\u1e5f:"r",\u024d:"r",\u027d:"r",\ua75b:"r",\ua7a7:"r",\ua783:"r","\u24e2":"s",\uff53:"s",\u00df:"s",\u015b:"s",\u1e65:"s",\u015d:"s",\u1e61:"s",\u0161:"s",\u1e67:"s",\u1e63:"s",\u1e69:"s",\u0219:"s",\u015f:"s",\u023f:"s",\ua7a9:"s",\ua785:"s",\u1e9b:"s","\u24e3":"t",\uff54:"t",\u1e6b:"t",\u1e97:"t",\u0165:"t",\u1e6d:"t",\u021b:"t",\u0163:"t",\u1e71:"t",\u1e6f:"t",\u0167:"t",\u01ad:"t",\u0288:"t",\u2c66:"t",\ua787:"t",\ua729:"tz","\u24e4":"u",\uff55:"u",\u00f9:"u",\u00fa:"u",\u00fb:"u",\u0169:"u",\u1e79:"u",\u016b:"u",\u1e7b:"u",\u016d:"u",\u00fc:"u",\u01dc:"u",\u01d8:"u",\u01d6:"u",\u01da:"u",\u1ee7:"u",\u016f:"u",\u0171:"u",\u01d4:"u",\u0215:"u",\u0217:"u",\u01b0:"u",\u1eeb:"u",\u1ee9:"u",\u1eef:"u",\u1eed:"u",\u1ef1:"u",\u1ee5:"u",\u1e73:"u",\u0173:"u",\u1e77:"u",\u1e75:"u",\u0289:"u","\u24e5":"v",\uff56:"v",\u1e7d:"v",\u1e7f:"v",\u028b:"v",\ua75f:"v",\u028c:"v",\ua761:"vy","\u24e6":"w",\uff57:"w",\u1e81:"w",\u1e83:"w",\u0175:"w",\u1e87:"w",\u1e85:"w",\u1e98:"w",\u1e89:"w",\u2c73:"w","\u24e7":"x",\uff58:"x",\u1e8b:"x",\u1e8d:"x","\u24e8":"y",\uff59:"y",\u1ef3:"y",\u00fd:"y",\u0177:"y",\u1ef9:"y",\u0233:"y",\u1e8f:"y",\u00ff:"y",\u1ef7:"y",\u1e99:"y",\u1ef5:"y",\u01b4:"y",\u024f:"y",\u1eff:"y","\u24e9":"z",\uff5a:"z",\u017a:"z",\u1e91:"z",\u017c:"z",\u017e:"z",\u1e93:"z",\u1e95:"z",\u01b6:"z",\u0225:"z",\u0240:"z",\u2c6c:"z",\ua763:"z",\u0386:"\u0391",\u0388:"\u0395",\u0389:"\u0397",\u038a:"\u0399",\u03aa:"\u0399",\u038c:"\u039f",\u038e:"\u03a5",\u03ab:"\u03a5",\u038f:"\u03a9",\u03ac:"\u03b1",\u03ad:"\u03b5",\u03ae:"\u03b7",\u03af:"\u03b9",\u03ca:"\u03b9",\u0390:"\u03b9",\u03cc:"\u03bf",\u03cd:"\u03c5",\u03cb:"\u03c5",\u03b0:"\u03c5",\u03c9:"\u03c9",\u03c2:"\u03c3"};
1function Ke(l){return l.replace(/[^\u0000-\u007E]/g,e=>at[e]||e)}class pt{constructor(o,e){this._ngSelect=o,this._selectionModel=e,this._items=[],this._filteredItems=[],this._markedIndex=-1}get items(){return this._items}get filteredItems(){return this._filteredItems}get markedIndex(){return this._markedIndex}get selectedItems(){return this._selectionModel.value}get markedItem(){return this._filteredItems[this._markedIndex]}get noItemsToSelect(){return this._ngSelect.hideSelected&&this._items.length===this.selectedItems.length}get maxItemsSelected(){return this._ngSelect.multiple&&this._ngSelect.maxSelectedItems<=this.selectedItems.length}get lastSelectedItem(){let o=this.selectedItems.length-1;for(;o>=0;o--){const e=this.selectedItems[o];if(!e.disabled)return e}return null}setItems(o){this._items=o.map((e,i)=>this.mapItem(e,i)),this._ngSelect.groupBy?(this._groups=this._groupBy(this._items,this._ngSelect.groupBy),this._items=this._flatten(this._groups)):(this._groups=new Map,this._groups.set(void 0,this._items)),this._filteredItems=[...this._items]}select(o){if(o.selected||this.maxItemsSelected)return;const e=this._ngSelect.multiple;e||this.clearSelected(),this._selectionModel.select(o,e,this._ngSelect.selectableGroupAsModel),this._ngSelect.hideSelected&&this._hideSelected(o)}unselect(o){o.selected&&(this._selectionModel.unselect(o,this._ngSelect.multiple),this._ngSelect.hideSelected&&f(o.index)&&this._ngSelect.multiple&&this._showSelected(o))}findItem(o){let e;return e=this._ngSelect.compareWith?i=>this._ngSelect.compareWith(i.value,o):this._ngSelect.bindValue?i=>!i.children&&this.resolveNested(i.value,this._ngSelect.bindValue)===o:i=>i.value===o||!i.children&&i.label&&i.label===this.resolveNested(o,this._ngSelect.bindLabel),this._items.find(i=>e(i))}addItem(o){const e=this.mapItem(o,this._items.length);return this._items.push(e),this._filteredItems.push(e),e}clearSelected(o=!1){this._selectionModel.clear(o),this._items.forEach(e=>{e.selected=o&&e.selected&&e.disabled,e.marked=!1}),this._ngSelect.hideSelected&&this.resetFilteredItems()}findByLabel(o){return o=Ke(o).toLocaleLowerCase(),this.filteredItems.find(e=>Ke(e.label).toLocaleLowerCase().substr(0,o.length)===o)}filter(o){if(!o)return void this.resetFilteredItems();this._filteredItems=[],o=this._ngSelect.searchFn?o:Ke(o).toLocaleLowerCase();const e=this._ngSelect.searchFn||this._defaultSearchFn,i=this._ngSelect.hideSelected;for(const u of Array.from(this._groups.keys())){const h=[];for(const v of this._groups.get(u))i&&(v.parent&&v.parent.selected||v.selected)||e(o,this._ngSelect.searchFn?v.value:v)&&h.push(v);if(h.length>0){const[v]=h.slice(-1);if(v.parent){const y=this._items.find(O=>O===v.parent);this._filteredItems.push(y)}this._filteredItems.push(...h)}}}resetFilteredItems(){this._filteredItems.length!==this._items.length&&(this._filteredItems=this._ngSelect.hideSelected&&this.selectedItems.length>0?this._items.filter(o=>!o.selected):this._items)}unmarkItem(){this._markedIndex=-1}markNextItem(){this._stepToItem(1)}markPreviousItem(){this._stepToItem(-1)}markItem(o){this._markedIndex=this._filteredItems.indexOf(o)}markSelectedOrDefault(o){if(0===this._filteredItems.length)return;const e=this._getLastMarkedIndex();this._markedIndex=e>-1?e:o?this.filteredItems.findIndex(i=>!i.disabled):-1}resolveNested(o,e){if(!g(o))return o;if(-1===e.indexOf("."))return o[e];{const i=e.split(".");let u=o;for(let h=0,v=i.length;h<v;++h){if(null==u)return null;u=u[i[h]]}return u}}mapItem(o,e){const i=f(o.$ngOptionLabel)?o.$ngOptionLabel:this.resolveNested(o,this._ngSelect.bindLabel),u=f(o.$ngOptionValue)?o.$ngOptionValue:o;return{index:e,label:f(i)?i.toString():"",value:u,disabled:o.disabled,htmlId:`${this._ngSelect.dropdownId}-${e}`}}mapSelectedItems(){const o=this._ngSelect.multiple;for(const e of this.selectedItems){const i=this._ngSelect.bindValue?this.resolveNested(e.value,this._ngSelect.bindValue):e.value,u=f(i)?this.findItem(i):null;this._selectionModel.unselect(e,o),this._selectionModel.select(u||e,o,this._ngSelect.selectableGroupAsModel)}this._ngSelect.hideSelected&&(this._filteredItems=this.filteredItems.filter(e=>-1===this.selectedItems.indexOf(e)))}
1_showSelected(o){if(this._filteredItems.push(o),o.parent){const e=o.parent;this._filteredItems.find(u=>u===e)||this._filteredItems.push(e)}else if(o.children)for(const e of o.children)e.selected=!1,this._filteredItems.push(e);this._filteredItems=[...this._filteredItems.sort((e,i)=>e.index-i.index)]}_hideSelected(o){this._filteredItems=this._filteredItems.filter(e=>e!==o),o.parent?o.parent.children.every(i=>i.selected)&&(this._filteredItems=this._filteredItems.filter(i=>i!==o.parent)):o.children&&(this._filteredItems=this.filteredItems.filter(e=>e.parent!==o))}_defaultSearchFn(o,e){return Ke(e.label).toLocaleLowerCase().indexOf(o)>-1}_getNextItemIndex(o){return o>0?this._markedIndex>=this._filteredItems.length-1?0:this._markedIndex+1:this._markedIndex<=0?this._filteredItems.length-1:this._markedIndex-1}_stepToItem(o){0===this._filteredItems.length||this._filteredItems.every(e=>e.disabled)||(this._markedIndex=this._getNextItemIndex(o),this.markedItem.disabled&&this._stepToItem(o))}_getLastMarkedIndex(){if(this._ngSelect.hideSelected||this._markedIndex>-1&&void 0===this.markedItem)return-1;const o=this._filteredItems.indexOf(this.lastSelectedItem);return this.lastSelectedItem&&o<0?-1:Math.max(this.markedIndex,o)}_groupBy(o,e){const i=new Map;if(0===o.length)return i;if(Array.isArray(o[0].value[e])){for(const v of o){const y=(v.value[e]||[]).map((O,D)=>this.mapItem(O,D));i.set(v,y)}return i}const u=S(this._ngSelect.groupBy),h=v=>{const y=u?e(v.value):v.value[e];return f(y)?y:void 0};for(const v of o){const y=h(v),O=i.get(y);O?O.push(v):i.set(y,[v])}return i}_flatten(o){const e=S(this._ngSelect.groupBy),i=[];for(const u of Array.from(o.keys())){let h=i.length;if(void 0===u){const P=o.get(void 0)||[];i.push(...P.map(G=>(G.index=h++,G)));continue}const v=g(u),y={label:v?"":String(u),children:void 0,parent:null,index:h++,disabled:!this._ngSelect.selectableGroup,htmlId:lt()},O=e?this._ngSelect.bindLabel:this._ngSelect.groupBy,D=this._ngSelect.groupValue||(()=>v?u.value:{[O]:u}),R=o.get(u).map(P=>(P.parent=y,P.children=void 0,P.index=h++,P));y.children=R,y.value=D(u,R.map(P=>P.value)),i.push(y),i.push(...R)}return i}}var L=(()=>{return(l=L||(L={}))[l.Tab=9]="Tab",l[l.Enter=13]="Enter",l[l.Esc=27]="Esc",l[l.Space=32]="Space",l[l.ArrowUp=38]="ArrowUp",l[l.ArrowDown=40]="ArrowDown",l[l.Backspace=8]="Backspace",L;var l})();let n=(()=>{class l{constructor(){this._dimensions={itemHeight:0,panelHeight:0,itemsPerViewport:0}}get dimensions(){return this._dimensions}calculateItems(e,i,u){const h=this._dimensions,v=h.itemHeight*i,O=Math.max(0,e)/v*i;let D=Math.min(i,Math.ceil(O)+(h.itemsPerViewport+1));const P=Math.max(0,D-h.itemsPerViewport);let G=Math.min(P,Math.floor(O)),ut=h.itemHeight*Math.ceil(G)-h.itemHeight*Math.min(G,u);return ut=isNaN(ut)?0:ut,G=isNaN(G)?-1:G,D=isNaN(D)?-1:D,G-=u,G=Math.max(0,G),D+=u,D=Math.min(i,D),{topPadding:ut,scrollHeight:v,start:G,end:D}}setDimensions(e,i){const u=Math.max(1,Math.floor(i/e));this._dimensions={itemHeight:e,panelHeight:i,itemsPerViewport:u}}getScrollTo(e,i,u){const{panelHeight:h}=this.dimensions,v=e+i,O=u+h;return h>=v&&u===e?null:v>O?u+v-O:e<=u?e:null}}return l.\u0275fac=function(e){return new(e||l)},l.\u0275prov=t.Yz7({token:l,factory:l.\u0275fac}),l})();const c=["top","right","bottom","left"],s=typeof requestAnimationFrame<"u"?He.Z:ye;let _=(()=>{class l{constructor(e,i,u,h,v){this._renderer=e,this._zone=i,this._panelService=u,this._document=v,this.items=[],this.position="auto",this.virtualScroll=!1,this.filterValue=null,this.update=new t.vpe,this.scroll=new t.vpe,this.scrollToEnd=new t.vpe,this.outsideClick=new t.vpe,this._destroy$=new te.x,this._scrollToEndFired=!1,this._updateScrollHeight=!1,this._lastScrollPosition=0,this._dropdown=h.nativeElement}get currentPosition(){return this._currentPosition}get itemsLength(){return this._itemsLength}set itemsLength(e){e!==this._itemsLength&&(this._itemsLength=e,this._onItemsLengthChanged())}get _startOffset(){if(this.markedItem){const{itemHeight:e,panelHeight:i}=this._panelService.dimensions,u=this.markedItem.index*e;return i>u?0:u}return 0}ngOnInit(){this._select=this._dropdown.parentElement,this._virtualPadding=this.paddingElementRef.nativeElement,this._scrollablePanel=this.scrollElementRef.nativeElement,this._contentPanel=this.contentElementRef.nativeElement,this._handleScroll(),this._handleOutsideClick(),this._appendDropdown(),this._setupMousedownListener()}ngOnChanges(e){if(e.items){const i=e.items;this._onItemsChange(i.currentValue,i.firstChange)}}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete(),this._destroy$.unsubscribe(),this.appendTo&&this._renderer.removeChild(this._dropdown.parentNode,this._dropdown)}scrollTo(e,i=!1){if(!e)return;const u=this.items.indexOf(e);if(u<0||u>=this.itemsLength)return;let h;if(this.virtualScroll){const v=this._panelService.dimensions.itemHeight;h=this._panelService.getScrollTo(u*v,v,this._lastScrollPosition)}else{const v=this._dropdown.querySelector(`#${e.htmlId}`);h=this._panelService.getScrollTo(v.offsetTop,v.clientHeight,i?v.offsetTop:this._lastScrollPosition)}f(h)&&(this._scrollablePanel.scrollTop=h)}scrollToTag(){const e=this._scrollablePanel;e.scrollTop=e.scrollHeight-e.clientHeight}adjustPosition(){this._updateYPosition()}_handleDropdownPosition(){this._currentPosition=this._calculateCurrentPosition(this._dropdown),c.includes(this._currentPosition)?this._updateDropdownClass(this._currentPosition):this._updateDropdownClass("bottom"),this.appendTo&&this._updateYPosition(),this._dropdown.style.opacity="1"}
1_updateDropdownClass(e){c.forEach(u=>{const h=`ng-select-${u}`;this._renderer.removeClass(this._dropdown,h),this._renderer.removeClass(this._select,h)});const i=`ng-select-${e}`;this._renderer.addClass(this._dropdown,i),this._renderer.addClass(this._select,i)}_handleScroll(){this._zone.runOutsideAngular(()=>{(0,W.R)(this.scrollElementRef.nativeElement,"scroll").pipe((0,T.R)(this._destroy$),function Re(l,o=Q.z){return function Xe(l){return(0,H.e)((o,e)=>{let i=!1,u=null,h=null,v=!1;const y=()=>{if(h?.unsubscribe(),h=null,i){i=!1;const D=u;u=null,e.next(D)}v&&e.complete()},O=()=>{h=null,v&&e.complete()};o.subscribe((0,w.x)(e,D=>{i=!0,u=D,h||(0,re.Xf)(l(D)).subscribe(h=(0,w.x)(e,y,O))},()=>{v=!0,(!i||!h||h.closed)&&e.complete()}))})}(()=>(0,Ue.H)(l,o))}(0,s)).subscribe(e=>{const i=e.path||e.composedPath&&e.composedPath();this._onContentScrolled(i&&0!==i.length?i[0].scrollTop:e.target.scrollTop)})})}_handleOutsideClick(){this._document&&this._zone.runOutsideAngular(()=>{(0,K.T)((0,W.R)(this._document,"touchstart",{capture:!0}),(0,W.R)(this._document,"mousedown",{capture:!0})).pipe((0,T.R)(this._destroy$)).subscribe(e=>this._checkToClose(e))})}_checkToClose(e){if(this._select.contains(e.target)||this._dropdown.contains(e.target))return;const i=e.path||e.composedPath&&e.composedPath();e.target&&e.target.shadowRoot&&i&&i[0]&&this._select.contains(i[0])||this._zone.run(()=>this.outsideClick.emit())}_onItemsChange(e,i){this.items=e||[],this._scrollToEndFired=!1,this.itemsLength=e.length,this.virtualScroll?this._updateItemsRange(i):(this._setVirtualHeight(),this._updateItems(i))}_updateItems(e){this.update.emit(this.items),!1!==e&&this._zone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._panelService.setDimensions(0,this._scrollablePanel.clientHeight),this._handleDropdownPosition(),this.scrollTo(this.markedItem,e)})})}_updateItemsRange(e){this._zone.runOutsideAngular(()=>{this._measureDimensions().then(()=>{e?(this._renderItemsRange(this._startOffset),this._handleDropdownPosition()):this._renderItemsRange()})})}_onContentScrolled(e){this.virtualScroll&&this._renderItemsRange(e),this._lastScrollPosition=e,this._fireScrollToEnd(e)}_updateVirtualHeight(e){this._updateScrollHeight&&(this._virtualPadding.style.height=`${e}px`,this._updateScrollHeight=!1)}_setVirtualHeight(){this._virtualPadding&&(this._virtualPadding.style.height="0px")}_onItemsLengthChanged(){this._updateScrollHeight=!0}_renderItemsRange(e=null){if(e&&this._lastScrollPosition===e)return;const i=this._panelService.calculateItems(e=e||this._scrollablePanel.scrollTop,this.itemsLength,this.bufferAmount);this._updateVirtualHeight(i.scrollHeight),this._contentPanel.style.transform=`translateY(${i.topPadding}px)`,this._zone.run(()=>{this.update.emit(this.items.slice(i.start,i.end)),this.scroll.emit({start:i.start,end:i.end})}),f(e)&&0===this._lastScrollPosition&&(this._scrollablePanel.scrollTop=e,this._lastScrollPosition=e)}_measureDimensions(){if(this._panelService.dimensions.itemHeight>0||0===this.itemsLength)return Promise.resolve(this._panelService.dimensions);const[e]=this.items;return this.update.emit([e]),Promise.resolve().then(()=>{const u=this._dropdown.querySelector(`#${e.htmlId}`).clientHeight;return this._virtualPadding.style.height=u*this.itemsLength+"px",this._panelService.setDimensions(u,this._scrollablePanel.clientHeight),this._panelService.dimensions})}_fireScrollToEnd(e){this._scrollToEndFired||0===e||e+this._dropdown.clientHeight>=(this.virtualScroll?this._virtualPadding:this._contentPanel).clientHeight-1&&(this._zone.run(()=>this.scrollToEnd.emit()),this._scrollToEndFired=!0)}_calculateCurrentPosition(e){if("auto"!==this.position)return this.position;const i=this._select.getBoundingClientRect(),u=document.documentElement.scrollTop||document.body.scrollTop;return i.top+window.pageYOffset+i.height+e.getBoundingClientRect().height>u+document.documentElement.clientHeight?"top":"bottom"}_appendDropdown(){if(this.appendTo){if(this._parent=document.querySelector(this.appendTo),!this._parent)throw new Error(`appendTo selector ${this.appendTo} did not found any parent element`);this._updateXPosition(),this._parent.appendChild(this._dropdown)}}_updateXPosition(){const e=this._select.getBoundingClientRect(),i=this._parent.getBoundingClientRect();this._dropdown.style.left=e.left-i.left+"px",this._dropdown.style.width=e.width+"px",this._dropdown.style.minWidth=e.width+"px"}_updateYPosition(){const e=this._select.getBoundingClientRect(),i=this._parent.getBoundingClientRect(),u=e.height;"top"===this._currentPosition?(this._dropdown.style.bottom=i.bottom-e.bottom+u+"px",this._dropdown.style.top="auto"):"bottom"===this._currentPosition&&(this._dropdown.style.top=e.top-i.top+u+"px",this._dropdown.style.bottom="auto")}_setupMousedownListener(){this._zone.runOutsideAngular(()=>{(0,W.R)(this._dropdown,"mousedown").pipe((0,T.R)(this._destroy$)).subscribe(e=>{"INPUT"!==e.target.tagName&&e.preventDefault()})})}}return l.\u0275fac=function(e){return new(e||l)(t.Y36(t.Qsj),t.Y36(t.R0b),t.Y36(n),t.Y36(t.SBq),t.Y36(V.K0,8))},l.\u0275cmp=t.Xpm({type:l,selectors:[["ng-dropdown-panel"]],viewQuery:function(e,i){if(1&e&&(t.Gf(A,7,t.SBq),t.Gf(Y,7,t.SBq),t.Gf(z,7,t.SBq)),2&e){let u;t.iGM(u=t.CRH())&&(i.contentElementRef=u.first),t.iGM(u=t.CRH())&&(i.scrollElementRef=u.first),t.iGM(u=t.CRH())&&(i.paddingElementRef=u.first)}},inputs:{items:"items",markedItem:"markedItem",position:"position",appendTo:"appendTo",bufferAmount:"bufferAmount",virtualScroll:"virtualScroll",headerTemplate:"headerTemplate",footerTemplate:"footerTemplate",filterValue:"filterValue"},outputs:{update:"update",scroll:"scroll",scrollToEnd:"scrollToEnd",outsideClick:"outsideClick"},features:[t.TTD],ngContentSelectors:ne,decls:9,vars:6,consts:[["class","ng-dropdown-header",4,"ngIf"],[1,"ng-dropdown-panel-items","scroll-host"],["scroll",""],["padding",""],["content",""],["class","ng-dropdown-footer",4,"ngIf"],[1,"ng-dropdown-header"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ng-dropdown-footer"]],template:function(e,i){1&e&&(t.F$t(),t.YNc(0,De,2,4,"div",0),t.TgZ(1,"div",1,2),t._UZ(3,"div",null,3),t.TgZ(5,"div",null,4),t.Hsn(7),t.qZA()(),t.YNc(8,nt,2,4,"div",5)),2&e&&(t.Q6J("ngIf",i.headerTemplate),t.xp6(3),t.ekj("total-padding",i.virtualScroll),t.xp6(2),t.ekj("scrollable-content",i.virtualScroll&&i.items.length),t.xp6(3),t.Q6J("ngIf",i.footerTemplate))},dependencies:[V.O5,V.tP],encapsulation:2,changeDetection:0}),l})(),M=(()=>{class l{constructor(e){this.elementRef=e,this.stateChange$=new te.x,this._disabled=!1}get disabled(){return this._disabled}set disabled(e){this._disabled=this._isDisabled(e)}get label(){return(this.elementRef.nativeElement.textContent||"").trim()}ngOnChanges(e){e.disabled&&this.stateChange$.next({value:this.value,disabled:this._disabled})}ngAfterViewChecked(){this.label!==this._previousLabel&&(this._previousLabel=this.label,this.stateChange$.next({value:this.value,disabled:this._disabled,label:this.elementRef.nativeElement.innerHTML}))}ngOnDestroy(){this.stateChange$.complete()}_isDisabled(e){return null!=e&&"false"!=`${e}`}}return l.\u0275fac=function(e){return new(e||l)(t.Y36(t.SBq))},l.\u0275cmp=t.Xpm({type:l,selectors:[["ng-option"]],inputs:{value:"value",disabled:"disabled"},features:[t.TTD],ngContentSelectors:ne,decls:1,vars:0,template:function(e,i){1&e&&(t.F$t(),t.Hsn(0))},encapsulation:2,changeDetection:0}),l})(),F=(()=>{class l{constructor(){this.notFoundText="No items found",this.typeToSearchText="Type to search",this.addTagText="Add item",this.loadingText="Loading...",this.clearAllText="Clear all",this.disableVirtualScroll=!0,this.openOnEnter=!0,this.appearance="underline"}}return l.\u0275fac=function(e){return new(e||l)},l.\u0275prov=t.Yz7({token:l,factory:l.\u0275fac,providedIn:"root"}),l})(),Z=(()=>{class l{warn(e){console.warn(e)}}return l.\u0275fac=function(e){return new(e||l)},l.\u0275prov=t.Yz7({token:l,factory:l.\u0275fac,providedIn:"root"}),l})();const Ce=new t.OlP("ng-select-selection-model");let ft=(()=>{class l{constructor(e,i,u,h,v,y,O){this.classes=e,this.autoFocus=i,this.config=u,this._cd=y,this._console=O,this.markFirst=!0,this.dropdownPosition="auto",this.loading=!1,this.closeOnSelect=!0,this.hideSelected=!1,this.selectOnTab=!1,this.bufferAmount=4,this.selectableGroup=!1,this.selectableGroupAsModel=!0,this.searchFn=null,this.trackByFn=null,this.clearOnBackspace=!0,this.labelForId=null,this.inputAttrs={},this.readonly=!1,this.searchWhileComposing=!0,this.minTermLength=0,this.editableSearchTerm=!1,this.keyDownFn=D=>!0,this.multiple=!1,this.addTag=!1,this.searchable=!0,this.clearable=!0,this.isOpen=!1,this.blurEvent=ne
1w t.vpe,this.focusEvent=new t.vpe,this.changeEvent=new t.vpe,this.openEvent=new t.vpe,this.closeEvent=new t.vpe,this.searchEvent=new t.vpe,this.clearEvent=new t.vpe,this.addEvent=new t.vpe,this.removeEvent=new t.vpe,this.scroll=new t.vpe,this.scrollToEnd=new t.vpe,this.useDefaultClass=!0,this.viewPortItems=[],this.searchTerm=null,this.dropdownId=lt(),this.escapeHTML=!0,this._items=[],this._defaultLabel="label",this._pressedKeys=[],this._isComposing=!1,this._destroy$=new te.x,this._keyPress$=new te.x,this._onChange=D=>{},this._onTouched=()=>{},this.clearItem=D=>{const R=this.selectedItems.find(P=>P.value===D);this.unselect(R)},this.trackByOption=(D,R)=>this.trackByFn?this.trackByFn(R.value):R,this._mergeGlobalConfig(u),this.itemsList=new pt(this,h()),this.element=v.nativeElement}get items(){return this._items}set items(e){null===e&&(e=[]),this._itemsAreUsed=!0,this._items=e}get compareWith(){return this._compareWith}set compareWith(e){if(null!=e&&!S(e))throw Error("`compareWith` must be a function.");this._compareWith=e}get clearSearchOnAdd(){return f(this._clearSearchOnAdd)?this._clearSearchOnAdd:f(this.config.clearSearchOnAdd)?this.config.clearSearchOnAdd:this.closeOnSelect}set clearSearchOnAdd(e){this._clearSearchOnAdd=e}get disabled(){return this.readonly||this._disabled}get filtered(){return!!this.searchTerm&&this.searchable||this._isComposing}get single(){return!this.multiple}get _editableSearchTerm(){return this.editableSearchTerm&&!this.multiple}get selectedItems(){return this.itemsList.selectedItems}get selectedValues(){return this.selectedItems.map(e=>e.value)}get hasValue(){return this.selectedItems.length>0}get currentPanelPosition(){if(this.dropdownPanel)return this.dropdownPanel.currentPosition}ngOnInit(){this._handleKeyPresses(),this._setInputAttributes()}ngOnChanges(e){e.multiple&&this.itemsList.clearSelected(),e.items&&this._setItems(e.items.currentValue||[]),e.isOpen&&(this._manualOpen=f(e.isOpen.currentValue))}ngAfterViewInit(){this._itemsAreUsed||(this.escapeHTML=!1,this._setItemsFromNgOptions()),f(this.autoFocus)&&this.focus()}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete()}handleKeyDown(e){if(L[e.which]){if(!1===this.keyDownFn(e))return;this.handleKeyCode(e)}else e.key&&1===e.key.length&&this._keyPress$.next(e.key.toLocaleLowerCase())}handleKeyCode(e){switch(e.which){case L.ArrowDown:this._handleArrowDown(e);break;case L.ArrowUp:this._handleArrowUp(e);break;case L.Space:this._handleSpace(e);break;case L.Enter:this._handleEnter(e);break;case L.Tab:this._handleTab(e);break;case L.Esc:this.close(),e.preventDefault();break;case L.Backspace:this._handleBackspace()}}handleMousedown(e){const i=e.target;"INPUT"!==i.tagName&&e.preventDefault(),i.classList.contains("ng-clear-wrapper")?this.handleClearClick():i.classList.contains("ng-arrow-wrapper")?this.handleArrowClick():i.classList.contains("ng-value-icon")||(this.focused||this.focus(),this.searchable?this.open():this.toggle())}handleArrowClick(){this.isOpen?this.close():this.open()}handleClearClick(){this.hasValue&&(this.itemsList.clearSelected(!0),this._updateNgModel()),this._clearSearch(),this.focus(),this.clearEvent.emit(),this._onSelectionChanged()}clearModel(){this.clearable&&(this.itemsList.clearSelected(),this._updateNgModel())}writeValue(e){this.itemsList.clearSelected(),this._handleWriteValue(e),this._cd.markForCheck()}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this._disabled=e,this._cd.markForCheck()}toggle(){this.isOpen?this.close():this.open()}open(){this.disabled||this.isOpen||this._manualOpen||!this._isTypeahead&&!this.addTag&&this.itemsList.noItemsToSelect||(this.isOpen=!0,this.itemsList.markSelectedOrDefault(this.markFirst),this.openEvent.emit(),this.searchTerm||this.focus(),this.detectChanges())}close(){!this.isOpen||this._manualOpen||(this.isOpen=!1,this._isComposing=!1,this._editableSearchTerm?this.itemsList.resetFilteredItems():this._clearSearch(),this.itemsList.unmarkItem(),this._onTouched(),this.closeEvent.emit(),this._cd.markForCheck())}toggleItem(e){!e||e.disabled||this.disabled||(this.multiple&&e.selected?this.unselect(e):this.select(e),this._editableSearchTerm&&this._setSearchTermFromItems(),this._onSelectionChanged())}select(e){e.selected||(this.itemsList.select(e),this.clearSearchOnAdd&&!this._editableSearchTerm&&this._clearSearch(),this._updateNgModel(),this.multiple&&this.addEvent.emit(e.value)),(this.closeOnSelect||this.itemsList.noItemsToSelect)&&this.close()}focus(){this.searchInput.nativeElement.readOnly||this.searchInput.nativeElement.focus()}blur(){this.searchInput.nativeElement.blur()}unselect(e){e&&(this.itemsList.unselect(e),this.focus(),this._updateNgModel(),this.removeEvent.emit(e))}selectTag(){let e;e=S(this.addTag)?this.addTag(this.searchTerm):this._primitive?this.searchTerm:{[this.bindLabel]:this.searchTerm};const i=u=>this._isTypeahead||!this.isOpen?this.itemsList.mapItem(u,null):this.itemsList.addItem(u);!function b(l){return l instanceof Promise}(e)?e&&this.select(i(e)):e.then(u=>this.select(i(u))).catch(()=>{})}showClear(){return this.clearable&&(this.hasValue||this.searchTerm)&&!this.disabled}
1get showAddTag(){if(!this._validTerm)return!1;const e=this.searchTerm.toLowerCase().trim();return this.addTag&&!this.itemsList.filteredItems.some(i=>i.label.toLowerCase()===e)&&(!this.hideSelected&&this.isOpen||!this.selectedItems.some(i=>i.label.toLowerCase()===e))&&!this.loading}showNoItemsFound(){const e=0===this.itemsList.filteredItems.length;return(e&&!this._isTypeahead&&!this.loading||e&&this._isTypeahead&&this._validTerm&&!this.loading)&&!this.showAddTag}showTypeToSearch(){return 0===this.itemsList.filteredItems.length&&this._isTypeahead&&!this._validTerm&&!this.loading}onCompositionStart(){this._isComposing=!0}onCompositionEnd(e){this._isComposing=!1,!this.searchWhileComposing&&this.filter(e)}filter(e){this._isComposing&&!this.searchWhileComposing||(this.searchTerm=e,this._isTypeahead&&(this._validTerm||0===this.minTermLength)&&this.typeahead.next(e),this._isTypeahead||(this.itemsList.filter(this.searchTerm),this.isOpen&&this.itemsList.markSelectedOrDefault(this.markFirst)),this.searchEvent.emit({term:e,items:this.itemsList.filteredItems.map(i=>i.value)}),this.open())}onInputFocus(e){this.focused||(this._editableSearchTerm&&this._setSearchTermFromItems(),this.element.classList.add("ng-select-focused"),this.focusEvent.emit(e),this.focused=!0)}onInputBlur(e){this.element.classList.remove("ng-select-focused"),this.blurEvent.emit(e),!this.isOpen&&!this.disabled&&this._onTouched(),this._editableSearchTerm&&this._setSearchTermFromItems(),this.focused=!1}onItemHover(e){e.disabled||this.itemsList.markItem(e)}detectChanges(){this._cd.destroyed||this._cd.detectChanges()}_setSearchTermFromItems(){const e=this.selectedItems&&this.selectedItems[0];this.searchTerm=e&&e.label||null}_setItems(e){const i=e[0];this.bindLabel=this.bindLabel||this._defaultLabel,this._primitive=f(i)?!g(i):this._primitive||this.bindLabel===this._defaultLabel,this.itemsList.setItems(e),e.length>0&&this.hasValue&&this.itemsList.mapSelectedItems(),this.isOpen&&f(this.searchTerm)&&!this._isTypeahead&&this.itemsList.filter(this.searchTerm),(this._isTypeahead||this.isOpen)&&this.itemsList.markSelectedOrDefault(this.markFirst)}_setItemsFromNgOptions(){const e=u=>{this.items=u.map(h=>({$ngOptionValue:h.value,$ngOptionLabel:h.elementRef.nativeElement.innerHTML,disabled:h.disabled})),this.itemsList.setItems(this.items),this.hasValue&&this.itemsList.mapSelectedItems(),this.detectChanges()},i=()=>{const u=(0,K.T)(this.ngOptions.changes,this._destroy$);(0,K.T)(...this.ngOptions.map(h=>h.stateChange$)).pipe((0,T.R)(u)).subscribe(h=>{const v=this.itemsList.findItem(h.value);v.disabled=h.disabled,v.label=h.label||v.label,this._cd.detectChanges()})};this.ngOptions.changes.pipe((0,et.O)(this.ngOptions),(0,T.R)(this._destroy$)).subscribe(u=>{this.bindLabel=this._defaultLabel,e(u),i()})}_isValidWriteValue(e){if(!f(e)||this.multiple&&""===e||Array.isArray(e)&&0===e.length)return!1;const i=u=>!(!f(this.compareWith)&&g(u)&&this.bindValue&&(this._console.warn(`Setting object(${JSON.stringify(u)}) as your model with bindValue is not allowed unless [compareWith] is used.`),1));return this.multiple?Array.isArray(e)?e.every(u=>i(u)):(this._console.warn("Multiple select ngModel should be array."),!1):i(e)}_handleWriteValue(e){if(!this._isValidWriteValue(e))return;const i=u=>{let h=this.itemsList.findItem(u);if(h)this.itemsList.select(h);else{const v=g(u);v||!v&&!this.bindValue?this.itemsList.select(this.itemsList.mapItem(u,null)):this.bindValue&&(h={[this.bindLabel]:null,[this.bindValue]:u},this.itemsList.select(this.itemsList.mapItem(h,null)))}};this.multiple?e.forEach(u=>i(u)):i(e)}_handleKeyPresses(){this.searchable||this._keyPress$.pipe((0,T.R)(this._destroy$),(0,Pe.b)(e=>this._pressedKeys.push(e)),function Ge(l,o=Q.z){return(0,H.e)((e,i)=>{let u=null,h=null,v=null;const y=()=>{if(u){u.unsubscribe(),u=null;const D=h;h=null,i.next(D)}};function O(){const D=v+l,R=o.now();if(R<D)return u=this.schedule(void 0,D-R),void i.add(u);y()}e.subscribe((0,w.x)(i,D=>{h=D,v=o.now(),u||(u=o.schedule(O,l),i.add(u))},()=>{y(),i.complete()},void 0,()=>{h=u=null}))})}(200),(0,Te.h)(()=>this._pressedKeys.length>0),(0,be.U)(()=>this._pressedKeys.join(""))).subscribe(e=>{const i=this.itemsList.findByLabel(e);
1i&&(this.isOpen?(this.itemsList.markItem(i),this._scrollToMarked(),this._cd.markForCheck()):this.select(i)),this._pressedKeys=[]})}_setInputAttributes(){const e=this.searchInput.nativeElement,i={type:"text",autocorrect:"off",autocapitalize:"off",autocomplete:this.labelForId?"off":this.dropdownId,...this.inputAttrs};for(const u of Object.keys(i))e.setAttribute(u,i[u])}_updateNgModel(){const e=[];for(const u of this.selectedItems)if(this.bindValue){let h=null;h=u.children?u.value[(this.groupValue?this.bindValue:this.groupBy)||this.groupBy]:this.itemsList.resolveNested(u.value,this.bindValue),e.push(h)}else e.push(u.value);const i=this.selectedItems.map(u=>u.value);this.multiple?(this._onChange(e),this.changeEvent.emit(i)):(this._onChange(f(e[0])?e[0]:null),this.changeEvent.emit(i[0])),this._cd.markForCheck()}_clearSearch(){this.searchTerm&&(this._changeSearch(null),this.itemsList.resetFilteredItems())}_changeSearch(e){this.searchTerm=e,this._isTypeahead&&this.typeahead.next(e)}_scrollToMarked(){!this.isOpen||!this.dropdownPanel||this.dropdownPanel.scrollTo(this.itemsList.markedItem)}_scrollToTag(){!this.isOpen||!this.dropdownPanel||this.dropdownPanel.scrollToTag()}_onSelectionChanged(){this.isOpen&&this.multiple&&this.appendTo&&(this._cd.detectChanges(),this.dropdownPanel.adjustPosition())}_handleTab(e){!1===this.isOpen&&!this.addTag||(this.selectOnTab?this.itemsList.markedItem?(this.toggleItem(this.itemsList.markedItem),e.preventDefault()):this.showAddTag?(this.selectTag(),e.preventDefault()):this.close():this.close())}_handleEnter(e){if(this.isOpen||this._manualOpen)this.itemsList.markedItem?this.toggleItem(this.itemsList.markedItem):this.showAddTag&&this.selectTag();else{if(!this.openOnEnter)return;this.open()}e.preventDefault()}_handleSpace(e){this.isOpen||this._manualOpen||(this.open(),e.preventDefault())}_handleArrowDown(e){this._nextItemIsTag(1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markNextItem(),this._scrollToMarked()),this.open(),e.preventDefault()}_handleArrowUp(e){this.isOpen&&(this._nextItemIsTag(-1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markPreviousItem(),this._scrollToMarked()),e.preventDefault())}_nextItemIsTag(e){const i=this.itemsList.markedIndex+e;return this.addTag&&this.searchTerm&&this.itemsList.markedItem&&(i<0||i===this.itemsList.filteredItems.length)}_handleBackspace(){this.searchTerm||!this.clearable||!this.clearOnBackspace||!this.hasValue||(this.multiple?this.unselect(this.itemsList.lastSelectedItem):this.clearModel())}get _isTypeahead(){return this.typeahead&&this.typeahead.observers.length>0}get _validTerm(){const e=this.searchTerm&&this.searchTerm.trim();return e&&e.length>=this.minTermLength}_mergeGlobalConfig(e){this.placeholder=this.placeholder||e.placeholder,this.notFoundText=this.notFoundText||e.notFoundText,this.typeToSearchText=this.typeToSearchText||e.typeToSearchText,this.addTagText=this.addTagText||e.addTagText,this.loadingText=this.loadingText||e.loadingText,this.clearAllText=this.clearAllText||e.clearAllText,this.virtualScroll=f(this.virtualScroll)?this.virtualScroll:!!f(e.disableVirtualScroll)&&!e.disableVirtualScroll,this.openOnEnter=f(this.openOnEnter)?this.openOnEnter:e.openOnEnter,this.appendTo=this.appendTo||e.appendTo,this.bindValue=this.bindValue||e.bindValue,this.bindLabel=this.bindLabel||e.bindLabel,this.appearance=this.appearance||e.appearance}}return l.\u0275fac=function(e){return new(e||l)(t.$8M("class"),t.$8M("autofocus"),t.Y36(F),t.Y36(Ce),t.Y36(t.SBq),t.Y36(t.sBO),t.Y36(Z))},l.\u0275cmp=t.Xpm({type:l,selectors:[["ng-select"]],contentQueries:function(e,i,u){if(1&e&&(t.Suo(u,E,5,t.Rgc),t.Suo(u,x,5,t.Rgc),t.Suo(u,U,5,t.Rgc),t.Suo(u,k,5,t.Rgc),t.Suo(u,J,5,t.Rgc),t.Suo(u,oe,5,t.Rgc),t.Suo(u,Le,5,t.Rgc),t.Suo(u,dt,5,t.Rgc),t.Suo(u,ot,5,t.Rgc),t.Suo(u,rt,5,t.Rgc),t.Suo(u,We,5,t.Rgc),t.Suo(u,M,5)),2&e){let h;t.iGM(h=t.CRH())&&(i.optionTemplate=h.first),t.iGM(h=t.CRH())&&(i.optgroupTemplate=h.first),t.iGM(h=t.CRH())&&(i.labelTemplate=h.first),t.iGM(h=t.CRH())&&(i.multiLabelTemplate=h.first),t.iGM(h=t.CRH())&&(i.headerTemplate=h.first),t.iGM(h=t.CRH())&&(i.footerTemplate=h.first),t.iGM(h=t.CRH())&&(i.notFoundTemplate=h.first),t.iGM(h=t.CRH())&&(i.typeToSearchTemplate=h.first),t.iGM(h=t.CRH())&&(i.loadingTextTemplate=h.first),t.iGM(h=t.CRH())&&(i.tagTemplate=h.first),t.iGM(h=t.CRH())&&(i.loadingSpinnerTemplate=h.first),t.iGM(h=t.CRH())&&(i.ngOptions=h)}},viewQuery:function(e,i){if(1&e&&(t.Gf(_,5),t.Gf(ce,7)),2&e){let u;t.iGM(u=t.CRH())&&(i.dropdownPanel=u.first),t.iGM(u=t.CRH())&&(i.searchInput=u.first)}},hostVars:20,hostBindings:function(e,i){1&e&&t.NdJ("keydown",function(h){return i.handleKeyDown(h)}),2&e&&t.ekj("ng-select-typeahead",i.typeahead)("ng-select-multiple",i.multiple)("ng-select-taggable",i.addTag)("ng-select-searchable",i.searchable)("ng-select-clearable",i.clearable)("ng-select-opened",i.isOpen)("ng-select",i.useDefaultClass)("ng-select-disabled",i.disabled)("ng-select-filtered",i.filtered)("ng-select-single",i.single)},inputs:{bindLabel:"bindLabel",bindValue:"bindValue",markFirst:"markFirst",placeholder:"placeholder",notFoundText:"notFoundText",typeToSearchText:"typeToSearchText",addTagText:"addTagText",loadingText:"loadingText",clearAllText:"clearAllText",appearance:"appearance",dropdownPosition:"dropdownPosition",appendTo:"appendTo",loading:"loading",closeOnSelect:"closeOnSelect",hide
1Selected:"hideSelected",selectOnTab:"selectOnTab",openOnEnter:"openOnEnter",maxSelectedItems:"maxSelectedItems",groupBy:"groupBy",groupValue:"groupValue",bufferAmount:"bufferAmount",virtualScroll:"virtualScroll",selectableGroup:"selectableGroup",selectableGroupAsModel:"selectableGroupAsModel",searchFn:"searchFn",trackByFn:"trackByFn",clearOnBackspace:"clearOnBackspace",labelForId:"labelForId",inputAttrs:"inputAttrs",tabIndex:"tabIndex",readonly:"readonly",searchWhileComposing:"searchWhileComposing",minTermLength:"minTermLength",editableSearchTerm:"editableSearchTerm",keyDownFn:"keyDownFn",typeahead:"typeahead",multiple:"multiple",addTag:"addTag",searchable:"searchable",clearable:"clearable",isOpen:"isOpen",items:"items",compareWith:"compareWith",clearSearchOnAdd:"clearSearchOnAdd"},outputs:{blurEvent:"blur",focusEvent:"focus",changeEvent:"change",openEvent:"open",closeEvent:"close",searchEvent:"search",clearEvent:"clear",addEvent:"add",removeEvent:"remove",scroll:"scroll",scrollToEnd:"scrollToEnd"},features:[t._Bn([{provide:C.JU,useExisting:(0,t.Gpc)(()=>l),multi:!0},n]),t.TTD],decls:14,vars:19,consts:[[1,"ng-select-container",3,"mousedown"],[1,"ng-value-container"],[1,"ng-placeholder"],[4,"ngIf"],["role","combobox","aria-haspopup","listbox",1,"ng-input"],["aria-autocomplete","list",3,"readOnly","disabled","value","input","compositionstart","compositionend","focus","blur","change"],["searchInput",""],["class","ng-clear-wrapper",3,"title",4,"ngIf"],[1,"ng-arrow-wrapper"],[1,"ng-arrow"],["class","ng-dropdown-panel","role","listbox","aria-label","Options list",3,"virtualScroll","bufferAmount","appendTo","position","headerTemplate","footerTemplate","filterValue","items","markedItem","ng-select-multiple","ngClass","id","update","scroll","scrollToEnd","outsideClick",4,"ngIf"],["class","ng-value",3,"ng-value-disabled",4,"ngFor","ngForOf","ngForTrackBy"],[1,"ng-value"],["defaultLabelTemplate",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["aria-hidden","true",1,"ng-value-icon","left",3,"click"],[1,"ng-value-label",3,"ngItemLabel","escape"],["defaultLoadingSpinnerTemplate",""],[3,"ngTemplateOutlet"],[1,"ng-spinner-loader"],[1,"ng-clear-wrapper",3,"title"],["aria-hidden","true",1,"ng-clear"],["role","listbox","aria-label","Options list",1,"ng-dropdown-panel",3,"virtualScroll","bufferAmount","appendTo","position","headerTemplate","footerTemplate","filterValue","items","markedItem","ngClass","id","update","scroll","scrollToEnd","outsideClick"],["class","ng-option",3,"ng-option-disabled","ng-option-selected","ng-optgroup","ng-option","ng-option-child","ng-option-marked","click","mouseover",4,"ngFor","ngForOf","ngForTrackBy"],["class","ng-option","role","option",3,"ng-option-marked","mouseover","click",4,"ngIf"],[1,"ng-option",3,"click","mouseover"],["defaultOptionTemplate",""],[1,"ng-option-label",3,"ngItemLabel","escape"],["role","option",1,"ng-option",3,"mouseover","click"],["defaultTagTemplate",""],[1,"ng-tag-label"],["defaultNotFoundTemplate",""],[1,"ng-option","ng-option-disabled"],["defaultTypeToSearchTemplate",""],["defaultLoadingTextTemplate",""]],template:function(e,i){if(1&e){const u=t.EpF();t.TgZ(0,"div",0),t.NdJ("mousedown",function(v){return i.handleMousedown(v)}),t.TgZ(1,"div",1)(2,"div",2),t._uU(3),t.qZA(),t.YNc(4,we,2,2,"ng-container",3),t.YNc(5,Je,1,5,null,3),t.TgZ(6,"div",4)(7,"input",5,6),t.NdJ("input",function(){t.CHM(u);const v=t.MAs(8);return t.KtG(i.filter(v.value))})("compositionstart",function(){return i.onCompositionStart()})("compositionend",function(){t.CHM(u);const v=t.MAs(8);return t.KtG(i.onCompositionEnd(v.value))})("focus",function(v){return i.onInputFocus(v)})("blur",function(v){return i.onInputBlur(v)})("change",function(v){return v.stopPropagation()}),t.qZA()()(),t.YNc(9,he,4,1,"ng-container",3),t.YNc(10,ie,3,1,"span",7),t.TgZ(11,"span",8),t._UZ(12,"span",9),t.qZA()(),t.YNc(13,Ne,7,19,"ng-dropdown-panel",10)}2&e&&(t.ekj("ng-appearance-outline","outline"===i.appearance)("ng-has-value",i.hasValue),t.xp6(3),t.Oqu(i.placeholder),t.xp6(1),t.Q6J("ngIf",(!i.multiLabelTemplate||!i.multiple)&&i.selectedItems.length>0),t.xp6(1),t.Q6J("ngIf",i.multiple&&i.multiLabelTemplate&&i.selectedValues.length>0),t.xp6(1),t.uIk("aria-expanded",i.isOpen)("aria-owns",i.isOpen?i.dropdownId:null),t.xp6(1),t.Q6J("readOnly",!i.searchable||i.itemsList.maxItemsSelected)("disabled",i.disabled)("value",i.searchTerm?i.searchTerm:""),t.uIk("id",i.labelForId)("tabindex",i.tabIndex)("aria-activedescendant",i.isOpen?null==i.itemsList||null==i.itemsList.markedItem?null:i.itemsList.markedItem.htmlId:null)("aria-controls",i.isOpen?i.dropdownId:null),t.xp6(2),t.Q6J("ngIf",i.loading),t.xp6(1),t.Q6J("ngIf",i.showClear()),t.xp6(3),t.Q6J("ngIf",i.isOpen))},dependencies:[V.mk,V.sg,V.O5,V.tP,_,B],styles:['@charset "UTF-8";.ng-select{position:relative;display:block;box-sizing:border-box}.ng-select div,.ng-select input,.ng-select span{box-sizing:border-box}.ng-select [hidden]{display:none}.ng-select.ng-select-searchable .ng-select-container .ng-value-container .ng-input{opacity:1}.ng-select.ng-select-opened .ng-select-container{z-index:1001}.ng-select.ng-select-disabled .ng-select-container .ng-value-container .ng-placeholder,.ng-select.ng-select-disabled .ng-select-container .ng-value-container .ng-value{-webkit-user-select:none;user-select:none;cursor:default}.ng-select.ng-select-disabled .ng-arrow-wrapper{cursor:default}.ng-select.ng-select-filtered .ng-placeholder{display:none}.ng-select .ng-select-container{cursor:default;display:flex;outline:none;overflow:hidden;position:relative;width:100%}.ng-select .ng-select-container .ng-value-container{display:flex;flex:1}.ng-select .ng-select-container .ng-value-container .ng-input{opacity:0}
1.ng-select .ng-select-container .ng-value-container .ng-input>input{box-sizing:content-box;background:none transparent;border:0 none;box-shadow:none;outline:none;padding:0;cursor:default;width:100%}.ng-select .ng-select-container .ng-value-container .ng-input>input::-ms-clear{display:none}.ng-select .ng-select-container .ng-value-container .ng-input>input[readonly]{-webkit-user-select:none;user-select:none;width:0;padding:0}.ng-select.ng-select-single.ng-select-filtered .ng-select-container .ng-value-container .ng-value{visibility:hidden}.ng-select.ng-select-single .ng-select-container .ng-value-container,.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value .ng-value-icon{display:none}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input{position:absolute;left:0;width:100%}.ng-select.ng-select-multiple.ng-select-disabled>.ng-select-container .ng-value-container .ng-value .ng-value-icon{display:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container{flex-wrap:wrap}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{position:absolute}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{white-space:nowrap}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled .ng-value-icon{display:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon{cursor:pointer}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input{flex:1;z-index:2}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{z-index:1}.ng-select .ng-clear-wrapper{cursor:pointer;position:relative;width:17px;-webkit-user-select:none;user-select:none}.ng-select .ng-clear-wrapper .ng-clear{display:inline-block;font-size:18px;line-height:1;pointer-events:none}.ng-select .ng-spinner-loader{border-radius:50%;width:17px;height:17px;margin-right:5px;font-size:10px;position:relative;text-indent:-9999em;border-top:2px solid rgba(66,66,66,.2);border-right:2px solid rgba(66,66,66,.2);border-bottom:2px solid rgba(66,66,66,.2);border-left:2px solid #424242;transform:translateZ(0);animation:load8 .8s infinite linear}.ng-select .ng-spinner-loader:after{border-radius:50%;width:17px;height:17px}@keyframes load8{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.ng-select .ng-arrow-wrapper{cursor:pointer;position:relative;text-align:center;-webkit-user-select:none;user-select:none}.ng-select .ng-arrow-wrapper .ng-arrow{pointer-events:none;display:inline-block;height:0;width:0;position:relative}.ng-dropdown-panel{box-sizing:border-box;position:absolute;opacity:0;width:100%;z-index:1050;-webkit-overflow-scrolling:touch}.ng-dropdown-panel .ng-dropdown-panel-items{display:block;height:auto;box-sizing:border-box;max-height:240px;overflow-y:auto}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option{box-sizing:border-box;cursor:pointer;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .ng-option-label:empty:before{content:"\\200b"}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .highlighted{font-weight:700;text-decoration:underline}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.disabled{cursor:default}.ng-dropdown-panel .scroll-host{overflow:hidden;overflow-y:auto;position:relative;display:block;-webkit-overflow-scrolling:touch}.ng-dropdown-panel .scrollable-content{top:0;left:0;width:100%;height:100%;position:absolute}.ng-dropdown-panel .total-padding{width:1px;opacity:0}\n'],encapsulation:2,changeDetection:0}),l})();function gt(){return new mt}class mt{constructor(){this._selected=[]}get value(){return this._selected}select(o,e,i){if(o.selected=!0,(!o.children||!e&&i)&&this._selected.push(o),e)if(o.parent){const u=o.parent.children.length,h=o.parent.children.filter(v=>v.selected).length;o.parent.selected=u===h}else o.children&&(this._setChildrenSelectedState(o.children,!0),this._removeChildren(o),this._selected=i&&this._activeChildren(o)?[...this._selected.filter(u=>u.parent!==o),o]:[...this._selected,...o.children.filter(u=>!u.disabled)])}unselect(o,e){if(this._selected=this._selected.filter(i=>i!==o),o.selected=!1,e)if(o.parent&&o.parent.selected){const i=o.parent.children;this._removeParent(o.parent),this._removeChildren(o.parent),this._selected.push(...i.filter(u=>u!==o&&!u.disabled)),o.parent.selected=!1}else o.children&&(this._setChildrenSelectedState(o.children,!1),this._removeChildren(o))}clear(o){this._selected=o?this._selected.filter(e=>e.disabled):[]}_setChildrenSelectedState(o,e){for(const i of o)i.disabled||(i.selected=e)}_removeChildren(o){this._selected=[...this._selected.filter(e=>e.parent!==o),...o.children.filter(e=>e.parent===o&&e.disabled&&e.selected)]}_removeParent(o){this._selected=this._selected.filter(e=>e!==o)}_activeChildren(o){return o.children.every(e=>!e.disabled||e.selected)}}let _t=(()=>{class l{}return l.\u0275fac=function(e){return new(e||l)},l.\u0275mod=t.oAB({type:l}),l.\u0275inj=t.cJS({providers:[{provide:Ce,useValue:gt}],imports:[V.ez]}),l})()}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.