1import{C as Tt,w as Pt}from"./chunk-AGWDCDCQ.js";import{Aa as k,Ab as Mt,Bb as Ft,Bc as at,C as _t,Cc as Ot,Ea as R,Fa as N,Ha as Dt,Sa as u,Vb as D,Wb as St,Xc as xt,Ya as H,Za as wt,a as b,b as A,bb as m,ca as U,cb as Et,da as V,ea as Ct,fa as S,ha as M,hb as At,kb as ot,mc as It,na as v,oa as bt,pa as I,qa as f,r as yt,ra as Vt,tc as Nt,va as T,vc as q,w as vt,yb as $}from"./chunk-VX5U5IHC.js";var $t=(()=>{class n{constructor(t,e){this._renderer=t,this._elementRef=e,this.onChange=r=>{},this.onTouched=()=>{}}setProperty(t,e){this._renderer.setProperty(this._elementRef.nativeElement,t,e)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}static{this.\u0275fac=function(e){return new(e||n)(u(H),u(R))}}static{this.\u0275dir=f({type:n})}}return n})(),qt=(()=>{class n extends $t{static{this.\u0275fac=(()=>{let t;return function(r){return(t||(t=k(n)))(r||n)}})()}static{this.\u0275dir=f({type:n,features:[m]})}}return n})(),et=new M(""),Ce={provide:et,useExisting:V(()=>be),multi:!0},be=(()=>{class n extends qt{writeValue(t){this.setProperty("checked",t)}static{this.\u0275fac=(()=>{let t;return function(r){return(t||(t=k(n)))(r||n)}})()}static{this.\u0275dir=f({type:n,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(e,r){e&1&&$("change",function(o){return r.onChange(o.target.checked)})("blur",function(){return r.onTouched()})},features:[D([Ce]),m]})}}return n})(),Ve={provide:et,useExisting:V(()=>zt),multi:!0};function De(){let n=at()?at().getUserAgent():"";return/android (\d+)/.test(n.toLowerCase())}var we=new M(""),zt=(()=>{class n extends $t{constructor(t,e,r){super(t,e),this._compositionMode=r,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!De())}writeValue(t){let e=t??"";this.setProperty("value",e)}_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{this.\u0275fac=function(e){return new(e||n)(u(H),u(R),u(we,8))}}static{this.\u0275dir=f({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(e,r){e&1&&$("input",function(o){return r._handleInput(o.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(o){return r._compositionEnd(o.target.value)})},features:[D([Ve]),m]})}}return n})();function E(n){return n==null||(typeof n=="string"||Array.isArray(n))&&n.length===0}function Zt(n){return n!=null&&typeof n.length=="number"}var P=new M(""),j=new M(""),Ee=/^(?=.{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])?)*$/,kt=class{static min(i){return Ae(i)}static max(i){return Me(i)}static required(i){return Fe(i)}static requiredTrue(i){return Se(i)}static email(i){return Ie(i)}static minLength(i){return Ne(i)}static maxLength(i){return Xt(i)}static pattern(i){return Oe(i)}static nullValidator(i){return Z(i)}static compose(i){return ee(i)}static composeAsync(i){return ne(i)}};function Ae(n){return i=>{if(E(i.value)||E(n))return null;let t=parseFloat(i.value);return!isNaN(t)&&t<n?{min:{min:n,actual:i.value}}:null}}function Me(n){return i=>{if(E(i.value)||E(n))return null;let t=parseFloat(i.value);return!isNaN(t)&&t>n?{max:{max:n,actual:i.value}}:null}}function Fe(n){return E(n.value)?{required:!0}:null}function Se(n){return n.value===!0?null:{required:!0}}function Ie(n){return E(n.value)||Ee.test(n.value)?null:{email:!0}}function Ne(n){return i=>E(i.value)||!Zt(i.value)?null:i.value.length<n?{minlength:{requiredLength:n,actualLength:i.value.length}}:null}function Xt(n){return i=>Zt(i.value)&&i.value.length>n?{maxlength:{requiredLength:n,actualLength:i.value.length}}:null}function Oe(n){if(!n)return Z;let i,t;return typeof n=="string"?(t="",n.charAt(0)!=="^"&&(t+="^"),t+=n,n.charAt(n.length-1)!=="$"&&(t+="$"),i=new RegExp(t)):(t=n.toString(),i=n),e=>{if(E(e.value))return null;let r=e.value;return i.test(r)?null:{pattern:{requiredPattern:t,actualValue:r}}}}function Z(n){return null}function Yt(n){return n!=null}function Kt(n){return It(n)?yt(n):n}function Jt(n){let i={};
1return n.forEach(t=>{i=t!=null?b(b({},i),t):i}),Object.keys(i).length===0?null:i}function Qt(n,i){return i.map(t=>t(n))}function xe(n){return!n.validate}function te(n){return n.map(i=>xe(i)?i:t=>i.validate(t))}function ee(n){if(!n)return null;let i=n.filter(Yt);return i.length==0?null:function(t){return Jt(Qt(t,i))}}function ie(n){return n!=null?ee(te(n)):null}function ne(n){if(!n)return null;let i=n.filter(Yt);return i.length==0?null:function(t){let e=Qt(t,i).map(Kt);return _t(e).pipe(vt(Jt))}}function re(n){return n!=null?ne(te(n)):null}function Rt(n,i){return n===null?[i]:Array.isArray(n)?[...n,i]:[n,i]}function se(n){return n._rawValidators}function oe(n){return n._rawAsyncValidators}function lt(n){return n?Array.isArray(n)?n:[n]:[]}function X(n,i){return Array.isArray(n)?n.includes(i):n===i}function Ht(n,i){let t=lt(i);return lt(n).forEach(r=>{X(t,r)||t.push(r)}),t}function Gt(n,i){return lt(i).filter(t=>!X(n,t))}var Y=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(i){this._rawValidators=i||[],this._composedValidatorFn=ie(this._rawValidators)}_setAsyncValidators(i){this._rawAsyncValidators=i||[],this._composedAsyncValidatorFn=re(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(i){this._onDestroyCallbacks.push(i)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(i=>i()),this._onDestroyCallbacks=[]}reset(i=void 0){this.control&&this.control.reset(i)}hasError(i,t){return this.control?this.control.hasError(i,t):!1}getError(i,t){return this.control?this.control.getError(i,t):null}},y=class extends Y{get formDirective(){return null}get path(){return null}},F=class extends Y{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},K=class{constructor(i){this._cd=i}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}},Pe={"[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"},wi=A(b({},Pe),{"[class.ng-submitted]":"isSubmitted"}),Ei=(()=>{class n extends K{constructor(t){super(t)}static{this.\u0275fac=function(e){return new(e||n)(u(F,2))}}static{this.\u0275dir=f({type:n,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,r){e&2&&ot("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)},features:[m]})}}return n})(),Ai=(()=>{class n extends K{constructor(t){super(t)}static{this.\u0275fac=function(e){return new(e||n)(u(y,10))}}static{this.\u0275dir=f({type:n,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(e,r){e&2&&ot("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)},features:[m]})}}return n})();var G="VALID",z="INVALID",O="PENDING",B="DISABLED";function ft(n){return(it(n)?n.validators:n)||null}function Te(n){return Array.isArray(n)?ie(n):n||null}function pt(n,i){return(it(i)?i.asyncValidators:n)||null}function ke(n){return Array.isArray(n)?re(n):n||null}function it(n){return n!=null&&!Array.isArray(n)&&typeof n=="object"}function ae(n,i,t){let e=n.controls;if(!(i?Object.keys(e):e).length)throw new U(1e3,"");if(!e[t])throw new U(1001,"")}
1function le(n,i,t){n._forEachChild((e,r)=>{if(t[r]===void 0)throw new U(1002,"")})}var x=class{constructor(i,t){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(i),this._assignAsyncValidators(t)}get validator(){return this._composedValidatorFn}set validator(i){this._rawValidators=this._composedValidatorFn=i}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(i){this._rawAsyncValidators=this._composedAsyncValidatorFn=i}get parent(){return this._parent}get valid(){return this.status===G}get invalid(){return this.status===z}get pending(){return this.status==O}get disabled(){return this.status===B}get enabled(){return this.status!==B}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(i){this._assignValidators(i)}setAsyncValidators(i){this._assignAsyncValidators(i)}addValidators(i){this.setValidators(Ht(i,this._rawValidators))}addAsyncValidators(i){this.setAsyncValidators(Ht(i,this._rawAsyncValidators))}removeValidators(i){this.setValidators(Gt(i,this._rawValidators))}removeAsyncValidators(i){this.setAsyncValidators(Gt(i,this._rawAsyncValidators))}hasValidator(i){return X(this._rawValidators,i)}hasAsyncValidator(i){return X(this._rawAsyncValidators,i)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(i={}){this.touched=!0,this._parent&&!i.onlySelf&&this._parent.markAsTouched(i)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(i=>i.markAllAsTouched())}markAsUntouched(i={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(t=>{t.markAsUntouched({onlySelf:!0})}),this._parent&&!i.onlySelf&&this._parent._updateTouched(i)}markAsDirty(i={}){this.pristine=!1,this._parent&&!i.onlySelf&&this._parent.markAsDirty(i)}markAsPristine(i={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(t=>{t.markAsPristine({onlySelf:!0})}),this._parent&&!i.onlySelf&&this._parent._updatePristine(i)}markAsPending(i={}){this.status=O,i.emitEvent!==!1&&this.statusChanges.emit(this.status),this._parent&&!i.onlySelf&&this._parent.markAsPending(i)}disable(i={}){let t=this._parentMarkedDirty(i.onlySelf);this.status=B,this.errors=null,this._forEachChild(e=>{e.disable(A(b({},i),{onlySelf:!0}))}),this._updateValue(),i.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(A(b({},i),{skipPristineCheck:t})),this._onDisabledChange.forEach(e=>e(!0))}enable(i={}){let t=this._parentMarkedDirty(i.onlySelf);this.status=G,this._forEachChild(e=>{e.enable(A(b({},i),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:i.emitEvent}),this._updateAncestors(A(b({},i),{skipPristineCheck:t})),this._onDisabledChange.forEach(e=>e(!1))}_updateAncestors(i){this._parent&&!i.onlySelf&&(this._parent.updateValueAndValidity(i),i.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(i){this._parent=i}getRawValue(){return this.value}updateValueAndValidity(i={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===G||this.status===O)&&this._runAsyncValidator(i.emitEvent)),i.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!i.onlySelf&&this._parent.updateValueAndValidity(i)}_updateTreeValidity(i={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(i)),this.updateValueAndValidity({onlySelf:!0,emitEvent:i.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?B:G}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(i){if(this.asyncValidator){this.status=O,this._hasOwnPendingAsyncValidator=!0;let t=Kt(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(e=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(e,{emitEvent:i})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(i,t={}){this.errors=i,this._updateControlsErrors(t.emitEvent!==!1)}get(i){let t=i;
1return t==null||(Array.isArray(t)||(t=t.split(".")),t.length===0)?null:t.reduce((e,r)=>e&&e._find(r),this)}getError(i,t){let e=t?this.get(t):this;return e&&e.errors?e.errors[i]:null}hasError(i,t){return!!this.getError(i,t)}get root(){let i=this;for(;i._parent;)i=i._parent;return i}_updateControlsErrors(i){this.status=this._calculateStatus(),i&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(i)}_initObservables(){this.valueChanges=new N,this.statusChanges=new N}_calculateStatus(){return this._allControlsDisabled()?B:this.errors?z:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(O)?O:this._anyControlsHaveStatus(z)?z:G}_anyControlsHaveStatus(i){return this._anyControls(t=>t.status===i)}_anyControlsDirty(){return this._anyControls(i=>i.dirty)}_anyControlsTouched(){return this._anyControls(i=>i.touched)}_updatePristine(i={}){this.pristine=!this._anyControlsDirty(),this._parent&&!i.onlySelf&&this._parent._updatePristine(i)}_updateTouched(i={}){this.touched=this._anyControlsTouched(),this._parent&&!i.onlySelf&&this._parent._updateTouched(i)}_registerOnCollectionChange(i){this._onCollectionChange=i}_setUpdateStrategy(i){it(i)&&i.updateOn!=null&&(this._updateOn=i.updateOn)}_parentMarkedDirty(i){let t=this._parent&&this._parent.dirty;return!i&&!!t&&!this._parent._anyControlsDirty()}_find(i){return null}_assignValidators(i){this._rawValidators=Array.isArray(i)?i.slice():i,this._composedValidatorFn=Te(this._rawValidators)}_assignAsyncValidators(i){this._rawAsyncValidators=Array.isArray(i)?i.slice():i,this._composedAsyncValidatorFn=ke(this._rawAsyncValidators)}},J=class extends x{constructor(i,t,e){super(ft(t),pt(e,t)),this.controls=i,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(i,t){return this.controls[i]?this.controls[i]:(this.controls[i]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}addControl(i,t,e={}){this.registerControl(i,t),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}removeControl(i,t={}){this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),delete this.controls[i],this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}setControl(i,t,e={}){this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),delete this.controls[i],t&&this.registerControl(i,t),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}contains(i){return this.controls.hasOwnProperty(i)&&this.controls[i].enabled}setValue(i,t={}
vendor: 3,728 bytes, line 1
1){le(this,!0,i),Object.keys(i).forEach(e=>{ae(this,!0,e),this.controls[e].setValue(i[e],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(i,t={}){i!=null&&(Object.keys(i).forEach(e=>{let r=this.controls[e];r&&r.patchValue(i[e],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(i={},t={}){this._forEachChild((e,r)=>{e.reset(i?i[r]:null,{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this._reduceChildren({},(i,t,e)=>(i[e]=t.getRawValue(),i))}_syncPendingControls(){let i=this._reduceChildren(!1,(t,e)=>e._syncPendingControls()?!0:t);return i&&this.updateValueAndValidity({onlySelf:!0}),i}_forEachChild(i){Object.keys(this.controls).forEach(t=>{let e=this.controls[t];e&&i(e,t)})}_setUpControls(){this._forEachChild(i=>{i.setParent(this),i._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(i){for(let[t,e]of Object.entries(this.controls))if(this.contains(t)&&i(e))return!0;return!1}_reduceValue(){let i={};return this._reduceChildren(i,(t,e,r)=>((e.enabled||this.disabled)&&(t[r]=e.value),t))}_reduceChildren(i,t){let e=i;return this._forEachChild((r,s)=>{e=t(e,r,s)}),e}_allControlsDisabled(){for(let i of Object.keys(this.controls))if(this.controls[i].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(i){return this.controls.hasOwnProperty(i)?this.controls[i]:null}};var ut=class extends J{};var nt=new M("CallSetDisabledState",{providedIn:"root",factory:()=>rt}),rt="always";function st(n,i){return[...i.path,n]}function dt(n,i,t=rt){gt(n,i),i.valueAccessor.writeValue(n.value),(n.disabled||t==="always")&&i.valueAccessor.setDisabledState?.(n.disabled),He(n,i),Be(n,i),Ge(n,i),Re(n,i)}function Bt(n,i,t=!0){let e=()=>{};i.valueAccessor&&(i.valueAccessor.registerOnChange(e),i.valueAccessor.registerOnTouched(e)),tt(n,i),n&&(i._invokeOnDestroyCallbacks(),n._registerOnCollectionChange(()=>{}))}function Q(n,i){n.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(i)})}function Re(n,i){if(i.valueAccessor.setDisabledState){let t=e=>{i.valueAccessor.setDisabledState(e)};n.registerOnDisabledChange(t),i._registerOnDestroy(()=>{n._unregisterOnDisabledChange(t)})}}function gt(n,i){let t=se(n);i.validator!==null?n.setValidators(Rt(t,i.validator)):typeof t=="function"&&n.setValidators([t]);let e=oe(n);i.asyncValidator!==null?n.setAsyncValidators(Rt(e,i.asyncValidator)):typeof e=="function"&&n.setAsyncValidators([e]);let r=()=>n.updateValueAndValidity();Q(i._rawValidators,r),Q(i._rawAsyncValidators,r)}function tt(n,i){let t=!1;if(n!==null){if(i.validator!==null){let r=se(n);if(Array.isArray(r)&&r.length>0){let s=r.filter(o=>o!==i.validator);s.length!==r.length&&(t=!0,n.setValidators(s))}}if(i.asyncValidator!==null){let r=oe(n);if(Array.isArray(r)&&r.length>0){let s=r.filter(o=>o!==i.asyncValidator);s.length!==r.length&&(t=!0,n.setAsyncValidators(s))}}}let e=()=>{};return Q(i._rawValidators,e),Q(i._rawAsyncValidators,e),t}function He(n,i){i.valueAccessor.registerOnChange(t=>{n._pendingValue=t,n._pendingChange=!0,n._pendingDirty=!0,n.updateOn==="change"&&ue(n,i)})}function Ge(n,i){i.valueAccessor.registerOnTouched(()=>{n._pendingTouched=!0,n.updateOn==="blur"&&n._pendingChange&&ue(n,i),n.updateOn!=="submit"&&n.markAsTouched()})}function ue(n,i){n._pendingDirty&&n.markAsDirty(),n.setValue(n._pendingValue,{emitModelToViewChange:!1}),i.viewToModelUpdate(n._pendingValue),n._pendingChange=!1}function Be(n,i){let t=(e,r)=>{i.valueAccessor.writeValue(e),r&&i.viewToModelUpdate(e)};n.registerOnChange(t),i._registerOnDestroy(()=>{n._unregisterOnChange(t)}
1)}function Le(n,i){n==null,gt(n,i)}function je(n,i){return tt(n,i)}function de(n,i){if(!n.hasOwnProperty("model"))return!1;let t=n.model;return t.isFirstChange()?!0:!Object.is(i,t.currentValue)}function We(n){return Object.getPrototypeOf(n.constructor)===qt}function Ue(n,i){n._syncPendingControls(),i.forEach(t=>{let e=t.control;e.updateOn==="submit"&&e._pendingChange&&(t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)})}function ce(n,i){if(!i)return null;Array.isArray(i);let t,e,r;return i.forEach(s=>{s.constructor===zt?t=s:We(s)?e=s:r=s}),r||e||t||null}function $e(n,i){let t=n.indexOf(i);t>-1&&n.splice(t,1)}function Lt(n,i){let t=n.indexOf(i);t>-1&&n.splice(t,1)}function jt(n){return typeof n=="object"&&n!==null&&Object.keys(n).length===2&&"value"in n&&"disabled"in n}var L=class extends x{constructor(i=null,t,e){super(ft(t),pt(e,t)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(i),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),it(t)&&(t.nonNullable||t.initialValueIsDefault)&&(jt(i)?this.defaultValue=i.value:this.defaultValue=i)}setValue(i,t={}){this.value=this._pendingValue=i,this._onChange.length&&t.emitModelToViewChange!==!1&&this._onChange.forEach(e=>e(this.value,t.emitViewToModelChange!==!1)),this.updateValueAndValidity(t)}patchValue(i,t={}){this.setValue(i,t)}reset(i=this.defaultValue,t={}){this._applyFormState(i),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}_updateValue(){}_anyControls(i){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(i){this._onChange.push(i)}_unregisterOnChange(i){Lt(this._onChange,i)}registerOnDisabledChange(i){this._onDisabledChange.push(i)}_unregisterOnDisabledChange(i){Lt(this._onDisabledChange,i)}_forEachChild(i){}_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(i){jt(i)?(this.value=this._pendingValue=i.value,i.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=i}};var qe=n=>n instanceof L,ze=(()=>{class n extends y{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return st(this.name==null?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}static{this.\u0275fac=(()=>{let t;return function(r){return(t||(t=k(n)))(r||n)}})()}static{this.\u0275dir=f({type:n,features:[m]})}}return n})();var Ze={provide:F,useExisting:V(()=>Xe)},Wt=Promise.resolve(),Xe=(()=>{class n extends F{constructor(t,e,r,s,o,a){super(),this._changeDetectorRef=o,this.callSetDisabledState=a,this.control=new L,this._registered=!1,this.name="",this.update=new N,this._parent=t,this._setValidators(e),this._setAsyncValidators(r),this.valueAccessor=ce(this,s)}ngOnChanges(t){if(this._checkForErrors(),!this._registered||"name"in t){if(this._registered&&(this._checkName(),this.formDirective)){let e=t.name.previousValue;this.formDirective.removeControl({name:e,path:this._getPath(e)})}this._setUpControl()}"isDisabled"in t&&this._updateDisabled(t),de(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(){dt(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){Wt.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(t){let e=t.isDisabled.currentValue,r=e!==0&&q(e);Wt.then(()=>{r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(t){return this._parent?st(t,this._parent):[t]}static{this.\u0275fac=function(e){return new(e||n)(u(y,9),u(P,10),u(j,10),u(et,10),u(Nt,8),u(nt,8))}}static{this.\u0275dir=f({type:n,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:[D([Ze]),m,T]})}}return n})(),Fi=(()=>{class n{static{this.\u0275fac=function(e){return new(e||n)}}static{this.\u0275dir=f({type:n,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}}return n})();var he=new M("");var Ye={provide:y,useExisting:V(()=>fe)},fe=(()=>{class n extends y{constructor(t,e,r){super(),this.callSetDisabledState=r,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new N,this._setValidators(t),this._setAsyncValidators(e)}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateV
1alidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(tt(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 e=this.form.get(t.path);return dt(e,t,this.callSetDisabledState),e.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),e}getControl(t){return this.form.get(t.path)}removeControl(t){Bt(t.control||null,t,!1),$e(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,e){this.form.get(t.path).setValue(e)}onSubmit(t){return this.submitted=!0,Ue(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 e=t.control,r=this.form.get(t.path);e!==r&&(Bt(e||null,t),qe(r)&&(dt(r,t,this.callSetDisabledState),t.control=r))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){let e=this.form.get(t.path);Le(e,t),e.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){let e=this.form.get(t.path);e&&je(e,t)&&e.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){gt(this.form,this),this._oldForm&&tt(this._oldForm,this)}_checkFormPresent(){this.form}static{this.\u0275fac=function(e){return new(e||n)(u(P,10),u(j,10),u(nt,8))}}static{this.\u0275dir=f({type:n,selectors:[["","formGroup",""]],hostBindings:function(e,r){e&1&&$("submit",function(o){return r.onSubmit(o)})("reset",function(){return r.onReset()})},inputs:{form:[v.None,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[D([Ye]),m,T]})}}return n})(),Ke={provide:y,useExisting:V(()=>pe)},pe=(()=>{class n extends ze{constructor(t,e,r){super(),this.name=null,this._parent=t,this._setValidators(e),this._setAsyncValidators(r)}_checkParentType(){me(this._parent)}static{this.\u0275fac=function(e){return new(e||n)(u(y,13),u(P,10),u(j,10))}}static{this.\u0275dir=f({type:n,selectors:[["","formGroupName",""]],inputs:{name:[v.None,"formGroupName","name"]},features:[D([Ke]),m]})}}return n})(),Je={provide:y,useExisting:V(()=>ge)},ge=(()=>{class n extends y{constructor(t,e,r){super(),this.name=null,this._parent=t,this._setValidators(e),this._setAsyncValidators(r)}ngOnInit(){this._checkParentType(),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return st(this.name==null?this.name:this.name.toString(),this._parent)}_checkParentType(){me(this._parent)}static{this.\u0275fac=function(e){return new(e||n)(u(y,13),u(P,10),u(j,10))}}static{this.\u0275dir=f({type:n,selectors:[["","formArrayName",""]],inputs:{name:[v.None,"formArrayName","name"]},features:[D([Je]),m]})}}return n})();function me(n){return!(n instanceof pe)&&!(n instanceof fe)&&!(n instanceof ge)}var Qe={provide:F,useExisting:V(()=>ti)},ti=(()=>{class n extends F{set isDisabled(t){}static{this._ngModelWarningSentOnce=!1}constructor(t,e,r,s,o){super(),this._ngModelWarningConfig=o,this._added=!1,this.name=null,this.update=new N,this._ngModelWarningSent=!1,this._parent=t,this._setValidators(e),this._setAsyncValidators(r),this.valueAccessor=ce(this,s)}ngOnChanges(t){this._added||this._setUpControl(),de(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 st(this.name==null?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}static{this.\u0275fac=function(e){return new(e||n)(u(y,13),u(P,10),u(j,10),u(et,10),u(he,8))}}static{this.\u0275dir=f({type:n,selectors:[["","formControlName",""]],inputs:{name:[v.None,"formControlName","name"],isDisabled:[v.None,"disabled","isDisabled"],model:[v.None,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[D([Qe]),m,T]})}}return n})();function ei(n){return typeof n=="number"?n:parseInt(n,10)}var ii=(()=>
1{class n{constructor(){this._validator=Z}ngOnChanges(t){if(this.inputName in t){let e=this.normalizeInput(t[this.inputName].currentValue);this._enabled=this.enabled(e),this._validator=this._enabled?this.createValidator(e):Z,this._onChange&&this._onChange()}}validate(t){return this._validator(t)}registerOnValidatorChange(t){this._onChange=t}enabled(t){return t!=null}static{this.\u0275fac=function(e){return new(e||n)}}static{this.\u0275dir=f({type:n,features:[T]})}}return n})();var ni={provide:P,useExisting:V(()=>ri),multi:!0},ri=(()=>{class n extends ii{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=t=>ei(t),this.createValidator=t=>Xt(t)}static{this.\u0275fac=(()=>{let t;return function(r){return(t||(t=k(n)))(r||n)}})()}static{this.\u0275dir=f({type:n,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(e,r){e&2&&At("maxlength",r._enabled?r.maxlength:null)},inputs:{maxlength:"maxlength"},features:[D([ni]),m]})}}return n})();var ye=(()=>{class n{static{this.\u0275fac=function(e){return new(e||n)}}static{this.\u0275mod=I({type:n})}static{this.\u0275inj=S({})}}return n})(),ct=class extends x{constructor(i,t,e){super(ft(t),pt(e,t)),this.controls=i,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(i){return this.controls[this._adjustIndex(i)]}push(i,t={}){this.controls.push(i),this._registerControl(i),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}insert(i,t,e={}){this.controls.splice(i,0,t),this._registerControl(t),this.updateValueAndValidity({emitEvent:e.emitEvent})}removeAt(i,t={}){let e=this._adjustIndex(i);e<0&&(e=0),this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),this.controls.splice(e,1),this.updateValueAndValidity({emitEvent:t.emitEvent})}setControl(i,t,e={}){let r=this._adjustIndex(i);r<0&&(r=0),this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),this.controls.splice(r,1),t&&(this.controls.splice(r,0,t),this._registerControl(t)),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(i,t={}
1){le(this,!1,i),i.forEach((e,r)=>{ae(this,!1,r),this.at(r).setValue(e,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(i,t={}){i!=null&&(i.forEach((e,r)=>{this.at(r)&&this.at(r).patchValue(e,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(i=[],t={}){this._forEachChild((e,r)=>{e.reset(i[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this.controls.map(i=>i.getRawValue())}clear(i={}){this.controls.length<1||(this._forEachChild(t=>t._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:i.emitEvent}))}_adjustIndex(i){return i<0?i+this.length:i}_syncPendingControls(){let i=this.controls.reduce((t,e)=>e._syncPendingControls()?!0:t,!1);return i&&this.updateValueAndValidity({onlySelf:!0}),i}_forEachChild(i){this.controls.forEach((t,e)=>{i(t,e)})}_updateValue(){this.value=this.controls.filter(i=>i.enabled||this.disabled).map(i=>i.value)}_anyControls(i){return this.controls.some(t=>t.enabled&&i(t))}_setUpControls(){this._forEachChild(i=>this._registerControl(i))}_allControlsDisabled(){for(let i of this.controls)if(i.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(i){i.setParent(this),i._registerOnCollectionChange(this._onCollectionChange)}_find(i){return this.at(i)??null}};function Ut(n){return!!n&&(n.asyncValidators!==void 0||n.validators!==void 0||n.updateOn!==void 0)}var Si=(()=>{class n{constructor(){this.useNonNullable=!1}get nonNullable(){let t=new n;return t.useNonNullable=!0,t}group(t,e=null){let r=this._reduceControls(t),s={};return Ut(e)?s=e:e!==null&&(s.validators=e.validator,s.asyncValidators=e.asyncValidator),new J(r,s)}record(t,e=null){let r=this._reduceControls(t);return new ut(r,e)}control(t,e,r){let s={};return this.useNonNullable?(Ut(e)?s=e:(s.validators=e,s.asyncValidators=r),new L(t,A(b({},s),{nonNullable:!0}))):new L(t,e,r)}array(t,e,r){let s=t.map(o=>this._createControl(o));return new ct(s,e,r)}_reduceControls(t){let e={};return Object.keys(t).forEach(r=>{e[r]=this._createControl(t[r])}),e}_createControl(t){if(t instanceof L)return t;if(t instanceof x)return t;if(Array.isArray(t)){let e=t[0],r=t.length>1?t[1]:null,s=t.length>2?t[2]:null;return this.control(e,r,s)}else return this.control(t)}static{this.\u0275fac=function(e){return new(e||n)}}static{this.\u0275prov=Ct({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();var Ii=(()=>{class n{static withConfig(t){return{ngModule:n,providers:[{provide:nt,useValue:t.callSetDisabledState??rt}]}}static{this.\u0275fac=function(e){return new(e||n)}}static{this.\u0275mod=I({type:n})}static{this.\u0275inj=S({imports:[ye]})}}return n})(),Ni=(()=>{class n{static withConfig(t){return{ngModule:n,providers:[{provide:he,useValue:t.warnOnNgModelWithFormControl??"always"},{provide:nt,useValue:t.callSetDisabledState??rt}]}}static{this.\u0275fac=function(e){return new(e||n)}}static{this.\u0275mod=I({type:n})}static{this.\u0275inj=S({imports:[ye]})}}return n})();var g=(()=>{class n{static zindex=1e3;static calculatedScrollbarWidth=null;static calculatedScrollbarHeight=null;static browser;static addClass(t,e){t&&e&&(t.classList?t.classList.add(e):t.className+=" "+e)}static addMultipleClasses(t,e){if(t&&e)if(t.classList){let r=e.trim().split(" ");for(let s=0;s<r.length;s++)t.classList.add(r[s])}else{let r=e.split(" ");for(let s=0;s<r.length;s++)t.className+=" "+r[s]}}static removeClass(t,e){t&&e&&(t.classList?t.classList.remove(e):t.className=t.className.replace(new RegExp("(^|\\b)"+e.split(" ").join("|")+"(\\b|$)","gi")," "))}static removeMultipleClasses(t,e){t&&e&&[e].flat().filter(Boolean).forEach(r=>r.split(" ").forEach(s=>this.removeClass(t,s)))}static hasClass(t,e){return t&&e?t.classList?t.classList.contains(e):new RegExp("(^| )"+e+"( |$)","gi").test(t.className):!1}static siblings(t){return Array.prototype.filter.call(t.parentNode.children,function(e){return e!==t})}static find(t,e){return Array.from(t.querySelectorAll(e))}static findSingle(t,e){return this.isElement(t)?t.querySelector(e):null}static index(t){let e=t.parentNode.childNodes,r=0;for(var s=0;s<e.length;s++){if(e[s]==t)return r;e[s].nodeType==1&&r++}return-1}static indexWithinGroup(t,e){let r=t.parentNode?t.parentNode.childNodes:[],s=0;for(var o=0;o<r.length;o++){if(r[o]==t)return s;r[o].attributes&&r[o].attributes[e]&&r[o].nodeType==1&&s++}return-1}static appendOverlay(t,e,r="self"){r!=="self"&&t&&e&&this.appendChild(t,e)}static alignOverlay(t,e,r="self",s=!0){t&&e&&(s&&(t.style.minWidth=`${n.getOuterWidth(e)}px`),r==="self"?this.relativePosition(t,e):this.absolutePosition(t,e))}static relativePosition(t,e,r=!0){let s=W=>{if(W)return getComputedStyle(W).getPropertyValue("position")==="relative"?W:s(W.parentElement)},o=t.offsetParent?{width:t.offsetWidth,height:t.offsetHeight}:this.getHiddenElementDimensions(t),a=e.offsetHeight??e.getBoundingClientRect().height,l=e.getBoundingClientRect(),h=this.getWindowScrollTop(),d=this.getWindowScrollLeft(),c=this.getViewport(),p=s(t)?.getBoundingClientRect()||{top:-1*h,left:-1*d},C,w;l.top+a+o.height>c.height?(C=l.top-p.top-o.height,t.style.transformOrigin="bottom",l.top+C<0&&(C=-1*l.top)):(C=a+l.top-p.top,t.style.transformOrigin="top");let mt=l.left+o.width-c.width,_e=l.left-p.left;o.width>c.width?w=(l.left-p.left)*-1:mt>0?w=_e-mt:w=l.left-p.left,t.style.top=C+"px",t.style.left=w+"px",r&&(t.style.marginTop=origin==="bottom"?"calc(var(--p-anchor-gutter) * -1)":"calc(var(--p-anchor-gutter))")}static absolutePosition(t,e,r=!0){let s=t.offsetParent?{width:t.offsetWidth,height:t.offsetHeight}:this.getHiddenElementDimensions(t),o=s.height,a=s.width,l=e.offsetHeight??e.getBoundingClientRect().height,h=e.offsetWidth??e.getBoundingClientRect().width,d=e.getBoundingClientRect(),c=this.getWindowScrollTop(),_=this.getWindowScrollLeft(),p=this.getViewport(),C,w;d.top+l+o>p.height?(C=d.top+c-o,t.style.transformOrigin="bottom",C<0&&(C=c)):(C=l+d.top+c,t.style.transformOrigin="top"),d.left+a>p.width?w=Math.max(0,d.left+_+h-a):w=d.left+_,t.style.top=C+"px",t.style.left=w+"px",r&&(t.style.marginTop=origin==="bottom"?"calc(var(--p-anchor-gutter) * -1)":"calc(var(--p-anchor-gutter))")}static getParents(t,e=[]){return t.parentNode===null?e:this.getParents(t.parentNode,e.concat([t.parentNode]))}static getScrollableParents(t){let e=[];
vendor: 7,842 bytes, lines 1-5
1if(t){let r=this.getParents(t),s=/(auto|scroll)/,o=a=>{let l=window.getComputedStyle(a,null);return s.test(l.getPropertyValue("overflow"))||s.test(l.getPropertyValue("overflowX"))||s.test(l.getPropertyValue("overflowY"))};for(let a of r){let l=a.nodeType===1&&a.dataset.scrollselectors;if(l){let h=l.split(",");for(let d of h){let c=this.findSingle(a,d);c&&o(c)&&e.push(c)}}a.nodeType!==9&&o(a)&&e.push(a)}}return e}static getHiddenElementOuterHeight(t){t.style.visibility="hidden",t.style.display="block";let e=t.offsetHeight;return t.style.display="none",t.style.visibility="visible",e}static getHiddenElementOuterWidth(t){t.style.visibility="hidden",t.style.display="block";let e=t.offsetWidth;return t.style.display="none",t.style.visibility="visible",e}static getHiddenElementDimensions(t){let e={};return t.style.visibility="hidden",t.style.display="block",e.width=t.offsetWidth,e.height=t.offsetHeight,t.style.display="none",t.style.visibility="visible",e}static scrollInView(t,e){let r=getComputedStyle(t).getPropertyValue("borderTopWidth"),s=r?parseFloat(r):0,o=getComputedStyle(t).getPropertyValue("paddingTop"),a=o?parseFloat(o):0,l=t.getBoundingClientRect(),d=e.getBoundingClientRect().top+document.body.scrollTop-(l.top+document.body.scrollTop)-s-a,c=t.scrollTop,_=t.clientHeight,p=this.getOuterHeight(e);d<0?t.scrollTop=c+d:d+p>_&&(t.scrollTop=c+d-_+p)}static fadeIn(t,e){t.style.opacity=0;let r=+new Date,s=0,o=function(){s=+t.style.opacity.replace(",",".")+(new Date().getTime()-r)/e,t.style.opacity=s,r=+new Date,+s<1&&(window.requestAnimationFrame&&requestAnimationFrame(o)||setTimeout(o,16))};o()}static fadeOut(t,e){var r=1,s=50,o=e,a=s/o;let l=setInterval(()=>{r=r-a,r<=0&&(r=0,clearInterval(l)),t.style.opacity=r},s)}static getWindowScrollTop(){let t=document.documentElement;return(window.pageYOffset||t.scrollTop)-(t.clientTop||0)}static getWindowScrollLeft(){let t=document.documentElement;return(window.pageXOffset||t.scrollLeft)-(t.clientLeft||0)}static matches(t,e){var r=Element.prototype,s=r.matches||r.webkitMatchesSelector||r.mozMatchesSelector||r.msMatchesSelector||function(o){return[].indexOf.call(document.querySelectorAll(o),this)!==-1};return s.call(t,e)}static getOuterWidth(t,e){let r=t.offsetWidth;if(e){let s=getComputedStyle(t);r+=parseFloat(s.marginLeft)+parseFloat(s.marginRight)}return r}static getHorizontalPadding(t){let e=getComputedStyle(t);return parseFloat(e.paddingLeft)+parseFloat(e.paddingRight)}static getHorizontalMargin(t){let e=getComputedStyle(t);return parseFloat(e.marginLeft)+parseFloat(e.marginRight)}static innerWidth(t){let e=t.offsetWidth,r=getComputedStyle(t);return e+=parseFloat(r.paddingLeft)+parseFloat(r.paddingRight),e}static width(t){let e=t.offsetWidth,r=getComputedStyle(t);return e-=parseFloat(r.paddingLeft)+parseFloat(r.paddingRight),e}static getInnerHeight(t){let e=t.offsetHeight,r=getComputedStyle(t);return e+=parseFloat(r.paddingTop)+parseFloat(r.paddingBottom),e}static getOuterHeight(t,e){let r=t.offsetHeight;if(e){let s=getComputedStyle(t);r+=parseFloat(s.marginTop)+parseFloat(s.marginBottom)}return r}static getHeight(t){let e=t.offsetHeight,r=getComputedStyle(t);return e-=parseFloat(r.paddingTop)+parseFloat(r.paddingBottom)+parseFloat(r.borderTopWidth)+parseFloat(r.borderBottomWidth),e}static getWidth(t){let e=t.offsetWidth,r=getComputedStyle(t);return e-=parseFloat(r.paddingLeft)+parseFloat(r.paddingRight)+parseFloat(r.borderLeftWidth)+parseFloat(r.borderRightWidth),e}static getViewport(){let t=window,e=document,r=e.documentElement,s=e.getElementsByTagName("body")[0],o=t.innerWidth||r.clientWidth||s.clientWidth,a=t.innerHeight||r.clientHeight||s.clientHeight;return{width:o,height:a}}static getOffset(t){var e=t.getBoundingClientRect();return{top:e.top+(window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0),left:e.left+(window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0)}}static replaceElementWith(t,e){let r=t.parentNode;if(!r)throw"Can't replace element";return r.replaceChild(e,t)}static getUserAgent(){if(navigator&&this.isClient())return navigator.userAgent}static isIE(){var t=window.navigator.userAgent,e=t.indexOf("MSIE ");if(e>0)return!0;var r=t.indexOf("Trident/");if(r>0){var s=t.indexOf("rv:");return!0}var o=t.indexOf("Edge/");return o>0}static isIOS(){return/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream}static isAndroid(){return/(android)/i.test(navigator.userAgent)}static isTouchDevice(){return"ontouchstart"in window||navigator.maxTouchPoints>0}static appendChild(t,e){if(this.isElement(e))e.appendChild(t);else if(e&&e.el&&e.el.nativeElement)e.el.nativeElement.appendChild(t);else throw"Cannot append "+e+" to "+t}static removeChild(t,e){if(this.isElement(e))e.removeChild(t);else if(e.el&&e.el.nativeElement)e.el.nativeElement.removeChild(t);else throw"Cannot remove "+t+" from "+e}static removeElement(t){"remove"in Element.prototype?t.remove():t.parentNode.removeChild(t)}static isElement(t){return typeof HTMLElement=="object"?t instanceof HTMLElement:t&&typeof t=="object"&&t!==null&&t.nodeType===1&&typeof t.nodeName=="string"}static calculateScrollbarWidth(t){if(t){let e=getComputedStyle(t);return t.offsetWidth-t.clientWidth-parseFloat(e.borderLeftWidth)-parseFloat(e.borderRightWidth)}else{if(this.calculatedScrollbarWidth!==null)return this.calculatedScrollbarWidth;let e=document.createElement("div");e.className="p-scrollbar-measure",document.body.appendChild(e);let r=e.offsetWidth-e.clientWidth;return document.body.removeChild(e),this.calculatedScrollbarWidth=r,r}}static calculateScrollbarHeight(){if(this.calculatedScrollbarHeight!==null)return this.calculatedScrollbarHeight;let t=document.createElement("div");t.className="p-scrollbar-measure",document.body.appendChild(t);let e=t.offsetHeight-t.clientHeight;return document.body.removeChild(t),this.calculatedScrollbarWidth=e,e}static invokeElementMethod(t,e,r){t[e].apply(t,r)}static clearSelection(){if(window.getSelection)window.getSelection().empty?window.getSelection().empty():window.getSelection().removeAllRanges&&window.getSelection().rangeCount>0&&window.getSelection().getRangeAt(0).getClientRects().length>0&&window.getSelection().removeAllRanges();else if(document.selection&&document.selection.empty)try{document.selection.empty()}catch{}}static getBrowser(){if(!this.browser){let t=this.resolveUserAgent();this.browser={},t.browser&&(this.browser[t.browser]=!0,this.browser.version=t.version),this.browser.chrome?this.browser.webkit=!0:this.browser.webkit&&(this.browser.safari=!0)}return this.browser}static resolveUserAgent(){let t=navigator.userAgent.toLowerCase(),e=/(chrome)[ \/]([\w.]+)/.exec(t)||/(webkit)[ \/]([\w.]+)/.exec(t)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(t)||/(msie) ([\w.]+)/.exec(t)||t.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(t)||[];return{browser:e[1]||"",version:e[2]||"0"}}static isInteger(t){return Number.isInteger?Number.isInteger(t):typeof t=="number"&&isFinite(t)&&Math.floor(t)===t}static isHidden(t){return!t||t.offsetParent===null}static isVisible(t){return t&&t.offsetParent!=null}static isExist(t){return t!==null&&typeof t<"u"&&t.nodeName&&t.parentNode}static focus(t,e){t&&document.activeElement!==t&&t.focus(e)}static getFocusableSelectorString(t=""){return`button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t}, 2 [href][clientHeight][clientWidth]:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t}, 3 input:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t}, 4 select:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t}, 5 textarea:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t},
6 [tabIndex]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t}, 7 [contenteditable]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t}, 8 .p-inputtext:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t}, 9 .p-button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t}`}static getFocusableElements(t,e=""){let r=this.find(t,this.getFocusableSelectorString(e)),s=[];for(let o of r){let a=getComputedStyle(o);this.isVisible(o)&&a.display!="none"&&a.visibility!="hidden"&&s.push(o)}return s}static getFocusableElement(t,e=""){let r=this.findSingle(t,this.getFocusableSelectorString(e));if(r){let s=getComputedStyle(r);if(this.isVisible(r)&&s.display!="none"&&s.visibility!="hidden")return r}return null}static getFirstFocusableElement(t,e=""){let r=this.getFocusableElements(t,e);return r.length>0?r[0]:null}static getLastFocusableElement(t,e){let r=this.getFocusableElements(t,e);return r.length>0?r[r.length-1]:null}static getNextFocusableElement(t,e=!1){let r=n.getFocusableElements(t),s=0;if(r&&r.length>0){let o=r.indexOf(r[0].ownerDocument.activeElement);e?o==-1||o===0?s=r.length-1:s=o-1:o!=-1&&o!==r.length-1&&(s=o+1)}return r[s]}static generateZIndex(){return this.zindex=this.zindex||999,++this.zindex}static getSelection(){return window.getSelection?window.getSelection().toString():document.getSelection?document.getSelection().toString():document.selection?document.selection.createRange().text:null}static getTargetElement(t,e){if(!t)return null;switch(t){case"document":return document;case"window":return window;case"@next":return e?.nextElementSibling;case"@prev":return e?.previousElementSibling;case"@parent":return e?.parentElement;case"@grandparent":return e?.parentElement.parentElement;default:let r=typeof t;if(r==="string")return document.querySelector(t);if(r==="object"&&t.hasOwnProperty("nativeElement"))return this.isExist(t.nativeElement)?t.nativeElement:void 0;let o=(a=>!!(a&&a.constructor&&a.call&&a.apply))(t)?t():t;return o&&o.nodeType===9||this.isExist(o)?o:null}}static isClient(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}static getAttribute(t,e){if(t){let r=t.getAttribute(e);return isNaN(r)?r==="true"||r==="false"?r==="true":r:+r}}static calculateBodyScrollbarWidth(){return window.innerWidth-document.documentElement.offsetWidth}static blockBodyScroll(t="p-overflow-hidden"){document.body.style.setProperty("--scrollbar-width",this.calculateBodyScrollbarWidth()+"px"),this.addClass(document.body,t)}static unblockBodyScroll(t="p-overflow-hidden"){document.body.style.removeProperty("--scrollbar-width"),this.removeClass(document.body,t)}static createElement(t,e={},...r){if(t){let s=document.createElement(t);return this.setAttributes(s,e),s.append(...r),s}}static setAttribute(t,e="",r){this.isElement(t)&&r!==null&&r!==void 0&&t.setAttribute(e,r)}static setAttributes(t,e={}){if(this.isElement(t)){let r=(s,o)=>{let a=t?.$attrs?.[s]?[t?.$attrs?.[s]]:[];return[o].flat().reduce((l,h)=>{if(h!=null){let d=typeof h;if(d==="string"||d==="number")l.push(h);else if(d==="object"){let c=Array.isArray(h)?r(s,h):Object.entries(h).map(([_,p])=>s==="style"&&(p||p===0)?`${_.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}:${p}`:p?_:void 0);l=c.length?l.concat(c.filter(_=>!!_)):l}}return l},a)};Object.entries(e).forEach(([s,o])=>{if(o!=null){let a=s.match(/^on(.+)/);a?t.addEventListener(a[1].toLowerCase(),o):s==="pBind"?this.setAttributes(t,o):(o=s==="class"?[...new Set(r("class",o))].join(" ").trim():s==="style"?r("style",o).join(";").trim():o,(t.$attrs=t.$attrs||{})&&(t.$attrs[s]=o),t.setAttribute(s,o))}})}}static isFocusableElement(t,e=""){return this.isElement(t)?t.matches(`button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${e}, 10 [href][clientHeight][clientWidth]:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${e}, 11 input:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${e}, 12 select:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${e}, 13 textarea:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${e},
14 [tabIndex]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${e}, 15 [contenteditable]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${e}`):!1}}return n})(),ve=class{element;listener;scrollableParents;constructor(i,t=()=>{}){this.element=i,this.listener=t}bindScrollListener(){this.scrollableParents=g.getScrollableParents(this.element);for(let i=0;i<this.scrollableParents.length;i++)this.scrollableParents[i].addEventListener("scroll",this.listener)}unbindScrollListener(){if(this.scrollableParents)for(let i=0;i<this.scrollableParents.length;i++)this.scrollableParents[i].removeEventListener("scroll",this.listener)}destroy(){this.unbindScrollListener(),this.element=null,this.listener=null,this.scrollableParents=null}};var Ti=(()=>{class n{static isString(t){return typeof t=="string"||t instanceof String}static caseInsensitiveSort(t,e){return n.isString(t)&&n.isString(e)?t.localeCompare(e):n.defaultCompare(t,e)}static defaultCompare(t,e){return t===e?0:t==null?1:e==null?-1:t>e?1:-1}static parseExpression(t){return t=t.replace(/\[(\w+)\]/g,".$1"),t=t.replace(/^\./,""),t.split(".")}static getValue(t,e){for(let r=0,s=e.length;r<s;++r){if(!t)return;let o=e[r];if(!(o in t))return;typeof t[o]=="function"?t=t[o]():t=t[o]}return t}static setValue(t,e,r){let s;for(s=0;s<r.length-1;s++)t=t[r[s]];t[r[s]]=e}transform(t,e,r=!1,s=!0,o){return t&&(Array.isArray(e)?this.multiExpressionTransform(t,e,r,s,o):Array.isArray(t)?this.sortArray(t.slice(),e,r,s,o):typeof t=="object"?this.transformObject(Object.assign({},t),e,r,s,o):t)}sortArray(t,e,r,s,o){let a=e&&e.indexOf(".")!==-1;a&&(e=n.parseExpression(e));let l;o&&typeof o=="function"?l=o:l=s?n.caseInsensitiveSort:n.defaultCompare;let h=t.sort((d,c)=>e?a?l(n.getValue(d,e),n.getValue(c,e)):d&&c?l(d[e],c[e]):l(d,c):l(d,c));return r?h.reverse():h}transformObject(t,e,r,s,o){let a=n.parseExpression(e),l=a.pop(),h=n.getValue(t,a);return Array.isArray(h)||(a.push(l),l=null,h=n.getValue(t,a)),h&&n.setValue(t,this.transform(h,l,r,s),a),t}multiExpressionTransform(t,e,r,s=!1,o){return e.reverse().reduce((a,l)=>this.transform(a,l,r,s,o),t)}static{this.\u0275fac=function(e){return new(e||n)}}static{this.\u0275pipe=Vt({name:"orderBy",type:n,pure:!1})}}return n})();var $i=(()=>{class n{document;platformId;renderer;el;zone;config;constructor(t,e,r,s,o,a){this.document=t,this.platformId=e,this.renderer=r,this.el=s,this.zone=o,this.config=a}animationListener;mouseDownListener;timeout;ngAfterViewInit(){xt(this.platformId)&&this.config&&this.config.ripple&&this.zone.runOutsideAngular(()=>{this.create(),this.mouseDownListener=this.renderer.listen(this.el.nativeElement,"mousedown",this.onMouseDown.bind(this))})}onMouseDown(t){let e=this.getInk();if(!e||this.document.defaultView?.getComputedStyle(e,null).display==="none")return;if(g.removeClass(e,"p-ink-active"),!g.getHeight(e)&&!g.getWidth(e)){let a=Math.max(g.getOuterWidth(this.el.nativeElement),g.getOuterHeight(this.el.nativeElement));e.style.height=a+"px",e.style.width=a+"px"}let r=g.getOffset(this.el.nativeElement),s=t.pageX-r.left+this.document.body.scrollTop-g.getWidth(e)/2,o=t.pageY-r.top+this.document.body.scrollLeft-g.getHeight(e)/2;this.renderer.setStyle(e,"top",o+"px"),this.renderer.setStyle(e,"left",s+"px"),g.addClass(e,"p-ink-active"),this.timeout=setTimeout(()=>{let a=this.getInk();a&&g.removeClass(a,"p-ink-active")},401)}getInk(){let t=this.el.nativeElement.children;for(let e=0;e<t.length;e++)if(typeof t[e].className=="string"&&t[e].className.indexOf("p-ink")!==-1)return t[e];return null}resetInk(){let t=this.getInk();t&&g.removeClass(t,"p-ink-active")}onAnimationEnd(t){this.timeout&&clearTimeout(this.timeout),g.removeClass(t.currentTarget,"p-ink-active")}create(){let t=this.renderer.createElement("span");this.renderer.addClass(t,"p-ink"),this.renderer.appendChild(this.el.nativeElement,t),this.renderer.setAttribute(t,"aria-hidden","true"),this.renderer.setAttribute(t,"role","presentation"),this.animationListener||(this.animationListener=this.renderer.listen(t,"animationend",this.onAnimationEnd.bind(this)))}remove(){let t=this.getInk();t&&(this.mouseDownListener&&this.mouseDownListener(),this.animationListener&&this.animationListener(),this.mouseDownListener=null,this.animationListener=null,g.removeElement(t))}ngOnDestroy(){this.config&&this.config.ripple&&this.remove()}static \u0275fac=function(e){return new(e||n)(u(Ot),u(Dt),u(H),u(R),u(wt),u(Tt,8))};static \u0275dir=f({type:n,selectors:[["","pRipple",""]],hostAttrs:[1,"p-ripple","p-element"],standalone:!0})}return n})(),qi=(()=>{class n{static \u0275fac=function(e){return new(e||n)};static \u0275mod=I({type:n});static \u0275inj=S({})}return n})();var si=["*"],tn=(()=>{class n{label;spin=!1;styleClass;role;ariaLabel;ariaHidden;ngOnInit(){this.getAttributes()}getAttributes(){let t=Pt.isEmpty(this.label);this.role=t?void 0:"img",this.ariaLabel=t?void 0:this.label,this.ariaHidden=t}getClassNames(){return`p-icon ${this.styleClass?this.styleClass+" ":""}${this.spin?"p-icon-spin":""}`}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=bt({type:n,selectors:[["ng-component"]],hostAttrs:[1,"p-element","p-icon-wrapper"],inputs:{label:"label",spin:[v.HasDecoratorInputTransform,"spin","spin",q],styleClass:"styleClass"},standalone:!0,features:[Et,St],ngContentSelectors:si,decls:1,vars:0,template:function(e,r){e&1&&(Mt(),Ft(0))},encapsulation:2,changeDetection:0})}return n})();export{et as a,be as b,zt as c,P as d,kt as e,F as f,Ei as g,Ai as h,J as i,L as j,Xe as k,Fi as l,fe as m,pe as n,ge as o,ti as p,ri as q,Si as r,Ii as s,Ni as t,g as u,ve as v,tn as w,Ti as x,$i as y,qi as z};
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.