marketplacepos 3.11.1 → 3.11.4
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/Marketplace/3rdpartylicenses.txt +40 -40
- package/Marketplace/chunk-3LQ5TKLD.js +1 -0
- package/Marketplace/chunk-3PX6SSDC.js +1 -0
- package/Marketplace/chunk-5LCXVQBT.js +1 -0
- package/Marketplace/chunk-5SE72MGC.js +2 -0
- package/Marketplace/chunk-5ZUWMFL5.js +1 -0
- package/Marketplace/chunk-6B64VOO7.js +1 -0
- package/Marketplace/chunk-6DRNAUKE.js +8 -0
- package/Marketplace/chunk-6F6NSBIF.js +1 -0
- package/Marketplace/chunk-6HBK3C7G.js +1 -0
- package/Marketplace/chunk-6WGRXHNE.js +47 -0
- package/Marketplace/chunk-AL67KXJV.js +2 -0
- package/Marketplace/chunk-BD2QQPDK.js +1 -0
- package/Marketplace/chunk-BMZAGAK3.js +1 -0
- package/Marketplace/chunk-C45X4NQK.js +5 -0
- package/Marketplace/chunk-D72PMDHY.js +1 -0
- package/Marketplace/chunk-DEH6NGKQ.js +1 -0
- package/Marketplace/chunk-DT3B54LD.js +4 -0
- package/Marketplace/chunk-G5LCLRIW.js +1 -0
- package/Marketplace/chunk-GRMIXZTT.js +1 -0
- package/Marketplace/{chunk-56R3B6EL.js → chunk-GSSZWMCP.js} +4 -4
- package/Marketplace/chunk-INNTQ5YN.js +1 -0
- package/Marketplace/chunk-IPGAIBF6.js +5 -0
- package/Marketplace/chunk-JM3LERUP.js +7 -0
- package/Marketplace/chunk-JPAJ6YR6.js +1 -0
- package/Marketplace/chunk-K3G6FMDF.js +1 -0
- package/Marketplace/chunk-KBYAFLE5.js +1 -0
- package/Marketplace/chunk-KUVW5SH2.js +1 -0
- package/Marketplace/chunk-KYJA5TD4.js +1 -0
- package/Marketplace/chunk-L4DP3Q4W.js +1 -0
- package/Marketplace/chunk-MK34PW5S.js +1 -0
- package/Marketplace/{chunk-TMXG5A2R.js → chunk-MSAVOLLA.js} +2 -2
- package/Marketplace/chunk-MSGMWJHN.js +1 -0
- package/Marketplace/chunk-MYMGWQRE.js +6 -0
- package/Marketplace/chunk-N4S3Q3EC.js +1 -0
- package/Marketplace/chunk-NRVXDIHY.js +1 -0
- package/Marketplace/chunk-NSM4JDXS.js +1 -0
- package/Marketplace/chunk-OHTJCLX7.js +4 -0
- package/Marketplace/chunk-PRYDCJG5.js +1 -0
- package/Marketplace/chunk-PZJCL4YS.js +1 -0
- package/Marketplace/chunk-PZOGC5DT.js +1 -0
- package/Marketplace/chunk-QK22WK2Q.js +1 -0
- package/Marketplace/chunk-SP6QPE3M.js +1 -0
- package/Marketplace/chunk-SQDLJ6C7.js +3 -0
- package/Marketplace/chunk-SRYGE2HW.js +1 -0
- package/Marketplace/chunk-TCC7PQV3.js +1 -0
- package/Marketplace/chunk-TDHJ34QP.js +1 -0
- package/Marketplace/chunk-TDK2QBFI.js +1 -0
- package/Marketplace/chunk-U5YOE633.js +5 -0
- package/Marketplace/chunk-UILE7H6I.js +1 -0
- package/Marketplace/chunk-VK32VX4W.js +2 -0
- package/Marketplace/chunk-VO5VAOZH.js +1 -0
- package/Marketplace/chunk-W3EAYQL3.js +1 -0
- package/Marketplace/chunk-WQ7LUTQ2.js +1 -0
- package/Marketplace/chunk-XDNW2F3I.js +3 -0
- package/Marketplace/chunk-XOYXFFE6.js +1 -0
- package/Marketplace/chunk-YZ67XPSX.js +1 -0
- package/Marketplace/chunk-ZIW2YTBP.js +1 -0
- package/Marketplace/chunk-ZKBLXGXT.js +2 -0
- package/Marketplace/index.html +5 -4
- package/Marketplace/main-RSHB3ATI.js +1 -0
- package/Marketplace/polyfills-Y3W47ZLP.js +2 -0
- package/Marketplace/scripts-TB7H6DN4.js +5 -0
- package/Marketplace/styles-D4MZYFH2.css +1 -0
- package/package.json +1 -1
- package/Marketplace/chunk-27WF5XZ4.js +0 -1
- package/Marketplace/chunk-2B2NRXVD.js +0 -1
- package/Marketplace/chunk-2J5KIMJG.js +0 -1
- package/Marketplace/chunk-2XUETMFD.js +0 -7
- package/Marketplace/chunk-34W6ODFY.js +0 -1
- package/Marketplace/chunk-36YTJB5U.js +0 -3
- package/Marketplace/chunk-3FV4VZY5.js +0 -4
- package/Marketplace/chunk-3M3TUG3Y.js +0 -1
- package/Marketplace/chunk-3WESNZYZ.js +0 -4
- package/Marketplace/chunk-4HCIBOMI.js +0 -1
- package/Marketplace/chunk-4JMSYMIL.js +0 -1
- package/Marketplace/chunk-5DXPVZPM.js +0 -3
- package/Marketplace/chunk-5QWCH2MN.js +0 -8
- package/Marketplace/chunk-6OCGOSYU.js +0 -5
- package/Marketplace/chunk-6RTNGXAA.js +0 -1
- package/Marketplace/chunk-7IY5O4IO.js +0 -1
- package/Marketplace/chunk-AEGUGM6R.js +0 -1
- package/Marketplace/chunk-CWR3EUXB.js +0 -2
- package/Marketplace/chunk-DJAIEPHT.js +0 -1
- package/Marketplace/chunk-DJWYB3IP.js +0 -1
- package/Marketplace/chunk-DMYPGAP6.js +0 -1
- package/Marketplace/chunk-EFARFDMO.js +0 -1
- package/Marketplace/chunk-EONYNPVG.js +0 -1
- package/Marketplace/chunk-FHVEGV4R.js +0 -1
- package/Marketplace/chunk-FMMN3KTC.js +0 -1
- package/Marketplace/chunk-GNBJF4YQ.js +0 -1
- package/Marketplace/chunk-HTPOQKQV.js +0 -1
- package/Marketplace/chunk-I6MPDIYA.js +0 -1
- package/Marketplace/chunk-IQOBZ4KW.js +0 -1
- package/Marketplace/chunk-J2RJWRY7.js +0 -6
- package/Marketplace/chunk-JQLRFJ7L.js +0 -2
- package/Marketplace/chunk-LAR65HEV.js +0 -39
- package/Marketplace/chunk-LSVERPQC.js +0 -1
- package/Marketplace/chunk-M7LNCX6S.js +0 -1
- package/Marketplace/chunk-MSXYPVTU.js +0 -1
- package/Marketplace/chunk-NDXXUZJP.js +0 -1
- package/Marketplace/chunk-NQA3MADS.js +0 -1
- package/Marketplace/chunk-NTO57GBJ.js +0 -1
- package/Marketplace/chunk-OG7GSPJM.js +0 -1
- package/Marketplace/chunk-PAOA6DW4.js +0 -1
- package/Marketplace/chunk-PJFUFZDK.js +0 -1
- package/Marketplace/chunk-PUT3J5LU.js +0 -1
- package/Marketplace/chunk-Q4YKWFBH.js +0 -1
- package/Marketplace/chunk-RRSW335I.js +0 -1
- package/Marketplace/chunk-S5WITFO4.js +0 -1
- package/Marketplace/chunk-TVL547JR.js +0 -2
- package/Marketplace/chunk-TXGX5F7A.js +0 -1
- package/Marketplace/chunk-UBKA24B2.js +0 -1
- package/Marketplace/chunk-UCUYPEVP.js +0 -1
- package/Marketplace/chunk-UE36JAUR.js +0 -1
- package/Marketplace/chunk-VBIHRHCP.js +0 -1
- package/Marketplace/chunk-VGATQ2BG.js +0 -2
- package/Marketplace/chunk-XBBNBXKA.js +0 -5
- package/Marketplace/chunk-XCMMTIOL.js +0 -1
- package/Marketplace/chunk-XT6FL25D.js +0 -1
- package/Marketplace/chunk-Z3KG4YMT.js +0 -5
- package/Marketplace/main-Z4RBEQWQ.js +0 -1
- package/Marketplace/polyfills-WYDKZVNK.js +0 -2
- package/Marketplace/scripts-M46NWPTC.js +0 -5
- package/Marketplace/styles-EMWW7N6T.css +0 -1
- /package/Marketplace/{chunk-ZCIDRSQR.js → chunk-662E5VTA.js} +0 -0
- /package/Marketplace/{chunk-CF5HBP53.js → chunk-IWVYX6KY.js} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Hb as h,Ja as a,Pa as F,Ua as d,Xa as Q,Xb as ce,Z as k,_ as c,_a as ee,aa as G,ac as he,ba as _,bc as B,fc as te,ga as V,ia as T,ja as u,m as le,oa as j,ob as m,q as ue,ta as p,w as de,ya as E,za as D}from"./chunk-6DRNAUKE.js";import{a as g,b as C}from"./chunk-GRMIXZTT.js";var De=(()=>{let e=class e{constructor(t,n){this._renderer=t,this._elementRef=n,this.onChange=s=>{},this.onTouched=()=>{}}setProperty(t,n){this._renderer.setProperty(this._elementRef.nativeElement,t,n)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}};e.\u0275fac=function(n){return new(n||e)(a(F),a(E))},e.\u0275dir=u({type:e});let i=e;return i})(),N=(()=>{let e=class e extends De{};e.\u0275fac=(()=>{let t;return function(s){return(t||(t=p(e)))(s||e)}})(),e.\u0275dir=u({type:e,features:[d]});let i=e;return i})(),A=new _(""),ze={provide:A,useExisting:c(()=>Ze),multi:!0},Ze=(()=>{let e=class e extends N{writeValue(t){this.setProperty("checked",t)}};e.\u0275fac=(()=>{let t;return function(s){return(t||(t=p(e)))(s||e)}})(),e.\u0275dir=u({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(n,s){n&1&&m("change",function(l){return s.onChange(l.target.checked)})("blur",function(){return s.onTouched()})},features:[h([ze]),d]});let i=e;return i})(),Xe={provide:A,useExisting:c(()=>be),multi:!0};function Ye(){let i=te()?te().getUserAgent():"";return/android (\d+)/.test(i.toLowerCase())}var Ke=new _(""),be=(()=>{let e=class e extends De{constructor(t,n,s){super(t,n),this._compositionMode=s,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!Ye())}writeValue(t){let n=t??"";this.setProperty("value",n)}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}};e.\u0275fac=function(n){return new(n||e)(a(F),a(E),a(Ke,8))},e.\u0275dir=u({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(n,s){n&1&&m("input",function(l){return s._handleInput(l.target.value)})("blur",function(){return s.onTouched()})("compositionstart",function(){return s._compositionStart()})("compositionend",function(l){return s._compositionEnd(l.target.value)})},features:[h([Xe]),d]});let i=e;return i})();function y(i){return i==null||(typeof i=="string"||Array.isArray(i))&&i.length===0}function Ae(i){return i!=null&&typeof i.length=="number"}var M=new _(""),ne=new _(""),Je=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,fe=class{static min(e){return Qe(e)}static max(e){return et(e)}static required(e){return Me(e)}static requiredTrue(e){return tt(e)}static email(e){return Ee(e)}static minLength(e){return it(e)}static maxLength(e){return nt(e)}static pattern(e){return Fe(e)}static nullValidator(e){return R(e)}static compose(e){return Pe(e)}static composeAsync(e){return xe(e)}};function Qe(i){return e=>{if(y(e.value)||y(i))return null;let r=parseFloat(e.value);return!isNaN(r)&&r<i?{min:{min:i,actual:e.value}}:null}}function et(i){return e=>{if(y(e.value)||y(i))return null;let r=parseFloat(e.value);return!isNaN(r)&&r>i?{max:{max:i,actual:e.value}}:null}}function Me(i){return y(i.value)?{required:!0}:null}function tt(i){return i.value===!0?null:{required:!0}}function Ee(i){return y(i.value)||Je.test(i.value)?null:{email:!0}}function it(i){return e=>y(e.value)||!Ae(e.value)?null:e.value.length<i?{minlength:{requiredLength:i,actualLength:e.value.length}}:null}function nt(i){return e=>Ae(e.value)&&e.value.length>i?{maxlength:{requiredLength:i,actualLength:e.value.length}}:null}function Fe(i){if(!i)return R;let e,r;return typeof i=="string"?(r="",i.charAt(0)!=="^"&&(r+="^"),r+=i,i.charAt(i.length-1)!=="$"&&(r+="$"),e=new RegExp(r)):(r=i.toString(),e=i),t=>{if(y(t.value))return null;let n=t.value;return e.test(n)?null:{pattern:{requiredPattern:r,actualValue:n}}}}function R(i){return null}function we(i){return i!=null}function Ie(i){return ce(i)?le(i):i}function Se(i){let e={};return i.forEach(r=>{e=r!=null?g(g({},e),r):e}),Object.keys(e).length===0?null:e}function Oe(i,e){return e.map(r=>r(i))}function rt(i){return!i.validate}function Ne(i){return i.map(e=>rt(e)?e:r=>e.validate(r))}function Pe(i){if(!i)return null;let e=i.filter(we);return e.length==0?null:function(r){return Se(Oe(r,e))}}function re(i){return i!=null?Pe(Ne(i)):null}function xe(i){if(!i)return null;let e=i.filter(we);return e.length==0?null:function(r){let t=Oe(r,e).map(Ie);return de(t).pipe(ue(Se))}}function se(i){return i!=null?xe(Ne(i)):null}function pe(i,e){return i===null?[e]:Array.isArray(i)?[...i,e]:[i,e]}function ke(i){return i._rawValidators}function Ge(i){return i._rawAsyncValidators}function ie(i){return i?Array.isArray(i)?i:[i]:[]}function H(i,e){return Array.isArray(i)?i.includes(e):i===e}function ge(i,e){let r=ie(e);return ie(i).forEach(n=>{H(r,n)||r.push(n)}),r}function me(i,e){return ie(e).filter(r=>!H(i,r))}var L=class{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(e){this._rawValidators=e||[],this._composedValidatorFn=re(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=se(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e=void 0){this.control&&this.control.reset(e)}hasError(e,r){return this.control?this.control.hasError(e,r):!1}getError(e,r){return this.control?this.control.getError(e,r):null}},v=class extends L{get formDirective(){return null}get path(){return null}},O=class extends L{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},$=class{constructor(e){this._cd=e}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}},st={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},oi=C(g({},st),{"[class.ng-submitted]":"isSubmitted"}),ai=(()=>{let e=class e extends ${constructor(t){super(t)}};e.\u0275fac=function(n){return new(n||e)(a(O,2))},e.\u0275dir=u({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(n,s){n&2&&ee("ng-untouched",s.isUntouched)("ng-touched",s.isTouched)("ng-pristine",s.isPristine)("ng-dirty",s.isDirty)("ng-valid",s.isValid)("ng-invalid",s.isInvalid)("ng-pending",s.isPending)},features:[d]});let i=e;return i})(),li=(()=>{let e=class e extends ${constructor(t){super(t)}};e.\u0275fac=function(n){return new(n||e)(a(v,10))},e.\u0275dir=u({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(n,s){n&2&&ee("ng-untouched",s.isUntouched)("ng-touched",s.isTouched)("ng-pristine",s.isPristine)("ng-dirty",s.isDirty)("ng-valid",s.isValid)("ng-invalid",s.isInvalid)("ng-pending",s.isPending)("ng-submitted",s.isSubmitted)},features:[d]});let i=e;return i})();var w="VALID",U="INVALID",b="PENDING",I="DISABLED";function Te(i){return(Y(i)?i.validators:i)||null}function ot(i){return Array.isArray(i)?re(i):i||null}function je(i,e){return(Y(e)?e.asyncValidators:i)||null}function at(i){return Array.isArray(i)?se(i):i||null}function Y(i){return i!=null&&!Array.isArray(i)&&typeof i=="object"}function lt(i,e,r){let t=i.controls;if(!(e?Object.keys(t):t).length)throw new k(1e3,"");if(!t[r])throw new k(1001,"")}function ut(i,e,r){i._forEachChild((t,n)=>{if(r[n]===void 0)throw new k(1002,"")})}var W=class{constructor(e,r){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(e),this._assignAsyncValidators(r)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get valid(){return this.status===w}get invalid(){return this.status===U}get pending(){return this.status==b}get disabled(){return this.status===I}get enabled(){return this.status!==I}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._assignValidators(e)}setAsyncValidators(e){this._assignAsyncValidators(e)}addValidators(e){this.setValidators(ge(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(ge(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(me(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(me(e,this._rawAsyncValidators))}hasValidator(e){return H(this._rawValidators,e)}hasAsyncValidator(e){return H(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(e=>e.markAllAsTouched())}markAsUntouched(e={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(r=>{r.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}markAsDirty(e={}){this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}markAsPristine(e={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(r=>{r.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}markAsPending(e={}){this.status=b,e.emitEvent!==!1&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}disable(e={}){let r=this._parentMarkedDirty(e.onlySelf);this.status=I,this.errors=null,this._forEachChild(t=>{t.disable(C(g({},e),{onlySelf:!0}))}),this._updateValue(),e.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(C(g({},e),{skipPristineCheck:r})),this._onDisabledChange.forEach(t=>t(!0))}enable(e={}){let r=this._parentMarkedDirty(e.onlySelf);this.status=w,this._forEachChild(t=>{t.enable(C(g({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(C(g({},e),{skipPristineCheck:r})),this._onDisabledChange.forEach(t=>t(!1))}_updateAncestors(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(e){this._parent=e}getRawValue(){return this.value}updateValueAndValidity(e={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===w||this.status===b)&&this._runAsyncValidator(e.emitEvent)),e.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(r=>r._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?I:w}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e){if(this.asyncValidator){this.status=b,this._hasOwnPendingAsyncValidator=!0;let r=Ie(this.asyncValidator(this));this._asyncValidationSubscription=r.subscribe(t=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(t,{emitEvent:e})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(e,r={}){this.errors=e,this._updateControlsErrors(r.emitEvent!==!1)}get(e){let r=e;return r==null||(Array.isArray(r)||(r=r.split(".")),r.length===0)?null:r.reduce((t,n)=>t&&t._find(n),this)}getError(e,r){let t=r?this.get(r):this;return t&&t.errors?t.errors[e]:null}hasError(e,r){return!!this.getError(e,r)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}_initObservables(){this.valueChanges=new D,this.statusChanges=new D}_calculateStatus(){return this._allControlsDisabled()?I:this.errors?U:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(b)?b:this._anyControlsHaveStatus(U)?U:w}_anyControlsHaveStatus(e){return this._anyControls(r=>r.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e={}){this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}_updateTouched(e={}){this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){Y(e)&&e.updateOn!=null&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){let r=this._parent&&this._parent.dirty;return!e&&!!r&&!this._parent._anyControlsDirty()}_find(e){return null}_assignValidators(e){this._rawValidators=Array.isArray(e)?e.slice():e,this._composedValidatorFn=ot(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=at(this._rawAsyncValidators)}},q=class extends W{constructor(e,r,t){super(Te(r),je(t,r)),this.controls=e,this._initObservables(),this._setUpdateStrategy(r),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(e,r){return this.controls[e]?this.controls[e]:(this.controls[e]=r,r.setParent(this),r._registerOnCollectionChange(this._onCollectionChange),r)}addControl(e,r,t={}){this.registerControl(e,r),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}removeControl(e,r={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}setControl(e,r,t={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],r&&this.registerControl(e,r),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,r={}){ut(this,!0,e),Object.keys(e).forEach(t=>{lt(this,!0,t),this.controls[t].setValue(e[t],{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r)}patchValue(e,r={}){e!=null&&(Object.keys(e).forEach(t=>{let n=this.controls[t];n&&n.patchValue(e[t],{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r))}reset(e={},r={}){this._forEachChild((t,n)=>{t.reset(e?e[n]:null,{onlySelf:!0,emitEvent:r.emitEvent})}),this._updatePristine(r),this._updateTouched(r),this.updateValueAndValidity(r)}getRawValue(){return this._reduceChildren({},(e,r,t)=>(e[t]=r.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(r,t)=>t._syncPendingControls()?!0:r);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){Object.keys(this.controls).forEach(r=>{let t=this.controls[r];t&&e(t,r)})}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(let[r,t]of Object.entries(this.controls))if(this.contains(r)&&e(t))return!0;return!1}_reduceValue(){let e={};return this._reduceChildren(e,(r,t,n)=>((t.enabled||this.disabled)&&(r[n]=t.value),r))}_reduceChildren(e,r){let t=e;return this._forEachChild((n,s)=>{t=r(t,n,s)}),t}_allControlsDisabled(){for(let e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(e){return this.controls.hasOwnProperty(e)?this.controls[e]:null}};var P=new _("CallSetDisabledState",{providedIn:"root",factory:()=>K}),K="always";function dt(i,e){return[...e.path,i]}function z(i,e,r=K){oe(i,e),e.valueAccessor.writeValue(i.value),(i.disabled||r==="always")&&e.valueAccessor.setDisabledState?.(i.disabled),ht(i,e),pt(i,e),ft(i,e),ct(i,e)}function ye(i,e,r=!0){let t=()=>{};e.valueAccessor&&(e.valueAccessor.registerOnChange(t),e.valueAccessor.registerOnTouched(t)),X(i,e),i&&(e._invokeOnDestroyCallbacks(),i._registerOnCollectionChange(()=>{}))}function Z(i,e){i.forEach(r=>{r.registerOnValidatorChange&&r.registerOnValidatorChange(e)})}function ct(i,e){if(e.valueAccessor.setDisabledState){let r=t=>{e.valueAccessor.setDisabledState(t)};i.registerOnDisabledChange(r),e._registerOnDestroy(()=>{i._unregisterOnDisabledChange(r)})}}function oe(i,e){let r=ke(i);e.validator!==null?i.setValidators(pe(r,e.validator)):typeof r=="function"&&i.setValidators([r]);let t=Ge(i);e.asyncValidator!==null?i.setAsyncValidators(pe(t,e.asyncValidator)):typeof t=="function"&&i.setAsyncValidators([t]);let n=()=>i.updateValueAndValidity();Z(e._rawValidators,n),Z(e._rawAsyncValidators,n)}function X(i,e){let r=!1;if(i!==null){if(e.validator!==null){let n=ke(i);if(Array.isArray(n)&&n.length>0){let s=n.filter(o=>o!==e.validator);s.length!==n.length&&(r=!0,i.setValidators(s))}}if(e.asyncValidator!==null){let n=Ge(i);if(Array.isArray(n)&&n.length>0){let s=n.filter(o=>o!==e.asyncValidator);s.length!==n.length&&(r=!0,i.setAsyncValidators(s))}}}let t=()=>{};return Z(e._rawValidators,t),Z(e._rawAsyncValidators,t),r}function ht(i,e){e.valueAccessor.registerOnChange(r=>{i._pendingValue=r,i._pendingChange=!0,i._pendingDirty=!0,i.updateOn==="change"&&Be(i,e)})}function ft(i,e){e.valueAccessor.registerOnTouched(()=>{i._pendingTouched=!0,i.updateOn==="blur"&&i._pendingChange&&Be(i,e),i.updateOn!=="submit"&&i.markAsTouched()})}function Be(i,e){i._pendingDirty&&i.markAsDirty(),i.setValue(i._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(i._pendingValue),i._pendingChange=!1}function pt(i,e){let r=(t,n)=>{e.valueAccessor.writeValue(t),n&&e.viewToModelUpdate(t)};i.registerOnChange(r),e._registerOnDestroy(()=>{i._unregisterOnChange(r)})}function Ue(i,e){i==null,oe(i,e)}function gt(i,e){return X(i,e)}function mt(i,e){if(!i.hasOwnProperty("model"))return!1;let r=i.model;return r.isFirstChange()?!0:!Object.is(e,r.currentValue)}function yt(i){return Object.getPrototypeOf(i.constructor)===N}function Re(i,e){i._syncPendingControls(),e.forEach(r=>{let t=r.control;t.updateOn==="submit"&&t._pendingChange&&(r.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)})}function vt(i,e){if(!e)return null;Array.isArray(e);let r,t,n;return e.forEach(s=>{s.constructor===be?r=s:yt(s)?t=s:n=s}),n||t||r||null}function _t(i,e){let r=i.indexOf(e);r>-1&&i.splice(r,1)}var Ct={provide:v,useExisting:c(()=>Vt)},S=Promise.resolve(),Vt=(()=>{let e=class e extends v{constructor(t,n,s){super(),this.callSetDisabledState=s,this.submitted=!1,this._directives=new Set,this.ngSubmit=new D,this.form=new q({},re(t),se(n))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){S.then(()=>{let n=this._findContainer(t.path);t.control=n.registerControl(t.name,t.control),z(t.control,t,this.callSetDisabledState),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){S.then(()=>{let n=this._findContainer(t.path);n&&n.removeControl(t.name),this._directives.delete(t)})}addFormGroup(t){S.then(()=>{let n=this._findContainer(t.path),s=new q({});Ue(s,t),n.registerControl(t.name,s),s.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){S.then(()=>{let n=this._findContainer(t.path);n&&n.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,n){S.then(()=>{this.form.get(t.path).setValue(n)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submitted=!0,Re(this.form,this._directives),this.ngSubmit.emit(t),t?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submitted=!1}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}};e.\u0275fac=function(n){return new(n||e)(a(M,10),a(ne,10),a(P,8))},e.\u0275dir=u({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(n,s){n&1&&m("submit",function(l){return s.onSubmit(l)})("reset",function(){return s.onReset()})},inputs:{options:[V.None,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[h([Ct]),d]});let i=e;return i})();function ve(i,e){let r=i.indexOf(e);r>-1&&i.splice(r,1)}function _e(i){return typeof i=="object"&&i!==null&&Object.keys(i).length===2&&"value"in i&&"disabled"in i}var He=class extends W{constructor(e=null,r,t){super(Te(r),je(t,r)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(e),this._setUpdateStrategy(r),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Y(r)&&(r.nonNullable||r.initialValueIsDefault)&&(_e(e)?this.defaultValue=e.value:this.defaultValue=e)}setValue(e,r={}){this.value=this._pendingValue=e,this._onChange.length&&r.emitModelToViewChange!==!1&&this._onChange.forEach(t=>t(this.value,r.emitViewToModelChange!==!1)),this.updateValueAndValidity(r)}patchValue(e,r={}){this.setValue(e,r)}reset(e=this.defaultValue,r={}){this._applyFormState(e),this.markAsPristine(r),this.markAsUntouched(r),this.setValue(this.value,r),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){ve(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){ve(this._onDisabledChange,e)}_forEachChild(e){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(e){_e(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}};var Dt=i=>i instanceof He;var bt={provide:O,useExisting:c(()=>At)},Ce=Promise.resolve(),At=(()=>{let e=class e extends O{constructor(t,n,s,o,l,f){super(),this._changeDetectorRef=l,this.callSetDisabledState=f,this.control=new He,this._registered=!1,this.name="",this.update=new D,this._parent=t,this._setValidators(n),this._setAsyncValidators(s),this.valueAccessor=vt(this,o)}ngOnChanges(t){if(this._checkForErrors(),!this._registered||"name"in t){if(this._registered&&(this._checkName(),this.formDirective)){let n=t.name.previousValue;this.formDirective.removeControl({name:n,path:this._getPath(n)})}this._setUpControl()}"isDisabled"in t&&this._updateDisabled(t),mt(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){z(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(t){Ce.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(t){let n=t.isDisabled.currentValue,s=n!==0&&B(n);Ce.then(()=>{s&&!this.control.disabled?this.control.disable():!s&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(t){return this._parent?dt(t,this._parent):[t]}};e.\u0275fac=function(n){return new(n||e)(a(v,9),a(M,10),a(ne,10),a(A,10),a(he,8),a(P,8))},e.\u0275dir=u({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[V.None,"disabled","isDisabled"],model:[V.None,"ngModel","model"],options:[V.None,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[h([bt]),d,j]});let i=e;return i})(),di=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=u({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]});let i=e;return i})(),Mt={provide:A,useExisting:c(()=>Et),multi:!0},Et=(()=>{let e=class e extends N{writeValue(t){let n=t??"";this.setProperty("value",n)}registerOnChange(t){this.onChange=n=>{t(n==""?null:parseFloat(n))}}};e.\u0275fac=(()=>{let t;return function(s){return(t||(t=p(e)))(s||e)}})(),e.\u0275dir=u({type:e,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(n,s){n&1&&m("input",function(l){return s.onChange(l.target.value)})("blur",function(){return s.onTouched()})},features:[h([Mt]),d]});let i=e;return i})();var Ft=new _("");var wt={provide:v,useExisting:c(()=>It)},It=(()=>{let e=class e extends v{constructor(t,n,s){super(),this.callSetDisabledState=s,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new D,this._setValidators(t),this._setAsyncValidators(n)}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(X(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){let n=this.form.get(t.path);return z(n,t,this.callSetDisabledState),n.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),n}getControl(t){return this.form.get(t.path)}removeControl(t){ye(t.control||null,t,!1),_t(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}getFormArray(t){return this.form.get(t.path)}updateModel(t,n){this.form.get(t.path).setValue(n)}onSubmit(t){return this.submitted=!0,Re(this.form,this.directives),this.ngSubmit.emit(t),t?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submitted=!1}_updateDomValue(){this.directives.forEach(t=>{let n=t.control,s=this.form.get(t.path);n!==s&&(ye(n||null,t),Dt(s)&&(z(s,t,this.callSetDisabledState),t.control=s))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){let n=this.form.get(t.path);Ue(n,t),n.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){let n=this.form.get(t.path);n&>(n,t)&&n.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){oe(this.form,this),this._oldForm&&X(this._oldForm,this)}_checkFormPresent(){this.form}};e.\u0275fac=function(n){return new(n||e)(a(M,10),a(ne,10),a(P,8))},e.\u0275dir=u({type:e,selectors:[["","formGroup",""]],hostBindings:function(n,s){n&1&&m("submit",function(l){return s.onSubmit(l)})("reset",function(){return s.onReset()})},inputs:{form:[V.None,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[h([wt]),d,j]});let i=e;return i})();var St={provide:A,useExisting:c(()=>$e),multi:!0};function Le(i,e){return i==null?`${e}`:(e&&typeof e=="object"&&(e="Object"),`${i}: ${e}`.slice(0,50))}function Ot(i){return i.split(":")[0]}var $e=(()=>{let e=class e extends N{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){this.value=t;let n=this._getOptionId(t),s=Le(n,t);this.setProperty("value",s)}registerOnChange(t){this.onChange=n=>{this.value=this._getOptionValue(n),t(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(t){for(let n of this._optionMap.keys())if(this._compareWith(this._optionMap.get(n),t))return n;return null}_getOptionValue(t){let n=Ot(t);return this._optionMap.has(n)?this._optionMap.get(n):t}};e.\u0275fac=(()=>{let t;return function(s){return(t||(t=p(e)))(s||e)}})(),e.\u0275dir=u({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(n,s){n&1&&m("change",function(l){return s.onChange(l.target.value)})("blur",function(){return s.onTouched()})},inputs:{compareWith:"compareWith"},features:[h([St]),d]});let i=e;return i})(),ci=(()=>{let e=class e{constructor(t,n,s){this._element=t,this._renderer=n,this._select=s,this._select&&(this.id=this._select._registerOption())}set ngValue(t){this._select!=null&&(this._select._optionMap.set(this.id,t),this._setElementValue(Le(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._setElementValue(t),this._select&&this._select.writeValue(this._select.value)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}};e.\u0275fac=function(n){return new(n||e)(a(E),a(F),a($e,9))},e.\u0275dir=u({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}});let i=e;return i})(),Nt={provide:A,useExisting:c(()=>We),multi:!0};function Ve(i,e){return i==null?`${e}`:(typeof e=="string"&&(e=`'${e}'`),e&&typeof e=="object"&&(e="Object"),`${i}: ${e}`.slice(0,50))}function Pt(i){return i.split(":")[0]}var We=(()=>{let e=class e extends N{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){this.value=t;let n;if(Array.isArray(t)){let s=t.map(o=>this._getOptionId(o));n=(o,l)=>{o._setSelected(s.indexOf(l.toString())>-1)}}else n=(s,o)=>{s._setSelected(!1)};this._optionMap.forEach(n)}registerOnChange(t){this.onChange=n=>{let s=[],o=n.selectedOptions;if(o!==void 0){let l=o;for(let f=0;f<l.length;f++){let x=l[f],J=this._getOptionValue(x.value);s.push(J)}}else{let l=n.options;for(let f=0;f<l.length;f++){let x=l[f];if(x.selected){let J=this._getOptionValue(x.value);s.push(J)}}}this.value=s,t(s)}}_registerOption(t){let n=(this._idCounter++).toString();return this._optionMap.set(n,t),n}_getOptionId(t){for(let n of this._optionMap.keys())if(this._compareWith(this._optionMap.get(n)._value,t))return n;return null}_getOptionValue(t){let n=Pt(t);return this._optionMap.has(n)?this._optionMap.get(n)._value:t}};e.\u0275fac=(()=>{let t;return function(s){return(t||(t=p(e)))(s||e)}})(),e.\u0275dir=u({type:e,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(n,s){n&1&&m("change",function(l){return s.onChange(l.target)})("blur",function(){return s.onTouched()})},inputs:{compareWith:"compareWith"},features:[h([Nt]),d]});let i=e;return i})(),hi=(()=>{let e=class e{constructor(t,n,s){this._element=t,this._renderer=n,this._select=s,this._select&&(this.id=this._select._registerOption(this))}set ngValue(t){this._select!=null&&(this._value=t,this._setElementValue(Ve(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._select?(this._value=t,this._setElementValue(Ve(this.id,t)),this._select.writeValue(this._select.value)):this._setElementValue(t)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}_setSelected(t){this._renderer.setProperty(this._element.nativeElement,"selected",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}};e.\u0275fac=function(n){return new(n||e)(a(E),a(F),a(We,9))},e.\u0275dir=u({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}});let i=e;return i})();var ae=(()=>{let e=class e{constructor(){this._validator=R}ngOnChanges(t){if(this.inputName in t){let n=this.normalizeInput(t[this.inputName].currentValue);this._enabled=this.enabled(n),this._validator=this._enabled?this.createValidator(n):R,this._onChange&&this._onChange()}}validate(t){return this._validator(t)}registerOnValidatorChange(t){this._onChange=t}enabled(t){return t!=null}};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=u({type:e,features:[j]});let i=e;return i})();var xt={provide:M,useExisting:c(()=>kt),multi:!0};var kt=(()=>{let e=class e extends ae{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=B,this.createValidator=t=>Me}enabled(t){return t}};e.\u0275fac=(()=>{let t;return function(s){return(t||(t=p(e)))(s||e)}})(),e.\u0275dir=u({type:e,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(n,s){n&2&&Q("required",s._enabled?"":null)},inputs:{required:"required"},features:[h([xt]),d]});let i=e;return i})();var Gt={provide:M,useExisting:c(()=>Tt),multi:!0},Tt=(()=>{let e=class e extends ae{constructor(){super(...arguments),this.inputName="email",this.normalizeInput=B,this.createValidator=t=>Ee}enabled(t){return t}};e.\u0275fac=(()=>{let t;return function(s){return(t||(t=p(e)))(s||e)}})(),e.\u0275dir=u({type:e,selectors:[["","email","","formControlName",""],["","email","","formControl",""],["","email","","ngModel",""]],inputs:{email:"email"},features:[h([Gt]),d]});let i=e;return i})();var jt={provide:M,useExisting:c(()=>Bt),multi:!0},Bt=(()=>{let e=class e extends ae{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=t=>t,this.createValidator=t=>Fe(t)}};e.\u0275fac=(()=>{let t;return function(s){return(t||(t=p(e)))(s||e)}})(),e.\u0275dir=u({type:e,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(n,s){n&2&&Q("pattern",s._enabled?s.pattern:null)},inputs:{pattern:"pattern"},features:[h([jt]),d]});let i=e;return i})();var qe=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=T({type:e}),e.\u0275inj=G({});let i=e;return i})();var fi=(()=>{let e=class e{static withConfig(t){return{ngModule:e,providers:[{provide:P,useValue:t.callSetDisabledState??K}]}}};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=T({type:e}),e.\u0275inj=G({imports:[qe]});let i=e;return i})(),pi=(()=>{let e=class e{static withConfig(t){return{ngModule:e,providers:[{provide:Ft,useValue:t.warnOnNgModelWithFormControl??"always"},{provide:P,useValue:t.callSetDisabledState??K}]}}};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=T({type:e}),e.\u0275inj=G({imports:[qe]});let i=e;return i})();export{A as a,Ze as b,be as c,M as d,fe as e,v as f,O as g,ai as h,li as i,Vt as j,At as k,di as l,Et as m,It as n,$e as o,ci as p,hi as q,kt as r,Tt as s,Bt as t,fi as u,pi as v};
|