1(self.webpackChunkhomepageUi=self.webpackChunkhomepageUi||[]).push([[4341],{4341(Hn,bt,d){d.d(bt,{me:()=>N,MJ:()=>he,l_:()=>pe,j4:()=>ge,cz:()=>u,kq:()=>p,vO:()=>g,BC:()=>Xe,cV:()=>O,X1:()=>Tn,k0:()=>Tt});var i=d(5547),s=d(5802),h=d(2271),At=(d(7705),d(9724)),Dt=d(1985),Mt=d(3073),Ft=d(8750),Et=d(9326),wt=d(4360),Ot=d(6450),St=d(8496),xt=d(1413),Ut=d(6354),Ce=d(6494);let Ve=(()=>{class t{_renderer;_elementRef;onChange=e=>{};onTouched=()=>{};constructor(e,r){this._renderer=e,this._elementRef=r}setProperty(e,r){this._renderer.setProperty(this._elementRef.nativeElement,e,r)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}static \u0275fac=function(r){return new(r||t)(i.rXU(i.sFG),i.rXU(i.aKT))};static \u0275dir=i.FsC({type:t})}return t})(),_=(()=>{class t extends Ve{static \u0275fac=(()=>{let e;return function(o){return(e||(e=i.xGo(t)))(o||t)}})();static \u0275dir=i.FsC({type:t,features:[i.Vt3]})}return t})();const p=new s.nKC(""),Bt={provide:p,useExisting:(0,s.Rfq)(()=>N),multi:!0},kt=new s.nKC("");let N=(()=>{class t extends Ve{_compositionMode;_composing=!1;constructor(e,r,o){super(e,r),this._compositionMode=o,null==this._compositionMode&&(this._compositionMode=!function Gt(){const t=(0,Ce.rb)()?(0,Ce.rb)().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}())}writeValue(e){this.setProperty("value",e??"")}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}static \u0275fac=function(r){return new(r||t)(i.rXU(i.sFG),i.rXU(i.aKT),i.rXU(kt,8))};static \u0275dir=i.FsC({type:t,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(r,o){1&r&&i.bIt("input",function(l){return o._handleInput(l.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(l){return o._compositionEnd(l.target.value)})},standalone:!1,features:[i.Jv_([Bt]),i.Vt3]})}return t})();function J(t){return null==t||0===z(t)}function z(t){return null==t?null:Array.isArray(t)||"string"==typeof t?t.length:t instanceof Set?t.size:null}const u=new s.nKC(""),m=new s.nKC(""),It=/^(?=.{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])?)*$/;class Tt{static min(n){return function Ae(t){return n=>{if(null==n.value||null==t)return null;const e=parseFloat(n.value);return!isNaN(e)&&e<t?{min:{min:t,actual:n.value}}:null}}(n)}static max(n){return function De(t){return n=>{if(null==n.value||null==t)return null;const e=parseFloat(n.value);return!isNaN(e)&&e>t?{max:{max:t,actual:n.value}}:null}}(n)}static required(n){return function Me(t){return J(t.value)?{required:!0}:null}(n)}static requiredTrue(n){return function Fe(t){return!0===t.value?null:{required:!0}}(n)}static email(n){return function Ee(t){return J(t.value)||It.test(t.value)?null:{email:!0}}(n)}static minLength(n){return function we(t){return n=>{const e=n.value?.length??z(n.value);return null===e||0===e?null:e<t?{minlength:{requiredLength:t,actualLength:e}}:null}}(n)}static maxLength(n){return function Oe(t){return n=>{const e=n.value?.length??z(n.value);return null!==e&&e>t?{maxlength:{requiredLength:t,actualLength:e}}:null}}(n)}static pattern(n){return function Se(t){if(!t)return x;let n,e;return"string"==typeof t?(e="","^"!==t.charAt(0)&&(e+="^"),e+=t,"$"!==t.charAt(t.length-1)&&(e+="$"),n=new RegExp(e)):(e=t.toString(),n=t),r=>{if(J(r.value))return null;const o=r.value;return n.test(o)?null:{pattern:{requiredPattern:e,actualValue:o}}}}(n)}static nullValidator(n){return null}static compose(n){return Ge(n)}static composeAsync(n){return ke(n)}}function x(t){return null}function Ne(t){return null!=t}function xe(t){return(0,i.yLl)(t)?(0,At.H)(t):t}function Ue(t){let n={};
1return t.forEach(e=>{n=null!=e?{...n,...e}:n}),0===Object.keys(n).length?null:n}function Re(t,n){return n.map(e=>e(t))}function Be(t){return t.map(n=>function Pt(t){return!t.validate}(n)?n:e=>n.validate(e))}function Ge(t){if(!t)return null;const n=t.filter(Ne);return 0==n.length?null:function(e){return Ue(Re(e,n))}}function K(t){return null!=t?Ge(Be(t)):null}function ke(t){if(!t)return null;const n=t.filter(Ne);return 0==n.length?null:function(e){return function Nt(...t){const n=(0,Et.ms)(t),{args:e,keys:r}=(0,Mt.D)(t),o=new Dt.c(a=>{const{length:l}=e;if(!l)return void a.complete();const f=new Array(l);let v=l,A=l;for(let q=0;q<l;q++){let ve=!1;(0,Ft.Tg)(e[q]).subscribe((0,wt._)(a,Pn=>{ve||(ve=!0,A--),f[q]=Pn},()=>v--,void 0,()=>{(!v||!ve)&&(A||a.next(r?(0,St.e)(r,f):f),a.complete())}))}});return n?o.pipe((0,Ot.I)(n)):o}(Re(e,n).map(xe)).pipe((0,Ut.T)(Ue))}}function Q(t){return null!=t?ke(Be(t)):null}function Ie(t,n){return null===t?[n]:Array.isArray(t)?[...t,n]:[t,n]}function Te(t){return t._rawValidators}function Pe(t){return t._rawAsyncValidators}function Z(t){return t?Array.isArray(t)?t:[t]:[]}function U(t,n){return Array.isArray(t)?t.includes(n):t===n}function He(t,n){const e=Z(n);return Z(t).forEach(o=>{U(e,o)||e.push(o)}),e}function Le(t,n){return Z(n).filter(e=>!U(t,e))}class $e{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}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(n){this._rawValidators=n||[],this._composedValidatorFn=K(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=Q(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n=void 0){this.control?.reset(n)}hasError(n,e){return!!this.control&&this.control.hasError(n,e)}getError(n,e){return this.control?this.control.getError(n,e):null}}class c extends $e{name;get formDirective(){return null}get path(){return null}}class g extends $e{_parent=null;name=null;valueAccessor=null}class We{_cd;constructor(n){this._cd=n}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}}let Xe=(()=>{class t extends We{constructor(e){super(e)}static \u0275fac=function(r){return new(r||t)(i.rXU(g,2))};static \u0275dir=i.FsC({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,o){2&r&&i.AVh("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},standalone:!1,features:[i.Vt3]})}return t})();const M="VALID",B="INVALID",C="PENDING",F="DISABLED";class V{}class Je extends V{value;source;constructor(n,e){super(),this.value=n,this.source=e}}class te extends V{pristine;source;constructor(n,e){super(),this.pristine=n,this.source=e}}class ne extends V{touched;source;constructor(n,e){super(),this.touched=n,this.source=e}}class G extends V{status;source;constructor(n,e){super(),this.status=n,this.source=e}}class ze extends V{source;constructor(n){super(),this.source=n}}class re extends V{source;constructor(n){super(),this.source=n}}function oe(t){return(k(t)?t.validators:t)||null}function ie(t,n){return(k(n)?n.asyncValidators:t)||null}function k(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}class se{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(n,e){this._assignValidators(n),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get status(){return(0,h.O8)(this.statusReactive)}set status(n){(0,h.O8)(()=>this.statusReactive.set(n))}_status=(0,h.EW)(()=>this.statusReactive());statusReactive=(0,s.vPA)(void 0);get valid(){return this.status===M}get invalid(){return this.status===B}get pending(){return this.status===C}get disabled(){return this.status===F}get enabled(){return this.status!==F}errors;get pristine(){return(0,h.O8)(this.pristineReactive)}set pristine(n){(0,h.O8)(()=>this.pristineReactive.set(n))}_pristine=(0,h.EW)(()=>this.pristineReactive());pristineReactive=(0,s.vPA)(!0);get dirty(){return!this.pristine}get touched(){return(0,h.O8)(this.touchedReactive)}set touched(n){(0,h.O8)(()=>this.touchedReactive.set(n))}_touched=(0,h.EW)(()=>this.touchedReactive());touchedReactive=(0,s.vPA)(!1);get untouched(){return!this.touched}_events=new xt.B;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}
vendor: 5,283 bytes, line 1
1addValidators(n){this.setValidators(He(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(He(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(Le(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(Le(n,this._rawAsyncValidators))}hasValidator(n){return U(this._rawValidators,n)}hasAsyncValidator(n){return U(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){const e=!1===this.touched;this.touched=!0;const r=n.sourceControl??this;n.onlySelf||this._parent?.markAsTouched({...n,sourceControl:r}),e&&!1!==n.emitEvent&&this._events.next(new ne(!0,r))}markAllAsDirty(n={}){this.markAsDirty({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsDirty(n))}markAllAsTouched(n={}){this.markAsTouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsTouched(n))}markAsUntouched(n={}){const e=!0===this.touched;this.touched=!1,this._pendingTouched=!1;const r=n.sourceControl??this;this._forEachChild(o=>{o.markAsUntouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:r})}),n.onlySelf||this._parent?._updateTouched(n,r),e&&!1!==n.emitEvent&&this._events.next(new ne(!1,r))}markAsDirty(n={}){const e=!0===this.pristine;this.pristine=!1;const r=n.sourceControl??this;n.onlySelf||this._parent?.markAsDirty({...n,sourceControl:r}),e&&!1!==n.emitEvent&&this._events.next(new te(!1,r))}markAsPristine(n={}){const e=!1===this.pristine;this.pristine=!0,this._pendingDirty=!1;const r=n.sourceControl??this;this._forEachChild(o=>{o.markAsPristine({onlySelf:!0,emitEvent:n.emitEvent})}),n.onlySelf||this._parent?._updatePristine(n,r),e&&!1!==n.emitEvent&&this._events.next(new te(!0,r))}markAsPending(n={}){this.status=C;const e=n.sourceControl??this;!1!==n.emitEvent&&(this._events.next(new G(this.status,e)),this.statusChanges.emit(this.status)),n.onlySelf||this._parent?.markAsPending({...n,sourceControl:e})}disable(n={}){const e=this._parentMarkedDirty(n.onlySelf);this.status=F,this.errors=null,this._forEachChild(o=>{o.disable({...n,onlySelf:!0})}),this._updateValue();const r=n.sourceControl??this;!1!==n.emitEvent&&(this._events.next(new Je(this.value,r)),this._events.next(new G(this.status,r)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...n,skipPristineCheck:e},this),this._onDisabledChange.forEach(o=>o(!0))}enable(n={}){const e=this._parentMarkedDirty(n.onlySelf);this.status=M,this._forEachChild(r=>{r.enable({...n,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors({...n,skipPristineCheck:e},this),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(n,e){n.onlySelf||(this._parent?.updateValueAndValidity(n),n.skipPristineCheck||this._parent?._updatePristine({},e),this._parent?._updateTouched({},e))}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){const r=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===M||this.status===C)&&this._runAsyncValidator(r,n.emitEvent)}const e=n.sourceControl??this;!1!==n.emitEvent&&(this._events.next(new Je(this.value,e)),this._events.next(new G(this.status,e)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),n.onlySelf||this._parent?.updateValueAndValidity({...n,sourceControl:e})}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?F:M}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n,e){if(this.asyncValidator){this.status=C,this._hasOwnPendingAsyncValidator={emitEvent:!1!==e,shouldHaveEmitted:!1!==n};const r=xe(this.asyncValidator(this));this._asyncValidationSubscription=r.subscribe(o=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(o,{emitEvent:e,shouldHaveEmitted:n})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();const n=(this._hasOwnPendingAsyncValidator?.emitEvent||this._hasOwnPendingAsyncValidator?.shouldHaveEmitted)??!1;return this._hasOwnPendingAsyncValidator=null,n}return!1}setErrors(n,e={}){this.errors=n,this._updateControlsErrors(!1!==e.emitEvent,this,e.shouldHaveEmitted)}get(n){let e=n;return null==e||(Array.isArray(e)||(e=e.split(".")),0===e.length)?null:e.reduce((r,o)=>r&&r._find(o),this)}getError(n,e){const r=e?this.get(e):this;return r?.errors?r.errors[n]:null}hasError(n,e){return!!this.getError(n,e)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n,e,r){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),(n||r)&&this._events.next(new G(this.status,e)),this._parent&&this._parent._updateControlsErrors(n,e,r)}_initObservables(){this.valueChanges=new s.bkB,this.statusChanges=new s.bkB}_calculateStatus(){return this._allControlsDisabled()?F:this.errors?B:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(C)?C:this._anyControlsHaveStatus(B)?B:M}
vendor: 6,088 bytes, line 1
1_anyControlsHaveStatus(n){return this._anyControls(e=>e.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n,e){const r=!this._anyControlsDirty(),o=this.pristine!==r;this.pristine=r,n.onlySelf||this._parent?._updatePristine(n,e),o&&this._events.next(new te(this.pristine,e))}_updateTouched(n={},e){this.touched=this._anyControlsTouched(),this._events.next(new ne(this.touched,e)),n.onlySelf||this._parent?._updateTouched(n,e)}_onDisabledChange=[];_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){k(n)&&null!=n.updateOn&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){return!n&&!!this._parent?.dirty&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=function Jt(t){return Array.isArray(t)?K(t):t||null}(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=function zt(t){return Array.isArray(t)?Q(t):t||null}(this._rawAsyncValidators)}}class ae extends se{constructor(n,e,r){super(oe(e),ie(r,e)),this.controls=n,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(n,e){return this.controls[n]?this.controls[n]:(this.controls[n]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(n,e,r={}){this.registerControl(n,e),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}removeControl(n,e={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(n,e,r={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],e&&this.registerControl(n,e),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,e={}){(function Qe(t,n,e){t._forEachChild((r,o)=>{if(void 0===e[o])throw new s.buA(-1002,"")})})(this,0,n),Object.keys(n).forEach(r=>{(function Ke(t,n,e){const r=t.controls;if(!(n?Object.keys(r):r).length)throw new s.buA(1e3,"");if(!r[e])throw new s.buA(1001,"")})(this,!0,r),this.controls[r].setValue(n[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(n,e={}){null!=n&&(Object.keys(n).forEach(r=>{const o=this.controls[r];o&&o.patchValue(n[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(n={},e={}){this._forEachChild((r,o)=>{r.reset(n?n[o]:null,{...e,onlySelf:!0})}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e),!1!==e?.emitEvent&&this._events.next(new re(this))}getRawValue(){return this._reduceChildren({},(n,e,r)=>(n[r]=e.getRawValue(),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(e,r)=>!!r._syncPendingControls()||e);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(e=>{const r=this.controls[e];r&&n(r,e)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(const[e,r]of Object.entries(this.controls))if(this.contains(e)&&n(r))return!0;return!1}_reduceValue(){return this._reduceChildren({},(e,r,o)=>((r.enabled||this.disabled)&&(e[o]=r.value),e))}_reduceChildren(n,e){let r=n;return this._forEachChild((o,a)=>{r=e(r,o,a)}),r}_allControlsDisabled(){for(const n of Object.keys(this.controls))if(this.controls[n].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(n){return this.controls.hasOwnProperty(n)?this.controls[n]:null}}const b=new s.nKC("",{factory:()=>I}),I="always";function E(t,n,e=I){le(t,n),n.valueAccessor.writeValue(t.value),(t.disabled||"always"===e)&&n.valueAccessor.setDisabledState?.(t.disabled),function Zt(t,n){n.valueAccessor.registerOnChange(e=>{t._pendingValue=e,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&Ze(t,n)})}(t,n),function en(t,n){const e=(r,o)=>{n.valueAccessor.writeValue(r),o&&n.viewToModelUpdate(r)};t.registerOnChange(e),n._registerOnDestroy(()=>{t._unregisterOnChange(e)})}(t,n),function Yt(t,n){n.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&Ze(t,n),"submit"!==t.updateOn&&t.markAsTouched()})}(t,n),function Qt(t,n){if(n.valueAccessor.setDisabledState){const e=r=>{n.valueAccessor.setDisabledState(r)};t.registerOnDisabledChange(e),n._registerOnDestroy(()=>{t._unregisterOnDisabledChange(e)})}}(t,n)}function P(t,n,e=!0){const r=()=>{};n?.valueAccessor?.registerOnChange(r),n?.valueAccessor?.registerOnTouched(r),L(t,n),t&&(n._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function H(t,n){t.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(n)})}function le(t,n){const e=Te(t);null!==n.validator?t.setValidators(Ie(e,n.validator)):"function"==typeof e&&t.setValidators([e]);const r=Pe(t);null!==n.asyncValidator?t.setAsyncValidators(Ie(r,n.asyncValidator)):"function"==typeof r&&t.setAsyncValidators([r]);const o=()=>t.updateValueAndValidity();H(n._rawValidators,o),H(n._rawAsyncValidators,o)}function L(t,n){let e=!1;if(null!==t){if(null!==n.validator){const o=Te(t);if(Array.isArray(o)&&o.length>0){const a=o.filter(l=>l!==n.validator);a.length!==o.length&&(e=!0,t.setValidators(a))}}if(null!==n.asyncValidator){const o=Pe(t);if(Array.isArray(o)&&o.length>0){const a=o.filter(l=>l!==n.asyncValidator);a.length!==o.length&&(e=!0,t.setAsyncValidators(a))}}}const r=()=>{};return H(n._rawValidators,r),H(n._rawAsyncValidators,r),e}function Ze(t,n){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function Ye(t,n){le(t,n)}
1function et(t,n){t._syncPendingControls(),n.forEach(e=>{const r=e.control;"submit"===r.updateOn&&r._pendingChange&&(e.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}const sn={provide:c,useExisting:(0,s.Rfq)(()=>O)},w=Promise.resolve();let O=(()=>{class t extends c{callSetDisabledState;get submitted(){return(0,h.O8)(this.submittedReactive)}_submitted=(0,h.EW)(()=>this.submittedReactive());submittedReactive=(0,s.vPA)(!1);_directives=new Set;form;ngSubmit=new s.bkB;options;constructor(e,r,o){super(),this.callSetDisabledState=o,this.form=new ae({},K(e),Q(r))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){w.then(()=>{const r=this._findContainer(e.path);e.control=r.registerControl(e.name,e.control),E(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){w.then(()=>{this._findContainer(e.path)?.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){w.then(()=>{const r=this._findContainer(e.path),o=new ae({});Ye(o,e),r.registerControl(e.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){w.then(()=>{this._findContainer(e.path)?.removeControl?.(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,r){w.then(()=>{this.form.get(e.path).setValue(r)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submittedReactive.set(!0),et(this.form,this._directives),this.ngSubmit.emit(e),this.form._events.next(new ze(this.control)),"dialog"===e?.target?.method}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}static \u0275fac=function(r){return new(r||t)(i.rXU(u,10),i.rXU(m,10),i.rXU(b,8))};static \u0275dir=i.FsC({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup","",3,"formArray",""],["ng-form"],["","ngForm",""]],hostBindings:function(r,o){1&r&&i.bIt("submit",function(l){return o.onSubmit(l)})("reset",function(){return o.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[i.Jv_([sn]),i.Vt3]})}return t})();function tt(t,n){const e=t.indexOf(n);e>-1&&t.splice(e,1)}function nt(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t}const he=class extends se{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(n=null,e,r){super(oe(e),ie(r,e)),this._applyFormState(n),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),k(e)&&(e.nonNullable||e.initialValueIsDefault)&&(this.defaultValue=nt(n)?n.value:n)}setValue(n,e={}){this.value=this._pendingValue=n,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(r=>r(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(n,e={}){this.setValue(n,e)}reset(n=this.defaultValue,e={}){this._applyFormState(n),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),e.overwriteDefaultValue&&(this.defaultValue=this.value),this._pendingChange=!1,!1!==e?.emitEvent&&this._events.next(new re(this))}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){tt(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){tt(this._onDisabledChange,n)}_forEachChild(n){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(n){nt(n)?(this.value=this._pendingValue=n.value,
1n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}};Promise.resolve();let X=(()=>{class t extends c{callSetDisabledState;get submitted(){return(0,h.O8)(this._submittedReactive)}set submitted(e){this._submittedReactive.set(e)}_submitted=(0,h.EW)(()=>this._submittedReactive());_submittedReactive=(0,s.vPA)(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];constructor(e,r,o){super(),this.callSetDisabledState=o,this._setValidators(e),this._setAsyncValidators(r)}ngOnChanges(e){this.onChanges(e)}ngOnDestroy(){this.onDestroy()}onChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}onDestroy(){this.form&&(L(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get path(){return[]}addControl(e){const r=this.form.get(e.path);return E(r,e,this.callSetDisabledState),r.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),r}getControl(e){return this.form.get(e.path)}
1removeControl(e){P(e.control||null,e,!1),function on(t,n){const e=t.indexOf(n);e>-1&&t.splice(e,1)}(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}getFormArray(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}updateModel(e,r){this.form.get(e.path).setValue(r)}onReset(){this.resetForm()}resetForm(e=void 0,r={}){this.form.reset(e,r),this._submittedReactive.set(!1)}onSubmit(e){return this.submitted=!0,et(this.form,this.directives),this.ngSubmit.emit(e),this.form._events.next(new ze(this.control)),"dialog"===e?.target?.method}_updateDomValue(){this.directives.forEach(e=>{const r=e.control,o=this.form.get(e.path);r!==o&&(P(r||null,e),(t=>t instanceof he)(o)&&(E(o,e,this.callSetDisabledState),e.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){const r=this.form.get(e.path);Ye(r,e),r.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){const r=this.form?.get(e.path);r&&function tn(t,n){return L(t,n)}(r,e)&&r.updateValueAndValidity({emitEvent:!1})}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm?._registerOnCollectionChange(()=>{})}_updateValidators(){le(this.form,this),this._oldForm&&L(this._oldForm,this)}_checkFormPresent(){}static \u0275fac=function(r){return new(r||t)(i.rXU(u,10),i.rXU(m,10),i.rXU(b,8))};static \u0275dir=i.FsC({type:t,features:[i.Vt3,i.OA$]})}return t})();const fe=new s.nKC(""),vn={provide:g,useExisting:(0,s.Rfq)(()=>pe)};let pe=(()=>{class t extends g{_ngModelWarningConfig;callSetDisabledState;viewModel;form;set isDisabled(e){}model;update=new s.bkB;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(e,r,o,a,l){super(),this._ngModelWarningConfig=a,this.callSetDisabledState=l,this._setValidators(e),this._setAsyncValidators(r),this.valueAccessor=function ce(t,n){if(!n)return null;let e,r,o;
1return Array.isArray(n),n.forEach(a=>{a.constructor===N?e=a:function rn(t){return Object.getPrototypeOf(t.constructor)===_}(a)?r=a:o=a}),o||r||e||null}(0,o)}ngOnChanges(e){if(this._isControlChanged(e)){const r=e.form.previousValue;r&&P(r,this,!1),E(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}(function de(t,n){if(!t.hasOwnProperty("model"))return!1;const e=t.model;return!!e.isFirstChange()||!Object.is(n,e.currentValue)})(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&P(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_isControlChanged(e){return e.hasOwnProperty("form")}static \u0275fac=function(r){return new(r||t)(i.rXU(u,10),i.rXU(m,10),i.rXU(p,10),i.rXU(fe,8),i.rXU(b,8))};static \u0275dir=i.FsC({type:t,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],standalone:!1,features:[i.Jv_([vn]),i.Vt3,i.OA$]})}return t})();const An={provide:c,useExisting:(0,s.Rfq)(()=>ge)};let ge=(()=>{class t extends X{form=null;ngSubmit=new s.bkB;get control(){return this.form}static \u0275fac=(()=>{let e;return function(o){return(e||(e=i.xGo(t)))(o||t)}})();static \u0275dir=i.FsC({type:t,selectors:[["","formGroup",""]],hostBindings:function(r,o){1&r&&i.bIt("submit",function(l){return o.onSubmit(l)})("reset",function(){return o.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[i.Jv_([An]),i.Vt3]})}return t})(),In=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=i.$C({type:t});static \u0275inj=s.G2t({})}return t})(),Tn=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:fe,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:b,useValue:e.callSetDisabledState??I}]}}static \u0275fac=function(r){return new(r||t)};static \u0275mod=i.$C({type:t});static \u0275inj=s.G2t({imports:[In]})}return t})()}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.