vendor: 4,927 bytes, line 1
1import{a as Je}from"./chunk-RVWYYRQD.js";import{a as we,l as Ye,s as Ke}from"./chunk-46TIY27H.js";import{$c as Ze,B as Be,Bb as A,Ca as I,Cc as oe,Ec as H,Fb as Ue,Gc as We,Ia as ee,Ic as ze,Ja as _,La as T,Lb as j,Ob as ne,Qb as ie,Qc as g,Sc as Qe,Vb as V,Wb as w,Xb as E,Yb as He,Zb as qe,_b as $e,a as h,b as f,cc as Ae,ed as y,fd as S,ga as K,gc as Le,hb as b,ia as p,k as Te,ka as J,lb as De,ma as M,mb as s,nd as se,oa as C,q as je,qc as O,sb as v,sc as re,tb as te,tc as F,td as Xe,ub as u,uc as d,w as Ge,wb as l,wc as G,xc as B,yb as Me,yc as U,za as Ve}from"./chunk-ZKNABTT2.js";var lt=(()=>{class n{_renderer;_elementRef;onChange=t=>{};onTouched=()=>{};constructor(t,i){this._renderer=t,this._elementRef=i}setProperty(t,i){this._renderer.setProperty(this._elementRef.nativeElement,t,i)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}static \u0275fac=function(i){return new(i||n)(s(De),s(T))};static \u0275dir=u({type:n})}return n})(),Ie=(()=>{class n extends lt{static \u0275fac=(()=>{let t;return function(r){return(t||(t=_(n)))(r||n)}})();static \u0275dir=u({type:n,features:[l]})}return n})(),X=new M(""),jt={provide:X,useExisting:p(()=>Gt),multi:!0},Gt=(()=>{class n extends Ie{writeValue(t){this.setProperty("checked",t)}static \u0275fac=(()=>{let t;return function(r){return(t||(t=_(n)))(r||n)}})();static \u0275dir=u({type:n,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(i,r){i&1&&O("change",function(a){return r.onChange(a.target.checked)})("blur",function(){return r.onTouched()})},standalone:!1,features:[g([jt]),l]})}return n})(),Bt={provide:X,useExisting:p(()=>N),multi:!0};function Ut(){let n=we()?we().getUserAgent():"";return/android (\d+)/.test(n.toLowerCase())}var Ht=new M(""),N=(()=>{class n extends lt{_compositionMode;_composing=!1;constructor(t,i,r){super(t,i),this._compositionMode=r,this._compositionMode==null&&(this._compositionMode=!Ut())}writeValue(t){let i=t??"";this.setProperty("value",i)}_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)}static \u0275fac=function(i){return new(i||n)(s(De),s(T),s(Ht,8))};static \u0275dir=u({type:n,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(i,r){i&1&&O("input",function(a){return r._handleInput(a.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(a){return r._compositionEnd(a.target.value)})},standalone:!1,features:[g([Bt]),l]})}return n})();function Oe(n){return n==null||Se(n)===0}function Se(n){return n==null?null:Array.isArray(n)||typeof n=="string"?n.length:n instanceof Set?n.size:null}var P=new M(""),R=new M(""),qt=/^(?=.{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])?)*$/,Q=class{static min(e){return $t(e)}static max(e){return Lt(e)}static required(e){return Wt(e)}static requiredTrue(e){return zt(e)}static email(e){return Qt(e)}static minLength(e){return Zt(e)}static maxLength(e){return Xt(e)}static pattern(e){return Yt(e)}static nullValidator(e){return ut()}static compose(e){return gt(e)}static composeAsync(e){return mt(e)}};function $t(n){return e=>{if(e.value==null||n==null)return null;let t=parseFloat(e.value);return!isNaN(t)&&t<n?{min:{min:n,actual:e.value}}:null}}function Lt(n){return e=>{if(e.value==null||n==null)return null;let t=parseFloat(e.value);return!isNaN(t)&&t>n?{max:{max:n,actual:e.value}}:null}}function Wt(n){return Oe(n.value)?{required:!0}:null}function zt(n){return n.value===!0?null:{required:!0}}function Qt(n){return Oe(n.value)||qt.test(n.value)?null:{email:!0}}function Zt(n){return e=>{let t=e.value?.length??Se(e.value);return t===null||t===0?null:t<n?{minlength:{requiredLength:n,actualLength:t}}:null}}function Xt(n){return e=>{let t=e.value?.length??Se(e.value);return t!==null&&t>n?{maxlength:{requiredLength:n,actualLength:t}}:null}}function Yt(n){if(!n)return ut;let e,t;return typeof n=="string"?(t="",n.charAt(0)!=="^"&&(t+="^"),t+=n,n.charAt(n.length-1)!=="$"&&(t+="$"),e=new RegExp(t)):(t=n.toString(),e=n),i=>{if(Oe(i.value))return null;let r=i.value;return e.test(r)?null:{pattern:{requiredPattern:t,actualValue:r}}}}function ut(n){return null}function ct(n){return n!=null}function dt(n){return Ue(n)?je(n):n}function ht(n){let e={};
vendor: 12,751 bytes, line 1
1return n.forEach(t=>{e=t!=null?h(h({},e),t):e}),Object.keys(e).length===0?null:e}function ft(n,e){return e.map(t=>t(n))}function Kt(n){return!n.validate}function pt(n){return n.map(e=>Kt(e)?e:t=>e.validate(t))}function gt(n){if(!n)return null;let e=n.filter(ct);return e.length==0?null:function(t){return ht(ft(t,e))}}function xe(n){return n!=null?gt(pt(n)):null}function mt(n){if(!n)return null;let e=n.filter(ct);return e.length==0?null:function(t){let i=ft(t,e).map(dt);return Be(i).pipe(Ge(ht))}}function ke(n){return n!=null?mt(pt(n)):null}function et(n,e){return n===null?[e]:Array.isArray(n)?[...n,e]:[n,e]}function _t(n){return n._rawValidators}function vt(n){return n._rawAsyncValidators}function Ee(n){return n?Array.isArray(n)?n:[n]:[]}function le(n,e){return Array.isArray(n)?n.includes(e):n===e}function tt(n,e){let t=Ee(e);return Ee(n).forEach(r=>{le(t,r)||t.push(r)}),t}function nt(n,e){return Ee(e).filter(t=>!le(n,t))}var ue=class{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(e){this._rawValidators=e||[],this._composedValidatorFn=xe(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=ke(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_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,t){return this.control?this.control.hasError(e,t):!1}getError(e,t){return this.control?this.control.getError(e,t):null}},c=class extends ue{name;get formDirective(){return null}get path(){return null}},m=class extends ue{_parent=null;name=null;valueAccessor=null},ce=class{_cd;constructor(e){this._cd=e}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}},Jt={"[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"},pi=f(h({},Jt),{"[class.ng-submitted]":"isSubmitted"}),gi=(()=>{class n extends ce{constructor(t){super(t)}static \u0275fac=function(i){return new(i||n)(s(m,2))};static \u0275dir=u({type:n,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,r){i&2&&H("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)},standalone:!1,features:[l]})}return n})(),mi=(()=>{class n extends ce{constructor(t){super(t)}static \u0275fac=function(i){return new(i||n)(s(c,10))};static \u0275dir=u({type:n,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(i,r){i&2&&H("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)("ng-submitted",r.isSubmitted)},standalone:!1,features:[l]})}return n})();var q="VALID",ae="INVALID",x="PENDING",$="DISABLED",D=class{},de=class extends D{value;source;constructor(e,t){super(),this.value=e,this.source=t}},W=class extends D{pristine;source;constructor(e,t){super(),this.pristine=e,this.source=t}},z=class extends D{touched;source;constructor(e,t){super(),this.touched=e,this.source=t}},k=class extends D{status;source;constructor(e,t){super(),this.status=e,this.source=t}},he=class extends D{source;constructor(e){super(),this.source=e}},fe=class extends D{source;constructor(e){super(),this.source=e}};function yt(n){return(ve(n)?n.validators:n)||null}function en(n){return Array.isArray(n)?xe(n):n||null}function Ct(n,e){return(ve(e)?e.asyncValidators:n)||null}function tn(n){return Array.isArray(n)?ke(n):n||null}function ve(n){return n!=null&&!Array.isArray(n)&&typeof n=="object"}function nn(n,e,t){let i=n.controls;if(!(e?Object.keys(i):i).length)throw new K(1e3,"");if(!i[t])throw new K(1001,"")}function rn(n,e,t){n._forEachChild((i,r)=>{if(t[r]===void 0)throw new K(1002,"")})}var pe=class{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(e,t){this._assignValidators(e),this._assignAsyncValidators(t)}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 status(){return y(this.statusReactive)}set status(e){y(()=>this.statusReactive.set(e))}_status=S(()=>this.statusReactive());statusReactive=I(void 0);get valid(){return this.status===q}get invalid(){return this.status===ae}get pending(){return this.status==x}get disabled(){return this.status===$}get enabled(){return this.status!==$}errors;get pristine(){return y(this.pristineReactive)}set pristine(e){y(()=>this.pristineReactive.set(e))}_pristine=S(()=>this.pristineReactive());pristineReactive=I(!0);get dirty(){return!this.pristine}get touched(){return y(this.touchedReactive)}set touched(e){y(()=>this.touchedReactive.set(e))}_touched=S(()=>this.touchedReactive());touchedReactive=I(!1);get untouched(){return!this.touched}_events=new Te;events=this._events.asObservable();valueChanges;statusChanges;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(tt(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(tt(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(nt(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(nt(e,this._rawAsyncValidators))}hasValidator(e){return le(this._rawValidators,e)}hasAsyncValidator(e){return le(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){let t=this.touched===!1;this.touched=!0;let i=e.sourceControl??this;this._parent&&!e.onlySelf&&this._parent.markAsTouched(f(h({},e),{sourceControl:i})),t&&e.emitEvent!==!1&&this._events.next(new z(!0,i))}markAllAsDirty(e={}){this.markAsDirty({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:this}),this._forEachChild(t=>t.markAllAsDirty(e))}markAllAsTouched(e={}){this.markAsTouched({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:this}),this._forEachChild(t=>t.markAllAsTouched(e))}markAsUntouched(e={}){let t=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let i=e.sourceControl??this;this._forEachChild(r=>{r.markAsUntouched({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:i})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e,i),t&&e.emitEvent!==!1&&this._events.next(new z(!1,i))}markAsDirty(e={}){let t=this.pristine===!0;this.pristine=!1;let i=e.sourceControl??this;this._parent&&!e.onlySelf&&this._parent.markAsDirty(f(h({},e),{sourceControl:i})),t&&e.emitEvent!==!1&&this._events.next(new W(!1,i))}markAsPristine(e={}){let t=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let i=e.sourceControl??this;this._forEachChild(r=>{r.markAsPristine({onlySelf:!0,emitEvent:e.emitEvent})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e,i),t&&e.emitEvent!==!1&&this._events.next(new W(!0,i))}markAsPending(e={}){this.status=x;let t=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new k(this.status,t)),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.markAsPending(f(h({},e),{sourceControl:t}))}disable(e={}){let t=this._parentMarkedDirty(e.onlySelf);this.status=$,this.errors=null,this._forEachChild(r=>{r.disable(f(h({},e),{onlySelf:!0}))}),this._updateValue();let i=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new de(this.value,i)),this._events.next(new k(this.status,i)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(f(h({},e),{skipPristineCheck:t}),this),this._onDisabledChange.forEach(r=>r(!0))}enable(e={}){let t=this._parentMarkedDirty(e.onlySelf);this.status=q,this._forEachChild(i=>{i.enable(f(h({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(f(h({},e),{skipPristineCheck:t}),this),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(e,t){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine({},t),this._parent._updateTouched({},t))}setParent(e){this._parent=e}getRawValue(){return this.value}updateValueAndValidity(e={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let i=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===q||this.status===x)&&this._runAsyncValidator(i,e.emitEvent)}let t=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new de(this.value,t)),this._events.next(new k(this.status,t)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(f(h({},e),{sourceControl:t}))}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?$:q}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e,t){if(this.asyncValidator){this.status=x,this._hasOwnPendingAsyncValidator={emitEvent:t!==!1,shouldHaveEmitted:e!==!1};let i=dt(this.asyncValidator(this));this._asyncValidationSubscription=i.subscribe(r=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(r,{emitEvent:t,shouldHaveEmitted:e})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let e=(this._hasOwnPendingAsyncValidator?.emitEvent||this._hasOwnPendingAsyncValidator?.shouldHaveEmitted)??!1;return this._hasOwnPendingAsyncValidator=null,e}return!1}setErrors(e,t={}){this.errors=e,this._updateControlsErrors(t.emitEvent!==!1,this,t.shouldHaveEmitted)}get(e){let t=e;return t==null||(Array.isArray(t)||(t=t.split(".")),t.length===0)?null:t.reduce((i,r)=>i&&i._find(r),this)}getError(e,t){let i=t?this.get(t):this;return i&&i.errors?i.errors[e]:null}hasError(e,t){return!!this.getError(e,t)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e,t,i){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),(e||i)&&this._events.next(new k(this.status,t)),this._parent&&this._parent._updateControlsErrors(e,t,i)}_initObservables(){this.valueChanges=new A,this.statusChanges=new A}_calculateStatus(){return this._allControlsDisabled()?$:this.errors?ae:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(x)?x:this._anyControlsHaveStatus(ae)?ae:q}_anyControlsHaveStatus(e){return this._anyControls(t=>t.status===e)}
vendor: 19,930 bytes, line 1
1_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e,t){let i=!this._anyControlsDirty(),r=this.pristine!==i;this.pristine=i,this._parent&&!e.onlySelf&&this._parent._updatePristine(e,t),r&&this._events.next(new W(this.pristine,t))}_updateTouched(e={},t){this.touched=this._anyControlsTouched(),this._events.next(new z(this.touched,t)),this._parent&&!e.onlySelf&&this._parent._updateTouched(e,t)}_onDisabledChange=[];_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){ve(e)&&e.updateOn!=null&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){let t=this._parent&&this._parent.dirty;return!e&&!!t&&!this._parent._anyControlsDirty()}_find(e){return null}_assignValidators(e){this._rawValidators=Array.isArray(e)?e.slice():e,this._composedValidatorFn=en(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=tn(this._rawAsyncValidators)}},Z=class extends pe{constructor(e,t,i){super(yt(t),Ct(i,t)),this.controls=e,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(e,t){return this.controls[e]?this.controls[e]:(this.controls[e]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}addControl(e,t,i={}){this.registerControl(e,t),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(e,t={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}setControl(e,t,i={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],t&&this.registerControl(e,t),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,t={}){rn(this,!0,e),Object.keys(e).forEach(i=>{nn(this,!0,i),this.controls[i].setValue(e[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(e,t={}){e!=null&&(Object.keys(e).forEach(i=>{let r=this.controls[i];r&&r.patchValue(e[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(e={},t={}){this._forEachChild((i,r)=>{i.reset(e?e[r]:null,{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t,this),this._updateTouched(t,this),this.updateValueAndValidity(t)}getRawValue(){return this._reduceChildren({},(e,t,i)=>(e[i]=t.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(t,i)=>i._syncPendingControls()?!0:t);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){Object.keys(this.controls).forEach(t=>{let i=this.controls[t];i&&e(i,t)})}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(let[t,i]of Object.entries(this.controls))if(this.contains(t)&&e(i))return!0;return!1}_reduceValue(){let e={};return this._reduceChildren(e,(t,i,r)=>((i.enabled||this.disabled)&&(t[r]=i.value),t))}_reduceChildren(e,t){let i=e;return this._forEachChild((r,o)=>{i=t(i,r,o)}),i}_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 it=class extends Z{};var Y=new M("",{providedIn:"root",factory:()=>ye}),ye="always";function Ce(n,e){return[...e.path,n]}function ge(n,e,t=ye){Ne(n,e),e.valueAccessor.writeValue(n.value),(n.disabled||t==="always")&&e.valueAccessor.setDisabledState?.(n.disabled),sn(n,e),ln(n,e),an(n,e),on(n,e)}function rt(n,e,t=!0){let i=()=>{};e.valueAccessor&&(e.valueAccessor.registerOnChange(i),e.valueAccessor.registerOnTouched(i)),_e(n,e),n&&(e._invokeOnDestroyCallbacks(),n._registerOnCollectionChange(()=>{}))}function me(n,e){n.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(e)})}function on(n,e){if(e.valueAccessor.setDisabledState){let t=i=>{e.valueAccessor.setDisabledState(i)};n.registerOnDisabledChange(t),e._registerOnDestroy(()=>{n._unregisterOnDisabledChange(t)})}}function Ne(n,e){let t=_t(n);e.validator!==null?n.setValidators(et(t,e.validator)):typeof t=="function"&&n.setValidators([t]);let i=vt(n);e.asyncValidator!==null?n.setAsyncValidators(et(i,e.asyncValidator)):typeof i=="function"&&n.setAsyncValidators([i]);let r=()=>n.updateValueAndValidity();me(e._rawValidators,r),me(e._rawAsyncValidators,r)}function _e(n,e){let t=!1;if(n!==null){if(e.validator!==null){let r=_t(n);if(Array.isArray(r)&&r.length>0){let o=r.filter(a=>a!==e.validator);o.length!==r.length&&(t=!0,n.setValidators(o))}}if(e.asyncValidator!==null){let r=vt(n);if(Array.isArray(r)&&r.length>0){let o=r.filter(a=>a!==e.asyncValidator);o.length!==r.length&&(t=!0,n.setAsyncValidators(o))}}}let i=()=>{};return me(e._rawValidators,i),me(e._rawAsyncValidators,i),t}function sn(n,e){e.valueAccessor.registerOnChange(t=>{n._pendingValue=t,n._pendingChange=!0,n._pendingDirty=!0,n.updateOn==="change"&&bt(n,e)})}function an(n,e){e.valueAccessor.registerOnTouched(()=>{n._pendingTouched=!0,n.updateOn==="blur"&&n._pendingChange&&bt(n,e),n.updateOn!=="submit"&&n.markAsTouched()})}function bt(n,e){n._pendingDirty&&n.markAsDirty(),n.setValue(n._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(n._pendingValue),n._pendingChange=!1}function ln(n,e){let t=(i,r)=>{e.valueAccessor.writeValue(i),r&&e.viewToModelUpdate(i)};n.registerOnChange(t),e._registerOnDestroy(()=>{n._unregisterOnChange(t)})}function Vt(n,e){n==null,Ne(n,e)}function un(n,e){return _e(n,e)}function Dt(n,e){if(!n.hasOwnProperty("model"))return!1;let t=n.model;return t.isFirstChange()?!0:!Object.is(e,t.currentValue)}function cn(n){return Object.getPrototypeOf(n.constructor)===Ie}function Mt(n,e){n._syncPendingControls(),e.forEach(t=>{let i=t.control;i.updateOn==="submit"&&i._pendingChange&&(t.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}function At(n,e){if(!e)return null;Array.isArray(e);let t,i,r;return e.forEach(o=>{o.constructor===N?t=o:cn(o)?i=o:r=o}),r||i||t||null}function dn(n,e){let t=n.indexOf(e);t>-1&&n.splice(t,1)}var hn={provide:c,useExisting:p(()=>Pe)},L=Promise.resolve(),Pe=(()=>{class n extends c{callSetDisabledState;get submitted(){return y(this.submittedReactive)}_submitted=S(()=>this.submittedReactive());submittedReactive=I(!1);_directives=new Set;form;ngSubmit=new A;options;constructor(t,i,r){super(),this.callSetDisabledState=r,this.form=new Z({},xe(t),ke(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){L.then(()=>{let i=this._findContainer(t.path);t.control=i.registerControl(t.name,t.control),ge(t.control,t,this.callSetDisabledState),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){L.then(()=>{let i=this._findContainer(t.path);i&&i.removeControl(t.name),this._directives.delete(t)})}addFormGroup(t){L.then(()=>{let i=this._findContainer(t.path),r=new Z({});Vt(r,t),i.registerControl(t.name,r),r.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){L.then(()=>{let i=this._findContainer(t.path);i&&i.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,i){L.then(()=>{this.form.get(t.path).setValue(i)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submittedReactive.set(!0),Mt(this.form,this._directives),this.ngSubmit.emit(t),this.form._events.next(new he(this.control)),t?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submittedReactive.set(!1),this.form._events.next(new fe(this.form))}_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}static \u0275fac=function(i){return new(i||n)(s(P,10),s(R,10),s(Y,8))};static \u0275dir=u({type:n,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(i,r){i&1&&O("submit",function(a){return r.onSubmit(a)})("reset",function(){return r.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[g([hn]),l]})}return n})();function ot(n,e){let t=n.indexOf(e);t>-1&&n.splice(t,1)}function st(n){return typeof n=="object"&&n!==null&&Object.keys(n).length===2&&"value"in n&&"disabled"in n}var wt=class extends pe{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(e=null,t,i){super(yt(t),Ct(i,t)),this._applyFormState(e),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),ve(t)&&(t.nonNullable||t.initialValueIsDefault)&&(st(e)?this.defaultValue=e.value:this.defaultValue=e)}setValue(e,t={}){this.value=this._pendingValue=e,this._onChange.length&&t.emitModelToViewChange!==!1&&this._onChange.forEach(i=>i(this.value,t.emitViewToModelChange!==!1)),this.updateValueAndValidity(t)}patchValue(e,t={}){this.setValue(e,t)}reset(e=this.defaultValue,t={}){this._applyFormState(e),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){ot(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){ot(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){st(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 fn=n=>n instanceof wt,pn=(()=>{class n extends c{_parent;ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return Ce(this.name==null?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}static \u0275fac=(()=>{let t;return function(r){return(t||(t=_(n)))(r||n)}})();static \u0275dir=u({type:n,standalone:!1,features:[l]})}return n})();var gn={provide:m,useExisting:p(()=>mn)},at=Promise.resolve(),mn=(()=>{class n extends m{_changeDetectorRef;callSetDisabledState;control=new wt;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new A;constructor(t,i,r,o,a,Tt){super(),this._changeDetectorRef=a,this.callSetDisabledState=Tt,this._parent=t,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=At(this,o)}ngOnChanges(t){if(this._checkForErrors(),!this._registered||"name"in t){if(this._registered&&(this._checkName(),this.formDirective)){let i=t.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in t&&this._updateDisabled(t),Dt(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(){ge(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._checkName()}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(t){at.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(t){let i=t.isDisabled.currentValue,r=i!==0&&Xe(i);at.then(()=>{r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(t){return this._parent?Ce(t,this._parent):[t]}static \u0275fac=function(i){return new(i||n)(s(c,9),s(P,10),s(R,10),s(X,10),s(se,8),s(Y,8))};static \u0275dir=u({type:n,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],standalone:!1,features:[g([gn]),l,ee]})}return n})();var vi=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275dir=u({type:n,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""],standalone:!1})}return n})();var _n={provide:X,useExisting:p(()=>vn),multi:!0},vn=(()=>{class n extends Ie{writeValue(t){this.setProperty("value",parseFloat(t))}registerOnChange(t){this.onChange=i=>{t(i==""?null:parseFloat(i))}}static \u0275fac=(()=>{let t;return function(r){return(t||(t=_(n)))(r||n)}})();static \u0275dir=u({type:n,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(i,r){i&1&&O("change",function(a){return r.onChange(a.target.value)})("input",function(a){return r.onChange(a.target.value)})("blur",function(){return r.onTouched()})},standalone:!1,features:[g([_n]),l]})}return n})(),Et=new M("");var yn={provide:c,useExisting:p(()=>be)},be=(()=>{class n extends c{callSetDisabledState;get submitted(){return y(this._submittedReactive)}set submitted(t){this._submittedReactive.set(t)}_submitted=S(()=>this._submittedReactive());_submittedReactive=I(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];form=null;ngSubmit=new A;constructor(t,i,r){super(),this.callSetDisabledState=r,this._setValidators(t),this._setAsyncValidators(i)}ngOnChanges(t){t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(_e(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 i=this.form.get(t.path);return ge(i,t,this.callSetDisabledState),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),i}getControl(t){return this.form.get(t.path)}removeControl(t){rt(t.control||null,t,!1),dn(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,i){this.form.get(t.path).setValue(i)}onSubmit(t){return this._submittedReactive.set(!0),Mt(this.form,this.directives),this.ngSubmit.emit(t),this.form._events.next(new he(this.control)),t?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(t=void 0,i={}){this.form.reset(t,i),this._submittedReactive.set(!1),i?.emitEvent!==!1&&this.form._events.next(new fe(this.form))}_updateDomValue(){this.directives.forEach(t=>{let i=t.control,r=this.form.get(t.path);i!==r&&(rt(i||null,t),fn(r)&&(ge(r,t,this.callSetDisabledState),t.control=r))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){let i=this.form.get(t.path);Vt(i,t),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){let i=this.form.get(t.path);i&&un(i,t)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Ne(this.form,this),this._oldForm&&_e(this._oldForm,this)}static \u0275fac=function(i){return new(i||n)(s(P,10),s(R,10),s(Y,8))};static \u0275dir=u({type:n,selectors:[["","formGroup",""]],hostBindings:function(i,r){i&1&&O("submit",function(a){return r.onSubmit(a)})("reset",function(){return r.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[g([yn]),l,ee]})}return n})(),Cn={provide:c,useExisting:p(()=>Ft)},Ft=(()=>{class n extends pn{name=null;constructor(t,i,r){super(),this._parent=t,this._setValidators(i),this._setAsyncValidators(r)}_checkParentType(){Ot(this._parent)}static \u0275fac=function(i){return new(i||n)(s(c,13),s(P,10),s(R,10))};static \u0275dir=u({type:n,selectors:[["","formGroupName",""]],inputs:{name:[0,"formGroupName","name"]},standalone:!1,features:[g([Cn]),l]})}return n})(),bn={provide:c,useExisting:p(()=>It)},It=(()=>{class n extends c{_parent;name=null;constructor(t,i,r){super(),this._parent=t,this._setValidators(i),this._setAsyncValidators(r)}ngOnInit(){Ot(this._parent),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective?.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return Ce(this.name==null?this.name:this.name.toString(),this._parent)}static \u0275fac=function(i){return new(i||n)(s(c,13),s(P,10),s(R,10))};static \u0275dir=u({type:n,selectors:[["","formArrayName",""]],inputs:{name:[0,"formArrayName","name"]},standalone:!1,features:[g([bn]),l]})}return n})();function Ot(n){return!(n instanceof Ft)&&!(n instanceof be)&&!(n instanceof It)}var Vn={provide:m,useExisting:p(()=>Dn)},Dn=(()=>{class n extends m{_ngModelWarningConfig;_added=!1;viewModel;control;name=null;set isDisabled(t){}model;update=new A;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(t,i,r,o,a){super(),this._ngModelWarningConfig=a,this._parent=t,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=At(this,o)}ngOnChanges(t){this._added||this._setUpControl(),Dt(t,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}get path(){return Ce(this.name==null?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_setUpControl(){this.control=this.formDirective.addControl(this),this._added=!0}static \u0275fac=function(i){return new(i||n)(s(c,13),s(P,10),s(R,10),s(X,10),s(Et,8))};static \u0275dir=u({type:n,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},standalone:!1,features:[g([Vn]),l,ee]})}return n})();var St=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275mod=te({type:n});static \u0275inj=J({})}return n})();var xt=(()=>{class n{static withConfig(t){return{ngModule:n,providers:[{provide:Y,useValue:t.callSetDisabledState??ye}]}}static \u0275fac=function(i){return new(i||n)};static \u0275mod=te({type:n});
1static \u0275inj=J({imports:[St]})}return n})(),yi=(()=>{class n{static withConfig(t){return{ngModule:n,providers:[{provide:Et,useValue:t.warnOnNgModelWithFormControl??"always"},{provide:Y,useValue:t.callSetDisabledState??ye}]}}static \u0275fac=function(i){return new(i||n)};static \u0275mod=te({type:n});static \u0275inj=J({imports:[St]})}return n})();var An=["*"],kt=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=v({type:e,selectors:[["kb-label"]],ngContentSelectors:An,decls:1,vars:0,template:function(r,o){r&1&&(F(),d(0))},styles:["[_nghost-%COMP%]{display:inline;font-size:var(--kb-typography--size-normal);line-height:var(--kb-typography--height-normal)}"],changeDetection:0});let n=e;return n})();function wn(n,e=0){return Nt(n)?Number(n):arguments.length===2?e:0}function Nt(n){return!isNaN(parseFloat(n))&&!isNaN(Number(n))}function En(n){return n instanceof T?n.nativeElement:n}function Re(n){return n!=null&&`${n}`!="false"}var Fn=[[["kb-hint"]],[["kb-error"]]],In=["kb-hint","kb-error"];function On(n,e){n&1&&d(0)}function Sn(n,e){n&1&&d(0,1)}var xn=["hintElement"],kn=[[["kb-label"]],[["kb-hint"]],[["kb-error"]],"*"],Nn=["kb-label","kb-hint","kb-error","*"],Pn=0,Rn=(()=>{let e=class e{get name(){return this._name}set name(i){this._name=i,this.nameUpdated?.()}get disabled(){return this._disabled}set disabled(i){this.setDisabledState(Re(i))}get required(){return this._required?this._required:(this.topNgControl?.control?.hasValidator(Q.required)||this.topNgControl?.control?.hasValidator(Q.requiredTrue))??!1}set required(i){this._required=Re(i)}get showError(){return!!(this.topNgControl?.invalid&&(this.submitted||this.topNgControl?.touched))}constructor(){this.uniqueId=`${Pn++}`,this.submitted=!1,this._disabled=!1,this._required=!1,this.topNgControl=C(m,{optional:!0}),this.ngControl=C(m,{optional:!0,self:!0}),this.parentForm=C(Pe,{optional:!0}),this.parentFormGroup=C(be,{optional:!0}),this.ref=C(se),this.destroyRef=C(Ve),this.ngControl!=null&&(this.ngControl.valueAccessor=this),this.parentFormGroup?this.setupSubmittedChangeDetector(this.parentFormGroup):this.parentForm&&this.setupSubmittedChangeDetector(this.parentForm)}setupSubmittedChangeDetector(i){i.ngSubmit.pipe(Je(this.destroyRef)).subscribe(()=>{this.submitted=!0,this.ref.markForCheck()});let r=i.resetForm;i.resetForm=o=>{r.apply(i,[o]),this.submitted=!1,this.ref.markForCheck()}}setDisabledState(i){this._disabled=i,this.disabledAttribute=this.disabled?"disabled":void 0}};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=v({type:e,selectors:[["ng-component"]],hostVars:3,hostBindings:function(r,o){r&2&&(j("disabled",o.disabledAttribute),H("kb-submitted",o.submitted))},inputs:{name:"name",tabindex:"tabindex",disabled:"disabled",required:"required"},decls:0,vars:0,template:function(r,o){},encapsulation:2,changeDetection:0});let n=e;return n})(),Pt=(()=>{let e=class e extends Rn{ngAfterViewInit(){this.formControlChangedBeforeViewInit&&this.valueAccessor.registerOnChange(this.formControlChangedBeforeViewInit),this.formControlTouchedBeforeViewInit&&this.valueAccessor.registerOnTouched(this.formControlTouchedBeforeViewInit),this.valueBeforeViewInit!==void 0&&this.valueAccessor.writeValue(this.valueBeforeViewInit),this.valueAccessor.setDisabledState?.(this.disabled)}setDisabledState(i){super.setDisabledState(i),this.valueAccessor&&this.valueAccessor.setDisabledState?.(i)}convertTo(i){return i}convertFrom(i){return i}writeValue(i){let r=this.convertTo(i);this.valueAccessor?this.valueAccessor.writeValue(r):this.valueBeforeViewInit=r}registerOnChange(i){let r=o=>{i(this.convertFrom(o))};this.valueAccessor?this.valueAccessor.registerOnChange(r):this.formControlChangedBeforeViewInit=r}registerOnTouched(i){this.valueAccessor?this.valueAccessor.registerOnTouched(i):this.formControlTouchedBeforeViewInit=i}};e.\u0275fac=(()=>{let i;return function(o){return(i||(i=_(e)))(o||e)}})(),e.\u0275cmp=v({type:e,selectors:[["ng-component"]],features:[l],decls:0,vars:0,template:function(r,o){},encapsulation:2,changeDetection:0});let n=e;return n})(),Tn=0,jn=(()=>{let e=class e{constructor(){this.id=`kb-label-hint-${Tn++}`}};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=v({type:e,selectors:[["kb-control-hint"]],hostVars:1,hostBindings:function(r,o){r&2&&Le("id",o.id
1)},inputs:{showError:"showError"},ngContentSelectors:In,decls:3,vars:1,template:function(r,o){r&1&&(F(Fn),qe(0,"strong"),ne(1,On,1,0)(2,Sn,1,0),$e()),r&2&&(b(),ie(o.showError?2:1))},styles:["[_nghost-%COMP%]{font-size:var(--kb-typography--size-extra-extra-small);line-height:var(--kb-typography--height-extra-extra-small)}[_nghost-%COMP%] strong[_ngcontent-%COMP%]{font-weight:inherit;display:inline-flex;gap:var(--kb-gap--inner-row)}"],changeDetection:0});let n=e;return n})(),Gn=0,Rt=(()=>{let e=class e{constructor(){this.uniqueId=`${Gn++}`,this.labelId=`kb-control-container-label-${this.uniqueId}`}};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=v({type:e,selectors:[["kb-control-container"]],viewQuery:function(r,o){if(r&1&&G(xn,5),r&2){let a;B(a=U())&&(o.hintElement=a.first)}},inputs:{controlId:"controlId",showError:"showError"},ngContentSelectors:Nn,decls:8,vars:3,consts:[["hintElement",""],[1,"label-line"],[3,"id","for"],[3,"showError"]],template:function(r,o){r&1&&(F(kn),w(0,"div",1)(1,"label",2),d(2),E(),w(3,"kb-control-hint",3,0),d(5,1,["ngProjectAs","kb-hint",5,["kb-hint"]]),d(6,2,["ngProjectAs","kb-error",5,["kb-error"]]),E()(),d(7,3)),r&2&&(b(),V("id",o.labelId)("for",o.controlId),b(2),V("showError",o.showError))},dependencies:[jn],styles:["[_nghost-%COMP%]{display:inline-flex;transition:color var(--kb-speed--slow);flex-direction:column;justify-content:flex-end;gap:var(--kb-gap--outer-column--related) var(--kb-gap--outer-row--related);width:100%}[_nghost-%COMP%] .label-line[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:baseline;gap:var(--kb-gap--inner-row);padding:0 .125rem}[_nghost-%COMP%] .label-line[_ngcontent-%COMP%] kb-control-hint[_ngcontent-%COMP%]{flex-shrink:0}"],changeDetection:0});let n=e;return n})();var Bn=["input"],Un=["*",[["kb-hint"]],[["kb-error"]],[["","slot","trailer"]]],Hn=["*","kb-hint","kb-error","[slot='trailer']"],qn=n=>({controlContainerElement:n});function $n(n,e){n&1&&Ae(0)}function Ln(n,e){if(n&1&&(w(0,"kb-control-container",3,1),Me(2,$n,1,0,"ng-container",5),w(3,"kb-label"),d(4),We(5),E(),d(6,1,["ngProjectAs","kb-hint",5,["kb-hint"]]),d(7,2,["ngProjectAs","kb-error",5,["kb-error"]]),E()),n&2){let t=oe(1),i=re(),r=oe(3);V("showError",i.showError)("controlId",i.controlId),b(2),V("ngTemplateOutlet",r)("ngTemplateOutletContext",Qe(5,qn,t)),b(3),ze(" ",i.required&&i.showRequired?" *":"")}}function Wn(n,e){if(n&1&&Ae(0,4),n&2){re();let t=oe(3);V("ngTemplateOutlet",t)}}function zn(n,e){if(n&1&&(w(0,"label",6),He(1,"input",7,2),d(3,3),E()),n&2){let t=e.controlContainerElement,i=re();b(),V("id",i.controlId)("tabindex",i.tabindex)("name",i.name),j("aria-label",i.ariaLabel)("aria-describedby",t?t.hintElement==null?null:t.hintElement.id:null)("type",i.type)("autocomplete",i.autocomplete)("placeholder",i.placeholder)("required",i.required?"":null)("step",i.step)("min",i.min)("max",i.max)}}var Ui=(()=>{let e=class e extends Pt{constructor(){super(...arguments),this.controlId=`kb-input-${this.uniqueId}`,this.standalone=!1,this.showRequired=!0}};e.\u0275fac=(()=>{let i;return function(o){return(i||(i=_(e)))(o||e)}})(),e.\u0275cmp=v({type:e,selectors:[["kb-input"]],viewQuery:function(r,o){if(r&1&&(G(N,5),G(Bn,5)),r&2){let a;B(a=U())&&(o.valueAccessor=a.first),B(a=U())&&(o.inputElement=a.first)}},inputs:{on:"on",placeholder:"placeholder",type:"type",standalone:"standalone",showRequired:"showRequired",ariaLabel:"ariaLabel",autocomplete:"autocomplete",step:"step",min:"min",max:"max"},features:[l],ngContentSelectors:Hn,decls:4,vars:1,consts:[["inputTemplate",""],["controlContainerElement",""],["input",""],[3,"showError","controlId"],[3,"ngTemplateOutlet"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"input-container"],["ngDefaultControl","",3,"id","tabindex","name"]],template:function(r,o){r&1&&(F(Un),ne(0,Ln,8,7,"kb-control-container",3)(1,Wn,1,1,"ng-container",4),Me(2,zn,4,12,"ng-template",null,0,Ze)),r&2&&ie(o.standalone?1:0)},dependencies:[Ke,Ye,xt,N,Rt,kt],styles:["[_nghost-%COMP%]{display:inline-block;font-size:var(--kb-typography--size-normal);line-height:var(--kb-typography--height-normal)}[_nghost-%COMP%] kb-control-container[_ngcontent-%COMP%]{width:100%;height:100%}[disabled][_nghost-%COMP%] .input-container[_ngcontent-%COMP%]{cursor:not-allowed;background-color:var(--kb-color--secondary--surface-disabled);color:var(--kb-color--on-secondary--surface-disabled)}[disabled][_nghost-%COMP%] .input-container[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{cursor:inherit}[_nghost-%COMP%] .input-container[_ngcontent-%COMP%]{border:.0625rem solid var(--kb-color--on-background--low-variant)}[_nghost-%COMP%]{color:var(--kb-color--on-background)}[on=background][_nghost-%COMP%]{color:var(--kb-color--on-background--high)}.ng-invalid.ng-touched[_nghost-%COMP%], .ng-invalid.kb-submitted[_nghost-%COMP%]{color:var(--kb-color--on-background--error)}.ng-invalid.ng-touched[_nghost-%COMP%] .input-container[_ngcontent-%COMP%] input[_ngcontent-%COMP%]::placeholder, .ng-invalid.kb-submitted[_nghost-%COMP%] .input-container[_ngcontent-%COMP%] input[_ngcontent-%COMP%]::placeholder{color:var(--kb-color--on-background--error-low)}[_nghost-%COMP%] .input-container[_ngcontent-%COMP%]{width:100%;display:inline-flex;background-color:var(--kb-color--background);padding:var(--kb-gap--inner-column--text) var(--kb-gap--inner-row);gap:var(--kb-gap--inner-row--text);box-sizing:border-box;
1cursor:pointer;outline-offset:calc(var(--kb-width--outline) * -1);outline-width:var(--kb-width--outline)}[_nghost-%COMP%] .input-container[_ngcontent-%COMP%]:focus-within{outline-style:solid;outline-color:var(--kb-color--on-secondary--low)}[_nghost-%COMP%] .input-container[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{width:100%;min-width:5ch;padding:0;color:inherit;font-family:inherit;font-size:inherit;line-height:inherit;background-color:inherit;border:none}[_nghost-%COMP%] .input-container[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:focus{outline:none}[_nghost-%COMP%] .input-container[_ngcontent-%COMP%] input[_ngcontent-%COMP%]::placeholder{color:var(--kb-color--on-background--low)}[_nghost-%COMP%] .input-container[_ngcontent-%COMP%] input[_ngcontent-%COMP%]::-webkit-search-cancel-button{-webkit-appearance:none}"],changeDetection:0});let n=e;return n})();export{Gt as a,N as b,Q as c,m as d,gi as e,mi as f,Z as g,it as h,wt as i,mn as j,vi as k,vn as l,be as m,Ft as n,Dn as o,xt as p,yi as q,wn as r,En as s,Re as t,Rn as u,Pt as v,jn as w,Rt as x,kt as y,Ui as z}; 2/**i18n:9b2f1e34af068233b6abd63a66684d4e9dbff90014448b8ec97e38af3af71f01*/ 3//# sourceMappingURL=chunk-UEE7DFF5.js.map
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.