@onemrvapublic/design-system-demos 22.7.2-develop.2 → 22.7.2-develop.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/browser/main.js +1 -1
- package/package.json +1 -1
package/browser/main.js
CHANGED
|
@@ -5091,7 +5091,7 @@ textarea.cdk-textarea-autosize-measuring-firefox {
|
|
|
5091
5091
|
transform: rotate(-265deg);
|
|
5092
5092
|
}
|
|
5093
5093
|
}
|
|
5094
|
-
`],encapsulation:2})}return t})();var fVe=["searchSelectInput"],gVe=["innerSelectSearch"],bVe=[[["",8,"mat-select-search-custom-header-content"]],[["","matSelectSearchClear",""]],[["","matSelectNoEntriesFound",""]]],vVe=[".mat-select-search-custom-header-content","[matSelectSearchClear]","[matSelectNoEntriesFound]"],yVe=(t,i)=>({"mat-select-search-inner-multiple":t,"mat-select-search-inner-toggle-all":i});function CVe(t,i){if(t&1){let e=Ce();c(0,"mat-checkbox",10),T("change",function(r){K(e);let o=y();return Q(o._emitSelectAllBooleanToParent(r.checked))}),d();}if(t&2){let e=y();g("checked",e.toggleAllCheckboxChecked())("indeterminate",e.toggleAllCheckboxIndeterminate())("matTooltip",e.toggleAllCheckboxTooltipMessage())("matTooltipPosition",e.toggleAllCheckboxTooltipPosition());}}function EVe(t,i){t&1&&(c(0,"mat-icon",6),p(1,"search"),d());}function SVe(t,i){t&1&&M(0,"mat-spinner",7);}function xVe(t,i){t&1&&Y(0,1);}function wVe(t,i){if(t&1&&(c(0,"mat-icon",12),p(1),d()),t&2){let e=y(2);g("svgIcon",e.closeSvgIcon()),m(),V(" ",e.closeSvgIcon()?null:e.closeIcon()," ");}}function TVe(t,i){if(t&1){let e=Ce();c(0,"button",11),T("click",function(){K(e);let r=y();return Q(r._reset(true))}),D(1,xVe,1,0)(2,wVe,2,2,"mat-icon",12),d();}if(t&2){let e=y();m(),I(e.clearIcon()?1:2);}}function DVe(t,i){t&1&&Y(0,2);}function IVe(t,i){if(t&1&&p(0),t&2){let e=y(2);V(" ",e.noEntriesFoundLabel()," ");}}function kVe(t,i){if(t&1&&(c(0,"div",9),D(1,DVe,1,0)(2,IVe,1,1),d()),t&2){let e=y();m(),I(e.noEntriesFound()?1:2);}}var Xo=(()=>{class t{get value(){return this._formControl.value}set _options(e){this._options$.next(e);}get _options(){return this._options$.getValue()}constructor(){this.placeholderLabel=C("Search"),this.type=C("text"),this.closeIcon=C("close"),this.closeSvgIcon=C(""),this.noEntriesFoundLabel=C("Nothing found"),this.clearSearchInput=C(true),this.searching=C(false),this.disableInitialFocus=C(false),this.enableClearOnEscapePressed=C(false),this.preventHomeEndKeyPropagation=C(false),this.disableScrollToActiveOnOptionsChanged=C(false),this.ariaLabel=C("dropdown search"),this.showToggleAllCheckbox=C(false),this.toggleAllCheckboxChecked=C(false),this.toggleAllCheckboxIndeterminate=C(false),this.toggleAllCheckboxTooltipMessage=C(""),this.toggleAllCheckboxTooltipPosition=C("below"),this.hideClearSearchButton=C(false),this.alwaysRestoreSelectedOptionsMulti=C(false),this.toggleAll=Gt(),this.searchSelectInput=tt("searchSelectInput",{read:se}),this.innerSelectSearch=tt("innerSelectSearch",{read:se}),this.clearIcon=Wi(IT),this.noEntriesFound=Wi(kT),this.onTouched=e=>{},this._options$=new gn(new br),this.optionsList$=this._options$.pipe(Ft(e=>e?e.changes.pipe(le(n=>n.toArray()),Ze(e.toArray())):xe([]))),this.optionsLength$=this.optionsList$.pipe(le(e=>e?e.length:0)),this._formControl=new Pe(""),this._showNoEntriesFound$=Mr([this._formControl.valueChanges,this.optionsLength$]).pipe(le(([e,n])=>this.noEntriesFoundLabel()!==""&&n===this.getOptionsLengthOffset())),this._onDestroy=new z,this.matSelect=h(ki),this.changeDetectorRef=h(ve),this._viewportRuler=h(Ar),this.matOption=h(Jt,{optional:true}),this.matFormField=h(rt,{optional:true}),this.defaultOptions=h(Tte,{optional:true}),this.applyDefaultOptions(this.defaultOptions);}applyDefaultOptions(e){if(e)for(let n of wte)e.hasOwnProperty(n)&&(this[n]=e[n]);}ngOnInit(){this.matOption?(this.matOption.disabled=true,this.matOption._getHostElement().classList.add("contains-mat-select-search")):console.error("<mat-select-search> must be placed inside a <mat-option> element"),this.matSelect.openedChange.pipe(gl(1),we(this._onDestroy)).subscribe(e=>{e?(this.updateInputWidth(),this.disableInitialFocus()||this._focus()):this.clearSearchInput()&&this._reset();}),this.matSelect.openedChange.pipe(_t(1),Ft(e=>{this._options=this.matSelect.options;let n=this._options.toArray()[this.getOptionsLengthOffset()];return this._options.changes.pipe(an(()=>{setTimeout(()=>{let r=this._options.toArray(),o=r[this.getOptionsLengthOffset()],a=this.matSelect._keyManager;a&&this.matSelect.panelOpen&&((!this.matSelect.compareWith(n,o)||!a.activeItem||!r.find(l=>this.matSelect.compareWith(l,a.activeItem)))&&a.setFirstItemActive(),setTimeout(()=>{this.updateInputWidth();})),n=o;});}))})).subscribe(),this._showNoEntriesFound$.pipe(we(this._onDestroy)).subscribe(e=>{this.matOption&&(e?this.matOption._getHostElement().classList.add("mat-select-search-no-entries-found"):this.matOption._getHostElement().classList.remove("mat-select-search-no-entries-found"));}),this._viewportRuler.change().pipe(we(this._onDestroy)).subscribe(()=>{this.matSelect.panelOpen&&this.updateInputWidth();}),this.initMultipleHandling(),this.optionsList$.pipe(we(this._onDestroy)).subscribe(()=>{this.changeDetectorRef.markForCheck();});}_emitSelectAllBooleanToParent(e){this.toggleAll.emit(e);}ngOnDestroy(){this._onDestroy.next(),this._onDestroy.complete();}_isToggleAllCheckboxVisible(){return this.matSelect.multiple&&this.showToggleAllCheckbox()}_handleKeydown(e){if(e.key&&e.key.length===1||e.keyCode>=65&&e.keyCode<=90||e.keyCode>=48&&e.keyCode<=57||e.keyCode===32||this.preventHomeEndKeyPropagation()&&(e.keyCode===36||e.keyCode===35)){e.stopPropagation();return}if(this.matSelect.multiple&&e.key&&e.keyCode===13&&setTimeout(()=>this._focus()),this.enableClearOnEscapePressed()&&e.keyCode===27&&this.value){this._reset(true),e.stopPropagation();return}(e.keyCode===38||e.keyCode===40||e.keyCode===13)&&(e.stopPropagation(),this.matSelect._handleKeydown(e));}_handleKeyup(e){if(e.keyCode===38||e.keyCode===40){let n=this.matSelect._getAriaActiveDescendant(),r=this._options.toArray().findIndex(o=>o.id===n);if(r!==-1){this.unselectActiveDescendant();let o=this._options.toArray();this.activeDescendant=o[r]._getHostElement(),this.activeDescendant.setAttribute("aria-selected","true"),this.searchSelectInput()?.nativeElement.setAttribute("aria-activedescendant",n);}}}writeValue(e){this._lastExternalInputValue=e,this._formControl.setValue(e),this.changeDetectorRef.markForCheck();}onBlur(){this.unselectActiveDescendant();}registerOnChange(e){this._formControl.valueChanges.pipe(ct(n=>n!==this._lastExternalInputValue),an(()=>this._lastExternalInputValue=void 0),we(this._onDestroy)).subscribe(e);}registerOnTouched(e){this.onTouched=e;}_focus(){let e=this.searchSelectInput();if(!e||!this.matSelect.panel)return;let n=this.matSelect.panel.nativeElement,r=n.scrollTop;e.nativeElement.focus(),n.scrollTop=r;}_reset(e){this._formControl.setValue(""),e&&this._focus();}initMultipleHandling(){if(!this.matSelect.ngControl){this.matSelect.multiple&&console.error("the mat-select containing mat-select-search must have a ngModel or formControl directive when multiple=true");return}this.previousSelectedValues=this.matSelect.ngControl.value,this.matSelect.ngControl.valueChanges?.pipe(we(this._onDestroy)).subscribe(e=>{let n=false;if(this.matSelect.multiple&&(this.alwaysRestoreSelectedOptionsMulti()||this._formControl.value&&this._formControl.value.length)&&this.previousSelectedValues&&Array.isArray(this.previousSelectedValues)){(!e||!Array.isArray(e))&&(e=[]);let r=this.matSelect.options.map(o=>o.value);this.previousSelectedValues.forEach(o=>{!e.some(a=>this.matSelect.compareWith(a,o))&&!r.some(a=>this.matSelect.compareWith(a,o))&&(e.push(o),n=true);});}this.previousSelectedValues=e,n&&this.matSelect._onChange(e);});}updateInputWidth(){let e=this.innerSelectSearch();if(!e||!e.nativeElement)return;let n=e.nativeElement;if(n.parentElement!==null){let r=null;for(;n=n.parentElement;)if(n.classList.contains("mat-select-panel")){r=n;break}r!==null&&(e.nativeElement.style.width=r.clientWidth+"px");}}getOptionsLengthOffset(){return this.matOption?1:0}unselectActiveDescendant(){this.activeDescendant?.removeAttribute("aria-selected"),this.searchSelectInput()?.nativeElement.removeAttribute("aria-activedescendant");}static{this.\u0275fac=function(n){return new(n||t)};}static{this.\u0275cmp=x({type:t,selectors:[["mat-select-search"]],contentQueries:function(n,r,o){n&1&&Oi(o,r.clearIcon,IT,5)(o,r.noEntriesFound,kT,5),n&2&&Qe(2);},viewQuery:function(n,r){n&1&&yt(r.searchSelectInput,fVe,5,se)(r.innerSelectSearch,gVe,5,se),n&2&&Qe(2);},inputs:{placeholderLabel:[1,"placeholderLabel"],type:[1,"type"],closeIcon:[1,"closeIcon"],closeSvgIcon:[1,"closeSvgIcon"],noEntriesFoundLabel:[1,"noEntriesFoundLabel"],clearSearchInput:[1,"clearSearchInput"],searching:[1,"searching"],disableInitialFocus:[1,"disableInitialFocus"],enableClearOnEscapePressed:[1,"enableClearOnEscapePressed"],preventHomeEndKeyPropagation:[1,"preventHomeEndKeyPropagation"],disableScrollToActiveOnOptionsChanged:[1,"disableScrollToActiveOnOptionsChanged"],ariaLabel:[1,"ariaLabel"],showToggleAllCheckbox:[1,"showToggleAllCheckbox"],toggleAllCheckboxChecked:[1,"toggleAllCheckboxChecked"],toggleAllCheckboxIndeterminate:[1,"toggleAllCheckboxIndeterminate"],toggleAllCheckboxTooltipMessage:[1,"toggleAllCheckboxTooltipMessage"],toggleAllCheckboxTooltipPosition:[1,"toggleAllCheckboxTooltipPosition"],hideClearSearchButton:[1,"hideClearSearchButton"],alwaysRestoreSelectedOptionsMulti:[1,"alwaysRestoreSelectedOptionsMulti"]},outputs:{toggleAll:"toggleAll"},features:[he([{provide:fi,useExisting:qn(()=>t),multi:true}])],ngContentSelectors:vVe,decls:13,vars:16,consts:[["innerSelectSearch",""],["searchSelectInput",""],["matInput","",1,"mat-select-search-input","mat-select-search-hidden"],[1,"mat-select-search-inner","mat-typography","mat-datepicker-content","mat-tab-header"],["matTooltipClass","ngx-mat-select-search-toggle-all-tooltip",1,"mat-select-search-toggle-all-checkbox",3,"checked","indeterminate","matTooltip","matTooltipPosition"],["autocomplete","off",1,"mat-select-search-input",3,"keydown","keyup","blur","type","formControl","placeholder"],[1,"suffix"],["diameter","16",1,"mat-select-search-spinner"],["mat-icon-button","","aria-label","Clear",1,"mat-select-search-clear"],[1,"mat-select-search-no-entries-found"],["matTooltipClass","ngx-mat-select-search-toggle-all-tooltip",1,"mat-select-search-toggle-all-checkbox",3,"change","checked","indeterminate","matTooltip","matTooltipPosition"],["mat-icon-button","","aria-label","Clear",1,"mat-select-search-clear",3,"click"],[3,"svgIcon"]],template:function(n,r){n&1&&(_e(bVe),M(0,"input",2),c(1,"div",3,0),D(3,CVe,1,4,"mat-checkbox",4),c(4,"input",5,1),T("keydown",function(a){return r._handleKeydown(a)})("keyup",function(a){return r._handleKeyup(a)})("blur",function(){return r.onBlur()}),d(),Ee(),D(6,EVe,2,0,"mat-icon",6),D(7,SVe,1,0,"mat-spinner",7),D(8,TVe,3,1,"button",8),Y(9),M(10,"mat-divider"),d(),D(11,kVe,3,1,"div",9),$(12,"async")),n&2&&(m(),Je(Cc(13,yVe,r.matSelect.multiple,r._isToggleAllCheckboxVisible())),m(2),I(r._isToggleAllCheckboxVisible()?3:-1),m(),g("type",r.type())("formControl",r._formControl)("placeholder",r.placeholderLabel()),F("aria-label",r.ariaLabel()),Se(),m(2),I(r.value===""&&!r.searching()?6:-1),m(),I(r.searching()?7:-1),m(),I(!r.hideClearSearchButton()&&r.value&&!r.searching()?8:-1),m(3),I(H(12,11,r._showNoEntriesFound$)?11:-1));},dependencies:[Io,_i,qe,Bt,Ye,pt,Ge,Ite,fn,en,Ko,Un],styles:["[_nghost-%COMP%] .mat-select-search-hidden[_ngcontent-%COMP%]{visibility:hidden}[_nghost-%COMP%] .mat-select-search-inner[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;z-index:100;font-size:inherit;box-shadow:none}[_nghost-%COMP%] .mat-select-search-inner.mat-select-search-inner-multiple.mat-select-search-inner-toggle-all[_ngcontent-%COMP%]{display:flex;align-items:center}[_nghost-%COMP%] .suffix[_ngcontent-%COMP%]{position:absolute;top:var(--spacer-and-half);right:var(--spacer)}[_nghost-%COMP%] .mat-select-search-input[_ngcontent-%COMP%]{box-sizing:border-box;width:100%;border:none;font-family:inherit;font-size:inherit;color:currentColor;outline:none;background:var(--mat-sys-surface);line-height:var(--input-height);height:var(--input-height);padding:var(--spacer)}[dir=rtl] [_nghost-%COMP%] .mat-select-search-input[_ngcontent-%COMP%]{padding-right:var(--double-spacer)}[_nghost-%COMP%] .mat-select-search-inner-toggle-all[_ngcontent-%COMP%] .mat-select-search-input[_ngcontent-%COMP%]{padding-left:var(--half-spacer)}[_nghost-%COMP%] .mat-select-search-no-entries-found[_ngcontent-%COMP%]{padding-top:var(--spacer);padding-bottom:var(--spacer)}[_nghost-%COMP%] .mat-select-search-clear[_ngcontent-%COMP%]{position:absolute;right:var(--half-spacer);top:0}[dir=rtl] [_nghost-%COMP%] .mat-select-search-clear[_ngcontent-%COMP%]{right:auto;left:var(--half-spacer)}[_nghost-%COMP%] .mat-select-search-spinner[_ngcontent-%COMP%]{position:absolute;right:var(--double-spacer);top:calc(50% - var(--spacer))}[dir=rtl] [_nghost-%COMP%] .mat-select-search-spinner[_ngcontent-%COMP%]{right:auto;left:var(--double-spacer)}"]});}}return t})();var za=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)};}static{this.\u0275mod=ge({type:t});}static{this.\u0275inj=fe({imports:[Xo]});}}return t})();var MVe=["countryCode"],OVe=["bban"];function RVe(t,i){t&1&&M(0,"mat-divider");}function AVe(t,i){if(t&1&&(dt(0),c(1,"mat-option",8)(2,"span"),p(3),d()(),D(4,RVe,1,0,"mat-divider"),ut()),t&2){let e=i.$implicit,n=i.$index,r=y();m(),g("value",e),m(2),L(e),m(),I(r.isLastPrioritized(n)?4:-1);}}var wf=(()=>{class t{static{this.nextId=0;}get bbanField(){return this.parts.get("bban")}get countryCodeField(){return this.parts.get("countryCode")}constructor(){this.noEntriesFoundLabel=C("Not found"),this.placeholderLabel=C("Search"),this.searchAriaLabel=C("Search"),this.label=C("IBAN"),this.prioritizedCountries=C([]),this.onlySEPA=C(false),this.getCountry=Gt(),this.filteredCountries$=xe([]),this.filterCtrl=new Pe(""),this.destroyNotifier$=new z,this.placeholderIban="",this.controlType="bank-account-input",this.stateChanges=new z,this.focused=false,this.id=`bank-account-input-${t.nextId++}`,this.touched=false,this.focusMonitor=h(ci),this.elementRef=h(se),this.formBuilder=h(nl),this.ngControl=h(pr,{optional:true}),this.onChange=e=>{},this.onTouched=()=>{this.touched||(this.touched=true,this.stateChanges.next());},this.readonly=C(false),this._disabled=false,this._placeholder="",this._required=false,this.ngControl&&(this.ngControl.valueAccessor=this),this.parts=this.formBuilder.group({countryCode:["",[Rt.maxLength(2)]],bban:["",[]]});}errors(){return this.parts.errors}get errorState(){let e=this.ngControl?.control,n=!!(e&&e.invalid&&(e.dirty||e.touched)),r=!!(this.parts&&this.parts.invalid&&(this.parts.dirty||this.parts.touched));return n||r}get shouldLabelFloat(){return this.focused||!this.empty}get empty(){let{value:{bban:e}}=this.parts;return !e||e.trim()===""}get value(){let{value:{countryCode:e,bban:n}}=this.parts;return `${e??""}${n??""}`}set value(e){let{countryCode:n}=oZ(e||""),r=e?.replace(n||"","");this.parts.setValue({countryCode:n||null,bban:r||null}),this.stateChanges.next();}get disabled(){return this._disabled}set disabled(e){this._disabled=yi(e),this._disabled?this.parts.disable():this.parts.enable(),this.stateChanges.next();}setDisabledState(e){this.disabled=e,this.stateChanges.next();}get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next();}get required(){return this._required}set required(e){this._required=yi(e),this.stateChanges.next();}updateNumber(e){let n=e.replace(/[^a-zA-Z0-9]/g,""),r=this.countryCodeField.value+e;if(cN(r)){let o=dN(r);o!==null&&(n=o.substring(2));}this.bbanField.patchValue(n,{emitEvent:false});}ngOnInit(){this.focusMonitor.monitor(this.elementRef,true).subscribe(e=>{this.focused=!!e,!this.focused&&!this.touched&&(this.touched=true,this.onTouched()),this.stateChanges.next();}),this.parts.valueChanges.pipe(we(this.destroyNotifier$)).subscribe(()=>{this.onChange(this.value),this.stateChanges.next();}),this.filteredCountries$=this.getCountryCodes(this.prioritizedCountries()),this.bbanField.valueChanges.pipe(Ze(this.bbanField.getRawValue()),we(this.destroyNotifier$)).subscribe(e=>{if(e!==null&&e!==""){if(this.firstTwoCharsAreLetters(e)){let n=e?.substring(0,2).toUpperCase(),r=mN.find(o=>o==n);this.countryCodeField.setValue(r),e=e.substring(2);}this.updateNumber(e);}}),this.countryCodeField.valueChanges.pipe(Ze(""),km(),aa(),we(this.destroyNotifier$)).subscribe(([e,n])=>{if(this.placeholderIban="",!(!n||n.length<2)){if(this.firstTwoCharsAreLetters(n)){let r=kd[n]?.chars;r!==void 0&&(this.placeholderIban=this.generatePlaceholder(r));}this.bbanField.value!==null&&this.updateNumber(this.bbanField.value);}});}handleClick(e){e.stopPropagation();}ngOnDestroy(){this.focusMonitor.stopMonitoring(this.elementRef),this.destroyNotifier$.next(),this.destroyNotifier$.complete(),this.stateChanges.complete();}getCountryCodes(e){let n=this.onlySEPA()?cZ:mN;return this.filterCtrl.valueChanges.pipe(Ze(""),Ms(xe(n)),le(([r,o])=>o.filter(a=>!r||a.toLowerCase().includes(r.toLowerCase())).map(a=>!r&&e.includes(a)?` ${a}`:a).sort().map(a=>a.trim())))}isLastPrioritized(e){return !this.filterCtrl.value&&e===this.prioritizedCountries().length-1}autoFocusNext(e,n){!e.errors&&n&&this.focusMonitor.focusVia(n,"program");}onContainerClick(e){e.target.tagName.toLowerCase()!="input"&&this.elementRef.nativeElement.querySelector("input")?.focus();}setDescribedByIds(e){this.elementRef.nativeElement.querySelector(".iban-fields").setAttribute("aria-describedby",e.join(" "));}registerOnChange(e){this.onChange=e;}registerOnTouched(e){this.onTouched=e;}writeValue(e){e?this.value=e:this.parts.setValue({countryCode:null,bban:null},{emitEvent:false}),this.stateChanges.next();}_handleInput(e,n){this.autoFocusNext(e,n),this.onChange(this.value),this.touched||(this.touched=true,this.onTouched()),this.stateChanges.next();}firstTwoCharsAreLetters(e){return /^[a-zA-Z]{2}/.test(e)}generatePlaceholder(e){let n="";for(let o=0;o<e;o++)n+="0";let r=dN(n)?.substring(2);return r||n.substring(2)}onKeyup(e){this.bbanField.value===""&&e.key==="Backspace"&&(this.countryCodeField.setValue(null),this.parts.clearValidators());}static{this.\u0275fac=function(n){return new(n||t)};}static{this.\u0275cmp=x({type:t,selectors:[["onemrva-mat-input-iban"]],viewQuery:function(n,r){if(n&1&&Lt(MVe,5)(OVe,5),n&2){let o;me(o=pe())&&(r.countryCode=o.first),me(o=pe())&&(r.bban=o.first);}},inputs:{noEntriesFoundLabel:[1,"noEntriesFoundLabel"],placeholderLabel:[1,"placeholderLabel"],searchAriaLabel:[1,"searchAriaLabel"],label:[1,"label"],prioritizedCountries:[1,"prioritizedCountries"],onlySEPA:[1,"onlySEPA"],value:"value",readonly:[1,"readonly"],disabled:"disabled",placeholder:"placeholder",required:"required"},outputs:{getCountry:"getCountry"},features:[he([{provide:Do,useExisting:t}])],decls:13,vars:14,consts:[["countryCode",""],["bban",""],[3,"formGroup"],[1,"iban-fields"],[1,"iban-prefix"],["formControlName","countryCode",1,"onemrva-iban-select",3,"selectionChange"],[3,"formControl","ariaLabel","noEntriesFoundLabel","placeholderLabel"],["matInput","",1,"onemrva-text-number",3,"click","input","keyup","placeholder","formControl","readOnly"],[3,"value"]],template:function(n,r){n&1&&(dt(0,2),c(1,"div",3)(2,"div",4)(3,"mat-select",5,0),$(5,"translate"),T("selectionChange",function(){return r._handleInput(r.parts.controls.countryCode)}),c(6,"mat-option"),M(7,"mat-select-search",6),Ee(),d(),de(8,AVe,5,3,"ng-container",null,ar),$(10,"async"),d(),Ee(),d(),c(11,"input",7,1),T("click",function(a){return r.handleClick(a)})("input",function(){return r._handleInput(r.parts.controls.bban)})("keyup",function(a){return r.onKeyup(a)}),d(),Ee(),d(),ut()),n&2&&(g("formGroup",r.parts),m(3),F("aria-label",H(5,10,"Country")),Se(),m(4),g("formControl",r.filterCtrl)("ariaLabel",r.searchAriaLabel())("noEntriesFoundLabel",r.noEntriesFoundLabel())("placeholderLabel",r.placeholderLabel()),Se(),m(),ue(H(10,12,r.filteredCountries$)),m(3),g("placeholder",r.placeholderIban)("formControl",r.bbanField)("readOnly",r.readonly()),F("aria-label",r.label()),Se());},dependencies:[Tt,en,Ke,Ei,ki,Jt,za,Xo,qe,Bt,Ye,yo,pt,Tr,ql,Ko,at,Un],styles:[`onemrva-mat-input-iban{width:100%}onemrva-mat-input-iban .iban-fields{display:flex}onemrva-mat-input-iban .iban-fields .iban-prefix{width:40px;margin-right:8px}
|
|
5094
|
+
`],encapsulation:2})}return t})();var fVe=["searchSelectInput"],gVe=["innerSelectSearch"],bVe=[[["",8,"mat-select-search-custom-header-content"]],[["","matSelectSearchClear",""]],[["","matSelectNoEntriesFound",""]]],vVe=[".mat-select-search-custom-header-content","[matSelectSearchClear]","[matSelectNoEntriesFound]"],yVe=(t,i)=>({"mat-select-search-inner-multiple":t,"mat-select-search-inner-toggle-all":i});function CVe(t,i){if(t&1){let e=Ce();c(0,"mat-checkbox",10),T("change",function(r){K(e);let o=y();return Q(o._emitSelectAllBooleanToParent(r.checked))}),d();}if(t&2){let e=y();g("checked",e.toggleAllCheckboxChecked())("indeterminate",e.toggleAllCheckboxIndeterminate())("matTooltip",e.toggleAllCheckboxTooltipMessage())("matTooltipPosition",e.toggleAllCheckboxTooltipPosition());}}function EVe(t,i){t&1&&(c(0,"mat-icon",6),p(1,"search"),d());}function SVe(t,i){t&1&&M(0,"mat-spinner",7);}function xVe(t,i){t&1&&Y(0,1);}function wVe(t,i){if(t&1&&(c(0,"mat-icon",12),p(1),d()),t&2){let e=y(2);g("svgIcon",e.closeSvgIcon()),m(),V(" ",e.closeSvgIcon()?null:e.closeIcon()," ");}}function TVe(t,i){if(t&1){let e=Ce();c(0,"button",11),T("click",function(){K(e);let r=y();return Q(r._reset(true))}),D(1,xVe,1,0)(2,wVe,2,2,"mat-icon",12),d();}if(t&2){let e=y();m(),I(e.clearIcon()?1:2);}}function DVe(t,i){t&1&&Y(0,2);}function IVe(t,i){if(t&1&&p(0),t&2){let e=y(2);V(" ",e.noEntriesFoundLabel()," ");}}function kVe(t,i){if(t&1&&(c(0,"div",9),D(1,DVe,1,0)(2,IVe,1,1),d()),t&2){let e=y();m(),I(e.noEntriesFound()?1:2);}}var Xo=(()=>{class t{get value(){return this._formControl.value}set _options(e){this._options$.next(e);}get _options(){return this._options$.getValue()}constructor(){this.placeholderLabel=C("Search"),this.type=C("text"),this.closeIcon=C("close"),this.closeSvgIcon=C(""),this.noEntriesFoundLabel=C("Nothing found"),this.clearSearchInput=C(true),this.searching=C(false),this.disableInitialFocus=C(false),this.enableClearOnEscapePressed=C(false),this.preventHomeEndKeyPropagation=C(false),this.disableScrollToActiveOnOptionsChanged=C(false),this.ariaLabel=C("dropdown search"),this.showToggleAllCheckbox=C(false),this.toggleAllCheckboxChecked=C(false),this.toggleAllCheckboxIndeterminate=C(false),this.toggleAllCheckboxTooltipMessage=C(""),this.toggleAllCheckboxTooltipPosition=C("below"),this.hideClearSearchButton=C(false),this.alwaysRestoreSelectedOptionsMulti=C(false),this.toggleAll=Gt(),this.searchSelectInput=tt("searchSelectInput",{read:se}),this.innerSelectSearch=tt("innerSelectSearch",{read:se}),this.clearIcon=Wi(IT),this.noEntriesFound=Wi(kT),this.onTouched=e=>{},this._options$=new gn(new br),this.optionsList$=this._options$.pipe(Ft(e=>e?e.changes.pipe(le(n=>n.toArray()),Ze(e.toArray())):xe([]))),this.optionsLength$=this.optionsList$.pipe(le(e=>e?e.length:0)),this._formControl=new Pe(""),this._showNoEntriesFound$=Mr([this._formControl.valueChanges,this.optionsLength$]).pipe(le(([e,n])=>this.noEntriesFoundLabel()!==""&&n===this.getOptionsLengthOffset())),this._onDestroy=new z,this.matSelect=h(ki),this.changeDetectorRef=h(ve),this._viewportRuler=h(Ar),this.matOption=h(Jt,{optional:true}),this.matFormField=h(rt,{optional:true}),this.defaultOptions=h(Tte,{optional:true}),this.applyDefaultOptions(this.defaultOptions);}applyDefaultOptions(e){if(e)for(let n of wte)e.hasOwnProperty(n)&&(this[n]=e[n]);}ngOnInit(){this.matOption?(this.matOption.disabled=true,this.matOption._getHostElement().classList.add("contains-mat-select-search")):console.error("<mat-select-search> must be placed inside a <mat-option> element"),this.matSelect.openedChange.pipe(gl(1),we(this._onDestroy)).subscribe(e=>{e?(this.updateInputWidth(),this.disableInitialFocus()||this._focus()):this.clearSearchInput()&&this._reset();}),this.matSelect.openedChange.pipe(_t(1),Ft(e=>{this._options=this.matSelect.options;let n=this._options.toArray()[this.getOptionsLengthOffset()];return this._options.changes.pipe(an(()=>{setTimeout(()=>{let r=this._options.toArray(),o=r[this.getOptionsLengthOffset()],a=this.matSelect._keyManager;a&&this.matSelect.panelOpen&&((!this.matSelect.compareWith(n,o)||!a.activeItem||!r.find(l=>this.matSelect.compareWith(l,a.activeItem)))&&a.setActiveItem(Math.min(this.getOptionsLengthOffset(),r.length-1)),setTimeout(()=>{this.updateInputWidth();})),n=o;});}))})).subscribe(),this._showNoEntriesFound$.pipe(we(this._onDestroy)).subscribe(e=>{this.matOption&&(e?this.matOption._getHostElement().classList.add("mat-select-search-no-entries-found"):this.matOption._getHostElement().classList.remove("mat-select-search-no-entries-found"));}),this._viewportRuler.change().pipe(we(this._onDestroy)).subscribe(()=>{this.matSelect.panelOpen&&this.updateInputWidth();}),this.initMultipleHandling(),this.optionsList$.pipe(we(this._onDestroy)).subscribe(()=>{this.changeDetectorRef.markForCheck();});}_emitSelectAllBooleanToParent(e){this.toggleAll.emit(e);}ngOnDestroy(){this._onDestroy.next(),this._onDestroy.complete();}_isToggleAllCheckboxVisible(){return this.matSelect.multiple&&this.showToggleAllCheckbox()}_handleKeydown(e){if(e.key&&e.key.length===1||e.keyCode>=65&&e.keyCode<=90||e.keyCode>=48&&e.keyCode<=57||e.keyCode===32||this.preventHomeEndKeyPropagation()&&(e.keyCode===36||e.keyCode===35)){e.stopPropagation();return}if(this.matSelect.multiple&&e.key&&e.keyCode===13&&setTimeout(()=>this._focus()),this.enableClearOnEscapePressed()&&e.keyCode===27&&this.value){this._reset(true),e.stopPropagation();return}(e.keyCode===38||e.keyCode===40||e.keyCode===13)&&(e.stopPropagation(),this.matSelect._handleKeydown(e));}_handleKeyup(e){if(e.keyCode===38||e.keyCode===40){let n=this.matSelect._getAriaActiveDescendant(),r=this._options.toArray().findIndex(o=>o.id===n);if(r!==-1){this.unselectActiveDescendant();let o=this._options.toArray();this.activeDescendant=o[r]._getHostElement(),this.activeDescendant.setAttribute("aria-selected","true"),this.searchSelectInput()?.nativeElement.setAttribute("aria-activedescendant",n);}}}writeValue(e){this._lastExternalInputValue=e,this._formControl.setValue(e),this.changeDetectorRef.markForCheck();}onBlur(){this.unselectActiveDescendant();}registerOnChange(e){this._formControl.valueChanges.pipe(ct(n=>n!==this._lastExternalInputValue),an(()=>this._lastExternalInputValue=void 0),we(this._onDestroy)).subscribe(e);}registerOnTouched(e){this.onTouched=e;}_focus(){let e=this.searchSelectInput();if(!e||!this.matSelect.panel)return;let n=this.matSelect.panel.nativeElement,r=n.scrollTop;e.nativeElement.focus(),n.scrollTop=r;}_reset(e){this._formControl.setValue(""),e&&this._focus();}initMultipleHandling(){if(!this.matSelect.ngControl){this.matSelect.multiple&&console.error("the mat-select containing mat-select-search must have a ngModel or formControl directive when multiple=true");return}this.previousSelectedValues=this.matSelect.ngControl.value,this.matSelect.ngControl.valueChanges?.pipe(we(this._onDestroy)).subscribe(e=>{let n=false;if(this.matSelect.multiple&&(this.alwaysRestoreSelectedOptionsMulti()||this._formControl.value&&this._formControl.value.length)&&this.previousSelectedValues&&Array.isArray(this.previousSelectedValues)){(!e||!Array.isArray(e))&&(e=[]);let r=this.matSelect.options.map(o=>o.value);this.previousSelectedValues.forEach(o=>{!e.some(a=>this.matSelect.compareWith(a,o))&&!r.some(a=>this.matSelect.compareWith(a,o))&&(e.push(o),n=true);});}this.previousSelectedValues=e,n&&this.matSelect._onChange(e);});}updateInputWidth(){let e=this.innerSelectSearch();if(!e||!e.nativeElement)return;let n=e.nativeElement;if(n.parentElement!==null){let r=null;for(;n=n.parentElement;)if(n.classList.contains("mat-select-panel")){r=n;break}r!==null&&(e.nativeElement.style.width=r.clientWidth+"px");}}getOptionsLengthOffset(){return this.matOption?1:0}unselectActiveDescendant(){this.activeDescendant?.removeAttribute("aria-selected"),this.searchSelectInput()?.nativeElement.removeAttribute("aria-activedescendant");}static{this.\u0275fac=function(n){return new(n||t)};}static{this.\u0275cmp=x({type:t,selectors:[["mat-select-search"]],contentQueries:function(n,r,o){n&1&&Oi(o,r.clearIcon,IT,5)(o,r.noEntriesFound,kT,5),n&2&&Qe(2);},viewQuery:function(n,r){n&1&&yt(r.searchSelectInput,fVe,5,se)(r.innerSelectSearch,gVe,5,se),n&2&&Qe(2);},inputs:{placeholderLabel:[1,"placeholderLabel"],type:[1,"type"],closeIcon:[1,"closeIcon"],closeSvgIcon:[1,"closeSvgIcon"],noEntriesFoundLabel:[1,"noEntriesFoundLabel"],clearSearchInput:[1,"clearSearchInput"],searching:[1,"searching"],disableInitialFocus:[1,"disableInitialFocus"],enableClearOnEscapePressed:[1,"enableClearOnEscapePressed"],preventHomeEndKeyPropagation:[1,"preventHomeEndKeyPropagation"],disableScrollToActiveOnOptionsChanged:[1,"disableScrollToActiveOnOptionsChanged"],ariaLabel:[1,"ariaLabel"],showToggleAllCheckbox:[1,"showToggleAllCheckbox"],toggleAllCheckboxChecked:[1,"toggleAllCheckboxChecked"],toggleAllCheckboxIndeterminate:[1,"toggleAllCheckboxIndeterminate"],toggleAllCheckboxTooltipMessage:[1,"toggleAllCheckboxTooltipMessage"],toggleAllCheckboxTooltipPosition:[1,"toggleAllCheckboxTooltipPosition"],hideClearSearchButton:[1,"hideClearSearchButton"],alwaysRestoreSelectedOptionsMulti:[1,"alwaysRestoreSelectedOptionsMulti"]},outputs:{toggleAll:"toggleAll"},features:[he([{provide:fi,useExisting:qn(()=>t),multi:true}])],ngContentSelectors:vVe,decls:13,vars:16,consts:[["innerSelectSearch",""],["searchSelectInput",""],["matInput","",1,"mat-select-search-input","mat-select-search-hidden"],[1,"mat-select-search-inner","mat-typography","mat-datepicker-content","mat-tab-header"],["matTooltipClass","ngx-mat-select-search-toggle-all-tooltip",1,"mat-select-search-toggle-all-checkbox",3,"checked","indeterminate","matTooltip","matTooltipPosition"],["autocomplete","off",1,"mat-select-search-input",3,"keydown","keyup","blur","type","formControl","placeholder"],[1,"suffix"],["diameter","16",1,"mat-select-search-spinner"],["mat-icon-button","","aria-label","Clear",1,"mat-select-search-clear"],[1,"mat-select-search-no-entries-found"],["matTooltipClass","ngx-mat-select-search-toggle-all-tooltip",1,"mat-select-search-toggle-all-checkbox",3,"change","checked","indeterminate","matTooltip","matTooltipPosition"],["mat-icon-button","","aria-label","Clear",1,"mat-select-search-clear",3,"click"],[3,"svgIcon"]],template:function(n,r){n&1&&(_e(bVe),M(0,"input",2),c(1,"div",3,0),D(3,CVe,1,4,"mat-checkbox",4),c(4,"input",5,1),T("keydown",function(a){return r._handleKeydown(a)})("keyup",function(a){return r._handleKeyup(a)})("blur",function(){return r.onBlur()}),d(),Ee(),D(6,EVe,2,0,"mat-icon",6),D(7,SVe,1,0,"mat-spinner",7),D(8,TVe,3,1,"button",8),Y(9),M(10,"mat-divider"),d(),D(11,kVe,3,1,"div",9),$(12,"async")),n&2&&(m(),Je(Cc(13,yVe,r.matSelect.multiple,r._isToggleAllCheckboxVisible())),m(2),I(r._isToggleAllCheckboxVisible()?3:-1),m(),g("type",r.type())("formControl",r._formControl)("placeholder",r.placeholderLabel()),F("aria-label",r.ariaLabel()),Se(),m(2),I(r.value===""&&!r.searching()?6:-1),m(),I(r.searching()?7:-1),m(),I(!r.hideClearSearchButton()&&r.value&&!r.searching()?8:-1),m(3),I(H(12,11,r._showNoEntriesFound$)?11:-1));},dependencies:[Io,_i,qe,Bt,Ye,pt,Ge,Ite,fn,en,Ko,Un],styles:["[_nghost-%COMP%] .mat-select-search-hidden[_ngcontent-%COMP%]{visibility:hidden}[_nghost-%COMP%] .mat-select-search-inner[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;z-index:100;font-size:inherit;box-shadow:none}[_nghost-%COMP%] .mat-select-search-inner.mat-select-search-inner-multiple.mat-select-search-inner-toggle-all[_ngcontent-%COMP%]{display:flex;align-items:center}[_nghost-%COMP%] .suffix[_ngcontent-%COMP%]{position:absolute;top:var(--spacer-and-half);right:var(--spacer)}[_nghost-%COMP%] .mat-select-search-input[_ngcontent-%COMP%]{box-sizing:border-box;width:100%;border:none;font-family:inherit;font-size:inherit;color:currentColor;outline:none;background:var(--mat-sys-surface);line-height:var(--input-height);height:var(--input-height);padding:var(--spacer)}[dir=rtl] [_nghost-%COMP%] .mat-select-search-input[_ngcontent-%COMP%]{padding-right:var(--double-spacer)}[_nghost-%COMP%] .mat-select-search-inner-toggle-all[_ngcontent-%COMP%] .mat-select-search-input[_ngcontent-%COMP%]{padding-left:var(--half-spacer)}[_nghost-%COMP%] .mat-select-search-no-entries-found[_ngcontent-%COMP%]{padding-top:var(--spacer);padding-bottom:var(--spacer)}[_nghost-%COMP%] .mat-select-search-clear[_ngcontent-%COMP%]{position:absolute;right:var(--half-spacer);top:0}[dir=rtl] [_nghost-%COMP%] .mat-select-search-clear[_ngcontent-%COMP%]{right:auto;left:var(--half-spacer)}[_nghost-%COMP%] .mat-select-search-spinner[_ngcontent-%COMP%]{position:absolute;right:var(--double-spacer);top:calc(50% - var(--spacer))}[dir=rtl] [_nghost-%COMP%] .mat-select-search-spinner[_ngcontent-%COMP%]{right:auto;left:var(--double-spacer)}"]});}}return t})();var za=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)};}static{this.\u0275mod=ge({type:t});}static{this.\u0275inj=fe({imports:[Xo]});}}return t})();var MVe=["countryCode"],OVe=["bban"];function RVe(t,i){t&1&&M(0,"mat-divider");}function AVe(t,i){if(t&1&&(dt(0),c(1,"mat-option",8)(2,"span"),p(3),d()(),D(4,RVe,1,0,"mat-divider"),ut()),t&2){let e=i.$implicit,n=i.$index,r=y();m(),g("value",e),m(2),L(e),m(),I(r.isLastPrioritized(n)?4:-1);}}var wf=(()=>{class t{static{this.nextId=0;}get bbanField(){return this.parts.get("bban")}get countryCodeField(){return this.parts.get("countryCode")}constructor(){this.noEntriesFoundLabel=C("Not found"),this.placeholderLabel=C("Search"),this.searchAriaLabel=C("Search"),this.label=C("IBAN"),this.prioritizedCountries=C([]),this.onlySEPA=C(false),this.getCountry=Gt(),this.filteredCountries$=xe([]),this.filterCtrl=new Pe(""),this.destroyNotifier$=new z,this.placeholderIban="",this.controlType="bank-account-input",this.stateChanges=new z,this.focused=false,this.id=`bank-account-input-${t.nextId++}`,this.touched=false,this.focusMonitor=h(ci),this.elementRef=h(se),this.formBuilder=h(nl),this.ngControl=h(pr,{optional:true}),this.onChange=e=>{},this.onTouched=()=>{this.touched||(this.touched=true,this.stateChanges.next());},this.readonly=C(false),this._disabled=false,this._placeholder="",this._required=false,this.ngControl&&(this.ngControl.valueAccessor=this),this.parts=this.formBuilder.group({countryCode:["",[Rt.maxLength(2)]],bban:["",[]]});}errors(){return this.parts.errors}get errorState(){let e=this.ngControl?.control,n=!!(e&&e.invalid&&(e.dirty||e.touched)),r=!!(this.parts&&this.parts.invalid&&(this.parts.dirty||this.parts.touched));return n||r}get shouldLabelFloat(){return this.focused||!this.empty}get empty(){let{value:{bban:e}}=this.parts;return !e||e.trim()===""}get value(){let{value:{countryCode:e,bban:n}}=this.parts;return `${e??""}${n??""}`}set value(e){let{countryCode:n}=oZ(e||""),r=e?.replace(n||"","");this.parts.setValue({countryCode:n||null,bban:r||null}),this.stateChanges.next();}get disabled(){return this._disabled}set disabled(e){this._disabled=yi(e),this._disabled?this.parts.disable():this.parts.enable(),this.stateChanges.next();}setDisabledState(e){this.disabled=e,this.stateChanges.next();}get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next();}get required(){return this._required}set required(e){this._required=yi(e),this.stateChanges.next();}updateNumber(e){let n=e.replace(/[^a-zA-Z0-9]/g,""),r=this.countryCodeField.value+e;if(cN(r)){let o=dN(r);o!==null&&(n=o.substring(2));}this.bbanField.patchValue(n,{emitEvent:false});}ngOnInit(){this.focusMonitor.monitor(this.elementRef,true).subscribe(e=>{this.focused=!!e,!this.focused&&!this.touched&&(this.touched=true,this.onTouched()),this.stateChanges.next();}),this.parts.valueChanges.pipe(we(this.destroyNotifier$)).subscribe(()=>{this.onChange(this.value),this.stateChanges.next();}),this.filteredCountries$=this.getCountryCodes(this.prioritizedCountries()),this.bbanField.valueChanges.pipe(Ze(this.bbanField.getRawValue()),we(this.destroyNotifier$)).subscribe(e=>{if(e!==null&&e!==""){if(this.firstTwoCharsAreLetters(e)){let n=e?.substring(0,2).toUpperCase(),r=mN.find(o=>o==n);this.countryCodeField.setValue(r),e=e.substring(2);}this.updateNumber(e);}}),this.countryCodeField.valueChanges.pipe(Ze(""),km(),aa(),we(this.destroyNotifier$)).subscribe(([e,n])=>{if(this.placeholderIban="",!(!n||n.length<2)){if(this.firstTwoCharsAreLetters(n)){let r=kd[n]?.chars;r!==void 0&&(this.placeholderIban=this.generatePlaceholder(r));}this.bbanField.value!==null&&this.updateNumber(this.bbanField.value);}});}handleClick(e){e.stopPropagation();}ngOnDestroy(){this.focusMonitor.stopMonitoring(this.elementRef),this.destroyNotifier$.next(),this.destroyNotifier$.complete(),this.stateChanges.complete();}getCountryCodes(e){let n=this.onlySEPA()?cZ:mN;return this.filterCtrl.valueChanges.pipe(Ze(""),Ms(xe(n)),le(([r,o])=>o.filter(a=>!r||a.toLowerCase().includes(r.toLowerCase())).map(a=>!r&&e.includes(a)?` ${a}`:a).sort().map(a=>a.trim())))}isLastPrioritized(e){return !this.filterCtrl.value&&e===this.prioritizedCountries().length-1}autoFocusNext(e,n){!e.errors&&n&&this.focusMonitor.focusVia(n,"program");}onContainerClick(e){e.target.tagName.toLowerCase()!="input"&&this.elementRef.nativeElement.querySelector("input")?.focus();}setDescribedByIds(e){this.elementRef.nativeElement.querySelector(".iban-fields").setAttribute("aria-describedby",e.join(" "));}registerOnChange(e){this.onChange=e;}registerOnTouched(e){this.onTouched=e;}writeValue(e){e?this.value=e:this.parts.setValue({countryCode:null,bban:null},{emitEvent:false}),this.stateChanges.next();}_handleInput(e,n){this.autoFocusNext(e,n),this.onChange(this.value),this.touched||(this.touched=true,this.onTouched()),this.stateChanges.next();}firstTwoCharsAreLetters(e){return /^[a-zA-Z]{2}/.test(e)}generatePlaceholder(e){let n="";for(let o=0;o<e;o++)n+="0";let r=dN(n)?.substring(2);return r||n.substring(2)}onKeyup(e){this.bbanField.value===""&&e.key==="Backspace"&&(this.countryCodeField.setValue(null),this.parts.clearValidators());}static{this.\u0275fac=function(n){return new(n||t)};}static{this.\u0275cmp=x({type:t,selectors:[["onemrva-mat-input-iban"]],viewQuery:function(n,r){if(n&1&&Lt(MVe,5)(OVe,5),n&2){let o;me(o=pe())&&(r.countryCode=o.first),me(o=pe())&&(r.bban=o.first);}},inputs:{noEntriesFoundLabel:[1,"noEntriesFoundLabel"],placeholderLabel:[1,"placeholderLabel"],searchAriaLabel:[1,"searchAriaLabel"],label:[1,"label"],prioritizedCountries:[1,"prioritizedCountries"],onlySEPA:[1,"onlySEPA"],value:"value",readonly:[1,"readonly"],disabled:"disabled",placeholder:"placeholder",required:"required"},outputs:{getCountry:"getCountry"},features:[he([{provide:Do,useExisting:t}])],decls:13,vars:14,consts:[["countryCode",""],["bban",""],[3,"formGroup"],[1,"iban-fields"],[1,"iban-prefix"],["formControlName","countryCode",1,"onemrva-iban-select",3,"selectionChange"],[3,"formControl","ariaLabel","noEntriesFoundLabel","placeholderLabel"],["matInput","",1,"onemrva-text-number",3,"click","input","keyup","placeholder","formControl","readOnly"],[3,"value"]],template:function(n,r){n&1&&(dt(0,2),c(1,"div",3)(2,"div",4)(3,"mat-select",5,0),$(5,"translate"),T("selectionChange",function(){return r._handleInput(r.parts.controls.countryCode)}),c(6,"mat-option"),M(7,"mat-select-search",6),Ee(),d(),de(8,AVe,5,3,"ng-container",null,ar),$(10,"async"),d(),Ee(),d(),c(11,"input",7,1),T("click",function(a){return r.handleClick(a)})("input",function(){return r._handleInput(r.parts.controls.bban)})("keyup",function(a){return r.onKeyup(a)}),d(),Ee(),d(),ut()),n&2&&(g("formGroup",r.parts),m(3),F("aria-label",H(5,10,"Country")),Se(),m(4),g("formControl",r.filterCtrl)("ariaLabel",r.searchAriaLabel())("noEntriesFoundLabel",r.noEntriesFoundLabel())("placeholderLabel",r.placeholderLabel()),Se(),m(),ue(H(10,12,r.filteredCountries$)),m(3),g("placeholder",r.placeholderIban)("formControl",r.bbanField)("readOnly",r.readonly()),F("aria-label",r.label()),Se());},dependencies:[Tt,en,Ke,Ei,ki,Jt,za,Xo,qe,Bt,Ye,yo,pt,Tr,ql,Ko,at,Un],styles:[`onemrva-mat-input-iban{width:100%}onemrva-mat-input-iban .iban-fields{display:flex}onemrva-mat-input-iban .iban-fields .iban-prefix{width:40px;margin-right:8px}
|
|
5095
5095
|
`],encapsulation:2});}}return t})();function NVe(t,i){t&1&&(c(0,"mat-error"),p(1),$(2,"translate"),d()),t&2&&(m(),V(" ",H(2,1,"input.bank.length")," "));}function PVe(t,i){t&1&&(c(0,"mat-error"),p(1),$(2,"translate"),d()),t&2&&(m(),V(" ",H(2,1,"input.bank.invalid")," ! "));}function LVe(t,i){t&1&&(c(0,"mat-error"),p(1," NoIBANCountry "),d());}function FVe(t,i){t&1&&(c(0,"mat-error"),p(1),$(2,"translate"),d()),t&2&&(m(),V(" ",H(2,1,"input.bank.required")," "));}var kte=(()=>{class t extends re{constructor(){super(...arguments),this.readonly=C(false),this.accountNumber=new Pe("",[Rt.required,Sw()]);}static{this.\u0275fac=(()=>{let e;return function(r){return (e||(e=U(t)))(r||t)}})();}static{this.\u0275cmp=x({type:t,selectors:[["app-demo-bank-input"]],inputs:{readonly:[1,"readonly"]},features:[N],decls:10,vars:5,consts:[[3,"readonly"],[3,"formControl"]],template:function(n,r){n&1&&(c(0,"mat-form-field",0)(1,"mat-label"),p(2,"IBAN"),d(),M(3,"onemrva-mat-input-iban",1),Ee(),c(4,"mat-hint"),p(5,"hint"),d(),D(6,NVe,3,3,"mat-error")(7,PVe,3,3,"mat-error"),D(8,LVe,2,0,"mat-error"),D(9,FVe,3,3,"mat-error"),d()),n&2&&(g("readonly",r.readonly()),m(3),g("formControl",r.accountNumber),Se(),m(3),I(r.accountNumber.hasError("WrongBBANLength")?6:r.accountNumber.hasError("WrongBBANFormat")||r.accountNumber.hasError("WrongAccountBankBranchChecksum")||r.accountNumber.hasError("WrongIBANChecksum")?7:-1),m(2),I(r.accountNumber.hasError("NoIBANCountry")?8:-1),m(),I(r.accountNumber.hasError("required")?9:-1));},dependencies:[Ke,rt,ot,pn,vn,qe,Ye,pt,Tt,wf,Bn,at],encapsulation:2});}}return t})();var Mte=(()=>{class t extends re{static{this.\u0275fac=(()=>{let e;return function(r){return (e||(e=U(t)))(r||t)}})();}static{this.\u0275cmp=x({type:t,selectors:[["demo-bce-pipe"]],features:[N],decls:7,vars:6,template:function(n,r){n&1&&(ye(0,"div"),p(1),$(2,"onemrvaBce"),be(),p(3,`
|
|
5096
5096
|
Error when the Bce is not exactly 10 char long:
|
|
5097
5097
|
`),ye(4,"div"),p(5),$(6,"onemrvaBce"),be()),n&2&&(m(),L(H(2,2,"1234567890")),m(4),L(H(6,4,"12345678901")));},dependencies:[WQ],encapsulation:2});}}return t})();var Ote=(()=>{class t{constructor(){this.router=h(Sr),this.destroyRef=h(ai),this._breadcrumbs=q(this.buildFromSnapshot()),this.breadcrumbs=this._breadcrumbs.asReadonly(),this.router.events.pipe(ct(e=>e instanceof xo),ei(this.destroyRef)).subscribe(()=>{this._breadcrumbs.set(this.buildFromSnapshot());});}buildFromSnapshot(){let e=this.router.routerState.snapshot.root,n=[];return this.addBreadcrumb(e,[],n),n}addBreadcrumb(e,n,r){if(!e)return;let o=n.concat(e.url.map(s=>s.path)),a=e.data?.navigationTitle;if(a){let s="/"+o.join("/"),l={label:a,url:s,translate:!!e.data?.translate},u=r[r.length-1];u&&u.url===s?r[r.length-1]=l:r.push(l);}this.addBreadcrumb(e.firstChild,o,r);}static{this.\u0275fac=function(n){return new(n||t)};}static{this.\u0275prov=Oe({token:t,factory:t.\u0275fac,providedIn:"root"});}}return t})();var BVe=(t,i)=>i.label;function $Ve(t,i){if(t&1&&(p(0),$(1,"translate")),t&2){let e=y().$implicit;V(" ",H(1,1,e.label)," ");}}function VVe(t,i){if(t&1&&p(0),t&2){let e=y().$implicit;V(" ",e.label," ");}}function UVe(t,i){t&1&&(c(0,"mat-icon",3),p(1,"chevron_right"),d());}function HVe(t,i){if(t&1&&(c(0,"div",2),p(1),d()),t&2){let e=y(5);g("routerLink",e.breadcrumbs()[e.breadcrumbs().length-1].url),m(),V(" ",e.breadcrumbs()[e.breadcrumbs().length-1].label," ");}}function zVe(t,i){if(t&1&&(c(0,"div",5),p(1),d()),t&2){let e=y(5);m(),V(" ",e.breadcrumbs()[e.breadcrumbs().length-1].label," ");}}function GVe(t,i){if(t&1&&(c(0,"li",4),p(1," ... "),c(2,"mat-icon",3),p(3,"chevron_right"),d()(),c(4,"li",1),D(5,HVe,2,2,"div",2)(6,zVe,2,1,"div",5),d()),t&2){let e=y(4);m(5),I(e.breadcrumbs()[e.breadcrumbs().length-1].url?5:6);}}function qVe(t,i){if(t&1&&(c(0,"li",1)(1,"div",2),D(2,$Ve,2,3)(3,VVe,1,1),d(),D(4,UVe,2,0,"mat-icon",3),d(),D(5,GVe,7,1)),t&2){let e=i.$implicit,n=i.$index,r=y(3);Dt("display",r.breadcrumbs().length<=6||n<=2?"list-item":"none"),m(),g("routerLink",e.url),m(),I(e.translate?2:3),m(2),I(n<r.breadcrumbs().length-1?4:-1),m(),I(r.breadcrumbs().length>6?5:-1);}}function jVe(t,i){if(t&1&&(c(0,"ul",0),de(1,qVe,6,6,null,null,BVe),d()),t&2){let e=y(2);m(),ue(e.breadcrumbs());}}function YVe(t,i){if(t&1&&(dt(0),D(1,jVe,3,0,"ul",0),ut()),t&2){let e=y();m(),I(e.breadcrumbs().length>0?1:-1);}}var PP=(()=>{class t{constructor(){this.paths=C([]),this.breadcrumbService=h(Ote),vt(()=>{this.paths()&&this.paths().length>0?this.breadcrumbs=this.paths:this.breadcrumbs=this.breadcrumbService.breadcrumbs;});}static{this.\u0275fac=function(n){return new(n||t)};}static{this.\u0275cmp=x({type:t,selectors:[["onemrva-mat-breadcrumb"]],inputs:{paths:[1,"paths"]},decls:1,vars:1,consts:[[1,"onemrva-mat-breadcrumb"],[1,"onemrva-mat-breadcrumb-link-container"],[1,"onemrva-mat-breadcrumb-link",3,"routerLink"],[1,"chevron-right",2,"width","10px"],[1,"onemrva-mat-breadcrumb-link-container","onemrva-mat-breadcrumb-link-container-hidden"],[1,"onemrva-mat-breadcrumb-link"]],template:function(n,r){n&1&&D(0,YVe,2,1,"ng-container"),n&2&&I(r.breadcrumbs()?0:-1);},dependencies:[Ho,Ge,at],styles:['.onemrva-mat-breadcrumb[_ngcontent-%COMP%]{display:flex;list-style:none;padding:0;align-items:baseline}.onemrva-mat-breadcrumb[_ngcontent-%COMP%] .onemrva-mat-breadcrumb-link-container[_ngcontent-%COMP%]{margin-right:8px}.onemrva-mat-breadcrumb[_ngcontent-%COMP%] .onemrva-mat-breadcrumb-link-container[_ngcontent-%COMP%] .chevron-right[_ngcontent-%COMP%]{margin:0 var(--spacer);font-family:var(--icon-font);content:"\\e5e1";line-height:1rem;font-size:1rem;vertical-align:middle;height:1rem;width:.25rem}.onemrva-mat-breadcrumb[_ngcontent-%COMP%] .onemrva-mat-breadcrumb-link-container[_ngcontent-%COMP%]:not(:last-child) .onemrva-mat-breadcrumb-link[_ngcontent-%COMP%]{text-decoration:none;color:var(--mat-sys-primary);display:inline-block;font:var(--mat-sys-body-small-size)}.onemrva-mat-breadcrumb[_ngcontent-%COMP%] .onemrva-mat-breadcrumb-link-container[_ngcontent-%COMP%]:not(:last-child):hover .onemrva-mat-breadcrumb-link[_ngcontent-%COMP%]{text-decoration:underline;color:var(--mat-sys-primary);cursor:pointer}.onemrva-mat-breadcrumb[_ngcontent-%COMP%] .onemrva-mat-breadcrumb-link-container[_ngcontent-%COMP%]:last-child .onemrva-mat-breadcrumb-link[_ngcontent-%COMP%]{display:inline-block;text-decoration:none}.onemrva-mat-breadcrumb[_ngcontent-%COMP%] .onemrva-mat-breadcrumb-link-container[_ngcontent-%COMP%]:last-child .onemrva-mat-breadcrumb-link[_ngcontent-%COMP%]:hover{cursor:default}.onemrva-mat-breadcrumb[_ngcontent-%COMP%] .onemrva-mat-breadcrumb-link-container[_ngcontent-%COMP%]:last-child:hover{cursor:default}']});}}return t})();var Rte=(()=>{class t{constructor(){this.paths=[{label:"Home",url:"",translate:false},{label:"Contact us",url:"/contact",translate:false},{label:"Locations",url:"/contact/locations",translate:false}];}static{this.\u0275fac=function(n){return new(n||t)};}static{this.\u0275cmp=x({type:t,selectors:[["app-demo-breadcrumb"]],decls:1,vars:1,consts:[[3,"paths"]],template:function(n,r){n&1&&M(0,"onemrva-mat-breadcrumb",0),n&2&&g("paths",r.paths);},dependencies:[PP],encapsulation:2});}}return t})();var Tf=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)};}static{this.\u0275cmp=x({type:t,selectors:[["onemrva-mat-spinner"]],decls:364,vars:0,consts:[[1,"onemrva-spinner-container"],[1,"onemrva-spinner"],["width","400","height","400","xmlns","http://www.w3.org/2000/svg","viewBox","30 30 340 340"],["cx","202.6178609655925","cy","349.9771542734587","r","16","opacity","35.9"],["cx","205.23492450537515","cy","349.90862405286435","r","16","opacity","17.9"],["cx","207.85039343644158","cy","349.79443021318605","r","16","opacity","11.9"],["cx","210.4634710616188","cy","349.6346075389736","r","16","opacity","8.9"],["cx","213.07336141214873","cy","349.4292047137618","r","16","opacity","7.1"],["cx","215.67926949014802","cy","349.178284305241","r","16","opacity","5.9"],["cx","218.28040151077212","cy","348.88192274619826","r","16","opacity","5.042857142857143"],["cx","220.87596514400983","cy","348.54021031123557","r","16","opacity","4.4"],["cx","223.46516975603464","cy","348.15325108927067","r","16","opacity","3.9"],["cx","226.04722665003956","cy","347.72116295183116","r","16","opacity","3.5"],["cx","228.62134930648173","cy","347.2440775171496","r","16","opacity","3.1727272727272724"],["cx","231.1867536226639","cy","346.7221401100709","r","16","opacity","2.9"],["cx","233.74265815157975","cy","346.1555097177853","r","16","opacity","2.669230769230769"],["cx","236.28828433995017","cy","345.5443589413995","r","16","opacity","2.4714285714285715"],["cx","238.8228567653781","cy","344.88887394336024","r","16","opacity","2.3"],["cx","241.34560337254987","cy","344.1892543907478","r","16","opacity","2.15"],["cx","243.85575570841053","cy","343.4457133944553","r","16","opacity","2.0176470588235293"],["cx","246.3525491562421","cy","342.658477444273","r","16","opacity","1.9"],["cx","248.8352231685735","cy","341.82778633989756","r","16","opacity","1.7947368421052632"],["cx","251.3030214988503","cy","340.95389311788625","r","16","opacity","1.7"],["cx","253.75519243179502","cy","340.0370639745803","r","16","opacity","1.6142857142857143"],["cx","256.1909890123868","cy","339.0775781850181","r","16","opacity","1.5363636363636362"],["cx","258.60966927339103","cy","338.075728017866","r","16","opacity","1.465217391304348"],["cx","261.01049646137005","cy","337.0318186463901","r","16","opacity","1.4"],["cx","263.3927392611049","cy","335.9461680554975","r","16","opacity","1.34"],["cx","265.7556720183616","cy","334.81910694487505","r","16","opacity","1.2846153846153847"],["cx","268.098574960932","cy","333.6509786282552","r","16","opacity","1.2333333333333334"],["cx","270.42073441788364","cy","332.4421389288391","r","16","opacity","1.1857142857142857"],["cx","272.7214430369506","cy","331.19295607090936","r","16","opacity","1.1413793103448275"],["cx","275","cy","329.9038105676658","r","16","opacity","1.1"],["cx","277.2557112365081","cy","328.57509510531685","r","16","opacity","1.0612903225806452"],["cx","279.4878896349807","cy","327.2072144234639","r","16","opacity","1.025"],["cx","281.6958552522541","cy","325.80058519181364","r","16","opacity","0.990909090909091"],["cx","283.878935520612","cy","324.35563588325624","r","16","opacity","0.9588235294117647"],["cx","286.0364654526569","cy","322.8728066433488","r","16","opacity","0.9285714285714286"],["cx","288.167787843871","cy","321.3525491562421","r","16","opacity","0.9"],["cx","290.2722534728072","cy","319.79532650709393","r","16","opacity","0.8729729729729732"],["cx","292.34922129884876","cy","318.2016130410083","r","16","opacity","0.8473684210526315"],["cx","294.3980586574756","cy","316.57189421854565","r","16","opacity","0.823076923076923"],["cx","296.4181414529809","cy","314.9066664678467","r","16","opacity","0.8"],["cx","298.4088543485761","cy","313.2064370334158","r","16","opacity","0.7780487804878049"],["cx","300.3695909538287","cy","311.47172382160915","r","16","opacity","0.7571428571428571"],["cx","302.29975400937474","cy","309.7030552428756","r","16","opacity","0.7372093023255814"],["cx","304.1987555688496","cy","307.9009700507977","r","16","opacity","0.7181818181818181"],["cx","306.06601717798213","cy","306.06601717798213","r","16","opacity","0.7"],["cx","307.9009700507977","cy","304.1987555688496","r","16","opacity","0.682608695652174"],["cx","309.70305524287556","cy","302.29975400937474","r","16","opacity","0.6659574468085107"],["cx","311.47172382160915","cy","300.3695909538287","r","16","opacity","0.65"],["cx","313.2064370334158","cy","298.4088543485761","r","16","opacity","0.6346938775510204"],["cx","314.9066664678467","cy","296.4181414529809","r","16","opacity","0.62"],["cx","316.5718942185456","cy","294.39805865747564","r","16","opacity","0.6058823529411764"],["cx","318.2016130410083","cy","292.34922129884876","r","16","opacity","0.5923076923076923"],["cx","319.79532650709393","cy","290.2722534728073","r","16","opacity","0.5792452830188679"],["cx","321.3525491562421","cy","288.167787843871","r","16","opacity","0.5666666666666667"],["cx","322.8728066433488","cy","286.0364654526569","r","16","opacity","0.5545454545454546"],["cx","324.35563588325624","cy","283.878935520612","r","16","opacity","0.5428571428571428"],["cx","325.8005851918136","cy","281.6958552522541","r","16","opacity","0.531578947368421"],["cx","327.2072144234639","cy","279.4878896349807","r","16","opacity","0.5206896551724138"],["cx","328.5750951053168","cy","277.25571123650815","r","16","opacity","0.5101694915254237"],["cx","329.9038105676658","cy","275","r","16","opacity","0.5"],["cx","331.19295607090936","cy","272.7214430369506","r","16","opacity","0.4901639344262295"],["cx","332.44213892883903","cy","270.42073441788364","r","16","opacity","0.4806451612903226"],["cx","333.6509786282552","cy","268.098574960932","r","16","opacity","0.4714285714285714"],["cx","334.81910694487505","cy","265.7556720183616","r","16","opacity","0.4625"],["cx","335.9461680554975","cy","263.3927392611049","r","16","opacity","0.45384615384615384"],["cx","337.0318186463901","cy","261.01049646137005","r","16","opacity","0.44545454545454544"],["cx","338.075728017866","cy","258.6096692733911","r","16","opacity","0.4373134328358209"],["cx","339.0775781850181","cy","256.1909890123868","r","16","opacity","0.4294117647058823"],["cx","340.0370639745803","cy","253.75519243179505","r","16","opacity","0.4217391304347826"],["cx","340.95389311788625","cy","251.3030214988503","r","16","opacity","0.4142857142857143"],["cx","341.8277863398975","cy","248.83522316857352","r","16","opacity","0.4070422535211268"],["cx","342.658477444273","cy","246.3525491562421","r","16","opacity","0.4"],["cx","343.4457133944553","cy","243.85575570841053","r","16","opacity","0.39315068493150684"],["cx","344.1892543907478","cy","241.34560337254987","r","16","opacity","0.38648648648648654"],["cx","344.88887394336024","cy","238.8228567653781","r","16","opacity","0.38"],["cx","345.5443589413995","cy","236.2882843399502","r","16","opacity","0.3736842105263158"],["cx","346.1555097177853","cy","233.74265815157975","r","16","opacity","0.36753246753246754"],["cx","346.7221401100708","cy","231.18675362266393","r","16","opacity","0.36153846153846153"],["cx","347.2440775171496","cy","228.62134930648173","r","16","opacity","0.3556962025316455"],["cx","347.72116295183116","cy","226.04722665003956","r","16","opacity","0.35"],["cx","348.15325108927067","cy","223.46516975603464","r","16","opacity","0.34444444444444444"],["cx","348.54021031123557","cy","220.87596514400985","r","16","opacity","0.33902439024390246"],["cx","348.88192274619826","cy","218.28040151077212","r","16","opacity","0.3337349397590362"],["cx","349.178284305241","cy","215.67926949014802","r","16","opacity","0.32857142857142857"],["cx","349.4292047137618","cy","213.07336141214873","r","16","opacity","0.3235294117647059"],["cx","349.6346075389736","cy","210.4634710616188","r","16","opacity","0.3186046511627907"],["cx","349.79443021318605","cy","207.8503934364416","r","16","opacity","0.3137931034482759"],["cx","349.90862405286435","cy","205.23492450537515","r","16","opacity","0.309090909090909"],["cx","349.9771542734587","cy","202.6178609655925","r","16","opacity","0.3044943820224719"],["cx","350","cy","200","r","16","opacity","0.3"],["cx","349.9771542734587","cy","197.3821390344075","r","16","opacity","0.2956043956043956"],["cx","349.90862405286435","cy","194.76507549462488","r","16","opacity","0.291304347826087"],["cx","349.79443021318605","cy","192.14960656355845","r","16","opacity","0.2870967741935484"],["cx","349.6346075389736","cy","189.5365289383812","r","16","opacity","0.28297872340425534"],["cx","349.4292047137618","cy","186.92663858785127","r","16","opacity","0.2789473684210526"],["cx","349.17828430524105","cy","184.320730509852","r","16","opacity","0.275"],["cx","348.8819227461983","cy","181.7195984892279","r","16","opacity","0.2711340206185567"],["cx","348.54021031123557","cy","179.1240348559902","r","16","opacity","0.2673469387755102"],["cx","348.1532510892706","cy","176.53483024396536","r","16","opacity","0.2636363636363636"],["cx","347.72116295183116","cy","173.95277334996047","r","16","opacity","0.26"],["cx","347.2440775171496","cy","171.37865069351827","r","16","opacity","0.25643564356435644"],["cx","346.7221401100709","cy","168.81324637733613","r","16","opacity","0.2529411764705882"],["cx","346.1555097177853","cy","166.25734184842028","r","16","opacity","0.24951456310679612"],["cx","345.5443589413995","cy","163.71171566004983","r","16","opacity","0.24615384615384617"],["cx","344.88887394336024","cy","161.17714323462187","r","16","opacity","0.24285714285714285"],["cx","344.1892543907478","cy","158.65439662745013","r","16","opacity","0.23962264150943396"],["cx","343.4457133944553","cy","156.1442442915895","r","16","opacity","0.23644859813084113"],["cx","342.65847744427305","cy","153.6474508437579","r","16","opacity","0.23333333333333334"],["cx","341.82778633989756","cy","151.16477683142654","r","16","opacity","0.23027522935779818"],["cx","340.95389311788625","cy","148.6969785011497","r","16","opacity","0.22727272727272727"],["cx","340.0370639745803","cy","146.24480756820498","r","16","opacity","0.22432432432432434"],["cx","339.0775781850181","cy","143.8090109876132","r","16","opacity","0.22142857142857142"],["cx","338.075728017866","cy","141.39033072660897","r","16","opacity","0.21858407079646017"],["cx","337.03181864639015","cy","138.98950353863","r","16","opacity","0.21578947368421053"],["cx","335.94616805549754","cy","136.6072607388951","r","16","opacity","0.21304347826086956"],["cx","334.81910694487505","cy","134.24432798163838","r","16","opacity","0.2103448275862069"],["cx","333.6509786282552","cy","131.901425039068","r","16","opacity","0.2076923076923077"],["cx","332.4421389288391","cy","129.57926558211642","r","16","opacity","0.20508474576271185"],["cx","331.1929560709094","cy","127.27855696304945","r","16","opacity","0.20252100840336135"],["cx","329.9038105676658","cy","125.00000000000003","r","16","opacity","0.2"],["cx","328.57509510531685","cy","122.74428876349187","r","16","opacity","0.1975206611570248"],["cx","327.20721442346394","cy","120.51211036501928","r","16","opacity","0.19508196721311474"],["cx","325.8005851918136","cy","118.30414474774594","r","16","opacity","0.1926829268292683"],["cx","324.35563588325624","cy","116.121064479388","r","16","opacity","0.19032258064516128"],["cx","322.8728066433488","cy","113.96353454734313","r","16","opacity","0.188"],["cx","321.3525491562421","cy","111.83221215612905","r","16","opacity","0.18571428571428572"],["cx","319.79532650709393","cy","109.72774652719275","r","16","opacity","0.18346456692913385"],["cx","318.2016130410083","cy","107.65077870115125","r","16","opacity","0.18125"],["cx","316.57189421854565","cy","105.60194134252441","r","16","opacity","0.17906976744186046"],["cx","314.9066664678467","cy","103.5818585470191","r","16","opacity","0.17692307692307693"],["cx","313.2064370334158","cy","101.59114565142387","r","16","opacity","0.17480916030534352"],["cx","311.47172382160915","cy","99.63040904617127","r","16","opacity","0.17272727272727273"],["cx","309.7030552428756","cy","97.70024599062525","r","16","opacity","0.17067669172932332"],["cx","307.9009700507977","cy","95.80124443115045","r","16","opacity","0.16865671641791044"],["cx","306.06601717798213","cy","93.93398282201788","r","16","opacity","0.16666666666666666"],["cx","304.1987555688496","cy","92.09902994920232","r","16","opacity","0.16470588235294117"],["cx","302.2997540093748","cy","90.29694475712444","r","16","opacity","0.16277372262773723"],["cx","300.3695909538287","cy","88.5282761783909","r","16","opacity","0.1608695652173913"],["cx","298.4088543485761","cy","86.7935629665842","r","16","opacity","0.15899280575539568"],["cx","296.41814145298093","cy","85.09333353215331","r","16","opacity","0.15714285714285714"],["cx","294.39805865747564","cy","83.42810578145439","r","16","opacity","0.15531914893617021"],["cx","292.34922129884876","cy","81.79838695899171","r","16","opacity","0.15352112676056337"],["cx","290.2722534728072","cy","80.20467349290605","r","16","opacity","0.15174825174825174"],["cx","288.167787843871","cy","78.6474508437579","r","16","opacity","0.15"],["cx","286.03646545265696","cy","77.12719335665126","r","16","opacity","0.1482758620689655"],["cx","283.878935520612","cy","75.64436411674376","r","16","opacity","0.14657534246575343"],["cx","281.69585525225403","cy","74.19941480818638","r","16","opacity","0.14489795918367346"],["cx","279.4878896349807","cy","72.7927855765361","r","16","opacity","0.14324324324324328"],["cx","277.25571123650815","cy","71.42490489468318","r","16","opacity","0.14161073825503354"],["cx","275","cy","70.0961894323342","r","16","opacity","0.14"],["cx","272.7214430369506","cy","68.80704392909064","r","16","opacity","0.13841059602649006"],["cx","270.42073441788364","cy","67.55786107116097","r","16","opacity","0.1368421052631579"],["cx","268.098574960932","cy","66.34902137174484","r","16","opacity","0.13529411764705881"],["cx","265.75567201836157","cy","65.18089305512495","r","16","opacity","0.13376623376623376"],["cx","263.3927392611049","cy","64.05383194450252","r","16","opacity","0.13225806451612904"],["cx","261.01049646137005","cy","62.96818135360988","r","16","opacity","0.13076923076923078"],["cx","258.60966927339115","cy","61.92427198213397","r","16","opacity","0.12929936305732487"],["cx","256.1909890123868","cy","60.9224218149819","r","16","opacity","0.12784810126582277"],["cx","253.75519243179502","cy","59.96293602541974","r","16","opacity","0.12641509433962264"],["cx","251.30302149885034","cy","59.04610688211375","r","16","opacity","0.125"],["cx","248.83522316857355","cy","58.1722136601025","r","16","opacity","0.12360248447204969"],["cx","246.35254915624213","cy","57.34152255572698","r","16","opacity","0.12222222222222222"],["cx","243.85575570841056","cy","56.55428660554469","r","16","opacity","0.12085889570552147"],["cx","241.34560337254996","cy","55.810745609252194","r","16","opacity","0.11951219512195121"],["cx","238.82285676537816","cy","55.11112605663976","r","16","opacity","0.11818181818181818"],["cx","236.28828433995017","cy","54.45564105860052","r","16","opacity","0.11686746987951808"],["cx","233.74265815157972","cy","53.84449028221471","r","16","opacity","0.11556886227544909"],["cx","231.1867536226639","cy","53.27785988992915","r","16","opacity","0.11428571428571428"],["cx","228.62134930648176","cy","52.755922482850394","r","16","opacity","0.11301775147928994"],["cx","226.04722665003953","cy","52.27883704816881","r","16","opacity","0.11176470588235295"],["cx","223.46516975603464","cy","51.84674891072936","r","16","opacity","0.11052631578947368"],["cx","220.87596514400985","cy","51.45978968876446","r","16","opacity","0.10930232558139535"],["cx","218.28040151077212","cy","51.118077253801715","r","16","opacity","0.10809248554913295"],["cx","215.67926949014807","cy","50.82171569475901","r","16","opacity","0.10689655172413794"],["cx","213.07336141214878","cy","50.570795286238166","r","16","opacity","0.10571428571428573"],["cx","210.46347106161883","cy","50.365392461026374","r","16","opacity","0.10454545454545454"],["cx","207.85039343644158","cy","50.205569786813925","r","16","opacity","0.10338983050847457"],["cx","205.2349245053751","cy","50.091375947135646","r","16","opacity","0.10224719101123596"],["cx","202.6178609655925","cy","50.022845726541306","r","16","opacity","0.1011173184357542"],["cx","200.00000000000003","cy","50","r","16","opacity","0.1"],["cx","197.38213903440752","cy","50.022845726541306","r","16","opacity","0.09889502762430939"],["cx","194.76507549462485","cy","50.091375947135646","r","16","opacity","0.0978021978021978"],["cx","192.14960656355848","cy","50.205569786813925","r","16","opacity","0.09672131147540984"],["cx","189.53652893838128","cy","50.365392461026346","r","16","opacity","0.0956521739130435"],["cx","186.9266385878513","cy","50.570795286238166","r","16","opacity","0.09459459459459459"],["cx","184.32073050985204","cy","50.82171569475898","r","16","opacity","0.0935483870967742"],["cx","181.71959848922785","cy","51.118077253801715","r","16","opacity","0.09251336898395722"],["cx","179.12403485599017","cy","51.45978968876446","r","16","opacity","0.09148936170212765"],["cx","176.5348302439654","cy","51.84674891072933","r","16","opacity","0.09047619047619047"],["cx","173.95277334996044","cy","52.27883704816881","r","16","opacity","0.08947368421052632"],["cx","171.3786506935183","cy","52.755922482850394","r","16","opacity","0.08848167539267016"],["cx","168.81324637733613","cy","53.27785988992915","r","16","opacity","0.0875"],["cx","166.25734184842025","cy","53.84449028221471","r","16","opacity","0.08652849740932643"],["cx","163.7117156600499","cy","54.45564105860052","r","16","opacity","0.08556701030927834"],["cx","161.17714323462195","cy","55.11112605663973","r","16","opacity","0.08461538461538462"],["cx","158.65439662745015","cy","55.810745609252166","r","16","opacity","0.0836734693877551"],["cx","156.14424429158953","cy","56.55428660554466","r","16","opacity","0.08274111675126904"],["cx","153.64745084375784","cy","57.34152255572698","r","16","opacity","0.08181818181818182"],["cx","151.16477683142648","cy","58.1722136601025","r","16","opacity","0.08090452261306533"],["cx","148.69697850114972","cy","59.04610688211375","r","16","opacity","0.08"],["cx","146.24480756820492","cy","59.96293602541974","r","16","opacity","0.0791044776119403"],["cx","143.8090109876132","cy","60.922421814981874","r","16","opacity","0.07821782178217823"],["cx","141.39033072660897","cy","61.924271982133945","r","16","opacity","0.0773399014778325"],["cx","138.98950353863003","cy","62.96818135360985","r","16","opacity","0.07647058823529412"],["cx","136.6072607388951","cy","64.05383194450249","r","16","opacity","0.07560975609756097"],["cx","134.24432798163843","cy","65.18089305512493","r","16","opacity","0.07475728155339806"],["cx","131.90142503906804","cy","66.34902137174478","r","16","opacity","0.07391304347826087"],["cx","129.57926558211636","cy","67.55786107116097","r","16","opacity","0.07307692307692308"],["cx","127.27855696304945","cy","68.80704392909061","r","16","opacity","0.0722488038277512"],["cx","124.99999999999999","cy","70.0961894323342","r","16","opacity","0.07142857142857142"],["cx","122.74428876349188","cy","71.42490489468315","r","16","opacity","0.07061611374407582"],["cx","120.51211036501928","cy","72.79278557653609","r","16","opacity","0.06981132075471698"],["cx","118.30414474774594","cy","74.19941480818639","r","16","opacity","0.06901408450704226"],["cx","116.121064479388","cy","75.64436411674372","r","16","opacity","0.06822429906542056"],["cx","113.96353454734313","cy","77.12719335665119","r","16","opacity","0.06744186046511629"],["cx","111.83221215612905","cy","78.64745084375787","r","16","opacity","0.06666666666666667"],["cx","109.72774652719279","cy","80.20467349290604","r","16","opacity","0.06589861751152074"],["cx","107.65077870115132","cy","81.79838695899167","r","16","opacity","0.06513761467889909"],["cx","105.60194134252436","cy","83.42810578145438","r","16","opacity","0.06438356164383562"],["cx","103.58185854701911","cy","85.0933335321533","r","16","opacity","0.06363636363636363"],["cx","101.59114565142389","cy","86.79356296658422","r","16","opacity","0.06289592760180995"],["cx","99.63040904617127","cy","88.52827617839087","r","16","opacity","0.062162162162162166"],["cx","97.70024599062525","cy","90.29694475712441","r","16","opacity","0.06143497757847534"],["cx","95.8012444311504","cy","92.09902994920233","r","16","opacity","0.060714285714285714"],["cx","93.93398282201788","cy","93.93398282201785","r","16","opacity","0.06"],["cx","92.09902994920238","cy","95.80124443115037","r","16","opacity","0.05929203539823009"],["cx","90.29694475712448","cy","97.70024599062516","r","16","opacity","0.05859030837004405"],["cx","88.5282761783909","cy","99.63040904617124","r","16","opacity","0.05789473684210526"],["cx","86.79356296658425","cy","101.59114565142386","r","16","opacity","0.05720524017467249"],["cx","85.09333353215331","cy","103.58185854701908","r","16","opacity","0.05652173913043478"],["cx","83.42810578145433","cy","105.60194134252443","r","16","opacity","0.05584415584415584"],["cx","81.79838695899168","cy","107.6507787011513","r","16","opacity","0.05517241379310345"],["cx","80.20467349290608","cy","109.72774652719276","r","16","opacity","0.054506437768240344"],["cx","78.6474508437579","cy","111.83221215612902","r","16","opacity","0.05384615384615385"],["cx","77.12719335665126","cy","113.96353454734304","r","16","opacity","0.05319148936170213"],["cx","75.64436411674379","cy","116.12106447938791","r","16","opacity","0.05254237288135593"],["cx","74.19941480818639","cy","118.30414474774595","r","16","opacity","0.05189873417721519"],["cx","72.7927855765361","cy","120.51211036501925","r","16","opacity","0.05126050420168067"],["cx","71.42490489468318","cy","122.74428876349182","r","16","opacity","0.050627615062761505"],["cx","70.09618943233426","cy","124.99999999999993","r","16","opacity","0.05"],["cx","68.80704392909061","cy","127.27855696304947","r","16","opacity","0.04937759336099585"],["cx","67.55786107116094","cy","129.5792655821164","r","16","opacity","0.048760330578512395"],["cx","66.34902137174484","cy","131.90142503906796","r","16","opacity","0.04814814814814815"],["cx","65.18089305512498","cy","134.24432798163832","r","16","opacity","0.047540983606557376"],["cx","64.05383194450255","cy","136.607260738895","r","16","opacity","0.04693877551020408"],["cx","62.96818135360985","cy","138.98950353862998","r","16","opacity","0.046341463414634146"],["cx","61.92427198213397","cy","141.3903307266089","r","16","opacity","0.045748987854251015"],["cx","60.9224218149819","cy","143.80901098761316","r","16","opacity","0.04516129032258064"],["cx","59.962936025419765","cy","146.2448075682049","r","16","opacity","0.04457831325301205"],["cx","59.046106882113776","cy","148.6969785011496","r","16","opacity","0.044"],["cx","58.17221366010247","cy","151.1647768314265","r","16","opacity","0.04342629482071713"],["cx","57.34152255572698","cy","153.64745084375787","r","16","opacity","0.04285714285714286"],["cx","56.55428660554469","cy","156.14424429158944","r","16","opacity","0.042292490118577074"],["cx","55.81074560925214","cy","158.65439662745018","r","16","opacity","0.04173228346456693"],["cx","55.11112605663976","cy","161.1771432346219","r","16","opacity","0.041176470588235294"],["cx","54.45564105860052","cy","163.71171566004983","r","16","opacity","0.040625"],["cx","53.844490282214736","cy","166.2573418484202","r","16","opacity","0.040077821011673155"],["cx","53.277859889929175","cy","168.81324637733604","r","16","opacity","0.03953488372093023"],["cx","52.75592248285042","cy","171.37865069351818","r","16","opacity","0.038996138996139"],["cx","52.27883704816881","cy","173.95277334996044","r","16","opacity","0.038461538461538464"],["cx","51.84674891072936","cy","176.53483024396536","r","16","opacity","0.03793103448275862"],["cx","51.45978968876446","cy","179.12403485599026","r","16","opacity","0.03740458015267176"],["cx","51.11807725380169","cy","181.71959848922793","r","16","opacity","0.03688212927756654"],["cx","50.82171569475898","cy","184.32073050985198","r","16","opacity","0.03636363636363636"],["cx","50.570795286238166","cy","186.92663858785127","r","16","opacity","0.035849056603773584"],["cx","50.365392461026374","cy","189.53652893838117","r","16","opacity","0.035338345864661655"],["cx","50.205569786813925","cy","192.14960656355836","r","16","opacity","0.0348314606741573"],["cx","50.091375947135646","cy","194.76507549462474","r","16","opacity","0.034328358208955224"],["cx","50.022845726541306","cy","197.3821390344075","r","16","opacity","0.03382899628252788"],["cx","50","cy","199.99999999999997","r","16","opacity","0.03333333333333333"],["cx","50.022845726541306","cy","202.61786096559246","r","16","opacity","0.03284132841328413"],["cx","50.091375947135646","cy","205.2349245053752","r","16","opacity","0.03235294117647059"],["cx","50.205569786813925","cy","207.85039343644158","r","16","opacity","0.031868131868131866"],["cx","50.365392461026346","cy","210.46347106161878","r","16","opacity","0.031386861313868614"],["cx","50.570795286238166","cy","213.07336141214867","r","16","opacity","0.03090909090909091"],["cx","50.82171569475898","cy","215.67926949014796","r","16","opacity","0.030434782608695653"],["cx","51.118077253801715","cy","218.28040151077215","r","16","opacity","0.029963898916967508"],["cx","51.45978968876446","cy","220.87596514400983","r","16","opacity","0.029496402877697843"],["cx","51.84674891072933","cy","223.4651697560346","r","16","opacity","0.02903225806451613"],["cx","52.27883704816878","cy","226.0472266500395","r","16","opacity","0.02857142857142857"],["cx","52.755922482850394","cy","228.62134930648165","r","16","opacity","0.028113879003558717"],["cx","53.27785988992912","cy","231.1867536226638","r","16","opacity","0.027659574468085105"],["cx","53.84449028221471","cy","233.74265815157975","r","16","opacity","0.027208480565371024"],["cx","54.45564105860052","cy","236.2882843399501","r","16","opacity","0.02676056338028169"],["cx","55.11112605663976","cy","238.82285676537816","r","16","opacity","0.02631578947368421"],["cx","55.810745609252194","cy","241.3456033725499","r","16","opacity","0.025874125874125874"],["cx","56.55428660554469","cy","243.8557557084105","r","16","opacity","0.025435540069686412"],["cx","57.341522555726954","cy","246.35254915624208","r","16","opacity","0.025"],["cx","58.17221366010244","cy","248.83522316857346","r","16","opacity","0.0245674740484429"],["cx","59.04610688211372","cy","251.30302149885023","r","16","opacity","0.02413793103448276"],["cx","59.96293602541968","cy","253.75519243179494","r","16","opacity","0.023711340206185566"],["cx","60.922421814981874","cy","256.1909890123868","r","16","opacity","0.023287671232876714"],["cx","61.92427198213392","cy","258.60966927339103","r","16","opacity","0.02286689419795222"],["cx","62.96818135360988","cy","261.01049646137005","r","16","opacity","0.022448979591836733"],["cx","64.05383194450252","cy","263.39273926110496","r","16","opacity","0.022033898305084745"],["cx","65.18089305512495","cy","265.7556720183616","r","16","opacity","0.021621621621621626"],["cx","66.34902137174481","cy","268.098574960932","r","16","opacity","0.021212121212121213"],["cx","67.55786107116094","cy","270.4207344178836","r","16","opacity","0.020805369127516776"],["cx","68.80704392909058","cy","272.72144303695046","r","16","opacity","0.02040133779264214"],["cx","70.0961894323342","cy","275","r","16","opacity","0.02"],["cx","71.42490489468315","cy","277.2557112365081","r","16","opacity","0.019601328903654486"],["cx","72.79278557653608","cy","279.4878896349807","r","16","opacity","0.019205298013245033"],["cx","74.19941480818636","cy","281.695855252254","r","16","opacity","0.01881188118811881"],["cx","75.64436411674369","cy","283.87893552061195","r","16","opacity","0.018421052631578946"],["cx","77.12719335665123","cy","286.0364654526569","r","16","opacity","0.018032786885245903"],["cx","78.64745084375787","cy","288.16778784387094","r","16","opacity","0.01764705882352941"],["cx","80.20467349290604","cy","290.27225347280717","r","16","opacity","0.017263843648208467"],["cx","81.79838695899173","cy","292.34922129884876","r","16","opacity","0.016883116883116882"],["cx","83.42810578145438","cy","294.39805865747564","r","16","opacity","0.01650485436893204"],["cx","85.09333353215328","cy","296.4181414529809","r","16","opacity","0.016129032258064516"],["cx","86.79356296658416","cy","298.408854348576","r","16","opacity","0.015755627009646302"],["cx","88.52827617839081","cy","300.36959095382866","r","16","opacity","0.015384615384615385"],["cx","90.29694475712435","cy","302.29975400937474","r","16","opacity","0.015015974440894569"],["cx","92.09902994920223","cy","304.1987555688495","r","16","opacity","0.014649681528662422"],["cx","93.93398282201785","cy","306.0660171779821","r","16","opacity","0.014285714285714285"],["cx","95.80124443115037","cy","307.90097005079764","r","16","opacity","0.01392405063291139"],["cx","97.70024599062526","cy","309.7030552428756","r","16","opacity","0.013564668769716088"],["cx","99.63040904617128","cy","311.47172382160915","r","16","opacity","0.013207547169811321"],["cx","101.59114565142389","cy","313.2064370334158","r","16","opacity","0.012852664576802508"],["cx","103.58185854701907","cy","314.90666646784666","r","16","opacity","0.0125"],["cx","105.60194134252433","cy","316.5718942185456","r","16","opacity","0.012149532710280374"],["cx","107.65077870115117","cy","318.2016130410082","r","16","opacity","0.011801242236024845"],["cx","109.72774652719276","cy","319.79532650709393","r","16","opacity","0.011455108359133128"],["cx","111.832212156129","cy","321.3525491562421","r","16","opacity","0.011111111111111112"],["cx","113.96353454734303","cy","322.8728066433487","r","16","opacity","0.010769230769230767"],["cx","116.1210644793879","cy","324.35563588325624","r","16","opacity","0.010429447852760737"],["cx","118.30414474774595","cy","325.80058519181364","r","16","opacity","0.010091743119266056"],["cx","120.51211036501913","cy","327.2072144234638","r","16","opacity","0.00975609756097561"],["cx","122.74428876349182","cy","328.5750951053168","r","16","opacity","0.009422492401215805"],["cx","124.99999999999993","cy","329.90381056766574","r","16","opacity","0.00909090909090909"],["cx","127.27855696304947","cy","331.1929560709094","r","16","opacity","0.008761329305135951"],["cx","129.57926558211636","cy","332.44213892883903","r","16","opacity","0.008433734939759038"],["cx","131.90142503906796","cy","333.6509786282552","r","16","opacity","0.008108108108108109"],["cx","134.24432798163843","cy","334.8191069448751","r","16","opacity","0.00778443113772455"],["cx","136.607260738895","cy","335.9461680554974","r","16","opacity","0.007462686567164179"],["cx","138.98950353862998","cy","337.03181864639015","r","16","opacity","0.007142857142857143"],["cx","141.3903307266088","cy","338.075728017866","r","16","opacity","0.006824925816023739"],["cx","143.80901098761314","cy","339.07757818501807","r","16","opacity","0.00650887573964497"],["cx","146.2448075682049","cy","340.03706397458024","r","16","opacity","0.006194690265486726"],["cx","148.69697850114972","cy","340.95389311788625","r","16","opacity","0.0058823529411764705"],["cx","151.16477683142637","cy","341.82778633989744","r","16","opacity","0.005571847507331379"],["cx","153.64745084375784","cy","342.658477444273","r","16","opacity","0.005263157894736842"],["cx","156.14424429158956","cy","343.4457133944553","r","16","opacity","0.004956268221574344"],["cx","158.65439662745004","cy","344.1892543907478","r","16","opacity","0.004651162790697674"],["cx","161.1771432346219","cy","344.88887394336024","r","16","opacity","0.004347826086956522"],["cx","163.71171566004983","cy","345.5443589413995","r","16","opacity","0.004046242774566474"],["cx","166.2573418484202","cy","346.15550971778526","r","16","opacity","0.0037463976945244955"],["cx","168.81324637733601","cy","346.7221401100708","r","16","opacity","0.0034482758620689655"],["cx","171.3786506935183","cy","347.2440775171496","r","16","opacity","0.003151862464183381"],["cx","173.9527733499603","cy","347.72116295183116","r","16","opacity","0.0028571428571428576"],["cx","176.53483024396533","cy","348.1532510892706","r","16","opacity","0.002564102564102564"],["cx","179.12403485599012","cy","348.54021031123557","r","16","opacity","0.0022727272727272726"],["cx","181.7195984892278","cy","348.88192274619826","r","16","opacity","0.00198300283286119"],["cx","184.32073050985198","cy","349.178284305241","r","16","opacity","0.001694915254237288"],["cx","186.92663858785124","cy","349.4292047137618","r","16","opacity","0.0014084507042253522"],["cx","189.53652893838128","cy","349.6346075389737","r","16","opacity","0.0011235955056179776"],["cx","192.14960656355834","cy","349.79443021318605","r","16","opacity","0.0008403361344537816"],["cx","194.76507549462488","cy","349.90862405286435","r","16","opacity","0.0005586592178770949"],["cx","197.38213903440734","cy","349.9771542734587","r","16","opacity","0.0002785515320334262"]],template:function(n,r){n&1&&(ye(0,"div",0)(1,"div",1),mi(),ye(2,"svg",2)(3,"g"),Jn(4,"circle",3)(5,"circle",4)(6,"circle",5)(7,"circle",6)(8,"circle",7)(9,"circle",8)(10,"circle",9)(11,"circle",10)(12,"circle",11)(13,"circle",12)(14,"circle",13)(15,"circle",14)(16,"circle",15)(17,"circle",16)(18,"circle",17)(19,"circle",18)(20,"circle",19)(21,"circle",20)(22,"circle",21)(23,"circle",22)(24,"circle",23)(25,"circle",24)(26,"circle",25)(27,"circle",26)(28,"circle",27)(29,"circle",28)(30,"circle",29)(31,"circle",30)(32,"circle",31)(33,"circle",32)(34,"circle",33)(35,"circle",34)(36,"circle",35)(37,"circle",36)(38,"circle",37)(39,"circle",38)(40,"circle",39)(41,"circle",40)(42,"circle",41)(43,"circle",42)(44,"circle",43)(45,"circle",44)(46,"circle",45)(47,"circle",46)(48,"circle",47)(49,"circle",48)(50,"circle",49)(51,"circle",50)(52,"circle",51)(53,"circle",52)(54,"circle",53)(55,"circle",54)(56,"circle",55)(57,"circle",56)(58,"circle",57)(59,"circle",58)(60,"circle",59)(61,"circle",60)(62,"circle",61)(63,"circle",62)(64,"circle",63)(65,"circle",64)(66,"circle",65)(67,"circle",66)(68,"circle",67)(69,"circle",68)(70,"circle",69)(71,"circle",70)(72,"circle",71)(73,"circle",72)(74,"circle",73)(75,"circle",74)(76,"circle",75)(77,"circle",76)(78,"circle",77)(79,"circle",78)(80,"circle",79)(81,"circle",80)(82,"circle",81)(83,"circle",82)(84,"circle",83)(85,"circle",84)(86,"circle",85)(87,"circle",86)(88,"circle",87)(89,"circle",88)(90,"circle",89)(91,"circle",90)(92,"circle",91)(93,"circle",92)(94,"circle",93)(95,"circle",94)(96,"circle",95)(97,"circle",96)(98,"circle",97)(99,"circle",98)(100,"circle",99)(101,"circle",100)(102,"circle",101)(103,"circle",102)(104,"circle",103)(105,"circle",104)(106,"circle",105)(107,"circle",106)(108,"circle",107)(109,"circle",108)(110,"circle",109)(111,"circle",110)(112,"circle",111)(113,"circle",112)(114,"circle",113)(115,"circle",114)(116,"circle",115)(117,"circle",116)(118,"circle",117)(119,"circle",118)(120,"circle",119)(121,"circle",120)(122,"circle",121)(123,"circle",122)(124,"circle",123)(125,"circle",124)(126,"circle",125)(127,"circle",126)(128,"circle",127)(129,"circle",128)(130,"circle",129)(131,"circle",130)(132,"circle",131)(133,"circle",132)(134,"circle",133)(135,"circle",134)(136,"circle",135)(137,"circle",136)(138,"circle",137)(139,"circle",138)(140,"circle",139)(141,"circle",140)(142,"circle",141)(143,"circle",142)(144,"circle",143)(145,"circle",144)(146,"circle",145)(147,"circle",146)(148,"circle",147)(149,"circle",148)(150,"circle",149)(151,"circle",150)(152,"circle",151)(153,"circle",152)(154,"circle",153)(155,"circle",154)(156,"circle",155)(157,"circle",156)(158,"circle",157)(159,"circle",158)(160,"circle",159)(161,"circle",160)(162,"circle",161)(163,"circle",162)(164,"circle",163)(165,"circle",164)(166,"circle",165)(167,"circle",166)(168,"circle",167)(169,"circle",168)(170,"circle",169)(171,"circle",170)(172,"circle",171)(173,"circle",172)(174,"circle",173)(175,"circle",174)(176,"circle",175)(177,"circle",176)(178,"circle",177)(179,"circle",178)(180,"circle",179)(181,"circle",180)(182,"circle",181)(183,"circle",182)(184,"circle",183)(185,"circle",184)(186,"circle",185)(187,"circle",186)(188,"circle",187)(189,"circle",188)(190,"circle",189)(191,"circle",190)(192,"circle",191)(193,"circle",192)(194,"circle",193)(195,"circle",194)(196,"circle",195)(197,"circle",196)(198,"circle",197)(199,"circle",198)(200,"circle",199)(201,"circle",200)(202,"circle",201)(203,"circle",202)(204,"circle",203)(205,"circle",204)(206,"circle",205)(207,"circle",206)(208,"circle",207)(209,"circle",208)(210,"circle",209)(211,"circle",210)(212,"circle",211)(213,"circle",212)(214,"circle",213)(215,"circle",214)(216,"circle",215)(217,"circle",216)(218,"circle",217)(219,"circle",218)(220,"circle",219)(221,"circle",220)(222,"circle",221)(223,"circle",222)(224,"circle",223)(225,"circle",224)(226,"circle",225)(227,"circle",226)(228,"circle",227)(229,"circle",228)(230,"circle",229)(231,"circle",230)(232,"circle",231)(233,"circle",232)(234,"circle",233)(235,"circle",234)(236,"circle",235)(237,"circle",236)(238,"circle",237)(239,"circle",238)(240,"circle",239)(241,"circle",240)(242,"circle",241)(243,"circle",242)(244,"circle",243)(245,"circle",244)(246,"circle",245)(247,"circle",246)(248,"circle",247)(249,"circle",248)(250,"circle",249)(251,"circle",250)(252,"circle",251)(253,"circle",252)(254,"circle",253)(255,"circle",254)(256,"circle",255)(257,"circle",256)(258,"circle",257)(259,"circle",258),Jn(260,"circle",259)(261,"circle",260)(262,"circle",261)(263,"circle",262)(264,"circle",263)(265,"circle",264)(266,"circle",265)(267,"circle",266)(268,"circle",267)(269,"circle",268)(270,"circle",269)(271,"circle",270)(272,"circle",271)(273,"circle",272)(274,"circle",273)(275,"circle",274)(276,"circle",275)(277,"circle",276)(278,"circle",277)(279,"circle",278)(280,"circle",279)(281,"circle",280)(282,"circle",281)(283,"circle",282)(284,"circle",283)(285,"circle",284)(286,"circle",285)(287,"circle",286)(288,"circle",287)(289,"circle",288)(290,"circle",289)(291,"circle",290)(292,"circle",291)(293,"circle",292)(294,"circle",293)(295,"circle",294)(296,"circle",295)(297,"circle",296)(298,"circle",297)(299,"circle",298)(300,"circle",299)(301,"circle",300)(302,"circle",301)(303,"circle",302)(304,"circle",303)(305,"circle",304)(306,"circle",305)(307,"circle",306)(308,"circle",307)(309,"circle",308)(310,"circle",309)(311,"circle",310)(312,"circle",311)(313,"circle",312)(314,"circle",313)(315,"circle",314)(316,"circle",315)(317,"circle",316)(318,"circle",317)(319,"circle",318)(320,"circle",319)(321,"circle",320)(322,"circle",321)(323,"circle",322)(324,"circle",323)(325,"circle",324)(326,"circle",325)(327,"circle",326)(328,"circle",327)(329,"circle",328)(330,"circle",329)(331,"circle",330)(332,"circle",331)(333,"circle",332)(334,"circle",333)(335,"circle",334)(336,"circle",335)(337,"circle",336)(338,"circle",337)(339,"circle",338)(340,"circle",339)(341,"circle",340)(342,"circle",341)(343,"circle",342)(344,"circle",343)(345,"circle",344)(346,"circle",345)(347,"circle",346)(348,"circle",347)(349,"circle",348)(350,"circle",349)(351,"circle",350)(352,"circle",351)(353,"circle",352)(354,"circle",353)(355,"circle",354)(356,"circle",355)(357,"circle",356)(358,"circle",357)(359,"circle",358)(360,"circle",359)(361,"circle",360)(362,"circle",361),be(),p(363," Sorry, your browser does not support inline SVG. "),be()()());},styles:["[_nghost-%COMP%] .onemrva-spinner-container[_ngcontent-%COMP%]{position:relative;height:3.25rem;right:3.25rem}[_nghost-%COMP%] .onemrva-spinner[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);height:52px;width:52px;box-sizing:border-box;animation:1s rotate infinite linear;fill:var(--mat-sys-primary)}"]});}}return t})();var Df=(()=>{class t{constructor(){this.loading=C(false),this.host=h(se),this.renderer=h(St),this.appRef=h(to),this.envInjector=h(Xn),this.injector=h(ze),vt(()=>this.loading()?this.show():this.hide());}show(){if(this.ref)return;this.ref=pu(Tf,{environmentInjector:this.envInjector,elementInjector:this.injector}),this.appRef.attachView(this.ref.hostView);let e=this.ref.location.nativeElement;this.renderer.insertBefore(this.host.nativeElement,e,this.host.nativeElement.firstChild);}hide(){this.ref&&(this.appRef.detachView(this.ref.hostView),this.ref.destroy(),this.ref=void 0);}ngOnDestroy(){this.hide();}static{this.\u0275fac=function(n){return new(n||t)};}static{this.\u0275dir=j({type:t,selectors:[["button","loading",""]],hostVars:2,hostBindings:function(n,r){n&2&&G("has-spinner",r.loading());},inputs:{loading:[1,"loading"]}});}}return t})();var Gu=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)};}static{this.\u0275mod=ge({type:t});}static{this.\u0275inj=fe({});}}return t})();function KVe(t,i){if(t&1&&(c(0,"mat-icon"),p(1),d()),t&2){let e=y();m(),L(e.icon());}}function QVe(t,i){if(t&1&&(c(0,"mat-icon",1),p(1),d()),t&2){let e=y();m(),L(e.iconEnd());}}function ZVe(t,i){if(t&1&&(c(0,"mat-icon"),p(1),d()),t&2){let e=y();m(),L(e.icon());}}function XVe(t,i){if(t&1&&(c(0,"mat-icon",1),p(1),d()),t&2){let e=y();m(),L(e.iconEnd());}}function JVe(t,i){t&1&&(dt(0),p(1,"Loading ..."),ut());}function eUe(t,i){t&1&&(dt(0),p(1,"Send"),ut());}var Nte=(()=>{class t extends re{constructor(){super(...arguments),this.icon=C(""),this.iconEnd=C(""),this.size=C(""),this.disabled=C(false),this.loading=q(true);}static{this.\u0275fac=(()=>{let e;return function(r){return (e||(e=U(t)))(r||t)}})();}static{this.\u0275cmp=x({type:t,selectors:[["app-demo-button"]],inputs:{icon:[1,"icon"],iconEnd:[1,"iconEnd"],size:[1,"size"],disabled:[1,"disabled"]},features:[N],decls:21,vars:16,consts:[["mat-flat-button","","color","accent","aria-label","Action",3,"disabled"],["iconPositionEnd",""],["mat-stroked-button","","color","primary","aria-label","Normal",3,"disabled"],["mat-button","","color","primary","aria-label","Basic",3,"disabled"],["mat-flat-button","","color","accent",3,"disabled","loading"]],template:function(n,r){n&1&&(c(0,"p"),p(1,"Contained / Flat:"),d(),c(2,"button",0),D(3,KVe,2,1,"mat-icon"),p(4," Action "),D(5,QVe,2,1,"mat-icon",1),d(),c(6,"p"),p(7,"Outlined / stroked:"),d(),c(8,"button",2),D(9,ZVe,2,1,"mat-icon"),p(10," Normal "),D(11,XVe,2,1,"mat-icon",1),d(),c(12,"p"),p(13,"Text:"),d(),c(14,"button",3),p(15,` Basic
|