-
Notifications
You must be signed in to change notification settings - Fork 1
/
chunk-LRGM5MED.js
7 lines (5 loc) · 288 KB
/
chunk-LRGM5MED.js
1
2
3
4
5
6
7
import{j as vr,t as oi,u as si,v as yr}from"./chunk-MG7CMGQF.js";import{c as wr,d as Ri,f as Vt,g as Fi,h as Pi}from"./chunk-WXI33M2S.js";import{$ as ht,A as er,Aa as ln,Ab as lr,Ac as pn,B as nt,Bb as ei,Bc as gn,C as tr,Ca as Kt,Cb as gt,Cc as pr,D as xi,Db as _t,Dc as _n,E as ct,Ea as kt,Eb as X,F as Zt,Fa as Me,Fb as ee,Ga as De,Gb as He,Gc as ze,Ha as Ii,Ic as gr,J as ut,Jb as ti,Kb as qe,Kc as _r,L as ir,La as Ot,Ma as Yt,Na as or,Nb as Te,Nc as bn,O as rn,Oc as Dt,Pb as fe,Qa as Xt,Qb as ii,Qc as Pt,Rb as ni,Sc as br,Ta as sr,Tb as ri,U as nr,Ub as Qe,V as ki,Va as oe,Vb as Ve,W as wt,Wa as ie,Wb as Ne,X as Ei,Xb as Ft,Y as Ke,Ya as Et,Yb as _e,Z as rr,Zb as Xe,_ as qt,_a as dn,_b as Di,a as ge,aa as Pe,ab as un,b as $e,ba as Ct,bc as it,cb as Ue,cc as je,da as pe,dc as dr,eb as Rt,ec as Ti,f as vt,fa as ye,fb as mt,fc as ur,ga as ne,gb as hn,h as dt,hb as Oe,hc as Si,ib as Ze,ic as Ai,jb as pt,jc as mn,k as Fe,kc as Mi,l as Qn,m as Kn,ma as Be,mb as ar,n as Yn,na as xt,nb as be,nc as hr,o as Ci,oa as Ee,p as $t,pa as on,pc as fr,sa as sn,tb as Ye,tc as mr,u as yt,ua as an,ub as cr,uc as rt,v as Xn,va as Qt,vb as we,wa as xe,wb as fn,xa as ke,xb as Ie,xc as We,y as Jn,ya as ft,yb as Jt,yc as Oi,za as cn,zb as ve,zc as It}from"./chunk-DXS2GHCC.js";var Sr=(()=>{let t=class t{constructor(e,n){this._renderer=e,this._elementRef=n,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(e,n){this._renderer.setProperty(this._elementRef.nativeElement,e,n)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}};t.\u0275fac=function(n){return new(n||t)(ie(un),ie(Me))},t.\u0275dir=Ee({type:t});let r=t;return r})(),No=(()=>{let t=class t extends Sr{};t.\u0275fac=(()=>{let e;return function(o){return(e||(e=ln(t)))(o||t)}})(),t.\u0275dir=Ee({type:t,features:[Ze]});let r=t;return r})(),fi=new pe("");var Lo={provide:fi,useExisting:ht(()=>Hi),multi:!0};function Bo(){let r=_n()?_n().getUserAgent():"";return/android (\d+)/.test(r.toLowerCase())}var jo=new pe(""),Hi=(()=>{let t=class t extends Sr{constructor(e,n,o){super(e,n),this._compositionMode=o,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!Bo())}writeValue(e){let n=e??"";this.setProperty("value",n)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}};t.\u0275fac=function(n){return new(n||t)(ie(un),ie(Me),ie(jo,8))},t.\u0275dir=Ee({type:t,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(n,o){n&1&&Te("input",function(c){return o._handleInput(c.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(c){return o._compositionEnd(c.target.value)})},features:[it([Lo]),Ze]});let r=t;return r})();var Ar=new pe(""),Mr=new pe("");function Or(r){return r!=null}function Rr(r){return hr(r)?Ci(r):r}function Fr(r){let t={};return r.forEach(i=>{t=i!=null?ge(ge({},t),i):t}),Object.keys(t).length===0?null:t}function Pr(r,t){return t.map(i=>i(r))}function zo(r){return!r.validate}function Vr(r){return r.map(t=>zo(t)?t:i=>t.validate(i))}function Uo(r){if(!r)return null;let t=r.filter(Or);return t.length==0?null:function(i){return Fr(Pr(i,t))}}function yn(r){return r!=null?Uo(Vr(r)):null}function Ho(r){if(!r)return null;let t=r.filter(Or);return t.length==0?null:function(i){let e=Pr(i,t).map(Rr);return er(e).pipe(yt(Fr))}}function wn(r){return r!=null?Ho(Vr(r)):null}function Cr(r,t){return r===null?[t]:Array.isArray(r)?[...r,t]:[r,t]}function Wo(r){return r._rawValidators}function Go(r){return r._rawAsyncValidators}function vn(r){return r?Array.isArray(r)?r:[r]:[]}function Ni(r,t){return Array.isArray(r)?r.includes(t):r===t}function xr(r,t){let i=vn(t);return vn(r).forEach(n=>{Ni(i,n)||i.push(n)}),i}function kr(r,t){return vn(t).filter(i=>!Ni(r,i))}var Li=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(t){this._rawValidators=t||[],this._composedValidatorFn=yn(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=wn(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t=void 0){this.control&&this.control.reset(t)}hasError(t,i){return this.control?this.control.hasError(t,i):!1}getError(t,i){return this.control?this.control.getError(t,i):null}},Bt=class extends Li{get formDirective(){return null}get path(){return null}},hi=class extends Li{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},Bi=class{constructor(t){this._cd=t}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}},$o={"[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"},Gl=$e(ge({},$o),{"[class.ng-submitted]":"isSubmitted"}),Cn=(()=>{let t=class t extends Bi{constructor(e){super(e)}};t.\u0275fac=function(n){return new(n||t)(ie(hi,2))},t.\u0275dir=Ee({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(n,o){n&2&&Ie("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},features:[Ze]});let r=t;return r})(),$l=(()=>{let t=class t extends Bi{constructor(e){super(e)}};t.\u0275fac=function(n){return new(n||t)(ie(Bt,10))},t.\u0275dir=Ee({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(n,o){n&2&&Ie("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)("ng-submitted",o.isSubmitted)},features:[Ze]});let r=t;return r})();var ai="VALID",Vi="INVALID",Nt="PENDING",ci="DISABLED",jt=class{},ji=class extends jt{constructor(t,i){super(),this.value=t,this.source=i}},di=class extends jt{constructor(t,i){super(),this.pristine=t,this.source=i}},ui=class extends jt{constructor(t,i){super(),this.touched=t,this.source=i}},Lt=class extends jt{constructor(t,i){super(),this.status=t,this.source=i}};function Nr(r){return(Wi(r)?r.validators:r)||null}function Zo(r){return Array.isArray(r)?yn(r):r||null}function Lr(r,t){return(Wi(t)?t.asyncValidators:r)||null}function qo(r){return Array.isArray(r)?wn(r):r||null}function Wi(r){return r!=null&&!Array.isArray(r)&&typeof r=="object"}function Qo(r,t,i){let e=r.controls;if(!(t?Object.keys(e):e).length)throw new qt(1e3,"");if(!e[i])throw new qt(1001,"")}function Ko(r,t,i){r._forEachChild((e,n)=>{if(i[n]===void 0)throw new qt(1002,"")})}var zi=class{constructor(t,i){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._events=new Fe,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(t),this._assignAsyncValidators(i)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return this.status===ai}get invalid(){return this.status===Vi}get pending(){return this.status==Nt}get disabled(){return this.status===ci}get enabled(){return this.status!==ci}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._assignValidators(t)}setAsyncValidators(t){this._assignAsyncValidators(t)}addValidators(t){this.setValidators(xr(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(xr(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(kr(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(kr(t,this._rawAsyncValidators))}hasValidator(t){return Ni(this._rawValidators,t)}hasAsyncValidator(t){return Ni(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){let i=this.touched===!1;this.touched=!0;let e=t.sourceControl??this;this._parent&&!t.onlySelf&&this._parent.markAsTouched($e(ge({},t),{sourceControl:e})),i&&t.emitEvent!==!1&&this._events.next(new ui(!0,e))}markAllAsTouched(t={}){this.markAsTouched({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:this}),this._forEachChild(i=>i.markAllAsTouched(t))}markAsUntouched(t={}){let i=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let e=t.sourceControl??this;this._forEachChild(n=>{n.markAsUntouched({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:e})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t,e),i&&t.emitEvent!==!1&&this._events.next(new ui(!1,e))}markAsDirty(t={}){let i=this.pristine===!0;this.pristine=!1;let e=t.sourceControl??this;this._parent&&!t.onlySelf&&this._parent.markAsDirty($e(ge({},t),{sourceControl:e})),i&&t.emitEvent!==!1&&this._events.next(new di(!1,e))}markAsPristine(t={}){let i=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let e=t.sourceControl??this;this._forEachChild(n=>{n.markAsPristine({onlySelf:!0,emitEvent:t.emitEvent})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t,e),i&&t.emitEvent!==!1&&this._events.next(new di(!0,e))}markAsPending(t={}){this.status=Nt;let i=t.sourceControl??this;t.emitEvent!==!1&&(this._events.next(new Lt(this.status,i)),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.markAsPending($e(ge({},t),{sourceControl:i}))}disable(t={}){let i=this._parentMarkedDirty(t.onlySelf);this.status=ci,this.errors=null,this._forEachChild(n=>{n.disable($e(ge({},t),{onlySelf:!0}))}),this._updateValue();let e=t.sourceControl??this;t.emitEvent!==!1&&(this._events.next(new ji(this.value,e)),this._events.next(new Lt(this.status,e)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors($e(ge({},t),{skipPristineCheck:i}),this),this._onDisabledChange.forEach(n=>n(!0))}enable(t={}){let i=this._parentMarkedDirty(t.onlySelf);this.status=ai,this._forEachChild(e=>{e.enable($e(ge({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors($e(ge({},t),{skipPristineCheck:i}),this),this._onDisabledChange.forEach(e=>e(!1))}_updateAncestors(t,i){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine({},i),this._parent._updateTouched({},i))}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let e=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===ai||this.status===Nt)&&this._runAsyncValidator(e,t.emitEvent)}let i=t.sourceControl??this;t.emitEvent!==!1&&(this._events.next(new ji(this.value,i)),this._events.next(new Lt(this.status,i)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity($e(ge({},t),{sourceControl:i}))}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(i=>i._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?ci:ai}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t,i){if(this.asyncValidator){this.status=Nt,this._hasOwnPendingAsyncValidator={emitEvent:i!==!1};let e=Rr(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(n=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(n,{emitEvent:i,shouldHaveEmitted:t})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let t=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,t}return!1}setErrors(t,i={}){this.errors=t,this._updateControlsErrors(i.emitEvent!==!1,this,i.shouldHaveEmitted)}get(t){let i=t;return i==null||(Array.isArray(i)||(i=i.split(".")),i.length===0)?null:i.reduce((e,n)=>e&&e._find(n),this)}getError(t,i){let e=i?this.get(i):this;return e&&e.errors?e.errors[t]:null}hasError(t,i){return!!this.getError(t,i)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t,i,e){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),(t||e)&&this._events.next(new Lt(this.status,i)),this._parent&&this._parent._updateControlsErrors(t,i,e)}_initObservables(){this.valueChanges=new De,this.statusChanges=new De}_calculateStatus(){return this._allControlsDisabled()?ci:this.errors?Vi:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Nt)?Nt:this._anyControlsHaveStatus(Vi)?Vi:ai}_anyControlsHaveStatus(t){return this._anyControls(i=>i.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t,i){let e=!this._anyControlsDirty(),n=this.pristine!==e;this.pristine=e,this._parent&&!t.onlySelf&&this._parent._updatePristine(t,i),n&&this._events.next(new di(this.pristine,i))}_updateTouched(t={},i){this.touched=this._anyControlsTouched(),this._events.next(new ui(this.touched,i)),this._parent&&!t.onlySelf&&this._parent._updateTouched(t,i)}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){Wi(t)&&t.updateOn!=null&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){let i=this._parent&&this._parent.dirty;return!t&&!!i&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=Zo(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=qo(this._rawAsyncValidators)}},Ui=class extends zi{constructor(t,i,e){super(Nr(i),Lr(e,i)),this.controls=t,this._initObservables(),this._setUpdateStrategy(i),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(t,i){return this.controls[t]?this.controls[t]:(this.controls[t]=i,i.setParent(this),i._registerOnCollectionChange(this._onCollectionChange),i)}addControl(t,i,e={}){this.registerControl(t,i),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}removeControl(t,i={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}setControl(t,i,e={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],i&&this.registerControl(t,i),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,i={}){Ko(this,!0,t),Object.keys(t).forEach(e=>{Qo(this,!0,e),this.controls[e].setValue(t[e],{onlySelf:!0,emitEvent:i.emitEvent})}),this.updateValueAndValidity(i)}patchValue(t,i={}){t!=null&&(Object.keys(t).forEach(e=>{let n=this.controls[e];n&&n.patchValue(t[e],{onlySelf:!0,emitEvent:i.emitEvent})}),this.updateValueAndValidity(i))}reset(t={},i={}){this._forEachChild((e,n)=>{e.reset(t?t[n]:null,{onlySelf:!0,emitEvent:i.emitEvent})}),this._updatePristine(i,this),this._updateTouched(i,this),this.updateValueAndValidity(i)}getRawValue(){return this._reduceChildren({},(t,i,e)=>(t[e]=i.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(i,e)=>e._syncPendingControls()?!0:i);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){Object.keys(this.controls).forEach(i=>{let e=this.controls[i];e&&t(e,i)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(let[i,e]of Object.entries(this.controls))if(this.contains(i)&&t(e))return!0;return!1}_reduceValue(){let t={};return this._reduceChildren(t,(i,e,n)=>((e.enabled||this.disabled)&&(i[n]=e.value),i))}_reduceChildren(t,i){let e=t;return this._forEachChild((n,o)=>{e=i(e,n,o)}),e}_allControlsDisabled(){for(let t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(t){return this.controls.hasOwnProperty(t)?this.controls[t]:null}};var xn=new pe("CallSetDisabledState",{providedIn:"root",factory:()=>kn}),kn="always";function Yo(r,t){return[...t.path,r]}function Br(r,t,i=kn){jr(r,t),t.valueAccessor.writeValue(r.value),(r.disabled||i==="always")&&t.valueAccessor.setDisabledState?.(r.disabled),Jo(r,t),ts(r,t),es(r,t),Xo(r,t)}function Er(r,t){r.forEach(i=>{i.registerOnValidatorChange&&i.registerOnValidatorChange(t)})}function Xo(r,t){if(t.valueAccessor.setDisabledState){let i=e=>{t.valueAccessor.setDisabledState(e)};r.registerOnDisabledChange(i),t._registerOnDestroy(()=>{r._unregisterOnDisabledChange(i)})}}function jr(r,t){let i=Wo(r);t.validator!==null?r.setValidators(Cr(i,t.validator)):typeof i=="function"&&r.setValidators([i]);let e=Go(r);t.asyncValidator!==null?r.setAsyncValidators(Cr(e,t.asyncValidator)):typeof e=="function"&&r.setAsyncValidators([e]);let n=()=>r.updateValueAndValidity();Er(t._rawValidators,n),Er(t._rawAsyncValidators,n)}function Jo(r,t){t.valueAccessor.registerOnChange(i=>{r._pendingValue=i,r._pendingChange=!0,r._pendingDirty=!0,r.updateOn==="change"&&zr(r,t)})}function es(r,t){t.valueAccessor.registerOnTouched(()=>{r._pendingTouched=!0,r.updateOn==="blur"&&r._pendingChange&&zr(r,t),r.updateOn!=="submit"&&r.markAsTouched()})}function zr(r,t){r._pendingDirty&&r.markAsDirty(),r.setValue(r._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(r._pendingValue),r._pendingChange=!1}function ts(r,t){let i=(e,n)=>{t.valueAccessor.writeValue(e),n&&t.viewToModelUpdate(e)};r.registerOnChange(i),t._registerOnDestroy(()=>{r._unregisterOnChange(i)})}function is(r,t){r==null,jr(r,t)}function ns(r,t){if(!r.hasOwnProperty("model"))return!1;let i=r.model;return i.isFirstChange()?!0:!Object.is(t,i.currentValue)}function rs(r){return Object.getPrototypeOf(r.constructor)===No}function os(r,t){r._syncPendingControls(),t.forEach(i=>{let e=i.control;e.updateOn==="submit"&&e._pendingChange&&(i.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)})}function ss(r,t){if(!t)return null;Array.isArray(t);let i,e,n;return t.forEach(o=>{o.constructor===Hi?i=o:rs(o)?e=o:n=o}),n||e||i||null}var as={provide:Bt,useExisting:ht(()=>cs)},li=Promise.resolve(),cs=(()=>{let t=class t extends Bt{constructor(e,n,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._directives=new Set,this.ngSubmit=new De,this.form=new Ui({},yn(e),wn(n))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){li.then(()=>{let n=this._findContainer(e.path);e.control=n.registerControl(e.name,e.control),Br(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){li.then(()=>{let n=this._findContainer(e.path);n&&n.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){li.then(()=>{let n=this._findContainer(e.path),o=new Ui({});is(o,e),n.registerControl(e.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){li.then(()=>{let n=this._findContainer(e.path);n&&n.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,n){li.then(()=>{this.form.get(e.path).setValue(n)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,os(this.form,this._directives),this.ngSubmit.emit(e),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submitted=!1}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}};t.\u0275fac=function(n){return new(n||t)(ie(Ar,10),ie(Mr,10),ie(xn,8))},t.\u0275dir=Ee({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(n,o){n&1&&Te("submit",function(c){return o.onSubmit(c)})("reset",function(){return o.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[it([as]),Ze]});let r=t;return r})();function Ir(r,t){let i=r.indexOf(t);i>-1&&r.splice(i,1)}function Dr(r){return typeof r=="object"&&r!==null&&Object.keys(r).length===2&&"value"in r&&"disabled"in r}var ls=class extends zi{constructor(t=null,i,e){super(Nr(i),Lr(e,i)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(t),this._setUpdateStrategy(i),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Wi(i)&&(i.nonNullable||i.initialValueIsDefault)&&(Dr(t)?this.defaultValue=t.value:this.defaultValue=t)}setValue(t,i={}){this.value=this._pendingValue=t,this._onChange.length&&i.emitModelToViewChange!==!1&&this._onChange.forEach(e=>e(this.value,i.emitViewToModelChange!==!1)),this.updateValueAndValidity(i)}patchValue(t,i={}){this.setValue(t,i)}reset(t=this.defaultValue,i={}){this._applyFormState(t),this.markAsPristine(i),this.markAsUntouched(i),this.setValue(this.value,i),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){Ir(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){Ir(this._onDisabledChange,t)}_forEachChild(t){}_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(t){Dr(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}};var ds={provide:hi,useExisting:ht(()=>Gi)},Tr=Promise.resolve(),Gi=(()=>{let t=class t extends hi{constructor(e,n,o,s,c,d){super(),this._changeDetectorRef=c,this.callSetDisabledState=d,this.control=new ls,this._registered=!1,this.name="",this.update=new De,this._parent=e,this._setValidators(n),this._setAsyncValidators(o),this.valueAccessor=ss(this,s)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){let n=e.name.previousValue;this.formDirective.removeControl({name:n,path:this._getPath(n)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),ns(e,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(e){this.viewModel=e,this.update.emit(e)}_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(){Br(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(e){Tr.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){let n=e.isDisabled.currentValue,o=n!==0&&We(n);Tr.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?Yo(e,this._parent):[e]}};t.\u0275fac=function(n){return new(n||t)(ie(Bt,9),ie(Ar,10),ie(Mr,10),ie(fi,10),ie(rt,8),ie(xn,8))},t.\u0275dir=Ee({type:t,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"],features:[it([ds]),Ze,Qt]});let r=t;return r})(),ql=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275dir=Ee({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]});let r=t;return r})();var us=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=xt({type:t}),t.\u0275inj=Ct({});let r=t;return r})();var En=(()=>{let t=class t{static withConfig(e){return{ngModule:t,providers:[{provide:xn,useValue:e.callSetDisabledState??kn}]}}};t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=xt({type:t}),t.\u0275inj=Ct({imports:[us]});let r=t;return r})();var tn=["*"],fs=(r,t)=>t.id;function ms(r,t){if(r&1&&(X(0,"li",4)(1,"a",5),_e(2),ee()()),r&2){let i=t.$implicit,e=fe();Ie("docs-toc-item-h2",i.level===e.TableOfContentsLevel.H2)("docs-toc-item-h3",i.level===e.TableOfContentsLevel.H3),oe(),Ie("docs-faceted-list-item-active",i.id===e.activeItemId()),we("fragment",i.id),oe(),Di(" ",i.title," ")}}function ps(r,t){if(r&1){let i=qe();X(0,"button",6),Te("click",function(){xe(i);let n=fe();return ke(n.scrollToTop())}),X(1,"docs-icon",7),_e(2,"arrow_upward_alt"),ee(),_e(3," Back to the top "),ee()}}function gs(r,t){if(r&1&&(X(0,"a",1),_e(1),ee()),r&2){let i=fe(2).$implicit;we("href",i.path,Xt),oe(),Xe(i.label)}}function _s(r,t){if(r&1&&(X(0,"a",2),_e(1),ee()),r&2){let i=fe(2).$implicit;we("routerLink","/"+i.path),oe(),Xe(i.label)}}function bs(r,t){if(r&1&&be(0,gs,2,2,"a",1)(1,_s,2,2,"a",2),r&2){let i=fe().$implicit;ve(i.isExternal?0:1)}}function vs(r,t){if(r&1&&(X(0,"span"),_e(1),ee()),r&2){let i=fe().$implicit;oe(),Xe(i.label)}}function ys(r,t){if(r&1&&(X(0,"div",0),be(1,bs,2,1)(2,vs,2,1,"span"),ee()),r&2){let i=t.$implicit;oe(),ve(i.path?1:2)}}var ws=["docs-copy-source-code",""];function Cs(r,t){r&1&&ni(0)}var xs=["tabListContainer"],ks=["tabList"],Es=["tabListInner"],Is=["nextPaginator"],Ds=["previousPaginator"],Ts=r=>({animationDuration:r}),Ss=(r,t)=>({value:r,params:t});function As(r,t){}var Ms=["tabBodyWrapper"],Os=["tabHeader"];function Rs(r,t){}function Fs(r,t){if(r&1&&be(0,Rs,0,0,"ng-template",12),r&2){let i=fe().$implicit;we("cdkPortalOutlet",i.templateLabel)}}function Ps(r,t){if(r&1&&_e(0),r&2){let i=fe().$implicit;Xe(i.textLabel)}}function Vs(r,t){if(r&1){let i=qe();X(0,"div",7,2),Te("click",function(){let n=xe(i),o=n.$implicit,s=n.$index,c=fe(),d=Ft(1);return ke(c._handleClick(o,d,s))})("cdkFocusChange",function(n){let o=xe(i).$index,s=fe();return ke(s._tabFocusChanged(n,o))}),He(2,"span",8)(3,"div",9),X(4,"span",10)(5,"span",11),be(6,Fs,1,1,null,12)(7,Ps,1,1),ee()()()}if(r&2){let i=t.$implicit,e=t.$index,n=Ft(1),o=fe();Jt(i.labelClass),Ie("mdc-tab--active",o.selectedIndex===e),we("id",o._getTabLabelId(e))("disabled",i.disabled)("fitInkBarToContent",o.fitInkBarToContent),Ye("tabIndex",o._getTabIndex(e))("aria-posinset",e+1)("aria-setsize",o._tabs.length)("aria-controls",o._getTabContentId(e))("aria-selected",o.selectedIndex===e)("aria-label",i.ariaLabel||null)("aria-labelledby",!i.ariaLabel&&i.ariaLabelledby?i.ariaLabelledby:null),oe(3),we("matRippleTrigger",n)("matRippleDisabled",i.disabled||o.disableRipple),oe(3),ve(i.templateLabel?6:7)}}function Ns(r,t){r&1&&ni(0)}function Ls(r,t){if(r&1){let i=qe();X(0,"mat-tab-body",13),Te("_onCentered",function(){xe(i);let n=fe();return ke(n._removeTabBodyWrapperHeight())})("_onCentering",function(n){xe(i);let o=fe();return ke(o._setTabBodyWrapperHeight(n))}),ee()}if(r&2){let i=t.$implicit,e=t.$index,n=fe();Jt(i.bodyClass),Ie("mat-mdc-tab-body-active",n.selectedIndex===e),we("id",n._getTabContentId(e))("content",i.content)("position",i.position)("origin",i.origin)("animationDuration",n.animationDuration)("preserveContent",n.preserveContent),Ye("tabindex",n.contentTabIndex!=null&&n.selectedIndex===e?n.contentTabIndex:null)("aria-labelledby",n._getTabLabelId(e))("aria-hidden",n.selectedIndex!==e)}}var Bs=["codeTabs"];function js(r,t){if(r&1&&(X(0,"span"),_e(1),ee()),r&2){let i,e=fe();oe(),Xe((i=e.exampleMetadata())==null?null:i.title)}}function zs(r,t){if(r&1&&He(0,"mat-tab",16),r&2){let i=t.$implicit;we("label",i.name)}}function Us(r,t){if(r&1&&(X(0,"mat-tab-group",4,1),gt(2,zs,1,1,"mat-tab",16,ei),ee()),r&2){let i=fe();oe(2),_t(i.tabs())}}function Hs(r,t){r&1&&ti(0)}function Ws(r,t){r&1&&(ft(),X(0,"svg",18),He(1,"path",20),ee())}function Gs(r,t){r&1&&(ft(),X(0,"svg",19),He(1,"path",21),ee())}function $s(r,t){if(r&1){let i=qe();X(0,"button",17),Te("click",function(){xe(i);let n=fe();return ke(n.toggleExampleVisibility())}),X(1,"i",7),be(2,Ws,2,0,":svg:svg",18)(3,Gs,2,0,":svg:svg",19),ee()()}if(r&2){let i=fe();Ye("title",(i.expanded()?"Collapse":"Expand")+" example")("aria-label",(i.expanded()?"Collapse":"Expand")+" code example"),oe(2),ve(i.expanded()?3:2)}}function Zs(r,t){r&1&&ti(0)}function qs(r,t){if(r&1&&(X(0,"div",15),be(1,Zs,1,0,"ng-container",22),ee()),r&2){let i=fe();oe(),we("ngComponentOutlet",i.exampleComponent)}}function Qs(r,t){if(r&1&&(X(0,"a",23)(1,"i",7),ft(),X(2,"svg",8),He(3,"path",25),ee()()()),r&2){let i=fe(3);we("href",i.githubUrl,Xt)}}function Ks(r,t){if(r&1&&(X(0,"a",24)(1,"i",7),ft(),X(2,"svg",26),He(3,"path",27),ee()()()),r&2){let i=fe(3);we("href",i.stackblitzUrl,Xt)}}function Ys(r,t){if(r&1&&be(0,Qs,4,1,"a",23)(1,Ks,4,1,"a",24),r&2){let i=fe(2);ve(i.githubUrl?0:-1),oe(),ve(i.stackblitzUrl?1:-1)}}function Xs(r,t){if(r&1&&be(0,Ys,2,2),r&2){let i=fe();ve(i.exampleComponent?0:-1)}}function Js(r,t){if(r&1){let i=qe();X(0,"div",0)(1,"p"),_e(2,"This site uses cookies from Google to deliver its services and to analyze traffic."),ee(),X(3,"div")(4,"a",1)(5,"button",2),_e(6," Learn more "),ee()(),X(7,"button",3),Te("click",function(){xe(i);let n=fe();return ke(n.accept())}),_e(8," Ok, Got it "),ee()()()}r&2&&(oe(5),Ye("text","Learn more"),oe(2),Ye("text","Ok, Got it"))}var uo=r=>({$implicit:r}),ea=()=>({queryParams:"ignored",fragment:"ignored",matrixParams:"exact",paths:"exact",exact:!1});function ta(r,t){r&1&&(X(0,"docs-icon"),_e(1,"chevron_right"),ee())}function ia(r,t){if(r&1&&(X(0,"a",5)(1,"span"),_e(2),ee(),be(3,ta,2,0,"docs-icon"),ee()),r&2){let i=fe(2).$implicit;we("href",i.path,Xt),oe(),Ie("docs-external-link",i.isExternal),oe(),Xe(i.label),oe(),ve(i.children&&i.level>1&&!i.isExpanded?3:-1)}}function na(r,t){r&1&&(X(0,"docs-icon"),_e(1,"chevron_right"),ee())}function ra(r,t){if(r&1){let i=qe();X(0,"a",7),Te("click",function(){xe(i);let n=fe(4);return ke(n.emitClickOnLink())}),X(1,"span"),_e(2),ee(),be(3,na,2,0,"docs-icon"),ee()}if(r&2){let i=fe(2).$implicit;we("routerLink","/"+i.path)("routerLinkActiveOptions",dr(4,ea)),oe(2),Xe(i.label),oe(),ve(i.children&&!i.isExpanded?3:-1)}}function oa(r,t){if(r&1&&be(0,ia,4,5,"a",5)(1,ra,4,5,"a",6),r&2){let i=fe().$implicit;ve(i.isExternal?0:1)}}function sa(r,t){if(r&1&&(X(0,"div",8)(1,"span"),_e(2),ee()()),r&2){let i=fe(2).$implicit;oe(2),Xe(i.label)}}function aa(r,t){r&1&&(X(0,"docs-icon"),_e(1,"arrow_back"),ee())}function ca(r,t){if(r&1){let i=qe();X(0,"button",10),Si(1,"isActiveNavigationItem"),Te("click",function(){xe(i);let n=fe(2).$implicit,o=fe(2);return ke(o.toggle(n))}),be(2,aa,2,0,"docs-icon"),X(3,"span"),_e(4),ee()()}if(r&2){let i=fe(2).$implicit,e=fe(2);Ie("docs-faceted-list-item-active",Ai(1,14,i,e.activeItem()))("docs-expanded-button",i.children&&i.level==e.collapsableLevel)("docs-not-expanded-button",i.children&&i.level===e.expandableLevel)("docs-nav-item-has-icon",i.children&&i.level===e.expandableLevel&&!i.isExpanded),cr("aria-label","",i.isExpanded?"Collapse":"Expand"," ",i.label,""),Ye("aria-expanded",i.isExpanded),oe(2),ve(i.children&&i.level===e.collapsableLevel?2:-1),oe(2),Xe(i.label)}}function la(r,t){if(r&1&&be(0,sa,3,1,"div",8)(1,ca,5,17,"button",9),r&2){let i=fe().$implicit,e=fe(2);ve(i.level!==e.collapsableLevel&&i.level!==e.expandableLevel?0:-1),oe(),ve(i.children&&i.level===e.expandableLevel||i.level===e.collapsableLevel?1:-1)}}function da(r,t){r&1&&ti(0)}function ua(r,t){if(r&1&&be(0,da,1,0,"ng-container",1),r&2){let i=fe().$implicit;fe(2);let e=Ft(1);we("ngTemplateOutlet",e)("ngTemplateOutletContext",Ti(2,uo,i.children))}}function ha(r,t){if(r&1&&(X(0,"li",4),be(1,oa,2,1)(2,la,2,2)(3,ua,1,4,"ng-container"),ee()),r&2){let i=t.$implicit,e=fe(2);Ie("docs-navigation-link-hidden",e.displayItemsToLevel&&i.level>e.displayItemsToLevel),oe(),ve(i.path?1:2),oe(2),ve((i.children==null?null:i.children.length)>0?3:-1)}}function fa(r,t){if(r&1&&(X(0,"ul",2),gt(1,ha,4,4,"li",3,lr),ee()),r&2){let i=t.$implicit,e=fe();Ie("docs-navigation-list-dropdown",e.isDropdownView),oe(),_t(i)}}function ma(r,t){r&1&&ti(0)}var pa=["inputRef"];function ga(r,t){r&1&&(X(0,"docs-icon",1),_e(1,"search"),ee())}var _a=["searchDialog"],ba=(r,t)=>t.objectID;function va(r,t){r&1&&(X(0,"i",10),_e(1," description "),ee())}function ya(r,t){r&1&&(X(0,"i",10),_e(1,"code"),ee())}function wa(r,t){r&1&&(X(0,"i",10),_e(1," description "),ee())}function Ca(r,t){if(r&1&&(X(0,"span",12),_e(1),ee()),r&2){let i=fe(2).$implicit;oe(),Di(" ",i.hierarchy==null?null:i.hierarchy.lvl2," ")}}function xa(r,t){if(r&1&&(X(0,"span",13),_e(1),ee()),r&2){let i=fe(2).$implicit;oe(),Di(" ",i.hierarchy==null?null:i.hierarchy.lvl3," ")}}function ka(r,t){if(r&1&&(X(0,"a",7),Si(1,"relativeLink"),Si(2,"relativeLink"),X(3,"div")(4,"div",8)(5,"span",9),be(6,va,2,0,"i",10)(7,ya,2,0,"i",10)(8,wa,2,0,"i",10),ee(),X(9,"span",11),_e(10),ee()(),be(11,Ca,2,1,"span",12)(12,xa,2,1,"span",13),ee(),X(13,"span",14),_e(14),ee()()),r&2){let i=fe().$implicit;we("routerLink",Ai(1,7,"/"+i.url,"pathname"))("fragment",Ai(2,10,i.url,"hash")),oe(6),ve((i.hierarchy==null?null:i.hierarchy.lvl0)==="Docs"?6:(i.hierarchy==null?null:i.hierarchy.lvl0)==="Tutorials"?7:(i.hierarchy==null?null:i.hierarchy.lvl0)==="Reference"?8:-1),oe(4),Xe(i.hierarchy==null?null:i.hierarchy.lvl1),oe(),ve(i.hierarchy!=null&&i.hierarchy.lvl2&&!(i.hierarchy!=null&&i.hierarchy.lvl3)?11:-1),oe(),ve(i.hierarchy!=null&&i.hierarchy.lvl3?12:-1),oe(2),Xe(i.hierarchy==null?null:i.hierarchy.lvl0)}}function Ea(r,t){if(r&1&&(X(0,"li",6),be(1,ka,15,13,"a",7),ee()),r&2){let i=t.$implicit;we("item",i),oe(),ve(i.url?1:-1)}}function Ia(r,t){if(r&1&&(X(0,"ul",3),gt(1,Ea,2,2,"li",6,ba),ee()),r&2){let i=fe();oe(),_t(i.searchResults())}}function Da(r,t){r&1&&(X(0,"div",15)(1,"span"),_e(2,"Start typing to see results"),ee()())}function Ta(r,t){r&1&&(X(0,"div",16)(1,"span"),_e(2,"No results found"),ee()())}function Sa(r,t){if(r&1&&(X(0,"div",3),be(1,Da,3,0,"div",15)(2,Ta,3,0,"div",16),ee()),r&2){let i,e=fe();oe(),ve(e.searchResults()===void 0?1:((i=e.searchResults())==null?null:i.length)===0?2:-1)}}var Aa=(()=>{class r{constructor(){this.ignoredElementsIds=[],this.clickOutside=new De,this.document=ne(ze),this.elementRef=ne(Me)}onClick(i){!this.elementRef.nativeElement.contains(i.target)&&!this.wasClickedOnIgnoredElement(i)&&this.clickOutside.emit()}wasClickedOnIgnoredElement(i){return this.ignoredElementsIds.length===0?!1:this.ignoredElementsIds.some(e=>{let n=this.document.getElementById(e),o=i.target;return n?.contains(o)})}}return r.\u0275fac=function(i){return new(i||r)},r.\u0275dir=Ee({type:r,selectors:[["","docsClickOutside",""]],hostBindings:function(i,e){i&1&&Te("click",function(o){return e.onClick(o)},!1,sr)},inputs:{ignoredElementsIds:[0,"docsClickOutsideIgnore","ignoredElementsIds"]},outputs:{clickOutside:"docsClickOutside"},standalone:!0}),r})();var Ma=r=>{try{if(window.gtag){let t={ad_user_data:r,ad_personalization:r,ad_storage:r,analytics_storage:r};r==="denied"?window.gtag("consent","default",$e(ge({},t),{wait_for_update:500})):r==="granted"&&window.gtag("consent","update",ge({},t))}}catch{r==="denied"?console.error("Unable to set default cookie consent."):r==="granted"&&console.error("Unable to grant cookie consent.")}};var Oa=()=>typeof window<"u"&&window.matchMedia("(prefers-reduced-motion: reduce)").matches===!0;var Ra=typeof window<"u"&&window.navigator.userAgent.toLowerCase().includes("mobi"),ho=typeof window<"u"&&(/iPad|iPhone/.test(window.navigator.userAgent)||window.navigator.userAgent.includes("Mac")),Fa=typeof window<"u"&&ho&&!!window.navigator.maxTouchPoints&&window.navigator.maxTouchPoints>1,Bd=Ra&&ho||Fa,jd=typeof window<"u"&&window.navigator.userAgent.includes("Firefox/");var fo=new pe("DOCS_CONTENT_LOADER");function zd(r){return()=>ne(fo).getContent(r)}var Pa=new pe("ENVIRONMENT");var Va=new pe("EXAMPLE_VIEWER_CONTENT_LOADER");var Ud=new pe("",{providedIn:"root",factory:()=>Oe(!1)});var Na=new pe("LOCAL_STORAGE",{providedIn:"root",factory:()=>La(ne(Ot))}),La=r=>Pt(r)?new Sn:null,Sn=class{get length(){try{return localStorage.length}catch{return 0}}clear(){try{localStorage.clear()}catch{}}getItem(t){try{return localStorage.getItem(t)}catch{return null}}key(t){try{return localStorage.key(t)}catch{return null}}removeItem(t){try{localStorage.removeItem(t)}catch{}}setItem(t,i){try{localStorage.setItem(t,i)}catch{}}};var Hd=new pe("PREVIEWS_COMPONENTS");var Wn=new pe("WINDOW");function Wd(r){return r.defaultView}var Gd=r=>{let t=[],i=(e,n)=>{if(e.level=n,e.path&&t.push(e),e.children)for(let o of e.children)o.parent=e,i(o,n+1)};for(let e of r)i(e,1);return t},$d=(r,t)=>{let i=e=>{if(t(e),e.children)for(let n of e.children)i(n)};for(let e of r)i(e);return r},Zd=(r,t)=>{let i=null,e=n=>{if(t(n)&&(i=n),n.children&&!i)for(let o of n.children)e(o)};for(let n of r)e(n);return i},mo=(r,t)=>new URL(r).origin!==t,qd=(r,t)=>{if(r.path)try{r.isExternal=mo(r.path,t)}catch{}},Qd=(r,t)=>r.filter(i=>!!i.path).map(i=>{let e=ge({path:i.path},t);return e.data=ge(ge({},i),e.data),e.resolve=ge({docContent:n=>n.data.contentPath!==void 0?ne(fo).getContent(n.data.contentPath):void 0},e.resolve),e}),gi=r=>r[0]==="/"?r.substring(1):r,Kd=(r,t)=>{let i=t.parseUrl(r);return i.fragment=null,i.queryParams={},gi(i.toString())};function Ba(r,t){let i=r;if(i.ctrlKey||i.shiftKey||i.altKey||i.metaKey)return;let e=r.target.closest("a");if(e?.target&&e.target!=="self")return;let n=e?.getAttribute?.("href");n&&(r.preventDefault(),t.navigateByUrl(n))}function Yd(r){let t=r.routerState.root.snapshot;for(;t.firstChild;)t=t.firstChild;return t}var ja=async(r,t,i=()=>!0,e=[])=>{let n=await t.readdir(r,{withFileTypes:!0})??[];for(let o of n){let s=gi(`${r}/${o.name}`);if(o.isFile()){let c=await t.readFile(s,"utf-8");e.push({content:c,path:s})}else o.isDirectory()&&i(o.name)&&await ja(s,t,i,e)}return e};var Ur=r=>r.endsWith("/")?r.slice(0,-1):r;function po(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}function $i(r){throw new Error('Could not dynamically require "'+r+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var Xi={exports:{}};var Xd=Xi.exports;(function(r,t){(function(i){r.exports=i()})(function(){return function i(e,n,o){function s(b,y){if(!n[b]){if(!e[b]){var w=typeof $i=="function"&&$i;if(!y&&w)return w(b,!0);if(c)return c(b,!0);var x=new Error("Cannot find module '"+b+"'");throw x.code="MODULE_NOT_FOUND",x}var h=n[b]={exports:{}};e[b][0].call(h.exports,function(_){var u=e[b][1][_];return s(u||_)},h,h.exports,i,e,n,o)}return n[b].exports}for(var c=typeof $i=="function"&&$i,d=0;d<o.length;d++)s(o[d]);return s}({1:[function(i,e,n){"use strict";var o=i("./utils"),s=i("./support"),c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";n.encode=function(d){for(var b,y,w,x,h,_,u,g=[],m=0,v=d.length,E=v,A=o.getTypeOf(d)!=="string";m<d.length;)E=v-m,w=A?(b=d[m++],y=m<v?d[m++]:0,m<v?d[m++]:0):(b=d.charCodeAt(m++),y=m<v?d.charCodeAt(m++):0,m<v?d.charCodeAt(m++):0),x=b>>2,h=(3&b)<<4|y>>4,_=1<E?(15&y)<<2|w>>6:64,u=2<E?63&w:64,g.push(c.charAt(x)+c.charAt(h)+c.charAt(_)+c.charAt(u));return g.join("")},n.decode=function(d){var b,y,w,x,h,_,u=0,g=0,m="data:";if(d.substr(0,m.length)===m)throw new Error("Invalid base64 input, it looks like a data url.");var v,E=3*(d=d.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(d.charAt(d.length-1)===c.charAt(64)&&E--,d.charAt(d.length-2)===c.charAt(64)&&E--,E%1!=0)throw new Error("Invalid base64 input, bad content length.");for(v=s.uint8array?new Uint8Array(0|E):new Array(0|E);u<d.length;)b=c.indexOf(d.charAt(u++))<<2|(x=c.indexOf(d.charAt(u++)))>>4,y=(15&x)<<4|(h=c.indexOf(d.charAt(u++)))>>2,w=(3&h)<<6|(_=c.indexOf(d.charAt(u++))),v[g++]=b,h!==64&&(v[g++]=y),_!==64&&(v[g++]=w);return v}},{"./support":30,"./utils":32}],2:[function(i,e,n){"use strict";var o=i("./external"),s=i("./stream/DataWorker"),c=i("./stream/Crc32Probe"),d=i("./stream/DataLengthProbe");function b(y,w,x,h,_){this.compressedSize=y,this.uncompressedSize=w,this.crc32=x,this.compression=h,this.compressedContent=_}b.prototype={getContentWorker:function(){var y=new s(o.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new d("data_length")),w=this;return y.on("end",function(){if(this.streamInfo.data_length!==w.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),y},getCompressedWorker:function(){return new s(o.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},b.createWorkerFrom=function(y,w,x){return y.pipe(new c).pipe(new d("uncompressedSize")).pipe(w.compressWorker(x)).pipe(new d("compressedSize")).withStreamInfo("compression",w)},e.exports=b},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(i,e,n){"use strict";var o=i("./stream/GenericWorker");n.STORE={magic:"\0\0",compressWorker:function(){return new o("STORE compression")},uncompressWorker:function(){return new o("STORE decompression")}},n.DEFLATE=i("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(i,e,n){"use strict";var o=i("./utils"),s=function(){for(var c,d=[],b=0;b<256;b++){c=b;for(var y=0;y<8;y++)c=1&c?3988292384^c>>>1:c>>>1;d[b]=c}return d}();e.exports=function(c,d){return c!==void 0&&c.length?o.getTypeOf(c)!=="string"?function(b,y,w,x){var h=s,_=x+w;b^=-1;for(var u=x;u<_;u++)b=b>>>8^h[255&(b^y[u])];return-1^b}(0|d,c,c.length,0):function(b,y,w,x){var h=s,_=x+w;b^=-1;for(var u=x;u<_;u++)b=b>>>8^h[255&(b^y.charCodeAt(u))];return-1^b}(0|d,c,c.length,0):0}},{"./utils":32}],5:[function(i,e,n){"use strict";n.base64=!1,n.binary=!1,n.dir=!1,n.createFolders=!0,n.date=null,n.compression=null,n.compressionOptions=null,n.comment=null,n.unixPermissions=null,n.dosPermissions=null},{}],6:[function(i,e,n){"use strict";var o=null;o=typeof Promise<"u"?Promise:i("lie"),e.exports={Promise:o}},{lie:37}],7:[function(i,e,n){"use strict";var o=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",s=i("pako"),c=i("./utils"),d=i("./stream/GenericWorker"),b=o?"uint8array":"array";function y(w,x){d.call(this,"FlateWorker/"+w),this._pako=null,this._pakoAction=w,this._pakoOptions=x,this.meta={}}n.magic="\b\0",c.inherits(y,d),y.prototype.processChunk=function(w){this.meta=w.meta,this._pako===null&&this._createPako(),this._pako.push(c.transformTo(b,w.data),!1)},y.prototype.flush=function(){d.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},y.prototype.cleanUp=function(){d.prototype.cleanUp.call(this),this._pako=null},y.prototype._createPako=function(){this._pako=new s[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var w=this;this._pako.onData=function(x){w.push({data:x,meta:w.meta})}},n.compressWorker=function(w){return new y("Deflate",w)},n.uncompressWorker=function(){return new y("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(i,e,n){"use strict";function o(h,_){var u,g="";for(u=0;u<_;u++)g+=String.fromCharCode(255&h),h>>>=8;return g}function s(h,_,u,g,m,v){var E,A,T=h.file,H=h.compression,L=v!==b.utf8encode,Z=c.transformTo("string",v(T.name)),N=c.transformTo("string",b.utf8encode(T.name)),Q=T.comment,le=c.transformTo("string",v(Q)),C=c.transformTo("string",b.utf8encode(Q)),B=N.length!==T.name.length,l=C.length!==Q.length,U="",he="",$="",me=T.dir,q=T.date,de={crc32:0,compressedSize:0,uncompressedSize:0};_&&!u||(de.crc32=h.crc32,de.compressedSize=h.compressedSize,de.uncompressedSize=h.uncompressedSize);var F=0;_&&(F|=8),L||!B&&!l||(F|=2048);var O=0,ce=0;me&&(O|=16),m==="UNIX"?(ce=798,O|=function(Y,Se){var Re=Y;return Y||(Re=Se?16893:33204),(65535&Re)<<16}(T.unixPermissions,me)):(ce=20,O|=function(Y){return 63&(Y||0)}(T.dosPermissions)),E=q.getUTCHours(),E<<=6,E|=q.getUTCMinutes(),E<<=5,E|=q.getUTCSeconds()/2,A=q.getUTCFullYear()-1980,A<<=4,A|=q.getUTCMonth()+1,A<<=5,A|=q.getUTCDate(),B&&(he=o(1,1)+o(y(Z),4)+N,U+="up"+o(he.length,2)+he),l&&($=o(1,1)+o(y(le),4)+C,U+="uc"+o($.length,2)+$);var te="";return te+=`
\0`,te+=o(F,2),te+=H.magic,te+=o(E,2),te+=o(A,2),te+=o(de.crc32,4),te+=o(de.compressedSize,4),te+=o(de.uncompressedSize,4),te+=o(Z.length,2),te+=o(U.length,2),{fileRecord:w.LOCAL_FILE_HEADER+te+Z+U,dirRecord:w.CENTRAL_FILE_HEADER+o(ce,2)+te+o(le.length,2)+"\0\0\0\0"+o(O,4)+o(g,4)+Z+U+le}}var c=i("../utils"),d=i("../stream/GenericWorker"),b=i("../utf8"),y=i("../crc32"),w=i("../signature");function x(h,_,u,g){d.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=_,this.zipPlatform=u,this.encodeFileName=g,this.streamFiles=h,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}c.inherits(x,d),x.prototype.push=function(h){var _=h.meta.percent||0,u=this.entriesCount,g=this._sources.length;this.accumulate?this.contentBuffer.push(h):(this.bytesWritten+=h.data.length,d.prototype.push.call(this,{data:h.data,meta:{currentFile:this.currentFile,percent:u?(_+100*(u-g-1))/u:100}}))},x.prototype.openedSource=function(h){this.currentSourceOffset=this.bytesWritten,this.currentFile=h.file.name;var _=this.streamFiles&&!h.file.dir;if(_){var u=s(h,_,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:u.fileRecord,meta:{percent:0}})}else this.accumulate=!0},x.prototype.closedSource=function(h){this.accumulate=!1;var _=this.streamFiles&&!h.file.dir,u=s(h,_,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(u.dirRecord),_)this.push({data:function(g){return w.DATA_DESCRIPTOR+o(g.crc32,4)+o(g.compressedSize,4)+o(g.uncompressedSize,4)}(h),meta:{percent:100}});else for(this.push({data:u.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},x.prototype.flush=function(){for(var h=this.bytesWritten,_=0;_<this.dirRecords.length;_++)this.push({data:this.dirRecords[_],meta:{percent:100}});var u=this.bytesWritten-h,g=function(m,v,E,A,T){var H=c.transformTo("string",T(A));return w.CENTRAL_DIRECTORY_END+"\0\0\0\0"+o(m,2)+o(m,2)+o(v,4)+o(E,4)+o(H.length,2)+H}(this.dirRecords.length,u,h,this.zipComment,this.encodeFileName);this.push({data:g,meta:{percent:100}})},x.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},x.prototype.registerPrevious=function(h){this._sources.push(h);var _=this;return h.on("data",function(u){_.processChunk(u)}),h.on("end",function(){_.closedSource(_.previous.streamInfo),_._sources.length?_.prepareNextSource():_.end()}),h.on("error",function(u){_.error(u)}),this},x.prototype.resume=function(){return!!d.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},x.prototype.error=function(h){var _=this._sources;if(!d.prototype.error.call(this,h))return!1;for(var u=0;u<_.length;u++)try{_[u].error(h)}catch{}return!0},x.prototype.lock=function(){d.prototype.lock.call(this);for(var h=this._sources,_=0;_<h.length;_++)h[_].lock()},e.exports=x},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(i,e,n){"use strict";var o=i("../compressions"),s=i("./ZipFileWorker");n.generateWorker=function(c,d,b){var y=new s(d.streamFiles,b,d.platform,d.encodeFileName),w=0;try{c.forEach(function(x,h){w++;var _=function(v,E){var A=v||E,T=o[A];if(!T)throw new Error(A+" is not a valid compression method !");return T}(h.options.compression,d.compression),u=h.options.compressionOptions||d.compressionOptions||{},g=h.dir,m=h.date;h._compressWorker(_,u).withStreamInfo("file",{name:x,dir:g,date:m,comment:h.comment||"",unixPermissions:h.unixPermissions,dosPermissions:h.dosPermissions}).pipe(y)}),y.entriesCount=w}catch(x){y.error(x)}return y}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(i,e,n){"use strict";function o(){if(!(this instanceof o))return new o;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var s=new o;for(var c in this)typeof this[c]!="function"&&(s[c]=this[c]);return s}}(o.prototype=i("./object")).loadAsync=i("./load"),o.support=i("./support"),o.defaults=i("./defaults"),o.version="3.10.1",o.loadAsync=function(s,c){return new o().loadAsync(s,c)},o.external=i("./external"),e.exports=o},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(i,e,n){"use strict";var o=i("./utils"),s=i("./external"),c=i("./utf8"),d=i("./zipEntries"),b=i("./stream/Crc32Probe"),y=i("./nodejsUtils");function w(x){return new s.Promise(function(h,_){var u=x.decompressed.getContentWorker().pipe(new b);u.on("error",function(g){_(g)}).on("end",function(){u.streamInfo.crc32!==x.decompressed.crc32?_(new Error("Corrupted zip : CRC32 mismatch")):h()}).resume()})}e.exports=function(x,h){var _=this;return h=o.extend(h||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:c.utf8decode}),y.isNode&&y.isStream(x)?s.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):o.prepareContent("the loaded zip file",x,!0,h.optimizedBinaryString,h.base64).then(function(u){var g=new d(h);return g.load(u),g}).then(function(u){var g=[s.Promise.resolve(u)],m=u.files;if(h.checkCRC32)for(var v=0;v<m.length;v++)g.push(w(m[v]));return s.Promise.all(g)}).then(function(u){for(var g=u.shift(),m=g.files,v=0;v<m.length;v++){var E=m[v],A=E.fileNameStr,T=o.resolve(E.fileNameStr);_.file(T,E.decompressed,{binary:!0,optimizedBinaryString:!0,date:E.date,dir:E.dir,comment:E.fileCommentStr.length?E.fileCommentStr:null,unixPermissions:E.unixPermissions,dosPermissions:E.dosPermissions,createFolders:h.createFolders}),E.dir||(_.file(T).unsafeOriginalName=A)}return g.zipComment.length&&(_.comment=g.zipComment),_})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(i,e,n){"use strict";var o=i("../utils"),s=i("../stream/GenericWorker");function c(d,b){s.call(this,"Nodejs stream input adapter for "+d),this._upstreamEnded=!1,this._bindStream(b)}o.inherits(c,s),c.prototype._bindStream=function(d){var b=this;(this._stream=d).pause(),d.on("data",function(y){b.push({data:y,meta:{percent:0}})}).on("error",function(y){b.isPaused?this.generatedError=y:b.error(y)}).on("end",function(){b.isPaused?b._upstreamEnded=!0:b.end()})},c.prototype.pause=function(){return!!s.prototype.pause.call(this)&&(this._stream.pause(),!0)},c.prototype.resume=function(){return!!s.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},e.exports=c},{"../stream/GenericWorker":28,"../utils":32}],13:[function(i,e,n){"use strict";var o=i("readable-stream").Readable;function s(c,d,b){o.call(this,d),this._helper=c;var y=this;c.on("data",function(w,x){y.push(w)||y._helper.pause(),b&&b(x)}).on("error",function(w){y.emit("error",w)}).on("end",function(){y.push(null)})}i("../utils").inherits(s,o),s.prototype._read=function(){this._helper.resume()},e.exports=s},{"../utils":32,"readable-stream":16}],14:[function(i,e,n){"use strict";e.exports={isNode:typeof Buffer<"u",newBufferFrom:function(o,s){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from(o,s);if(typeof o=="number")throw new Error('The "data" argument must not be a number');return new Buffer(o,s)},allocBuffer:function(o){if(Buffer.alloc)return Buffer.alloc(o);var s=new Buffer(o);return s.fill(0),s},isBuffer:function(o){return Buffer.isBuffer(o)},isStream:function(o){return o&&typeof o.on=="function"&&typeof o.pause=="function"&&typeof o.resume=="function"}}},{}],15:[function(i,e,n){"use strict";function o(T,H,L){var Z,N=c.getTypeOf(H),Q=c.extend(L||{},y);Q.date=Q.date||new Date,Q.compression!==null&&(Q.compression=Q.compression.toUpperCase()),typeof Q.unixPermissions=="string"&&(Q.unixPermissions=parseInt(Q.unixPermissions,8)),Q.unixPermissions&&16384&Q.unixPermissions&&(Q.dir=!0),Q.dosPermissions&&16&Q.dosPermissions&&(Q.dir=!0),Q.dir&&(T=m(T)),Q.createFolders&&(Z=g(T))&&v.call(this,Z,!0);var le=N==="string"&&Q.binary===!1&&Q.base64===!1;L&&L.binary!==void 0||(Q.binary=!le),(H instanceof w&&H.uncompressedSize===0||Q.dir||!H||H.length===0)&&(Q.base64=!1,Q.binary=!0,H="",Q.compression="STORE",N="string");var C=null;C=H instanceof w||H instanceof d?H:_.isNode&&_.isStream(H)?new u(T,H):c.prepareContent(T,H,Q.binary,Q.optimizedBinaryString,Q.base64);var B=new x(T,C,Q);this.files[T]=B}var s=i("./utf8"),c=i("./utils"),d=i("./stream/GenericWorker"),b=i("./stream/StreamHelper"),y=i("./defaults"),w=i("./compressedObject"),x=i("./zipObject"),h=i("./generate"),_=i("./nodejsUtils"),u=i("./nodejs/NodejsStreamInputAdapter"),g=function(T){T.slice(-1)==="/"&&(T=T.substring(0,T.length-1));var H=T.lastIndexOf("/");return 0<H?T.substring(0,H):""},m=function(T){return T.slice(-1)!=="/"&&(T+="/"),T},v=function(T,H){return H=H!==void 0?H:y.createFolders,T=m(T),this.files[T]||o.call(this,T,null,{dir:!0,createFolders:H}),this.files[T]};function E(T){return Object.prototype.toString.call(T)==="[object RegExp]"}var A={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(T){var H,L,Z;for(H in this.files)Z=this.files[H],(L=H.slice(this.root.length,H.length))&&H.slice(0,this.root.length)===this.root&&T(L,Z)},filter:function(T){var H=[];return this.forEach(function(L,Z){T(L,Z)&&H.push(Z)}),H},file:function(T,H,L){if(arguments.length!==1)return T=this.root+T,o.call(this,T,H,L),this;if(E(T)){var Z=T;return this.filter(function(Q,le){return!le.dir&&Z.test(Q)})}var N=this.files[this.root+T];return N&&!N.dir?N:null},folder:function(T){if(!T)return this;if(E(T))return this.filter(function(N,Q){return Q.dir&&T.test(N)});var H=this.root+T,L=v.call(this,H),Z=this.clone();return Z.root=L.name,Z},remove:function(T){T=this.root+T;var H=this.files[T];if(H||(T.slice(-1)!=="/"&&(T+="/"),H=this.files[T]),H&&!H.dir)delete this.files[T];else for(var L=this.filter(function(N,Q){return Q.name.slice(0,T.length)===T}),Z=0;Z<L.length;Z++)delete this.files[L[Z].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(T){var H,L={};try{if((L=c.extend(T||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:s.utf8encode})).type=L.type.toLowerCase(),L.compression=L.compression.toUpperCase(),L.type==="binarystring"&&(L.type="string"),!L.type)throw new Error("No output type specified.");c.checkSupport(L.type),L.platform!=="darwin"&&L.platform!=="freebsd"&&L.platform!=="linux"&&L.platform!=="sunos"||(L.platform="UNIX"),L.platform==="win32"&&(L.platform="DOS");var Z=L.comment||this.comment||"";H=h.generateWorker(this,L,Z)}catch(N){(H=new d("error")).error(N)}return new b(H,L.type||"string",L.mimeType)},generateAsync:function(T,H){return this.generateInternalStream(T).accumulate(H)},generateNodeStream:function(T,H){return(T=T||{}).type||(T.type="nodebuffer"),this.generateInternalStream(T).toNodejsStream(H)}};e.exports=A},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(i,e,n){"use strict";e.exports=i("stream")},{stream:void 0}],17:[function(i,e,n){"use strict";var o=i("./DataReader");function s(c){o.call(this,c);for(var d=0;d<this.data.length;d++)c[d]=255&c[d]}i("../utils").inherits(s,o),s.prototype.byteAt=function(c){return this.data[this.zero+c]},s.prototype.lastIndexOfSignature=function(c){for(var d=c.charCodeAt(0),b=c.charCodeAt(1),y=c.charCodeAt(2),w=c.charCodeAt(3),x=this.length-4;0<=x;--x)if(this.data[x]===d&&this.data[x+1]===b&&this.data[x+2]===y&&this.data[x+3]===w)return x-this.zero;return-1},s.prototype.readAndCheckSignature=function(c){var d=c.charCodeAt(0),b=c.charCodeAt(1),y=c.charCodeAt(2),w=c.charCodeAt(3),x=this.readData(4);return d===x[0]&&b===x[1]&&y===x[2]&&w===x[3]},s.prototype.readData=function(c){if(this.checkOffset(c),c===0)return[];var d=this.data.slice(this.zero+this.index,this.zero+this.index+c);return this.index+=c,d},e.exports=s},{"../utils":32,"./DataReader":18}],18:[function(i,e,n){"use strict";var o=i("../utils");function s(c){this.data=c,this.length=c.length,this.index=0,this.zero=0}s.prototype={checkOffset:function(c){this.checkIndex(this.index+c)},checkIndex:function(c){if(this.length<this.zero+c||c<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+c+"). Corrupted zip ?")},setIndex:function(c){this.checkIndex(c),this.index=c},skip:function(c){this.setIndex(this.index+c)},byteAt:function(){},readInt:function(c){var d,b=0;for(this.checkOffset(c),d=this.index+c-1;d>=this.index;d--)b=(b<<8)+this.byteAt(d);return this.index+=c,b},readString:function(c){return o.transformTo("string",this.readData(c))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var c=this.readInt(4);return new Date(Date.UTC(1980+(c>>25&127),(c>>21&15)-1,c>>16&31,c>>11&31,c>>5&63,(31&c)<<1))}},e.exports=s},{"../utils":32}],19:[function(i,e,n){"use strict";var o=i("./Uint8ArrayReader");function s(c){o.call(this,c)}i("../utils").inherits(s,o),s.prototype.readData=function(c){this.checkOffset(c);var d=this.data.slice(this.zero+this.index,this.zero+this.index+c);return this.index+=c,d},e.exports=s},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(i,e,n){"use strict";var o=i("./DataReader");function s(c){o.call(this,c)}i("../utils").inherits(s,o),s.prototype.byteAt=function(c){return this.data.charCodeAt(this.zero+c)},s.prototype.lastIndexOfSignature=function(c){return this.data.lastIndexOf(c)-this.zero},s.prototype.readAndCheckSignature=function(c){return c===this.readData(4)},s.prototype.readData=function(c){this.checkOffset(c);var d=this.data.slice(this.zero+this.index,this.zero+this.index+c);return this.index+=c,d},e.exports=s},{"../utils":32,"./DataReader":18}],21:[function(i,e,n){"use strict";var o=i("./ArrayReader");function s(c){o.call(this,c)}i("../utils").inherits(s,o),s.prototype.readData=function(c){if(this.checkOffset(c),c===0)return new Uint8Array(0);var d=this.data.subarray(this.zero+this.index,this.zero+this.index+c);return this.index+=c,d},e.exports=s},{"../utils":32,"./ArrayReader":17}],22:[function(i,e,n){"use strict";var o=i("../utils"),s=i("../support"),c=i("./ArrayReader"),d=i("./StringReader"),b=i("./NodeBufferReader"),y=i("./Uint8ArrayReader");e.exports=function(w){var x=o.getTypeOf(w);return o.checkSupport(x),x!=="string"||s.uint8array?x==="nodebuffer"?new b(w):s.uint8array?new y(o.transformTo("uint8array",w)):new c(o.transformTo("array",w)):new d(w)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(i,e,n){"use strict";n.LOCAL_FILE_HEADER="PK",n.CENTRAL_FILE_HEADER="PK",n.CENTRAL_DIRECTORY_END="PK",n.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07",n.ZIP64_CENTRAL_DIRECTORY_END="PK",n.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(i,e,n){"use strict";var o=i("./GenericWorker"),s=i("../utils");function c(d){o.call(this,"ConvertWorker to "+d),this.destType=d}s.inherits(c,o),c.prototype.processChunk=function(d){this.push({data:s.transformTo(this.destType,d.data),meta:d.meta})},e.exports=c},{"../utils":32,"./GenericWorker":28}],25:[function(i,e,n){"use strict";var o=i("./GenericWorker"),s=i("../crc32");function c(){o.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}i("../utils").inherits(c,o),c.prototype.processChunk=function(d){this.streamInfo.crc32=s(d.data,this.streamInfo.crc32||0),this.push(d)},e.exports=c},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(i,e,n){"use strict";var o=i("../utils"),s=i("./GenericWorker");function c(d){s.call(this,"DataLengthProbe for "+d),this.propName=d,this.withStreamInfo(d,0)}o.inherits(c,s),c.prototype.processChunk=function(d){if(d){var b=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=b+d.data.length}s.prototype.processChunk.call(this,d)},e.exports=c},{"../utils":32,"./GenericWorker":28}],27:[function(i,e,n){"use strict";var o=i("../utils"),s=i("./GenericWorker");function c(d){s.call(this,"DataWorker");var b=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,d.then(function(y){b.dataIsReady=!0,b.data=y,b.max=y&&y.length||0,b.type=o.getTypeOf(y),b.isPaused||b._tickAndRepeat()},function(y){b.error(y)})}o.inherits(c,s),c.prototype.cleanUp=function(){s.prototype.cleanUp.call(this),this.data=null},c.prototype.resume=function(){return!!s.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,o.delay(this._tickAndRepeat,[],this)),!0)},c.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(o.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},c.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var d=null,b=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":d=this.data.substring(this.index,b);break;case"uint8array":d=this.data.subarray(this.index,b);break;case"array":case"nodebuffer":d=this.data.slice(this.index,b)}return this.index=b,this.push({data:d,meta:{percent:this.max?this.index/this.max*100:0}})},e.exports=c},{"../utils":32,"./GenericWorker":28}],28:[function(i,e,n){"use strict";function o(s){this.name=s||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}o.prototype={push:function(s){this.emit("data",s)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(s){this.emit("error",s)}return!0},error:function(s){return!this.isFinished&&(this.isPaused?this.generatedError=s:(this.isFinished=!0,this.emit("error",s),this.previous&&this.previous.error(s),this.cleanUp()),!0)},on:function(s,c){return this._listeners[s].push(c),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(s,c){if(this._listeners[s])for(var d=0;d<this._listeners[s].length;d++)this._listeners[s][d].call(this,c)},pipe:function(s){return s.registerPrevious(this)},registerPrevious:function(s){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=s.streamInfo,this.mergeStreamInfo(),this.previous=s;var c=this;return s.on("data",function(d){c.processChunk(d)}),s.on("end",function(){c.end()}),s.on("error",function(d){c.error(d)}),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;var s=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),s=!0),this.previous&&this.previous.resume(),!s},flush:function(){},processChunk:function(s){this.push(s)},withStreamInfo:function(s,c){return this.extraStreamInfo[s]=c,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var s in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,s)&&(this.streamInfo[s]=this.extraStreamInfo[s])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var s="Worker "+this.name;return this.previous?this.previous+" -> "+s:s}},e.exports=o},{}],29:[function(i,e,n){"use strict";var o=i("../utils"),s=i("./ConvertWorker"),c=i("./GenericWorker"),d=i("../base64"),b=i("../support"),y=i("../external"),w=null;if(b.nodestream)try{w=i("../nodejs/NodejsStreamOutputAdapter")}catch{}function x(_,u){return new y.Promise(function(g,m){var v=[],E=_._internalType,A=_._outputType,T=_._mimeType;_.on("data",function(H,L){v.push(H),u&&u(L)}).on("error",function(H){v=[],m(H)}).on("end",function(){try{var H=function(L,Z,N){switch(L){case"blob":return o.newBlob(o.transformTo("arraybuffer",Z),N);case"base64":return d.encode(Z);default:return o.transformTo(L,Z)}}(A,function(L,Z){var N,Q=0,le=null,C=0;for(N=0;N<Z.length;N++)C+=Z[N].length;switch(L){case"string":return Z.join("");case"array":return Array.prototype.concat.apply([],Z);case"uint8array":for(le=new Uint8Array(C),N=0;N<Z.length;N++)le.set(Z[N],Q),Q+=Z[N].length;return le;case"nodebuffer":return Buffer.concat(Z);default:throw new Error("concat : unsupported type '"+L+"'")}}(E,v),T);g(H)}catch(L){m(L)}v=[]}).resume()})}function h(_,u,g){var m=u;switch(u){case"blob":case"arraybuffer":m="uint8array";break;case"base64":m="string"}try{this._internalType=m,this._outputType=u,this._mimeType=g,o.checkSupport(m),this._worker=_.pipe(new s(m)),_.lock()}catch(v){this._worker=new c("error"),this._worker.error(v)}}h.prototype={accumulate:function(_){return x(this,_)},on:function(_,u){var g=this;return _==="data"?this._worker.on(_,function(m){u.call(g,m.data,m.meta)}):this._worker.on(_,function(){o.delay(u,arguments,g)}),this},resume:function(){return o.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(_){if(o.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw new Error(this._outputType+" is not supported by this method");return new w(this,{objectMode:this._outputType!=="nodebuffer"},_)}},e.exports=h},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(i,e,n){"use strict";if(n.base64=!0,n.array=!0,n.string=!0,n.arraybuffer=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u",n.nodebuffer=typeof Buffer<"u",n.uint8array=typeof Uint8Array<"u",typeof ArrayBuffer>"u")n.blob=!1;else{var o=new ArrayBuffer(0);try{n.blob=new Blob([o],{type:"application/zip"}).size===0}catch{try{var s=new(this.BlobBuilder||this.WebKitBlobBuilder||this.MozBlobBuilder||this.MSBlobBuilder);s.append(o),n.blob=s.getBlob("application/zip").size===0}catch{n.blob=!1}}}try{n.nodestream=!!i("readable-stream").Readable}catch{n.nodestream=!1}},{"readable-stream":16}],31:[function(i,e,n){"use strict";for(var o=i("./utils"),s=i("./support"),c=i("./nodejsUtils"),d=i("./stream/GenericWorker"),b=new Array(256),y=0;y<256;y++)b[y]=252<=y?6:248<=y?5:240<=y?4:224<=y?3:192<=y?2:1;b[254]=b[254]=1;function w(){d.call(this,"utf-8 decode"),this.leftOver=null}function x(){d.call(this,"utf-8 encode")}n.utf8encode=function(h){return s.nodebuffer?c.newBufferFrom(h,"utf-8"):function(_){var u,g,m,v,E,A=_.length,T=0;for(v=0;v<A;v++)(64512&(g=_.charCodeAt(v)))==55296&&v+1<A&&(64512&(m=_.charCodeAt(v+1)))==56320&&(g=65536+(g-55296<<10)+(m-56320),v++),T+=g<128?1:g<2048?2:g<65536?3:4;for(u=s.uint8array?new Uint8Array(T):new Array(T),v=E=0;E<T;v++)(64512&(g=_.charCodeAt(v)))==55296&&v+1<A&&(64512&(m=_.charCodeAt(v+1)))==56320&&(g=65536+(g-55296<<10)+(m-56320),v++),g<128?u[E++]=g:(g<2048?u[E++]=192|g>>>6:(g<65536?u[E++]=224|g>>>12:(u[E++]=240|g>>>18,u[E++]=128|g>>>12&63),u[E++]=128|g>>>6&63),u[E++]=128|63&g);return u}(h)},n.utf8decode=function(h){return s.nodebuffer?o.transformTo("nodebuffer",h).toString("utf-8"):function(_){var u,g,m,v,E=_.length,A=new Array(2*E);for(u=g=0;u<E;)if((m=_[u++])<128)A[g++]=m;else if(4<(v=b[m]))A[g++]=65533,u+=v-1;else{for(m&=v===2?31:v===3?15:7;1<v&&u<E;)m=m<<6|63&_[u++],v--;1<v?A[g++]=65533:m<65536?A[g++]=m:(m-=65536,A[g++]=55296|m>>10&1023,A[g++]=56320|1023&m)}return A.length!==g&&(A.subarray?A=A.subarray(0,g):A.length=g),o.applyFromCharCode(A)}(h=o.transformTo(s.uint8array?"uint8array":"array",h))},o.inherits(w,d),w.prototype.processChunk=function(h){var _=o.transformTo(s.uint8array?"uint8array":"array",h.data);if(this.leftOver&&this.leftOver.length){if(s.uint8array){var u=_;(_=new Uint8Array(u.length+this.leftOver.length)).set(this.leftOver,0),_.set(u,this.leftOver.length)}else _=this.leftOver.concat(_);this.leftOver=null}var g=function(v,E){var A;for((E=E||v.length)>v.length&&(E=v.length),A=E-1;0<=A&&(192&v[A])==128;)A--;return A<0||A===0?E:A+b[v[A]]>E?A:E}(_),m=_;g!==_.length&&(s.uint8array?(m=_.subarray(0,g),this.leftOver=_.subarray(g,_.length)):(m=_.slice(0,g),this.leftOver=_.slice(g,_.length))),this.push({data:n.utf8decode(m),meta:h.meta})},w.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:n.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},n.Utf8DecodeWorker=w,o.inherits(x,d),x.prototype.processChunk=function(h){this.push({data:n.utf8encode(h.data),meta:h.meta})},n.Utf8EncodeWorker=x},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(i,e,n){"use strict";var o=i("./support"),s=i("./base64"),c=i("./nodejsUtils"),d=i("./external");function b(u){return u}function y(u,g){for(var m=0;m<u.length;++m)g[m]=255&u.charCodeAt(m);return g}i("setimmediate"),n.newBlob=function(u,g){n.checkSupport("blob");try{return new Blob([u],{type:g})}catch{try{var m=new(this.BlobBuilder||this.WebKitBlobBuilder||this.MozBlobBuilder||this.MSBlobBuilder);return m.append(u),m.getBlob(g)}catch{throw new Error("Bug : can't construct the Blob.")}}};var w={stringifyByChunk:function(u,g,m){var v=[],E=0,A=u.length;if(A<=m)return String.fromCharCode.apply(null,u);for(;E<A;)g==="array"||g==="nodebuffer"?v.push(String.fromCharCode.apply(null,u.slice(E,Math.min(E+m,A)))):v.push(String.fromCharCode.apply(null,u.subarray(E,Math.min(E+m,A)))),E+=m;return v.join("")},stringifyByChar:function(u){for(var g="",m=0;m<u.length;m++)g+=String.fromCharCode(u[m]);return g},applyCanBeUsed:{uint8array:function(){try{return o.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch{return!1}}(),nodebuffer:function(){try{return o.nodebuffer&&String.fromCharCode.apply(null,c.allocBuffer(1)).length===1}catch{return!1}}()}};function x(u){var g=65536,m=n.getTypeOf(u),v=!0;if(m==="uint8array"?v=w.applyCanBeUsed.uint8array:m==="nodebuffer"&&(v=w.applyCanBeUsed.nodebuffer),v)for(;1<g;)try{return w.stringifyByChunk(u,m,g)}catch{g=Math.floor(g/2)}return w.stringifyByChar(u)}function h(u,g){for(var m=0;m<u.length;m++)g[m]=u[m];return g}n.applyFromCharCode=x;var _={};_.string={string:b,array:function(u){return y(u,new Array(u.length))},arraybuffer:function(u){return _.string.uint8array(u).buffer},uint8array:function(u){return y(u,new Uint8Array(u.length))},nodebuffer:function(u){return y(u,c.allocBuffer(u.length))}},_.array={string:x,array:b,arraybuffer:function(u){return new Uint8Array(u).buffer},uint8array:function(u){return new Uint8Array(u)},nodebuffer:function(u){return c.newBufferFrom(u)}},_.arraybuffer={string:function(u){return x(new Uint8Array(u))},array:function(u){return h(new Uint8Array(u),new Array(u.byteLength))},arraybuffer:b,uint8array:function(u){return new Uint8Array(u)},nodebuffer:function(u){return c.newBufferFrom(new Uint8Array(u))}},_.uint8array={string:x,array:function(u){return h(u,new Array(u.length))},arraybuffer:function(u){return u.buffer},uint8array:b,nodebuffer:function(u){return c.newBufferFrom(u)}},_.nodebuffer={string:x,array:function(u){return h(u,new Array(u.length))},arraybuffer:function(u){return _.nodebuffer.uint8array(u).buffer},uint8array:function(u){return h(u,new Uint8Array(u.length))},nodebuffer:b},n.transformTo=function(u,g){if(g=g||"",!u)return g;n.checkSupport(u);var m=n.getTypeOf(g);return _[m][u](g)},n.resolve=function(u){for(var g=u.split("/"),m=[],v=0;v<g.length;v++){var E=g[v];E==="."||E===""&&v!==0&&v!==g.length-1||(E===".."?m.pop():m.push(E))}return m.join("/")},n.getTypeOf=function(u){return typeof u=="string"?"string":Object.prototype.toString.call(u)==="[object Array]"?"array":o.nodebuffer&&c.isBuffer(u)?"nodebuffer":o.uint8array&&u instanceof Uint8Array?"uint8array":o.arraybuffer&&u instanceof ArrayBuffer?"arraybuffer":void 0},n.checkSupport=function(u){if(!o[u.toLowerCase()])throw new Error(u+" is not supported by this platform")},n.MAX_VALUE_16BITS=65535,n.MAX_VALUE_32BITS=-1,n.pretty=function(u){var g,m,v="";for(m=0;m<(u||"").length;m++)v+="\\x"+((g=u.charCodeAt(m))<16?"0":"")+g.toString(16).toUpperCase();return v},n.delay=function(u,g,m){setImmediate(function(){u.apply(m||null,g||[])})},n.inherits=function(u,g){function m(){}m.prototype=g.prototype,u.prototype=new m},n.extend=function(){var u,g,m={};for(u=0;u<arguments.length;u++)for(g in arguments[u])Object.prototype.hasOwnProperty.call(arguments[u],g)&&m[g]===void 0&&(m[g]=arguments[u][g]);return m},n.prepareContent=function(u,g,m,v,E){return d.Promise.resolve(g).then(function(A){return o.blob&&(A instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(A))!==-1)&&typeof FileReader<"u"?new d.Promise(function(T,H){var L=new FileReader;L.onload=function(Z){T(Z.target.result)},L.onerror=function(Z){H(Z.target.error)},L.readAsArrayBuffer(A)}):A}).then(function(A){var T=n.getTypeOf(A);return T?(T==="arraybuffer"?A=n.transformTo("uint8array",A):T==="string"&&(E?A=s.decode(A):m&&v!==!0&&(A=function(H){return y(H,o.uint8array?new Uint8Array(H.length):new Array(H.length))}(A))),A):d.Promise.reject(new Error("Can't read the data of '"+u+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(i,e,n){"use strict";var o=i("./reader/readerFor"),s=i("./utils"),c=i("./signature"),d=i("./zipEntry"),b=i("./support");function y(w){this.files=[],this.loadOptions=w}y.prototype={checkSignature:function(w){if(!this.reader.readAndCheckSignature(w)){this.reader.index-=4;var x=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+s.pretty(x)+", expected "+s.pretty(w)+")")}},isSignature:function(w,x){var h=this.reader.index;this.reader.setIndex(w);var _=this.reader.readString(4)===x;return this.reader.setIndex(h),_},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var w=this.reader.readData(this.zipCommentLength),x=b.uint8array?"uint8array":"array",h=s.transformTo(x,w);this.zipComment=this.loadOptions.decodeFileName(h)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var w,x,h,_=this.zip64EndOfCentralSize-44;0<_;)w=this.reader.readInt(2),x=this.reader.readInt(4),h=this.reader.readData(x),this.zip64ExtensibleData[w]={id:w,length:x,value:h}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var w,x;for(w=0;w<this.files.length;w++)x=this.files[w],this.reader.setIndex(x.localHeaderOffset),this.checkSignature(c.LOCAL_FILE_HEADER),x.readLocalPart(this.reader),x.handleUTF8(),x.processAttributes()},readCentralDir:function(){var w;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(c.CENTRAL_FILE_HEADER);)(w=new d({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(w);if(this.centralDirRecords!==this.files.length&&this.centralDirRecords!==0&&this.files.length===0)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var w=this.reader.lastIndexOfSignature(c.CENTRAL_DIRECTORY_END);if(w<0)throw this.isSignature(0,c.LOCAL_FILE_HEADER)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(w);var x=w;if(this.checkSignature(c.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===s.MAX_VALUE_16BITS||this.diskWithCentralDirStart===s.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===s.MAX_VALUE_16BITS||this.centralDirRecords===s.MAX_VALUE_16BITS||this.centralDirSize===s.MAX_VALUE_32BITS||this.centralDirOffset===s.MAX_VALUE_32BITS){if(this.zip64=!0,(w=this.reader.lastIndexOfSignature(c.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(w),this.checkSignature(c.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,c.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(c.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(c.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var h=this.centralDirOffset+this.centralDirSize;this.zip64&&(h+=20,h+=12+this.zip64EndOfCentralSize);var _=x-h;if(0<_)this.isSignature(x,c.CENTRAL_FILE_HEADER)||(this.reader.zero=_);else if(_<0)throw new Error("Corrupted zip: missing "+Math.abs(_)+" bytes.")},prepareReader:function(w){this.reader=o(w)},load:function(w){this.prepareReader(w),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},e.exports=y},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(i,e,n){"use strict";var o=i("./reader/readerFor"),s=i("./utils"),c=i("./compressedObject"),d=i("./crc32"),b=i("./utf8"),y=i("./compressions"),w=i("./support");function x(h,_){this.options=h,this.loadOptions=_}x.prototype={isEncrypted:function(){return(1&this.bitFlag)==1},useUTF8:function(){return(2048&this.bitFlag)==2048},readLocalPart:function(h){var _,u;if(h.skip(22),this.fileNameLength=h.readInt(2),u=h.readInt(2),this.fileName=h.readData(this.fileNameLength),h.skip(u),this.compressedSize===-1||this.uncompressedSize===-1)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if((_=function(g){for(var m in y)if(Object.prototype.hasOwnProperty.call(y,m)&&y[m].magic===g)return y[m];return null}(this.compressionMethod))===null)throw new Error("Corrupted zip : compression "+s.pretty(this.compressionMethod)+" unknown (inner file : "+s.transformTo("string",this.fileName)+")");this.decompressed=new c(this.compressedSize,this.uncompressedSize,this.crc32,_,h.readData(this.compressedSize))},readCentralPart:function(h){this.versionMadeBy=h.readInt(2),h.skip(2),this.bitFlag=h.readInt(2),this.compressionMethod=h.readString(2),this.date=h.readDate(),this.crc32=h.readInt(4),this.compressedSize=h.readInt(4),this.uncompressedSize=h.readInt(4);var _=h.readInt(2);if(this.extraFieldsLength=h.readInt(2),this.fileCommentLength=h.readInt(2),this.diskNumberStart=h.readInt(2),this.internalFileAttributes=h.readInt(2),this.externalFileAttributes=h.readInt(4),this.localHeaderOffset=h.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");h.skip(_),this.readExtraFields(h),this.parseZIP64ExtraField(h),this.fileComment=h.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var h=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),h==0&&(this.dosPermissions=63&this.externalFileAttributes),h==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var h=o(this.extraFields[1].value);this.uncompressedSize===s.MAX_VALUE_32BITS&&(this.uncompressedSize=h.readInt(8)),this.compressedSize===s.MAX_VALUE_32BITS&&(this.compressedSize=h.readInt(8)),this.localHeaderOffset===s.MAX_VALUE_32BITS&&(this.localHeaderOffset=h.readInt(8)),this.diskNumberStart===s.MAX_VALUE_32BITS&&(this.diskNumberStart=h.readInt(4))}},readExtraFields:function(h){var _,u,g,m=h.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});h.index+4<m;)_=h.readInt(2),u=h.readInt(2),g=h.readData(u),this.extraFields[_]={id:_,length:u,value:g};h.setIndex(m)},handleUTF8:function(){var h=w.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=b.utf8decode(this.fileName),this.fileCommentStr=b.utf8decode(this.fileComment);else{var _=this.findExtraFieldUnicodePath();if(_!==null)this.fileNameStr=_;else{var u=s.transformTo(h,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(u)}var g=this.findExtraFieldUnicodeComment();if(g!==null)this.fileCommentStr=g;else{var m=s.transformTo(h,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(m)}}},findExtraFieldUnicodePath:function(){var h=this.extraFields[28789];if(h){var _=o(h.value);return _.readInt(1)!==1||d(this.fileName)!==_.readInt(4)?null:b.utf8decode(_.readData(h.length-5))}return null},findExtraFieldUnicodeComment:function(){var h=this.extraFields[25461];if(h){var _=o(h.value);return _.readInt(1)!==1||d(this.fileComment)!==_.readInt(4)?null:b.utf8decode(_.readData(h.length-5))}return null}},e.exports=x},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(i,e,n){"use strict";function o(_,u,g){this.name=_,this.dir=g.dir,this.date=g.date,this.comment=g.comment,this.unixPermissions=g.unixPermissions,this.dosPermissions=g.dosPermissions,this._data=u,this._dataBinary=g.binary,this.options={compression:g.compression,compressionOptions:g.compressionOptions}}var s=i("./stream/StreamHelper"),c=i("./stream/DataWorker"),d=i("./utf8"),b=i("./compressedObject"),y=i("./stream/GenericWorker");o.prototype={internalStream:function(_){var u=null,g="string";try{if(!_)throw new Error("No output type specified.");var m=(g=_.toLowerCase())==="string"||g==="text";g!=="binarystring"&&g!=="text"||(g="string"),u=this._decompressWorker();var v=!this._dataBinary;v&&!m&&(u=u.pipe(new d.Utf8EncodeWorker)),!v&&m&&(u=u.pipe(new d.Utf8DecodeWorker))}catch(E){(u=new y("error")).error(E)}return new s(u,g,"")},async:function(_,u){return this.internalStream(_).accumulate(u)},nodeStream:function(_,u){return this.internalStream(_||"nodebuffer").toNodejsStream(u)},_compressWorker:function(_,u){if(this._data instanceof b&&this._data.compression.magic===_.magic)return this._data.getCompressedWorker();var g=this._decompressWorker();return this._dataBinary||(g=g.pipe(new d.Utf8EncodeWorker)),b.createWorkerFrom(g,_,u)},_decompressWorker:function(){return this._data instanceof b?this._data.getContentWorker():this._data instanceof y?this._data:new c(this._data)}};for(var w=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],x=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},h=0;h<w.length;h++)o.prototype[w[h]]=x;e.exports=o},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(i,e,n){(function(o){"use strict";var s,c,d=o.MutationObserver||o.WebKitMutationObserver;if(d){var b=0,y=new d(_),w=o.document.createTextNode("");y.observe(w,{characterData:!0}),s=function(){w.data=b=++b%2}}else if(o.setImmediate||o.MessageChannel===void 0)s="document"in o&&"onreadystatechange"in o.document.createElement("script")?function(){var u=o.document.createElement("script");u.onreadystatechange=function(){_(),u.onreadystatechange=null,u.parentNode.removeChild(u),u=null},o.document.documentElement.appendChild(u)}:function(){setTimeout(_,0)};else{var x=new o.MessageChannel;x.port1.onmessage=_,s=function(){x.port2.postMessage(0)}}var h=[];function _(){var u,g;c=!0;for(var m=h.length;m;){for(g=h,h=[],u=-1;++u<m;)g[u]();m=h.length}c=!1}e.exports=function(u){h.push(u)!==1||c||s()}}).call(this,typeof global<"u"?global:typeof this<"u"?this:typeof window<"u"?window:{})},{}],37:[function(i,e,n){"use strict";var o=i("immediate");function s(){}var c={},d=["REJECTED"],b=["FULFILLED"],y=["PENDING"];function w(m){if(typeof m!="function")throw new TypeError("resolver must be a function");this.state=y,this.queue=[],this.outcome=void 0,m!==s&&u(this,m)}function x(m,v,E){this.promise=m,typeof v=="function"&&(this.onFulfilled=v,this.callFulfilled=this.otherCallFulfilled),typeof E=="function"&&(this.onRejected=E,this.callRejected=this.otherCallRejected)}function h(m,v,E){o(function(){var A;try{A=v(E)}catch(T){return c.reject(m,T)}A===m?c.reject(m,new TypeError("Cannot resolve promise with itself")):c.resolve(m,A)})}function _(m){var v=m&&m.then;if(m&&(typeof m=="object"||typeof m=="function")&&typeof v=="function")return function(){v.apply(m,arguments)}}function u(m,v){var E=!1;function A(L){E||(E=!0,c.reject(m,L))}function T(L){E||(E=!0,c.resolve(m,L))}var H=g(function(){v(T,A)});H.status==="error"&&A(H.value)}function g(m,v){var E={};try{E.value=m(v),E.status="success"}catch(A){E.status="error",E.value=A}return E}(e.exports=w).prototype.finally=function(m){if(typeof m!="function")return this;var v=this.constructor;return this.then(function(E){return v.resolve(m()).then(function(){return E})},function(E){return v.resolve(m()).then(function(){throw E})})},w.prototype.catch=function(m){return this.then(null,m)},w.prototype.then=function(m,v){if(typeof m!="function"&&this.state===b||typeof v!="function"&&this.state===d)return this;var E=new this.constructor(s);return this.state!==y?h(E,this.state===b?m:v,this.outcome):this.queue.push(new x(E,m,v)),E},x.prototype.callFulfilled=function(m){c.resolve(this.promise,m)},x.prototype.otherCallFulfilled=function(m){h(this.promise,this.onFulfilled,m)},x.prototype.callRejected=function(m){c.reject(this.promise,m)},x.prototype.otherCallRejected=function(m){h(this.promise,this.onRejected,m)},c.resolve=function(m,v){var E=g(_,v);if(E.status==="error")return c.reject(m,E.value);var A=E.value;if(A)u(m,A);else{m.state=b,m.outcome=v;for(var T=-1,H=m.queue.length;++T<H;)m.queue[T].callFulfilled(v)}return m},c.reject=function(m,v){m.state=d,m.outcome=v;for(var E=-1,A=m.queue.length;++E<A;)m.queue[E].callRejected(v);return m},w.resolve=function(m){return m instanceof this?m:c.resolve(new this(s),m)},w.reject=function(m){var v=new this(s);return c.reject(v,m)},w.all=function(m){var v=this;if(Object.prototype.toString.call(m)!=="[object Array]")return this.reject(new TypeError("must be an array"));var E=m.length,A=!1;if(!E)return this.resolve([]);for(var T=new Array(E),H=0,L=-1,Z=new this(s);++L<E;)N(m[L],L);return Z;function N(Q,le){v.resolve(Q).then(function(C){T[le]=C,++H!==E||A||(A=!0,c.resolve(Z,T))},function(C){A||(A=!0,c.reject(Z,C))})}},w.race=function(m){var v=this;if(Object.prototype.toString.call(m)!=="[object Array]")return this.reject(new TypeError("must be an array"));var E=m.length,A=!1;if(!E)return this.resolve([]);for(var T=-1,H=new this(s);++T<E;)L=m[T],v.resolve(L).then(function(Z){A||(A=!0,c.resolve(H,Z))},function(Z){A||(A=!0,c.reject(H,Z))});var L;return H}},{immediate:36}],38:[function(i,e,n){"use strict";var o={};(0,i("./lib/utils/common").assign)(o,i("./lib/deflate"),i("./lib/inflate"),i("./lib/zlib/constants")),e.exports=o},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(i,e,n){"use strict";var o=i("./zlib/deflate"),s=i("./utils/common"),c=i("./utils/strings"),d=i("./zlib/messages"),b=i("./zlib/zstream"),y=Object.prototype.toString,w=0,x=-1,h=0,_=8;function u(m){if(!(this instanceof u))return new u(m);this.options=s.assign({level:x,method:_,chunkSize:16384,windowBits:15,memLevel:8,strategy:h,to:""},m||{});var v=this.options;v.raw&&0<v.windowBits?v.windowBits=-v.windowBits:v.gzip&&0<v.windowBits&&v.windowBits<16&&(v.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new b,this.strm.avail_out=0;var E=o.deflateInit2(this.strm,v.level,v.method,v.windowBits,v.memLevel,v.strategy);if(E!==w)throw new Error(d[E]);if(v.header&&o.deflateSetHeader(this.strm,v.header),v.dictionary){var A;if(A=typeof v.dictionary=="string"?c.string2buf(v.dictionary):y.call(v.dictionary)==="[object ArrayBuffer]"?new Uint8Array(v.dictionary):v.dictionary,(E=o.deflateSetDictionary(this.strm,A))!==w)throw new Error(d[E]);this._dict_set=!0}}function g(m,v){var E=new u(v);if(E.push(m,!0),E.err)throw E.msg||d[E.err];return E.result}u.prototype.push=function(m,v){var E,A,T=this.strm,H=this.options.chunkSize;if(this.ended)return!1;A=v===~~v?v:v===!0?4:0,typeof m=="string"?T.input=c.string2buf(m):y.call(m)==="[object ArrayBuffer]"?T.input=new Uint8Array(m):T.input=m,T.next_in=0,T.avail_in=T.input.length;do{if(T.avail_out===0&&(T.output=new s.Buf8(H),T.next_out=0,T.avail_out=H),(E=o.deflate(T,A))!==1&&E!==w)return this.onEnd(E),!(this.ended=!0);T.avail_out!==0&&(T.avail_in!==0||A!==4&&A!==2)||(this.options.to==="string"?this.onData(c.buf2binstring(s.shrinkBuf(T.output,T.next_out))):this.onData(s.shrinkBuf(T.output,T.next_out)))}while((0<T.avail_in||T.avail_out===0)&&E!==1);return A===4?(E=o.deflateEnd(this.strm),this.onEnd(E),this.ended=!0,E===w):A!==2||(this.onEnd(w),!(T.avail_out=0))},u.prototype.onData=function(m){this.chunks.push(m)},u.prototype.onEnd=function(m){m===w&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=s.flattenChunks(this.chunks)),this.chunks=[],this.err=m,this.msg=this.strm.msg},n.Deflate=u,n.deflate=g,n.deflateRaw=function(m,v){return(v=v||{}).raw=!0,g(m,v)},n.gzip=function(m,v){return(v=v||{}).gzip=!0,g(m,v)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(i,e,n){"use strict";var o=i("./zlib/inflate"),s=i("./utils/common"),c=i("./utils/strings"),d=i("./zlib/constants"),b=i("./zlib/messages"),y=i("./zlib/zstream"),w=i("./zlib/gzheader"),x=Object.prototype.toString;function h(u){if(!(this instanceof h))return new h(u);this.options=s.assign({chunkSize:16384,windowBits:0,to:""},u||{});var g=this.options;g.raw&&0<=g.windowBits&&g.windowBits<16&&(g.windowBits=-g.windowBits,g.windowBits===0&&(g.windowBits=-15)),!(0<=g.windowBits&&g.windowBits<16)||u&&u.windowBits||(g.windowBits+=32),15<g.windowBits&&g.windowBits<48&&!(15&g.windowBits)&&(g.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new y,this.strm.avail_out=0;var m=o.inflateInit2(this.strm,g.windowBits);if(m!==d.Z_OK)throw new Error(b[m]);this.header=new w,o.inflateGetHeader(this.strm,this.header)}function _(u,g){var m=new h(g);if(m.push(u,!0),m.err)throw m.msg||b[m.err];return m.result}h.prototype.push=function(u,g){var m,v,E,A,T,H,L=this.strm,Z=this.options.chunkSize,N=this.options.dictionary,Q=!1;if(this.ended)return!1;v=g===~~g?g:g===!0?d.Z_FINISH:d.Z_NO_FLUSH,typeof u=="string"?L.input=c.binstring2buf(u):x.call(u)==="[object ArrayBuffer]"?L.input=new Uint8Array(u):L.input=u,L.next_in=0,L.avail_in=L.input.length;do{if(L.avail_out===0&&(L.output=new s.Buf8(Z),L.next_out=0,L.avail_out=Z),(m=o.inflate(L,d.Z_NO_FLUSH))===d.Z_NEED_DICT&&N&&(H=typeof N=="string"?c.string2buf(N):x.call(N)==="[object ArrayBuffer]"?new Uint8Array(N):N,m=o.inflateSetDictionary(this.strm,H)),m===d.Z_BUF_ERROR&&Q===!0&&(m=d.Z_OK,Q=!1),m!==d.Z_STREAM_END&&m!==d.Z_OK)return this.onEnd(m),!(this.ended=!0);L.next_out&&(L.avail_out!==0&&m!==d.Z_STREAM_END&&(L.avail_in!==0||v!==d.Z_FINISH&&v!==d.Z_SYNC_FLUSH)||(this.options.to==="string"?(E=c.utf8border(L.output,L.next_out),A=L.next_out-E,T=c.buf2string(L.output,E),L.next_out=A,L.avail_out=Z-A,A&&s.arraySet(L.output,L.output,E,A,0),this.onData(T)):this.onData(s.shrinkBuf(L.output,L.next_out)))),L.avail_in===0&&L.avail_out===0&&(Q=!0)}while((0<L.avail_in||L.avail_out===0)&&m!==d.Z_STREAM_END);return m===d.Z_STREAM_END&&(v=d.Z_FINISH),v===d.Z_FINISH?(m=o.inflateEnd(this.strm),this.onEnd(m),this.ended=!0,m===d.Z_OK):v!==d.Z_SYNC_FLUSH||(this.onEnd(d.Z_OK),!(L.avail_out=0))},h.prototype.onData=function(u){this.chunks.push(u)},h.prototype.onEnd=function(u){u===d.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=s.flattenChunks(this.chunks)),this.chunks=[],this.err=u,this.msg=this.strm.msg},n.Inflate=h,n.inflate=_,n.inflateRaw=function(u,g){return(g=g||{}).raw=!0,_(u,g)},n.ungzip=_},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(i,e,n){"use strict";var o=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";n.assign=function(d){for(var b=Array.prototype.slice.call(arguments,1);b.length;){var y=b.shift();if(y){if(typeof y!="object")throw new TypeError(y+"must be non-object");for(var w in y)y.hasOwnProperty(w)&&(d[w]=y[w])}}return d},n.shrinkBuf=function(d,b){return d.length===b?d:d.subarray?d.subarray(0,b):(d.length=b,d)};var s={arraySet:function(d,b,y,w,x){if(b.subarray&&d.subarray)d.set(b.subarray(y,y+w),x);else for(var h=0;h<w;h++)d[x+h]=b[y+h]},flattenChunks:function(d){var b,y,w,x,h,_;for(b=w=0,y=d.length;b<y;b++)w+=d[b].length;for(_=new Uint8Array(w),b=x=0,y=d.length;b<y;b++)h=d[b],_.set(h,x),x+=h.length;return _}},c={arraySet:function(d,b,y,w,x){for(var h=0;h<w;h++)d[x+h]=b[y+h]},flattenChunks:function(d){return[].concat.apply([],d)}};n.setTyped=function(d){d?(n.Buf8=Uint8Array,n.Buf16=Uint16Array,n.Buf32=Int32Array,n.assign(n,s)):(n.Buf8=Array,n.Buf16=Array,n.Buf32=Array,n.assign(n,c))},n.setTyped(o)},{}],42:[function(i,e,n){"use strict";var o=i("./common"),s=!0,c=!0;try{String.fromCharCode.apply(null,[0])}catch{s=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{c=!1}for(var d=new o.Buf8(256),b=0;b<256;b++)d[b]=252<=b?6:248<=b?5:240<=b?4:224<=b?3:192<=b?2:1;function y(w,x){if(x<65537&&(w.subarray&&c||!w.subarray&&s))return String.fromCharCode.apply(null,o.shrinkBuf(w,x));for(var h="",_=0;_<x;_++)h+=String.fromCharCode(w[_]);return h}d[254]=d[254]=1,n.string2buf=function(w){var x,h,_,u,g,m=w.length,v=0;for(u=0;u<m;u++)(64512&(h=w.charCodeAt(u)))==55296&&u+1<m&&(64512&(_=w.charCodeAt(u+1)))==56320&&(h=65536+(h-55296<<10)+(_-56320),u++),v+=h<128?1:h<2048?2:h<65536?3:4;for(x=new o.Buf8(v),u=g=0;g<v;u++)(64512&(h=w.charCodeAt(u)))==55296&&u+1<m&&(64512&(_=w.charCodeAt(u+1)))==56320&&(h=65536+(h-55296<<10)+(_-56320),u++),h<128?x[g++]=h:(h<2048?x[g++]=192|h>>>6:(h<65536?x[g++]=224|h>>>12:(x[g++]=240|h>>>18,x[g++]=128|h>>>12&63),x[g++]=128|h>>>6&63),x[g++]=128|63&h);return x},n.buf2binstring=function(w){return y(w,w.length)},n.binstring2buf=function(w){for(var x=new o.Buf8(w.length),h=0,_=x.length;h<_;h++)x[h]=w.charCodeAt(h);return x},n.buf2string=function(w,x){var h,_,u,g,m=x||w.length,v=new Array(2*m);for(h=_=0;h<m;)if((u=w[h++])<128)v[_++]=u;else if(4<(g=d[u]))v[_++]=65533,h+=g-1;else{for(u&=g===2?31:g===3?15:7;1<g&&h<m;)u=u<<6|63&w[h++],g--;1<g?v[_++]=65533:u<65536?v[_++]=u:(u-=65536,v[_++]=55296|u>>10&1023,v[_++]=56320|1023&u)}return y(v,_)},n.utf8border=function(w,x){var h;for((x=x||w.length)>w.length&&(x=w.length),h=x-1;0<=h&&(192&w[h])==128;)h--;return h<0||h===0?x:h+d[w[h]]>x?h:x}},{"./common":41}],43:[function(i,e,n){"use strict";e.exports=function(o,s,c,d){for(var b=65535&o|0,y=o>>>16&65535|0,w=0;c!==0;){for(c-=w=2e3<c?2e3:c;y=y+(b=b+s[d++]|0)|0,--w;);b%=65521,y%=65521}return b|y<<16|0}},{}],44:[function(i,e,n){"use strict";e.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],45:[function(i,e,n){"use strict";var o=function(){for(var s,c=[],d=0;d<256;d++){s=d;for(var b=0;b<8;b++)s=1&s?3988292384^s>>>1:s>>>1;c[d]=s}return c}();e.exports=function(s,c,d,b){var y=o,w=b+d;s^=-1;for(var x=b;x<w;x++)s=s>>>8^y[255&(s^c[x])];return-1^s}},{}],46:[function(i,e,n){"use strict";var o,s=i("../utils/common"),c=i("./trees"),d=i("./adler32"),b=i("./crc32"),y=i("./messages"),w=0,x=4,h=0,_=-2,u=-1,g=4,m=2,v=8,E=9,A=286,T=30,H=19,L=2*A+1,Z=15,N=3,Q=258,le=Q+N+1,C=42,B=113,l=1,U=2,he=3,$=4;function me(a,D){return a.msg=y[D],D}function q(a){return(a<<1)-(4<a?9:0)}function de(a){for(var D=a.length;0<=--D;)a[D]=0}function F(a){var D=a.state,S=D.pending;S>a.avail_out&&(S=a.avail_out),S!==0&&(s.arraySet(a.output,D.pending_buf,D.pending_out,S,a.next_out),a.next_out+=S,D.pending_out+=S,a.total_out+=S,a.avail_out-=S,D.pending-=S,D.pending===0&&(D.pending_out=0))}function O(a,D){c._tr_flush_block(a,0<=a.block_start?a.block_start:-1,a.strstart-a.block_start,D),a.block_start=a.strstart,F(a.strm)}function ce(a,D){a.pending_buf[a.pending++]=D}function te(a,D){a.pending_buf[a.pending++]=D>>>8&255,a.pending_buf[a.pending++]=255&D}function Y(a,D){var S,p,f=a.max_chain_length,k=a.strstart,V=a.prev_length,j=a.nice_match,I=a.strstart>a.w_size-le?a.strstart-(a.w_size-le):0,W=a.window,J=a.w_mask,G=a.prev,ae=a.strstart+Q,ue=W[k+V-1],re=W[k+V];a.prev_length>=a.good_match&&(f>>=2),j>a.lookahead&&(j=a.lookahead);do if(W[(S=D)+V]===re&&W[S+V-1]===ue&&W[S]===W[k]&&W[++S]===W[k+1]){k+=2,S++;do;while(W[++k]===W[++S]&&W[++k]===W[++S]&&W[++k]===W[++S]&&W[++k]===W[++S]&&W[++k]===W[++S]&&W[++k]===W[++S]&&W[++k]===W[++S]&&W[++k]===W[++S]&&k<ae);if(p=Q-(ae-k),k=ae-Q,V<p){if(a.match_start=D,j<=(V=p))break;ue=W[k+V-1],re=W[k+V]}}while((D=G[D&J])>I&&--f!=0);return V<=a.lookahead?V:a.lookahead}function Se(a){var D,S,p,f,k,V,j,I,W,J,G=a.w_size;do{if(f=a.window_size-a.lookahead-a.strstart,a.strstart>=G+(G-le)){for(s.arraySet(a.window,a.window,G,G,0),a.match_start-=G,a.strstart-=G,a.block_start-=G,D=S=a.hash_size;p=a.head[--D],a.head[D]=G<=p?p-G:0,--S;);for(D=S=G;p=a.prev[--D],a.prev[D]=G<=p?p-G:0,--S;);f+=G}if(a.strm.avail_in===0)break;if(V=a.strm,j=a.window,I=a.strstart+a.lookahead,W=f,J=void 0,J=V.avail_in,W<J&&(J=W),S=J===0?0:(V.avail_in-=J,s.arraySet(j,V.input,V.next_in,J,I),V.state.wrap===1?V.adler=d(V.adler,j,J,I):V.state.wrap===2&&(V.adler=b(V.adler,j,J,I)),V.next_in+=J,V.total_in+=J,J),a.lookahead+=S,a.lookahead+a.insert>=N)for(k=a.strstart-a.insert,a.ins_h=a.window[k],a.ins_h=(a.ins_h<<a.hash_shift^a.window[k+1])&a.hash_mask;a.insert&&(a.ins_h=(a.ins_h<<a.hash_shift^a.window[k+N-1])&a.hash_mask,a.prev[k&a.w_mask]=a.head[a.ins_h],a.head[a.ins_h]=k,k++,a.insert--,!(a.lookahead+a.insert<N)););}while(a.lookahead<le&&a.strm.avail_in!==0)}function Re(a,D){for(var S,p;;){if(a.lookahead<le){if(Se(a),a.lookahead<le&&D===w)return l;if(a.lookahead===0)break}if(S=0,a.lookahead>=N&&(a.ins_h=(a.ins_h<<a.hash_shift^a.window[a.strstart+N-1])&a.hash_mask,S=a.prev[a.strstart&a.w_mask]=a.head[a.ins_h],a.head[a.ins_h]=a.strstart),S!==0&&a.strstart-S<=a.w_size-le&&(a.match_length=Y(a,S)),a.match_length>=N)if(p=c._tr_tally(a,a.strstart-a.match_start,a.match_length-N),a.lookahead-=a.match_length,a.match_length<=a.max_lazy_match&&a.lookahead>=N){for(a.match_length--;a.strstart++,a.ins_h=(a.ins_h<<a.hash_shift^a.window[a.strstart+N-1])&a.hash_mask,S=a.prev[a.strstart&a.w_mask]=a.head[a.ins_h],a.head[a.ins_h]=a.strstart,--a.match_length!=0;);a.strstart++}else a.strstart+=a.match_length,a.match_length=0,a.ins_h=a.window[a.strstart],a.ins_h=(a.ins_h<<a.hash_shift^a.window[a.strstart+1])&a.hash_mask;else p=c._tr_tally(a,0,a.window[a.strstart]),a.lookahead--,a.strstart++;if(p&&(O(a,!1),a.strm.avail_out===0))return l}return a.insert=a.strstart<N-1?a.strstart:N-1,D===x?(O(a,!0),a.strm.avail_out===0?he:$):a.last_lit&&(O(a,!1),a.strm.avail_out===0)?l:U}function M(a,D){for(var S,p,f;;){if(a.lookahead<le){if(Se(a),a.lookahead<le&&D===w)return l;if(a.lookahead===0)break}if(S=0,a.lookahead>=N&&(a.ins_h=(a.ins_h<<a.hash_shift^a.window[a.strstart+N-1])&a.hash_mask,S=a.prev[a.strstart&a.w_mask]=a.head[a.ins_h],a.head[a.ins_h]=a.strstart),a.prev_length=a.match_length,a.prev_match=a.match_start,a.match_length=N-1,S!==0&&a.prev_length<a.max_lazy_match&&a.strstart-S<=a.w_size-le&&(a.match_length=Y(a,S),a.match_length<=5&&(a.strategy===1||a.match_length===N&&4096<a.strstart-a.match_start)&&(a.match_length=N-1)),a.prev_length>=N&&a.match_length<=a.prev_length){for(f=a.strstart+a.lookahead-N,p=c._tr_tally(a,a.strstart-1-a.prev_match,a.prev_length-N),a.lookahead-=a.prev_length-1,a.prev_length-=2;++a.strstart<=f&&(a.ins_h=(a.ins_h<<a.hash_shift^a.window[a.strstart+N-1])&a.hash_mask,S=a.prev[a.strstart&a.w_mask]=a.head[a.ins_h],a.head[a.ins_h]=a.strstart),--a.prev_length!=0;);if(a.match_available=0,a.match_length=N-1,a.strstart++,p&&(O(a,!1),a.strm.avail_out===0))return l}else if(a.match_available){if((p=c._tr_tally(a,0,a.window[a.strstart-1]))&&O(a,!1),a.strstart++,a.lookahead--,a.strm.avail_out===0)return l}else a.match_available=1,a.strstart++,a.lookahead--}return a.match_available&&(p=c._tr_tally(a,0,a.window[a.strstart-1]),a.match_available=0),a.insert=a.strstart<N-1?a.strstart:N-1,D===x?(O(a,!0),a.strm.avail_out===0?he:$):a.last_lit&&(O(a,!1),a.strm.avail_out===0)?l:U}function R(a,D,S,p,f){this.good_length=a,this.max_lazy=D,this.nice_length=S,this.max_chain=p,this.func=f}function P(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=v,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new s.Buf16(2*L),this.dyn_dtree=new s.Buf16(2*(2*T+1)),this.bl_tree=new s.Buf16(2*(2*H+1)),de(this.dyn_ltree),de(this.dyn_dtree),de(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new s.Buf16(Z+1),this.heap=new s.Buf16(2*A+1),de(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new s.Buf16(2*A+1),de(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function z(a){var D;return a&&a.state?(a.total_in=a.total_out=0,a.data_type=m,(D=a.state).pending=0,D.pending_out=0,D.wrap<0&&(D.wrap=-D.wrap),D.status=D.wrap?C:B,a.adler=D.wrap===2?0:1,D.last_flush=w,c._tr_init(D),h):me(a,_)}function K(a){var D=z(a);return D===h&&function(S){S.window_size=2*S.w_size,de(S.head),S.max_lazy_match=o[S.level].max_lazy,S.good_match=o[S.level].good_length,S.nice_match=o[S.level].nice_length,S.max_chain_length=o[S.level].max_chain,S.strstart=0,S.block_start=0,S.lookahead=0,S.insert=0,S.match_length=S.prev_length=N-1,S.match_available=0,S.ins_h=0}(a.state),D}function se(a,D,S,p,f,k){if(!a)return _;var V=1;if(D===u&&(D=6),p<0?(V=0,p=-p):15<p&&(V=2,p-=16),f<1||E<f||S!==v||p<8||15<p||D<0||9<D||k<0||g<k)return me(a,_);p===8&&(p=9);var j=new P;return(a.state=j).strm=a,j.wrap=V,j.gzhead=null,j.w_bits=p,j.w_size=1<<j.w_bits,j.w_mask=j.w_size-1,j.hash_bits=f+7,j.hash_size=1<<j.hash_bits,j.hash_mask=j.hash_size-1,j.hash_shift=~~((j.hash_bits+N-1)/N),j.window=new s.Buf8(2*j.w_size),j.head=new s.Buf16(j.hash_size),j.prev=new s.Buf16(j.w_size),j.lit_bufsize=1<<f+6,j.pending_buf_size=4*j.lit_bufsize,j.pending_buf=new s.Buf8(j.pending_buf_size),j.d_buf=1*j.lit_bufsize,j.l_buf=3*j.lit_bufsize,j.level=D,j.strategy=k,j.method=S,K(a)}o=[new R(0,0,0,0,function(a,D){var S=65535;for(S>a.pending_buf_size-5&&(S=a.pending_buf_size-5);;){if(a.lookahead<=1){if(Se(a),a.lookahead===0&&D===w)return l;if(a.lookahead===0)break}a.strstart+=a.lookahead,a.lookahead=0;var p=a.block_start+S;if((a.strstart===0||a.strstart>=p)&&(a.lookahead=a.strstart-p,a.strstart=p,O(a,!1),a.strm.avail_out===0)||a.strstart-a.block_start>=a.w_size-le&&(O(a,!1),a.strm.avail_out===0))return l}return a.insert=0,D===x?(O(a,!0),a.strm.avail_out===0?he:$):(a.strstart>a.block_start&&(O(a,!1),a.strm.avail_out),l)}),new R(4,4,8,4,Re),new R(4,5,16,8,Re),new R(4,6,32,32,Re),new R(4,4,16,16,M),new R(8,16,32,32,M),new R(8,16,128,128,M),new R(8,32,128,256,M),new R(32,128,258,1024,M),new R(32,258,258,4096,M)],n.deflateInit=function(a,D){return se(a,D,v,15,8,0)},n.deflateInit2=se,n.deflateReset=K,n.deflateResetKeep=z,n.deflateSetHeader=function(a,D){return a&&a.state?a.state.wrap!==2?_:(a.state.gzhead=D,h):_},n.deflate=function(a,D){var S,p,f,k;if(!a||!a.state||5<D||D<0)return a?me(a,_):_;if(p=a.state,!a.output||!a.input&&a.avail_in!==0||p.status===666&&D!==x)return me(a,a.avail_out===0?-5:_);if(p.strm=a,S=p.last_flush,p.last_flush=D,p.status===C)if(p.wrap===2)a.adler=0,ce(p,31),ce(p,139),ce(p,8),p.gzhead?(ce(p,(p.gzhead.text?1:0)+(p.gzhead.hcrc?2:0)+(p.gzhead.extra?4:0)+(p.gzhead.name?8:0)+(p.gzhead.comment?16:0)),ce(p,255&p.gzhead.time),ce(p,p.gzhead.time>>8&255),ce(p,p.gzhead.time>>16&255),ce(p,p.gzhead.time>>24&255),ce(p,p.level===9?2:2<=p.strategy||p.level<2?4:0),ce(p,255&p.gzhead.os),p.gzhead.extra&&p.gzhead.extra.length&&(ce(p,255&p.gzhead.extra.length),ce(p,p.gzhead.extra.length>>8&255)),p.gzhead.hcrc&&(a.adler=b(a.adler,p.pending_buf,p.pending,0)),p.gzindex=0,p.status=69):(ce(p,0),ce(p,0),ce(p,0),ce(p,0),ce(p,0),ce(p,p.level===9?2:2<=p.strategy||p.level<2?4:0),ce(p,3),p.status=B);else{var V=v+(p.w_bits-8<<4)<<8;V|=(2<=p.strategy||p.level<2?0:p.level<6?1:p.level===6?2:3)<<6,p.strstart!==0&&(V|=32),V+=31-V%31,p.status=B,te(p,V),p.strstart!==0&&(te(p,a.adler>>>16),te(p,65535&a.adler)),a.adler=1}if(p.status===69)if(p.gzhead.extra){for(f=p.pending;p.gzindex<(65535&p.gzhead.extra.length)&&(p.pending!==p.pending_buf_size||(p.gzhead.hcrc&&p.pending>f&&(a.adler=b(a.adler,p.pending_buf,p.pending-f,f)),F(a),f=p.pending,p.pending!==p.pending_buf_size));)ce(p,255&p.gzhead.extra[p.gzindex]),p.gzindex++;p.gzhead.hcrc&&p.pending>f&&(a.adler=b(a.adler,p.pending_buf,p.pending-f,f)),p.gzindex===p.gzhead.extra.length&&(p.gzindex=0,p.status=73)}else p.status=73;if(p.status===73)if(p.gzhead.name){f=p.pending;do{if(p.pending===p.pending_buf_size&&(p.gzhead.hcrc&&p.pending>f&&(a.adler=b(a.adler,p.pending_buf,p.pending-f,f)),F(a),f=p.pending,p.pending===p.pending_buf_size)){k=1;break}k=p.gzindex<p.gzhead.name.length?255&p.gzhead.name.charCodeAt(p.gzindex++):0,ce(p,k)}while(k!==0);p.gzhead.hcrc&&p.pending>f&&(a.adler=b(a.adler,p.pending_buf,p.pending-f,f)),k===0&&(p.gzindex=0,p.status=91)}else p.status=91;if(p.status===91)if(p.gzhead.comment){f=p.pending;do{if(p.pending===p.pending_buf_size&&(p.gzhead.hcrc&&p.pending>f&&(a.adler=b(a.adler,p.pending_buf,p.pending-f,f)),F(a),f=p.pending,p.pending===p.pending_buf_size)){k=1;break}k=p.gzindex<p.gzhead.comment.length?255&p.gzhead.comment.charCodeAt(p.gzindex++):0,ce(p,k)}while(k!==0);p.gzhead.hcrc&&p.pending>f&&(a.adler=b(a.adler,p.pending_buf,p.pending-f,f)),k===0&&(p.status=103)}else p.status=103;if(p.status===103&&(p.gzhead.hcrc?(p.pending+2>p.pending_buf_size&&F(a),p.pending+2<=p.pending_buf_size&&(ce(p,255&a.adler),ce(p,a.adler>>8&255),a.adler=0,p.status=B)):p.status=B),p.pending!==0){if(F(a),a.avail_out===0)return p.last_flush=-1,h}else if(a.avail_in===0&&q(D)<=q(S)&&D!==x)return me(a,-5);if(p.status===666&&a.avail_in!==0)return me(a,-5);if(a.avail_in!==0||p.lookahead!==0||D!==w&&p.status!==666){var j=p.strategy===2?function(I,W){for(var J;;){if(I.lookahead===0&&(Se(I),I.lookahead===0)){if(W===w)return l;break}if(I.match_length=0,J=c._tr_tally(I,0,I.window[I.strstart]),I.lookahead--,I.strstart++,J&&(O(I,!1),I.strm.avail_out===0))return l}return I.insert=0,W===x?(O(I,!0),I.strm.avail_out===0?he:$):I.last_lit&&(O(I,!1),I.strm.avail_out===0)?l:U}(p,D):p.strategy===3?function(I,W){for(var J,G,ae,ue,re=I.window;;){if(I.lookahead<=Q){if(Se(I),I.lookahead<=Q&&W===w)return l;if(I.lookahead===0)break}if(I.match_length=0,I.lookahead>=N&&0<I.strstart&&(G=re[ae=I.strstart-1])===re[++ae]&&G===re[++ae]&&G===re[++ae]){ue=I.strstart+Q;do;while(G===re[++ae]&&G===re[++ae]&&G===re[++ae]&&G===re[++ae]&&G===re[++ae]&&G===re[++ae]&&G===re[++ae]&&G===re[++ae]&&ae<ue);I.match_length=Q-(ue-ae),I.match_length>I.lookahead&&(I.match_length=I.lookahead)}if(I.match_length>=N?(J=c._tr_tally(I,1,I.match_length-N),I.lookahead-=I.match_length,I.strstart+=I.match_length,I.match_length=0):(J=c._tr_tally(I,0,I.window[I.strstart]),I.lookahead--,I.strstart++),J&&(O(I,!1),I.strm.avail_out===0))return l}return I.insert=0,W===x?(O(I,!0),I.strm.avail_out===0?he:$):I.last_lit&&(O(I,!1),I.strm.avail_out===0)?l:U}(p,D):o[p.level].func(p,D);if(j!==he&&j!==$||(p.status=666),j===l||j===he)return a.avail_out===0&&(p.last_flush=-1),h;if(j===U&&(D===1?c._tr_align(p):D!==5&&(c._tr_stored_block(p,0,0,!1),D===3&&(de(p.head),p.lookahead===0&&(p.strstart=0,p.block_start=0,p.insert=0))),F(a),a.avail_out===0))return p.last_flush=-1,h}return D!==x?h:p.wrap<=0?1:(p.wrap===2?(ce(p,255&a.adler),ce(p,a.adler>>8&255),ce(p,a.adler>>16&255),ce(p,a.adler>>24&255),ce(p,255&a.total_in),ce(p,a.total_in>>8&255),ce(p,a.total_in>>16&255),ce(p,a.total_in>>24&255)):(te(p,a.adler>>>16),te(p,65535&a.adler)),F(a),0<p.wrap&&(p.wrap=-p.wrap),p.pending!==0?h:1)},n.deflateEnd=function(a){var D;return a&&a.state?(D=a.state.status)!==C&&D!==69&&D!==73&&D!==91&&D!==103&&D!==B&&D!==666?me(a,_):(a.state=null,D===B?me(a,-3):h):_},n.deflateSetDictionary=function(a,D){var S,p,f,k,V,j,I,W,J=D.length;if(!a||!a.state||(k=(S=a.state).wrap)===2||k===1&&S.status!==C||S.lookahead)return _;for(k===1&&(a.adler=d(a.adler,D,J,0)),S.wrap=0,J>=S.w_size&&(k===0&&(de(S.head),S.strstart=0,S.block_start=0,S.insert=0),W=new s.Buf8(S.w_size),s.arraySet(W,D,J-S.w_size,S.w_size,0),D=W,J=S.w_size),V=a.avail_in,j=a.next_in,I=a.input,a.avail_in=J,a.next_in=0,a.input=D,Se(S);S.lookahead>=N;){for(p=S.strstart,f=S.lookahead-(N-1);S.ins_h=(S.ins_h<<S.hash_shift^S.window[p+N-1])&S.hash_mask,S.prev[p&S.w_mask]=S.head[S.ins_h],S.head[S.ins_h]=p,p++,--f;);S.strstart=p,S.lookahead=N-1,Se(S)}return S.strstart+=S.lookahead,S.block_start=S.strstart,S.insert=S.lookahead,S.lookahead=0,S.match_length=S.prev_length=N-1,S.match_available=0,a.next_in=j,a.input=I,a.avail_in=V,S.wrap=k,h},n.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(i,e,n){"use strict";e.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],48:[function(i,e,n){"use strict";e.exports=function(o,s){var c,d,b,y,w,x,h,_,u,g,m,v,E,A,T,H,L,Z,N,Q,le,C,B,l,U;c=o.state,d=o.next_in,l=o.input,b=d+(o.avail_in-5),y=o.next_out,U=o.output,w=y-(s-o.avail_out),x=y+(o.avail_out-257),h=c.dmax,_=c.wsize,u=c.whave,g=c.wnext,m=c.window,v=c.hold,E=c.bits,A=c.lencode,T=c.distcode,H=(1<<c.lenbits)-1,L=(1<<c.distbits)-1;e:do{E<15&&(v+=l[d++]<<E,E+=8,v+=l[d++]<<E,E+=8),Z=A[v&H];t:for(;;){if(v>>>=N=Z>>>24,E-=N,(N=Z>>>16&255)===0)U[y++]=65535&Z;else{if(!(16&N)){if(!(64&N)){Z=A[(65535&Z)+(v&(1<<N)-1)];continue t}if(32&N){c.mode=12;break e}o.msg="invalid literal/length code",c.mode=30;break e}Q=65535&Z,(N&=15)&&(E<N&&(v+=l[d++]<<E,E+=8),Q+=v&(1<<N)-1,v>>>=N,E-=N),E<15&&(v+=l[d++]<<E,E+=8,v+=l[d++]<<E,E+=8),Z=T[v&L];i:for(;;){if(v>>>=N=Z>>>24,E-=N,!(16&(N=Z>>>16&255))){if(!(64&N)){Z=T[(65535&Z)+(v&(1<<N)-1)];continue i}o.msg="invalid distance code",c.mode=30;break e}if(le=65535&Z,E<(N&=15)&&(v+=l[d++]<<E,(E+=8)<N&&(v+=l[d++]<<E,E+=8)),h<(le+=v&(1<<N)-1)){o.msg="invalid distance too far back",c.mode=30;break e}if(v>>>=N,E-=N,(N=y-w)<le){if(u<(N=le-N)&&c.sane){o.msg="invalid distance too far back",c.mode=30;break e}if(B=m,(C=0)===g){if(C+=_-N,N<Q){for(Q-=N;U[y++]=m[C++],--N;);C=y-le,B=U}}else if(g<N){if(C+=_+g-N,(N-=g)<Q){for(Q-=N;U[y++]=m[C++],--N;);if(C=0,g<Q){for(Q-=N=g;U[y++]=m[C++],--N;);C=y-le,B=U}}}else if(C+=g-N,N<Q){for(Q-=N;U[y++]=m[C++],--N;);C=y-le,B=U}for(;2<Q;)U[y++]=B[C++],U[y++]=B[C++],U[y++]=B[C++],Q-=3;Q&&(U[y++]=B[C++],1<Q&&(U[y++]=B[C++]))}else{for(C=y-le;U[y++]=U[C++],U[y++]=U[C++],U[y++]=U[C++],2<(Q-=3););Q&&(U[y++]=U[C++],1<Q&&(U[y++]=U[C++]))}break}}break}}while(d<b&&y<x);d-=Q=E>>3,v&=(1<<(E-=Q<<3))-1,o.next_in=d,o.next_out=y,o.avail_in=d<b?b-d+5:5-(d-b),o.avail_out=y<x?x-y+257:257-(y-x),c.hold=v,c.bits=E}},{}],49:[function(i,e,n){"use strict";var o=i("../utils/common"),s=i("./adler32"),c=i("./crc32"),d=i("./inffast"),b=i("./inftrees"),y=1,w=2,x=0,h=-2,_=1,u=852,g=592;function m(C){return(C>>>24&255)+(C>>>8&65280)+((65280&C)<<8)+((255&C)<<24)}function v(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new o.Buf16(320),this.work=new o.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function E(C){var B;return C&&C.state?(B=C.state,C.total_in=C.total_out=B.total=0,C.msg="",B.wrap&&(C.adler=1&B.wrap),B.mode=_,B.last=0,B.havedict=0,B.dmax=32768,B.head=null,B.hold=0,B.bits=0,B.lencode=B.lendyn=new o.Buf32(u),B.distcode=B.distdyn=new o.Buf32(g),B.sane=1,B.back=-1,x):h}function A(C){var B;return C&&C.state?((B=C.state).wsize=0,B.whave=0,B.wnext=0,E(C)):h}function T(C,B){var l,U;return C&&C.state?(U=C.state,B<0?(l=0,B=-B):(l=1+(B>>4),B<48&&(B&=15)),B&&(B<8||15<B)?h:(U.window!==null&&U.wbits!==B&&(U.window=null),U.wrap=l,U.wbits=B,A(C))):h}function H(C,B){var l,U;return C?(U=new v,(C.state=U).window=null,(l=T(C,B))!==x&&(C.state=null),l):h}var L,Z,N=!0;function Q(C){if(N){var B;for(L=new o.Buf32(512),Z=new o.Buf32(32),B=0;B<144;)C.lens[B++]=8;for(;B<256;)C.lens[B++]=9;for(;B<280;)C.lens[B++]=7;for(;B<288;)C.lens[B++]=8;for(b(y,C.lens,0,288,L,0,C.work,{bits:9}),B=0;B<32;)C.lens[B++]=5;b(w,C.lens,0,32,Z,0,C.work,{bits:5}),N=!1}C.lencode=L,C.lenbits=9,C.distcode=Z,C.distbits=5}function le(C,B,l,U){var he,$=C.state;return $.window===null&&($.wsize=1<<$.wbits,$.wnext=0,$.whave=0,$.window=new o.Buf8($.wsize)),U>=$.wsize?(o.arraySet($.window,B,l-$.wsize,$.wsize,0),$.wnext=0,$.whave=$.wsize):(U<(he=$.wsize-$.wnext)&&(he=U),o.arraySet($.window,B,l-U,he,$.wnext),(U-=he)?(o.arraySet($.window,B,l-U,U,0),$.wnext=U,$.whave=$.wsize):($.wnext+=he,$.wnext===$.wsize&&($.wnext=0),$.whave<$.wsize&&($.whave+=he))),0}n.inflateReset=A,n.inflateReset2=T,n.inflateResetKeep=E,n.inflateInit=function(C){return H(C,15)},n.inflateInit2=H,n.inflate=function(C,B){var l,U,he,$,me,q,de,F,O,ce,te,Y,Se,Re,M,R,P,z,K,se,a,D,S,p,f=0,k=new o.Buf8(4),V=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!C||!C.state||!C.output||!C.input&&C.avail_in!==0)return h;(l=C.state).mode===12&&(l.mode=13),me=C.next_out,he=C.output,de=C.avail_out,$=C.next_in,U=C.input,q=C.avail_in,F=l.hold,O=l.bits,ce=q,te=de,D=x;e:for(;;)switch(l.mode){case _:if(l.wrap===0){l.mode=13;break}for(;O<16;){if(q===0)break e;q--,F+=U[$++]<<O,O+=8}if(2&l.wrap&&F===35615){k[l.check=0]=255&F,k[1]=F>>>8&255,l.check=c(l.check,k,2,0),O=F=0,l.mode=2;break}if(l.flags=0,l.head&&(l.head.done=!1),!(1&l.wrap)||(((255&F)<<8)+(F>>8))%31){C.msg="incorrect header check",l.mode=30;break}if((15&F)!=8){C.msg="unknown compression method",l.mode=30;break}if(O-=4,a=8+(15&(F>>>=4)),l.wbits===0)l.wbits=a;else if(a>l.wbits){C.msg="invalid window size",l.mode=30;break}l.dmax=1<<a,C.adler=l.check=1,l.mode=512&F?10:12,O=F=0;break;case 2:for(;O<16;){if(q===0)break e;q--,F+=U[$++]<<O,O+=8}if(l.flags=F,(255&l.flags)!=8){C.msg="unknown compression method",l.mode=30;break}if(57344&l.flags){C.msg="unknown header flags set",l.mode=30;break}l.head&&(l.head.text=F>>8&1),512&l.flags&&(k[0]=255&F,k[1]=F>>>8&255,l.check=c(l.check,k,2,0)),O=F=0,l.mode=3;case 3:for(;O<32;){if(q===0)break e;q--,F+=U[$++]<<O,O+=8}l.head&&(l.head.time=F),512&l.flags&&(k[0]=255&F,k[1]=F>>>8&255,k[2]=F>>>16&255,k[3]=F>>>24&255,l.check=c(l.check,k,4,0)),O=F=0,l.mode=4;case 4:for(;O<16;){if(q===0)break e;q--,F+=U[$++]<<O,O+=8}l.head&&(l.head.xflags=255&F,l.head.os=F>>8),512&l.flags&&(k[0]=255&F,k[1]=F>>>8&255,l.check=c(l.check,k,2,0)),O=F=0,l.mode=5;case 5:if(1024&l.flags){for(;O<16;){if(q===0)break e;q--,F+=U[$++]<<O,O+=8}l.length=F,l.head&&(l.head.extra_len=F),512&l.flags&&(k[0]=255&F,k[1]=F>>>8&255,l.check=c(l.check,k,2,0)),O=F=0}else l.head&&(l.head.extra=null);l.mode=6;case 6:if(1024&l.flags&&(q<(Y=l.length)&&(Y=q),Y&&(l.head&&(a=l.head.extra_len-l.length,l.head.extra||(l.head.extra=new Array(l.head.extra_len)),o.arraySet(l.head.extra,U,$,Y,a)),512&l.flags&&(l.check=c(l.check,U,Y,$)),q-=Y,$+=Y,l.length-=Y),l.length))break e;l.length=0,l.mode=7;case 7:if(2048&l.flags){if(q===0)break e;for(Y=0;a=U[$+Y++],l.head&&a&&l.length<65536&&(l.head.name+=String.fromCharCode(a)),a&&Y<q;);if(512&l.flags&&(l.check=c(l.check,U,Y,$)),q-=Y,$+=Y,a)break e}else l.head&&(l.head.name=null);l.length=0,l.mode=8;case 8:if(4096&l.flags){if(q===0)break e;for(Y=0;a=U[$+Y++],l.head&&a&&l.length<65536&&(l.head.comment+=String.fromCharCode(a)),a&&Y<q;);if(512&l.flags&&(l.check=c(l.check,U,Y,$)),q-=Y,$+=Y,a)break e}else l.head&&(l.head.comment=null);l.mode=9;case 9:if(512&l.flags){for(;O<16;){if(q===0)break e;q--,F+=U[$++]<<O,O+=8}if(F!==(65535&l.check)){C.msg="header crc mismatch",l.mode=30;break}O=F=0}l.head&&(l.head.hcrc=l.flags>>9&1,l.head.done=!0),C.adler=l.check=0,l.mode=12;break;case 10:for(;O<32;){if(q===0)break e;q--,F+=U[$++]<<O,O+=8}C.adler=l.check=m(F),O=F=0,l.mode=11;case 11:if(l.havedict===0)return C.next_out=me,C.avail_out=de,C.next_in=$,C.avail_in=q,l.hold=F,l.bits=O,2;C.adler=l.check=1,l.mode=12;case 12:if(B===5||B===6)break e;case 13:if(l.last){F>>>=7&O,O-=7&O,l.mode=27;break}for(;O<3;){if(q===0)break e;q--,F+=U[$++]<<O,O+=8}switch(l.last=1&F,O-=1,3&(F>>>=1)){case 0:l.mode=14;break;case 1:if(Q(l),l.mode=20,B!==6)break;F>>>=2,O-=2;break e;case 2:l.mode=17;break;case 3:C.msg="invalid block type",l.mode=30}F>>>=2,O-=2;break;case 14:for(F>>>=7&O,O-=7&O;O<32;){if(q===0)break e;q--,F+=U[$++]<<O,O+=8}if((65535&F)!=(F>>>16^65535)){C.msg="invalid stored block lengths",l.mode=30;break}if(l.length=65535&F,O=F=0,l.mode=15,B===6)break e;case 15:l.mode=16;case 16:if(Y=l.length){if(q<Y&&(Y=q),de<Y&&(Y=de),Y===0)break e;o.arraySet(he,U,$,Y,me),q-=Y,$+=Y,de-=Y,me+=Y,l.length-=Y;break}l.mode=12;break;case 17:for(;O<14;){if(q===0)break e;q--,F+=U[$++]<<O,O+=8}if(l.nlen=257+(31&F),F>>>=5,O-=5,l.ndist=1+(31&F),F>>>=5,O-=5,l.ncode=4+(15&F),F>>>=4,O-=4,286<l.nlen||30<l.ndist){C.msg="too many length or distance symbols",l.mode=30;break}l.have=0,l.mode=18;case 18:for(;l.have<l.ncode;){for(;O<3;){if(q===0)break e;q--,F+=U[$++]<<O,O+=8}l.lens[V[l.have++]]=7&F,F>>>=3,O-=3}for(;l.have<19;)l.lens[V[l.have++]]=0;if(l.lencode=l.lendyn,l.lenbits=7,S={bits:l.lenbits},D=b(0,l.lens,0,19,l.lencode,0,l.work,S),l.lenbits=S.bits,D){C.msg="invalid code lengths set",l.mode=30;break}l.have=0,l.mode=19;case 19:for(;l.have<l.nlen+l.ndist;){for(;R=(f=l.lencode[F&(1<<l.lenbits)-1])>>>16&255,P=65535&f,!((M=f>>>24)<=O);){if(q===0)break e;q--,F+=U[$++]<<O,O+=8}if(P<16)F>>>=M,O-=M,l.lens[l.have++]=P;else{if(P===16){for(p=M+2;O<p;){if(q===0)break e;q--,F+=U[$++]<<O,O+=8}if(F>>>=M,O-=M,l.have===0){C.msg="invalid bit length repeat",l.mode=30;break}a=l.lens[l.have-1],Y=3+(3&F),F>>>=2,O-=2}else if(P===17){for(p=M+3;O<p;){if(q===0)break e;q--,F+=U[$++]<<O,O+=8}O-=M,a=0,Y=3+(7&(F>>>=M)),F>>>=3,O-=3}else{for(p=M+7;O<p;){if(q===0)break e;q--,F+=U[$++]<<O,O+=8}O-=M,a=0,Y=11+(127&(F>>>=M)),F>>>=7,O-=7}if(l.have+Y>l.nlen+l.ndist){C.msg="invalid bit length repeat",l.mode=30;break}for(;Y--;)l.lens[l.have++]=a}}if(l.mode===30)break;if(l.lens[256]===0){C.msg="invalid code -- missing end-of-block",l.mode=30;break}if(l.lenbits=9,S={bits:l.lenbits},D=b(y,l.lens,0,l.nlen,l.lencode,0,l.work,S),l.lenbits=S.bits,D){C.msg="invalid literal/lengths set",l.mode=30;break}if(l.distbits=6,l.distcode=l.distdyn,S={bits:l.distbits},D=b(w,l.lens,l.nlen,l.ndist,l.distcode,0,l.work,S),l.distbits=S.bits,D){C.msg="invalid distances set",l.mode=30;break}if(l.mode=20,B===6)break e;case 20:l.mode=21;case 21:if(6<=q&&258<=de){C.next_out=me,C.avail_out=de,C.next_in=$,C.avail_in=q,l.hold=F,l.bits=O,d(C,te),me=C.next_out,he=C.output,de=C.avail_out,$=C.next_in,U=C.input,q=C.avail_in,F=l.hold,O=l.bits,l.mode===12&&(l.back=-1);break}for(l.back=0;R=(f=l.lencode[F&(1<<l.lenbits)-1])>>>16&255,P=65535&f,!((M=f>>>24)<=O);){if(q===0)break e;q--,F+=U[$++]<<O,O+=8}if(R&&!(240&R)){for(z=M,K=R,se=P;R=(f=l.lencode[se+((F&(1<<z+K)-1)>>z)])>>>16&255,P=65535&f,!(z+(M=f>>>24)<=O);){if(q===0)break e;q--,F+=U[$++]<<O,O+=8}F>>>=z,O-=z,l.back+=z}if(F>>>=M,O-=M,l.back+=M,l.length=P,R===0){l.mode=26;break}if(32&R){l.back=-1,l.mode=12;break}if(64&R){C.msg="invalid literal/length code",l.mode=30;break}l.extra=15&R,l.mode=22;case 22:if(l.extra){for(p=l.extra;O<p;){if(q===0)break e;q--,F+=U[$++]<<O,O+=8}l.length+=F&(1<<l.extra)-1,F>>>=l.extra,O-=l.extra,l.back+=l.extra}l.was=l.length,l.mode=23;case 23:for(;R=(f=l.distcode[F&(1<<l.distbits)-1])>>>16&255,P=65535&f,!((M=f>>>24)<=O);){if(q===0)break e;q--,F+=U[$++]<<O,O+=8}if(!(240&R)){for(z=M,K=R,se=P;R=(f=l.distcode[se+((F&(1<<z+K)-1)>>z)])>>>16&255,P=65535&f,!(z+(M=f>>>24)<=O);){if(q===0)break e;q--,F+=U[$++]<<O,O+=8}F>>>=z,O-=z,l.back+=z}if(F>>>=M,O-=M,l.back+=M,64&R){C.msg="invalid distance code",l.mode=30;break}l.offset=P,l.extra=15&R,l.mode=24;case 24:if(l.extra){for(p=l.extra;O<p;){if(q===0)break e;q--,F+=U[$++]<<O,O+=8}l.offset+=F&(1<<l.extra)-1,F>>>=l.extra,O-=l.extra,l.back+=l.extra}if(l.offset>l.dmax){C.msg="invalid distance too far back",l.mode=30;break}l.mode=25;case 25:if(de===0)break e;if(Y=te-de,l.offset>Y){if((Y=l.offset-Y)>l.whave&&l.sane){C.msg="invalid distance too far back",l.mode=30;break}Se=Y>l.wnext?(Y-=l.wnext,l.wsize-Y):l.wnext-Y,Y>l.length&&(Y=l.length),Re=l.window}else Re=he,Se=me-l.offset,Y=l.length;for(de<Y&&(Y=de),de-=Y,l.length-=Y;he[me++]=Re[Se++],--Y;);l.length===0&&(l.mode=21);break;case 26:if(de===0)break e;he[me++]=l.length,de--,l.mode=21;break;case 27:if(l.wrap){for(;O<32;){if(q===0)break e;q--,F|=U[$++]<<O,O+=8}if(te-=de,C.total_out+=te,l.total+=te,te&&(C.adler=l.check=l.flags?c(l.check,he,te,me-te):s(l.check,he,te,me-te)),te=de,(l.flags?F:m(F))!==l.check){C.msg="incorrect data check",l.mode=30;break}O=F=0}l.mode=28;case 28:if(l.wrap&&l.flags){for(;O<32;){if(q===0)break e;q--,F+=U[$++]<<O,O+=8}if(F!==(4294967295&l.total)){C.msg="incorrect length check",l.mode=30;break}O=F=0}l.mode=29;case 29:D=1;break e;case 30:D=-3;break e;case 31:return-4;case 32:default:return h}return C.next_out=me,C.avail_out=de,C.next_in=$,C.avail_in=q,l.hold=F,l.bits=O,(l.wsize||te!==C.avail_out&&l.mode<30&&(l.mode<27||B!==4))&&le(C,C.output,C.next_out,te-C.avail_out)?(l.mode=31,-4):(ce-=C.avail_in,te-=C.avail_out,C.total_in+=ce,C.total_out+=te,l.total+=te,l.wrap&&te&&(C.adler=l.check=l.flags?c(l.check,he,te,C.next_out-te):s(l.check,he,te,C.next_out-te)),C.data_type=l.bits+(l.last?64:0)+(l.mode===12?128:0)+(l.mode===20||l.mode===15?256:0),(ce==0&&te===0||B===4)&&D===x&&(D=-5),D)},n.inflateEnd=function(C){if(!C||!C.state)return h;var B=C.state;return B.window&&(B.window=null),C.state=null,x},n.inflateGetHeader=function(C,B){var l;return C&&C.state&&2&(l=C.state).wrap?((l.head=B).done=!1,x):h},n.inflateSetDictionary=function(C,B){var l,U=B.length;return C&&C.state?(l=C.state).wrap!==0&&l.mode!==11?h:l.mode===11&&s(1,B,U,0)!==l.check?-3:le(C,B,U,U)?(l.mode=31,-4):(l.havedict=1,x):h},n.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(i,e,n){"use strict";var o=i("../utils/common"),s=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],c=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],d=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],b=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];e.exports=function(y,w,x,h,_,u,g,m){var v,E,A,T,H,L,Z,N,Q,le=m.bits,C=0,B=0,l=0,U=0,he=0,$=0,me=0,q=0,de=0,F=0,O=null,ce=0,te=new o.Buf16(16),Y=new o.Buf16(16),Se=null,Re=0;for(C=0;C<=15;C++)te[C]=0;for(B=0;B<h;B++)te[w[x+B]]++;for(he=le,U=15;1<=U&&te[U]===0;U--);if(U<he&&(he=U),U===0)return _[u++]=20971520,_[u++]=20971520,m.bits=1,0;for(l=1;l<U&&te[l]===0;l++);for(he<l&&(he=l),C=q=1;C<=15;C++)if(q<<=1,(q-=te[C])<0)return-1;if(0<q&&(y===0||U!==1))return-1;for(Y[1]=0,C=1;C<15;C++)Y[C+1]=Y[C]+te[C];for(B=0;B<h;B++)w[x+B]!==0&&(g[Y[w[x+B]]++]=B);if(L=y===0?(O=Se=g,19):y===1?(O=s,ce-=257,Se=c,Re-=257,256):(O=d,Se=b,-1),C=l,H=u,me=B=F=0,A=-1,T=(de=1<<($=he))-1,y===1&&852<de||y===2&&592<de)return 1;for(;;){for(Z=C-me,Q=g[B]<L?(N=0,g[B]):g[B]>L?(N=Se[Re+g[B]],O[ce+g[B]]):(N=96,0),v=1<<C-me,l=E=1<<$;_[H+(F>>me)+(E-=v)]=Z<<24|N<<16|Q|0,E!==0;);for(v=1<<C-1;F&v;)v>>=1;if(v!==0?(F&=v-1,F+=v):F=0,B++,--te[C]==0){if(C===U)break;C=w[x+g[B]]}if(he<C&&(F&T)!==A){for(me===0&&(me=he),H+=l,q=1<<($=C-me);$+me<U&&!((q-=te[$+me])<=0);)$++,q<<=1;if(de+=1<<$,y===1&&852<de||y===2&&592<de)return 1;_[A=F&T]=he<<24|$<<16|H-u|0}}return F!==0&&(_[H+F]=C-me<<24|64<<16|0),m.bits=he,0}},{"../utils/common":41}],51:[function(i,e,n){"use strict";e.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],52:[function(i,e,n){"use strict";var o=i("../utils/common"),s=0,c=1;function d(f){for(var k=f.length;0<=--k;)f[k]=0}var b=0,y=29,w=256,x=w+1+y,h=30,_=19,u=2*x+1,g=15,m=16,v=7,E=256,A=16,T=17,H=18,L=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],Z=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],N=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],Q=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],le=new Array(2*(x+2));d(le);var C=new Array(2*h);d(C);var B=new Array(512);d(B);var l=new Array(256);d(l);var U=new Array(y);d(U);var he,$,me,q=new Array(h);function de(f,k,V,j,I){this.static_tree=f,this.extra_bits=k,this.extra_base=V,this.elems=j,this.max_length=I,this.has_stree=f&&f.length}function F(f,k){this.dyn_tree=f,this.max_code=0,this.stat_desc=k}function O(f){return f<256?B[f]:B[256+(f>>>7)]}function ce(f,k){f.pending_buf[f.pending++]=255&k,f.pending_buf[f.pending++]=k>>>8&255}function te(f,k,V){f.bi_valid>m-V?(f.bi_buf|=k<<f.bi_valid&65535,ce(f,f.bi_buf),f.bi_buf=k>>m-f.bi_valid,f.bi_valid+=V-m):(f.bi_buf|=k<<f.bi_valid&65535,f.bi_valid+=V)}function Y(f,k,V){te(f,V[2*k],V[2*k+1])}function Se(f,k){for(var V=0;V|=1&f,f>>>=1,V<<=1,0<--k;);return V>>>1}function Re(f,k,V){var j,I,W=new Array(g+1),J=0;for(j=1;j<=g;j++)W[j]=J=J+V[j-1]<<1;for(I=0;I<=k;I++){var G=f[2*I+1];G!==0&&(f[2*I]=Se(W[G]++,G))}}function M(f){var k;for(k=0;k<x;k++)f.dyn_ltree[2*k]=0;for(k=0;k<h;k++)f.dyn_dtree[2*k]=0;for(k=0;k<_;k++)f.bl_tree[2*k]=0;f.dyn_ltree[2*E]=1,f.opt_len=f.static_len=0,f.last_lit=f.matches=0}function R(f){8<f.bi_valid?ce(f,f.bi_buf):0<f.bi_valid&&(f.pending_buf[f.pending++]=f.bi_buf),f.bi_buf=0,f.bi_valid=0}function P(f,k,V,j){var I=2*k,W=2*V;return f[I]<f[W]||f[I]===f[W]&&j[k]<=j[V]}function z(f,k,V){for(var j=f.heap[V],I=V<<1;I<=f.heap_len&&(I<f.heap_len&&P(k,f.heap[I+1],f.heap[I],f.depth)&&I++,!P(k,j,f.heap[I],f.depth));)f.heap[V]=f.heap[I],V=I,I<<=1;f.heap[V]=j}function K(f,k,V){var j,I,W,J,G=0;if(f.last_lit!==0)for(;j=f.pending_buf[f.d_buf+2*G]<<8|f.pending_buf[f.d_buf+2*G+1],I=f.pending_buf[f.l_buf+G],G++,j===0?Y(f,I,k):(Y(f,(W=l[I])+w+1,k),(J=L[W])!==0&&te(f,I-=U[W],J),Y(f,W=O(--j),V),(J=Z[W])!==0&&te(f,j-=q[W],J)),G<f.last_lit;);Y(f,E,k)}function se(f,k){var V,j,I,W=k.dyn_tree,J=k.stat_desc.static_tree,G=k.stat_desc.has_stree,ae=k.stat_desc.elems,ue=-1;for(f.heap_len=0,f.heap_max=u,V=0;V<ae;V++)W[2*V]!==0?(f.heap[++f.heap_len]=ue=V,f.depth[V]=0):W[2*V+1]=0;for(;f.heap_len<2;)W[2*(I=f.heap[++f.heap_len]=ue<2?++ue:0)]=1,f.depth[I]=0,f.opt_len--,G&&(f.static_len-=J[2*I+1]);for(k.max_code=ue,V=f.heap_len>>1;1<=V;V--)z(f,W,V);for(I=ae;V=f.heap[1],f.heap[1]=f.heap[f.heap_len--],z(f,W,1),j=f.heap[1],f.heap[--f.heap_max]=V,f.heap[--f.heap_max]=j,W[2*I]=W[2*V]+W[2*j],f.depth[I]=(f.depth[V]>=f.depth[j]?f.depth[V]:f.depth[j])+1,W[2*V+1]=W[2*j+1]=I,f.heap[1]=I++,z(f,W,1),2<=f.heap_len;);f.heap[--f.heap_max]=f.heap[1],function(re,Ae){var Ge,Le,tt,Ce,lt,Wt,at=Ae.dyn_tree,Zn=Ae.max_code,Ro=Ae.stat_desc.static_tree,Fo=Ae.stat_desc.has_stree,Po=Ae.stat_desc.extra_bits,qn=Ae.stat_desc.extra_base,Gt=Ae.stat_desc.max_length,wi=0;for(Ce=0;Ce<=g;Ce++)re.bl_count[Ce]=0;for(at[2*re.heap[re.heap_max]+1]=0,Ge=re.heap_max+1;Ge<u;Ge++)Gt<(Ce=at[2*at[2*(Le=re.heap[Ge])+1]+1]+1)&&(Ce=Gt,wi++),at[2*Le+1]=Ce,Zn<Le||(re.bl_count[Ce]++,lt=0,qn<=Le&&(lt=Po[Le-qn]),Wt=at[2*Le],re.opt_len+=Wt*(Ce+lt),Fo&&(re.static_len+=Wt*(Ro[2*Le+1]+lt)));if(wi!==0){do{for(Ce=Gt-1;re.bl_count[Ce]===0;)Ce--;re.bl_count[Ce]--,re.bl_count[Ce+1]+=2,re.bl_count[Gt]--,wi-=2}while(0<wi);for(Ce=Gt;Ce!==0;Ce--)for(Le=re.bl_count[Ce];Le!==0;)Zn<(tt=re.heap[--Ge])||(at[2*tt+1]!==Ce&&(re.opt_len+=(Ce-at[2*tt+1])*at[2*tt],at[2*tt+1]=Ce),Le--)}}(f,k),Re(W,ue,f.bl_count)}function a(f,k,V){var j,I,W=-1,J=k[1],G=0,ae=7,ue=4;for(J===0&&(ae=138,ue=3),k[2*(V+1)+1]=65535,j=0;j<=V;j++)I=J,J=k[2*(j+1)+1],++G<ae&&I===J||(G<ue?f.bl_tree[2*I]+=G:I!==0?(I!==W&&f.bl_tree[2*I]++,f.bl_tree[2*A]++):G<=10?f.bl_tree[2*T]++:f.bl_tree[2*H]++,W=I,ue=(G=0)===J?(ae=138,3):I===J?(ae=6,3):(ae=7,4))}function D(f,k,V){var j,I,W=-1,J=k[1],G=0,ae=7,ue=4;for(J===0&&(ae=138,ue=3),j=0;j<=V;j++)if(I=J,J=k[2*(j+1)+1],!(++G<ae&&I===J)){if(G<ue)for(;Y(f,I,f.bl_tree),--G!=0;);else I!==0?(I!==W&&(Y(f,I,f.bl_tree),G--),Y(f,A,f.bl_tree),te(f,G-3,2)):G<=10?(Y(f,T,f.bl_tree),te(f,G-3,3)):(Y(f,H,f.bl_tree),te(f,G-11,7));W=I,ue=(G=0)===J?(ae=138,3):I===J?(ae=6,3):(ae=7,4)}}d(q);var S=!1;function p(f,k,V,j){te(f,(b<<1)+(j?1:0),3),function(I,W,J,G){R(I),G&&(ce(I,J),ce(I,~J)),o.arraySet(I.pending_buf,I.window,W,J,I.pending),I.pending+=J}(f,k,V,!0)}n._tr_init=function(f){S||(function(){var k,V,j,I,W,J=new Array(g+1);for(I=j=0;I<y-1;I++)for(U[I]=j,k=0;k<1<<L[I];k++)l[j++]=I;for(l[j-1]=I,I=W=0;I<16;I++)for(q[I]=W,k=0;k<1<<Z[I];k++)B[W++]=I;for(W>>=7;I<h;I++)for(q[I]=W<<7,k=0;k<1<<Z[I]-7;k++)B[256+W++]=I;for(V=0;V<=g;V++)J[V]=0;for(k=0;k<=143;)le[2*k+1]=8,k++,J[8]++;for(;k<=255;)le[2*k+1]=9,k++,J[9]++;for(;k<=279;)le[2*k+1]=7,k++,J[7]++;for(;k<=287;)le[2*k+1]=8,k++,J[8]++;for(Re(le,x+1,J),k=0;k<h;k++)C[2*k+1]=5,C[2*k]=Se(k,5);he=new de(le,L,w+1,x,g),$=new de(C,Z,0,h,g),me=new de(new Array(0),N,0,_,v)}(),S=!0),f.l_desc=new F(f.dyn_ltree,he),f.d_desc=new F(f.dyn_dtree,$),f.bl_desc=new F(f.bl_tree,me),f.bi_buf=0,f.bi_valid=0,M(f)},n._tr_stored_block=p,n._tr_flush_block=function(f,k,V,j){var I,W,J=0;0<f.level?(f.strm.data_type===2&&(f.strm.data_type=function(G){var ae,ue=4093624447;for(ae=0;ae<=31;ae++,ue>>>=1)if(1&ue&&G.dyn_ltree[2*ae]!==0)return s;if(G.dyn_ltree[18]!==0||G.dyn_ltree[20]!==0||G.dyn_ltree[26]!==0)return c;for(ae=32;ae<w;ae++)if(G.dyn_ltree[2*ae]!==0)return c;return s}(f)),se(f,f.l_desc),se(f,f.d_desc),J=function(G){var ae;for(a(G,G.dyn_ltree,G.l_desc.max_code),a(G,G.dyn_dtree,G.d_desc.max_code),se(G,G.bl_desc),ae=_-1;3<=ae&&G.bl_tree[2*Q[ae]+1]===0;ae--);return G.opt_len+=3*(ae+1)+5+5+4,ae}(f),I=f.opt_len+3+7>>>3,(W=f.static_len+3+7>>>3)<=I&&(I=W)):I=W=V+5,V+4<=I&&k!==-1?p(f,k,V,j):f.strategy===4||W===I?(te(f,2+(j?1:0),3),K(f,le,C)):(te(f,4+(j?1:0),3),function(G,ae,ue,re){var Ae;for(te(G,ae-257,5),te(G,ue-1,5),te(G,re-4,4),Ae=0;Ae<re;Ae++)te(G,G.bl_tree[2*Q[Ae]+1],3);D(G,G.dyn_ltree,ae-1),D(G,G.dyn_dtree,ue-1)}(f,f.l_desc.max_code+1,f.d_desc.max_code+1,J+1),K(f,f.dyn_ltree,f.dyn_dtree)),M(f),j&&R(f)},n._tr_tally=function(f,k,V){return f.pending_buf[f.d_buf+2*f.last_lit]=k>>>8&255,f.pending_buf[f.d_buf+2*f.last_lit+1]=255&k,f.pending_buf[f.l_buf+f.last_lit]=255&V,f.last_lit++,k===0?f.dyn_ltree[2*V]++:(f.matches++,k--,f.dyn_ltree[2*(l[V]+w+1)]++,f.dyn_dtree[2*O(k)]++),f.last_lit===f.lit_bufsize-1},n._tr_align=function(f){te(f,2,3),Y(f,E,le),function(k){k.bi_valid===16?(ce(k,k.bi_buf),k.bi_buf=0,k.bi_valid=0):8<=k.bi_valid&&(k.pending_buf[k.pending++]=255&k.bi_buf,k.bi_buf>>=8,k.bi_valid-=8)}(f)}},{"../utils/common":41}],53:[function(i,e,n){"use strict";e.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(i,e,n){(function(o){(function(s,c){"use strict";if(!s.setImmediate){var d,b,y,w,x=1,h={},_=!1,u=s.document,g=Object.getPrototypeOf&&Object.getPrototypeOf(s);g=g&&g.setTimeout?g:s,d={}.toString.call(s.process)==="[object process]"?function(A){process.nextTick(function(){v(A)})}:function(){if(s.postMessage&&!s.importScripts){var A=!0,T=s.onmessage;return s.onmessage=function(){A=!1},s.postMessage("","*"),s.onmessage=T,A}}()?(w="setImmediate$"+Math.random()+"$",s.addEventListener?s.addEventListener("message",E,!1):s.attachEvent("onmessage",E),function(A){s.postMessage(w+A,"*")}):s.MessageChannel?((y=new MessageChannel).port1.onmessage=function(A){v(A.data)},function(A){y.port2.postMessage(A)}):u&&"onreadystatechange"in u.createElement("script")?(b=u.documentElement,function(A){var T=u.createElement("script");T.onreadystatechange=function(){v(A),T.onreadystatechange=null,b.removeChild(T),T=null},b.appendChild(T)}):function(A){setTimeout(v,0,A)},g.setImmediate=function(A){typeof A!="function"&&(A=new Function(""+A));for(var T=new Array(arguments.length-1),H=0;H<T.length;H++)T[H]=arguments[H+1];var L={callback:A,args:T};return h[x]=L,d(x),x++},g.clearImmediate=m}function m(A){delete h[A]}function v(A){if(_)setTimeout(v,0,A);else{var T=h[A];if(T){_=!0;try{(function(H){var L=H.callback,Z=H.args;switch(Z.length){case 0:L();break;case 1:L(Z[0]);break;case 2:L(Z[0],Z[1]);break;case 3:L(Z[0],Z[1],Z[2]);break;default:L.apply(c,Z)}})(T)}finally{m(A),_=!1}}}}function E(A){A.source===s&&typeof A.data=="string"&&A.data.indexOf(w)===0&&v(+A.data.slice(w.length))}})(typeof this>"u"?o===void 0?this:o:this)}).call(this,typeof global<"u"?global:typeof this<"u"?this:typeof window<"u"?window:{})},{}]},{},[10])(10)})})(Xi,Xi.exports);var za=Xi.exports,Ua=po(za);async function Jd(r){let t=new Ua;for(let i of r)t.file(i.path,i.content,{binary:!0});return await t.generateAsync({type:"blob"})}var eu=(()=>{class r{constructor(){this.anchor=ne(Me),this.platformId=ne(Ot),this.window=ne(Wn)}ngOnInit(){this.setAnchorTarget()}setAnchorTarget(){Pt(this.platformId)&&mo(this.anchor.nativeElement.href,this.window.location.origin)&&(this.target="_blank")}}return r.\u0275fac=function(i){return new(i||r)},r.\u0275dir=Ee({type:r,selectors:[["a","href","",3,"noBlankForExternalLink",""]],hostVars:1,hostBindings:function(i,e){i&2&&Ye("target",e.target)},standalone:!0}),r})();function bt(r){r||(an(bt),r=ne(kt));let t=new dt(i=>r.onDestroy(i.next.bind(i)));return i=>i.pipe(Ke(t))}function go(r,t){!t?.injector&&an(go);let i=t?.injector??ne(Kt),e=new Kn(1),n=gn(()=>{let o;try{o=r()}catch(s){pn(()=>e.error(s));return}pn(()=>e.next(o))},{injector:i,manualCleanup:!0});return i.get(kt).onDestroy(()=>{n.destroy(),e.complete()}),e.asObservable()}var Gn=(()=>{class r{constructor(){this.router=ne(oi),this._activeNavigationItem=Oe(null),this._expandedItems=Oe([]),this._isMobileNavVisible=Oe(!1),this.primaryActiveRouteItem=Oe(null),this.activeNavigationItem=this._activeNavigationItem.asReadonly(),this.expandedItems=this._expandedItems.asReadonly(),this.isMobileNavVisible=this._isMobileNavVisible.asReadonly()}async toggleItem(i){i.children&&(i.isExpanded?this.collapse(i):i.children&&i.children.length>0&&i.children[0].path&&(await this.navigateToFirstPageOfTheCategory(i.children[0].path)||this.expand(i)))}cleanExpandedState(){this._expandedItems.set([])}expandItemHierarchy(i,e,n){if(n&&n(i)){this.cleanExpandedState();return}let o=this._expandedItems().find(s=>i.parent?.label===s.label&&i.parent?.path===s.path);if(o)this._expandedItems.update(s=>s.filter(c=>c.level!==void 0&&o.level!==void 0&&c.level<=o.level));else{let s=[],c=i.parent;for(;c&&e(c);)s.push($e(ge({},c),{isExpanded:!0})),c=c.parent;this._expandedItems.set(s.reverse())}}setActiveNavigationItem(i){this._activeNavigationItem.set(i)}setMobileNavigationListVisibility(i){this._isMobileNavVisible.set(i)}expand(i){this._expandedItems.update(e=>[...e??[],$e(ge({},i),{isExpanded:!0})])}collapse(i){i.isExpanded=!1,this._expandedItems.update(e=>e.slice(0,-1))}async navigateToFirstPageOfTheCategory(i){return this.router.navigateByUrl(i)}}return r.\u0275fac=function(i){return new(i||r)},r.\u0275prov=Pe({token:r,factory:r.\u0275fac,providedIn:"root"}),r})();var An="toc-skip-content",_o=(()=>{class r{constructor(){this.toleranceThreshold=40,this.tableOfContentItems=Oe([]),this.document=ne(ze),this.platformId=ne(Ot)}buildTableOfContent(i){let n=this.getHeadings(i).map(o=>({id:o.id,level:o.tagName.toLowerCase(),title:this.getHeadingTitle(o),top:this.calculateTop(o)}));this.tableOfContentItems.set(n)}updateHeadingsTopValue(i){let e=this.getHeadings(i),n=new Map;for(let o of e){let s=o.parentElement?.offsetTop??0,c=Math.floor(s+o.offsetTop-this.toleranceThreshold);n.set(o.id,c)}this.tableOfContentItems.update(o=>{let s=[...o];for(let c of s)c.top=n.get(c.id)??0;return s})}getHeadingTitle(i){let e=this.document.createElement("div");return e.innerHTML=i.innerHTML,(e.textContent||"").trim()}getHeadings(i){return Array.from(i.querySelectorAll(`h2[id]:not(docs-example-viewer h2):not([${An}]),h3[id]:not(docs-example-viewer h3):not([${An}])`))}calculateTop(i){return Pt(this.platformId)?Math.floor(i.offsetTop>0?i.offsetTop:i.getClientRects()[0]?.top)-this.toleranceThreshold:0}}return r.\u0275fac=function(i){return new(i||r)},r.\u0275prov=Pe({token:r,factory:r.\u0275fac,providedIn:"root"}),r})();var Ha=500,tu=250;var bo=20,iu=bo*2,Wa=(()=>{class r{constructor(){this.destroyRef=ne(kt),this.tableOfContentsLoader=ne(_o),this.document=ne(ze),this.window=ne(Wn),this.ngZone=ne(Ue),this.viewportScroller=ne(br),this.injector=ne(sn),this.contentSourceElement=null,this.lastContentWidth=0,this.activeItemId=Oe(null),this.scrollbarThumbOnTop=Oe(!0)}startListeningToScroll(i){this.contentSourceElement=i,this.lastContentWidth=this.getContentWidth(),this.setScrollEventHandlers(),this.setResizeEventHandlers()}scrollToTop(){this.viewportScroller.scrollToPosition([0,0])}scrollToSection(i){Oa()?this.offsetToSection(i):this.document.getElementById(i)?.scrollIntoView({behavior:"smooth",block:"start"})}offsetToSection(i){this.document.getElementById(i)?.scrollIntoView({block:"start"}),this.activeItemId.set(i)}setResizeEventHandlers(){nt(this.window,"resize").pipe(ut(Ha),bt(this.destroyRef),wt()).subscribe(()=>{this.updateHeadingsTopAfterResize()});let i=this.document.querySelector("docs-viewer");i&&Rt(()=>{let e=new ResizeObserver(()=>this.updateHeadingsTopAfterResize());e.observe(i),this.destroyRef.onDestroy(()=>e.disconnect())},{injector:this.injector})}updateHeadingsTopAfterResize(){this.lastContentWidth=this.getContentWidth();let i=this.contentSourceElement;i&&(this.tableOfContentsLoader.updateHeadingsTopValue(i),this.setActiveItemId())}setScrollEventHandlers(){let i=nt(this.document,"scroll").pipe(Zt(bo),bt(this.destroyRef));this.ngZone.runOutsideAngular(()=>{i.subscribe(()=>this.setActiveItemId())})}setActiveItemId(){let i=this.tableOfContentsLoader.tableOfContentItems();if(i.length===0||this.lastContentWidth!==this.getContentWidth())return;let e=this.getScrollOffset();if(e===null)return;for(let[o,s]of i.entries()){let c=i[o+1];if(e>=s.top&&(!c||c.top>=e)&&this.activeItemId()!==s.id){this.activeItemId.set(s.id);return}}e<i[0].top&&this.activeItemId()!==null&&this.activeItemId.set(null);let n=e===0;n!==this.scrollbarThumbOnTop()&&this.scrollbarThumbOnTop.set(n)}getScrollOffset(){return this.window.scrollY}getContentWidth(){return this.document.body.clientWidth||Number.MAX_SAFE_INTEGER}}return r.\u0275fac=function(i){return new(i||r)},r.\u0275prov=Pe({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),Ji={exports:{}};var nu=Ji.exports;(function(r,t){(function(i,e){r.exports=e()})(this,function(){"use strict";function i(M,R,P){return R in M?Object.defineProperty(M,R,{value:P,enumerable:!0,configurable:!0,writable:!0}):M[R]=P,M}function e(M,R){var P=Object.keys(M);if(Object.getOwnPropertySymbols){var z=Object.getOwnPropertySymbols(M);R&&(z=z.filter(function(K){return Object.getOwnPropertyDescriptor(M,K).enumerable})),P.push.apply(P,z)}return P}function n(M){for(var R=1;R<arguments.length;R++){var P=arguments[R]!=null?arguments[R]:{};R%2?e(Object(P),!0).forEach(function(z){i(M,z,P[z])}):Object.getOwnPropertyDescriptors?Object.defineProperties(M,Object.getOwnPropertyDescriptors(P)):e(Object(P)).forEach(function(z){Object.defineProperty(M,z,Object.getOwnPropertyDescriptor(P,z))})}return M}function o(M,R){if(M==null)return{};var P,z,K=function(a,D){if(a==null)return{};var S,p,f={},k=Object.keys(a);for(p=0;p<k.length;p++)S=k[p],D.indexOf(S)>=0||(f[S]=a[S]);return f}(M,R);if(Object.getOwnPropertySymbols){var se=Object.getOwnPropertySymbols(M);for(z=0;z<se.length;z++)P=se[z],R.indexOf(P)>=0||Object.prototype.propertyIsEnumerable.call(M,P)&&(K[P]=M[P])}return K}function s(M,R){return function(P){if(Array.isArray(P))return P}(M)||function(P,z){if(Symbol.iterator in Object(P)||Object.prototype.toString.call(P)==="[object Arguments]"){var K=[],se=!0,a=!1,D=void 0;try{for(var S,p=P[Symbol.iterator]();!(se=(S=p.next()).done)&&(K.push(S.value),!z||K.length!==z);se=!0);}catch(f){a=!0,D=f}finally{try{se||p.return==null||p.return()}finally{if(a)throw D}}return K}}(M,R)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function c(M){return function(R){if(Array.isArray(R)){for(var P=0,z=new Array(R.length);P<R.length;P++)z[P]=R[P];return z}}(M)||function(R){if(Symbol.iterator in Object(R)||Object.prototype.toString.call(R)==="[object Arguments]")return Array.from(R)}(M)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function d(M){var R,P="algoliasearch-client-js-".concat(M.key),z=function(){return R===void 0&&(R=M.localStorage||window.localStorage),R},K=function(){return JSON.parse(z().getItem(P)||"{}")},se=function(D){z().setItem(P,JSON.stringify(D))},a=function(){var D=M.timeToLive?1e3*M.timeToLive:null,S=K(),p=Object.fromEntries(Object.entries(S).filter(function(k){return s(k,2)[1].timestamp!==void 0}));if(se(p),D){var f=Object.fromEntries(Object.entries(p).filter(function(k){var V=s(k,2)[1],j=new Date().getTime();return!(V.timestamp+D<j)}));se(f)}};return{get:function(D,S){var p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{miss:function(){return Promise.resolve()}};return Promise.resolve().then(function(){a();var f=JSON.stringify(D);return K()[f]}).then(function(f){return Promise.all([f?f.value:S(),f!==void 0])}).then(function(f){var k=s(f,2),V=k[0],j=k[1];return Promise.all([V,j||p.miss(V)])}).then(function(f){return s(f,1)[0]})},set:function(D,S){return Promise.resolve().then(function(){var p=K();return p[JSON.stringify(D)]={timestamp:new Date().getTime(),value:S},z().setItem(P,JSON.stringify(p)),S})},delete:function(D){return Promise.resolve().then(function(){var S=K();delete S[JSON.stringify(D)],z().setItem(P,JSON.stringify(S))})},clear:function(){return Promise.resolve().then(function(){z().removeItem(P)})}}}function b(M){var R=c(M.caches),P=R.shift();return P===void 0?{get:function(z,K){var se=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{miss:function(){return Promise.resolve()}},a=K();return a.then(function(D){return Promise.all([D,se.miss(D)])}).then(function(D){return s(D,1)[0]})},set:function(z,K){return Promise.resolve(K)},delete:function(z){return Promise.resolve()},clear:function(){return Promise.resolve()}}:{get:function(z,K){var se=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{miss:function(){return Promise.resolve()}};return P.get(z,K,se).catch(function(){return b({caches:R}).get(z,K,se)})},set:function(z,K){return P.set(z,K).catch(function(){return b({caches:R}).set(z,K)})},delete:function(z){return P.delete(z).catch(function(){return b({caches:R}).delete(z)})},clear:function(){return P.clear().catch(function(){return b({caches:R}).clear()})}}}function y(){var M=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{serializable:!0},R={};return{get:function(P,z){var K=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{miss:function(){return Promise.resolve()}},se=JSON.stringify(P);if(se in R)return Promise.resolve(M.serializable?JSON.parse(R[se]):R[se]);var a=z(),D=K&&K.miss||function(){return Promise.resolve()};return a.then(function(S){return D(S)}).then(function(){return a})},set:function(P,z){return R[JSON.stringify(P)]=M.serializable?JSON.stringify(z):z,Promise.resolve(z)},delete:function(P){return delete R[JSON.stringify(P)],Promise.resolve()},clear:function(){return R={},Promise.resolve()}}}function w(M){for(var R=M.length-1;R>0;R--){var P=Math.floor(Math.random()*(R+1)),z=M[R];M[R]=M[P],M[P]=z}return M}function x(M,R){return R&&Object.keys(R).forEach(function(P){M[P]=R[P](M)}),M}function h(M){for(var R=arguments.length,P=new Array(R>1?R-1:0),z=1;z<R;z++)P[z-1]=arguments[z];var K=0;return M.replace(/%s/g,function(){return encodeURIComponent(P[K++])})}var _={WithinQueryParameters:0,WithinHeaders:1};function u(M,R){var P=M||{},z=P.data||{};return Object.keys(P).forEach(function(K){["timeout","headers","queryParameters","data","cacheable"].indexOf(K)===-1&&(z[K]=P[K])}),{data:Object.entries(z).length>0?z:void 0,timeout:P.timeout||R,headers:P.headers||{},queryParameters:P.queryParameters||{},cacheable:P.cacheable}}var g={Read:1,Write:2,Any:3},m=1,v=2,E=3;function A(M){var R=arguments.length>1&&arguments[1]!==void 0?arguments[1]:m;return n(n({},M),{},{status:R,lastUpdate:Date.now()})}function T(M){return typeof M=="string"?{protocol:"https",url:M,accept:g.Any}:{protocol:M.protocol||"https",url:M.url,accept:M.accept||g.Any}}var H="GET",L="POST";function Z(M,R){return Promise.all(R.map(function(P){return M.get(P,function(){return Promise.resolve(A(P))})})).then(function(P){var z=P.filter(function(a){return function(D){return D.status===m||Date.now()-D.lastUpdate>12e4}(a)}),K=P.filter(function(a){return function(D){return D.status===E&&Date.now()-D.lastUpdate<=12e4}(a)}),se=[].concat(c(z),c(K));return{getTimeout:function(a,D){return(K.length===0&&a===0?1:K.length+3+a)*D},statelessHosts:se.length>0?se.map(function(a){return T(a)}):R}})}function N(M,R,P,z){var K=[],se=function(V,j){if(!(V.method===H||V.data===void 0&&j.data===void 0)){var I=Array.isArray(V.data)?V.data:n(n({},V.data),j.data);return JSON.stringify(I)}}(P,z),a=function(V,j){var I=n(n({},V.headers),j.headers),W={};return Object.keys(I).forEach(function(J){var G=I[J];W[J.toLowerCase()]=G}),W}(M,z),D=P.method,S=P.method!==H?{}:n(n({},P.data),z.data),p=n(n(n({"x-algolia-agent":M.userAgent.value},M.queryParameters),S),z.queryParameters),f=0,k=function V(j,I){var W=j.pop();if(W===void 0)throw{name:"RetryError",message:"Unreachable hosts - your application id may be incorrect. If the error persists, contact [email protected].",transporterStackTrace:B(K)};var J={data:se,headers:a,method:D,url:le(W,P.path,p),connectTimeout:I(f,M.timeouts.connect),responseTimeout:I(f,z.timeout)},G=function(ue){var re={request:J,response:ue,host:W,triesLeft:j.length};return K.push(re),re},ae={onSuccess:function(ue){return function(re){try{return JSON.parse(re.content)}catch(Ae){throw function(Ge,Le){return{name:"DeserializationError",message:Ge,response:Le}}(Ae.message,re)}}(ue)},onRetry:function(ue){var re=G(ue);return ue.isTimedOut&&f++,Promise.all([M.logger.info("Retryable failure",l(re)),M.hostsCache.set(W,A(W,ue.isTimedOut?E:v))]).then(function(){return V(j,I)})},onFail:function(ue){throw G(ue),function(re,Ae){var Ge=re.content,Le=re.status,tt=Ge;try{tt=JSON.parse(Ge).message}catch{}return function(Ce,lt,Wt){return{name:"ApiError",message:Ce,status:lt,transporterStackTrace:Wt}}(tt,Le,Ae)}(ue,B(K))}};return M.requester.send(J).then(function(ue){return function(re,Ae){return function(Ge){var Le=Ge.status;return Ge.isTimedOut||function(tt){var Ce=tt.isTimedOut,lt=tt.status;return!Ce&&~~lt==0}(Ge)||~~(Le/100)!=2&&~~(Le/100)!=4}(re)?Ae.onRetry(re):~~(re.status/100)==2?Ae.onSuccess(re):Ae.onFail(re)}(ue,ae)})};return Z(M.hostsCache,R).then(function(V){return k(c(V.statelessHosts).reverse(),V.getTimeout)})}function Q(M){var R={value:"Algolia for JavaScript (".concat(M,")"),add:function(P){var z="; ".concat(P.segment).concat(P.version!==void 0?" (".concat(P.version,")"):"");return R.value.indexOf(z)===-1&&(R.value="".concat(R.value).concat(z)),R}};return R}function le(M,R,P){var z=C(P),K="".concat(M.protocol,"://").concat(M.url,"/").concat(R.charAt(0)==="/"?R.substr(1):R);return z.length&&(K+="?".concat(z)),K}function C(M){return Object.keys(M).map(function(R){return h("%s=%s",R,(P=M[R],Object.prototype.toString.call(P)==="[object Object]"||Object.prototype.toString.call(P)==="[object Array]"?JSON.stringify(M[R]):M[R]));var P}).join("&")}function B(M){return M.map(function(R){return l(R)})}function l(M){var R=M.request.headers["x-algolia-api-key"]?{"x-algolia-api-key":"*****"}:{};return n(n({},M),{},{request:n(n({},M.request),{},{headers:n(n({},M.request.headers),R)})})}var U=function(M){var R=M.appId,P=function(K,se,a){var D={"x-algolia-api-key":a,"x-algolia-application-id":se};return{headers:function(){return K===_.WithinHeaders?D:{}},queryParameters:function(){return K===_.WithinQueryParameters?D:{}}}}(M.authMode!==void 0?M.authMode:_.WithinHeaders,R,M.apiKey),z=function(K){var se=K.hostsCache,a=K.logger,D=K.requester,S=K.requestsCache,p=K.responsesCache,f=K.timeouts,k=K.userAgent,V=K.hosts,j=K.queryParameters,I={hostsCache:se,logger:a,requester:D,requestsCache:S,responsesCache:p,timeouts:f,userAgent:k,headers:K.headers,queryParameters:j,hosts:V.map(function(W){return T(W)}),read:function(W,J){var G=u(J,I.timeouts.read),ae=function(){return N(I,I.hosts.filter(function(re){return(re.accept&g.Read)!=0}),W,G)};if((G.cacheable!==void 0?G.cacheable:W.cacheable)!==!0)return ae();var ue={request:W,mappedRequestOptions:G,transporter:{queryParameters:I.queryParameters,headers:I.headers}};return I.responsesCache.get(ue,function(){return I.requestsCache.get(ue,function(){return I.requestsCache.set(ue,ae()).then(function(re){return Promise.all([I.requestsCache.delete(ue),re])},function(re){return Promise.all([I.requestsCache.delete(ue),Promise.reject(re)])}).then(function(re){var Ae=s(re,2);return Ae[0],Ae[1]})})},{miss:function(re){return I.responsesCache.set(ue,re)}})},write:function(W,J){return N(I,I.hosts.filter(function(G){return(G.accept&g.Write)!=0}),W,u(J,I.timeouts.write))}};return I}(n(n({hosts:[{url:"".concat(R,"-dsn.algolia.net"),accept:g.Read},{url:"".concat(R,".algolia.net"),accept:g.Write}].concat(w([{url:"".concat(R,"-1.algolianet.com")},{url:"".concat(R,"-2.algolianet.com")},{url:"".concat(R,"-3.algolianet.com")}]))},M),{},{headers:n(n(n({},P.headers()),{"content-type":"application/x-www-form-urlencoded"}),M.headers),queryParameters:n(n({},P.queryParameters()),M.queryParameters)}));return x({transporter:z,appId:R,addAlgoliaAgent:function(K,se){z.userAgent.add({segment:K,version:se})},clearCache:function(){return Promise.all([z.requestsCache.clear(),z.responsesCache.clear()]).then(function(){})}},M.methods)},he=function(M){return function(R,P){return R.method===H?M.transporter.read(R,P):M.transporter.write(R,P)}},$=function(M){return function(R){var P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},z={transporter:M.transporter,appId:M.appId,indexName:R};return x(z,P.methods)}},me=function(M){return function(R,P){var z=R.map(function(K){return n(n({},K),{},{params:C(K.params||{})})});return M.transporter.read({method:L,path:"1/indexes/*/queries",data:{requests:z},cacheable:!0},P)}},q=function(M){return function(R,P){return Promise.all(R.map(function(z){var K=z.params,se=K.facetName,a=K.facetQuery,D=o(K,["facetName","facetQuery"]);return $(M)(z.indexName,{methods:{searchForFacetValues:O}}).searchForFacetValues(se,a,n(n({},P),D))}))}},de=function(M){return function(R,P,z){return M.transporter.read({method:L,path:h("1/answers/%s/prediction",M.indexName),data:{query:R,queryLanguages:P},cacheable:!0},z)}},F=function(M){return function(R,P){return M.transporter.read({method:L,path:h("1/indexes/%s/query",M.indexName),data:{query:R},cacheable:!0},P)}},O=function(M){return function(R,P,z){return M.transporter.read({method:L,path:h("1/indexes/%s/facets/%s/query",M.indexName,R),data:{facetQuery:P},cacheable:!0},z)}},ce=1,te=2,Y=3,Se=function(M){return function(R,P){var z=R.map(function(K){return n(n({},K),{},{threshold:K.threshold||0})});return M.transporter.read({method:L,path:"1/indexes/*/recommendations",data:{requests:z},cacheable:!0},P)}};function Re(M,R,P){var z,K={appId:M,apiKey:R,timeouts:{connect:1,read:2,write:30},requester:{send:function(se){return new Promise(function(a){var D=new XMLHttpRequest;D.open(se.method,se.url,!0),Object.keys(se.headers).forEach(function(k){return D.setRequestHeader(k,se.headers[k])});var S,p=function(k,V){return setTimeout(function(){D.abort(),a({status:0,content:V,isTimedOut:!0})},1e3*k)},f=p(se.connectTimeout,"Connection timeout");D.onreadystatechange=function(){D.readyState>D.OPENED&&S===void 0&&(clearTimeout(f),S=p(se.responseTimeout,"Socket timeout"))},D.onerror=function(){D.status===0&&(clearTimeout(f),clearTimeout(S),a({content:D.responseText||"Network request failed",status:D.status,isTimedOut:!1}))},D.onload=function(){clearTimeout(f),clearTimeout(S),a({content:D.responseText,status:D.status,isTimedOut:!1})},D.send(se.data)})}},logger:(z=Y,{debug:function(se,a){return ce>=z&&console.debug(se,a),Promise.resolve()},info:function(se,a){return te>=z&&console.info(se,a),Promise.resolve()},error:function(se,a){return console.error(se,a),Promise.resolve()}}),responsesCache:y(),requestsCache:y({serializable:!1}),hostsCache:b({caches:[d({key:"".concat("4.23.3","-").concat(M)}),y()]}),userAgent:Q("4.23.3").add({segment:"Browser",version:"lite"}),authMode:_.WithinQueryParameters};return U(n(n(n({},K),P),{},{methods:{search:me,searchForFacetValues:q,multipleQueries:me,multipleSearchForFacetValues:q,customRequest:he,initIndex:function(se){return function(a){return $(se)(a,{methods:{search:F,searchForFacetValues:O,findAnswers:de}})}},getRecommendations:Se}}))}return Re.version="4.23.3",Re})})(Ji,Ji.exports);var Ga=Ji.exports,$a=po(Ga);var Za=200,qa=5,Qa=(()=>{class r{constructor(){this._searchQuery=Oe(""),this._searchResults=Oe(void 0),this.router=ne(oi),this.config=ne(Pa),this.client=$a(this.config.algolia.appId,this.config.algolia.apiKey),this.index=this.client.initIndex(this.config.algolia.indexName),this.searchQuery=this._searchQuery.asReadonly(),this.searchResults=this._searchResults.asReadonly(),this.searchResults$=go(this.searchQuery).pipe(ut(Za),Ei(i=>i?Ci(this.index.search(i,{maxValuesPerFacet:qa})):$t(void 0))),Rt(()=>{this.listenToSearchResults(),this.resetSearchQueryOnNavigationEnd()})}updateSearchQuery(i){this._searchQuery.set(i)}listenToSearchResults(){this.searchResults$.subscribe(i=>{this._searchResults.set(i?this.getUniqueSearchResultItems(i.hits):void 0)})}getUniqueSearchResultItems(i){let e=new Set;return i.filter(n=>n.url&&!e.has(n.url)?(e.add(n.url),!0):!1)}resetSearchQueryOnNavigationEnd(){this.router.events.pipe(ct(i=>i instanceof vr)).subscribe(()=>{this.updateSearchQuery("")})}}return r.\u0275fac=function(i){return new(i||r)},r.\u0275prov=Pe({token:r,factory:r.\u0275fac,providedIn:"root"}),r})();var vo=function(r){return r.H2="h2",r.H3="h3",r}(vo||{});var et=class r{constructor(){if(this.fontSize=It(()=>r.isFontLoaded()?null:0),this.MATERIAL_SYMBOLS_OUTLINED="material-symbols-outlined",r.isFontLoaded())return;let t=ne(ze);Rt(async()=>{r.whenFontLoad??(r.whenFontLoad=t.fonts.load('normal 1px "Material Symbols Outlined"')),await r.whenFontLoad,r.isFontLoaded.set(!0)})}};et.isFontLoaded=Oe(!1);et.\u0275fac=function(t){return new(t||et)};et.\u0275cmp=Be({type:et,selectors:[["docs-icon"]],hostAttrs:["aria-hidden","true","translate","no"],hostVars:4,hostBindings:function(t,i){t&2&&(Jt(i.MATERIAL_SYMBOLS_OUTLINED),fn("font-size",i.fontSize(),"px"))},standalone:!0,features:[je],ngContentSelectors:tn,decls:1,vars:0,template:function(t,i){t&1&&(ii(),ni(0))},styles:[".docs-icon_high-contrast[_ngcontent-%COMP%]{color:var(--primary-contrast)}/*# sourceMappingURL=icon.component.css.map */"],changeDetection:0});var Ka=(()=>{class r{constructor(){this.scrollSpy=ne(Wa),this.tableOfContentsLoader=ne(_o),this.tableOfContentItems=this.tableOfContentsLoader.tableOfContentItems,this.activeItemId=this.scrollSpy.activeItemId,this.shouldDisplayScrollToTop=It(()=>!this.scrollSpy.scrollbarThumbOnTop()),this.TableOfContentsLevel=vo}ngAfterViewInit(){this.tableOfContentsLoader.buildTableOfContent(this.contentSourceElement),this.scrollSpy.startListeningToScroll(this.contentSourceElement)}scrollToTop(){this.scrollSpy.scrollToTop()}}return r.\u0275fac=function(i){return new(i||r)},r.\u0275cmp=Be({type:r,selectors:[["docs-table-of-contents"]],inputs:{contentSourceElement:"contentSourceElement"},standalone:!0,features:[je],decls:9,vars:1,consts:[[1,"docs-title"],[1,"docs-faceted-list"],[1,"docs-faceted-list-item",3,"docs-toc-item-h2","docs-toc-item-h3"],["type","button"],[1,"docs-faceted-list-item"],["routerLink",".",3,"fragment"],["type","button",3,"click"],["role","presentation"]],template:function(i,e){i&1&&(X(0,"aside")(1,"nav")(2,"header")(3,"h2",0),_e(4,"On this page"),ee()(),X(5,"ul",1),gt(6,ms,3,8,"li",2,fs),ee()(),be(8,ps,4,0,"button",3),ee()),i&2&&(oe(6),_t(e.tableOfContentItems()),oe(2),ve(e.shouldDisplayScrollToTop()?8:-1))},dependencies:[si,et],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;position:fixed;right:16px;top:0;height:fit-content;width:14rem;padding-inline:1rem;max-height:100vh;overflow-y:scroll}[_nghost-%COMP%] aside[_ngcontent-%COMP%]{margin-bottom:2rem}[_nghost-%COMP%] [_ngcontent-%COMP%]:has(ul li[_ngcontent-%COMP%]:only-child){display:none}@media only screen and (max-width: 1430px){[_nghost-%COMP%]{position:relative;right:0;max-height:min-content;width:100%}}[_nghost-%COMP%] .docs-title[_ngcontent-%COMP%]{font-size:1.25rem;margin-block-start:var(--layout-padding)}[_nghost-%COMP%]::-webkit-scrollbar-track{background:rgba(0,0,0,0);cursor:pointer}[_nghost-%COMP%]::-webkit-scrollbar{width:6px;height:6px}[_nghost-%COMP%]::-webkit-scrollbar-thumb{background-color:var(--septenary-contrast);border-radius:10px;transition:background-color .3s ease}[_nghost-%COMP%]::-webkit-scrollbar-thumb:hover{background-color:var(--quinary-contrast)}[_nghost-%COMP%] .docs-faceted-list-item[_ngcontent-%COMP%]{font-size:.875rem}[_nghost-%COMP%] .docs-faceted-list-item[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{display:block;padding:.5rem .5rem .5rem 1rem;font-weight:500}[_nghost-%COMP%] .docs-faceted-list-item.docs-toc-item-h3[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{padding-inline-start:2rem}button[_ngcontent-%COMP%]{background:rgba(0,0,0,0);border:none;font-size:.875rem;font-family:var(--inter-font);display:flex;align-items:center;margin:.5rem 0;color:var(--tertiary-contrast);transition:color .3s ease;cursor:pointer}button[_ngcontent-%COMP%] docs-icon[_ngcontent-%COMP%]{margin-inline-end:.35rem;opacity:.6;transition:opacity .3s ease}button[_ngcontent-%COMP%]:hover docs-icon[_ngcontent-%COMP%]{opacity:1}@media only screen and (max-width: 1430px){button[_ngcontent-%COMP%]{display:none}}/*# sourceMappingURL=table-of-contents.component.css.map */"],changeDetection:0}),r})();var Ya=(()=>{class r{constructor(){this.navigationState=ne(Gn),this.breadcrumbItems=Oe([])}ngOnInit(){this.setBreadcrumbItemsBasedOnNavigationStructure()}setBreadcrumbItemsBasedOnNavigationStructure(){let i=[],e=n=>{n&&n.parent&&(i=[n.parent,...i],e(n.parent))};e(this.navigationState.activeNavigationItem()),this.breadcrumbItems.set(i)}}return r.\u0275fac=function(i){return new(i||r)},r.\u0275cmp=Be({type:r,selectors:[["docs-breadcrumb"]],standalone:!0,features:[je],decls:2,vars:0,consts:[[1,"docs-breadcrumb"],[3,"href"],[3,"routerLink"]],template:function(i,e){i&1&>(0,ys,3,1,"div",0,ei),i&2&&_t(e.breadcrumbItems())},dependencies:[si],styles:['[_nghost-%COMP%]{display:flex;align-items:center;padding-block-end:1.5rem}.docs-breadcrumb[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:var(--quaternary-contrast);font-size:.875rem;display:flex;align-items:center}.docs-breadcrumb[_ngcontent-%COMP%]:not(:last-child) span[_ngcontent-%COMP%]::after{content:"chevron_right";font-family:var(--icons);margin-inline:.5rem;color:var(--quinary-contrast)}/*# sourceMappingURL=breadcrumb.component.css.map */'],changeDetection:0}),r})(),Mn=class{constructor(t,i){this._document=i;let e=this._textarea=this._document.createElement("textarea"),n=e.style;n.position="fixed",n.top=n.opacity="0",n.left="-999em",e.setAttribute("aria-hidden","true"),e.value=t,e.readOnly=!0,(this._document.fullscreenElement||this._document.body).appendChild(e)}copy(){let t=this._textarea,i=!1;try{if(t){let e=this._document.activeElement;t.select(),t.setSelectionRange(0,t.value.length),i=this._document.execCommand("copy"),e&&e.focus()}}catch{}return i}destroy(){let t=this._textarea;t&&(t.remove(),this._textarea=void 0)}},yo=(()=>{let t=class t{constructor(e){this._document=e}copy(e){let n=this.beginCopy(e),o=n.copy();return n.destroy(),o}beginCopy(e){return new Mn(e,this._document)}};t.\u0275fac=function(n){return new(n||t)(ye(ze))},t.\u0275prov=Pe({token:t,factory:t.\u0275fac,providedIn:"root"});let r=t;return r})(),ru=new pe("CDK_COPY_TO_CLIPBOARD_CONFIG");var Xa=".hljs-ln-line.remove",Ja=2e3,wo=(()=>{class r{constructor(){this.changeDetector=ne(rt),this.clipboard=ne(yo),this.elementRef=ne(Me),this.showCopySuccess=Oe(!1),this.showCopyFailure=Oe(!1)}copySourceCode(){try{let i=this.elementRef.nativeElement.parentElement.querySelector("code"),e=this.getSourceCode(i);this.clipboard.copy(e),this.showResult(this.showCopySuccess)}catch{this.showResult(this.showCopyFailure)}}getSourceCode(i){return this.showCopySuccess.set(!1),this.showCopyFailure.set(!1),i.querySelectorAll(Xa).length?Array.from(i.querySelectorAll(".hljs-ln-line:not(.remove)")).map(o=>o.innerText).join(`
`).trim():(i.innerText||"").replaceAll(`
`,"").trim()}showResult(i){i.set(!0),setTimeout(()=>{i.set(!1),this.changeDetector.markForCheck()},Ja)}}return r.\u0275fac=function(i){return new(i||r)},r.\u0275cmp=Be({type:r,selectors:[["button","docs-copy-source-code",""]],hostAttrs:["type","button","aria-label","Copy example source to clipboard","title","Copy example source"],hostVars:4,hostBindings:function(i,e){i&1&&Te("click",function(){return e.copySourceCode()}),i&2&&Ie("docs-copy-source-code-button-success",e.showCopySuccess())("docs-copy-source-code-button-failed",e.showCopyFailure())},standalone:!0,features:[je],attrs:ws,decls:5,vars:0,consts:[["aria-hidden","true","width","24","height","24","viewBox","0 0 24 24","fill","none","xmlns","http://www.w3.org/2000/svg",1,"docs-copy"],["d","M5 22C4.45 22 3.97917 21.8042 3.5875 21.4125C3.19583 21.0208 3 20.55 3 20V6H5V20H16V22H5ZM9 18C8.45 18 7.97917 17.8042 7.5875 17.4125C7.19583 17.0208 7 16.55 7 16V4C7 3.45 7.19583 2.97917 7.5875 2.5875C7.97917 2.19583 8.45 2 9 2H18C18.55 2 19.0208 2.19583 19.4125 2.5875C19.8042 2.97917 20 3.45 20 4V16C20 16.55 19.8042 17.0208 19.4125 17.4125C19.0208 17.8042 18.55 18 18 18H9ZM9 16H18V4H9V16Z","fill","#A39FA9"],[1,"docs-check"]],template:function(i,e){i&1&&(X(0,"i"),ft(),X(1,"svg",0),He(2,"path",1),ee()(),cn(),X(3,"docs-icon",2),_e(4,"check"),ee())},dependencies:[Dt,et],encapsulation:2,changeDetection:0}),r})(),On;try{On=typeof Intl<"u"&&Intl.v8BreakIterator}catch{On=!1}var st=(()=>{let t=class t{constructor(e){this._platformId=e,this.isBrowser=this._platformId?Pt(this._platformId):typeof document=="object"&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!!(window.chrome||On)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}};t.\u0275fac=function(n){return new(n||t)(ye(Ot))},t.\u0275prov=Pe({token:t,factory:t.\u0275fac,providedIn:"root"});let r=t;return r})();var mi;function ec(){if(mi==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>mi=!0}))}finally{mi=mi||!1}return mi}function yi(r){return ec()?r:!!r.capture}var ot=function(r){return r[r.NORMAL=0]="NORMAL",r[r.NEGATED=1]="NEGATED",r[r.INVERTED=2]="INVERTED",r}(ot||{}),Zi,Tt;function tc(){if(Tt==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return Tt=!1,Tt;if("scrollBehavior"in document.documentElement.style)Tt=!0;else{let r=Element.prototype.scrollTo;r?Tt=!/\{\s*\[native code\]\s*\}/.test(r.toString()):Tt=!1}}return Tt}function pi(){if(typeof document!="object"||!document)return ot.NORMAL;if(Zi==null){let r=document.createElement("div"),t=r.style;r.dir="rtl",t.width="1px",t.overflow="auto",t.visibility="hidden",t.pointerEvents="none",t.position="absolute";let i=document.createElement("div"),e=i.style;e.width="2px",e.height="1px",r.appendChild(i),document.body.appendChild(r),Zi=ot.NORMAL,r.scrollLeft===0&&(r.scrollLeft=1,Zi=r.scrollLeft===0?ot.NEGATED:ot.INVERTED),r.remove()}return Zi}var In;function ic(){if(In==null){let r=typeof document<"u"?document.head:null;In=!!(r&&(r.createShadowRoot||r.attachShadow))}return In}function nc(r){if(ic()){let t=r.getRootNode?r.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}function Ht(r){return r.composedPath?r.composedPath()[0]:r.target}function rc(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var oc=9;var sc=13,ac=16,cc=17,lc=18;var dc=32,uc=33,hc=34,fc=35,mc=36,pc=37,gc=38,_c=39,bc=40;var vc=48;var yc=57;var wc=65;var Cc=90,xc=91;var kc=224;function Co(r,...t){return t.length?t.some(i=>r[i]):r.altKey||r.shiftKey||r.ctrlKey||r.metaKey}function Ec(r,t=0){return Ic(r)?Number(r):t}function Ic(r){return!isNaN(parseFloat(r))&&!isNaN(Number(r))}function Hr(r){return Array.isArray(r)?r:[r]}function Mt(r){return r instanceof Me?r.nativeElement:r}function Dc(r){if(r.type==="characterData"&&r.target instanceof Comment)return!0;if(r.type==="childList"){for(let t=0;t<r.addedNodes.length;t++)if(!(r.addedNodes[t]instanceof Comment))return!1;for(let t=0;t<r.removedNodes.length;t++)if(!(r.removedNodes[t]instanceof Comment))return!1;return!0}return!1}var Tc=(()=>{let t=class t{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}};t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=Pe({token:t,factory:t.\u0275fac,providedIn:"root"});let r=t;return r})(),Sc=(()=>{let t=class t{constructor(e){this._mutationObserverFactory=e,this._observedElements=new Map,this._ngZone=ne(Ue)}ngOnDestroy(){this._observedElements.forEach((e,n)=>this._cleanupObserver(n))}observe(e){let n=Mt(e);return new dt(o=>{let c=this._observeElement(n).pipe(yt(d=>d.filter(b=>!Dc(b))),ct(d=>!!d.length)).subscribe(d=>{this._ngZone.run(()=>{o.next(d)})});return()=>{c.unsubscribe(),this._unobserveElement(n)}})}_observeElement(e){return this._ngZone.runOutsideAngular(()=>{if(this._observedElements.has(e))this._observedElements.get(e).count++;else{let n=new Fe,o=this._mutationObserverFactory.create(s=>n.next(s));o&&o.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:o,stream:n,count:1})}return this._observedElements.get(e).stream})}_unobserveElement(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}_cleanupObserver(e){if(this._observedElements.has(e)){let{observer:n,stream:o}=this._observedElements.get(e);n&&n.disconnect(),o.complete(),this._observedElements.delete(e)}}};t.\u0275fac=function(n){return new(n||t)(ye(Tc))},t.\u0275prov=Pe({token:t,factory:t.\u0275fac,providedIn:"root"});let r=t;return r})(),Ac=(()=>{let t=class t{get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(e){this._debounce=Ec(e),this._subscribe()}constructor(e,n){this._contentObserver=e,this._elementRef=n,this.event=new De,this._disabled=!1,this._currentSubscription=null}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();let e=this._contentObserver.observe(this._elementRef);this._currentSubscription=(this.debounce?e.pipe(ut(this.debounce)):e).subscribe(this.event)}_unsubscribe(){this._currentSubscription?.unsubscribe()}};t.\u0275fac=function(n){return new(n||t)(ie(Sc),ie(Me))},t.\u0275dir=Ee({type:t,selectors:[["","cdkObserveContent",""]],inputs:{disabled:[2,"cdkObserveContentDisabled","disabled",We],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"],standalone:!0,features:[pt]});let r=t;return r})();var Wr=new Set,St,Mc=(()=>{let t=class t{constructor(e,n){this._platform=e,this._nonce=n,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Rc}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&Oc(e,this._nonce),this._matchMedia(e)}};t.\u0275fac=function(n){return new(n||t)(ye(st),ye(or,8))},t.\u0275prov=Pe({token:t,factory:t.\u0275fac,providedIn:"root"});let r=t;return r})();function Oc(r,t){if(!Wr.has(r))try{St||(St=document.createElement("style"),t&&St.setAttribute("nonce",t),St.setAttribute("type","text/css"),document.head.appendChild(St)),St.sheet&&(St.sheet.insertRule(`@media ${r} {body{ }}`,0),Wr.add(r))}catch(i){console.error(i)}}function Rc(r){return{matches:r==="all"||r==="",media:r,addListener:()=>{},removeListener:()=>{}}}var Fc=(()=>{let t=class t{constructor(e,n){this._mediaMatcher=e,this._zone=n,this._queries=new Map,this._destroySubject=new Fe}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return Gr(Hr(e)).some(o=>this._registerQuery(o).mql.matches)}observe(e){let o=Gr(Hr(e)).map(c=>this._registerQuery(c).observable),s=Xn(o);return s=Jn(s.pipe(ir(1)),s.pipe(ki(1),ut(0))),s.pipe(yt(c=>{let d={matches:!1,breakpoints:{}};return c.forEach(({matches:b,query:y})=>{d.matches=d.matches||b,d.breakpoints[y]=b}),d}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);let n=this._mediaMatcher.matchMedia(e),s={observable:new dt(c=>{let d=b=>this._zone.run(()=>c.next(b));return n.addListener(d),()=>{n.removeListener(d)}}).pipe(wt(n),yt(({matches:c})=>({query:e,matches:c})),Ke(this._destroySubject)),mql:n};return this._queries.set(e,s),s}};t.\u0275fac=function(n){return new(n||t)(ye(Mc),ye(Ue))},t.\u0275prov=Pe({token:t,factory:t.\u0275fac,providedIn:"root"});let r=t;return r})();function Gr(r){return r.map(t=>t.split(",")).reduce((t,i)=>t.concat(i)).map(t=>t.trim())}var en=class{constructor(t,i){this._items=t,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new Fe,this._typeaheadSubscription=vt.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=e=>e.disabled,this._pressedLetters=[],this.tabOut=new Fe,this.change=new Fe,t instanceof Ii?this._itemChangesSubscription=t.changes.subscribe(e=>this._itemsChanged(e.toArray())):hn(t)&&(this._effectRef=gn(()=>this._itemsChanged(t()),{injector:i}))}skipPredicate(t){return this._skipPredicateFn=t,this}withWrap(t=!0){return this._wrap=t,this}withVerticalOrientation(t=!0){return this._vertical=t,this}withHorizontalOrientation(t){return this._horizontal=t,this}withAllowedModifierKeys(t){return this._allowedModifierKeys=t,this}withTypeAhead(t=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(rr(i=>this._pressedLetters.push(i)),ut(t),ct(()=>this._pressedLetters.length>0),yt(()=>this._pressedLetters.join(""))).subscribe(i=>{let e=this._getItemsArray();for(let n=1;n<e.length+1;n++){let o=(this._activeItemIndex+n)%e.length,s=e[o];if(!this._skipPredicateFn(s)&&s.getLabel().toUpperCase().trim().indexOf(i)===0){this.setActiveItem(o);break}}this._pressedLetters=[]}),this}cancelTypeahead(){return this._pressedLetters=[],this}withHomeAndEnd(t=!0){return this._homeAndEnd=t,this}withPageUpDown(t=!0,i=10){return this._pageUpAndDown={enabled:t,delta:i},this}setActiveItem(t){let i=this._activeItem;this.updateActiveItem(t),this._activeItem!==i&&this.change.next(this._activeItemIndex)}onKeydown(t){let i=t.keyCode,n=["altKey","ctrlKey","metaKey","shiftKey"].every(o=>!t[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(i){case oc:this.tabOut.next();return;case bc:if(this._vertical&&n){this.setNextItemActive();break}else return;case gc:if(this._vertical&&n){this.setPreviousItemActive();break}else return;case _c:if(this._horizontal&&n){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case pc:if(this._horizontal&&n){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case mc:if(this._homeAndEnd&&n){this.setFirstItemActive();break}else return;case fc:if(this._homeAndEnd&&n){this.setLastItemActive();break}else return;case uc:if(this._pageUpAndDown.enabled&&n){let o=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(o>0?o:0,1);break}else return;case hc:if(this._pageUpAndDown.enabled&&n){let o=this._activeItemIndex+this._pageUpAndDown.delta,s=this._getItemsArray().length;this._setActiveItemByIndex(o<s?o:s-1,-1);break}else return;default:(n||Co(t,"shiftKey"))&&(t.key&&t.key.length===1?this._letterKeyStream.next(t.key.toLocaleUpperCase()):(i>=wc&&i<=Cc||i>=vc&&i<=yc)&&this._letterKeyStream.next(String.fromCharCode(i)));return}this._pressedLetters=[],t.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._getItemsArray().length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(t){let i=this._getItemsArray(),e=typeof t=="number"?t:i.indexOf(t),n=i[e];this._activeItem=n??null,this._activeItemIndex=e}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._effectRef?.destroy(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(t){this._wrap?this._setActiveInWrapMode(t):this._setActiveInDefaultMode(t)}_setActiveInWrapMode(t){let i=this._getItemsArray();for(let e=1;e<=i.length;e++){let n=(this._activeItemIndex+t*e+i.length)%i.length,o=i[n];if(!this._skipPredicateFn(o)){this.setActiveItem(n);return}}}_setActiveInDefaultMode(t){this._setActiveItemByIndex(this._activeItemIndex+t,t)}_setActiveItemByIndex(t,i){let e=this._getItemsArray();if(e[t]){for(;this._skipPredicateFn(e[t]);)if(t+=i,!e[t])return;this.setActiveItem(t)}}_getItemsArray(){return hn(this._items)?this._items():this._items instanceof Ii?this._items.toArray():this._items}_itemsChanged(t){if(this._activeItem){let i=t.indexOf(this._activeItem);i>-1&&i!==this._activeItemIndex&&(this._activeItemIndex=i)}}},Rn=class extends en{setActiveItem(t){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(t),this.activeItem&&this.activeItem.setActiveStyles()}},Fn=class extends en{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(t){return this._origin=t,this}setActiveItem(t){super.setActiveItem(t),this.activeItem&&this.activeItem.focus(this._origin)}};var ou=new pe("FOCUS_TRAP_INERT_STRATEGY");function xo(r){return r.buttons===0||r.detail===0}function ko(r){let t=r.touches&&r.touches[0]||r.changedTouches&&r.changedTouches[0];return!!t&&t.identifier===-1&&(t.radiusX==null||t.radiusX===1)&&(t.radiusY==null||t.radiusY===1)}var Pc=new pe("cdk-input-modality-detector-options"),Vc={ignoreKeys:[lc,cc,kc,xc,ac]},Eo=650,zt=yi({passive:!0,capture:!0}),Nc=(()=>{let t=class t{get mostRecentModality(){return this._modality.value}constructor(e,n,o,s){this._platform=e,this._mostRecentTarget=null,this._modality=new Qn(null),this._lastTouchMs=0,this._onKeydown=c=>{this._options?.ignoreKeys?.some(d=>d===c.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Ht(c))},this._onMousedown=c=>{Date.now()-this._lastTouchMs<Eo||(this._modality.next(xo(c)?"keyboard":"mouse"),this._mostRecentTarget=Ht(c))},this._onTouchstart=c=>{if(ko(c)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Ht(c)},this._options=ge(ge({},Vc),s),this.modalityDetected=this._modality.pipe(ki(1)),this.modalityChanged=this.modalityDetected.pipe(rn()),e.isBrowser&&n.runOutsideAngular(()=>{o.addEventListener("keydown",this._onKeydown,zt),o.addEventListener("mousedown",this._onMousedown,zt),o.addEventListener("touchstart",this._onTouchstart,zt)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,zt),document.removeEventListener("mousedown",this._onMousedown,zt),document.removeEventListener("touchstart",this._onTouchstart,zt))}};t.\u0275fac=function(n){return new(n||t)(ye(st),ye(Ue),ye(ze),ye(Pc,8))},t.\u0275prov=Pe({token:t,factory:t.\u0275fac,providedIn:"root"});let r=t;return r})(),su=new pe("liveAnnouncerElement",{providedIn:"root",factory:Lc});function Lc(){return null}var au=new pe("LIVE_ANNOUNCER_DEFAULT_OPTIONS");var Ki=function(r){return r[r.IMMEDIATE=0]="IMMEDIATE",r[r.EVENTUAL=1]="EVENTUAL",r}(Ki||{}),Bc=new pe("cdk-focus-monitor-default-options"),qi=yi({passive:!0,capture:!0}),jc=(()=>{let t=class t{constructor(e,n,o,s,c){this._ngZone=e,this._platform=n,this._inputModalityDetector=o,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new Fe,this._rootNodeFocusAndBlurListener=d=>{let b=Ht(d);for(let y=b;y;y=y.parentElement)d.type==="focus"?this._onFocus(d,y):this._onBlur(d,y)},this._document=s,this._detectionMode=c?.detectionMode||Ki.IMMEDIATE}monitor(e,n=!1){let o=Mt(e);if(!this._platform.isBrowser||o.nodeType!==1)return $t();let s=nc(o)||this._getDocument(),c=this._elementInfo.get(o);if(c)return n&&(c.checkChildren=!0),c.subject;let d={checkChildren:n,subject:new Fe,rootNode:s};return this._elementInfo.set(o,d),this._registerGlobalListeners(d),d.subject}stopMonitoring(e){let n=Mt(e),o=this._elementInfo.get(n);o&&(o.subject.complete(),this._setClasses(n),this._elementInfo.delete(n),this._removeGlobalListeners(o))}focusVia(e,n,o){let s=Mt(e),c=this._getDocument().activeElement;s===c?this._getClosestElementsInfo(s).forEach(([d,b])=>this._originChanged(d,n,b)):(this._setOrigin(n),typeof s.focus=="function"&&s.focus(o))}ngOnDestroy(){this._elementInfo.forEach((e,n)=>this.stopMonitoring(n))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return this._detectionMode===Ki.EVENTUAL||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,n){e.classList.toggle("cdk-focused",!!n),e.classList.toggle("cdk-touch-focused",n==="touch"),e.classList.toggle("cdk-keyboard-focused",n==="keyboard"),e.classList.toggle("cdk-mouse-focused",n==="mouse"),e.classList.toggle("cdk-program-focused",n==="program")}_setOrigin(e,n=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=e,this._originFromTouchInteraction=e==="touch"&&n,this._detectionMode===Ki.IMMEDIATE){clearTimeout(this._originTimeoutId);let o=this._originFromTouchInteraction?Eo:1;this._originTimeoutId=setTimeout(()=>this._origin=null,o)}})}_onFocus(e,n){let o=this._elementInfo.get(n),s=Ht(e);!o||!o.checkChildren&&n!==s||this._originChanged(n,this._getFocusOrigin(s),o)}_onBlur(e,n){let o=this._elementInfo.get(n);!o||o.checkChildren&&e.relatedTarget instanceof Node&&n.contains(e.relatedTarget)||(this._setClasses(n),this._emitOrigin(o,null))}_emitOrigin(e,n){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(n))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;let n=e.rootNode,o=this._rootNodeFocusListenerCount.get(n)||0;o||this._ngZone.runOutsideAngular(()=>{n.addEventListener("focus",this._rootNodeFocusAndBlurListener,qi),n.addEventListener("blur",this._rootNodeFocusAndBlurListener,qi)}),this._rootNodeFocusListenerCount.set(n,o+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(Ke(this._stopInputModalityDetector)).subscribe(s=>{this._setOrigin(s,!0)}))}_removeGlobalListeners(e){let n=e.rootNode;if(this._rootNodeFocusListenerCount.has(n)){let o=this._rootNodeFocusListenerCount.get(n);o>1?this._rootNodeFocusListenerCount.set(n,o-1):(n.removeEventListener("focus",this._rootNodeFocusAndBlurListener,qi),n.removeEventListener("blur",this._rootNodeFocusAndBlurListener,qi),this._rootNodeFocusListenerCount.delete(n))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,n,o){this._setClasses(e,n),this._emitOrigin(o,n),this._lastFocusOrigin=n}_getClosestElementsInfo(e){let n=[];return this._elementInfo.forEach((o,s)=>{(s===e||o.checkChildren&&s.contains(e))&&n.push([s,o])}),n}_isLastInteractionFromInputLabel(e){let{_mostRecentTarget:n,mostRecentModality:o}=this._inputModalityDetector;if(o!=="mouse"||!n||n===e||e.nodeName!=="INPUT"&&e.nodeName!=="TEXTAREA"||e.disabled)return!1;let s=e.labels;if(s){for(let c=0;c<s.length;c++)if(s[c].contains(n))return!0}return!1}};t.\u0275fac=function(n){return new(n||t)(ye(Ue),ye(st),ye(Nc),ye(ze,8),ye(Bc,8))},t.\u0275prov=Pe({token:t,factory:t.\u0275fac,providedIn:"root"});let r=t;return r})(),zc=(()=>{let t=class t{constructor(e,n){this._elementRef=e,this._focusMonitor=n,this._focusOrigin=null,this.cdkFocusChange=new De}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){let e=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(e,e.nodeType===1&&e.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(n=>{this._focusOrigin=n,this.cdkFocusChange.emit(n)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}};t.\u0275fac=function(n){return new(n||t)(ie(Me),ie(jc))},t.\u0275dir=Ee({type:t,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"],standalone:!0});let r=t;return r})(),At=function(r){return r[r.NONE=0]="NONE",r[r.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",r[r.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",r}(At||{}),$r="cdk-high-contrast-black-on-white",Zr="cdk-high-contrast-white-on-black",Dn="cdk-high-contrast-active",Uc=(()=>{let t=class t{constructor(e,n){this._platform=e,this._document=n,this._breakpointSubscription=ne(Fc).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return At.NONE;let e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);let n=this._document.defaultView||window,o=n&&n.getComputedStyle?n.getComputedStyle(e):null,s=(o&&o.backgroundColor||"").replace(/ /g,"");switch(e.remove(),s){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return At.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return At.BLACK_ON_WHITE}return At.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let e=this._document.body.classList;e.remove(Dn,$r,Zr),this._hasCheckedHighContrastMode=!0;let n=this.getHighContrastMode();n===At.BLACK_ON_WHITE?e.add(Dn,$r):n===At.WHITE_ON_BLACK&&e.add(Dn,Zr)}}};t.\u0275fac=function(n){return new(n||t)(ye(st),ye(ze))},t.\u0275prov=Pe({token:t,factory:t.\u0275fac,providedIn:"root"});let r=t;return r})();var Hc=new pe("cdk-dir-doc",{providedIn:"root",factory:Wc});function Wc(){return ne(ze)}var Gc=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function $c(r){let t=r?.toLowerCase()||"";return t==="auto"&&typeof navigator<"u"&&navigator?.language?Gc.test(navigator.language)?"rtl":"ltr":t==="rtl"?"rtl":"ltr"}var nn=(()=>{let t=class t{constructor(e){if(this.value="ltr",this.change=new De,e){let n=e.body?e.body.dir:null,o=e.documentElement?e.documentElement.dir:null;this.value=$c(n||o||"ltr")}}ngOnDestroy(){this.change.complete()}};t.\u0275fac=function(n){return new(n||t)(ye(Hc,8))},t.\u0275prov=Pe({token:t,factory:t.\u0275fac,providedIn:"root"});let r=t;return r})();var qr=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=xt({type:t}),t.\u0275inj=Ct({});let r=t;return r})(),cu=new Mi("18.1.0-next.0"),lu=new Mi("18.1.0-next.0");function Zc(){return!0}var qc=new pe("mat-sanity-checks",{providedIn:"root",factory:Zc}),Qr=(()=>{let t=class t{constructor(e,n,o){this._sanityChecks=n,this._document=o,this._hasDoneGlobalChecks=!1,e._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(e){return rc()?!1:typeof this._sanityChecks=="boolean"?this._sanityChecks:!!this._sanityChecks[e]}};t.\u0275fac=function(n){return new(n||t)(ye(Uc),ye(qc,8),ye(ze))},t.\u0275mod=xt({type:t}),t.\u0275inj=Ct({imports:[qr,qr]});let r=t;return r})();var du=new pe("MAT_DATE_LOCALE",{providedIn:"root",factory:Qc});function Qc(){return ne(mr)}var uu=new pe("mat-date-formats");var Je=function(r){return r[r.FADING_IN=0]="FADING_IN",r[r.VISIBLE=1]="VISIBLE",r[r.FADING_OUT=2]="FADING_OUT",r[r.HIDDEN=3]="HIDDEN",r}(Je||{}),Pn=class{constructor(t,i,e,n=!1){this._renderer=t,this.element=i,this.config=e,this._animationForciblyDisabledThroughCss=n,this.state=Je.HIDDEN}fadeOut(){this._renderer.fadeOutRipple(this)}},Kr=yi({passive:!0,capture:!0}),Vn=class{constructor(){this._events=new Map,this._delegateEventHandler=t=>{let i=Ht(t);i&&this._events.get(t.type)?.forEach((e,n)=>{(n===i||n.contains(i))&&e.forEach(o=>o.handleEvent(t))})}}addHandler(t,i,e,n){let o=this._events.get(i);if(o){let s=o.get(e);s?s.add(n):o.set(e,new Set([n]))}else this._events.set(i,new Map([[e,new Set([n])]])),t.runOutsideAngular(()=>{document.addEventListener(i,this._delegateEventHandler,Kr)})}removeHandler(t,i,e){let n=this._events.get(t);if(!n)return;let o=n.get(i);o&&(o.delete(e),o.size===0&&n.delete(i),n.size===0&&(this._events.delete(t),document.removeEventListener(t,this._delegateEventHandler,Kr)))}},Yr={enterDuration:225,exitDuration:150},Kc=800,Xr=yi({passive:!0,capture:!0}),Jr=["mousedown","touchstart"],eo=["mouseup","mouseleave","touchend","touchcancel"],_i=class _i{constructor(t,i,e,n){this._target=t,this._ngZone=i,this._platform=n,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,n.isBrowser&&(this._containerElement=Mt(e))}fadeInRipple(t,i,e={}){let n=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=ge(ge({},Yr),e.animation);e.centered&&(t=n.left+n.width/2,i=n.top+n.height/2);let s=e.radius||Yc(t,i,n),c=t-n.left,d=i-n.top,b=o.enterDuration,y=document.createElement("div");y.classList.add("mat-ripple-element"),y.style.left=`${c-s}px`,y.style.top=`${d-s}px`,y.style.height=`${s*2}px`,y.style.width=`${s*2}px`,e.color!=null&&(y.style.backgroundColor=e.color),y.style.transitionDuration=`${b}ms`,this._containerElement.appendChild(y);let w=window.getComputedStyle(y),x=w.transitionProperty,h=w.transitionDuration,_=x==="none"||h==="0s"||h==="0s, 0s"||n.width===0&&n.height===0,u=new Pn(this,y,e,_);y.style.transform="scale3d(1, 1, 1)",u.state=Je.FADING_IN,e.persistent||(this._mostRecentTransientRipple=u);let g=null;return!_&&(b||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let m=()=>this._finishRippleTransition(u),v=()=>this._destroyRipple(u);y.addEventListener("transitionend",m),y.addEventListener("transitioncancel",v),g={onTransitionEnd:m,onTransitionCancel:v}}),this._activeRipples.set(u,g),(_||!b)&&this._finishRippleTransition(u),u}fadeOutRipple(t){if(t.state===Je.FADING_OUT||t.state===Je.HIDDEN)return;let i=t.element,e=ge(ge({},Yr),t.config.animation);i.style.transitionDuration=`${e.exitDuration}ms`,i.style.opacity="0",t.state=Je.FADING_OUT,(t._animationForciblyDisabledThroughCss||!e.exitDuration)&&this._finishRippleTransition(t)}fadeOutAll(){this._getActiveRipples().forEach(t=>t.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(t=>{t.config.persistent||t.fadeOut()})}setupTriggerEvents(t){let i=Mt(t);!this._platform.isBrowser||!i||i===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=i,Jr.forEach(e=>{_i._eventManager.addHandler(this._ngZone,e,i,this)}))}handleEvent(t){t.type==="mousedown"?this._onMousedown(t):t.type==="touchstart"?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{eo.forEach(i=>{this._triggerElement.addEventListener(i,this,Xr)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(t){t.state===Je.FADING_IN?this._startFadeOutTransition(t):t.state===Je.FADING_OUT&&this._destroyRipple(t)}_startFadeOutTransition(t){let i=t===this._mostRecentTransientRipple,{persistent:e}=t.config;t.state=Je.VISIBLE,!e&&(!i||!this._isPointerDown)&&t.fadeOut()}_destroyRipple(t){let i=this._activeRipples.get(t)??null;this._activeRipples.delete(t),this._activeRipples.size||(this._containerRect=null),t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),t.state=Je.HIDDEN,i!==null&&(t.element.removeEventListener("transitionend",i.onTransitionEnd),t.element.removeEventListener("transitioncancel",i.onTransitionCancel)),t.element.remove()}_onMousedown(t){let i=xo(t),e=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+Kc;!this._target.rippleDisabled&&!i&&!e&&(this._isPointerDown=!0,this.fadeInRipple(t.clientX,t.clientY,this._target.rippleConfig))}_onTouchStart(t){if(!this._target.rippleDisabled&&!ko(t)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;let i=t.changedTouches;if(i)for(let e=0;e<i.length;e++)this.fadeInRipple(i[e].clientX,i[e].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(t=>{let i=t.state===Je.VISIBLE||t.config.terminateOnPointerUp&&t.state===Je.FADING_IN;!t.config.persistent&&i&&t.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let t=this._triggerElement;t&&(Jr.forEach(i=>_i._eventManager.removeHandler(i,t,this)),this._pointerUpEventsRegistered&&(eo.forEach(i=>t.removeEventListener(i,this,Xr)),this._pointerUpEventsRegistered=!1))}};_i._eventManager=new Vn;var Nn=_i;function Yc(r,t,i){let e=Math.max(Math.abs(r-i.left),Math.abs(r-i.right)),n=Math.max(Math.abs(t-i.top),Math.abs(t-i.bottom));return Math.sqrt(e*e+n*n)}var Xc=new pe("mat-ripple-global-options"),Io=(()=>{let t=class t{get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}constructor(e,n,o,s,c){this._elementRef=e,this._animationMode=c,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=s||{},this._rippleRenderer=new Nn(this,n,e,o)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:ge(ge(ge({},this._globalOptions.animation),this._animationMode==="NoopAnimations"?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,n=0,o){return typeof e=="number"?this._rippleRenderer.fadeInRipple(e,n,ge(ge({},this.rippleConfig),o)):this._rippleRenderer.fadeInRipple(0,0,ge(ge({},this.rippleConfig),e))}};t.\u0275fac=function(n){return new(n||t)(ie(Me),ie(Ue),ie(st),ie(Xc,8),ie(Yt,8))},t.\u0275dir=Ee({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(n,o){n&2&&Ie("mat-ripple-unbounded",o.unbounded)},inputs:{color:[0,"matRippleColor","color"],unbounded:[0,"matRippleUnbounded","unbounded"],centered:[0,"matRippleCentered","centered"],radius:[0,"matRippleRadius","radius"],animation:[0,"matRippleAnimation","animation"],disabled:[0,"matRippleDisabled","disabled"],trigger:[0,"matRippleTrigger","trigger"]},exportAs:["matRipple"],standalone:!0});let r=t;return r})();var hu=new pe("MAT_OPTION_PARENT_COMPONENT");var fu=new pe("MatOptgroup");var bi=class{attach(t){return this._attachedHost=t,t.attach(this)}detach(){let t=this._attachedHost;t!=null&&(this._attachedHost=null,t.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(t){this._attachedHost=t}},Ln=class extends bi{constructor(t,i,e,n,o){super(),this.component=t,this.viewContainerRef=i,this.injector=e,this.componentFactoryResolver=n,this.projectableNodes=o}},vi=class extends bi{constructor(t,i,e,n){super(),this.templateRef=t,this.viewContainerRef=i,this.context=e,this.injector=n}get origin(){return this.templateRef.elementRef}attach(t,i=this.context){return this.context=i,super.attach(t)}detach(){return this.context=void 0,super.detach()}},Bn=class extends bi{constructor(t){super(),this.element=t instanceof Me?t.nativeElement:t}},jn=class{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(t){if(t instanceof Ln)return this._attachedPortal=t,this.attachComponentPortal(t);if(t instanceof vi)return this._attachedPortal=t,this.attachTemplatePortal(t);if(this.attachDomPortal&&t instanceof Bn)return this._attachedPortal=t,this.attachDomPortal(t)}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(t){this._disposeFn=t}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}};var Jc=(()=>{let t=class t extends vi{constructor(e,n){super(e,n)}};t.\u0275fac=function(n){return new(n||t)(ie(Et),ie(mt))},t.\u0275dir=Ee({type:t,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],standalone:!0,features:[Ze]});let r=t;return r})();var $n=(()=>{let t=class t extends jn{constructor(e,n,o){super(),this._componentFactoryResolver=e,this._viewContainerRef=n,this._isInitialized=!1,this.attached=new De,this.attachDomPortal=s=>{this._document;let c=s.element;c.parentNode;let d=this._document.createComment("dom-portal");s.setAttachedHost(this),c.parentNode.insertBefore(d,c),this._getRootNode().appendChild(c),this._attachedPortal=s,super.setDisposeFn(()=>{d.parentNode&&d.parentNode.replaceChild(c,d)})},this._document=o}get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(e){e.setAttachedHost(this);let n=e.viewContainerRef!=null?e.viewContainerRef:this._viewContainerRef,s=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),c=n.createComponent(s,n.length,e.injector||n.injector,e.projectableNodes||void 0);return n!==this._viewContainerRef&&this._getRootNode().appendChild(c.hostView.rootNodes[0]),super.setDisposeFn(()=>c.destroy()),this._attachedPortal=e,this._attachedRef=c,this.attached.emit(c),c}attachTemplatePortal(e){e.setAttachedHost(this);let n=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=n,this.attached.emit(n),n}_getRootNode(){let e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}};t.\u0275fac=function(n){return new(n||t)(ie(dn),ie(mt),ie(ze))},t.\u0275dir=Ee({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],standalone:!0,features:[Ze]});let r=t;return r})();var mu=new pe("_ViewRepeater");var pu=new pe("VIRTUAL_SCROLL_STRATEGY");var el=20,tl=(()=>{let t=class t{constructor(e,n,o){this._ngZone=e,this._platform=n,this._scrolled=new Fe,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=o}register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){let n=this.scrollContainers.get(e);n&&(n.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=el){return this._platform.isBrowser?new dt(n=>{this._globalSubscription||this._addGlobalListener();let o=e>0?this._scrolled.pipe(Zt(e)).subscribe(n):this._scrolled.subscribe(n);return this._scrolledCount++,()=>{o.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):$t()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,n)=>this.deregister(n)),this._scrolled.complete()}ancestorScrolled(e,n){let o=this.getAncestorScrollContainers(e);return this.scrolled(n).pipe(ct(s=>!s||o.indexOf(s)>-1))}getAncestorScrollContainers(e){let n=[];return this.scrollContainers.forEach((o,s)=>{this._scrollableContainsElement(s,e)&&n.push(s)}),n}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,n){let o=Mt(n),s=e.getElementRef().nativeElement;do if(o==s)return!0;while(o=o.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{let e=this._getWindow();return nt(e.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}};t.\u0275fac=function(n){return new(n||t)(ye(Ue),ye(st),ye(ze,8))},t.\u0275prov=Pe({token:t,factory:t.\u0275fac,providedIn:"root"});let r=t;return r})(),il=(()=>{let t=class t{constructor(e,n,o,s){this.elementRef=e,this.scrollDispatcher=n,this.ngZone=o,this.dir=s,this._destroyed=new Fe,this._elementScrolled=new dt(c=>this.ngZone.runOutsideAngular(()=>nt(this.elementRef.nativeElement,"scroll").pipe(Ke(this._destroyed)).subscribe(c)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(e){let n=this.elementRef.nativeElement,o=this.dir&&this.dir.value=="rtl";e.left==null&&(e.left=o?e.end:e.start),e.right==null&&(e.right=o?e.start:e.end),e.bottom!=null&&(e.top=n.scrollHeight-n.clientHeight-e.bottom),o&&pi()!=ot.NORMAL?(e.left!=null&&(e.right=n.scrollWidth-n.clientWidth-e.left),pi()==ot.INVERTED?e.left=e.right:pi()==ot.NEGATED&&(e.left=e.right?-e.right:e.right)):e.right!=null&&(e.left=n.scrollWidth-n.clientWidth-e.right),this._applyScrollToOptions(e)}_applyScrollToOptions(e){let n=this.elementRef.nativeElement;tc()?n.scrollTo(e):(e.top!=null&&(n.scrollTop=e.top),e.left!=null&&(n.scrollLeft=e.left))}measureScrollOffset(e){let n="left",o="right",s=this.elementRef.nativeElement;if(e=="top")return s.scrollTop;if(e=="bottom")return s.scrollHeight-s.clientHeight-s.scrollTop;let c=this.dir&&this.dir.value=="rtl";return e=="start"?e=c?o:n:e=="end"&&(e=c?n:o),c&&pi()==ot.INVERTED?e==n?s.scrollWidth-s.clientWidth-s.scrollLeft:s.scrollLeft:c&&pi()==ot.NEGATED?e==n?s.scrollLeft+s.scrollWidth-s.clientWidth:-s.scrollLeft:e==n?s.scrollLeft:s.scrollWidth-s.clientWidth-s.scrollLeft}};t.\u0275fac=function(n){return new(n||t)(ie(Me),ie(tl),ie(Ue),ie(nn,8))},t.\u0275dir=Ee({type:t,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0});let r=t;return r})(),nl=20,Do=(()=>{let t=class t{constructor(e,n,o){this._platform=e,this._change=new Fe,this._changeListener=s=>{this._change.next(s)},this._document=o,n.runOutsideAngular(()=>{if(e.isBrowser){let s=this._getWindow();s.addEventListener("resize",this._changeListener),s.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){let e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){let e=this.getViewportScrollPosition(),{width:n,height:o}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+o,right:e.left+n,height:o,width:n}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let e=this._document,n=this._getWindow(),o=e.documentElement,s=o.getBoundingClientRect(),c=-s.top||e.body.scrollTop||n.scrollY||o.scrollTop||0,d=-s.left||e.body.scrollLeft||n.scrollX||o.scrollLeft||0;return{top:c,left:d}}change(e=nl){return e>0?this._change.pipe(Zt(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}};t.\u0275fac=function(n){return new(n||t)(ye(st),ye(Ue),ye(ze,8))},t.\u0275prov=Pe({token:t,factory:t.\u0275fac,providedIn:"root"});let r=t;return r})(),gu=new pe("VIRTUAL_SCROLLABLE");var zn=class{constructor(t){this._box=t,this._destroyed=new Fe,this._resizeSubject=new Fe,this._elementObservables=new Map,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(i=>this._resizeSubject.next(i)))}observe(t){return this._elementObservables.has(t)||this._elementObservables.set(t,new dt(i=>{let e=this._resizeSubject.subscribe(i);return this._resizeObserver?.observe(t,{box:this._box}),()=>{this._resizeObserver?.unobserve(t),e.unsubscribe(),this._elementObservables.delete(t)}}).pipe(ct(i=>i.some(e=>e.target===t)),nr({bufferSize:1,refCount:!0}),Ke(this._destroyed))),this._elementObservables.get(t)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}},rl=(()=>{let t=class t{constructor(){this._observers=new Map,this._ngZone=ne(Ue),typeof ResizeObserver<"u"}ngOnDestroy(){for(let[,e]of this._observers)e.destroy();this._observers.clear(),typeof ResizeObserver<"u"}observe(e,n){let o=n?.box||"content-box";return this._observers.has(o)||this._observers.set(o,new zn(o)),this._observers.get(o).observe(e)}};t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=Pe({token:t,factory:t.\u0275fac,providedIn:"root"});let r=t;return r})(),ol=new pe("MatTabContent"),sl=(()=>{let t=class t{constructor(e){this.template=e}};t.\u0275fac=function(n){return new(n||t)(ie(Et))},t.\u0275dir=Ee({type:t,selectors:[["","matTabContent",""]],standalone:!0,features:[it([{provide:ol,useExisting:t}])]});let r=t;return r})(),al=new pe("MatTabLabel"),To=new pe("MAT_TAB"),cl=(()=>{let t=class t extends Jc{constructor(e,n,o){super(e,n),this._closestTab=o}};t.\u0275fac=function(n){return new(n||t)(ie(Et),ie(mt),ie(To,8))},t.\u0275dir=Ee({type:t,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],standalone:!0,features:[it([{provide:al,useExisting:t}]),Ze]});let r=t;return r})(),So=new pe("MAT_TAB_GROUP"),Ao=(()=>{let t=class t{get templateLabel(){return this._templateLabel}set templateLabel(e){this._setTemplateLabelInput(e)}get content(){return this._contentPortal}constructor(e,n){this._viewContainerRef=e,this._closestTabGroup=n,this.disabled=!1,this._explicitContent=void 0,this.textLabel="",this._contentPortal=null,this._stateChanges=new Fe,this.position=null,this.origin=null,this.isActive=!1}ngOnChanges(e){(e.hasOwnProperty("textLabel")||e.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new vi(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(e){e&&e._closestTab===this&&(this._templateLabel=e)}};t.\u0275fac=function(n){return new(n||t)(ie(mt),ie(So,8))},t.\u0275cmp=Be({type:t,selectors:[["mat-tab"]],contentQueries:function(n,o,s){if(n&1&&(ri(s,cl,5),ri(s,sl,7,Et)),n&2){let c;Ve(c=Ne())&&(o.templateLabel=c.first),Ve(c=Ne())&&(o._explicitContent=c.first)}},viewQuery:function(n,o){if(n&1&&Qe(Et,7),n&2){let s;Ve(s=Ne())&&(o._implicitContent=s.first)}},hostAttrs:["hidden",""],inputs:{disabled:[2,"disabled","disabled",We],textLabel:[0,"label","textLabel"],ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},exportAs:["matTab"],standalone:!0,features:[it([{provide:To,useExisting:t}]),pt,Qt,je],ngContentSelectors:tn,decls:1,vars:0,template:function(n,o){n&1&&(ii(),be(0,Cs,1,0,"ng-template"))},encapsulation:2});let r=t;return r})(),Tn="mdc-tab-indicator--active",to="mdc-tab-indicator--no-transition",Un=class{constructor(t){this._items=t}hide(){this._items.forEach(t=>t.deactivateInkBar())}alignToElement(t){let i=this._items.find(n=>n.elementRef.nativeElement===t),e=this._currentItem;if(i!==e&&(e?.deactivateInkBar(),i)){let n=e?.elementRef.nativeElement.getBoundingClientRect?.();i.activateInkBar(n),this._currentItem=i}}},ll=(()=>{let t=class t{constructor(){this._elementRef=ne(Me),this._fitToContent=!1}get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(e){this._fitToContent!==e&&(this._fitToContent=e,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(e){let n=this._elementRef.nativeElement;if(!e||!n.getBoundingClientRect||!this._inkBarContentElement){n.classList.add(Tn);return}let o=n.getBoundingClientRect(),s=e.width/o.width,c=e.left-o.left;n.classList.add(to),this._inkBarContentElement.style.setProperty("transform",`translateX(${c}px) scaleX(${s})`),n.getBoundingClientRect(),n.classList.remove(to),n.classList.add(Tn),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this._elementRef.nativeElement.classList.remove(Tn)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){let e=this._elementRef.nativeElement.ownerDocument||document,n=this._inkBarElement=e.createElement("span"),o=this._inkBarContentElement=e.createElement("span");n.className="mdc-tab-indicator",o.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline",n.appendChild(this._inkBarContentElement),this._appendInkBarElement()}_appendInkBarElement(){this._inkBarElement;let e=this._fitToContent?this._elementRef.nativeElement.querySelector(".mdc-tab__content"):this._elementRef.nativeElement;e.appendChild(this._inkBarElement)}};t.\u0275fac=function(n){return new(n||t)},t.\u0275dir=Ee({type:t,inputs:{fitInkBarToContent:[2,"fitInkBarToContent","fitInkBarToContent",We]},features:[pt]});let r=t;return r})();function dl(){return t=>({left:t?(t.offsetLeft||0)+"px":"0",width:t?(t.offsetWidth||0)+"px":"0"})}var _u=new pe("MatInkBarPositioner",{providedIn:"root",factory:dl}),Mo=(()=>{let t=class t extends ll{constructor(e){super(),this.elementRef=e,this.disabled=!1}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}};t.\u0275fac=function(n){return new(n||t)(ie(Me))},t.\u0275dir=Ee({type:t,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(n,o){n&2&&(Ye("aria-disabled",!!o.disabled),Ie("mat-mdc-tab-disabled",o.disabled))},inputs:{disabled:[2,"disabled","disabled",We]},standalone:!0,features:[pt,Ze]});let r=t;return r})(),io=yi({passive:!0}),ul=650,hl=100,fl=(()=>{let t=class t{get selectedIndex(){return this._selectedIndex}set selectedIndex(e){let n=isNaN(e)?0:e;this._selectedIndex!=n&&(this._selectedIndexChanged=!0,this._selectedIndex=n,this._keyManager&&this._keyManager.updateActiveItem(n))}constructor(e,n,o,s,c,d,b){this._elementRef=e,this._changeDetectorRef=n,this._viewportRuler=o,this._dir=s,this._ngZone=c,this._platform=d,this._animationMode=b,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new Fe,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new Fe,this.disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new De,this.indexFocused=new De,this._sharedResizeObserver=ne(rl),this._injector=ne(Kt),c.runOutsideAngular(()=>{nt(e.nativeElement,"mouseleave").pipe(Ke(this._destroyed)).subscribe(()=>{this._stopInterval()})})}ngAfterViewInit(){nt(this._previousPaginator.nativeElement,"touchstart",io).pipe(Ke(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),nt(this._nextPaginator.nativeElement,"touchstart",io).pipe(Ke(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){let e=this._dir?this._dir.change:$t("ltr"),n=this._sharedResizeObserver.observe(this._elementRef.nativeElement).pipe(ut(32),Ke(this._destroyed)),o=this._viewportRuler.change(150).pipe(Ke(this._destroyed)),s=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new Fn(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(this._selectedIndex),Rt(s,{injector:this._injector}),xi(e,o,n,this._items.changes,this._itemsResized()).pipe(Ke(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),s()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(c=>{this.indexFocused.emit(c),this._setTabFocus(c)})}_itemsResized(){return typeof ResizeObserver!="function"?Yn:this._items.changes.pipe(wt(this._items),Ei(e=>new dt(n=>this._ngZone.runOutsideAngular(()=>{let o=new ResizeObserver(s=>n.next(s));return e.forEach(s=>o.observe(s.elementRef.nativeElement)),()=>{o.disconnect()}}))),ki(1),ct(e=>e.some(n=>n.contentRect.width>0&&n.contentRect.height>0)))}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._keyManager?.destroy(),this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(e){if(!Co(e))switch(e.keyCode){case sc:case dc:if(this.focusIndex!==this.selectedIndex){let n=this._items.get(this.focusIndex);n&&!n.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(e))}break;default:this._keyManager.onKeydown(e)}}_onContentChanges(){let e=this._elementRef.nativeElement.textContent;e!==this._currentTextContent&&(this._currentTextContent=e||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(e){!this._isValidIndex(e)||this.focusIndex===e||!this._keyManager||this._keyManager.setActiveItem(e)}_isValidIndex(e){return this._items?!!this._items.toArray()[e]:!0}_setTabFocus(e){if(this._showPaginationControls&&this._scrollToLabel(e),this._items&&this._items.length){this._items.toArray()[e].focus();let n=this._tabListContainer.nativeElement;this._getLayoutDirection()=="ltr"?n.scrollLeft=0:n.scrollLeft=n.scrollWidth-n.offsetWidth}}_getLayoutDirection(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;let e=this.scrollDistance,n=this._getLayoutDirection()==="ltr"?-e:e;this._tabList.nativeElement.style.transform=`translateX(${Math.round(n)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(e){this._scrollTo(e)}_scrollHeader(e){let n=this._tabListContainer.nativeElement.offsetWidth,o=(e=="before"?-1:1)*n/3;return this._scrollTo(this._scrollDistance+o)}_handlePaginatorClick(e){this._stopInterval(),this._scrollHeader(e)}_scrollToLabel(e){if(this.disablePagination)return;let n=this._items?this._items.toArray()[e]:null;if(!n)return;let o=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:s,offsetWidth:c}=n.elementRef.nativeElement,d,b;this._getLayoutDirection()=="ltr"?(d=s,b=d+c):(b=this._tabListInner.nativeElement.offsetWidth-s,d=b-c);let y=this.scrollDistance,w=this.scrollDistance+o;d<y?this.scrollDistance-=y-d:b>w&&(this.scrollDistance+=Math.min(b-w,d-y))}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{let e=this._tabListInner.nativeElement.scrollWidth,n=this._elementRef.nativeElement.offsetWidth,o=e-n>=5;o||(this.scrollDistance=0),o!==this._showPaginationControls&&(this._showPaginationControls=o,this._changeDetectorRef.markForCheck())}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=this.scrollDistance==0,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){let e=this._tabListInner.nativeElement.scrollWidth,n=this._tabListContainer.nativeElement.offsetWidth;return e-n||0}_alignInkBarToSelectedTab(){let e=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,n=e?e.elementRef.nativeElement:null;n?this._inkBar.alignToElement(n):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(e,n){n&&n.button!=null&&n.button!==0||(this._stopInterval(),tr(ul,hl).pipe(Ke(xi(this._stopScrolling,this._destroyed))).subscribe(()=>{let{maxScrollDistance:o,distance:s}=this._scrollHeader(e);(s===0||s>=o)&&this._stopInterval()}))}_scrollTo(e){if(this.disablePagination)return{maxScrollDistance:0,distance:0};let n=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(n,e)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:n,distance:this._scrollDistance}}};t.\u0275fac=function(n){return new(n||t)(ie(Me),ie(rt),ie(Do),ie(nn,8),ie(Ue),ie(st),ie(Yt,8))},t.\u0275dir=Ee({type:t,inputs:{disablePagination:[2,"disablePagination","disablePagination",We],selectedIndex:[2,"selectedIndex","selectedIndex",Oi]},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[pt]});let r=t;return r})(),ml=(()=>{let t=class t extends fl{constructor(e,n,o,s,c,d,b){super(e,n,o,s,c,d,b),this.disableRipple=!1}ngAfterContentInit(){this._inkBar=new Un(this._items),super.ngAfterContentInit()}_itemSelected(e){e.preventDefault()}};t.\u0275fac=function(n){return new(n||t)(ie(Me),ie(rt),ie(Do),ie(nn,8),ie(Ue),ie(st),ie(Yt,8))},t.\u0275cmp=Be({type:t,selectors:[["mat-tab-header"]],contentQueries:function(n,o,s){if(n&1&&ri(s,Mo,4),n&2){let c;Ve(c=Ne())&&(o._items=c)}},viewQuery:function(n,o){if(n&1&&(Qe(xs,7),Qe(ks,7),Qe(Es,7),Qe(Is,5),Qe(Ds,5)),n&2){let s;Ve(s=Ne())&&(o._tabListContainer=s.first),Ve(s=Ne())&&(o._tabList=s.first),Ve(s=Ne())&&(o._tabListInner=s.first),Ve(s=Ne())&&(o._nextPaginator=s.first),Ve(s=Ne())&&(o._previousPaginator=s.first)}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function(n,o){n&2&&Ie("mat-mdc-tab-header-pagination-controls-enabled",o._showPaginationControls)("mat-mdc-tab-header-rtl",o._getLayoutDirection()=="rtl")},inputs:{disableRipple:[2,"disableRipple","disableRipple",We]},standalone:!0,features:[pt,Ze,je],ngContentSelectors:tn,decls:13,vars:10,consts:[["previousPaginator",""],["tabListContainer",""],["tabList",""],["tabListInner",""],["nextPaginator",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"click","mousedown","touchend","matRippleDisabled","disabled"],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-label-container",3,"keydown"],["role","tablist",1,"mat-mdc-tab-list",3,"cdkObserveContent"],[1,"mat-mdc-tab-labels"],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"mousedown","click","touchend","matRippleDisabled","disabled"]],template:function(n,o){if(n&1){let s=qe();ii(),X(0,"button",5,0),Te("click",function(){return xe(s),ke(o._handlePaginatorClick("before"))})("mousedown",function(d){return xe(s),ke(o._handlePaginatorPress("before",d))})("touchend",function(){return xe(s),ke(o._stopInterval())}),He(2,"div",6),ee(),X(3,"div",7,1),Te("keydown",function(d){return xe(s),ke(o._handleKeydown(d))}),X(5,"div",8,2),Te("cdkObserveContent",function(){return xe(s),ke(o._onContentChanges())}),X(7,"div",9,3),ni(9),ee()()(),X(10,"button",10,4),Te("mousedown",function(d){return xe(s),ke(o._handlePaginatorPress("after",d))})("click",function(){return xe(s),ke(o._handlePaginatorClick("after"))})("touchend",function(){return xe(s),ke(o._stopInterval())}),He(12,"div",6),ee()}n&2&&(Ie("mat-mdc-tab-header-pagination-disabled",o._disableScrollBefore),we("matRippleDisabled",o._disableScrollBefore||o.disableRipple)("disabled",o._disableScrollBefore||null),oe(3),Ie("_mat-animation-noopable",o._animationMode==="NoopAnimations"),oe(7),Ie("mat-mdc-tab-header-pagination-disabled",o._disableScrollAfter),we("matRippleDisabled",o._disableScrollAfter||o.disableRipple)("disabled",o._disableScrollAfter||null))},dependencies:[Io,Ac],styles:[".mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mdc-tab-indicator .mdc-tab-indicator__content{transition-duration:var(--mat-tab-animation-duration, 250ms)}.mat-mdc-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px;border-color:var(--mat-tab-header-pagination-icon-color)}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}._mat-animation-noopable span.mdc-tab-indicator__content,._mat-animation-noopable span.mdc-tab__text-label{transition:none}.mat-mdc-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1;border-bottom-style:solid;border-bottom-width:var(--mat-tab-header-divider-height);border-bottom-color:var(--mat-tab-header-divider-color)}.mat-mdc-tab-group-inverted-header .mat-mdc-tab-label-container{border-bottom:none;border-top-style:solid;border-top-width:var(--mat-tab-header-divider-height);border-top-color:var(--mat-tab-header-divider-color)}.mat-mdc-tab-labels{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:flex-end}.mat-mdc-tab::before{margin:5px}.cdk-high-contrast-active .mat-mdc-tab[aria-disabled=true]{color:GrayText}"],encapsulation:2});let r=t;return r})(),pl=new pe("MAT_TABS_CONFIG"),gl={translateTab:wr("translateTab",[Fi("center, void, left-origin-center, right-origin-center",Vt({transform:"none"})),Fi("left",Vt({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),Fi("right",Vt({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),Pi("* => left, * => right, left => center, right => center",Ri("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),Pi("void => left-origin-center",[Vt({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),Ri("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),Pi("void => right-origin-center",[Vt({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),Ri("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])},_l=(()=>{let t=class t extends $n{constructor(e,n,o,s){super(e,n,s),this._host=o,this._centeringSub=vt.EMPTY,this._leavingSub=vt.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe(wt(this._host._isCenterPosition(this._host._position))).subscribe(e=>{e&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this._host.preserveContent||this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}};t.\u0275fac=function(n){return new(n||t)(ie(dn),ie(mt),ie(ht(()=>Oo)),ie(ze))},t.\u0275dir=Ee({type:t,selectors:[["","matTabBodyHost",""]],standalone:!0,features:[Ze]});let r=t;return r})(),Oo=(()=>{let t=class t{set position(e){this._positionIndex=e,this._computePositionAnimationState()}constructor(e,n,o){this._elementRef=e,this._dir=n,this._dirChangeSubscription=vt.EMPTY,this._translateTabComplete=new Fe,this._onCentering=new De,this._beforeCentering=new De,this._afterLeavingCenter=new De,this._onCentered=new De(!0),this.animationDuration="500ms",this.preserveContent=!1,n&&(this._dirChangeSubscription=n.change.subscribe(s=>{this._computePositionAnimationState(s),o.markForCheck()})),this._translateTabComplete.pipe(rn((s,c)=>s.fromState===c.fromState&&s.toState===c.toState)).subscribe(s=>{this._isCenterPosition(s.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(s.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}ngOnInit(){this._position=="center"&&this.origin!=null&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(e){let n=this._isCenterPosition(e.toState);this._beforeCentering.emit(n),n&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}_isCenterPosition(e){return e=="center"||e=="left-origin-center"||e=="right-origin-center"}_computePositionAnimationState(e=this._getLayoutDirection()){this._positionIndex<0?this._position=e=="ltr"?"left":"right":this._positionIndex>0?this._position=e=="ltr"?"right":"left":this._position="center"}_computePositionFromOrigin(e){let n=this._getLayoutDirection();return n=="ltr"&&e<=0||n=="rtl"&&e>0?"left-origin-center":"right-origin-center"}};t.\u0275fac=function(n){return new(n||t)(ie(Me),ie(nn,8),ie(rt))},t.\u0275cmp=Be({type:t,selectors:[["mat-tab-body"]],viewQuery:function(n,o){if(n&1&&Qe($n,5),n&2){let s;Ve(s=Ne())&&(o._portalHost=s.first)}},hostAttrs:[1,"mat-mdc-tab-body"],inputs:{_content:[0,"content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"},standalone:!0,features:[je],decls:3,vars:6,consts:[["content",""],["cdkScrollable","",1,"mat-mdc-tab-body-content"],["matTabBodyHost",""]],template:function(n,o){if(n&1){let s=qe();X(0,"div",1,0),Te("@translateTab.start",function(d){return xe(s),ke(o._onTranslateTabStarted(d))})("@translateTab.done",function(d){return xe(s),ke(o._translateTabComplete.next(d))}),be(2,As,0,0,"ng-template",2),ee()}n&2&&we("@translateTab",ur(3,Ss,o._position,Ti(1,Ts,o.animationDuration)))},dependencies:[_l,il],styles:['.mat-mdc-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-mdc-tab-body.mat-mdc-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-mdc-tab-group.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body.mat-mdc-tab-body-active{overflow-y:hidden}.mat-mdc-tab-body-content{height:100%;overflow:auto}.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body-content{overflow:hidden}.mat-mdc-tab-body-content[style*="visibility: hidden"]{display:none}'],encapsulation:2,data:{animation:[gl.translateTab]}});let r=t;return r})(),bl=0,vl=!0,yl=(()=>{let t=class t{get fitInkBarToContent(){return this._fitInkBarToContent}set fitInkBarToContent(e){this._fitInkBarToContent=e,this._changeDetectorRef.markForCheck()}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){this._indexToSelect=isNaN(e)?null:e}get animationDuration(){return this._animationDuration}set animationDuration(e){let n=e+"";this._animationDuration=/^\d+$/.test(n)?e+"ms":n}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(e){this._contentTabIndex=isNaN(e)?null:e}get backgroundColor(){return this._backgroundColor}set backgroundColor(e){if(!vl)throw new Error("mat-tab-group background color must be set through the Sass theming API");let n=this._elementRef.nativeElement.classList;n.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),e&&n.add("mat-tabs-with-background",`mat-background-${e}`),this._backgroundColor=e}constructor(e,n,o,s){this._elementRef=e,this._changeDetectorRef=n,this._animationMode=s,this._tabs=new Ii,this._indexToSelect=0,this._lastFocusedTabIndex=null,this._tabBodyWrapperHeight=0,this._tabsSubscription=vt.EMPTY,this._tabLabelSubscription=vt.EMPTY,this._fitInkBarToContent=!1,this.stretchTabs=!0,this.dynamicHeight=!1,this._selectedIndex=null,this.headerPosition="above",this.disablePagination=!1,this.disableRipple=!1,this.preserveContent=!1,this.selectedIndexChange=new De,this.focusChange=new De,this.animationDone=new De,this.selectedTabChange=new De(!0),this._isServer=!ne(st).isBrowser,this._groupId=bl++,this.animationDuration=o&&o.animationDuration?o.animationDuration:"500ms",this.disablePagination=o&&o.disablePagination!=null?o.disablePagination:!1,this.dynamicHeight=o&&o.dynamicHeight!=null?o.dynamicHeight:!1,o?.contentTabIndex!=null&&(this.contentTabIndex=o.contentTabIndex),this.preserveContent=!!o?.preserveContent,this.fitInkBarToContent=o&&o.fitInkBarToContent!=null?o.fitInkBarToContent:!1,this.stretchTabs=o&&o.stretchTabs!=null?o.stretchTabs:!0}ngAfterContentChecked(){let e=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=e){let n=this._selectedIndex==null;if(!n){this.selectedTabChange.emit(this._createChangeEvent(e));let o=this._tabBodyWrapper.nativeElement;o.style.minHeight=o.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((o,s)=>o.isActive=s===e),n||(this.selectedIndexChange.emit(e),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((n,o)=>{n.position=o-e,this._selectedIndex!=null&&n.position==0&&!n.origin&&(n.origin=e-this._selectedIndex)}),this._selectedIndex!==e&&(this._selectedIndex=e,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{let e=this._clampTabIndex(this._indexToSelect);if(e===this._selectedIndex){let n=this._tabs.toArray(),o;for(let s=0;s<n.length;s++)if(n[s].isActive){this._indexToSelect=this._selectedIndex=s,this._lastFocusedTabIndex=null,o=n[s];break}!o&&n[e]&&Promise.resolve().then(()=>{n[e].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(e))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe(wt(this._allTabs)).subscribe(e=>{this._tabs.reset(e.filter(n=>n._closestTabGroup===this||!n._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(e){let n=this._tabHeader;n&&(n.focusIndex=e)}_focusChanged(e){this._lastFocusedTabIndex=e,this.focusChange.emit(this._createChangeEvent(e))}_createChangeEvent(e){let n=new Hn;return n.index=e,this._tabs&&this._tabs.length&&(n.tab=this._tabs.toArray()[e]),n}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=xi(...this._tabs.map(e=>e._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(e){return Math.min(this._tabs.length-1,Math.max(e||0,0))}_getTabLabelId(e){return`mat-tab-label-${this._groupId}-${e}`}_getTabContentId(e){return`mat-tab-content-${this._groupId}-${e}`}_setTabBodyWrapperHeight(e){if(!this.dynamicHeight||!this._tabBodyWrapperHeight)return;let n=this._tabBodyWrapper.nativeElement;n.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(n.style.height=e+"px")}_removeTabBodyWrapperHeight(){let e=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=e.clientHeight,e.style.height="",this.animationDone.emit()}_handleClick(e,n,o){n.focusIndex=o,e.disabled||(this.selectedIndex=o)}_getTabIndex(e){let n=this._lastFocusedTabIndex??this.selectedIndex;return e===n?0:-1}_tabFocusChanged(e,n){e&&e!=="mouse"&&e!=="touch"&&(this._tabHeader.focusIndex=n)}};t.\u0275fac=function(n){return new(n||t)(ie(Me),ie(rt),ie(pl,8),ie(Yt,8))},t.\u0275cmp=Be({type:t,selectors:[["mat-tab-group"]],contentQueries:function(n,o,s){if(n&1&&ri(s,Ao,5),n&2){let c;Ve(c=Ne())&&(o._allTabs=c)}},viewQuery:function(n,o){if(n&1&&(Qe(Ms,5),Qe(Os,5)),n&2){let s;Ve(s=Ne())&&(o._tabBodyWrapper=s.first),Ve(s=Ne())&&(o._tabHeader=s.first)}},hostAttrs:[1,"mat-mdc-tab-group"],hostVars:10,hostBindings:function(n,o){n&2&&(Jt("mat-"+(o.color||"primary")),fn("--mat-tab-animation-duration",o.animationDuration),Ie("mat-mdc-tab-group-dynamic-height",o.dynamicHeight)("mat-mdc-tab-group-inverted-header",o.headerPosition==="below")("mat-mdc-tab-group-stretch-tabs",o.stretchTabs))},inputs:{color:"color",fitInkBarToContent:[2,"fitInkBarToContent","fitInkBarToContent",We],stretchTabs:[2,"mat-stretch-tabs","stretchTabs",We],dynamicHeight:[2,"dynamicHeight","dynamicHeight",We],selectedIndex:[2,"selectedIndex","selectedIndex",Oi],headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:[2,"contentTabIndex","contentTabIndex",Oi],disablePagination:[2,"disablePagination","disablePagination",We],disableRipple:[2,"disableRipple","disableRipple",We],preserveContent:[2,"preserveContent","preserveContent",We],backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},exportAs:["matTabGroup"],standalone:!0,features:[it([{provide:So,useExisting:t}]),pt,je],ngContentSelectors:tn,decls:9,vars:6,consts:[["tabHeader",""],["tabBodyWrapper",""],["tabNode",""],[3,"indexFocused","selectFocusedIndex","selectedIndex","disableRipple","disablePagination"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-mdc-focus-indicator",3,"id","mdc-tab--active","class","disabled","fitInkBarToContent"],[1,"mat-mdc-tab-body-wrapper"],["role","tabpanel",3,"id","mat-mdc-tab-body-active","class","content","position","origin","animationDuration","preserveContent"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-mdc-focus-indicator",3,"click","cdkFocusChange","id","disabled","fitInkBarToContent"],[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"],[3,"cdkPortalOutlet"],["role","tabpanel",3,"_onCentered","_onCentering","id","content","position","origin","animationDuration","preserveContent"]],template:function(n,o){if(n&1){let s=qe();ii(),X(0,"mat-tab-header",3,0),Te("indexFocused",function(d){return xe(s),ke(o._focusChanged(d))})("selectFocusedIndex",function(d){return xe(s),ke(o.selectedIndex=d)}),gt(2,Vs,8,17,"div",4,ei),ee(),be(4,Ns,1,0),X(5,"div",5,1),gt(7,Ls,1,13,"mat-tab-body",6,ei),ee()}n&2&&(we("selectedIndex",o.selectedIndex||0)("disableRipple",o.disableRipple)("disablePagination",o.disablePagination),oe(2),_t(o._tabs),oe(2),ve(o._isServer?4:-1),oe(),Ie("_mat-animation-noopable",o._animationMode==="NoopAnimations"),oe(2),_t(o._tabs))},dependencies:[ml,Mo,zc,Io,$n,Oo],styles:['.mdc-tab{min-width:90px;padding-right:24px;padding-left:24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;margin:0;padding-top:0;padding-bottom:0;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;-webkit-appearance:none;z-index:1}.mdc-tab::-moz-focus-inner{padding:0;border:0}.mdc-tab[hidden]{display:none}.mdc-tab--min-width{flex:0 1 auto}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab__icon{transition:150ms color linear;z-index:2}.mdc-tab--stacked .mdc-tab__content{flex-direction:column;align-items:center;justify-content:center}.mdc-tab--stacked .mdc-tab__text-label{padding-top:6px;padding-bottom:4px}.mdc-tab--active .mdc-tab__text-label,.mdc-tab--active .mdc-tab__icon{transition-delay:100ms}.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label{padding-left:8px;padding-right:0}[dir=rtl] .mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label,.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label[dir=rtl]{padding-left:0;padding-right:8px}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator__content--icon{align-self:center;margin:0 auto}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}.mdc-tab-indicator .mdc-tab-indicator__content{transition:250ms transform cubic-bezier(0.4, 0, 0.2, 1)}.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition:150ms opacity linear}.mdc-tab-indicator--active.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition-delay:100ms}.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;font-family:var(--mat-tab-header-label-text-font);font-size:var(--mat-tab-header-label-text-size);letter-spacing:var(--mat-tab-header-label-text-tracking);line-height:var(--mat-tab-header-label-text-line-height);font-weight:var(--mat-tab-header-label-text-weight)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-color:var(--mdc-tab-indicator-active-indicator-color)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-top-width:var(--mdc-tab-indicator-active-indicator-height)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-radius:var(--mdc-tab-indicator-active-indicator-shape)}.mat-mdc-tab:not(.mdc-tab--stacked){height:var(--mdc-secondary-navigation-tab-container-height)}.mat-mdc-tab:not(:disabled).mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):hover.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):focus.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):active.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:disabled.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):hover:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):focus:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):active:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:disabled:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab.mdc-tab{flex-grow:0}.mat-mdc-tab:hover .mdc-tab__text-label{color:var(--mat-tab-header-inactive-hover-label-text-color)}.mat-mdc-tab:focus .mdc-tab__text-label{color:var(--mat-tab-header-inactive-focus-label-text-color)}.mat-mdc-tab.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-header-active-label-text-color)}.mat-mdc-tab.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-header-active-ripple-color)}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-header-active-hover-label-text-color)}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-hover-indicator-color)}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-header-active-focus-label-text-color)}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-focus-indicator-color)}.mat-mdc-tab.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-header-disabled-ripple-color)}.mat-mdc-tab .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-inactive-label-text-color);display:inline-flex;align-items:center}.mat-mdc-tab .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-group.mat-mdc-tab-group-stretch-tabs>.mat-mdc-tab-header .mat-mdc-tab{flex-grow:1}.mat-mdc-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-header-with-background-background-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-focus-indicator::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-focus-indicator::before{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mdc-tab__ripple::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header{flex-direction:column-reverse}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header .mdc-tab-indicator__content--underline{align-self:flex-start}.mat-mdc-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-mdc-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}'],encapsulation:2});let r=t;return r})(),Hn=class{};var wl=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=xt({type:t}),t.\u0275inj=Ct({imports:[Qr,Qr]});let r=t;return r})();var Yi=function(r){return r.SNIPPET="snippet",r.MULTI_FILE="multi",r}(Yi||{}),no="hljs-ln-number",Qi="hljs-ln-line",ro="gap",Ut="hidden",Cl=(()=>{class r{constructor(){this.githubUrl=null,this.stackblitzUrl=null,this.changeDetector=ne(rt),this.clipboard=ne(yo),this.destroyRef=ne(kt),this.document=ne(ze),this.elementRef=ne(Me),this.exampleViewerContentLoader=ne(Va),this.shouldDisplayFullName=It(()=>{let i=this.exampleMetadata()?.files.map(e=>this.getFileExtension(e.name))??[];return new Set(i).size!==i.length}),this.CodeExampleViewMode=Yi,this.expanded=Oe(!1),this.exampleMetadata=Oe(null),this.snippetCode=Oe(void 0),this.tabs=It(()=>this.exampleMetadata()?.files.map(i=>({name:i.title??(this.shouldDisplayFullName()?i.name:this.getFileExtension(i.name)),code:i.content}))),this.view=It(()=>this.exampleMetadata()?.files.length===1?Yi.SNIPPET:Yi.MULTI_FILE),this.expandable=It(()=>this.exampleMetadata()?.files.some(i=>!!i.visibleLinesRange))}set metadata(i){this.exampleMetadata.set(i)}async renderExample(){this.exampleMetadata()?.path&&this.exampleMetadata()?.preview&&(this.exampleComponent=await this.exampleViewerContentLoader.loadPreview(this.exampleMetadata()?.path)),this.snippetCode.set(this.exampleMetadata()?.files[0]),this.changeDetector.detectChanges(),this.setCodeLinesVisibility(),this.elementRef.nativeElement.setAttribute("id",`example-${this.exampleMetadata()?.id.toString()}`),this.matTabGroup?.realignInkBar(),this.listenToMatTabIndexChange()}toggleExampleVisibility(){this.expanded.update(i=>!i),this.setCodeLinesVisibility()}copyLink(){let i=location.origin+location.pathname+location.search+"#example-"+this.exampleMetadata()?.id;this.clipboard.copy(i)}listenToMatTabIndexChange(){this.matTabGroup?.realignInkBar(),this.matTabGroup?.selectedIndexChange.pipe(bt(this.destroyRef)).subscribe(i=>{this.snippetCode.set(this.exampleMetadata()?.files[i]),this.changeDetector.detectChanges(),this.setCodeLinesVisibility()})}getFileExtension(i){let e=i.split(".");return e.length?e[e.length-1].toLocaleUpperCase():""}setCodeLinesVisibility(){this.expanded()?this.handleExpandedStateForCodeBlock():this.handleCollapsedStateForCodeBlock()}handleExpandedStateForCodeBlock(){let i=Array.from(this.elementRef.nativeElement.querySelectorAll(`.${Qi}.${Ut}`)),e=Array.from(this.elementRef.nativeElement.querySelectorAll(`.${no}.${Ut}`)),n=Array.from(this.elementRef.nativeElement.querySelectorAll(`.${Qi}.${ro}`));for(let o of i)o.classList.remove(Ut);for(let o of e)o.classList.remove(Ut);for(let o of n)o.remove()}handleCollapsedStateForCodeBlock(){let i=this.snippetCode()?.visibleLinesRange;if(!i)return;let e=(i?.split(",")??[]).map(c=>Number(c)),n=Array.from(this.elementRef.nativeElement.querySelectorAll(`.${Qi}`)),o=Array.from(this.elementRef.nativeElement.querySelectorAll(`.${no}`)),s=[];for(let[c,d]of n.entries())e.includes(c)?e.includes(c-1)||s.push(d):d.classList.add(Ut);for(let[c,d]of o.entries())e.includes(c)||d.classList.add(Ut);for(let[c,d]of s.entries()){if(c===0)continue;let b=this.document.createElement("div");b.textContent="...",b.classList.add(Qi),b.classList.add(ro),d.parentNode?.insertBefore(b,d)}}}return r.\u0275fac=function(i){return new(i||r)},r.\u0275cmp=Be({type:r,selectors:[["docs-example-viewer"]],viewQuery:function(i,e){if(i&1&&Qe(Bs,5),i&2){let n;Ve(n=Ne())&&(e.matTabGroup=n.first)}},inputs:{metadata:"metadata",githubUrl:"githubUrl",stackblitzUrl:"stackblitzUrl"},standalone:!0,features:[je],decls:17,vars:11,consts:[["openCodeInExternalProvider",""],["codeTabs",""],["role","group",1,"docs-example-viewer"],[1,"docs-example-viewer-actions"],["animationDuration","0ms","mat-stretch-tabs","false"],[1,"docs-example-viewer-icons"],["type","button",1,"docs-example-copy-link",3,"click"],["aria-hidden","true"],["aria-hidden","true","width","24","height","24","viewBox","0 0 24 24","fill","inherit","xmlns","http://www.w3.org/2000/svg"],["d","M11 17H7C5.61667 17 4.4375 16.5125 3.4625 15.5375C2.4875 14.5625 2 13.3833 2 12C2 10.6167 2.4875 9.4375 3.4625 8.4625C4.4375 7.4875 5.61667 7 7 7H11V9H7C6.16667 9 5.45833 9.29167 4.875 9.875C4.29167 10.4583 4 11.1667 4 12C4 12.8333 4.29167 13.5417 4.875 14.125C5.45833 14.7083 6.16667 15 7 15H11V17ZM8 13V11H16V13H8ZM13 17V15H17C17.8333 15 18.5417 14.7083 19.125 14.125C19.7083 13.5417 20 12.8333 20 12C20 11.1667 19.7083 10.4583 19.125 9.875C18.5417 9.29167 17.8333 9 17 9H13V7H17C18.3833 7 19.5625 7.4875 20.5375 8.4625C21.5125 9.4375 22 10.6167 22 12C22 13.3833 21.5125 14.5625 20.5375 15.5375C19.5625 16.5125 18.3833 17 17 17H13Z","fill","inherit"],[4,"ngTemplateOutlet"],["type","button"],[1,"docs-example-viewer-code-wrapper"],["docs-copy-source-code",""],[3,"docContent"],[1,"docs-example-viewer-preview"],[3,"label"],["type","button",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","viewBox","0 0 24 24","fill","none"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none"],["d","M3 21v-8h2v4.6L17.6 5H13V3h8v8h-2V6.4L6.4 19H11v2H3Z"],["fill","var(--gray-400)","d","M3.4 22 2 20.6 8.6 14H4v-2h8v8h-2v-4.6L3.4 22ZM12 12V4h2v4.6L20.6 2 22 3.4 15.4 10H20v2h-8Z"],[4,"ngComponentOutlet"],["target","_blank","title","Open example on GitHub","aria-label","Open example on GitHub",1,"docs-example-github-link",3,"href"],["target","_blank","title","Edit this example in StackBlitz","aria-label","Edit this example in StackBlitz",1,"docs-example-stackblitz-link",3,"href"],["fill-rule","evenodd","clip-rule","evenodd","d","M9.16141 22.8681C9.16141 22.5894 9.15159 21.8509 9.14614 20.8707C5.96014 21.5798 5.28759 19.296 5.28759 19.296C4.76668 17.9389 4.01559 17.5778 4.01559 17.5778C2.97541 16.8485 4.09414 16.8638 4.09414 16.8638C5.24396 16.9467 5.84886 18.0747 5.84886 18.0747C6.8705 19.8692 8.52923 19.3516 9.18268 19.0505C9.28686 18.2912 9.5825 17.7736 9.90977 17.4801C7.36632 17.184 4.69196 16.176 4.69196 11.6754C4.69196 10.3936 5.13868 9.34523 5.87123 8.52377C5.75396 8.22705 5.36014 7.03305 5.98359 5.41577C5.98359 5.41577 6.94577 5.09996 9.13359 6.61959C10.0467 6.35941 11.0269 6.2285 12.0016 6.22414C12.9741 6.2285 13.9538 6.35941 14.869 6.61959C17.0558 5.09996 18.0163 5.41577 18.0163 5.41577C18.6414 7.0325 18.2481 8.2265 18.1298 8.52377C18.864 9.34523 19.3069 10.3936 19.3069 11.6754C19.3069 16.1874 16.6287 17.1801 14.077 17.4709C14.4889 17.8336 14.8543 18.5503 14.8543 19.6461C14.8543 21.2165 14.8396 22.4836 14.8396 22.8681C14.8396 23.1829 15.0463 23.5478 15.6278 23.4327C20.1758 21.877 23.4545 17.4774 23.4545 12.2907C23.4545 5.80359 18.3256 0.54541 11.9994 0.54541C5.67432 0.54541 0.54541 5.80359 0.54541 12.2907C0.545956 17.479 3.82796 21.8814 8.37977 23.4343C8.95196 23.5418 9.16141 23.179 9.16141 22.8681Z","fill","inherit"],["width","24","height","24","viewBox","0 0 356 511","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M138.719 150.22C62.6928 232.614 0.340573 300.4 0.158928 300.856C-0.0227172 301.311 33.9559 301.799 75.6665 301.939L151.505 302.195L117.656 396.511C74.7852 515.966 76.7972 510.288 77.3522 510.288C78.2145 510.288 355.296 209.735 355.296 208.799C355.296 208.245 325.263 207.879 279.943 207.879C233.709 207.879 204.591 207.518 204.591 206.943C204.591 206.428 220.136 162.751 239.137 109.883C279.06 -1.20153 278.545 0.264614 277.638 0.347453C277.26 0.382384 214.746 67.8247 138.719 150.22Z"]],template:function(i,e){if(i&1){let n=qe();X(0,"div",2)(1,"header",3),be(2,js,2,1,"span")(3,Us,4,0,"mat-tab-group",4),X(4,"div",5)(5,"button",6),Te("click",function(){return xe(n),ke(e.copyLink())}),X(6,"i",7),ft(),X(7,"svg",8),He(8,"path",9),ee()()(),be(9,Hs,1,0,"ng-container",10)(10,$s,4,3,"button",11),ee()(),cn(),X(11,"div",12),He(12,"button",13)(13,"docs-viewer",14),ee(),be(14,qs,2,1,"div",15)(15,Xs,1,1,"ng-template",null,0,mn),ee()}if(i&2){let n,o,s=Ft(16);oe(2),ve(e.view()===e.CodeExampleViewMode.SNIPPET?2:-1),oe(),ve(e.view()===e.CodeExampleViewMode.MULTI_FILE?3:-1),oe(2),Ye("aria-label","Copy link to "+((n=e.exampleMetadata())==null?null:n.title)+" example to the clipboard"),oe(4),we("ngTemplateOutlet",s),oe(),ve(e.expandable()?10:-1),oe(),Ie("docs-example-viewer-snippet",e.view()===e.CodeExampleViewMode.SNIPPET)("docs-example-viewer-multi-file",e.view()===e.CodeExampleViewMode.MULTI_FILE),oe(2),we("docContent",(o=e.snippetCode())==null?null:o.content),oe(),ve(e.exampleComponent?14:-1)}},dependencies:()=>[Dt,_r,bn,Il,wo,wl,Ao,yl],styles:[".docs-dark-mode [_nghost-%COMP%] .docs-example-viewer-preview[_ngcontent-%COMP%]{background:var(--gray-100)}@media screen and (prefers-color-scheme: dark){[_nghost-%COMP%] .docs-example-viewer-preview[_ngcontent-%COMP%]{background:var(--gray-100)}}.docs-light-mode [_nghost-%COMP%] .docs-example-viewer-preview[_ngcontent-%COMP%]{background:var(--page-background)}.docs-example-viewer[_ngcontent-%COMP%]{border:1px solid var(--senary-contrast);border-radius:.25rem;overflow:hidden}.docs-example-viewer-actions[_ngcontent-%COMP%]{background:var(--subtle-purple);display:flex;justify-content:space-between;align-items:center;gap:.5rem;border-bottom:1px solid var(--senary-contrast);transition:background .3s ease,border-color .3s ease;padding-inline-end:.65rem;font-family:var(--inter-tight-font)}.docs-example-viewer-actions[_ngcontent-%COMP%] mat-tab-group[_ngcontent-%COMP%]{max-width:calc(100% - 140px)}.docs-example-viewer-actions[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:first-of-type{background-image:var(--purple-to-blue-horizontal-gradient);background-clip:text;-webkit-background-clip:text;color:rgba(0,0,0,0);padding:.7rem 1.1rem;font-size:.875rem;font-style:normal;font-weight:400;line-height:1.4rem;letter-spacing:-0.00875rem;margin:0;word-wrap:break-word;width:fit-content}.docs-example-viewer-actions[_ngcontent-%COMP%] .docs-example-viewer-icons[_ngcontent-%COMP%]{display:flex;gap:.75rem}.docs-example-viewer-actions[_ngcontent-%COMP%] .docs-example-viewer-icons[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{fill:var(--gray-400)}.docs-example-viewer-actions[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .docs-example-viewer-actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{padding:0;margin:0;cursor:pointer;height:24px;width:24px}.docs-example-viewer-actions[_ngcontent-%COMP%] a[_ngcontent-%COMP%] path[_ngcontent-%COMP%], .docs-example-viewer-actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{transition:fill .3s ease}.docs-example-viewer-actions[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover svg[_ngcontent-%COMP%], .docs-example-viewer-actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover svg[_ngcontent-%COMP%]{fill:var(--tertiary-contrast)}.docs-example-viewer-code-wrapper[_ngcontent-%COMP%]{position:relative;font-size:.875rem;transition:border-color .3s ease;container:viewerblock/inline-size;background-color:var(--octonary-contrast)}.docs-example-viewer-code-wrapper[_ngcontent-%COMP%] button[docs-copy-source-code][_ngcontent-%COMP%]{top:.31rem} .docs-example-viewer-preview{all:initial;display:block;padding:1rem;border-block-start:1px solid var(--senary-contrast)} .docs-example-viewer-preview *, .docs-example-viewer-preview code::before, .docs-example-viewer-preview code, .docs-example-viewer-preview pre, .docs-example-viewer-preview a, .docs-example-viewer-preview i, .docs-example-viewer-preview p, .docs-example-viewer-preview h1, .docs-example-viewer-preview h2, .docs-example-viewer-preview h3, .docs-example-viewer-preview h4, .docs-example-viewer-preview h5, .docs-example-viewer-preview h6, .docs-example-viewer-preview ol, .docs-example-viewer-preview ul, .docs-example-viewer-preview li, .docs-example-viewer-preview hr, .docs-example-viewer-preview input, .docs-example-viewer-preview select, .docs-example-viewer-preview table{all:revert}/*# sourceMappingURL=example-viewer.component.css.map */"],changeDetection:0}),r})();var oo="docs-table-of-contents",xl="assets/content/examples";var so=".docs-code",kl=".docs-code-multifile",El="https://github.com/angular/angular/blob/main/adev/src/content/examples/",Il=(()=>{class r{constructor(){this.hasToc=!1,this.contentLoaded=new De,this.destroyRef=ne(kt),this.document=ne(ze),this.elementRef=ne(Me),this.location=ne(gr),this.navigationState=ne(Gn),this.platformId=ne(Ot),this.router=ne(oi),this.viewContainer=ne(mt),this.environmentInjector=ne(sn),this.injector=ne(Kt),this.appRef=ne(fr),this.animateContent=!1,this.pendingRenderTasks=ne(ar),this.countOfExamples=0}async ngOnChanges(i){let e=this.pendingRenderTasks.add();"docContent"in i&&await this.renderContentsAndRunClientSetup(this.docContent),this.pendingRenderTasks.remove(e)}async renderContentsAndRunClientSetup(i){let e=Pt(this.platformId),n=this.elementRef.nativeElement;i&&(e&&!this.document.startViewTransition&&(this.animateContent=!0),n.innerHTML=i),e&&(this.setupAnchorListeners(n),this.rewriteRelativeAnchors(n),await this.loadExamples(),this.loadCopySourceCodeButtons()),this.loadBreadcrumb(n),this.loadIcons(n),this.renderTableOfContents(n),this.contentLoaded.next()}async loadExamples(){let i=Array.from(this.elementRef.nativeElement.querySelectorAll(kl));for(let n of i){let o=n.getAttribute("path"),s=this.getCodeSnippetsFromMultifileWrapper(n);await this.renderExampleViewerComponents(n,s,o)}let e=this.elementRef.nativeElement.querySelectorAll(so);for(let n of e){let o=this.getStandaloneCodeSnippet(n);o&&await this.renderExampleViewerComponents(n,[o],o.name)}}renderTableOfContents(i){if(!this.hasToc)return;let e=i.querySelector("h2,h3[id]");if(!e)return;let n=i.querySelector(oo);n||(n=this.document.createElement(oo),n.setAttribute(An,"true"),e?.parentNode?.insertBefore(n,e)),this.renderComponent(Ka,n,{contentSourceElement:i})}async renderExampleViewerComponents(i,e,n){let o=!!i.getAttribute("preview"),s=i.getAttribute("header")??void 0,c=e.length>0?e[0].title??e[0].name:void 0,d=this.viewContainer.createComponent(Cl);this.countOfExamples++,d.instance.metadata={title:s??c,path:n,files:e,preview:o,id:this.countOfExamples},d.instance.githubUrl=`${El}/${e[0].name}`,d.instance.stackblitzUrl=`${xl}/${e[0].name}.html`,i.parentElement.replaceChild(d.location.nativeElement,i),await d.instance.renderExample()}getCodeSnippetsFromMultifileWrapper(i){return Array.from(i.querySelectorAll(so)).map(n=>({name:n.getAttribute("path")??n.getAttribute("header")??"",content:n.innerHTML,visibleLinesRange:n.getAttribute("visibleLines")??void 0}))}getStandaloneCodeSnippet(i){let e=i.getAttribute("visibleLines")??void 0,n=i.getAttribute("preview");if(!e&&!n)return null;let o=i.querySelector("pre"),s=i.getAttribute("path");return{title:i.getAttribute("header")??void 0,name:s,content:o?.outerHTML,visibleLinesRange:e}}loadCopySourceCodeButtons(){let i=Array.from(this.elementRef.nativeElement.querySelectorAll(".docs-code:not([mermaid])"));for(let e of i){let n=this.viewContainer.createComponent(wo);e.appendChild(n.location.nativeElement)}}loadBreadcrumb(i){let e=i.querySelector("docs-breadcrumb"),n=this.navigationState.activeNavigationItem();e&&n?.parent&&this.renderComponent(Ya,e)}loadIcons(i){i.querySelectorAll("docs-icon").forEach(e=>{this.renderComponent(et,e)})}renderComponent(i,e,n){let o=pr(i,{hostElement:e,elementInjector:this.injector,environmentInjector:this.environmentInjector});if(n)for(let[s,c]of Object.entries(n))o.setInput(s,c);return o.changeDetectorRef.detectChanges(),this.appRef.attachView(o.hostView),o}setupAnchorListeners(i){i.querySelectorAll("a[href]").forEach(e=>{new URL(e.href).origin===this.document.location.origin&&nt(e,"click").pipe(bt(this.destroyRef)).subscribe(s=>{Ba(s,this.router)})})}rewriteRelativeAnchors(i){for(let e of Array.from(i.querySelectorAll('a[href^="#"]:not(a[download])'))){let n=new URL(e.href);e.href=this.location.path()+n.hash}}}return r.\u0275fac=function(i){return new(i||r)},r.\u0275cmp=Be({type:r,selectors:[["docs-viewer"]],hostVars:2,hostBindings:function(i,e){i&2&&Ie("docs-animate-content",e.animateContent)},inputs:{docContent:"docContent",hasToc:"hasToc"},outputs:{contentLoaded:"contentLoaded"},standalone:!0,features:[Qt,je],decls:0,vars:0,template:function(i,e){},dependencies:[Dt],styles:[`:host{--translate-y: clamp(5px, 0.25em, 7px)}.docs-viewer{display:flex;flex-direction:column;padding:var(--layout-padding);max-width:var(--page-width);width:100%;box-sizing:border-box}@media only screen and (max-width: 1430px){.docs-viewer{container:docs-content/inline-size}}@media only screen and (min-width: 1430px)and (max-width: 1550px){docs-docs .docs-viewer{width:calc(100% - 195px - var(--layout-padding));max-width:var(--page-width)}}.docs-viewer pre{margin-block:0;padding-block:.75rem}.docs-viewer h1 .docs-anchor,.docs-viewer h2 .docs-anchor,.docs-viewer h3 .docs-anchor,.docs-viewer h4 .docs-anchor,.docs-viewer h5 .docs-anchor,.docs-viewer h6 .docs-anchor{margin-block-start:2.5rem;display:inline-block;color:inherit}.docs-viewer h1 .docs-anchor::after,.docs-viewer h2 .docs-anchor::after,.docs-viewer h3 .docs-anchor::after,.docs-viewer h4 .docs-anchor::after,.docs-viewer h5 .docs-anchor::after,.docs-viewer h6 .docs-anchor::after{content:"\uE157";font-family:"Material Symbols Outlined";opacity:0;margin-left:8px;vertical-align:middle;color:var(--quaternary-contrast);font-size:clamp(18px,1.25em,30px);transition:opacity .3s ease}.docs-viewer h1 .docs-anchor:hover::after,.docs-viewer h2 .docs-anchor:hover::after,.docs-viewer h3 .docs-anchor:hover::after,.docs-viewer h4 .docs-anchor:hover::after,.docs-viewer h5 .docs-anchor:hover::after,.docs-viewer h6 .docs-anchor:hover::after{opacity:1}.docs-viewer h1{font-size:2.5rem;margin-block-end:0}.docs-viewer h2{font-size:2rem;margin-block-end:.5rem}.docs-viewer h3{font-size:1.5rem;margin-block-end:.5rem}.docs-viewer h4{font-size:1.25rem;margin-block-end:.5rem}.docs-viewer h5{font-size:1rem;margin-block-end:0}.docs-viewer h6{font-size:.875rem;margin-block-end:0}.docs-viewer>:last-child{margin-block-end:0}.docs-viewer a:not(.docs-github-links):not(.docs-card):not(.docs-pill):not(.docs-example-github-link)[href^="http:"]::after,.docs-viewer a:not(.docs-github-links):not(.docs-card):not(.docs-pill):not(.docs-example-github-link)[href^="https:"]::after{display:inline-block;content:"\uE89E";font-family:"Material Symbols Outlined";margin-left:.2rem;vertical-align:middle}.docs-viewer-scroll-margin-large h2,.docs-viewer-scroll-margin-large h3{scroll-margin:5em}.docs-header{margin-block-end:1rem}.docs-header>p:first-child{color:var(--quaternary-contrast);font-weight:500;margin:0}.docs-page-title{display:flex;justify-content:space-between}.docs-page-title h1{margin-block:0;font-size:2.25rem}.docs-page-title a{color:var(--primary-contrast);height:fit-content}.docs-page-title a docs-icon{color:var(--gray-400);transition:color .3s ease}.docs-page-title a:hover docs-icon{color:var(--primary-contrast)}/*# sourceMappingURL=docs-viewer.component.css.map */
`],encapsulation:2,changeDetection:0}),r})();var ao="docs-accepts-cookies",bu=(()=>{class r{constructor(){this.localStorage=ne(Na),this.hasAccepted=Oe(!1);try{this.hasAccepted.set(this.localStorage?.getItem(ao)==="true")}catch{this.hasAccepted.set(!1)}}accept(){try{this.localStorage?.setItem(ao,"true")}catch{}this.hasAccepted.set(!0),Ma("granted")}}return r.\u0275fac=function(i){return new(i||r)},r.\u0275cmp=Be({type:r,selectors:[["docs-cookie-popup"]],standalone:!0,features:[je],decls:1,vars:1,consts:[[1,"docs-cookies-popup","docs-invert-mode"],["href","https://policies.google.com/technologies/cookies","target","_blank","rel","noopener"],["aria-label","Learn More",1,"docs-primary-btn"],["type","button","aria-label","Ok, Got it",1,"docs-primary-btn",3,"click"]],template:function(i,e){i&1&&be(0,Js,9,2,"div",0),i&2&&ve(e.hasAccepted()?-1:0)},styles:["[_nghost-%COMP%]{position:fixed;bottom:.5rem;right:.5rem;z-index:var(--z-index-cookie-consent);opacity:0;visibility:hidden;animation:1s linear forwards .5s _ngcontent-%COMP%_fadeIn}.docs-cookies-popup[_ngcontent-%COMP%]{padding:1rem;background-color:var(--page-background);border:1px solid var(--senary-contrast);border-radius:.25rem;font-size:.875rem;max-width:265px;transition:background-color .3s ease,border-color .3s ease,color .3s ease;box-shadow:0 0 10px 0 rgba(0,0,0,.1)}.docs-cookies-popup[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:flex;gap:.5rem;align-items:center;width:100%;margin-block-start:1rem}.docs-cookies-popup[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-block:0;color:var(--primary-contrast)}@keyframes _ngcontent-%COMP%_fadeIn{100%{opacity:100%;visibility:visible}}/*# sourceMappingURL=cookie-popup.component.css.map */"],changeDetection:0}),r})();var Dl=(()=>{class r{transform(i,e){let n=e?.parent;for(;n;){if(n===i)return!0;n=n.parent}return!1}}return r.\u0275fac=function(i){return new(i||r)},r.\u0275pipe=on({name:"isActiveNavigationItem",type:r,pure:!0,standalone:!0}),r})();var vu=(()=>{class r{constructor(){this.navigationItems=[],this.displayItemsToLevel=2,this.collapsableLevel=void 0,this.expandableLevel=2,this.isDropdownView=!1,this.linkClicked=new De,this.navigationState=ne(Gn),this.expandedItems=this.navigationState.expandedItems,this.activeItem=this.navigationState.activeNavigationItem}toggle(i){i.level===1&&i.level!==this.expandableLevel&&i.level!==this.collapsableLevel||this.navigationState.toggleItem(i)}emitClickOnLink(){this.linkClicked.emit()}}return r.\u0275fac=function(i){return new(i||r)},r.\u0275cmp=Be({type:r,selectors:[["docs-navigation-list"]],inputs:{navigationItems:"navigationItems",displayItemsToLevel:"displayItemsToLevel",collapsableLevel:"collapsableLevel",expandableLevel:"expandableLevel",isDropdownView:"isDropdownView"},outputs:{linkClicked:"linkClicked"},standalone:!0,features:[je],decls:3,vars:4,consts:[["navigationList",""],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"docs-navigation-list","docs-faceted-list"],[1,"docs-faceted-list-item",3,"docs-navigation-link-hidden"],[1,"docs-faceted-list-item"],["target","_blank",3,"href"],["routerLinkActive","docs-faceted-list-item-active",3,"routerLink","routerLinkActiveOptions"],["routerLinkActive","docs-faceted-list-item-active",3,"click","routerLink","routerLinkActiveOptions"],[1,"docs-secondary-nav-header"],["type","button",1,"docs-secondary-nav-button",3,"docs-faceted-list-item-active","docs-expanded-button","docs-not-expanded-button","docs-nav-item-has-icon"],["type","button",1,"docs-secondary-nav-button",3,"click"]],template:function(i,e){if(i&1&&be(0,fa,3,2,"ng-template",null,0,mn)(2,ma,1,0,"ng-container",1),i&2){let n=Ft(1);oe(2),we("ngTemplateOutlet",n)("ngTemplateOutletContext",Ti(2,uo,e.navigationItems))}},dependencies:[Dt,bn,si,yr,et,Dl],styles:['[_nghost-%COMP%]{display:flex;min-width:var(--secondary-nav-width);list-style:none;overflow-y:auto;overflow-x:hidden;height:100vh;padding:0;margin:0;padding-block:1.5rem;font-size:.875rem;box-sizing:border-box}[_nghost-%COMP%]::-webkit-scrollbar-track{background:rgba(0,0,0,0);cursor:pointer}[_nghost-%COMP%]::-webkit-scrollbar{width:6px;height:6px}[_nghost-%COMP%]::-webkit-scrollbar-thumb{background-color:var(--septenary-contrast);border-radius:10px;transition:background-color .3s ease}@media(max-width: 900px){[_nghost-%COMP%]::-webkit-scrollbar-thumb{background-color:var(--quinary-contrast)}}[_nghost-%COMP%]::-webkit-scrollbar-thumb:hover{background-color:var(--quinary-contrast)}.docs-nav-secondary [_nghost-%COMP%]{padding-block:2rem}[_nghost-%COMP%] > .docs-faceted-list[_ngcontent-%COMP%]{border:0}[_nghost-%COMP%] .docs-navigation-link-hidden[_ngcontent-%COMP%]{display:none}[_nghost-%COMP%] .docs-nav-item-has-icon[_ngcontent-%COMP%]::after{content:"chevron_right";font-size:1.25rem;font-family:var(--icons)}.docs-secondary-nav-header[_ngcontent-%COMP%]{padding-block:1.25rem;font-weight:500}.docs-secondary-nav-button[_ngcontent-%COMP%]{width:15rem;display:flex;justify-content:space-between;align-items:center;border:none;padding-block:1.25rem;padding-inline-start:0;color:var(--primary-contrast);font-size:.875rem;font-family:var(--inter-font);line-height:160%;letter-spacing:-0.00875rem;transition:color .3s ease,background .3s ease;text-align:left}.docs-secondary-nav-button.docs-secondary-nav-button-active[_ngcontent-%COMP%]{background-image:var(--pink-to-purple-vertical-gradient)}.docs-secondary-nav-button.docs-secondary-nav-button-active[_ngcontent-%COMP%]::before{opacity:1;transform:scaleY(1);background:var(--pink-to-purple-vertical-gradient)}.docs-secondary-nav-button.docs-secondary-nav-button-active[_ngcontent-%COMP%]:hover::before{opacity:1;transform:scaleY(1.1)}.docs-expanded-button[_ngcontent-%COMP%]{justify-content:start;gap:.5rem}a[_ngcontent-%COMP%], .docs-not-expanded-button[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;font-weight:500;line-height:1.4rem;letter-spacing:-0.00875rem;padding:.5rem;padding-inline-start:1rem;text-align:left}.docs-navigation-list[_ngcontent-%COMP%]{width:100%}.docs-navigation-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-of-type ul[_ngcontent-%COMP%]:last-of-type li[_ngcontent-%COMP%]:last-of-type{padding-block-end:1rem}.docs-navigation-list[_ngcontent-%COMP%]:first-child{margin-inline-start:1rem}.docs-external-link[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;width:100%;gap:.5rem}.docs-external-link[_ngcontent-%COMP%]::after{content:"open_in_new";font-family:var(--icons);font-size:1.1rem;color:var(--quinary-contrast);transition:color .3s ease;margin-inline-end:.4rem}/*# sourceMappingURL=navigation-list.component.css.map */'],changeDetection:0}),r})();var yu=(()=>{class r{constructor(){this.disabled=!1,this.onChange=i=>{},this.onTouched=()=>{},this.checked=Oe(!1)}writeValue(i){this.checked.set(i)}registerOnChange(i){this.onChange=i}registerOnTouched(i){this.onTouched=i}setDisabledState(i){this.disabled=i}toggle(){this.disabled||(this.checked.update(i=>!i),this.onChange(this.checked()),this.onTouched())}}return r.\u0275fac=function(i){return new(i||r)},r.\u0275cmp=Be({type:r,selectors:[["docs-slide-toggle"]],inputs:{buttonId:"buttonId",label:"label",disabled:"disabled"},standalone:!0,features:[it([{provide:fi,useExisting:ht(()=>r),multi:!0}]),je],decls:6,vars:6,consts:[[1,"docs-label"],[1,"docs-toggle"],["type","checkbox","role","switch",3,"click","id","checked"],[1,"docs-slider"]],template:function(i,e){i&1&&(X(0,"label")(1,"span",0),_e(2),ee(),X(3,"div",1)(4,"input",2),Te("click",function(){return e.toggle()}),ee(),He(5,"span",3),ee()()),i&2&&(Ye("for",e.buttonId),oe(2),Xe(e.label),oe(2),Ie("docs-toggle-active",e.checked()),we("id",e.buttonId)("checked",e.checked()))},dependencies:[Dt],styles:['[_nghost-%COMP%], label[_ngcontent-%COMP%]{display:inline-flex;gap:.5em;align-items:center}.docs-label[_ngcontent-%COMP%]{font-size:.875rem;font-style:normal;font-weight:500;line-height:160%;letter-spacing:-0.00875rem;color:var(--quaternary-contrast)}.docs-toggle[_ngcontent-%COMP%]{position:relative;display:inline-block;width:3rem;height:1.5rem;border:1px solid var(--senary-contrast);border-radius:34px}.docs-toggle[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{opacity:0;width:0;height:0}.docs-slider[_ngcontent-%COMP%]{position:absolute;cursor:pointer;border-radius:34px;inset:0;background-color:var(--septenary-contrast);transition:background-color .3s ease,border-color .3s ease}.docs-slider[_ngcontent-%COMP%]::before{content:"";position:absolute;inset:0;border-radius:34px;background:var(--pink-to-purple-horizontal-gradient);opacity:0;transition:opacity .3s ease}.docs-slider[_ngcontent-%COMP%]::after{position:absolute;content:"";height:1.25rem;width:1.25rem;left:.125rem;bottom:.125rem;background-color:var(--page-background);transition:transform .3s ease,background-color .3s ease;border-radius:50%}input[_ngcontent-%COMP%]:checked + .docs-slider[_ngcontent-%COMP%]::before{opacity:1}input[_ngcontent-%COMP%]:checked + .docs-slider[_ngcontent-%COMP%]::after{transform:translateX(1.5rem)}/*# sourceMappingURL=slide-toggle.component.css.map */'],changeDetection:0}),r})();var Tl=(()=>{class r{constructor(){this.name=null,this.placeholder=null,this.disabled=!1,this.hideIcon=!1,this.autofocus=!1,this.onChange=i=>{},this.onTouched=()=>{},this.value=Oe(null),Rt(()=>{this.autofocus&&this.input?.nativeElement.focus()})}writeValue(i){this.value.set(i)}registerOnChange(i){this.onChange=i}registerOnTouched(i){this.onTouched=i}setDisabledState(i){this.disabled=i}setValue(i){this.disabled||(this.value.set(i),this.onChange(i),this.onTouched())}}return r.\u0275fac=function(i){return new(i||r)},r.\u0275cmp=Be({type:r,selectors:[["docs-text-field"]],viewQuery:function(i,e){if(i&1&&Qe(pa,5),i&2){let n;Ve(n=Ne())&&(e.input=n.first)}},hostAttrs:[1,"docs-form-element"],inputs:{name:"name",placeholder:"placeholder",disabled:"disabled",hideIcon:"hideIcon",autofocus:"autofocus"},standalone:!0,features:[it([{provide:fi,useExisting:ht(()=>r),multi:!0}]),je],decls:3,vars:4,consts:[["inputRef",""],[1,"docs-icon_high-contrast"],["type","text",1,"docs-text-field",3,"ngModelChange","ngModel"]],template:function(i,e){if(i&1){let n=qe();be(0,ga,2,0,"docs-icon",1),X(1,"input",2,0),Te("ngModelChange",function(s){return xe(n),ke(e.setValue(s))}),ee()}i&2&&(ve(e.hideIcon?-1:0),oe(),we("ngModel",e.value()),Ye("placeholder",e.placeholder)("name",e.name))},dependencies:[Dt,En,Hi,Cn,Gi,et],styles:[".docs-text-field[_ngcontent-%COMP%]{font-size:1.125rem}docs-icon[_ngcontent-%COMP%] + .docs-text-field[_ngcontent-%COMP%]{font-size:1rem}/*# sourceMappingURL=text-field.component.css.map */"],changeDetection:0}),r})();var co=(()=>{class r{constructor(){this.disabled=!1,this.elementRef=ne(Me),this._isActive=Oe(!1)}get isActive(){return this._isActive()}setActiveStyles(){this._isActive.set(!0)}setInactiveStyles(){this._isActive.set(!1)}getLabel(){if(!this.item?.hierarchy)return"";let{hierarchy:i}=this.item;return`${i.lvl0}${i.lvl1}${i.lvl2}`}scrollIntoView(){this.elementRef?.nativeElement.scrollIntoView({block:"nearest"})}}return r.\u0275fac=function(i){return new(i||r)},r.\u0275dir=Ee({type:r,selectors:[["","docsSearchItem",""]],hostVars:2,hostBindings:function(i,e){i&2&&Ie("active",e.isActive)},inputs:{item:"item",disabled:"disabled"},standalone:!0}),r})();var Sl=(()=>{class r{}return r.\u0275fac=function(i){return new(i||r)},r.\u0275cmp=Be({type:r,selectors:[["docs-algolia-icon"]],standalone:!0,features:[je],decls:13,vars:0,consts:[["id","Layer_1","xmlns","http://www.w3.org/2000/svg","viewBox","0 0 2196.2 500",1,"docs-algolia-logo"],["d","M1070.38,275.3V5.91c0-3.63-3.24-6.39-6.82-5.83l-50.46,7.94c-2.87,.45-4.99,2.93-4.99,5.84l.17,273.22c0,12.92,0,92.7,95.97,95.49,3.33,.1,6.09-2.58,6.09-5.91v-40.78c0-2.96-2.19-5.51-5.12-5.84-34.85-4.01-34.85-47.57-34.85-54.72Z",1,"cls-2"],["x","1845.88","y","104.73","width","62.58","height","277.9","rx","5.9","ry","5.9",1,"cls-1"],["d","M1851.78,71.38h50.77c3.26,0,5.9-2.64,5.9-5.9V5.9c0-3.62-3.24-6.39-6.82-5.83l-50.77,7.95c-2.87,.45-4.99,2.92-4.99,5.83v51.62c0,3.26,2.64,5.9,5.9,5.9Z",1,"cls-2"],["d","M1764.03,275.3V5.91c0-3.63-3.24-6.39-6.82-5.83l-50.46,7.94c-2.87,.45-4.99,2.93-4.99,5.84l.17,273.22c0,12.92,0,92.7,95.97,95.49,3.33,.1,6.09-2.58,6.09-5.91v-40.78c0-2.96-2.19-5.51-5.12-5.84-34.85-4.01-34.85-47.57-34.85-54.72Z",1,"cls-2"],["d","M1631.95,142.72c-11.14-12.25-24.83-21.65-40.78-28.31-15.92-6.53-33.26-9.85-52.07-9.85-18.78,0-36.15,3.17-51.92,9.85-15.59,6.66-29.29,16.05-40.76,28.31-11.47,12.23-20.38,26.87-26.76,44.03-6.38,17.17-9.24,37.37-9.24,58.36,0,20.99,3.19,36.87,9.55,54.21,6.38,17.32,15.14,32.11,26.45,44.36,11.29,12.23,24.83,21.62,40.6,28.46,15.77,6.83,40.12,10.33,52.4,10.48,12.25,0,36.78-3.82,52.7-10.48,15.92-6.68,29.46-16.23,40.78-28.46,11.29-12.25,20.05-27.04,26.25-44.36,6.22-17.34,9.24-33.22,9.24-54.21,0-20.99-3.34-41.19-10.03-58.36-6.38-17.17-15.14-31.8-26.43-44.03Zm-44.43,163.75c-11.47,15.75-27.56,23.7-48.09,23.7-20.55,0-36.63-7.8-48.1-23.7-11.47-15.75-17.21-34.01-17.21-61.2,0-26.89,5.59-49.14,17.06-64.87,11.45-15.75,27.54-23.52,48.07-23.52,20.55,0,36.63,7.78,48.09,23.52,11.47,15.57,17.36,37.98,17.36,64.87,0,27.19-5.72,45.3-17.19,61.2Z",1,"cls-2"],["d","M894.42,104.73h-49.33c-48.36,0-90.91,25.48-115.75,64.1-14.52,22.58-22.99,49.63-22.99,78.73,0,44.89,20.13,84.92,51.59,111.1,2.93,2.6,6.05,4.98,9.31,7.14,12.86,8.49,28.11,13.47,44.52,13.47,1.23,0,2.46-.03,3.68-.09,.36-.02,.71-.05,1.07-.07,.87-.05,1.75-.11,2.62-.2,.34-.03,.68-.08,1.02-.12,.91-.1,1.82-.21,2.73-.34,.21-.03,.42-.07,.63-.1,32.89-5.07,61.56-30.82,70.9-62.81v57.83c0,3.26,2.64,5.9,5.9,5.9h50.42c3.26,0,5.9-2.64,5.9-5.9V110.63c0-3.26-2.64-5.9-5.9-5.9h-56.32Zm0,206.92c-12.2,10.16-27.97,13.98-44.84,15.12-.16,.01-.33,.03-.49,.04-1.12,.07-2.24,.1-3.36,.1-42.24,0-77.12-35.89-77.12-79.37,0-10.25,1.96-20.01,5.42-28.98,11.22-29.12,38.77-49.74,71.06-49.74h49.33v142.83Z",1,"cls-2"],["d","M2133.97,104.73h-49.33c-48.36,0-90.91,25.48-115.75,64.1-14.52,22.58-22.99,49.63-22.99,78.73,0,44.89,20.13,84.92,51.59,111.1,2.93,2.6,6.05,4.98,9.31,7.14,12.86,8.49,28.11,13.47,44.52,13.47,1.23,0,2.46-.03,3.68-.09,.36-.02,.71-.05,1.07-.07,.87-.05,1.75-.11,2.62-.2,.34-.03,.68-.08,1.02-.12,.91-.1,1.82-.21,2.73-.34,.21-.03,.42-.07,.63-.1,32.89-5.07,61.56-30.82,70.9-62.81v57.83c0,3.26,2.64,5.9,5.9,5.9h50.42c3.26,0,5.9-2.64,5.9-5.9V110.63c0-3.26-2.64-5.9-5.9-5.9h-56.32Zm0,206.92c-12.2,10.16-27.97,13.98-44.84,15.12-.16,.01-.33,.03-.49,.04-1.12,.07-2.24,.1-3.36,.1-42.24,0-77.12-35.89-77.12-79.37,0-10.25,1.96-20.01,5.42-28.98,11.22-29.12,38.77-49.74,71.06-49.74h49.33v142.83Z",1,"cls-2"],["d","M1314.05,104.73h-49.33c-48.36,0-90.91,25.48-115.75,64.1-11.79,18.34-19.6,39.64-22.11,62.59-.58,5.3-.88,10.68-.88,16.14s.31,11.15,.93,16.59c4.28,38.09,23.14,71.61,50.66,94.52,2.93,2.6,6.05,4.98,9.31,7.14,12.86,8.49,28.11,13.47,44.52,13.47h0c17.99,0,34.61-5.93,48.16-15.97,16.29-11.58,28.88-28.54,34.48-47.75v50.26h-.11v11.08c0,21.84-5.71,38.27-17.34,49.36-11.61,11.08-31.04,16.63-58.25,16.63-11.12,0-28.79-.59-46.6-2.41-2.83-.29-5.46,1.5-6.27,4.22l-12.78,43.11c-1.02,3.46,1.27,7.02,4.83,7.53,21.52,3.08,42.52,4.68,54.65,4.68,48.91,0,85.16-10.75,108.89-32.21,21.48-19.41,33.15-48.89,35.2-88.52V110.63c0-3.26-2.64-5.9-5.9-5.9h-56.32Zm0,64.1s.65,139.13,0,143.36c-12.08,9.77-27.11,13.59-43.49,14.7-.16,.01-.33,.03-.49,.04-1.12,.07-2.24,.1-3.36,.1-1.32,0-2.63-.03-3.94-.1-40.41-2.11-74.52-37.26-74.52-79.38,0-10.25,1.96-20.01,5.42-28.98,11.22-29.12,38.77-49.74,71.06-49.74h49.33Z",1,"cls-2"],["d","M249.83,0C113.3,0,2,110.09,.03,246.16c-2,138.19,110.12,252.7,248.33,253.5,42.68,.25,83.79-10.19,120.3-30.03,3.56-1.93,4.11-6.83,1.08-9.51l-23.38-20.72c-4.75-4.21-11.51-5.4-17.36-2.92-25.48,10.84-53.17,16.38-81.71,16.03-111.68-1.37-201.91-94.29-200.13-205.96,1.76-110.26,92-199.41,202.67-199.41h202.69V407.41l-115-102.18c-3.72-3.31-9.42-2.66-12.42,1.31-18.46,24.44-48.53,39.64-81.93,37.34-46.33-3.2-83.87-40.5-87.34-86.81-4.15-55.24,39.63-101.52,94-101.52,49.18,0,89.68,37.85,93.91,85.95,.38,4.28,2.31,8.27,5.52,11.12l29.95,26.55c3.4,3.01,8.79,1.17,9.63-3.3,2.16-11.55,2.92-23.58,2.07-35.92-4.82-70.34-61.8-126.93-132.17-131.26-80.68-4.97-148.13,58.14-150.27,137.25-2.09,77.1,61.08,143.56,138.19,145.26,32.19,.71,62.03-9.41,86.14-26.95l150.26,133.2c6.44,5.71,16.61,1.14,16.61-7.47V9.48C499.66,4.25,495.42,0,490.18,0H249.83Z",1,"cls-1"]],template:function(i,e){i&1&&(ft(),X(0,"svg",0)(1,"defs")(2,"style"),_e(3," .cls-1, .cls-2 { fill: #003dff; } .cls-2 { fill-rule: evenodd; } "),ee()(),He(4,"path",1)(5,"rect",2)(6,"path",3)(7,"path",4)(8,"path",5)(9,"path",6)(10,"path",7)(11,"path",8)(12,"path",9),ee())},encapsulation:2,changeDetection:0}),r})();var lo=(()=>{class r{transform(i,e="relative"){let n=new URL(gi(i));return e==="hash"?n.hash?.substring(1)??"":e==="pathname"?`${Ur(gi(n.pathname))}`:`${Ur(gi(n.pathname))}${n.hash??""}`}}return r.\u0275fac=function(i){return new(i||r)},r.\u0275pipe=on({name:"relativeLink",type:r,pure:!0,standalone:!0}),r})();var wu=(()=>{class r{constructor(){this.onClose=new De,this.destroyRef=ne(kt),this.ngZone=ne(Ue),this.search=ne(Qa),this.relativeLink=new lo,this.router=ne(oi),this.window=ne(Wn),this.searchQuery=this.search.searchQuery,this.searchResults=this.search.searchResults}ngOnInit(){this.ngZone.runOutsideAngular(()=>{nt(this.window,"keydown").pipe(ct(i=>!!this.keyManager),bt(this.destroyRef)).subscribe(i=>{i.key==="Enter"?this.navigateToTheActiveItem():this.ngZone.run(()=>{this.keyManager?.onKeydown(i)})})})}ngAfterViewInit(){this.dialog?.nativeElement.open||this.dialog?.nativeElement.showModal?.(),this.items&&(this.keyManager=new Rn(this.items).withWrap(),this.keyManager?.setFirstItemActive(),this.updateActiveItemWhenResultsChanged(),this.scrollToActiveItem())}ngOnDestroy(){this.keyManager?.destroy()}closeSearchDialog(){this.dialog?.nativeElement.close(),this.onClose.next()}updateSearchQuery(i){this.search.updateSearchQuery(i)}updateActiveItemWhenResultsChanged(){this.items?.changes.pipe(bt(this.destroyRef)).subscribe(()=>{Promise.resolve().then(()=>{this.keyManager?.setFirstItemActive()})})}navigateToTheActiveItem(){let i=this.keyManager?.activeItem?.item?.url;i&&(this.router.navigateByUrl(this.relativeLink.transform(i)),this.onClose.next())}scrollToActiveItem(){this.keyManager?.change.pipe(bt(this.destroyRef)).subscribe(()=>{this.keyManager?.activeItem?.scrollIntoView()})}}return r.\u0275fac=function(i){return new(i||r)},r.\u0275cmp=Be({type:r,selectors:[["docs-search-dialog"]],viewQuery:function(i,e){if(i&1&&(Qe(_a,5),Qe(co,5)),i&2){let n;Ve(n=Ne())&&(e.dialog=n.first),Ve(n=Ne())&&(e.items=n)}},outputs:{onClose:"onClose"},standalone:!0,features:[je],decls:11,vars:4,consts:[["searchDialog",""],[1,"docs-search-container",3,"docsClickOutside"],["placeholder","Search docs",1,"docs-search-input",3,"ngModelChange","autofocus","hideIcon","ngModel"],[1,"docs-search-results","docs-mini-scroll-track"],[1,"docs-algolia"],["href","https://www.algolia.com/developers/","target","_blank","rel","noopener"],["docsSearchItem","",3,"item"],[3,"routerLink","fragment"],[1,"docs-result-icon-and-type"],["aria-hidden","true",1,"docs-search-result-icon"],["role","presentation",1,"material-symbols-outlined","docs-icon-small"],[1,"docs-search-results__type"],[1,"docs-search-results__type","docs-search-results__lvl2"],[1,"docs-search-results__type","docs-search-results__lvl3"],[1,"docs-result-page-title"],[1,"docs-search-results__start-typing"],[1,"docs-search-results__no-results"]],template:function(i,e){if(i&1){let n=qe();X(0,"dialog",null,0)(2,"div",1),Te("docsClickOutside",function(){return xe(n),ke(e.closeSearchDialog())}),X(3,"docs-text-field",2),Te("ngModelChange",function(s){return xe(n),ke(e.updateSearchQuery(s))}),ee(),be(4,Ia,3,0,"ul",3)(5,Sa,3,1,"div",3),X(6,"div",4)(7,"span"),_e(8,"Search by"),ee(),X(9,"a",5),He(10,"docs-algolia-icon"),ee()()()()}i&2&&(oe(3),we("autofocus",!0)("hideIcon",!0)("ngModel",e.searchQuery()),oe(),ve(e.searchResults()&&e.searchResults().length>0?4:5))},dependencies:[Aa,Tl,En,Cn,Gi,co,Sl,lo,si],styles:['dialog[_ngcontent-%COMP%]{background-color:rgba(0,0,0,0);border:none;padding-block-end:3rem}dialog[_ngcontent-%COMP%]::backdrop{backdrop-filter:blur(5px)}.docs-search-container[_ngcontent-%COMP%]{width:500px;max-width:90vw;background-color:var(--page-background);border:1px solid var(--senary-contrast);border-radius:.25rem;box-sizing:border-box}.docs-search-container[_ngcontent-%COMP%] .docs-search-input[_ngcontent-%COMP%]{border-radius:.25rem .25rem 0 0;border:none;border-block-end:1px solid var(--senary-contrast);height:2.6875rem;padding-inline-start:1rem;position:relative}.docs-search-container[_ngcontent-%COMP%] .docs-search-input[_ngcontent-%COMP%]::after{content:"Esc";position:absolute;right:1rem;color:var(--gray-400);font-size:.875rem}.docs-search-container[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{max-height:260px;overflow-y:auto;list-style-type:none;padding-inline:0;padding-block-start:1rem;margin:0}.docs-search-container[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{border-inline-start:2px solid var(--senary-contrast);margin-inline-start:1rem;padding-inline-end:1rem;padding-block:.25rem}.docs-search-container[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:var(--secondary-contrast);display:flex;justify-content:space-between;gap:.5rem}.docs-search-container[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%] .docs-search-result-icon[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{display:flex;align-items:center;font-size:1.2rem}.docs-search-container[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li.active[_ngcontent-%COMP%]{background-color:var(--septenary-contrast)}.docs-search-container[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:hover, .docs-search-container[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li.active[_ngcontent-%COMP%]{background-color:var(--octonary-contrast);border-inline-start:2px solid var(--primary-contrast)}.docs-search-container[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:hover a[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:not(.docs-result-page-title), .docs-search-container[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:hover a[_ngcontent-%COMP%] .docs-search-results__type[_ngcontent-%COMP%], .docs-search-container[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li.active[_ngcontent-%COMP%] a[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:not(.docs-result-page-title), .docs-search-container[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li.active[_ngcontent-%COMP%] a[_ngcontent-%COMP%] .docs-search-results__type[_ngcontent-%COMP%]{color:var(--primary-contrast)}.docs-search-container[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:hover a[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:not(.docs-result-page-title) i[_ngcontent-%COMP%], .docs-search-container[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:hover a[_ngcontent-%COMP%] .docs-search-results__type[_ngcontent-%COMP%] i[_ngcontent-%COMP%], .docs-search-container[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li.active[_ngcontent-%COMP%] a[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:not(.docs-result-page-title) i[_ngcontent-%COMP%], .docs-search-container[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li.active[_ngcontent-%COMP%] a[_ngcontent-%COMP%] .docs-search-results__type[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:var(--primary-contrast)}.docs-search-container[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] .docs-search-result-icon[_ngcontent-%COMP%], .docs-search-container[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] .docs-search-results__type[_ngcontent-%COMP%], .docs-search-container[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] .docs-result-page-title[_ngcontent-%COMP%]{color:var(--quaternary-contrast);display:inline-block;font-size:.875rem;transition:color .3s ease;padding:.75rem;padding-inline-end:0}.docs-search-container[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] .docs-search-results__lvl2[_ngcontent-%COMP%]{display:inline-block;margin-inline-start:2rem;padding-block-start:0}.docs-search-container[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] .docs-search-results__lvl3[_ngcontent-%COMP%]{margin-inline-start:2rem;padding-block-start:0}.docs-search-container[_ngcontent-%COMP%] .docs-result-page-title[_ngcontent-%COMP%]{font-size:.875rem;font-weight:400}.docs-search-results__start-typing[_ngcontent-%COMP%], .docs-search-results__no-results[_ngcontent-%COMP%]{padding:.75rem;color:var(--gray-400)}.docs-result-icon-and-type[_ngcontent-%COMP%]{display:flex}.docs-result-icon-and-type[_ngcontent-%COMP%] .docs-search-results__type[_ngcontent-%COMP%]{padding-inline-start:0}.docs-algolia[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:end;color:var(--gray-400);padding:1rem;font-size:.75rem;font-weight:500;gap:.25rem;background-color:var(--page-background);border-radius:0 0 .25rem .25rem}.docs-algolia[_ngcontent-%COMP%] docs-algolia-icon[_ngcontent-%COMP%]{display:inline-flex;margin-block-start:.12rem;margin-inline-start:.15rem;width:4rem}/*# sourceMappingURL=search-dialog.component.css.map */'],changeDetection:0}),r})();export{fi as a,Ar as b,Cn as c,$l as d,cs as e,Gi as f,ql as g,En as h,Aa as i,Ma as j,Oa as k,Ra as l,ho as m,Bd as n,jd as o,fo as p,zd as q,Pa as r,Va as s,Ud as t,Na as u,Hd as v,Wn as w,Wd as x,Gd as y,$d as z,Zd as A,qd as B,Qd as C,Kd as D,Yd as E,ja as F,Jd as G,eu as H,Gn as I,Ha as J,tu as K,et as L,Il as M,ao as N,bu as O,vu as P,yu as Q,Tl as R,wu as S};