(window.webpackJsonp=window.webpackJsonp||[]).push([[2],[function(e,t,n){"use strict";n.r(t),function(e){n.d(t,"ANALYZE_FOR_ENTRY_COMPONENTS",(function(){return ac})),n.d(t,"APP_BOOTSTRAP_LISTENER",(function(){return Ub})),n.d(t,"APP_ID",(function(){return Pb})),n.d(t,"APP_INITIALIZER",(function(){return Ab})),n.d(t,"ApplicationInitStatus",(function(){return Nb})),n.d(t,"ApplicationModule",(function(){return Tk})),n.d(t,"ApplicationRef",(function(){return qv})),n.d(t,"Attribute",(function(){return x})),n.d(t,"COMPILER_OPTIONS",(function(){return sv})),n.d(t,"CUSTOM_ELEMENTS_SCHEMA",(function(){return Pr})),n.d(t,"ChangeDetectionStrategy",(function(){return Ee})),n.d(t,"ChangeDetectorRef",(function(){return Ks})),n.d(t,"Compiler",(function(){return ov})),n.d(t,"CompilerFactory",(function(){return lv})),n.d(t,"Component",(function(){return bb})),n.d(t,"ComponentFactory",(function(){return Hh})),n.d(t,"ComponentFactoryResolver",(function(){return Qh})),n.d(t,"ComponentRef",(function(){return Vh})),n.d(t,"ContentChild",(function(){return lc})),n.d(t,"ContentChildren",(function(){return sc})),n.d(t,"DEFAULT_CURRENCY_CODE",(function(){return Wb})),n.d(t,"DebugElement",(function(){return vk})),n.d(t,"DebugEventListener",(function(){return Jv})),n.d(t,"DebugNode",(function(){return bk})),n.d(t,"DefaultIterableDiffer",(function(){return up})),n.d(t,"Directive",(function(){return yb})),n.d(t,"ElementRef",(function(){return Jh})),n.d(t,"EmbeddedViewRef",(function(){return Zv})),n.d(t,"ErrorHandler",(function(){return Nr})),n.d(t,"EventEmitter",(function(){return cy})),n.d(t,"Host",(function(){return j})),n.d(t,"HostBinding",(function(){return _b})),n.d(t,"HostListener",(function(){return jb})),n.d(t,"INJECTOR",(function(){return ce})),n.d(t,"Inject",(function(){return v})),n.d(t,"InjectFlags",(function(){return y})),n.d(t,"Injectable",(function(){return dl})),n.d(t,"InjectionToken",(function(){return le})),n.d(t,"Injector",(function(){return zl})),n.d(t,"Input",(function(){return kb})),n.d(t,"IterableDiffers",(function(){return bp})),n.d(t,"KeyValueDiffers",(function(){return vp})),n.d(t,"LOCALE_ID",(function(){return Kb})),n.d(t,"MissingTranslationStrategy",(function(){return Bb})),n.d(t,"ModuleWithComponentFactories",(function(){return Zb})),n.d(t,"NO_ERRORS_SCHEMA",(function(){return Rr})),n.d(t,"NgModule",(function(){return zb})),n.d(t,"NgModuleFactory",(function(){return ze})),n.d(t,"NgModuleFactoryLoader",(function(){return Fv})),n.d(t,"NgModuleRef",(function(){return Oe})),n.d(t,"NgProbeToken",(function(){return zv})),n.d(t,"NgZone",(function(){return dv})),n.d(t,"Optional",(function(){return k})),n.d(t,"Output",(function(){return wb})),n.d(t,"PACKAGE_ROOT_URL",(function(){return Vb})),n.d(t,"PLATFORM_ID",(function(){return Fb})),n.d(t,"PLATFORM_INITIALIZER",(function(){return Lb})),n.d(t,"Pipe",(function(){return vb})),n.d(t,"PlatformRef",(function(){return Rv})),n.d(t,"Query",(function(){return oc})),n.d(t,"QueryList",(function(){return dy})),n.d(t,"ReflectiveInjector",(function(){return rc})),n.d(t,"ReflectiveKey",(function(){return Vl})),n.d(t,"Renderer2",(function(){return np})),n.d(t,"RendererFactory2",(function(){return tp})),n.d(t,"RendererStyleFlags2",(function(){return Zh})),n.d(t,"ResolvedReflectiveFactory",(function(){return $l})),n.d(t,"Sanitizer",(function(){return ap})),n.d(t,"SecurityContext",(function(){return ci})),n.d(t,"Self",(function(){return w})),n.d(t,"SimpleChange",(function(){return Ih})),n.d(t,"SkipSelf",(function(){return _})),n.d(t,"SystemJsNgModuleLoader",(function(){return Qv})),n.d(t,"SystemJsNgModuleLoaderConfig",(function(){return Wv})),n.d(t,"TRANSLATIONS",(function(){return Gb})),n.d(t,"TRANSLATIONS_FORMAT",(function(){return Qb})),n.d(t,"TemplateRef",(function(){return Cp})),n.d(t,"Testability",(function(){return vv})),n.d(t,"TestabilityRegistry",(function(){return kv})),n.d(t,"Type",(function(){return Qs})),n.d(t,"VERSION",(function(){return sp})),n.d(t,"Version",(function(){return op})),n.d(t,"ViewChild",(function(){return uc})),n.d(t,"ViewChildren",(function(){return cc})),n.d(t,"ViewContainerRef",(function(){return Sp})),n.d(t,"ViewEncapsulation",(function(){return Te})),n.d(t,"ViewRef",(function(){return Yv})),n.d(t,"WrappedValue",(function(){return _c})),n.d(t,"asNativeElements",(function(){return tk})),n.d(t,"assertPlatform",(function(){return Av})),n.d(t,"createPlatform",(function(){return Iv})),n.d(t,"createPlatformFactory",(function(){return Dv})),n.d(t,"defineInjectable",(function(){return O})),n.d(t,"destroyPlatform",(function(){return Nv})),n.d(t,"enableProdMode",(function(){return ei})),n.d(t,"forwardRef",(function(){return U})),n.d(t,"getDebugNode",(function(){return fk})),n.d(t,"getModuleFactory",(function(){return Hv})),n.d(t,"getPlatform",(function(){return Pv})),n.d(t,"inject",(function(){return ve})),n.d(t,"isDevMode",(function(){return Xr})),n.d(t,"platformCore",(function(){return kk})),n.d(t,"resolveForwardRef",(function(){return V})),n.d(t,"setTestabilityGetter",(function(){return wv})),n.d(t,"ɵ0",(function(){return b})),n.d(t,"ɵ1",(function(){return C})),n.d(t,"ɵALLOW_MULTIPLE_PLATFORMS",(function(){return Ov})),n.d(t,"ɵAPP_ID_RANDOM_PROVIDER",(function(){return Mb})),n.d(t,"ɵChangeDetectorStatus",(function(){return Se})),n.d(t,"ɵCodegenComponentFactoryResolver",(function(){return $h})),n.d(t,"ɵCompiler_compileModuleAndAllComponentsAsync__POST_R3__",(function(){return iv})),n.d(t,"ɵCompiler_compileModuleAndAllComponentsSync__POST_R3__",(function(){return nv})),n.d(t,"ɵCompiler_compileModuleAsync__POST_R3__",(function(){return ev})),n.d(t,"ɵCompiler_compileModuleSync__POST_R3__",(function(){return Jb})),n.d(t,"ɵComponentFactory",(function(){return Hh})),n.d(t,"ɵConsole",(function(){return Hb})),n.d(t,"ɵDEFAULT_LOCALE_ID",(function(){return Bm})),n.d(t,"ɵEMPTY_ARRAY",(function(){return jf})),n.d(t,"ɵEMPTY_MAP",(function(){return Cf})),n.d(t,"ɵINJECTOR_IMPL__POST_R3__",(function(){return Tl})),n.d(t,"ɵINJECTOR_SCOPE",(function(){return fl})),n.d(t,"ɵLifecycleHooksFeature",(function(){return kh})),n.d(t,"ɵLocaleDataIndex",(function(){return Om})),n.d(t,"ɵNG_COMP_DEF",(function(){return X})),n.d(t,"ɵNG_DIR_DEF",(function(){return ee})),n.d(t,"ɵNG_ELEMENT_ID",(function(){return ae})),n.d(t,"ɵNG_INJ_DEF",(function(){return P})),n.d(t,"ɵNG_MOD_DEF",(function(){return ne})),n.d(t,"ɵNG_PIPE_DEF",(function(){return te})),n.d(t,"ɵNG_PROV_DEF",(function(){return N})),n.d(t,"ɵNOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR",(function(){return gm})),n.d(t,"ɵNO_CHANGE",(function(){return fa})),n.d(t,"ɵNgModuleFactory",(function(){return qg})),n.d(t,"ɵNoopNgZone",(function(){return bv})),n.d(t,"ɵReflectionCapabilities",(function(){return el})),n.d(t,"ɵRender3ComponentFactory",(function(){return Em})),n.d(t,"ɵRender3ComponentRef",(function(){return Sm})),n.d(t,"ɵRender3NgModuleRef",(function(){return Mg})),n.d(t,"ɵSWITCH_CHANGE_DETECTOR_REF_FACTORY__POST_R3__",(function(){return Ws})),n.d(t,"ɵSWITCH_COMPILE_COMPONENT__POST_R3__",(function(){return Cb})),n.d(t,"ɵSWITCH_COMPILE_DIRECTIVE__POST_R3__",(function(){return xb})),n.d(t,"ɵSWITCH_COMPILE_INJECTABLE__POST_R3__",(function(){return hl})),n.d(t,"ɵSWITCH_COMPILE_NGMODULE__POST_R3__",(function(){return Ib})),n.d(t,"ɵSWITCH_COMPILE_PIPE__POST_R3__",(function(){return Eb})),n.d(t,"ɵSWITCH_ELEMENT_REF_FACTORY__POST_R3__",(function(){return Xh})),n.d(t,"ɵSWITCH_IVY_ENABLED__POST_R3__",(function(){return $b})),n.d(t,"ɵSWITCH_RENDERER2_FACTORY__POST_R3__",(function(){return rp})),n.d(t,"ɵSWITCH_TEMPLATE_REF_FACTORY__POST_R3__",(function(){return xp})),n.d(t,"ɵSWITCH_VIEW_CONTAINER_REF_FACTORY__POST_R3__",(function(){return Tp})),n.d(t,"ɵ_sanitizeHtml",(function(){return Si})),n.d(t,"ɵ_sanitizeStyle",(function(){return Ii})),n.d(t,"ɵ_sanitizeUrl",(function(){return ii})),n.d(t,"ɵallowSanitizationBypassAndThrow",(function(){return Hr})),n.d(t,"ɵand",(function(){return Ok})),n.d(t,"ɵangular_packages_core_core_a",(function(){return H})),n.d(t,"ɵangular_packages_core_core_b",(function(){return ge})),n.d(t,"ɵangular_packages_core_core_ba",(function(){return on})),n.d(t,"ɵangular_packages_core_core_bb",(function(){return cn})),n.d(t,"ɵangular_packages_core_core_bc",(function(){return mn})),n.d(t,"ɵangular_packages_core_core_bd",(function(){return Dn})),n.d(t,"ɵangular_packages_core_core_bf",(function(){return Yg})),n.d(t,"ɵangular_packages_core_core_bg",(function(){return Zg})),n.d(t,"ɵangular_packages_core_core_bh",(function(){return Jg})),n.d(t,"ɵangular_packages_core_core_bi",(function(){return Xg})),n.d(t,"ɵangular_packages_core_core_bj",(function(){return ey})),n.d(t,"ɵangular_packages_core_core_bk",(function(){return Mi})),n.d(t,"ɵangular_packages_core_core_bl",(function(){return m})),n.d(t,"ɵangular_packages_core_core_bm",(function(){return g})),n.d(t,"ɵangular_packages_core_core_bn",(function(){return E})),n.d(t,"ɵangular_packages_core_core_bp",(function(){return c})),n.d(t,"ɵangular_packages_core_core_bq",(function(){return ya})),n.d(t,"ɵangular_packages_core_core_c",(function(){return _e})),n.d(t,"ɵangular_packages_core_core_d",(function(){return ic})),n.d(t,"ɵangular_packages_core_core_e",(function(){return Wl})),n.d(t,"ɵangular_packages_core_core_f",(function(){return Jl})),n.d(t,"ɵangular_packages_core_core_g",(function(){return Rb})),n.d(t,"ɵangular_packages_core_core_h",(function(){return Fs})),n.d(t,"ɵangular_packages_core_core_i",(function(){return Us})),n.d(t,"ɵangular_packages_core_core_j",(function(){return Uv})),n.d(t,"ɵangular_packages_core_core_k",(function(){return Xv})),n.d(t,"ɵangular_packages_core_core_l",(function(){return ek})),n.d(t,"ɵangular_packages_core_core_m",(function(){return mk})),n.d(t,"ɵangular_packages_core_core_n",(function(){return lp})),n.d(t,"ɵangular_packages_core_core_o",(function(){return mp})),n.d(t,"ɵangular_packages_core_core_p",(function(){return wk})),n.d(t,"ɵangular_packages_core_core_q",(function(){return _k})),n.d(t,"ɵangular_packages_core_core_r",(function(){return jk})),n.d(t,"ɵangular_packages_core_core_s",(function(){return xk})),n.d(t,"ɵangular_packages_core_core_t",(function(){return Ek})),n.d(t,"ɵangular_packages_core_core_u",(function(){return Lm})),n.d(t,"ɵangular_packages_core_core_v",(function(){return cm})),n.d(t,"ɵangular_packages_core_core_w",(function(){return Lp})),n.d(t,"ɵangular_packages_core_core_x",(function(){return xm})),n.d(t,"ɵangular_packages_core_core_y",(function(){return kr})),n.d(t,"ɵangular_packages_core_core_z",(function(){return tn})),n.d(t,"ɵbypassSanitizationTrustHtml",(function(){return Wr})),n.d(t,"ɵbypassSanitizationTrustResourceUrl",(function(){return Yr})),n.d(t,"ɵbypassSanitizationTrustScript",(function(){return Qr})),n.d(t,"ɵbypassSanitizationTrustStyle",(function(){return Gr})),n.d(t,"ɵbypassSanitizationTrustUrl",(function(){return $r})),n.d(t,"ɵccf",(function(){return qf})),n.d(t,"ɵclearOverrides",(function(){return r_})),n.d(t,"ɵclearResolutionOfComponentResourcesQueue",(function(){return mc})),n.d(t,"ɵcmf",(function(){return i_})),n.d(t,"ɵcompileComponent",(function(){return tb})),n.d(t,"ɵcompileDirective",(function(){return nb})),n.d(t,"ɵcompileNgModule",(function(){return Fy})),n.d(t,"ɵcompileNgModuleDefs",(function(){return Uy})),n.d(t,"ɵcompileNgModuleFactory__POST_R3__",(function(){return xv})),n.d(t,"ɵcompilePipe",(function(){return mb})),n.d(t,"ɵcreateInjector",(function(){return kl})),n.d(t,"ɵcrt",(function(){return Wp})),n.d(t,"ɵdefaultIterableDiffers",(function(){return _p})),n.d(t,"ɵdefaultKeyValueDiffers",(function(){return jp})),n.d(t,"ɵdetectChanges",(function(){return Yc})),n.d(t,"ɵdevModeEqual",(function(){return wc})),n.d(t,"ɵdid",(function(){return om})),n.d(t,"ɵeld",(function(){return zk})),n.d(t,"ɵfindLocaleData",(function(){return Am})),n.d(t,"ɵflushModuleScopingQueueAsMuchAsPossible",(function(){return By})),n.d(t,"ɵgetComponentViewDefinitionFactory",(function(){return Bf})),n.d(t,"ɵgetDebugNodeR2",(function(){return gk})),n.d(t,"ɵgetDebugNode__POST_R3__",(function(){return pk})),n.d(t,"ɵgetDirectives",(function(){return oh})),n.d(t,"ɵgetHostElement",(function(){return lh})),n.d(t,"ɵgetInjectableDef",(function(){return I})),n.d(t,"ɵgetLContext",(function(){return Wi})),n.d(t,"ɵgetLocaleCurrencyCode",(function(){return Nm})),n.d(t,"ɵgetLocalePluralCase",(function(){return Pm})),n.d(t,"ɵgetModuleFactory__POST_R3__",(function(){return Vv})),n.d(t,"ɵgetSanitizationBypassType",(function(){return Kr})),n.d(t,"ɵglobal",(function(){return Z})),n.d(t,"ɵinitServicesIfNeeded",(function(){return yw})),n.d(t,"ɵinlineInterpolate",(function(){return wf})),n.d(t,"ɵinterpolate",(function(){return kf})),n.d(t,"ɵisBoundToModule__POST_R3__",(function(){return Tv})),n.d(t,"ɵisDefaultChangeDetectionStrategy",(function(){return tt})),n.d(t,"ɵisListLikeIterable",(function(){return jc})),n.d(t,"ɵisObservable",(function(){return mu})),n.d(t,"ɵisPromise",(function(){return fu})),n.d(t,"ɵivyEnabled",(function(){return Yb})),n.d(t,"ɵlooseIdentical",(function(){return kc})),n.d(t,"ɵmakeDecorator",(function(){return p})),n.d(t,"ɵmarkDirty",(function(){return Zc})),n.d(t,"ɵmod",(function(){return zf})),n.d(t,"ɵmpd",(function(){return Of})),n.d(t,"ɵncd",(function(){return Lk})),n.d(t,"ɵnov",(function(){return Yf})),n.d(t,"ɵoverrideComponentView",(function(){return n_})),n.d(t,"ɵoverrideProvider",(function(){return t_})),n.d(t,"ɵpad",(function(){return Vk})),n.d(t,"ɵpatchComponentDefWithScope",(function(){return Zy})),n.d(t,"ɵpid",(function(){return sm})),n.d(t,"ɵpod",(function(){return Hk})),n.d(t,"ɵppd",(function(){return Uk})),n.d(t,"ɵprd",(function(){return lm})),n.d(t,"ɵpublishDefaultGlobalUtils",(function(){return fh})),n.d(t,"ɵpublishGlobalUtil",(function(){return mh})),n.d(t,"ɵqud",(function(){return Pk})),n.d(t,"ɵregisterLocaleData",(function(){return Dm})),n.d(t,"ɵregisterModuleFactory",(function(){return Ag})),n.d(t,"ɵregisterNgModuleType",(function(){return Pg})),n.d(t,"ɵrenderComponent",(function(){return gh})),n.d(t,"ɵresetCompiledComponents",(function(){return Qy})),n.d(t,"ɵresetJitOptions",(function(){return Py})),n.d(t,"ɵresolveComponentResources",(function(){return dc})),n.d(t,"ɵsetClassMetadata",(function(){return Ig})),n.d(t,"ɵsetCurrentInjector",(function(){return fe})),n.d(t,"ɵsetDocument",(function(){return Mt})),n.d(t,"ɵsetLocaleId",(function(){return zg})),n.d(t,"ɵstore",(function(){return Xc})),n.d(t,"ɵstringify",(function(){return B})),n.d(t,"ɵted",(function(){return Wk})),n.d(t,"ɵtransitiveScopesFor",(function(){return Jy})),n.d(t,"ɵunregisterLocaleData",(function(){return Mm})),n.d(t,"ɵunv",(function(){return Kp})),n.d(t,"ɵunwrapSafeValue",(function(){return Vr})),n.d(t,"ɵvid",(function(){return $k})),n.d(t,"ɵwhenRendered",(function(){return wh})),n.d(t,"ɵɵCopyDefinitionFeature",(function(){return zh})),n.d(t,"ɵɵInheritDefinitionFeature",(function(){return jh})),n.d(t,"ɵɵNgOnChangesFeature",(function(){return Dh})),n.d(t,"ɵɵProvidersFeature",(function(){return Uh})),n.d(t,"ɵɵadvance",(function(){return wa})),n.d(t,"ɵɵattribute",(function(){return Ic})),n.d(t,"ɵɵattributeInterpolate1",(function(){return Fc})),n.d(t,"ɵɵattributeInterpolate2",(function(){return Uc})),n.d(t,"ɵɵattributeInterpolate3",(function(){return Vc})),n.d(t,"ɵɵattributeInterpolate4",(function(){return Hc})),n.d(t,"ɵɵattributeInterpolate5",(function(){return Kc})),n.d(t,"ɵɵattributeInterpolate6",(function(){return Wc})),n.d(t,"ɵɵattributeInterpolate7",(function(){return Gc})),n.d(t,"ɵɵattributeInterpolate8",(function(){return Qc})),n.d(t,"ɵɵattributeInterpolateV",(function(){return $c})),n.d(t,"ɵɵclassMap",(function(){return nd})),n.d(t,"ɵɵclassMapInterpolate1",(function(){return Ed})),n.d(t,"ɵɵclassMapInterpolate2",(function(){return Sd})),n.d(t,"ɵɵclassMapInterpolate3",(function(){return Td})),n.d(t,"ɵɵclassMapInterpolate4",(function(){return Od})),n.d(t,"ɵɵclassMapInterpolate5",(function(){return zd})),n.d(t,"ɵɵclassMapInterpolate6",(function(){return Id})),n.d(t,"ɵɵclassMapInterpolate7",(function(){return Dd})),n.d(t,"ɵɵclassMapInterpolate8",(function(){return Ad})),n.d(t,"ɵɵclassMapInterpolateV",(function(){return Nd})),n.d(t,"ɵɵclassProp",(function(){return Xu})),n.d(t,"ɵɵcomponentHostSyntheticListener",(function(){return yu})),n.d(t,"ɵɵcontentQuery",(function(){return Cy})),n.d(t,"ɵɵdefaultStyleSanitizer",(function(){return Bi})),n.d(t,"ɵɵdefineComponent",(function(){return at})),n.d(t,"ɵɵdefineDirective",(function(){return pt})),n.d(t,"ɵɵdefineInjectable",(function(){return T})),n.d(t,"ɵɵdefineInjector",(function(){return z})),n.d(t,"ɵɵdefineNgModule",(function(){return ut})),n.d(t,"ɵɵdefinePipe",(function(){return ft})),n.d(t,"ɵɵdirectiveInject",(function(){return tu})),n.d(t,"ɵɵdisableBindings",(function(){return an})),n.d(t,"ɵɵelement",(function(){return cu})),n.d(t,"ɵɵelementContainer",(function(){return hu})),n.d(t,"ɵɵelementContainerEnd",(function(){return du})),n.d(t,"ɵɵelementContainerStart",(function(){return uu})),n.d(t,"ɵɵelementEnd",(function(){return lu})),n.d(t,"ɵɵelementStart",(function(){return su})),n.d(t,"ɵɵenableBindings",(function(){return rn})),n.d(t,"ɵɵgetCurrentView",(function(){return pu})),n.d(t,"ɵɵgetFactoryOf",(function(){return Or})),n.d(t,"ɵɵgetInheritedFactory",(function(){return zr})),n.d(t,"ɵɵhostProperty",(function(){return Xd})),n.d(t,"ɵɵi18n",(function(){return bg})),n.d(t,"ɵɵi18nApply",(function(){return jg})),n.d(t,"ɵɵi18nAttributes",(function(){return vg})),n.d(t,"ɵɵi18nEnd",(function(){return fg})),n.d(t,"ɵɵi18nExp",(function(){return _g})),n.d(t,"ɵɵi18nPostprocess",(function(){return pg})),n.d(t,"ɵɵi18nStart",(function(){return cg})),n.d(t,"ɵɵinject",(function(){return ye})),n.d(t,"ɵɵinjectAttribute",(function(){return nu})),n.d(t,"ɵɵinjectPipeChangeDetectorRef",(function(){return Dy})),n.d(t,"ɵɵinvalidFactory",(function(){return ru})),n.d(t,"ɵɵinvalidFactoryDep",(function(){return be})),n.d(t,"ɵɵlistener",(function(){return gu})),n.d(t,"ɵɵloadQuery",(function(){return Sy})),n.d(t,"ɵɵnamespaceHTML",(function(){return qn})),n.d(t,"ɵɵnamespaceMathML",(function(){return Mn})),n.d(t,"ɵɵnamespaceSVG",(function(){return Rn})),n.d(t,"ɵɵnextContext",(function(){return wu})),n.d(t,"ɵɵpipe",(function(){return ty})),n.d(t,"ɵɵpipeBind1",(function(){return ny})),n.d(t,"ɵɵpipeBind2",(function(){return ry})),n.d(t,"ɵɵpipeBind3",(function(){return iy})),n.d(t,"ɵɵpipeBind4",(function(){return ay})),n.d(t,"ɵɵpipeBindV",(function(){return oy})),n.d(t,"ɵɵprojection",(function(){return Eu})),n.d(t,"ɵɵprojectionDef",(function(){return ju})),n.d(t,"ɵɵproperty",(function(){return iu})),n.d(t,"ɵɵpropertyInterpolate",(function(){return Su})),n.d(t,"ɵɵpropertyInterpolate1",(function(){return Tu})),n.d(t,"ɵɵpropertyInterpolate2",(function(){return Ou})),n.d(t,"ɵɵpropertyInterpolate3",(function(){return zu})),n.d(t,"ɵɵpropertyInterpolate4",(function(){return Iu})),n.d(t,"ɵɵpropertyInterpolate5",(function(){return Du})),n.d(t,"ɵɵpropertyInterpolate6",(function(){return Au})),n.d(t,"ɵɵpropertyInterpolate7",(function(){return Nu})),n.d(t,"ɵɵpropertyInterpolate8",(function(){return Pu})),n.d(t,"ɵɵpropertyInterpolateV",(function(){return Ru})),n.d(t,"ɵɵpureFunction0",(function(){return Bg})),n.d(t,"ɵɵpureFunction1",(function(){return Lg})),n.d(t,"ɵɵpureFunction2",(function(){return Fg})),n.d(t,"ɵɵpureFunction3",(function(){return Ug})),n.d(t,"ɵɵpureFunction4",(function(){return Vg})),n.d(t,"ɵɵpureFunction5",(function(){return Hg})),n.d(t,"ɵɵpureFunction6",(function(){return Kg})),n.d(t,"ɵɵpureFunction7",(function(){return Wg})),n.d(t,"ɵɵpureFunction8",(function(){return Gg})),n.d(t,"ɵɵpureFunctionV",(function(){return Qg})),n.d(t,"ɵɵqueryRefresh",(function(){return ky})),n.d(t,"ɵɵreference",(function(){return eu})),n.d(t,"ɵɵresolveBody",(function(){return ur})),n.d(t,"ɵɵresolveDocument",(function(){return cr})),n.d(t,"ɵɵresolveWindow",(function(){return lr})),n.d(t,"ɵɵrestoreView",(function(){return ln})),n.d(t,"ɵɵsanitizeHtml",(function(){return Di})),n.d(t,"ɵɵsanitizeResourceUrl",(function(){return Pi})),n.d(t,"ɵɵsanitizeScript",(function(){return Ri})),n.d(t,"ɵɵsanitizeStyle",(function(){return Ai})),n.d(t,"ɵɵsanitizeUrl",(function(){return Ni})),n.d(t,"ɵɵsanitizeUrlOrResourceUrl",(function(){return qi})),n.d(t,"ɵɵselect",(function(){return _a})),n.d(t,"ɵɵsetComponentScope",(function(){return ot})),n.d(t,"ɵɵsetNgModuleScope",(function(){return dt})),n.d(t,"ɵɵstaticContentQuery",(function(){return xy})),n.d(t,"ɵɵstaticViewQuery",(function(){return wy})),n.d(t,"ɵɵstyleMap",(function(){return ed})),n.d(t,"ɵɵstyleMapInterpolate1",(function(){return Pd})),n.d(t,"ɵɵstyleMapInterpolate2",(function(){return Rd})),n.d(t,"ɵɵstyleMapInterpolate3",(function(){return Md})),n.d(t,"ɵɵstyleMapInterpolate4",(function(){return qd})),n.d(t,"ɵɵstyleMapInterpolate5",(function(){return Bd})),n.d(t,"ɵɵstyleMapInterpolate6",(function(){return Ld})),n.d(t,"ɵɵstyleMapInterpolate7",(function(){return Fd})),n.d(t,"ɵɵstyleMapInterpolate8",(function(){return Ud})),n.d(t,"ɵɵstyleMapInterpolateV",(function(){return Vd})),n.d(t,"ɵɵstyleProp",(function(){return Ju})),n.d(t,"ɵɵstylePropInterpolate1",(function(){return Hd})),n.d(t,"ɵɵstylePropInterpolate2",(function(){return Kd})),n.d(t,"ɵɵstylePropInterpolate3",(function(){return Wd})),n.d(t,"ɵɵstylePropInterpolate4",(function(){return Gd})),n.d(t,"ɵɵstylePropInterpolate5",(function(){return Qd})),n.d(t,"ɵɵstylePropInterpolate6",(function(){return $d})),n.d(t,"ɵɵstylePropInterpolate7",(function(){return Yd})),n.d(t,"ɵɵstylePropInterpolate8",(function(){return Zd})),n.d(t,"ɵɵstylePropInterpolateV",(function(){return Jd})),n.d(t,"ɵɵstyleSanitizer",(function(){return Zu})),n.d(t,"ɵɵtemplate",(function(){return Jc})),n.d(t,"ɵɵtemplateRefExtractor",(function(){return Iy})),n.d(t,"ɵɵtext",(function(){return md})),n.d(t,"ɵɵtextInterpolate",(function(){return gd})),n.d(t,"ɵɵtextInterpolate1",(function(){return yd})),n.d(t,"ɵɵtextInterpolate2",(function(){return bd})),n.d(t,"ɵɵtextInterpolate3",(function(){return vd})),n.d(t,"ɵɵtextInterpolate4",(function(){return kd})),n.d(t,"ɵɵtextInterpolate5",(function(){return wd})),n.d(t,"ɵɵtextInterpolate6",(function(){return _d})),n.d(t,"ɵɵtextInterpolate7",(function(){return jd})),n.d(t,"ɵɵtextInterpolate8",(function(){return Cd})),n.d(t,"ɵɵtextInterpolateV",(function(){return xd})),n.d(t,"ɵɵupdateSyntheticHostBinding",(function(){return eh})),n.d(t,"ɵɵviewQuery",(function(){return _y}));var r=n(1),i=n(54),a=n(147),o=n(32),s=n(1103),l=n(1104); /** * @license Angular v9.1.12 * (c) 2010-2020 Google LLC. https://angular.io/ * License: MIT */ /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ function c(e){return{toString:e}.toString()} /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */var u="__annotations__",d="__parameters__",h="__prop__metadata__";function p(e,t,n,i,a){return c((function(){var o=f(t);function s(){for(var e,t=[],n=0;n ");else if("object"==typeof t){var a=[];for(var o in t)if(t.hasOwnProperty(o)){var s=t[o];a.push(o+":"+("string"==typeof s?JSON.stringify(s):B(s)))}i="{"+a.join(", ")+"}"}return n+(r?"("+r+")":"")+"["+i+"]: "+e.replace(de,"\n ")} /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */var xe={"ɵɵdefineInjectable":T,"ɵɵdefineInjector":z,"ɵɵinject":ye,"ɵɵgetFactoryOf":function e(t){var n=t;if(H(t))return function(){var t=e(V(n));return t?t():null};var r=I(n)||A(n);if(!r||void 0===r.factory)return null;return r.factory} /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */,"ɵɵinvalidFactoryDep":be};var Ee,Se,Te,Oe=function(){},ze=function(){}; /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ function Ie(e,t){"number"!=typeof e&&Ue(t,typeof e,"number","===")}function De(e,t,n){Ie(e,"Expected a number"),Be(e,n,"Expected number to be less than or equal to"),function(e,t,n){e>=t||Ue(n,e,t,">=")}(e,t,"Expected number to be greater than or equal to")}function Ae(e,t){"string"!=typeof e&&Ue(t,null===e?"null":typeof e,"string","===")}function Ne(e,t,n){e!=t&&Ue(n,e,t,"==")}function Pe(e,t,n){e==t&&Ue(n,e,t,"!=")}function Re(e,t,n){e!==t&&Ue(n,e,t,"===")}function Me(e,t,n){e===t&&Ue(n,e,t,"!==")}function qe(e,t,n){et||Ue(n,e,t,">")}function Fe(e,t){null==e&&Ue(t,e,null,"!=")}function Ue(e,t,n,r){throw new Error("ASSERTION ERROR: "+e+(null==r?"":" [Expected=> "+n+" "+r+" "+t+" <=Actual]"))}function Ve(e){Ne("undefined"!=typeof Node&&e instanceof Node||"object"==typeof e&&null!=e&&"WebWorkerRenderNode"===e.constructor.name,!0,"The provided value must be an instance of a DOM Node but got "+B(e))}function He(e,t){var n=e?e.length:0;qe(t,n,"Index expected to be less than "+n+" but got "+t)} /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */function Ke(e,t){for(var n=0;n=e.length?e.push(n):e.splice(t,0,n)}function $e(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Ye(e,t){for(var n=[],r=0;r=0?e[1|r]=n:function(e,t,n,r){ngDevMode&&Be(t,e.length,"Can't insert past array end.");var i=e.length;if(i==t)e.push(n,r);else if(1===i)e.push(r,e[0]),e[0]=n;else{for(i--,e.push(e[i-1],e[i]);i>t;){var a=i-2;e[i]=e[a],i--}e[t]=n,e[t+1]=r}}(e,r=~r,t,n),r}function Je(e,t){var n=Xe(e,t);if(n>=0)return e[1|n]}function Xe(e,t){return et(e,t,1)}function et(e,t,n){ngDevMode&&Ne(Array.isArray(e),!0,"Expecting an array");for(var r=0,i=e.length>>n;i!==r;){var a=r+(i-r>>1),o=e[a<t?i=a:r=a+1}return~(i<0;)ngDevMode&&Fe(t[15],"Declaration view should be defined if nesting level is greater than 0."),t=t[15],e--;return t}(e,tn.lFrame.contextLView))[8]}function An(){return tn.lFrame.selectedIndex}function Nn(e){tn.lFrame.selectedIndex=e}function Pn(){var e=tn.lFrame;return Kt(e.tView,e.selectedIndex)}function Rn(){tn.lFrame.currentNamespace="http://www.w3.org/2000/svg"}function Mn(){tn.lFrame.currentNamespace="http://www.w3.org/1998/MathML/"}function qn(){tn.lFrame.currentNamespace=null}function Bn(e){tn.lFrame.currentSanitizer=e}function Ln(e,t){ngDevMode&&At(e);for(var n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[o]<0&&(e[18]+=65536),(a>11>16&&(3&e[2])===t&&(e[2]+=2048,a.call(o)):a.call(o)} /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */var Wn=function(e,t,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=n}; /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ function Gn(e,t){Fe(e,"should be called with a TNode"),Ne(e.type,t,"should be a "+$n(t))}function Qn(e){for(var t=[],n=1;n"}function Yn(e,t,n){for(var r=Bt(e),i=0;it){o=a-1;break}}}for(;a>16}function ir(e,t){for(var n=rr(e),r=t;n>0;)r=r[15],n--;return r} /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */function ar(e){return"string"==typeof e?e:null==e?"":""+e}function or(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():ar(e)}var sr=("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Z);function lr(e){return{name:"window",target:e.ownerDocument.defaultView}}function cr(e){return{name:"document",target:e.ownerDocument}}function ur(e){return{name:"body",target:e.ownerDocument.body}}function dr(e){return e instanceof Function?e():e} /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */var hr=!0;function pr(e){var t=hr;return hr=e,t}var fr=0;function mr(e,t){var n=yr(e,t);if(-1!==n)return n;var r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,gr(r.data,e),gr(t,null),gr(r.blueprint,null));var i=br(e,t),a=e.injectorIndex;if(tr(i))for(var o=nr(i),s=ir(i,t),l=s[1].data,c=0;c<8;c++)t[a+c]=s[o+c]|l[o+c];return t[a+8]=i,a}function gr(e,t){e.push(0,0,0,0,0,0,0,0,t)}function yr(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null==t[e.injectorIndex+8]?-1:e.injectorIndex}function br(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;for(var n=t[6],r=1;n&&-1===n.injectorIndex;)n=(t=t[15])?t[6]:null,r++;return n?n.injectorIndex|r<<16:-1}function vr(e,t,n){!function(e,t,n){ngDevMode&&Ne(t.firstCreatePass,!0,"expected firstCreatePass to be true");var r="string"!=typeof n?n[ae]:n.charCodeAt(0)||0;null==r&&(r=n[ae]=fr++);var i=255&r,a=1<0?255&t:t}(n);if("function"==typeof a){xn(t,e);try{var o=a();if(null!=o||r&y.Optional)return o;throw new Error("No provider for "+or(n)+"!")}finally{zn()}}else if("number"==typeof a){if(-1===a)return new Tr(e,t);var s=null,l=yr(e,t),c=-1,u=r&y.Host?t[16][6]:null;for((-1===l||r&y.SkipSelf)&&(c=-1===l?br(e,t):t[l+8],Sr(r,!1)?(s=t[1],l=nr(c),t=ir(c,t)):l=-1);-1!==l;){c=t[l+8];var d=t[1];if(Er(a,l,d.data)){var h=jr(l,t,n,s,r,u);if(h!==_r)return h}Sr(r,t[1].data[l+8]===u)&&Er(a,l,t)?(s=d,l=nr(c),t=ir(c,t)):l=-1}}}if(r&y.Optional&&void 0===i&&(i=null),0==(r&(y.Self|y.Host))){var p=t[9],f=me(void 0);try{return p?p.get(n,i,r&y.Optional):ke(n,i,r&y.Optional)}finally{me(f)}}if(r&y.Optional)return i;throw new Error("NodeInjector: NOT_FOUND ["+or(n)+"]")}var _r={};function jr(e,t,n,r,i,a){var o=t[1],s=o.data[e+8],l=Cr(s,o,n,null==r?jt(s)&&hr:r!=o&&3===s.type,i&y.Host&&a===s);return null!==l?xr(t,o,l,s):_r}function Cr(e,t,n,r,i){for(var a=e.providerIndexes,o=t.data,s=65535&a,l=e.directiveStart,c=e.directiveEnd,u=a>>16,d=i?s+u:c,h=r?s:s+u;h=l&&p.type===n)return h}if(i){var f=o[l];if(f&&xt(f)&&f.type===n)return l}return null}function xr(e,t,n,r){var i=e[n],a=t.data;if(i instanceof Wn){var o=i;if(o.resolving)throw new Error("Circular dep for "+or(a[n]));var s=pr(o.canSeeViewProviders);o.resolving=!0;var l=void 0;o.injectImpl&&(l=me(o.injectImpl)),xn(e,r);try{i=e[n]=o.factory(void 0,a,e,r),t.firstCreatePass&&n>=r.directiveStart&&(ngDevMode&&function(e){void 0!==e.type&&null!=e.selectors&&void 0!==e.inputs||Ue("Expected a DirectiveDef/ComponentDef and this object does not seem to have the expected shape.")}(a[n]), /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ function(e,t,n){ngDevMode&&At(n);var r=t.onChanges,i=t.onInit,a=t.doCheck;r&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,r),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,r)),i&&(n.preOrderHooks||(n.preOrderHooks=[])).push(-e,i),a&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,a),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,a))}(n,a[n],t))}finally{o.injectImpl&&me(l),pr(s),o.resolving=!1,zn()}}return i}function Er(e,t,n){var r=1<',!t.querySelector||t.querySelector("svg")?(t.innerHTML='

',t.querySelector&&t.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(e){return!1}} /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */()?this.getInertBodyElement=this.getInertBodyElement_DOMParser:this.getInertBodyElement=this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}return e.prototype.getInertBodyElement_XHR=function(e){e=""+e+"";try{e=encodeURI(e)}catch(r){return null}var t=new XMLHttpRequest;t.responseType="document",t.open("GET","data:text/html;charset=utf-8,"+e,!1),t.send(void 0);var n=t.response.body;return n.removeChild(n.firstChild),n},e.prototype.getInertBodyElement_DOMParser=function(e){e=""+e+"";try{var t=(new window.DOMParser).parseFromString(e,"text/html").body;return t.removeChild(t.firstChild),t}catch(n){return null}},e.prototype.getInertBodyElement_InertDocument=function(e){var t=this.inertDocument.createElement("template");if("content"in t)return t.innerHTML=e,t;var n=this.inertDocument.createElement("body");return n.innerHTML=e,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n},e.prototype.stripCustomNsAttrs=function(e){for(var t=e.attributes,n=t.length-1;0"),!0},e.prototype.endElement=function(e){var t=e.nodeName.toLowerCase();gi.hasOwnProperty(t)&&!ui.hasOwnProperty(t)&&(this.buf.push(""))},e.prototype.chars=function(e){this.buf.push(Ei(e))},e.prototype.checkClobberedElement=function(e,t){if(t&&(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: "+e.outerHTML);return t},e}(),Ci=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,xi=/([^\#-~ |!])/g;function Ei(e){return e.replace(/&/g,"&").replace(Ci,(function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"})).replace(xi,(function(e){return"&#"+e.charCodeAt(0)+";"})).replace(//g,">")}function Si(e,t){var n=null;try{li=li||new ti(e);var r=t?String(t):"";n=li.getInertBodyElement(r);var i=5,a=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=a,a=n.innerHTML,n=li.getInertBodyElement(r)}while(r!==a);var o=new ji,s=o.sanitizeChildren(Ti(n)||n);return Xr()&&o.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),s}finally{if(n)for(var l=Ti(n)||n;l.firstChild;)l.removeChild(l.firstChild)}}function Ti(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName} /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */(e)?e.content:null}!function(e){e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL"}(ci||(ci={})); /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ var Oi=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|Z|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:attr|calc|var))\\([-0-9.%, #a-zA-Z]+\\))$","g"),zi=/^url\(([^)]+)\)$/;function Ii(e){if(!(e=String(e).trim()))return"";var t=e.match(zi);return t&&ii(t[1])===t[1]||e.match(Oi)&&function(e){for(var t=!0,n=!0,r=0;r=0){var f;$i(f=Ft(r[p]),l=Gi(r,p,f)),n=l;break}}}}return n||null}function Gi(e,t,n){return{lView:e,nodeIndex:t,native:n,component:void 0,directives:void 0,localRefs:void 0}}function Qi(e){var t,n=Qt(e);if(Array.isArray(n)){var r=Ji(n,e);(i=Gi(n,r,(t=Gt(r,n))[0])).component=e,$i(e,i),$i(i.native,i)}else{var i;t=Gt((i=n).nodeIndex,i.lView)}return t}function $i(e,t){e.__ngContext__=t}function Yi(e,t){for(var n=e[1].firstChild;n;){if(Ht(n,e)===t)return n.index;n=Zi(n)}return-1}function Zi(e){if(e.child)return e.child;if(e.next)return e.next;for(;e.parent&&!e.parent.next;)e=e.parent;return e.parent&&e.parent.next}function Ji(e,t){var n=e[1].components;if(n)for(var r=0;ra?d="":(ngDevMode&&Pe(i[u],0,"We do not match directives on namespaced attributes"),d=i[u+1].toLowerCase());var h=8&r?d:null;if(h&&-1!==ra(h,c,0)||2&r&&c!==d){if(la(r))return!1;o=!0}}}}else{if(!o&&!la(r)&&!la(l))return!1;if(o&&la(l))continue;o=!1,r=l|1&r}}return la(r)||o}function la(e){return 0==(1&e)}function ca(e,t,n,r){if(null===t)return-1;var i=0;if(r||!n){for(var a=!1;i-1)for(n++;n0?'="'+s+'"':"")+"]"}else 8&r?i+="."+o:4&r&&(i+=" "+o);else""===i||la(o)||(t+=ha(a,i),i=""),r=o,a=a||!la(r);n++}return""!==i&&(t+=ha(a,i)),t} /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ var fa="undefined"==typeof ngDevMode||ngDevMode?{__brand__:"NO_CHANGE"}:{}; /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */function ma(e){ngDevMode&&Dt(e);var t=e[3];return wt(t)?t[3]:t}function ga(e){ngDevMode&&Fe(e,"component");for(var t=kt(e)?e:$t(e);t&&!(512&t[2]);)t=ma(t);return ngDevMode&&Dt(t),t}function ya(e){var t=ga(e);return ngDevMode&&Fe(t[8],"RootView has no context. Perhaps it is disconnected?"),t[8]}function ba(e){return ka(e[13])}function va(e){return ka(e[4])}function ka(e){for(;null!==e&&!wt(e);)e=e[4];return e} /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */function wa(e){ngDevMode&&Le(e,0,"Can only advance forward"),ja(sn(),on(),An()+e,pn())}function _a(e){ja(sn(),on(),e,pn())}function ja(e,t,n,r){if(ngDevMode&&Le(n,-1,"Invalid index"),ngDevMode&&He(t,n+20),!r)if(3==(3&t[2])){var i=e.preOrderCheckHooks;null!==i&&Fn(t,i,n)}else{var a=e.preOrderHooks;null!==a&&Un(t,a,0,n)}Nn(n)} /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */var Ca={marker:"element"},xa={marker:"comment"}; /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ function Ea(e,t){return ngDevMode&&De(e,0,32767),ngDevMode&&De(t,0,32767),e<<17|t<<2}function Sa(e){return ngDevMode&&Ie(e,"expected number"),e>>17&32767}function Ta(e){return ngDevMode&&Ie(e,"expected number"),2==(2&e)}function Oa(e){return ngDevMode&&Ie(e,"expected number"),2|e}function za(e){return ngDevMode&&Ie(e,"expected number"),(131068&e)>>2}function Ia(e,t){return ngDevMode&&Ie(e,"expected number"),ngDevMode&&De(t,0,32767),-131069&e|t<<2}function Da(e){return ngDevMode&&Ie(e,"expected number"),1==(1&e)}function Aa(e){return ngDevMode&&Ie(e,"expected number"),1|e} /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ function Na(e,t){Object.defineProperty(e,"debug",{value:t,enumerable:!1})} /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */var Pa,Ra,Ma,qa=("undefined"==typeof ngDevMode||!!ngDevMode)&&oe();function Ba(e){return function(e,t){switch(e){case 0:return void 0===Ma&&(Ma=new(Ui("LRootView"))),Ma;case 1:void 0===Pa&&(Pa=new Map);var n=Pa.get(t);return void 0===n&&(n=new(Ui("LComponentView"+La(t))),Pa.set(t,n)),n;case 2:void 0===Ra&&(Ra=new Map);var r=Ra.get(t);return void 0===r&&(r=new(Ui("LEmbeddedView"+La(t))),Ra.set(t,r)),r}throw new Error("unreachable code")}(e.type,e.template&&e.template.name).concat(e.blueprint)}function La(e){if(null==e)return"";var t=e.lastIndexOf("_Template");return"_"+(-1===t?e:e.substr(0,t))}var Fa=function(){function e(e,t,n,r,i,a,o,s,l,c,u,d,h,p,f,m,g,y,b,v,k,w,_,j,C,x,E,S,T,O,z){this.type=e,this.id=t,this.blueprint=n,this.template=r,this.queries=i,this.viewQuery=a,this.node=o,this.data=s,this.bindingStartIndex=l,this.expandoStartIndex=c,this.expandoInstructions=u,this.firstCreatePass=d,this.firstUpdatePass=h,this.staticViewQueries=p,this.staticContentQueries=f,this.preOrderHooks=m,this.preOrderCheckHooks=g,this.contentHooks=y,this.contentCheckHooks=b,this.viewHooks=v,this.viewCheckHooks=k,this.destroyHooks=w,this.cleanup=_,this.contentQueries=j,this.components=C,this.directiveRegistry=x,this.pipeRegistry=E,this.firstChild=S,this.schemas=T,this.consts=O,this.incompleteFirstPass=z}return Object.defineProperty(e.prototype,"template_",{get:function(){var e=[];return Ha(this.firstChild,e),e.join("")},enumerable:!0,configurable:!0}),e}(),Ua=function(){function e(e,t,n,r,i,a,o,s,l,c,u,d,h,p,f,m,g,y,b,v,k,w,_,j,C,x,E,S,T,O,z){this.tView_=e,this.type=t,this.index=n,this.injectorIndex=r,this.directiveStart=i,this.directiveEnd=a,this.directiveStylingLast=o,this.propertyBindings=s,this.flags=l,this.providerIndexes=c,this.tagName=u,this.attrs=d,this.mergedAttrs=h,this.localNames=p,this.initialInputs=f,this.inputs=m,this.outputs=g,this.tViews=y,this.next=b,this.projectionNext=v,this.child=k,this.parent=w,this.projection=_,this.styles=j,this.stylesWithoutHost=C,this.residualStyles=x,this.classes=E,this.classesWithoutHost=S,this.residualClasses=T,this.classBindings=O,this.styleBindings=z}return Object.defineProperty(e.prototype,"type_",{get:function(){switch(this.type){case 0:return"TNodeType.Container";case 3:return"TNodeType.Element";case 4:return"TNodeType.ElementContainer";case 5:return"TNodeType.IcuContainer";case 1:return"TNodeType.Projection";case 2:return"TNodeType.View";default:return"TNodeType.???"}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"flags_",{get:function(){var e=[];return 16&this.flags&&e.push("TNodeFlags.hasClassInput"),8&this.flags&&e.push("TNodeFlags.hasContentQuery"),32&this.flags&&e.push("TNodeFlags.hasStyleInput"),128&this.flags&&e.push("TNodeFlags.hasHostBindings"),2&this.flags&&e.push("TNodeFlags.isComponentHost"),1&this.flags&&e.push("TNodeFlags.isDirectiveHost"),64&this.flags&&e.push("TNodeFlags.isDetached"),4&this.flags&&e.push("TNodeFlags.isProjected"),e.join("|")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"template_",{get:function(){var e=[];if(e.push("<",this.tagName||this.type_),this.attrs)for(var t=0;t"),Ha(this.child,e),e.push(""),e.join("")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"styleBindings_",{get:function(){return Va(this,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"classBindings_",{get:function(){return Va(this,!0)},enumerable:!0,configurable:!0}),e}();function Va(e,t){for(var n=e.tView_.data,r=[],i=t?e.classBindings:e.styleBindings,a=Sa(i),o=za(i),s=0!==o,l=s?o:a;0!==l;){var c=n[l],u=n[l+1];r.unshift({key:c,index:l,isTemplate:s,prevDuplicate:Ta(u),nextDuplicate:Da(u),nextIndex:za(u),prevIndex:Sa(u)}),l===a&&(s=!1),l=Sa(u)}return r.push((t?e.residualClasses:e.residualStyles)||null),r}function Ha(e,t){for(;e;)t.push(e.template_),e=e.next}var Ka,Wa=qa&&Ui("TViewData")||null;var Ga=qa&&Ui("LViewBlueprint")||null,Qa=qa&&Ui("MatchesArray")||null,$a=qa&&Ui("TViewComponents")||null,Ya=qa&&Ui("TNodeLocalNames")||null,Za=qa&&Ui("TNodeInitialInputs")||null,Ja=(qa&&Ui("TNodeInitialData"),qa&&Ui("LCleanup")||null),Xa=qa&&Ui("TCleanup")||null;function eo(e){if(e){var t=e.debug;return Fe(t,"Object does not have a debug representation."),t}return e}function to(e,t){void 0===t&&(t=!1);var n=Ft(e);if(n){var r=n.nodeType===Node.TEXT_NODE,i=(r?n.textContent:n.outerHTML)||"";if(t||r)return i;var a=">"+n.innerHTML+"<";return i.split(a)[0]+">"}return null}var no=function(){function e(e){this._raw_lView=e}return Object.defineProperty(e.prototype,"flags",{get:function(){var e=this._raw_lView[2];return{__raw__flags__:e,initPhaseState:3&e,creationMode:!!(4&e),firstViewPass:!!(8&e),checkAlways:!!(16&e),dirty:!!(64&e),attached:!!(128&e),destroyed:!!(256&e),isRoot:!!(512&e),indexWithinInitPhase:e>>11}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parent",{get:function(){return eo(this._raw_lView[3])},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"host",{get:function(){return to(this._raw_lView[0],!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"html",{get:function(){return(this.nodes||[]).map((function(e){return to(e.native,!0)})).join("")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return this._raw_lView[8]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"nodes",{get:function(){var e=this._raw_lView;return ro(e[1].firstChild,e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tView",{get:function(){return this._raw_lView[1]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"cleanup",{get:function(){return this._raw_lView[7]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return this._raw_lView[9]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"rendererFactory",{get:function(){return this._raw_lView[10]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"renderer",{get:function(){return this._raw_lView[11]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"sanitizer",{get:function(){return this._raw_lView[12]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"childHead",{get:function(){return eo(this._raw_lView[13])},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"next",{get:function(){return eo(this._raw_lView[4])},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"childTail",{get:function(){return eo(this._raw_lView[14])},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"declarationView",{get:function(){return eo(this._raw_lView[15])},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"queries",{get:function(){return this._raw_lView[19]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tHost",{get:function(){return this._raw_lView[6]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"childViews",{get:function(){for(var e=[],t=this.childHead;t;)e.push(t),t=t.next;return e},enumerable:!0,configurable:!0}),e}();function ro(e,t){if(e){for(var n=[],r=e;r;)n.push(io(r,t,r.index)),r=r.next;return n}return null}function io(e,t,n){var r=t[n],i=Ft(r),a=eo(function(e){for(;Array.isArray(e);){if(e.length>=19)return e;e=e[0]}return null}(r));return{html:to(i),native:i,nodes:ro(e.child,t),component:a}}var ao=function(){function e(e){this._raw_lContainer=e}return Object.defineProperty(e.prototype,"hasTransplantedViews",{get:function(){return this._raw_lContainer[2]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"views",{get:function(){return this._raw_lContainer.slice(10).map(eo)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parent",{get:function(){return eo(this._raw_lContainer[3])},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"movedViews",{get:function(){return this._raw_lContainer[9]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"host",{get:function(){return this._raw_lContainer[0]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"native",{get:function(){return this._raw_lContainer[7]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"next",{get:function(){return eo(this._raw_lContainer[4])},enumerable:!0,configurable:!0}),e}();var oo=function(){function e(e,t,n,r){this.__raw_opCode=e,this._lView=t,this.nodeIndex=n,this.type=r}return Object.defineProperty(e.prototype,"tNode",{get:function(){return Kt(this._lView[1],this.nodeIndex)},enumerable:!0,configurable:!0}),e}();var so=function(){function e(e,t){this.__raw_opCodes=e,this.__lView=t}return Object.defineProperty(e.prototype,"operations",{get:function(){for(var e=this.__lView,t=this.__raw_opCodes,n=[],r=0;r>>17,"AppendChild");break;case 0:a=new oo(i,e,i>>>3,"Select");break;case 5:var o=i>>>3;a=new oo(i,e,o,"ElementEnd");break;case 4:(a=new oo(i,e,o=i>>>3,"Attr")).attrName=t[++r],a.attrValue=t[++r]}if(!a)switch(i){case xa:a={__raw_opCode:i,type:"COMMENT_MARKER",commentValue:t[++r],nodeIndex:t[++r]};break;case Ca:a={__raw_opCode:i,type:"ELEMENT_MARKER"}}a||(a={__raw_opCode:i,type:"Unknown Op Code",code:i}),n.push(a)}return n},enumerable:!0,configurable:!0}),e}(),lo=function(){function e(e,t,n){this.__raw_opCodes=e,this.icus=t,this.__lView=n}return Object.defineProperty(e.prototype,"operations",{get:function(){for(var e=this.__lView,t=this.__raw_opCodes,n=this.icus,r=[],i=0;i>>2,d=void 0,h=void 0;switch(3&c){case 1:var p=t[++l],f=t[++l];r.push({__raw_opCode:c,checkBit:a,type:"Attr",attrValue:s,attrName:p,sanitizeFn:f});break;case 0:r.push({__raw_opCode:c,checkBit:a,type:"Text",nodeIndex:u,text:s});break;case 2:h=n[d=t[++l]];var m=new oo(c,e,u,"IcuSwitch");m.tIcuIndex=d,m.checkBit=a,m.mainBinding=s,m.tIcu=h,r.push(m);break;case 3:h=n[d=t[++l]],(m=new oo(c,e,u,"IcuUpdate")).tIcuIndex=d,m.checkBit=a,m.tIcu=h,r.push(m)}}}i+=o}return r},enumerable:!0,configurable:!0}),e}(),co=Promise.resolve(null);function uo(e,t){var n=e.contentQueries;if(null!==n)for(var r=0;r20&&ja(e,t,0,pn()),n(r,i)}finally{Nn(a)}}function vo(e,t,n){if(_t(t))for(var r=t.directiveStart,i=t.directiveEnd,a=r;a-1)return!0}return!1}function Do(e,t){console.warn("Can't bind to '"+e+"' since it isn't a known property of '"+t.tagName+"'.")}function Ao(e,t,n,r){ngDevMode&&At(e);var i=!1;if(nn()){var a=function(e,t,n){ngDevMode&&At(e),ngDevMode&&Qn(n,3,4,0);var r=e.directiveRegistry,i=null;if(r)for(var a=0;a0&&function e(t){for(var n=ba(t);null!==n;n=va(n))for(var r=10;r0&&e(i)}var o=t[1].components;if(null!==o)for(r=0;r0&&e(s)}}(n)}}function $o(e,t){ngDevMode&&Ne(Yt(e),!0,"Should be run in creation mode");var n=Gt(t,e),r=n[1];!function(e,t){for(var n=t.length;n0&&(s+="�"+i.join("�")),e[r]=s}}var rs=co;function is(e){return e[7]||(e[7]=ngDevMode?new Ja:[])}function as(e){return e.cleanup||(e.cleanup=ngDevMode?new Xa:[])}function os(e,t,n){return(null===e||xt(e))&&(n=function(e){for(;Array.isArray(e);){if("object"==typeof e[1])return e;e=e[0]}return null}(n[t.index])),n[11]}function ss(e,t){var n=e[9],r=n?n.get(Nr,null):null;r&&r.handleError(t)}function ls(e,t,n,r,i){for(var a=0;a0&&(n[i-1][4]=t),r0&&(e[n-1][4]=r[4]);var a=$e(e,10+t);fs(r[1],r,!1,null);var o=a[19];null!==o&&o.detachView(a[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}}function bs(e,t){if(!(256&t[2])){var n=t[11];Bt(n)&&n.destroyNode&&Is(e,t,n,3,null,null),function(e){var t=e[13];if(!t)return ks(e[1],e);for(;t;){var n=null;if(kt(t))n=t[13];else{ngDevMode&&zt(t);var r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)kt(t)&&ks(t[1],t),t=vs(t,e);null===t&&(t=e),kt(t)&&ks(t[1],t),n=t&&t[4]}t=n}}(t)}}function vs(e,t){var n;return kt(e)&&(n=e[6])&&2===n.type?us(n,e):e[3]===t?null:e[3]}function ks(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function(e,t){var n;if(null!=e&&null!=(n=e.destroyHooks))for(var r=0;r=0?r[l]():r[-l].unsubscribe(),i+=2}else{var c=r[n[i+1]];n[i].call(c)}t[7]=null}}(e,t);var n=t[6];n&&3===n.type&&Bt(t[11])&&(ngDevMode&&ngDevMode.rendererDestroy++,t[11].destroy());var r=t[17];if(null!==r&&wt(t[3])){r!==t[3]&&gs(r,t);var i=t[19];null!==i&&i.detachView(e)}}}function ws(e,t,n){for(var r=t.parent;null!=r&&(4===r.type||5===r.type);)r=(t=r).parent;if(null==r){var i=n[6];return 2===i.type?ds(i,n):(ngDevMode&&Qn(i,3),n[0])}if(t&&5===t.type&&4&t.flags)return Vt(t,n).parentNode;if(ngDevMode&&Gn(r,3),2&r.flags){var a=e.data,o=a[a[r.index].directiveStart].encapsulation;if(o!==Te.ShadowDom&&o!==Te.Native)return null}return Vt(r,n)}function _s(e,t,n,r){ngDevMode&&ngDevMode.rendererInsertBefore++,Bt(e)?e.insertBefore(t,n,r):t.insertBefore(n,r,!0)}function js(e,t,n){ngDevMode&&ngDevMode.rendererAppendChild++,ngDevMode&&Fe(t,"parent node must be defined"),Bt(e)?e.appendChild(t,n):t.appendChild(n)}function Cs(e,t,n,r){null!==r?_s(e,t,n,r):js(e,t,n)}function xs(e,t){return Bt(e)?e.parentNode(t):t.parentNode}function Es(e,t){if(2===e.type){var n=us(e,t);return null===n?null:Ts(n.indexOf(t,10)-10,n)}return 4===e.type||5===e.type?Vt(e,t):null}function Ss(e,t,n,r){var i=ws(e,r,t);if(null!=i){var a=t[11],o=Es(r.parent||t[6],t);if(Array.isArray(n))for(var s=0;s) must have projection slots defined.");var m=p.projection[f];if(Array.isArray(m))a.push.apply(a,Object(r.g)(m));else{var g=ma(h);ngDevMode&&Fe(g,"Component views should always have a parent view (component's host view)"),e(g[1],g,m,a,!0)}}i=o?i.projectionNext:i.next}return a} /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */(e[1],e,t.child,[])}return[]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return this._lView[8]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"destroyed",{get:function(){return 256==(256&this._lView[2])},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){if(this._appRef)this._appRef.detachView(this);else if(this._viewContainerRef){var e=this._viewContainerRef.indexOf(this);e>-1&&this._viewContainerRef.detach(e),this._viewContainerRef=null}bs(this._lView[1],this._lView)},e.prototype.onDestroy=function(e){var t,n,r;t=this._lView[1],n=this._lView,r=e,is(n).push(r),t.firstCreatePass&&as(t).push(n[7].length-1,null)},e.prototype.markForCheck=function(){Zo(this._cdRefInjectingView||this._lView)},e.prototype.detach=function(){this._lView[2]&=-129},e.prototype.reattach=function(){this._lView[2]|=128},e.prototype.detectChanges=function(){Xo(this._lView[1],this._lView,this.context)},e.prototype.checkNoChanges=function(){!function(e,t,n){fn(!0);try{Xo(e,t,n)}finally{fn(!1)}}(this._lView[1],this._lView,this.context)},e.prototype.attachToViewContainerRef=function(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e},e.prototype.detachFromAppRef=function(){var e,t;this._appRef=null,e=this._lView[1],t=this._lView,Is(e,t,t[11],2,null,null)},e.prototype.attachToAppRef=function(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e},e}(),Ls=function(e){function t(t){var n=e.call(this,t)||this;return n._view=t,n}return Object(r.c)(t,e),t.prototype.detectChanges=function(){es(this._view)},t.prototype.checkNoChanges=function(){!function(e){fn(!0);try{es(e)}finally{fn(!1)}}(this._view)},Object.defineProperty(t.prototype,"context",{get:function(){return null},enumerable:!0,configurable:!0}),t}(Bs);function Fs(e,t,n){return Rs||(Rs=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(r.c)(t,e),t}(e)),new Rs(Vt(t,n))}function Us(e,t,n,i){return Ms||(Ms=function(e){function t(t,n,r){var i=e.call(this)||this;return i._declarationView=t,i._declarationTContainer=n,i.elementRef=r,i}return Object(r.c)(t,e),t.prototype.createEmbeddedView=function(e){var t=this._declarationTContainer.tViews,n=po(this._declarationView,t,e,16,null,t.node),r=this._declarationView[this._declarationTContainer.index];ngDevMode&&zt(r),n[17]=r;var i=this._declarationView[19];return null!==i&&(n[19]=i.createEmbeddedView(t)),mo(t,n,e),new Bs(n)},t}(e)),0===n.type?(ngDevMode&&Fe(n.tViews,"TView must be allocated"),new Ms(i,n,Fs(t,n,i))):null}function Vs(e,t,n,i){var a;qs||(qs=function(e){function n(t,n,r){var i=e.call(this)||this;return i._lContainer=t,i._hostTNode=n,i._hostView=r,i}return Object(r.c)(n,e),Object.defineProperty(n.prototype,"element",{get:function(){return Fs(t,this._hostTNode,this._hostView)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"injector",{get:function(){return new Tr(this._hostTNode,this._hostView)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"parentInjector",{get:function(){var e=br(this._hostTNode,this._hostView),t=ir(e,this._hostView),n=function(e,t,n){if(n.parent&&-1!==n.parent.injectorIndex){for(var r=n.parent.injectorIndex,i=n.parent;null!=i.parent&&r==i.parent.injectorIndex;)i=i.parent;return i}for(var a=rr(e),o=t,s=t[6];a>1;)s=(o=o[15])[6],a--;return s}(e,this._hostView,this._hostTNode);return tr(e)&&null!=n?new Tr(n,t):new Tr(null,this._hostView)},enumerable:!0,configurable:!0}),n.prototype.clear=function(){for(;this.length>0;)this.remove(this.length-1)},n.prototype.get=function(e){return null!==this._lContainer[8]&&this._lContainer[8][e]||null},Object.defineProperty(n.prototype,"length",{get:function(){return this._lContainer.length-10},enumerable:!0,configurable:!0}),n.prototype.createEmbeddedView=function(e,t,n){var r=e.createEmbeddedView(t||{});return this.insert(r,n),r},n.prototype.createComponent=function(e,t,n,r,i){var a=n||this.parentInjector;if(!i&&null==e.ngModule&&a){var o=a.get(Oe,null);o&&(i=o)}var s=e.create(a,r,void 0,i);return this.insert(s.hostView,t),s},n.prototype.insert=function(e,t){var n=e._lView,r=n[1];if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");if(this.allocateContainerIfNeeded(),wt(n[3])){var i=this.indexOf(e);if(-1!==i)this.detach(i);else{var a=n[3];ngDevMode&&Ne(wt(a),!0,"An attached view should have its PARENT point to a container.");var o=new qs(a,a[6],a[3]);o.detach(o.indexOf(e))}}var s=this._adjustIndex(t);return ms(r,n,this._lContainer,s),fs(r,n,!0,Ts(s,this._lContainer)),e.attachToViewContainerRef(this),Qe(this._lContainer[8],s,e),e},n.prototype.move=function(e,t){if(e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");return this.insert(e,t)},n.prototype.indexOf=function(e){var t=this._lContainer[8];return null!==t?t.indexOf(e):-1},n.prototype.remove=function(e){this.allocateContainerIfNeeded();var t=this._adjustIndex(e,-1);!function(e,t){var n=ys(e,t);n&&bs(n[1],n)}(this._lContainer,t),$e(this._lContainer[8],t)},n.prototype.detach=function(e){this.allocateContainerIfNeeded();var t=this._adjustIndex(e,-1),n=ys(this._lContainer,t);return n&&null!=$e(this._lContainer[8],t)?new Bs(n):null},n.prototype._adjustIndex=function(e,t){return void 0===t&&(t=0),null==e?this.length+t:(ngDevMode&&(Le(e,-1,"ViewRef index must be positive, got "+e),qe(e,this.length+1+t,"index")),e)},n.prototype.allocateContainerIfNeeded=function(){null===this._lContainer[8]&&(this._lContainer[8]=[])},n}(e)),ngDevMode&&Qn(n,0,3,4);var o=i[n.index];if(wt(o))a=o;else{var s=void 0;if(4===n.type)s=Ft(o);else if(ngDevMode&&ngDevMode.rendererCreateComment++,s=i[11].createComment(ngDevMode?"container":""),Et(i)){var l=i[11],c=Vt(n,i);_s(l,xs(l,c),s,function(e,t){return Bt(e)?e.nextSibling(t):t.nextSibling}(l,c))}else Ss(i[1],i,s,n);i[n.index]=a=Go(o,i,s,n),Yo(i,a)}return new qs(a,n,i)}function Hs(e){return void 0===e&&(e=!1),function(e,t,n){if(!n&&jt(e)){var r=Gt(e.index,t);return new Bs(r,r)}if(3===e.type||0===e.type||4===e.type||5===e.type){var i=t[16];return new Bs(i,t)}return null}(cn(),on(),e)} /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ var Ks=function(){function e(){}return e.__NG_ELEMENT_ID__=function(){return Gs()},e}(),Ws=Hs,Gs=Ws,Qs=Function;function $s(e){return"function"==typeof e} /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */var Ys=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*arguments\)/,Zs=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,Js=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,Xs=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{\s*super\(\.\.\.arguments\)/;var el=function(){function e(e){this._reflect=e||Z.Reflect}return e.prototype.isReflectionEnabled=function(){return!0},e.prototype.factory=function(e){return function(){for(var t=[],n=0;n0)for(var i=0;i ")+" > "+s+".")}var l=-1!==n.indexOf(o);if(void 0!==a&&(i=A(a)),null==i)return!1;if(null!=i.imports&&!l){var c;ngDevMode&&t.push(o),n.push(o);try{Ge(i.imports,(function(e){r.processInjectorType(e,t,n)&&(void 0===c&&(c=[]),c.push(e))}))}finally{ngDevMode&&t.pop()}if(void 0!==c)for(var u=function(e){var t=c[e],n=t.ngModule,i=t.providers;Ge(i,(function(e){return r.processProvider(e,n,i||yl)}))},d=0;d0){var n=Ye(t,"?");throw new Error("Can't resolve all parameters for "+B(e)+": ("+n.join(", ")+").")}var r=function(e){var t=e&&(e[N]||e[M]||e[R]&&e[R]());if(t){var n=function(e){if(e.hasOwnProperty("name"))return e.name;var t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn('DEPRECATED: DI is instantiating a token "'+n+'" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in v10. Please add @Injectable() to the "'+n+'" class.'),t}return null}(e);return null!==r?function(){return r.factory(e)}:function(){return new e}}(e);throw new Error("unreachable")}function Cl(e,t,n){var i,a=void 0;if(Sl(e)){var o=V(e);return bt(o)||jl(o)}if(El(e))a=function(){return V(e.useValue)};else if((i=e)&&i.useFactory)a=function(){return e.useFactory.apply(e,Object(r.g)(we(e.deps||[])))};else if(function(e){return!(!e||!e.useExisting)}(e))a=function(){return ye(V(e.useExisting))};else{var s=V(e&&(e.useClass||e.provide));if(s||function(e,t,n){var r="";throw e&&t&&(r=" - only instances of Provider and Type are allowed, got: ["+t.map((function(e){return e==n?"?"+n+"?":"..."})).join(", ")+"]"),new Error("Invalid provider for the NgModule '"+B(e)+"'"+r)}(t,n,e),!function(e){return!!e.deps}(e))return bt(s)||jl(s);a=function(){return new(s.bind.apply(s,Object(r.g)([void 0],we(e.deps))))}}return a}function xl(e,t,n){return void 0===n&&(n=!1),{factory:e,value:t,multi:n?[]:void 0}}function El(e){return null!==e&&"object"==typeof e&&he in e}function Sl(e){return"function"==typeof e}function Tl(e,t,n){return kl({name:n},t,e,n)}var Ol=Tl,zl=function(){function e(){}return e.create=function(e,t){return Array.isArray(e)?Ol(e,t,""):Ol(e.providers,e.parent,e.name||"")},e.THROW_IF_NOT_FOUND=ue,e.NULL=new _e,e.ɵprov=T({token:e,providedIn:"any",factory:function(){return ye(ce)}}),e.__NG_ELEMENT_ID__=-1,e}(),Il=function(e){return e},Dl=[],Al=Il,Nl=function(){return Array.prototype.slice.call(arguments)};!function(){function e(e,t,n){void 0===t&&(t=zl.NULL),void 0===n&&(n=null),this.parent=t,this.source=n;var r=this._records=new Map;r.set(zl,{token:zl,fn:Il,deps:Dl,value:this,useNew:!1}),r.set(ce,{token:ce,fn:Il,deps:Dl,value:this,useNew:!1}),this.scope=function e(t,n){var r=null;if(n)if(n=V(n),Array.isArray(n))for(var i=0;i1?" ("+function(e){for(var t=[],n=0;n-1)return t.push(e[n]),t;t.push(e[n])}return t}(e.slice().reverse()).map((function(e){return B(e.token)})).join(" -> ")+")":""}function Ll(e,t,n,r){var i=[t],a=n(i),o=r?function(e,t){var n=e+" caused by: "+(t instanceof Error?t.message:t),r=Error(n);return r.ngOriginalError=t,r} /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */(a,r):Error(a);return o.addKey=Fl,o.keys=i,o.injectors=[e],o.constructResolvingMessage=n,o.ngOriginalError=r,o}function Fl(e,t){this.injectors.push(e),this.keys.push(t),this.message=this.constructResolvingMessage(this.keys)}function Ul(e,t){for(var n=[],r=0,i=t.length;r=this._providers.length)throw function(e){return Error("Index "+e+" is out-of-bounds.")}(e);return this._providers[e]},e.prototype._new=function(e){if(this._constructionCounter++>this._getMaxNumberOfObjects())throw t=this,n=e.key,Ll(t,n,(function(e){return"Cannot instantiate cyclic dependency!"+Bl(e)}));var t,n;return this._instantiateProvider(e)},e.prototype._getMaxNumberOfObjects=function(){return this.objs.length},e.prototype._instantiateProvider=function(e){if(e.multiProvider){for(var t=[],n=0;n-1?na(e,t,t,a,r):{propName:a,oldValue:n,newValue:r};if(null===a){for(var o=t-1;"string"!=typeof i[o]&&null===i[o+1];)o--;var s=i[o];if("string"==typeof s){var l=s.match(new RegExp("�","g"));if(l&&l.length-1>t-o)return na(e,o,t,s,r)}}return{propName:void 0,oldValue:n,newValue:r}}(e,t,i,n);!function(e,t,n,r){var i="ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value"+(r?" for '"+r+"'":"")+": '"+t+"'. Current value: '"+n+"'.";throw e&&(i+=" It seems like the view has been created after its parent and its children have been dirty checked. Has it been created in a change detection hook?"),new Error(i)}(r===fa,a.oldValue,a.newValue,a.propName)}return!1}return e[t]=n,!0}function Tc(e,t,n,r){var i=Sc(e,t,n);return Sc(e,t+1,r)||i}function Oc(e,t,n,r,i){var a=Tc(e,t,n,r);return Sc(e,t+2,i)||a}function zc(e,t,n,r,i,a){var o=Tc(e,t,n,r);return Tc(e,t+2,i,a)||o} /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */function Ic(e,t,n,r){var i=on(),a=bn();if(Sc(i,a,t)){var o=sn(),s=Pn();Vo(s,i,e,t,n,r),ngDevMode&&ns(o.data,s,"attr."+e,a)}return Ic} /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */function Dc(e,t){ngDevMode&&qe(2,t.length,"should have at least 3 values"),ngDevMode&&Ne(t.length%2,1,"should have an odd number of values");for(var n=!1,r=gn(),i=1;i=e.data.length&&(e.data[i]=null,e.blueprint[i]=null),t[i]=r}function eu(e){return Wt(tn.lFrame.contextLView,e)} /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */function tu(e,t){void 0===t&&(t=y.Default);var n=on();return null==n?ye(e,t):wr(cn(),n,V(e),t)}function nu(e){return kr(cn(),e)}function ru(){var e=ngDevMode?"This constructor was not compatible with Dependency Injection.":"invalid";throw new Error(e)} /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */function iu(e,t,n){var r=on(),i=bn();if(Sc(r,i,t)){var a=sn(),o=Pn();To(a,o,r,e,t,r[11],n,!1),ngDevMode&&ns(a.data,o,e,i)}return iu}function au(e,t,n,r,i){var a=i?"class":"style";ls(e,n,t.inputs[a],a,r)} /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */function ou(e,t,n,r,i,a,o){ngDevMode&&At(t),ngDevMode&&ngDevMode.firstCreatePass++;var s=t.consts,l=Jt(s,a),c=fo(t,n[6],e,3,i,l),u=Ao(t,n,c,Jt(s,o));return ngDevMode&&function(e,t,n,r,i){if(null===e.schemas)return;var a=r.tagName;if(!i&&null!==a){if(("undefined"!=typeof HTMLUnknownElement&&HTMLUnknownElement&&n instanceof HTMLUnknownElement||"undefined"!=typeof customElements&&a.indexOf("-")>-1&&!customElements.get(a))&&!Io(e,0,a)){var o="'"+a+"' is not a known element:\n";o+="1. If '"+a+"' is an Angular component, then verify that it is part of this module.\n",a&&a.indexOf("-")>-1?o+="2. If '"+a+"' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.":o+="2. To allow any element add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component.",console.warn(o)}}} /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */(t,0,r,c,u),null!==c.attrs&&yc(c,c.attrs,!1),null!==c.mergedAttrs&&yc(c,c.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,c),c}function su(e,t,n,r){var i=on(),a=sn(),o=20+e;ngDevMode&&Ne(gn(),a.bindingStartIndex,"elements should be created before any bindings"),ngDevMode&&ngDevMode.rendererCreateElement++,ngDevMode&&He(i,o);var s=i[11],l=i[o]=ho(t,s,tn.lFrame.currentNamespace),c=a.firstCreatePass?ou(e,a,i,l,t,n,r):a.data[o];un(c,!0);var u=c.mergedAttrs;null!==u&&Yn(s,l,u);var d=c.classes;null!==d&&Ps(s,l,d);var h=c.styles;null!==h&&Ns(s,l,h),Ss(a,i,l,c),0===tn.lFrame.elementDepthCount&&$i(l,i),tn.lFrame.elementDepthCount++,Ct(c)&&(ko(a,i,c),vo(a,c,i)),null!==r&&wo(i,c)}function lu(){var e=cn();ngDevMode&&Fe(e,"No parent node to close."),dn()?hn():(ngDevMode&&Ot(cn()),un(e=e.parent,!1));var t=e;ngDevMode&&Gn(t,3),tn.lFrame.elementDepthCount--;var n=sn();n.firstCreatePass&&(Ln(n,e),_t(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function(e){return 0!=(16&e.flags)}(t)&&au(n,t,on(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function(e){return 0!=(32&e.flags)} /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */(t)&&au(n,t,on(),t.stylesWithoutHost,!1)}function cu(e,t,n,r){su(e,t,n,r),lu()}function uu(e,t,n){var r=on(),i=sn(),a=e+20;ngDevMode&&He(r,a),ngDevMode&&Ne(gn(),i.bindingStartIndex,"element containers should be created before any bindings");var o=i.firstCreatePass?function(e,t,n,r,i){ngDevMode&&ngDevMode.firstCreatePass++;var a=t.consts,o=Jt(a,r),s=fo(t,n[6],e,4,"ng-container",o);return null!==o&&yc(s,o,!0),Ao(t,n,s,Jt(a,i)),null!==t.queries&&t.queries.elementStart(t,s),s}(e,i,r,t,n):i.data[a];un(o,!0),ngDevMode&&ngDevMode.rendererCreateComment++;var s=r[a]=r[11].createComment(ngDevMode?"ng-container":"");Ss(i,r,s,o),$i(s,r),Ct(o)&&(ko(i,r,o),vo(i,o,r)),null!=n&&wo(r,o)}function du(){var e=cn(),t=sn();dn()?hn():(ngDevMode&&Ot(e),un(e=e.parent,!1)),ngDevMode&&Gn(e,4),t.firstCreatePass&&(Ln(t,e),_t(e)&&t.queries.elementEnd(e))}function hu(e,t,n){uu(e,t,n),du()}function pu(){return on()} /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */function fu(e){return!!e&&"function"==typeof e.then}function mu(e){return!!e&&"function"==typeof e.subscribe} /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */function gu(e,t,n,r){void 0===n&&(n=!1);var i=on(),a=sn(),o=cn();return bu(a,i,i[11],o,e,t,n,r),gu}function yu(e,t,n,r){void 0===n&&(n=!1);var i=cn(),a=on(),o=sn();return bu(o,a,os(_n(o.data),i,a),i,e,t,n,r),yu}function bu(e,t,n,r,i,a,o,s){void 0===o&&(o=!1);var l=Ct(r),c=e.firstCreatePass&&(e.cleanup||(e.cleanup=[])),u=is(t);ngDevMode&&Qn(r,3,0,4);var d=!0;if(3===r.type){var h=Vt(r,t),p=s?s(h):nt,f=p.target||h,m=u.length,g=s?function(e){return s(Ft(e[r.index])).target}:r.index;if(Bt(n)){var y=null;if(!s&&l&&(y=function(e,t,n,r){var i=e.cleanup;if(null!=i)for(var a=0;al?s[l]:null}"string"==typeof o&&(a+=2)}return null}(e,t,i,r.index)),null!==y){(y.__ngLastListenerFn__||y).__ngNextListenerFn__=a,y.__ngLastListenerFn__=a,d=!1}else{a=ku(r,t,a,!1);var b=n.listen(p.name||f,i,a);ngDevMode&&ngDevMode.rendererAddEventListener++,u.push(a,b),c&&c.push(i,g,m,m+1)}}else a=ku(r,t,a,!0),f.addEventListener(i,a,o),ngDevMode&&ngDevMode.rendererAddEventListener++,u.push(a),c&&c.push(i,g,m,o)}var v,k=r.outputs;if(d&&null!==k&&(v=k[i])){var w=v.length;if(w)for(var _=0;_0)&&(h=!0)}else c=n;if(i)if(0!==l){var f=Sa(e[s+1]);e[r+1]=Ea(f,s),0!==f&&(e[f+1]=Ia(e[f+1],r)),e[s+1]=(u=e[s+1],d=r,ngDevMode&&Ie(u,"expected number"),ngDevMode&&De(d,0,32767),131071&u|d<<17)}else e[r+1]=Ea(s,0),0!==s&&(e[s+1]=Ia(e[s+1],r)),s=r;else e[r+1]=Ea(l,0),ngDevMode&&Ne(0!==s&&0===l,!1,"Adding template bindings after hostBindings is not allowed."),0===s?s=r:e[l+1]=Ia(e[l+1],r),l=r;h&&(e[r+1]=Oa(e[r+1])),Bu(e,c,r,!0,a),Bu(e,c,r,!1,a),function(e,t,n,r,i){var a=i?e.residualClasses:e.residualStyles;null!=a&&"string"==typeof t&&Xe(a,t)>=0&&(n[r+1]=Aa(n[r+1]))}(t,c,e,r,a),o=Ea(s,l),a?t.classBindings=o:t.styleBindings=o}function Bu(e,t,n,r,i){for(var a=e[n+1],o=null===t,s=r?Sa(a):za(a),l=!1;0!==s&&(!1===l||o);){ngDevMode&&He(e,s);var c=e[s],u=e[s+1];Lu(c,t)&&(l=!0,e[s+1]=r?Aa(u):Oa(u)),s=r?Sa(u):za(u)}l&&(e[n+1]=r?Oa(a):Aa(a))}function Lu(e,t){return ngDevMode&&Pe(Array.isArray(t),!0,"Expected that 'tStylingKey' has been unwrapped"),null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Xe(e,t)>=0} /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */("undefined"==typeof ngDevMode||ngDevMode)&&oe()&&(Object.freeze({}),Object.freeze(Mu)) /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */;var Fu={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Uu(e){return e.substring(Fu.key,Fu.keyEnd)}function Vu(e){return e.substring(Fu.value,Fu.valueEnd)}function Hu(e,t){var n=Fu.textEnd;return n===t?-1:(t=Fu.keyEnd=function(e,t,n){for(;t32;)t++;return t}(e,Fu.key=t,n),Gu(e,t,n))}function Ku(e,t){var n=Fu.textEnd,r=Fu.key=Gu(e,t,n);return n===r?-1:(r=Fu.keyEnd=function(e,t,n){var r;for(;t=65&&(-33&r)<=90);)t++;return t}(e,r,n),r=Qu(e,r,n,58),r=Fu.value=Gu(e,r,n),r=Fu.valueEnd=function(e,t,n){var r=-1,i=-1,a=-1,o=t,s=o;for(;o32&&(s=o),a=i,i=r,r=-33&l}return s}(e,r,n),Qu(e,r,n,59))}function Wu(e){Fu.key=0,Fu.keyEnd=0,Fu.value=0,Fu.valueEnd=0,Fu.textEnd=e.length}function Gu(e,t,n){for(;t>"+e.substring(n,n+1)+"<<]"+e.substr(n+1)+"'. Expecting '"+t+"'.")} /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */function Zu(e){Bn(e)}function Ju(e,t,n){return id(e,t,n,!1),Ju}function Xu(e,t){return id(e,t,null,!0),Xu}function ed(e){ad(ud,td,e,!1)}function td(e,t){for(var n=function(e){return Wu(e),Ku(e,Gu(e,0,Fu.textEnd))}(t);n>=0;n=Ku(t,n))ud(e,Uu(t),Vu(t))}function nd(e){ad(Ze,rd,e,!0)}function rd(e,t){for(var n=function(e){return Wu(e),Hu(e,Gu(e,0,Fu.textEnd))}(t);n>=0;n=Hu(t,n))Ze(e,Uu(t),!0)}function id(e,t,n,r){var i,a=on(),o=sn(),s=vn(2);if(o.firstUpdatePass&&sd(o,e,s,r),t!==fa&&Sc(a,s,t)){var l=void 0;null==n&&(l=null===(i=tn.lFrame)?null:i.currentSanitizer)&&(n=l),dd(o,o.data[An()+20],a,a[11],e,a[s+1]=function(e,t){null==e||("function"==typeof t?e=t(e):"string"==typeof t?e+=t:"object"==typeof e&&(e=B(Vr(e))));return e}(t,n),r,s)}}function ad(e,t,n,r){var i=sn(),a=vn(2);i.firstUpdatePass&&sd(i,null,a,r);var o=on();if(n!==fa&&Sc(o,a,n)){var s=i.data[An()+20];if(fd(s,r)&&!od(i,a)){if(ngDevMode){var l=i.data[a];Ne(Array.isArray(l)?l[1]:l,!1,"Styling linked list shadow input should be marked as 'false'")}var c=r?s.classesWithoutHost:s.stylesWithoutHost;ngDevMode&&!1===r&&null!==c&&Ne(c.endsWith(";"),!0,"Expecting static portion to end with ';'"),null!==c&&(n=L(c,n||"")),au(i,s,o,n,r)}else!function(e,t,n,r,i,a,o,s){i===fa&&(i=Mu);var l=0,c=0,u=0=e.expandoStartIndex}function sd(e,t,n,r){ngDevMode&&Nt(e);var i=e.data;if(null===i[n+1]){var a=i[An()+20],o=od(e,n);fd(a,r)&&null===t&&!o&&(t=!1),t=function(e,t,n,r){var i=_n(e),a=r?t.residualClasses:t.residualStyles;if(null===i){0===(r?t.classBindings:t.styleBindings)&&(n=cd(n=ld(null,e,t,n,r),t.attrs,r),a=null)}else{var o=t.directiveStylingLast;if(-1===o||e[o]!==i)if(n=ld(i,e,t,n,r),null===a){var s=function(e,t,n){var r=n?t.classBindings:t.styleBindings;if(0===za(r))return;return e[Sa(r)]}(e,t,r);void 0!==s&&Array.isArray(s)&&(s=cd(s=ld(null,e,t,s[1],r),t.attrs,r),function(e,t,n,r){var i=n?t.classBindings:t.styleBindings;ngDevMode&&Pe(za(i),0,"Expecting to have at least one template styling binding."),e[Sa(i)]=r}(e,t,r,s))}else a=function(e,t,n){var r=void 0,i=t.directiveEnd;ngDevMode&&Pe(t.directiveStylingLast,-1,"By the time this function gets called at least one hostBindings-node styling instruction must have executed.");for(var a=1+t.directiveStylingLast;a0;){var l=e[i],c=Array.isArray(l),u=c?l[1]:l,d=null===u,h=n[i+1];h===fa&&(h=d?Mu:void 0);var p=d?Je(h,r):u===r?h:void 0;if(c&&!pd(p)&&(p=Je(l,r)),pd(p)&&(s=p,o))return s;var f=e[i+1];i=o?Sa(f):za(f)}if(null!==t){var m=a?t.residualClasses:t.residualStyles;null!=m&&(s=Je(m,r))}return s}function pd(e){return void 0!==e}function fd(e,t){return 0!=(e.flags&(t?16:32))} /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */function md(e,t){void 0===t&&(t="");var n=on(),r=sn(),i=e+20;ngDevMode&&Ne(gn(),r.bindingStartIndex,"text nodes should be created before any bindings"),ngDevMode&&He(n,i);var a=r.firstCreatePass?fo(r,n[6],e,3,null,null):r.data[i],o=n[i]=ps(t,n[11]);Ss(r,n,o,a),un(a,!1)} /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */function gd(e){return yd("",e,""),gd}function yd(e,t,n){var r=on(),i=Ac(r,e,t,n);return i!==fa&&cs(r,An(),i),yd}function bd(e,t,n,r,i){var a=on(),o=Nc(a,e,t,n,r,i);return o!==fa&&cs(a,An(),o),bd}function vd(e,t,n,r,i,a,o){var s=on(),l=Pc(s,e,t,n,r,i,a,o);return l!==fa&&cs(s,An(),l),vd}function kd(e,t,n,r,i,a,o,s,l){var c=on(),u=Rc(c,e,t,n,r,i,a,o,s,l);return u!==fa&&cs(c,An(),u),kd}function wd(e,t,n,r,i,a,o,s,l,c,u){var d=on(),h=Mc(d,e,t,n,r,i,a,o,s,l,c,u);return h!==fa&&cs(d,An(),h),wd}function _d(e,t,n,r,i,a,o,s,l,c,u,d,h){var p=on(),f=qc(p,e,t,n,r,i,a,o,s,l,c,u,d,h);return f!==fa&&cs(p,An(),f),_d}function jd(e,t,n,r,i,a,o,s,l,c,u,d,h,p,f){var m=on(),g=Bc(m,e,t,n,r,i,a,o,s,l,c,u,d,h,p,f);return g!==fa&&cs(m,An(),g),jd}function Cd(e,t,n,r,i,a,o,s,l,c,u,d,h,p,f,m,g){var y=on(),b=Lc(y,e,t,n,r,i,a,o,s,l,c,u,d,h,p,f,m,g);return b!==fa&&cs(y,An(),b),Cd}function xd(e){var t=on(),n=Dc(t,e);return n!==fa&&cs(t,An(),n),xd} /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */function Ed(e,t,n){ad(Ze,rd,Ac(on(),e,t,n),!0)}function Sd(e,t,n,r,i){ad(Ze,rd,Nc(on(),e,t,n,r,i),!0)}function Td(e,t,n,r,i,a,o){ad(Ze,rd,Pc(on(),e,t,n,r,i,a,o),!0)}function Od(e,t,n,r,i,a,o,s,l){ad(Ze,rd,Rc(on(),e,t,n,r,i,a,o,s,l),!0)}function zd(e,t,n,r,i,a,o,s,l,c,u){ad(Ze,rd,Mc(on(),e,t,n,r,i,a,o,s,l,c,u),!0)}function Id(e,t,n,r,i,a,o,s,l,c,u,d,h){ad(Ze,rd,qc(on(),e,t,n,r,i,a,o,s,l,c,u,d,h),!0)}function Dd(e,t,n,r,i,a,o,s,l,c,u,d,h,p,f){ad(Ze,rd,Bc(on(),e,t,n,r,i,a,o,s,l,c,u,d,h,p,f),!0)}function Ad(e,t,n,r,i,a,o,s,l,c,u,d,h,p,f,m,g){ad(Ze,rd,Lc(on(),e,t,n,r,i,a,o,s,l,c,u,d,h,p,f,m,g),!0)}function Nd(e){ad(Ze,rd,Dc(on(),e),!0)} /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */function Pd(e,t,n){ed(Ac(on(),e,t,n))}function Rd(e,t,n,r,i){ed(Nc(on(),e,t,n,r,i))}function Md(e,t,n,r,i,a,o){ed(Pc(on(),e,t,n,r,i,a,o))}function qd(e,t,n,r,i,a,o,s,l){ed(Rc(on(),e,t,n,r,i,a,o,s,l))}function Bd(e,t,n,r,i,a,o,s,l,c,u){ed(Mc(on(),e,t,n,r,i,a,o,s,l,c,u))}function Ld(e,t,n,r,i,a,o,s,l,c,u,d,h){ed(qc(on(),e,t,n,r,i,a,o,s,l,c,u,d,h))}function Fd(e,t,n,r,i,a,o,s,l,c,u,d,h,p,f){ed(Bc(on(),e,t,n,r,i,a,o,s,l,c,u,d,h,p,f))}function Ud(e,t,n,r,i,a,o,s,l,c,u,d,h,p,f,m,g){ed(Lc(on(),e,t,n,r,i,a,o,s,l,c,u,d,h,p,f,m,g))}function Vd(e){ed(Dc(on(),e))} /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */function Hd(e,t,n,r,i){return id(e,Ac(on(),t,n,r),i,!1),Hd}function Kd(e,t,n,r,i,a,o){return id(e,Nc(on(),t,n,r,i,a),o,!1),Kd}function Wd(e,t,n,r,i,a,o,s,l){return id(e,Pc(on(),t,n,r,i,a,o,s),l,!1),Wd}function Gd(e,t,n,r,i,a,o,s,l,c,u){return id(e,Rc(on(),t,n,r,i,a,o,s,l,c),u,!1),Gd}function Qd(e,t,n,r,i,a,o,s,l,c,u,d,h){return id(e,Mc(on(),t,n,r,i,a,o,s,l,c,u,d),h,!1),Qd}function $d(e,t,n,r,i,a,o,s,l,c,u,d,h,p,f){return id(e,qc(on(),t,n,r,i,a,o,s,l,c,u,d,h,p),f,!1),$d}function Yd(e,t,n,r,i,a,o,s,l,c,u,d,h,p,f,m,g){return id(e,Bc(on(),t,n,r,i,a,o,s,l,c,u,d,h,p,f,m),g,!1),Yd}function Zd(e,t,n,r,i,a,o,s,l,c,u,d,h,p,f,m,g,y,b){return id(e,Lc(on(),t,n,r,i,a,o,s,l,c,u,d,h,p,f,m,g,y),b,!1),Zd}function Jd(e,t,n){return id(e,Dc(on(),t),n,!1),Jd} /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */function Xd(e,t,n){var r=on(),i=bn();if(Sc(r,i,t)){var a=sn(),o=Pn();To(a,o,r,e,t,r[11],n,!0),ngDevMode&&ns(a.data,o,e,i)}return Xd}function eh(e,t,n){var r=on(),i=bn();if(Sc(r,i,t)){var a=sn(),o=Pn();To(a,o,r,e,t,os(_n(a.data),o,r),n,!0),ngDevMode&&ns(a.data,o,e,i)}return eh} /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */function th(e){dh(e);var t,n,r,i,a=sh(e,!1);return null===a?null:(void 0===a.component&&(a.component=(t=a.nodeIndex,n=a.lView,r=n[1].data[t],i=r.directiveStart,2&r.flags?n[i]:null)),a.component)}function nh(e){dh(e);var t=sh(e,!1);return null===t?null:t.lView[8]}function rh(e){var t=sh(e,!1);if(null===t)return null;var n,r=t.lView;for(ngDevMode&&Dt(r);null===r[0]&&(n=ma(r));)r=n;return 512&r[2]?null:r[8]}function ih(e){return Object(r.g)(ya(e).components)}function ah(e){var t=sh(e,!1);if(null===t)return zl.NULL;var n=t.lView[1].data[t.nodeIndex];return new Tr(n,t.lView)}function oh(e){var t=sh(e);return void 0===t.directives&&(t.directives=Xi(t.nodeIndex,t.lView,!1)),null===t.directives?[]:Object(r.g)(t.directives)}function sh(e,t){void 0===t&&(t=!0);var n=Wi(e);if(!n&&t)throw new Error(ngDevMode?"Unable to find context associated with "+or(e):"Invalid ng target");return n}function lh(e){return Wi(e).native}function ch(e){dh(e);var t=sh(e,!1);if(null===t)return[];var n=t.lView,r=n[1],i=n[7],a=r.cleanup,o=[];if(a&&i)for(var s=0;s=0?"dom":"output",m="boolean"==typeof p&&p;e==d&&o.push({element:e,name:u,callback:h,useCapture:m,type:f})}}return o.sort(uh),o}function uh(e,t){return e.name==t.name?0:e.name=0;r--){var i=e[r];i.hostVars=t+=i.hostVars,i.hostAttrs=Xn(i.hostAttrs,n=Xn(n,i.hostAttrs))}}(r)}function Ch(e){return e===nt?{}:e===rt?[]:e}function xh(e,t){var n=e.viewQuery;e.viewQuery=n?function(e,r){t(e,r),n(e,r)}:t}function Eh(e,t){var n=e.contentQueries;e.contentQueries=n?function(e,r,i){t(e,r,i),n(e,r,i)}:t}function Sh(e,t){var n=e.hostBindings;e.hostBindings=n?function(e,r){t(e,r),n(e,r)}:t} /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */var Th=["providersResolver"],Oh=["template","decls","consts","vars","onPush","ngContentSelectors","styles","encapsulation","schemas"];function zh(e){var t,n,i,a,o=_h(e.type),s=void 0;s=xt(e)?o.ɵcmp:o.ɵdir;var l=e;try{for(var c=Object(r.h)(Th),u=c.next();!u.done;u=c.next()){l[p=u.value]=s[p]}}catch(f){t={error:f}}finally{try{u&&!u.done&&(n=c.return)&&n.call(c)}finally{if(t)throw t.error}}if(xt(s))try{for(var d=Object(r.h)(Oh),h=d.next();!h.done;h=d.next()){var p;l[p=h.value]=s[p]}}catch(m){i={error:m}}finally{try{h&&!h.done&&(a=d.return)&&a.call(d)}finally{if(i)throw i.error}}} /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */var Ih=function(){function e(e,t,n){this.previousValue=e,this.currentValue=t,this.firstChange=n}return e.prototype.isFirstChange=function(){return this.firstChange},e}(); /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */function Dh(e){e.type.prototype.ngOnChanges&&(e.setInput=Ah,e.onChanges=function(){var e=Nh(this),t=e&&e.current;if(t){var n=e.previous;if(n===nt)e.previous=t;else for(var r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}})}function Ah(e,t,n,r){var i=Nh(e)||function(e,t){return e.__ngSimpleChanges__=t} /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */(e,{previous:nt,current:null}),a=i.current||(i.current={}),o=i.previous,s=this.declaredInputs[n],l=o[s];a[s]=new Ih(l&&l.currentValue,t,o===nt),e[r]=t}Dh.ngInherit=!0;function Nh(e){return e.__ngSimpleChanges__||null}function Ph(e,t,n,r,i){if(e=V(e),Array.isArray(e))for(var a=0;a>16;if(Sl(e)||!e.multi){var f=new Wn(c,i,tu),m=qh(l,t,i?d:d+p,h);-1===m?(vr(mr(u,s),o,l),Rh(o,e,t.length),t.push(l),u.directiveStart++,u.directiveEnd++,i&&(u.providerIndexes+=65536),n.push(f),s.push(f)):(n[m]=f,s[m]=f)}else{var g=qh(l,t,d+p,h),y=qh(l,t,d,d+p),b=g>=0&&n[g],v=y>=0&&n[y];if(i&&!v||!i&&!b){vr(mr(u,s),o,l);f=function(e,t,n,r,i){var a=new Wn(e,n,tu);return a.multi=[],a.index=t,a.componentProviders=0,Mh(a,i,r&&!n),a}(i?Lh:Bh,n.length,i,r,c);!i&&v&&(n[y].providerFactory=f),Rh(o,e,t.length,0),t.push(l),u.directiveStart++,u.directiveEnd++,i&&(u.providerIndexes+=65536),n.push(f),s.push(f)}else{Rh(o,e,g>-1?g:y,Mh(n[i?y:g],c,!i&&r))}!i&&r&&v&&n[y].componentProviders++}}}function Rh(e,t,n,r){var i=Sl(t);if(i||t.useClass){var a=(t.useClass||t).prototype.ngOnDestroy;if(a){var o=e.destroyHooks||(e.destroyHooks=[]);if(!i&&t.multi){ngDevMode&&Fe(r,"indexInFactory when registering multi factory destroy hook");var s=o.indexOf(n);-1===s?o.push(n,[r,a]):o[s+1].push(r,a)}else o.push(n,a)}}}function Mh(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function qh(e,t,n,r){for(var i=n;i-1}(r,i)))){var u=e._providers.length;return e._def.providers[u]=e._def.providersByKey[t.tokenKey]={flags:5120,value:l.factory,deps:[],index:u,token:t.token},e._providers[u]=xf,e._providers[u]=Df(e,e._def.providersByKey[t.tokenKey])}return 4&t.flags?n:e._parent.get(t.token,n)}finally{fe(a)}}function Df(e,t){var n;switch(201347067&t.flags){case 512:n=function(e,t,n){var i=n.length;switch(i){case 0:return new t;case 1:return new t(If(e,n[0]));case 2:return new t(If(e,n[0]),If(e,n[1]));case 3:return new t(If(e,n[0]),If(e,n[1]),If(e,n[2]));default:for(var a=[],o=0;o0?i[n-1]:null,r)}function Nf(e,t){var n=e.viewContainer._embeddedViews;if((null==t||t>=n.length)&&(t=n.length-1),t<0)return null;var r=n[t];return r.viewContainerParent=null,$e(n,t),Fp.dirtyParentQueries(r),Rf(r),r}function Pf(e,t,n){var r=t?nf(t,t.def.lastRenderRootNode):e.renderElement,i=n.renderer.parentNode(r),a=n.renderer.nextSibling(r);hf(n,2,i,a,void 0)}function Rf(e){hf(e,3,null,null,void 0)} /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */var Mf={};function qf(e,t,n,r,i,a){return new Lf(e,t,n,r,i,a)}function Bf(e){return e.viewDefFactory}var Lf=function(e){function t(t,n,r,i,a,o){var s=e.call(this)||this;return s.selector=t,s.componentType=n,s._inputs=i,s._outputs=a,s.ngContentSelectors=o,s.viewDefFactory=r,s}return Object(r.c)(t,e),Object.defineProperty(t.prototype,"inputs",{get:function(){var e=[],t=this._inputs;for(var n in t){var r=t[n];e.push({propName:n,templateName:r})}return e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"outputs",{get:function(){var e=[];for(var t in this._outputs){var n=this._outputs[t];e.push({propName:t,templateName:n})}return e},enumerable:!0,configurable:!0}),t.prototype.create=function(e,t,n,r){if(!r)throw new Error("ngModule should be provided");var i=df(this.viewDefFactory),a=i.nodes[0].element.componentProvider.nodeIndex,o=Fp.createRootView(e,t||[],n,i,r,Mf),s=Mp(o,a).instance;return n&&o.renderer.setAttribute(Rp(o,0).renderElement,"ng-version",sp.full),new Ff(o,new Kf(o),s)},t}(Hh),Ff=function(e){function t(t,n,r){var i=e.call(this)||this;return i._view=t,i._viewRef=n,i._component=r,i._elDef=i._view.def.nodes[0],i.hostView=n,i.changeDetectorRef=n,i.instance=r,i}return Object(r.c)(t,e),Object.defineProperty(t.prototype,"location",{get:function(){return new Jh(Rp(this._view,this._elDef.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return new $f(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentType",{get:function(){return this._component.constructor},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){this._viewRef.destroy()},t.prototype.onDestroy=function(e){this._viewRef.onDestroy(e)},t}(Vh);function Uf(e,t,n){return new Vf(e,t,n)}var Vf=function(){function e(e,t,n){this._view=e,this._elDef=t,this._data=n,this._embeddedViews=[]}return Object.defineProperty(e.prototype,"element",{get:function(){return new Jh(this._data.renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return new $f(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parentInjector",{get:function(){for(var e=this._view,t=this._elDef.parent;!t&&e;)t=tf(e),e=e.parent;return e?new $f(e,t):new $f(this._view,null)},enumerable:!0,configurable:!0}),e.prototype.clear=function(){for(var e=this._embeddedViews.length-1;e>=0;e--){var t=Nf(this._data,e);Fp.destroyView(t)}},e.prototype.get=function(e){var t=this._embeddedViews[e];if(t){var n=new Kf(t);return n.attachToViewContainerRef(this),n}return null},Object.defineProperty(e.prototype,"length",{get:function(){return this._embeddedViews.length},enumerable:!0,configurable:!0}),e.prototype.createEmbeddedView=function(e,t,n){var r=e.createEmbeddedView(t||{});return this.insert(r,n),r},e.prototype.createComponent=function(e,t,n,r,i){var a=n||this.parentInjector;i||e instanceof Yh||(i=a.get(Oe));var o=e.create(a,r,void 0,i);return this.insert(o.hostView,t),o},e.prototype.insert=function(e,t){if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var n=e,r=n._view;return Af(this._view,this._data,t,r),n.attachToViewContainerRef(this),e},e.prototype.move=function(e,t){if(e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");var n,r,i,a,o,s=this._embeddedViews.indexOf(e._view);return n=this._data,r=s,i=t,a=n.viewContainer._embeddedViews,o=a[r],$e(a,r),null==i&&(i=a.length),Qe(a,i,o),Fp.dirtyParentQueries(o),Rf(o),Pf(n,i>0?a[i-1]:null,o),e},e.prototype.indexOf=function(e){return this._embeddedViews.indexOf(e._view)},e.prototype.remove=function(e){var t=Nf(this._data,e);t&&Fp.destroyView(t)},e.prototype.detach=function(e){var t=Nf(this._data,e);return t?new Kf(t):null},e}();function Hf(e){return new Kf(e)}var Kf=function(){function e(e){this._view=e,this._viewContainerRef=null,this._appRef=null}return Object.defineProperty(e.prototype,"rootNodes",{get:function(){return hf(this._view,0,void 0,void 0,e=[]),e;var e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return this._view.context},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"destroyed",{get:function(){return 0!=(128&this._view.state)},enumerable:!0,configurable:!0}),e.prototype.markForCheck=function(){Zp(this._view)},e.prototype.detach=function(){this._view.state&=-5},e.prototype.detectChanges=function(){var e=this._view.root.rendererFactory;e.begin&&e.begin();try{Fp.checkAndUpdateView(this._view)}finally{e.end&&e.end()}},e.prototype.checkNoChanges=function(){Fp.checkNoChangesView(this._view)},e.prototype.reattach=function(){this._view.state|=4},e.prototype.onDestroy=function(e){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(e)},e.prototype.destroy=function(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),Fp.destroyView(this._view)},e.prototype.detachFromAppRef=function(){this._appRef=null,Rf(this._view),Fp.dirtyParentQueries(this._view)},e.prototype.attachToAppRef=function(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e},e.prototype.attachToViewContainerRef=function(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e},e}();function Wf(e,t){return new Gf(e,t)}var Gf=function(e){function t(t,n){var r=e.call(this)||this;return r._parentView=t,r._def=n,r}return Object(r.c)(t,e),t.prototype.createEmbeddedView=function(e){return new Kf(Fp.createEmbeddedView(this._parentView,this._def,this._def.element.template,e))},Object.defineProperty(t.prototype,"elementRef",{get:function(){return new Jh(Rp(this._parentView,this._def.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),t}(Cp);function Qf(e,t){return new $f(e,t)}var $f=function(){function e(e,t){this.view=e,this.elDef=t}return e.prototype.get=function(e,t){void 0===t&&(t=zl.THROW_IF_NOT_FOUND);var n=!!this.elDef&&0!=(33554432&this.elDef.flags);return Fp.resolveDep(this.view,this.elDef,n,{flags:0,token:e,tokenKey:Hp(e)},t)},e}();function Yf(e,t){var n=e.def.nodes[t];if(1&n.flags){var r=Rp(e,n.nodeIndex);return n.element.template?r.template:r.renderElement}if(2&n.flags)return Pp(e,n.nodeIndex).renderText;if(20240&n.flags)return Mp(e,n.nodeIndex).instance;throw new Error("Illegal state: read nodeValue for node index "+t)}function Zf(e,t,n,r){return new Jf(e,t,n,r)}var Jf=function(){function e(e,t,n,r){this._moduleType=e,this._parent=t,this._bootstrapComponents=n,this._def=r,this._destroyListeners=[],this._destroyed=!1,this.injector=this,function(e){for(var t=e._def,n=e._providers=Ye(t.providers.length),r=0;r0,r=mm(e,t.parent,n,t.provider.value,t.provider.deps);if(t.outputs.length)for(var i=0;i0,i=t.provider;switch(201347067&t.flags){case 512:return mm(e,t.parent,n,i.value,i.deps);case 1024:return function(e,t,n,i,a){var o=a.length;switch(o){case 0:return i();case 1:return i(ym(e,t,n,a[0]));case 2:return i(ym(e,t,n,a[0]),ym(e,t,n,a[1]));case 3:return i(ym(e,t,n,a[0]),ym(e,t,n,a[1]),ym(e,t,n,a[2]));default:for(var s=[],l=0;l0&&Ps(c,d,k.join(" "))}if(a=Kt(m,0),void 0!==t)for(var w=a.projection=[],_=0;_n.length&&n.push(l)}return{type:r,mainBinding:i,cases:t,values:n}}function tg(e){for(var t,n,r="",i=0,a=!1;null!==(t=Um.exec(e));)a?t[0]==="�/*"+n+"�"&&(i=t.index,a=!1):(r+=e.substring(i,t.index+t[0].length),n=t[1],a=!0);return ngDevMode&&Ne(a,!1,'Tag mismatch: unable to find the end of the sub-template in the translation "'+e+'"'),r+=e.substr(i)}function ng(e,t,n,r){void 0===r&&(r=null);for(var i=[null,null],a=e.split(Hm),o=0,s=0;s0&&o!==s){var d=o.index-20;dn()||(d=~d),u.push(d<<3|0)}var h=[],p=[];if(""===r&&hg(i))u.push(r,ug(a),l<<17|1);else for(var f=function(e,t){if(hg(t))return tg(e);var n=e.indexOf(":"+t+"�")+2+t.toString().length,r=e.search(new RegExp("�\\/\\*\\d+:"+t+"�"));return tg(e.substring(n,r))}(r,i),m=function(e){return e.replace(Tg," ")}(f).split(Vm),g=0;g0&&function(e,t,n){if(ngDevMode&&Le(n,0,"The number of slots to alloc should be greater than 0"),n>0&&e.firstCreatePass){for(var r=0;r>1),o++}}(t,e),xu(!1)}function mg(e,t,n,r,i,a){var o=cn();ngDevMode&&He(t,n+20),t[n+20]=i;var s=fo(e,t[6],n,r,a,null);return o&&o.next===s&&(o.next=null),s}function gg(e,t,n,r){for(var i=r[11],a=null,o=null,s=[],l=0;l>>17,p=void 0;p=h===e?r[6]:Kt(n,h),ngDevMode&&Fe(a,"You need to create or select a node before you can insert it into the DOM"),o=dg(n,a,p,o,r);break;case 0:var f=c>=0,m=(f?c:~c)>>>3;s.push(m),o=a,(a=Kt(n,m))&&un(a,f);break;case 5:o=a=Kt(n,c>>>3),un(a,!1);break;case 4:var g=c>>>3,y=t[++l],b=t[++l];Vo(Kt(n,g),r,y,b,null,null);break;default:throw new Error('Unable to determine the type of mutate operation for "'+c+'"')}else switch(c){case xa:var v=t[++l],k=t[++l];ngDevMode&&Ne(typeof v,"string",'Expected "'+v+'" to be a comment node value');var w=i.createComment(v);ngDevMode&&ngDevMode.rendererCreateComment++,o=a,a=mg(n,r,k,5,w,null),s.push(k),$i(w,r),a.activeCaseIndex=null,hn();break;case Ca:var _=t[++l];g=t[++l];ngDevMode&&Ne(typeof _,"string",'Expected "'+_+'" to be an element node tag name');var j=i.createElement(_);ngDevMode&&ngDevMode.rendererCreateElement++,o=a,a=mg(n,r,g,3,j,_),s.push(g);break;default:throw new Error('Unable to determine the type of mutate operation for "'+c+'"')}}return hn(),s}function yg(e,t,n,r){var i=Kt(e,n),a=Ut(n,t);a&&Os(t[11],a);var o=Wt(t,n);if(wt(o)){var s=o;0!==i.type&&Os(t[11],s[7])}r&&(i.flags|=64),ngDevMode&&ngDevMode.rendererRemoveNode++}function bg(e,t,n){cg(e,t,n),fg()}function vg(e,t){var n=on(),r=sn();ngDevMode&&Fe(r,"tView should be defined"),function(e,t,n,r){for(var i=cn().index-20,a=[],o=0;o>>2,g=void 0,y=void 0;switch(3&f){case 1:var b=t[++p],v=t[++p];To(a,Kt(a,m),o,b,h,o[11],v,!1);break;case 0:cs(o,m,h);break;case 2:if(g=n[t[++p]],null!==(y=Kt(a,m)).activeCaseIndex)for(var k=g.remove[y.activeCaseIndex],w=0;w>>3,!1);break;case 6:var j=Kt(a,k[w+1]>>>3).activeCaseIndex;if(null!==j)Ke(n[_>>>3].remove[j],k)}}var C=Cg(g,h);y.activeCaseIndex=-1!==C?C:null,C>-1&&(gg(-1,g.create[C],a,o),l=!0);break;case 3:g=n[t[++p]],null!==(y=Kt(a,m)).activeCaseIndex&&e(g.update[y.activeCaseIndex],n,r,i,a,o,l)}}}c+=d}}(r,i,a,kg,t,o),kg=0,wg=0}}function Cg(e,t){var n=e.cases.indexOf(t);if(-1===n)switch(e.type){case 1:var r=function(e,t){var n=Pm(t)(parseInt(e,10)),r=qm[n];return void 0!==r?r:"other"}(t,Og);-1===(n=e.cases.indexOf(r))&&"other"!==r&&(n=e.cases.indexOf("other"));break;case 0:n=e.cases.indexOf("other")}return n}function xg(e,t,n,i){for(var a=[],o=[],s=[],l=[],c=[],u=0;u=0;n--){var r=t[n];if(e===r.name)return r}throw new Error("The pipe '"+e+"' could not be found!")}(t,r.pipeRegistry),r.data[i]=n,n.onDestroy&&(r.destroyHooks||(r.destroyHooks=[])).push(i,n.onDestroy)):n=r.data[i];var a=n.factory||(n.factory=bt(n.type,!0)),o=me(tu),s=pr(!1),l=a();return pr(s),me(o),Xc(r,on(),e,l),l}function ny(e,t,n){var r=on(),i=Wt(r,e);return ly(r,sy(r,e)?Yg(r,mn(),t,i.transform,n,i):i.transform(n))}function ry(e,t,n,r){var i=on(),a=Wt(i,e);return ly(i,sy(i,e)?Zg(i,mn(),t,a.transform,n,r,a):a.transform(n,r))}function iy(e,t,n,r,i){var a=on(),o=Wt(a,e);return ly(a,sy(a,e)?Jg(a,mn(),t,o.transform,n,r,i,o):o.transform(n,r,i))}function ay(e,t,n,r,i,a){var o=on(),s=Wt(o,e);return ly(o,sy(o,e)?Xg(o,mn(),t,s.transform,n,r,i,a,s):s.transform(n,r,i,a))}function oy(e,t,n){var r=on(),i=Wt(r,e);return ly(r,sy(r,e)?ey(r,mn(),t,i.transform,n,i):i.transform.apply(i,n))}function sy(e,t){return e[1].data[t+20].pure}function ly(e,t){_c.isWrapped(t)&&(t=_c.unwrap(t),e[gn()]=fa);return t} /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */var cy=function(e){function t(t){void 0===t&&(t=!1);var n=e.call(this)||this;return n.__isAsync=t,n}return Object(r.c)(t,e),t.prototype.emit=function(t){e.prototype.next.call(this,t)},t.prototype.subscribe=function(t,n,r){var a,o=function(e){return null},s=function(){return null};t&&"object"==typeof t?(a=this.__isAsync?function(e){setTimeout((function(){return t.next(e)}))}:function(e){t.next(e)},t.error&&(o=this.__isAsync?function(e){setTimeout((function(){return t.error(e)}))}:function(e){t.error(e)}),t.complete&&(s=this.__isAsync?function(){setTimeout((function(){return t.complete()}))}:function(){t.complete()})):(a=this.__isAsync?function(e){setTimeout((function(){return t(e)}))}:function(e){t(e)},n&&(o=this.__isAsync?function(e){setTimeout((function(){return n(e)}))}:function(e){n(e)}),r&&(s=this.__isAsync?function(){setTimeout((function(){return r()}))}:function(){r()}));var l=e.prototype.subscribe.call(this,a,o,s);return t instanceof i.a&&t.add(l),l},t}(a.a); /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */function uy(){return this._results[vc()]()}var dy=function(){function e(){this.dirty=!0,this._results=[],this.changes=new cy,this.length=0;var t=vc(),n=e.prototype;n[t]||(n[t]=uy)}return e.prototype.map=function(e){return this._results.map(e)},e.prototype.filter=function(e){return this._results.filter(e)},e.prototype.find=function(e){return this._results.find(e)},e.prototype.reduce=function(e,t){return this._results.reduce(e,t)},e.prototype.forEach=function(e){this._results.forEach(e)},e.prototype.some=function(e){return this._results.some(e)},e.prototype.toArray=function(){return this._results.slice()},e.prototype.toString=function(){return this._results.toString()},e.prototype.reset=function(e){this._results=We(e),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]},e.prototype.notifyOnChanges=function(){this.changes.emit(this)},e.prototype.setDirty=function(){this.dirty=!0},e.prototype.destroy=function(){this.changes.complete(),this.changes.unsubscribe()},e}(),hy=function(){function e(e){this.queryList=e,this.matches=null}return e.prototype.clone=function(){return new e(this.queryList)},e.prototype.setDirty=function(){this.queryList.setDirty()},e}(),py=function(){function e(e){void 0===e&&(e=[]),this.queries=e}return e.prototype.createEmbeddedView=function(t){var n=t.queries;if(null!==n){for(var r=null!==t.contentQueries?t.contentQueries[0]:n.length,i=[],a=0;a0)i.push(s[l/2]);else{var u=o[l+1],d=n[-c];ngDevMode&&zt(d);for(var h=10;h=0;e--){var t=My[e],n=t.moduleType,r=t.ngModule;r.declarations&&r.declarations.every(Ly)&&(My.splice(e,1),Yy(n,r))}}finally{qy=!1}}}function Ly(e){return Array.isArray(e)?e.every(Ly):!!V(e)}function Fy(e,t){void 0===t&&(t={}),Uy(e,t),function(e,t){My.push({moduleType:e,ngModule:t})}(e,t)}function Uy(e,t,n){void 0===n&&(n=!1),ngDevMode&&Fe(e,"Required value moduleType"),ngDevMode&&Fe(t,"Required value ngModule");var r=We(t.declarations||Ry),i=null;Object.defineProperty(e,ne,{configurable:!0,get:function(){if(null===i){if(ngDevMode&&t.imports&&t.imports.indexOf(e)>-1)throw new Error("'"+or(e)+"' module can't import itself");(i=J().compileNgModule(Ay,"ng:///"+e.name+"/ɵmod.js",{type:e,bootstrap:We(t.bootstrap||Ry).map(V),declarations:r.map(V),imports:We(t.imports||Ry).map(V).map(Xy),exports:We(t.exports||Ry).map(V).map(Xy),schemas:t.schemas?We(t.schemas):null,id:t.id||null})).schemas||(i.schemas=[])}return i}});var a=null;Object.defineProperty(e,P,{get:function(){if(null===a){ngDevMode&&Vy(e,n);var r={name:e.name,type:e,deps:al(e),providers:t.providers||Ry,imports:[(t.imports||Ry).map(V),(t.exports||Ry).map(V)]};a=J().compileInjector(Ay,"ng:///"+e.name+"/ɵinj.js",r)}return a},configurable:!!ngDevMode})}function Vy(e,t,n){if(!Gy.get(e)){var i;if(Gy.set(e,!0),e=V(e),n){if(!(i=vt(e)))throw new Error("Unexpected value '"+e.name+"' imported by the module '"+n.name+"'. Please add an @NgModule annotation.")}else i=vt(e,!0);var a=[],o=dr(i.declarations),s=dr(i.imports);We(s).map(Hy).forEach((function(t){h(t,e),Vy(t,!1,e)}));var l=dr(i.exports);o.forEach((function(t){mt(t=V(t))||gt(t)||yt(t)||a.push("Unexpected value '"+or(t)+"' declared by the module '"+or(e)+"'. Please add a @Pipe/@Directive/@Component annotation.")})),o.forEach((function(e){var t=gt(e=V(e));!mt(e)&&t&&0==t.selectors.length&&a.push("Directive "+or(e)+" has no selector, please add it!")}));var c=Object(r.g)(o.map(V),We(s.map($y)).map(V));l.forEach((function(t){var n=(mt(t=V(t))?"component":gt(t)&&"directive")||yt(t)&&"pipe";n&&-1===c.lastIndexOf(t)&&a.push("Can't export "+n+" "+or(t)+" from "+or(e)+" as it was neither declared nor imported!")})),o.forEach((function(n){return function(t,n){t=V(t);var r=Wy.get(t);if(r&&r!==e){if(!n){var i=[r,e].map(or).sort();a.push("Type "+or(t)+" is part of the declarations of 2 modules: "+i[0]+" and "+i[1]+"! Please consider moving "+or(t)+" to a higher module that imports "+i[0]+" and "+i[1]+". You can also create a new NgModule that exports and includes "+or(t)+" then import that NgModule in "+i[0]+" and "+i[1]+".")}}else Wy.set(t,e)}(n,t)})),o.forEach((function(e){if(mt(e=V(e))){var t=Ky(e,"Component");t&&t.entryComponents&&Ge(t.entryComponents,d)}}));var u=Ky(e,"NgModule");if(u&&(u.imports&&We(u.imports).map(Hy).forEach((function(t){h(t,e),Vy(t,!1,e)})),u.bootstrap&&Ge(u.bootstrap,(function(e){mt(e=V(e))||a.push(or(e)+" cannot be used as an entry component.")})),u.bootstrap&&Ge(u.bootstrap,d),u.entryComponents&&Ge(u.entryComponents,d)),a.length)throw new Error(a.join("\n"))}function d(e){e=V(e),Wy.get(e)||a.push("Component "+or(e)+" is not part of any NgModule or the module has not been imported into your module.")}function h(e,t){if(mt(e=V(e))||gt(e))throw new Error("Unexpected directive '"+e.name+"' imported by the module '"+t.name+"'. Please add an @NgModule annotation.");if(yt(e))throw new Error("Unexpected pipe '"+e.name+"' imported by the module '"+t.name+"'. Please add an @NgModule annotation.")}}function Hy(e){return(e=V(e)).ngModule||e}function Ky(e,t){var n=null;return r(e.__annotations__),r(e.decorators),n;function r(e){e&&e.forEach(i)}function i(e){if(!n)if(Object.getPrototypeOf(e).ngMetadataName==t)n=e;else if(e.type){Object.getPrototypeOf(e.type).ngMetadataName==t&&(n=e.args[0])}}}var Wy=new Map,Gy=new Map;function Qy(){Wy=new Map,Gy=new Map,My.length=0}function $y(e){var t=vt(e=V(e),!0);return Object(r.g)(We(dr(t.exports).map((function(e){return vt(e)?(Vy(e,!1),$y(e)):e}))))}function Yy(e,t){var n=We(t.declarations||Ry),r=Jy(e);n.forEach((function(t){t.hasOwnProperty(X)?Zy(mt(t),r):t.hasOwnProperty(ee)||t.hasOwnProperty(te)||(t.ngSelectorScope=e)}))}function Zy(e,t){e.directiveDefs=function(){return Array.from(t.compilation.directives).map((function(e){return e.hasOwnProperty(X)?mt(e):gt(e)})).filter((function(e){return!!e}))},e.pipeDefs=function(){return Array.from(t.compilation.pipes).map((function(e){return yt(e)}))},e.schemas=t.schemas,e.tView=null}function Jy(e){if(!eb(e))throw new Error(e.name+" does not have a module def (ɵmod property)");var t=vt(e);if(null!==t.transitiveCompileScopes)return t.transitiveCompileScopes;var n={schemas:t.schemas||null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set,pipes:new Set}};return dr(t.imports).forEach((function(e){var t=e;if(!eb(t))throw new Error("Importing "+t.name+" which does not have a ɵmod property");var r=Jy(t);r.exported.directives.forEach((function(e){return n.compilation.directives.add(e)})),r.exported.pipes.forEach((function(e){return n.compilation.pipes.add(e)}))})),dr(t.declarations).forEach((function(e){yt(e)?n.compilation.pipes.add(e):n.compilation.directives.add(e)})),dr(t.exports).forEach((function(e){var t=e;if(eb(t)){var r=Jy(t);r.exported.directives.forEach((function(e){n.compilation.directives.add(e),n.exported.directives.add(e)})),r.exported.pipes.forEach((function(e){n.compilation.pipes.add(e),n.exported.pipes.add(e)}))}else yt(t)?n.exported.pipes.add(t):n.exported.directives.add(t)})),t.transitiveCompileScopes=n,n}function Xy(e){return function(e){return void 0!==e.ngModule}(e)?e.ngModule:e}function eb(e){return!!vt(e)} /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */function tb(e,t){("undefined"==typeof ngDevMode||ngDevMode)&&oe();var n=null;!function(e,t){fc(t)&&(hc.set(e,t),pc.add(e))}(e,t),ib(e,t),Object.defineProperty(e,X,{get:function(){if(null===n){var i=J();if(fc(t)){var a=["Component '"+e.name+"' is not resolved:"];throw t.templateUrl&&a.push(" - templateUrl: "+t.templateUrl),t.styleUrls&&t.styleUrls.length&&a.push(" - styleUrls: "+JSON.stringify(t.styleUrls)),a.push("Did you run and wait for 'resolveComponentResources()'?"),new Error(a.join("\n"))}var o=Ny,s=t.preserveWhitespaces;void 0===s&&(s=null!==o&&void 0!==o.preserveWhitespaces&&o.preserveWhitespaces);var l=t.encapsulation;void 0===l&&(l=null!==o&&void 0!==o.defaultEncapsulation?o.defaultEncapsulation:Te.Emulated);var c=t.templateUrl||"ng:///"+e.name+"/template.html",u=Object(r.a)(Object(r.a)({},ob(e,t)),{typeSourceSpan:i.createParseSourceSpan("Component",e.name,c),template:t.template||"",preserveWhitespaces:s,styles:t.styles||rt,animations:t.animations,directives:[],changeDetection:t.changeDetection,pipes:new Map,encapsulation:l,interpolation:t.interpolation,viewProviders:t.viewProviders||null});if(u.usesInheritance&&sb(e),n=i.compileComponent(Ay,c,u),By(),void 0!==e.ngSelectorScope){var d=Jy(e.ngSelectorScope);Zy(n,d)}}return n},configurable:!!ngDevMode})}function nb(e,t){var n=null;ib(e,t||{}),Object.defineProperty(e,ee,{get:function(){if(null===n){var r=rb(e,t||{});n=J().compileDirective(Ay,r.sourceMapUrl,r.metadata)}return n},configurable:!!ngDevMode})}function rb(e,t){var n=e&&e.name,r="ng:///"+n+"/ɵdir.js",i=J(),a=ob(e,t);return a.typeSourceSpan=i.createParseSourceSpan("Directive",n,r),a.usesInheritance&&sb(e),{metadata:a,sourceMapUrl:r}}function ib(e,t){var n=null;Object.defineProperty(e,ie,{get:function(){if(null===n){var i=rb(e,t),a=J();n=a.compileFactory(Ay,"ng:///"+e.name+"/ɵfac.js",Object(r.a)(Object(r.a)({},i.metadata),{injectFn:"directiveInject",target:a.R3FactoryTarget.Directive}))}return n},configurable:!!ngDevMode})}function ab(e){return Object.getPrototypeOf(e.prototype)===Object.prototype}function ob(e,t){var n,r=il(),i=r.ownPropMetadata(e);return{name:e.name,type:e,typeArgumentCount:0,selector:void 0!==t.selector?t.selector:null,deps:al(e),host:t.host||nt,propMetadata:i,inputs:t.inputs||rt,outputs:t.outputs||rt,queries:lb(e,i,cb),lifecycle:{usesOnChanges:r.hasLifecycleHook(e,"ngOnChanges")},typeSourceSpan:null,usesInheritance:!ab(e),exportAs:(n=t.exportAs,void 0===n?null:hb(n)),providers:t.providers||null,viewQueries:lb(e,i,ub)}}function sb(e){for(var t=Object.prototype,n=Object.getPrototypeOf(e.prototype).constructor;n&&n!==t;)gt(n)||mt(n)||!fb(n)||nb(n,null),n=Object.getPrototypeOf(n)}function lb(e,t,n){var r=[],i=function(i){if(t.hasOwnProperty(i)){var a=t[i];a.forEach((function(t){if(n(t)){if(!t.selector)throw new Error("Can't construct a query for the property \""+i+'" of "'+or(e)+"\" since the query selector wasn't defined.");if(a.some(db))throw new Error("Cannot combine @Input decorators with query decorators");r.push(function(e,t){return{propertyName:e,predicate:(n=t.selector,"string"==typeof n?hb(n):V(n)),descendants:t.descendants,first:t.first,read:t.read?t.read:null,static:!!t.static};var n}(i,t))}}))}};for(var a in t)i(a);return r}function cb(e){var t=e.ngMetadataName;return"ContentChild"===t||"ContentChildren"===t}function ub(e){var t=e.ngMetadataName;return"ViewChild"===t||"ViewChildren"===t}function db(e){return"Input"===e.ngMetadataName}function hb(e){return e.split(",").map((function(e){return e.trim()}))}var pb=["ngOnChanges","ngOnInit","ngOnDestroy","ngDoCheck","ngAfterViewInit","ngAfterViewChecked","ngAfterContentInit","ngAfterContentChecked"];function fb(e){var t=il();if(pb.some((function(n){return t.hasLifecycleHook(e,n)})))return!0;var n=t.propMetadata(e);for(var r in n)for(var i=n[r],a=0;a0&&(i=setTimeout((function(){r._callbacks=r._callbacks.filter((function(e){return e.timeoutId!==i})),e(r._didWork,r.getPendingTasks())}),t)),this._callbacks.push({doneCb:e,timeoutId:i,updateCb:n})},e.prototype.whenStable=function(e,t,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(e,t,n),this._runCallbacksIfReady()},e.prototype.getPendingRequestCount=function(){return this._pendingCount},e.prototype.findProviders=function(e,t,n){return[]},(e=Object(r.b)([Object(r.d)("design:paramtypes",[dv])],e)).ɵfac=function(t){return new(t||e)(ye(dv))},e.ɵprov=T({token:e,factory:function(t){return e.ɵfac(t)}}),e}(),kv=function(){function e(){this._applications=new Map,jv.addToWindow(this)}return e.prototype.registerApplication=function(e,t){this._applications.set(e,t)},e.prototype.unregisterApplication=function(e){this._applications.delete(e)},e.prototype.unregisterAllApplications=function(){this._applications.clear()},e.prototype.getTestability=function(e){return this._applications.get(e)||null},e.prototype.getAllTestabilities=function(){return Array.from(this._applications.values())},e.prototype.getAllRootElements=function(){return Array.from(this._applications.keys())},e.prototype.findTestabilityInTree=function(e,t){return void 0===t&&(t=!0),jv.findTestabilityInTree(this,e,t)},(e=Object(r.b)([Object(r.d)("design:paramtypes",[])],e)).ɵfac=function(t){return new(t||e)},e.ɵprov=T({token:e,factory:function(t){return e.ɵfac(t)}}),e}(); /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */function wv(e){jv=e}var _v,jv=new(function(){function e(){}return e.prototype.addToWindow=function(e){},e.prototype.findTestabilityInTree=function(e,t,n){return null},e}()),Cv=xv; /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */function xv(e,t,n){var i;ngDevMode&&(void 0===i&&(i="Type passed in is not NgModuleType, it does not have 'ɵmod' property."),vt(n)||Ue(i));var a=e.get(sv,[]).concat(t);("undefined"==typeof ngJitMode||ngJitMode)&&function(e){if(null!==Ny){if(e.defaultEncapsulation!==Ny.defaultEncapsulation)return void(ngDevMode&&console.error("Provided value for `defaultEncapsulation` can not be changed once it has been set."));if(e.preserveWhitespaces!==Ny.preserveWhitespaces)return void(ngDevMode&&console.error("Provided value for `preserveWhitespaces` can not be changed once it has been set."))}Ny=e}({defaultEncapsulation:Lv(a.map((function(e){return e.defaultEncapsulation}))),preserveWhitespaces:Lv(a.map((function(e){return e.preserveWhitespaces})))});var o=new qg(n);if(0===hc.size)return Promise.resolve(o);var s,l,c=(s=a.map((function(e){return e.providers})),l=[],s.forEach((function(e){return e&&l.push.apply(l,Object(r.g)(e))})),l);if(0===c.length)return Promise.resolve(o);var u=J(),d=zl.create({providers:c}).get(u.ResourceLoader);return dc((function(e){return Promise.resolve(d.get(e))})).then((function(){return o}))}var Ev=function(){ngDevMode&&fh()},Sv=Tv;function Tv(e){return e.isBoundToModule}var Ov=new le("AllowMultipleToken"),zv=function(e,t){this.name=e,this.token=t};function Iv(e){if(_v&&!_v.destroyed&&!_v.injector.get(Ov,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Ev(),_v=e.get(Rv);var t=e.get(Lb,null);return t&&t.forEach((function(e){return e()})),_v}function Dv(e,t,n){void 0===n&&(n=[]);var r="Platform: "+t,i=new le(r);return function(t){void 0===t&&(t=[]);var a=Pv();if(!a||a.injector.get(Ov,!1))if(e)e(n.concat(t).concat({provide:i,useValue:!0}));else{var o=n.concat(t).concat({provide:i,useValue:!0},{provide:fl,useValue:"platform"});Iv(zl.create({providers:o,name:r}))}return Av(i)}}function Av(e){var t=Pv();if(!t)throw new Error("No platform exists!");if(!t.injector.get(e,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return t}function Nv(){_v&&!_v.destroyed&&_v.destroy()}function Pv(){return _v&&!_v.destroyed?_v:null}var Rv=function(){function e(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return e.prototype.bootstrapModuleFactory=function(e,t){var n=this,r=function(e,t){var n;n="noop"===e?new bv:("zone.js"===e?void 0:e)||new dv({enableLongStackTrace:Xr(),shouldCoalesceEventChangeDetection:t});return n}(t?t.ngZone:void 0,t&&t.ngZoneEventCoalescing||!1),i=[{provide:dv,useValue:r}];return r.run((function(){var t=zl.create({providers:i,parent:n.injector,name:e.moduleType.name}),a=e.create(t),o=a.injector.get(Nr,null);if(!o)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return a.onDestroy((function(){return Bv(n._modules,a)})),r.runOutsideAngular((function(){return r.onError.subscribe({next:function(e){o.handleError(e)}})})),function(e,t,n){try{var r=n();return fu(r)?r.catch((function(n){throw t.runOutsideAngular((function(){return e.handleError(n)})),n})):r}catch(i){throw t.runOutsideAngular((function(){return e.handleError(i)})),i}}(o,r,(function(){var e=a.injector.get(Nb);return e.runInitializers(),e.donePromise.then((function(){Yb&&zg(a.injector.get(Kb,Bm)||Bm);return n._moduleDoBootstrap(a),a}))}))}))},e.prototype.bootstrapModule=function(e,t){var n=this;void 0===t&&(t=[]);var r=Mv({},t);return Cv(this.injector,r,e).then((function(e){return n.bootstrapModuleFactory(e,r)}))},e.prototype._moduleDoBootstrap=function(e){var t=e.injector.get(qv);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach((function(e){return t.bootstrap(e)}));else{if(!e.instance.ngDoBootstrap)throw new Error("The module "+B(e.instance.constructor)+' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.');e.instance.ngDoBootstrap(t)}this._modules.push(e)},e.prototype.onDestroy=function(e){this._destroyListeners.push(e)},Object.defineProperty(e.prototype,"injector",{get:function(){return this._injector},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach((function(e){return e.destroy()})),this._destroyListeners.forEach((function(e){return e()})),this._destroyed=!0},Object.defineProperty(e.prototype,"destroyed",{get:function(){return this._destroyed},enumerable:!0,configurable:!0}),(e=Object(r.b)([Object(r.d)("design:paramtypes",[zl])],e)).ɵfac=function(t){return new(t||e)(ye(zl))},e.ɵprov=T({token:e,factory:function(t){return e.ɵfac(t)}}),e}();function Mv(e,t){return e=Array.isArray(t)?t.reduce(Mv,e):Object(r.a)(Object(r.a)({},e),t)}var qv=function(){function e(e,t,n,r,i,a){var c=this;this._zone=e,this._console=t,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=i,this._initStatus=a,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=Xr(),this._zone.onMicrotaskEmpty.subscribe({next:function(){c._zone.run((function(){c.tick()}))}});var u=new o.a((function(e){c._stable=c._zone.isStable&&!c._zone.hasPendingMacrotasks&&!c._zone.hasPendingMicrotasks,c._zone.runOutsideAngular((function(){e.next(c._stable),e.complete()}))})),d=new o.a((function(e){var t;c._zone.runOutsideAngular((function(){t=c._zone.onStable.subscribe((function(){dv.assertNotInAngularZone(),uv((function(){c._stable||c._zone.hasPendingMacrotasks||c._zone.hasPendingMicrotasks||(c._stable=!0,e.next(!0))}))}))}));var n=c._zone.onUnstable.subscribe((function(){dv.assertInAngularZone(),c._stable&&(c._stable=!1,c._zone.runOutsideAngular((function(){e.next(!1)})))}));return function(){t.unsubscribe(),n.unsubscribe()}}));this.isStable=Object(s.a)(u,d.pipe(Object(l.a)()))}return e.prototype.bootstrap=function(e,t){var n,r=this;if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");n=e instanceof Hh?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);var i=Sv(n)?void 0:this._injector.get(Oe),a=t||n.selector,o=n.create(zl.NULL,[],a,i);o.onDestroy((function(){r._unloadComponent(o)}));var s=o.injector.get(vv,null);return s&&o.injector.get(kv).registerApplication(o.location.nativeElement,s),this._loadComponent(o),Xr()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),o},e.prototype.tick=function(){var e,t,n,i,a=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;try{for(var o=Object(r.h)(this._views),s=o.next();!s.done;s=o.next()){s.value.detectChanges()}}catch(u){e={error:u}}finally{try{s&&!s.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}if(this._enforceNoNewChanges)try{for(var l=Object(r.h)(this._views),c=l.next();!c.done;c=l.next()){c.value.checkNoChanges()}}catch(d){n={error:d}}finally{try{c&&!c.done&&(i=l.return)&&i.call(l)}finally{if(n)throw n.error}}}catch(h){this._zone.runOutsideAngular((function(){return a._exceptionHandler.handleError(h)}))}finally{this._runningTick=!1}},e.prototype.attachView=function(e){var t=e;this._views.push(t),t.attachToAppRef(this)},e.prototype.detachView=function(e){var t=e;Bv(this._views,t),t.detachFromAppRef()},e.prototype._loadComponent=function(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(Ub,[]).concat(this._bootstrapListeners).forEach((function(t){return t(e)}))},e.prototype._unloadComponent=function(e){this.detachView(e.hostView),Bv(this.components,e)},e.prototype.ngOnDestroy=function(){this._views.slice().forEach((function(e){return e.destroy()}))},Object.defineProperty(e.prototype,"viewCount",{get:function(){return this._views.length},enumerable:!0,configurable:!0}),(e=Object(r.b)([Object(r.d)("design:paramtypes",[dv,Hb,zl,Nr,Qh,Nb])],e)).ɵfac=function(t){return new(t||e)(ye(dv),ye(Hb),ye(zl),ye(Nr),ye(Qh),ye(Nb))},e.ɵprov=T({token:e,factory:function(t){return e.ɵfac(t)}}),e}();function Bv(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}function Lv(e){for(var t=e.length-1;t>=0;t--)if(void 0!==e[t])return e[t]} /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ var Fv=function(){};function Uv(e){var t=Rg(e);if(!t)throw Kv(e);return t}function Vv(e){var t=Rg(e);if(!t)throw Kv(e);return new qg(t)}var Hv=Vv;function Kv(e){return new Error("No module with ID "+e+" loaded")} /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */var Wv=function(){},Gv={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},Qv=function(){function e(e,t){this._compiler=e,this._config=t||Gv}return e.prototype.load=function(e){return!Yb&&this._compiler instanceof ov?this.loadFactory(e):this.loadAndCompile(e)},e.prototype.loadAndCompile=function(e){var t=this,i=Object(r.f)(e.split("#"),2),a=i[0],o=i[1];return void 0===o&&(o="default"),n(529)(a).then((function(e){return e[o]})).then((function(e){return $v(e,a,o)})).then((function(e){return t._compiler.compileModuleAsync(e)}))},e.prototype.loadFactory=function(e){var t=Object(r.f)(e.split("#"),2),i=t[0],a=t[1],o="NgFactory";return void 0===a&&(a="default",o=""),n(529)(this._config.factoryPathPrefix+i+this._config.factoryPathSuffix).then((function(e){return e[a+o]})).then((function(e){return $v(e,i,a)}))},(e=Object(r.b)([Object(r.e)(1,k()),Object(r.d)("design:paramtypes",[ov,Wv])],e)).ɵfac=function(t){return new(t||e)(ye(ov),ye(Wv,8))},e.ɵprov=T({token:e,factory:function(t){return e.ɵfac(t)}}),e}();function $v(e,t,n){if(!e)throw new Error("Cannot find '"+n+"' in '"+t+"'");return e} /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */var Yv=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(r.c)(t,e),t}(Ks),Zv=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(r.c)(t,e),t}(Yv),Jv=function(e,t){this.name=e,this.callback=t},Xv=function(){function e(e,t,n){this.listeners=[],this.parent=null,this._debugContext=n,this.nativeNode=e,t&&t instanceof ek&&t.addChild(this)}return Object.defineProperty(e.prototype,"injector",{get:function(){return this._debugContext.injector},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentInstance",{get:function(){return this._debugContext.component},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return this._debugContext.context},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"references",{get:function(){return this._debugContext.references},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"providerTokens",{get:function(){return this._debugContext.providerTokens},enumerable:!0,configurable:!0}),e}(),ek=function(e){function t(t,n,r){var i=e.call(this,t,n,r)||this;return i.properties={},i.attributes={},i.classes={},i.styles={},i.childNodes=[],i.nativeElement=t,i}return Object(r.c)(t,e),t.prototype.addChild=function(e){e&&(this.childNodes.push(e),e.parent=this)},t.prototype.removeChild=function(e){var t=this.childNodes.indexOf(e);-1!==t&&(e.parent=null,this.childNodes.splice(t,1))},t.prototype.insertChildrenAfter=function(e,t){var n,i=this,a=this.childNodes.indexOf(e);-1!==a&&((n=this.childNodes).splice.apply(n,Object(r.g)([a+1,0],t)),t.forEach((function(t){t.parent&&t.parent.removeChild(t),e.parent=i})))},t.prototype.insertBefore=function(e,t){var n=this.childNodes.indexOf(e);-1===n?this.addChild(t):(t.parent&&t.parent.removeChild(t),t.parent=this,this.childNodes.splice(n,0,t))},t.prototype.query=function(e){return this.queryAll(e)[0]||null},t.prototype.queryAll=function(e){var t=[];return nk(this,e,t),t},t.prototype.queryAllNodes=function(e){var t=[];return rk(this,e,t),t},Object.defineProperty(t.prototype,"children",{get:function(){return this.childNodes.filter((function(e){return e instanceof t}))},enumerable:!0,configurable:!0}),t.prototype.triggerEventHandler=function(e,t){this.listeners.forEach((function(n){n.name==e&&n.callback(t)}))},t}(Xv);function tk(e){return e.map((function(e){return e.nativeElement}))}function nk(e,t,n){e.childNodes.forEach((function(e){e instanceof ek&&(t(e)&&n.push(e),nk(e,t,n))}))}function rk(e,t,n){e instanceof ek&&e.childNodes.forEach((function(e){t(e)&&n.push(e),e instanceof ek&&rk(e,t,n)}))}var ik=function(){function e(e){this.nativeNode=e}return Object.defineProperty(e.prototype,"parent",{get:function(){var e=this.nativeNode.parentNode;return e?new ak(e):null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return ah(this.nativeNode)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentInstance",{get:function(){var e=this.nativeNode;return e&&(th(e)||rh(e))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return th(this.nativeNode)||nh(this.nativeNode)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"listeners",{get:function(){return ch(this.nativeNode).filter((function(e){return"dom"===e.type}))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"references",{get:function(){return e=this.nativeNode,null===(t=sh(e,!1))?{}:(void 0===t.localRefs&&(t.localRefs=function(e,t){var n=e[1].data[t];if(n&&n.localNames){for(var r={},i=n.index+1,a=0;a1){for(var c=s[1],u=1;u0)c=m,Yk(m)||(u=m);else for(;c&&f===c.nodeIndex+c.childCount;){var v=c.parent;v&&(v.childFlags|=c.childFlags,v.childMatchedQueries|=c.childMatchedQueries),u=(c=v)&&Yk(c)?c.renderParent:c}}return{factory:null,nodeFlags:o,rootNodeFlags:s,nodeMatchedQueries:l,flags:e,nodes:t,updateDirectives:n||Up,updateRenderer:r||Up,handleEvent:function(e,n,r,i){return t[n].element.handleEvent(e,r,i)},bindingCount:i,outputCount:a,lastRenderRootNode:p}}function Yk(e){return 0!=(1&e.flags)&&null===e.element.name}function Zk(e,t,n){var r=t.element&&t.element.template;if(r){if(!r.lastRenderRootNode)throw new Error("Illegal State: Embedded templates without nodes are not allowed!");if(r.lastRenderRootNode&&16777216&r.lastRenderRootNode.flags)throw new Error("Illegal State: Last root node of a template can't have embedded views, at index "+t.nodeIndex+"!")}if(20224&t.flags&&0==(1&(e?e.flags:0)))throw new Error("Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index "+t.nodeIndex+"!");if(t.query){if(67108864&t.flags&&(!e||0==(16384&e.flags)))throw new Error("Illegal State: Content Query nodes need to be children of directives, at index "+t.nodeIndex+"!");if(134217728&t.flags&&e)throw new Error("Illegal State: View Query nodes have to be top level nodes, at index "+t.nodeIndex+"!")}if(t.childCount){var i=e?e.nodeIndex+e.childCount:n-1;if(t.nodeIndex<=i&&t.nodeIndex+t.childCount>i)throw new Error("Illegal State: childCount of node leads outside of parent, at index "+t.nodeIndex+"!")}}function Jk(e,t,n,r){var i=tw(e.root,e.renderer,e,t,n);return nw(i,e.component,r),rw(i),i}function Xk(e,t,n){var r=tw(e,e.renderer,null,null,t);return nw(r,n,n),rw(r),r}function ew(e,t,n,r){var i,a=t.element.componentRendererType;return i=a?e.root.rendererFactory.createRenderer(r,a):e.root.renderer,tw(e.root,i,e,t.element.componentProvider,n)}function tw(e,t,n,r,i){var a=new Array(i.nodes.length),o=i.outputCount?new Array(i.outputCount):null;return{def:i,parent:n,viewContainerParent:null,parentNodeDef:r,context:null,component:null,nodes:a,state:13,root:e,renderer:t,oldValues:new Array(i.bindingCount),disposables:o,initIndex:-1}}function nw(e,t,n){e.component=t,e.context=n}function rw(e){var t;if(rf(e)){var n=e.parentNodeDef;t=Rp(e.parent,n.parent.nodeIndex).renderElement}for(var r=e.def,i=e.nodes,a=0;a0&&Nk(e,t,0,n)&&(p=!0),h>1&&Nk(e,t,1,r)&&(p=!0),h>2&&Nk(e,t,2,i)&&(p=!0),h>3&&Nk(e,t,3,a)&&(p=!0),h>4&&Nk(e,t,4,o)&&(p=!0),h>5&&Nk(e,t,5,s)&&(p=!0),h>6&&Nk(e,t,6,l)&&(p=!0),h>7&&Nk(e,t,7,c)&&(p=!0),h>8&&Nk(e,t,8,u)&&(p=!0),h>9&&Nk(e,t,9,d)&&(p=!0),p}(e,t,n,r,i,a,o,s,l,c,u,d);case 2:return function(e,t,n,r,i,a,o,s,l,c,u,d){var h=!1,p=t.bindings,f=p.length;if(f>0&&$p(e,t,0,n)&&(h=!0),f>1&&$p(e,t,1,r)&&(h=!0),f>2&&$p(e,t,2,i)&&(h=!0),f>3&&$p(e,t,3,a)&&(h=!0),f>4&&$p(e,t,4,o)&&(h=!0),f>5&&$p(e,t,5,s)&&(h=!0),f>6&&$p(e,t,6,l)&&(h=!0),f>7&&$p(e,t,7,c)&&(h=!0),f>8&&$p(e,t,8,u)&&(h=!0),f>9&&$p(e,t,9,d)&&(h=!0),h){var m=t.text.prefix;f>0&&(m+=Qk(n,p[0])),f>1&&(m+=Qk(r,p[1])),f>2&&(m+=Qk(i,p[2])),f>3&&(m+=Qk(a,p[3])),f>4&&(m+=Qk(o,p[4])),f>5&&(m+=Qk(s,p[5])),f>6&&(m+=Qk(l,p[6])),f>7&&(m+=Qk(c,p[7])),f>8&&(m+=Qk(u,p[8])),f>9&&(m+=Qk(d,p[9]));var g=Pp(e,t.nodeIndex).renderText;e.renderer.setValue(g,m)}return h}(e,t,n,r,i,a,o,s,l,c,u,d);case 16384:return function(e,t,n,r,i,a,o,s,l,c,u,d){var h=Mp(e,t.nodeIndex),p=h.instance,f=!1,m=void 0,g=t.bindings.length;return g>0&&Qp(e,t,0,n)&&(f=!0,m=vm(e,h,t,0,n,m)),g>1&&Qp(e,t,1,r)&&(f=!0,m=vm(e,h,t,1,r,m)),g>2&&Qp(e,t,2,i)&&(f=!0,m=vm(e,h,t,2,i,m)),g>3&&Qp(e,t,3,a)&&(f=!0,m=vm(e,h,t,3,a,m)),g>4&&Qp(e,t,4,o)&&(f=!0,m=vm(e,h,t,4,o,m)),g>5&&Qp(e,t,5,s)&&(f=!0,m=vm(e,h,t,5,s,m)),g>6&&Qp(e,t,6,l)&&(f=!0,m=vm(e,h,t,6,l,m)),g>7&&Qp(e,t,7,c)&&(f=!0,m=vm(e,h,t,7,c,m)),g>8&&Qp(e,t,8,u)&&(f=!0,m=vm(e,h,t,8,u,m)),g>9&&Qp(e,t,9,d)&&(f=!0,m=vm(e,h,t,9,d,m)),m&&p.ngOnChanges(m),65536&t.flags&&Np(e,256,t.nodeIndex)&&p.ngOnInit(),262144&t.flags&&p.ngDoCheck(),f}(e,t,n,r,i,a,o,s,l,c,u,d);case 32:case 64:case 128:return function(e,t,n,r,i,a,o,s,l,c,u,d){var h=t.bindings,p=!1,f=h.length;if(f>0&&$p(e,t,0,n)&&(p=!0),f>1&&$p(e,t,1,r)&&(p=!0),f>2&&$p(e,t,2,i)&&(p=!0),f>3&&$p(e,t,3,a)&&(p=!0),f>4&&$p(e,t,4,o)&&(p=!0),f>5&&$p(e,t,5,s)&&(p=!0),f>6&&$p(e,t,6,l)&&(p=!0),f>7&&$p(e,t,7,c)&&(p=!0),f>8&&$p(e,t,8,u)&&(p=!0),f>9&&$p(e,t,9,d)&&(p=!0),p){var m=qp(e,t.nodeIndex),g=void 0;switch(201347067&t.flags){case 32:g=[],f>0&&g.push(n),f>1&&g.push(r),f>2&&g.push(i),f>3&&g.push(a),f>4&&g.push(o),f>5&&g.push(s),f>6&&g.push(l),f>7&&g.push(c),f>8&&g.push(u),f>9&&g.push(d);break;case 64:g={},f>0&&(g[h[0].name]=n),f>1&&(g[h[1].name]=r),f>2&&(g[h[2].name]=i),f>3&&(g[h[3].name]=a),f>4&&(g[h[4].name]=o),f>5&&(g[h[5].name]=s),f>6&&(g[h[6].name]=l),f>7&&(g[h[7].name]=c),f>8&&(g[h[8].name]=u),f>9&&(g[h[9].name]=d);break;case 128:var y=n;switch(f){case 1:g=y.transform(n);break;case 2:g=y.transform(r);break;case 3:g=y.transform(r,i);break;case 4:g=y.transform(r,i,a);break;case 5:g=y.transform(r,i,a,o);break;case 6:g=y.transform(r,i,a,o,s);break;case 7:g=y.transform(r,i,a,o,s,l);break;case 8:g=y.transform(r,i,a,o,s,l,c);break;case 9:g=y.transform(r,i,a,o,s,l,c,u);break;case 10:g=y.transform(r,i,a,o,s,l,c,u,d)}}m.value=g}return p}(e,t,n,r,i,a,o,s,l,c,u,d);default:throw"unreachable"}}(e,t,i,a,o,s,l,c,u,d,h,p):function(e,t,n){switch(201347067&t.flags){case 1:return function(e,t,n){for(var r=!1,i=0;i0&&Yp(e,t,0,n);h>1&&Yp(e,t,1,r);h>2&&Yp(e,t,2,i);h>3&&Yp(e,t,3,a);h>4&&Yp(e,t,4,o);h>5&&Yp(e,t,5,s);h>6&&Yp(e,t,6,l);h>7&&Yp(e,t,7,c);h>8&&Yp(e,t,8,u);h>9&&Yp(e,t,9,d)}(e,t,r,i,a,o,s,l,c,u,d,h):function(e,t,n){for(var r=0;r0){var a=new Set(e.modules);Ow.forEach((function(t,n){if(a.has(I(n).providedIn)){var i={token:n,flags:t.flags|(r?4096:0),deps:lf(t.deps),value:t.value,index:e.providers.length};e.providers.push(i),e.providersByKey[Hp(n)]=i}}))}}(e=e.factory((function(){return Up}))),e}(r))}var Cw,xw,Ew,Sw,Tw=new Map,Ow=new Map,zw=new Map;function Iw(e){var t;Tw.set(e.token,e),"function"==typeof e.token&&(t=I(e.token))&&"function"==typeof t.providedIn&&Ow.set(e.token,e)}function Dw(e,t){var n=df(Bf(t)),r=df(n.nodes[0].element.componentView);zw.set(e,r)}function Aw(){Tw.clear(),Ow.clear(),zw.clear()}function Nw(e){if(0===Tw.size)return e;var t=function(e){for(var t=[],n=null,r=0;r=0;s--)(i=e[s])&&(o=(a<3?i(o):a>3?i(t,n,o):i(t,n))||o);return a>3&&o&&Object.defineProperty(t,n,o),o}function s(e,t){return function(n,r){t(n,r,e)}}function l(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}Object.create;function c(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function u(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,a=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(r=a.next()).done;)o.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}return o}function d(){for(var e=[],t=0;t0?t.substring(1):t},t.prototype.prepareExternalUrl=function(e){var t=g(this._baseHref,e);return t.length>0?"#"+t:t},t.prototype.pushState=function(e,t,n,r){var i=this.prepareExternalUrl(n+b(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.pushState(e,t,i)},t.prototype.replaceState=function(e,t,n,r){var i=this.prepareExternalUrl(n+b(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.replaceState(e,t,i)},t.prototype.forward=function(){this._platformLocation.forward()},t.prototype.back=function(){this._platformLocation.back()},(t=Object(r.b)([Object(r.e)(1,Object(i.Optional)()),Object(r.e)(1,Object(i.Inject)(w)),Object(r.d)("design:paramtypes",[u,String])],t)).ɵfac=function(e){return new(e||t)(i["ɵɵinject"](u),i["ɵɵinject"](w,8))},t.ɵprov=i["ɵɵdefineInjectable"]({token:t,factory:function(e){return t.ɵfac(e)}}),t}(v),C=function(){function e(e,t){var n=this;this._subject=new i.EventEmitter,this._urlChangeListeners=[],this._platformStrategy=e;var r=this._platformStrategy.getBaseHref();this._platformLocation=t,this._baseHref=y(E(r)),this._platformStrategy.onPopState((function(e){n._subject.emit({url:n.path(!0),pop:!0,state:e.state,type:e.type})}))}var t;return t=e,e.prototype.path=function(e){return void 0===e&&(e=!1),this.normalize(this._platformStrategy.path(e))},e.prototype.getState=function(){return this._platformLocation.getState()},e.prototype.isCurrentPathEqualTo=function(e,t){return void 0===t&&(t=""),this.path()==this.normalize(e+b(t))},e.prototype.normalize=function(e){return t.stripTrailingSlash(function(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,E(e)))},e.prototype.prepareExternalUrl=function(e){return e&&"/"!==e[0]&&(e="/"+e),this._platformStrategy.prepareExternalUrl(e)},e.prototype.go=function(e,t,n){void 0===t&&(t=""),void 0===n&&(n=null),this._platformStrategy.pushState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+b(t)),n)},e.prototype.replaceState=function(e,t,n){void 0===t&&(t=""),void 0===n&&(n=null),this._platformStrategy.replaceState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+b(t)),n)},e.prototype.forward=function(){this._platformStrategy.forward()},e.prototype.back=function(){this._platformStrategy.back()},e.prototype.onUrlChange=function(e){var t=this;this._urlChangeListeners.push(e),this.subscribe((function(e){t._notifyUrlChangeListeners(e.url,e.state)}))},e.prototype._notifyUrlChangeListeners=function(e,t){void 0===e&&(e=""),this._urlChangeListeners.forEach((function(n){return n(e,t)}))},e.prototype.subscribe=function(e,t,n){return this._subject.subscribe({next:e,error:t,complete:n})},e.normalizeQueryParams=b,e.joinWithSlash=g,e.stripTrailingSlash=y,e.ɵprov=Object(i["ɵɵdefineInjectable"])({factory:x,token:e,providedIn:"root"}),(e=t=Object(r.b)([Object(r.d)("design:paramtypes",[v,u])],e)).ɵfac=function(t){return new(t||e)(i["ɵɵinject"](v),i["ɵɵinject"](u))},e}();function x(){return new C(Object(i["ɵɵinject"])(v),Object(i["ɵɵinject"])(u))}function E(e){return e.replace(/\/index.html$/,"")} /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */var S,T,O,z,I,D,A,N={ADP:[void 0,void 0,0],AFN:[void 0,void 0,0],ALL:[void 0,void 0,0],AMD:[void 0,void 0,2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"৳"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,"р.",2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN¥","¥"],COP:[void 0,"$",2],CRC:[void 0,"₡",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"Kč",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E£"],ESP:[void 0,"₧",0],EUR:["€"],FJD:[void 0,"$"],FKP:[void 0,"£"],GBP:["£"],GEL:[void 0,"₾"],GIP:[void 0,"£"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["₪"],INR:["₹"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["¥",void 0,0],KHR:[void 0,"៛"],KMF:[void 0,"CF",0],KPW:[void 0,"₩",0],KRW:["₩",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"₸"],LAK:[void 0,"₭",0],LBP:[void 0,"L£",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"₮",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"₦"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:[void 0,"₱"],PKR:[void 0,"Rs",2],PLN:[void 0,"zł"],PYG:[void 0,"₲",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"₽"],RUR:[void 0,"р."],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"£"],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"£"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"£",0],THB:[void 0,"฿"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"₺"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"₴"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["₫",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["CFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["¤"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]}; /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */function P(e){return Object(i["ɵfindLocaleData"])(e)[i["ɵLocaleDataIndex"].LocaleId]}function R(e,t,n){var r=Object(i["ɵfindLocaleData"])(e),a=te([r[i["ɵLocaleDataIndex"].DayPeriodsFormat],r[i["ɵLocaleDataIndex"].DayPeriodsStandalone]],t);return te(a,n)}function M(e,t,n){var r=Object(i["ɵfindLocaleData"])(e),a=te([r[i["ɵLocaleDataIndex"].DaysFormat],r[i["ɵLocaleDataIndex"].DaysStandalone]],t);return te(a,n)}function q(e,t,n){var r=Object(i["ɵfindLocaleData"])(e),a=te([r[i["ɵLocaleDataIndex"].MonthsFormat],r[i["ɵLocaleDataIndex"].MonthsStandalone]],t);return te(a,n)}function B(e,t){return te(Object(i["ɵfindLocaleData"])(e)[i["ɵLocaleDataIndex"].Eras],t)}function L(e){return Object(i["ɵfindLocaleData"])(e)[i["ɵLocaleDataIndex"].FirstDayOfWeek]}function F(e){return Object(i["ɵfindLocaleData"])(e)[i["ɵLocaleDataIndex"].WeekendRange]}function U(e,t){return te(Object(i["ɵfindLocaleData"])(e)[i["ɵLocaleDataIndex"].DateFormat],t)}function V(e,t){return te(Object(i["ɵfindLocaleData"])(e)[i["ɵLocaleDataIndex"].TimeFormat],t)}function H(e,t){return te(Object(i["ɵfindLocaleData"])(e)[i["ɵLocaleDataIndex"].DateTimeFormat],t)}function K(e,t){var n=Object(i["ɵfindLocaleData"])(e),r=n[i["ɵLocaleDataIndex"].NumberSymbols][t];if(void 0===r){if(t===D.CurrencyDecimal)return n[i["ɵLocaleDataIndex"].NumberSymbols][D.Decimal];if(t===D.CurrencyGroup)return n[i["ɵLocaleDataIndex"].NumberSymbols][D.Group]}return r}function W(e,t){return Object(i["ɵfindLocaleData"])(e)[i["ɵLocaleDataIndex"].NumberFormats][t]}function G(e){return Object(i["ɵfindLocaleData"])(e)[i["ɵLocaleDataIndex"].CurrencySymbol]||null}function Q(e){return Object(i["ɵfindLocaleData"])(e)[i["ɵLocaleDataIndex"].CurrencyName]||null}function $(e){return Object(i["ɵgetLocaleCurrencyCode"])(e)}!function(e){e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific"}(S||(S={})),function(e){e[e.Zero=0]="Zero",e[e.One=1]="One",e[e.Two=2]="Two",e[e.Few=3]="Few",e[e.Many=4]="Many",e[e.Other=5]="Other"}(T||(T={})),function(e){e[e.Format=0]="Format",e[e.Standalone=1]="Standalone"}(O||(O={})),function(e){e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short"}(z||(z={})),function(e){e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full"}(I||(I={})),function(e){e[e.Decimal=0]="Decimal",e[e.Group=1]="Group",e[e.List=2]="List",e[e.PercentSign=3]="PercentSign",e[e.PlusSign=4]="PlusSign",e[e.MinusSign=5]="MinusSign",e[e.Exponential=6]="Exponential",e[e.SuperscriptingExponent=7]="SuperscriptingExponent",e[e.PerMille=8]="PerMille",e[e[1/0]=9]="Infinity",e[e.NaN=10]="NaN",e[e.TimeSeparator=11]="TimeSeparator",e[e.CurrencyDecimal=12]="CurrencyDecimal",e[e.CurrencyGroup=13]="CurrencyGroup"}(D||(D={})),function(e){e[e.Sunday=0]="Sunday",e[e.Monday=1]="Monday",e[e.Tuesday=2]="Tuesday",e[e.Wednesday=3]="Wednesday",e[e.Thursday=4]="Thursday",e[e.Friday=5]="Friday",e[e.Saturday=6]="Saturday"}(A||(A={}));var Y=i["ɵgetLocalePluralCase"];function Z(e){if(!e[i["ɵLocaleDataIndex"].ExtraData])throw new Error('Missing extra locale data for the locale "'+e[i["ɵLocaleDataIndex"].LocaleId]+'". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.')}function J(e){var t=Object(i["ɵfindLocaleData"])(e);return Z(t),(t[i["ɵLocaleDataIndex"].ExtraData][2]||[]).map((function(e){return"string"==typeof e?ne(e):[ne(e[0]),ne(e[1])]}))}function X(e,t,n){var r=Object(i["ɵfindLocaleData"])(e);Z(r);var a=te([r[i["ɵLocaleDataIndex"].ExtraData][0],r[i["ɵLocaleDataIndex"].ExtraData][1]],t)||[];return te(a,n)||[]}function ee(e){return Object(i["ɵfindLocaleData"])(e)[i["ɵLocaleDataIndex"].Directionality]}function te(e,t){for(var n=t;n>-1;n--)if(void 0!==e[n])return e[n];throw new Error("Locale data API: locale data undefined")}function ne(e){var t=Object(r.f)(e.split(":"),2);return{hours:+t[0],minutes:+t[1]}}function re(e,t,n){void 0===n&&(n="en");var r=function(e){return Object(i["ɵfindLocaleData"])(e)[i["ɵLocaleDataIndex"].Currencies]}(n)[e]||N[e]||[],a=r[1];return"narrow"===t&&"string"==typeof a?a:r[0]||e}function ie(e){var t,n=N[e];return n&&(t=n[2]),"number"==typeof t?t:2} /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */var ae,oe,se,le=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,ce={},ue=/((?:[^GyMLwWdEabBhHmsSzZO']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;function de(e,t,n,i){var a=function(e){if(ke(e))return e;if("number"==typeof e&&!isNaN(e))return new Date(e);if("string"==typeof e){e=e.trim();var t=parseFloat(e);if(!isNaN(e-t))return new Date(t);if(/^(\d{4}-\d{1,2}-\d{1,2})$/.test(e)){var n=Object(r.f)(e.split("-").map((function(e){return+e})),3),i=n[0],a=n[1],o=n[2];return new Date(i,a-1,o)}var s;if(s=e.match(le))return function(e){var t=new Date(0),n=0,r=0,i=e[8]?t.setUTCFullYear:t.setFullYear,a=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),r=Number(e[9]+e[11]));i.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));var o=Number(e[4]||0)-n,s=Number(e[5]||0)-r,l=Number(e[6]||0),c=Math.round(1e3*parseFloat("0."+(e[7]||0)));return a.call(t,o,s,l,c),t}(s)}var l=new Date(e);if(!ke(l))throw new Error('Unable to convert "'+e+'" into a date');return l}(e);t=function e(t,n){var r=P(t);if(ce[r]=ce[r]||{},ce[r][n])return ce[r][n];var i="";switch(n){case"shortDate":i=U(t,I.Short);break;case"mediumDate":i=U(t,I.Medium);break;case"longDate":i=U(t,I.Long);break;case"fullDate":i=U(t,I.Full);break;case"shortTime":i=V(t,I.Short);break;case"mediumTime":i=V(t,I.Medium);break;case"longTime":i=V(t,I.Long);break;case"fullTime":i=V(t,I.Full);break;case"short":var a=e(t,"shortTime"),o=e(t,"shortDate");i=he(H(t,I.Short),[a,o]);break;case"medium":var s=e(t,"mediumTime"),l=e(t,"mediumDate");i=he(H(t,I.Medium),[s,l]);break;case"long":var c=e(t,"longTime"),u=e(t,"longDate");i=he(H(t,I.Long),[c,u]);break;case"full":var d=e(t,"fullTime"),h=e(t,"fullDate");i=he(H(t,I.Full),[d,h])}i&&(ce[r][n]=i);return i}(n,t)||t;for(var o,s=[];t;){if(!(o=ue.exec(t))){s.push(t);break}var l=(s=s.concat(o.slice(1))).pop();if(!l)break;t=l}var c=a.getTimezoneOffset();i&&(c=ve(i,c),a=function(e,t,n){var r=n?-1:1,i=e.getTimezoneOffset(),a=ve(t,i);return function(e,t){return(e=new Date(e.getTime())).setMinutes(e.getMinutes()+t),e}(e,r*(a-i))}(a,i,!0));var u="";return s.forEach((function(e){var t=function(e){if(be[e])return be[e];var t;switch(e){case"G":case"GG":case"GGG":t=me(se.Eras,z.Abbreviated);break;case"GGGG":t=me(se.Eras,z.Wide);break;case"GGGGG":t=me(se.Eras,z.Narrow);break;case"y":t=fe(oe.FullYear,1,0,!1,!0);break;case"yy":t=fe(oe.FullYear,2,0,!0,!0);break;case"yyy":t=fe(oe.FullYear,3,0,!1,!0);break;case"yyyy":t=fe(oe.FullYear,4,0,!1,!0);break;case"M":case"L":t=fe(oe.Month,1,1);break;case"MM":case"LL":t=fe(oe.Month,2,1);break;case"MMM":t=me(se.Months,z.Abbreviated);break;case"MMMM":t=me(se.Months,z.Wide);break;case"MMMMM":t=me(se.Months,z.Narrow);break;case"LLL":t=me(se.Months,z.Abbreviated,O.Standalone);break;case"LLLL":t=me(se.Months,z.Wide,O.Standalone);break;case"LLLLL":t=me(se.Months,z.Narrow,O.Standalone);break;case"w":t=ye(1);break;case"ww":t=ye(2);break;case"W":t=ye(1,!0);break;case"d":t=fe(oe.Date,1);break;case"dd":t=fe(oe.Date,2);break;case"E":case"EE":case"EEE":t=me(se.Days,z.Abbreviated);break;case"EEEE":t=me(se.Days,z.Wide);break;case"EEEEE":t=me(se.Days,z.Narrow);break;case"EEEEEE":t=me(se.Days,z.Short);break;case"a":case"aa":case"aaa":t=me(se.DayPeriods,z.Abbreviated);break;case"aaaa":t=me(se.DayPeriods,z.Wide);break;case"aaaaa":t=me(se.DayPeriods,z.Narrow);break;case"b":case"bb":case"bbb":t=me(se.DayPeriods,z.Abbreviated,O.Standalone,!0);break;case"bbbb":t=me(se.DayPeriods,z.Wide,O.Standalone,!0);break;case"bbbbb":t=me(se.DayPeriods,z.Narrow,O.Standalone,!0);break;case"B":case"BB":case"BBB":t=me(se.DayPeriods,z.Abbreviated,O.Format,!0);break;case"BBBB":t=me(se.DayPeriods,z.Wide,O.Format,!0);break;case"BBBBB":t=me(se.DayPeriods,z.Narrow,O.Format,!0);break;case"h":t=fe(oe.Hours,1,-12);break;case"hh":t=fe(oe.Hours,2,-12);break;case"H":t=fe(oe.Hours,1);break;case"HH":t=fe(oe.Hours,2);break;case"m":t=fe(oe.Minutes,1);break;case"mm":t=fe(oe.Minutes,2);break;case"s":t=fe(oe.Seconds,1);break;case"ss":t=fe(oe.Seconds,2);break;case"S":t=fe(oe.FractionalSeconds,1);break;case"SS":t=fe(oe.FractionalSeconds,2);break;case"SSS":t=fe(oe.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":t=ge(ae.Short);break;case"ZZZZZ":t=ge(ae.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=ge(ae.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":t=ge(ae.Long);break;default:return null}return be[e]=t,t}(e);u+=t?t(a,n,c):"''"===e?"'":e.replace(/(^'|'$)/g,"").replace(/''/g,"'")})),u}function he(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,(function(e,n){return null!=t&&n in t?t[n]:e}))),e}function pe(e,t,n,r,i){void 0===n&&(n="-");var a="";(e<0||i&&e<=0)&&(i?e=1-e:(e=-e,a=n));for(var o=String(e);o.length0||l>-n)&&(l+=n),e===oe.Hours)0===l&&-12===n&&(l=12);else if(e===oe.FractionalSeconds)return s=t,pe(l,3).substr(0,s);var c=K(o,D.MinusSign);return pe(l,t,c,r,i)}}function me(e,t,n,r){return void 0===n&&(n=O.Format),void 0===r&&(r=!1),function(i,a){return function(e,t,n,r,i,a){switch(n){case se.Months:return q(t,i,r)[e.getMonth()];case se.Days:return M(t,i,r)[e.getDay()];case se.DayPeriods:var o=e.getHours(),s=e.getMinutes();if(a){var l,c=J(t),u=X(t,i,r);if(c.forEach((function(e,t){if(Array.isArray(e)){var n=e[0],r=n.hours,i=n.minutes,a=e[1],c=a.hours,d=a.minutes;o>=r&&s>=i&&(o0?Math.floor(i/60):Math.ceil(i/60);switch(e){case ae.Short:return(i>=0?"+":"")+pe(o,2,a)+pe(Math.abs(i%60),2,a);case ae.ShortGMT:return"GMT"+(i>=0?"+":"")+pe(o,1,a);case ae.Long:return"GMT"+(i>=0?"+":"")+pe(o,2,a)+":"+pe(Math.abs(i%60),2,a);case ae.Extended:return 0===r?"Z":(i>=0?"+":"")+pe(o,2,a)+":"+pe(Math.abs(i%60),2,a);default:throw new Error('Unknown zone width "'+e+'"')}}}!function(e){e[e.Short=0]="Short",e[e.ShortGMT=1]="ShortGMT",e[e.Long=2]="Long",e[e.Extended=3]="Extended"}(ae||(ae={})),function(e){e[e.FullYear=0]="FullYear",e[e.Month=1]="Month",e[e.Date=2]="Date",e[e.Hours=3]="Hours",e[e.Minutes=4]="Minutes",e[e.Seconds=5]="Seconds",e[e.FractionalSeconds=6]="FractionalSeconds",e[e.Day=7]="Day"}(oe||(oe={})),function(e){e[e.DayPeriods=0]="DayPeriods",e[e.Days=1]="Days",e[e.Months=2]="Months",e[e.Eras=3]="Eras"}(se||(se={}));function ye(e,t){return void 0===t&&(t=!1),function(n,r){var i,a,o,s;if(t){var l=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,c=n.getDate();i=1+Math.floor((c+l)/7)}else{var u=(o=n.getFullYear(),s=new Date(o,0,1).getDay(),new Date(o,0,1+(s<=4?4:11)-s)),d=(a=n,new Date(a.getFullYear(),a.getMonth(),a.getDate()+(4-a.getDay()))).getTime()-u.getTime();i=1+Math.round(d/6048e5)}return pe(i,e,K(r,D.MinusSign))}}var be={};function ve(e,t){e=e.replace(/:/g,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function ke(e){return e instanceof Date&&!isNaN(e.valueOf())} /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */var we=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function _e(e,t,n,r,i,a,o){void 0===o&&(o=!1);var s="",l=!1;if(isFinite(e)){var c=function(e){var t,n,r,i,a,o=Math.abs(e)+"",s=0;(n=o.indexOf("."))>-1&&(o=o.replace(".",""));(r=o.search(/e/i))>0?(n<0&&(n=r),n+=+o.slice(r+1),o=o.substring(0,r)):n<0&&(n=o.length);for(r=0;"0"===o.charAt(r);r++);if(r===(a=o.length))t=[0],n=1;else{for(a--;"0"===o.charAt(a);)a--;for(n-=r,t=[],i=0;r<=a;r++,i++)t[i]=Number(o.charAt(r))}n>22&&(t=t.splice(0,21),s=n-1,n=1);return{digits:t,exponent:s,integerLen:n}}(e);o&&(c=function(e){if(0===e.digits[0])return e;var t=e.digits.length-e.integerLen;e.exponent?e.exponent+=2:(0===t?e.digits.push(0,0):1===t&&e.digits.push(0),e.integerLen+=2);return e}(c));var u=t.minInt,d=t.minFrac,h=t.maxFrac;if(a){var p=a.match(we);if(null===p)throw new Error(a+" is not a valid digit info");var f=p[1],m=p[3],g=p[5];null!=f&&(u=Se(f)),null!=m&&(d=Se(m)),null!=g?h=Se(g):null!=m&&d>h&&(h=d)}!function(e,t,n){if(t>n)throw new Error("The minimum number of digits after fraction ("+t+") is higher than the maximum ("+n+").");var r=e.digits,i=r.length-e.integerLen,a=Math.min(Math.max(t,i),n),o=a+e.integerLen,s=r[o];if(o>0){r.splice(Math.max(e.integerLen,o));for(var l=o;l=5)if(o-1<0){for(var u=0;u>o;u--)r.unshift(0),e.integerLen++;r.unshift(1),e.integerLen++}else r[o-1]++;for(;i=h?r.pop():d=!1),t>=10?1:0}),0);p&&(r.unshift(p),e.integerLen++)}(c,d,h);var y=c.digits,b=c.integerLen,v=c.exponent,k=[];for(l=y.every((function(e){return!e}));b0?k=y.splice(b,y.length):(k=y,y=[0]);var w=[];for(y.length>=t.lgSize&&w.unshift(y.splice(-t.lgSize,y.length).join(""));y.length>t.gSize;)w.unshift(y.splice(-t.gSize,y.length).join(""));y.length&&w.unshift(y.join("")),s=w.join(K(n,r)),k.length&&(s+=K(n,i)+k.join("")),v&&(s+=K(n,D.Exponential)+"+"+v)}else s=K(n,D.Infinity);return s=e<0&&!l?t.negPre+s+t.negSuf:t.posPre+s+t.posSuf}function je(e,t,n,r,i){var a=Ee(W(t,S.Currency),K(t,D.MinusSign));return a.minFrac=ie(r),a.maxFrac=a.minFrac,_e(e,a,t,D.CurrencyGroup,D.CurrencyDecimal,i).replace("¤",n).replace("¤","").trim()}function Ce(e,t,n){return _e(e,Ee(W(t,S.Percent),K(t,D.MinusSign)),t,D.Group,D.Decimal,n,!0).replace(new RegExp("%","g"),K(t,D.PercentSign))}function xe(e,t,n){return _e(e,Ee(W(t,S.Decimal),K(t,D.MinusSign)),t,D.Group,D.Decimal,n)}function Ee(e,t){void 0===t&&(t="-");var n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=e.split(";"),i=r[0],a=r[1],o=-1!==i.indexOf(".")?i.split("."):[i.substring(0,i.lastIndexOf("0")+1),i.substring(i.lastIndexOf("0")+1)],s=o[0],l=o[1]||"";n.posPre=s.substr(0,s.indexOf("#"));for(var c=0;c-1)return i;if(i=n.getPluralCategory(e,r),t.indexOf(i)>-1)return i;if(t.indexOf("other")>-1)return"other";throw new Error('No plural message found for value "'+e+'"')}var ze=function(e){function t(t){var n=e.call(this)||this;return n.locale=t,n}return Object(r.c)(t,e),t.prototype.getPluralCategory=function(e,t){switch(Y(t||this.locale)(e)){case T.Zero:return"zero";case T.One:return"one";case T.Two:return"two";case T.Few:return"few";case T.Many:return"many";default:return"other"}},(t=Object(r.b)([Object(r.e)(0,Object(i.Inject)(i.LOCALE_ID)),Object(r.d)("design:paramtypes",[String])],t)).ɵfac=function(e){return new(e||t)(i["ɵɵinject"](i.LOCALE_ID))},t.ɵprov=i["ɵɵdefineInjectable"]({token:t,factory:function(e){return t.ɵfac(e)}}),t}(Te); /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */function Ie(e,t,n){return Object(i["ɵregisterLocaleData"])(e,t,n)} /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */function De(e,t){var n,i;t=encodeURIComponent(t);try{for(var a=Object(r.h)(e.split(";")),o=a.next();!o.done;o=a.next()){var s=o.value,l=s.indexOf("="),c=Object(r.f)(-1==l?[s,""]:[s.slice(0,l),s.slice(l+1)],2),u=c[0],d=c[1];if(u.trim()===t)return decodeURIComponent(d)}}catch(h){n={error:h}}finally{try{o&&!o.done&&(i=a.return)&&i.call(a)}finally{if(n)throw n.error}}return null}var Ae=function(){function e(e,t,n,r){this._iterableDiffers=e,this._keyValueDiffers=t,this._ngEl=n,this._renderer=r,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}return Object.defineProperty(e.prototype,"klass",{set:function(e){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof e?e.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngClass",{set:function(e){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof e?e.split(/\s+/):e,this._rawClass&&(Object(i["ɵisListLikeIterable"])(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())},enumerable:!0,configurable:!0}),e.prototype.ngDoCheck=function(){if(this._iterableDiffer){var e=this._iterableDiffer.diff(this._rawClass);e&&this._applyIterableChanges(e)}else if(this._keyValueDiffer){var t=this._keyValueDiffer.diff(this._rawClass);t&&this._applyKeyValueChanges(t)}},e.prototype._applyKeyValueChanges=function(e){var t=this;e.forEachAddedItem((function(e){return t._toggleClass(e.key,e.currentValue)})),e.forEachChangedItem((function(e){return t._toggleClass(e.key,e.currentValue)})),e.forEachRemovedItem((function(e){e.previousValue&&t._toggleClass(e.key,!1)}))},e.prototype._applyIterableChanges=function(e){var t=this;e.forEachAddedItem((function(e){if("string"!=typeof e.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got "+Object(i["ɵstringify"])(e.item));t._toggleClass(e.item,!0)})),e.forEachRemovedItem((function(e){return t._toggleClass(e.item,!1)}))},e.prototype._applyClasses=function(e){var t=this;e&&(Array.isArray(e)||e instanceof Set?e.forEach((function(e){return t._toggleClass(e,!0)})):Object.keys(e).forEach((function(n){return t._toggleClass(n,!!e[n])})))},e.prototype._removeClasses=function(e){var t=this;e&&(Array.isArray(e)||e instanceof Set?e.forEach((function(e){return t._toggleClass(e,!1)})):Object.keys(e).forEach((function(e){return t._toggleClass(e,!1)})))},e.prototype._toggleClass=function(e,t){var n=this;(e=e.trim())&&e.split(/\s+/g).forEach((function(e){t?n._renderer.addClass(n._ngEl.nativeElement,e):n._renderer.removeClass(n._ngEl.nativeElement,e)}))},Object(r.b)([Object(i.Input)("class"),Object(r.d)("design:type",String),Object(r.d)("design:paramtypes",[String])],e.prototype,"klass",null),Object(r.b)([Object(i.Input)("ngClass"),Object(r.d)("design:type",Object),Object(r.d)("design:paramtypes",[Object])],e.prototype,"ngClass",null),(e=Object(r.b)([Object(r.d)("design:paramtypes",[i.IterableDiffers,i.KeyValueDiffers,i.ElementRef,i.Renderer2])],e)).ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](i.IterableDiffers),i["ɵɵdirectiveInject"](i.KeyValueDiffers),i["ɵɵdirectiveInject"](i.ElementRef),i["ɵɵdirectiveInject"](i.Renderer2))},e.ɵdir=i["ɵɵdefineDirective"]({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),e}(),Ne=function(){function e(e){this._viewContainerRef=e,this._componentRef=null,this._moduleRef=null}return e.prototype.ngOnChanges=function(e){if(this._viewContainerRef.clear(),this._componentRef=null,this.ngComponentOutlet){var t=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;if(e.ngComponentOutletNgModuleFactory)if(this._moduleRef&&this._moduleRef.destroy(),this.ngComponentOutletNgModuleFactory){var n=t.get(i.NgModuleRef);this._moduleRef=this.ngComponentOutletNgModuleFactory.create(n.injector)}else this._moduleRef=null;var r=(this._moduleRef?this._moduleRef.componentFactoryResolver:t.get(i.ComponentFactoryResolver)).resolveComponentFactory(this.ngComponentOutlet);this._componentRef=this._viewContainerRef.createComponent(r,this._viewContainerRef.length,t,this.ngComponentOutletContent)}},e.prototype.ngOnDestroy=function(){this._moduleRef&&this._moduleRef.destroy()},Object(r.b)([Object(i.Input)(),Object(r.d)("design:type",i.Type)],e.prototype,"ngComponentOutlet",void 0),Object(r.b)([Object(i.Input)(),Object(r.d)("design:type",i.Injector)],e.prototype,"ngComponentOutletInjector",void 0),Object(r.b)([Object(i.Input)(),Object(r.d)("design:type",Array)],e.prototype,"ngComponentOutletContent",void 0),Object(r.b)([Object(i.Input)(),Object(r.d)("design:type",i.NgModuleFactory)],e.prototype,"ngComponentOutletNgModuleFactory",void 0),(e=Object(r.b)([Object(r.d)("design:paramtypes",[i.ViewContainerRef])],e)).ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](i.ViewContainerRef))},e.ɵdir=i["ɵɵdefineDirective"]({type:e,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},features:[i["ɵɵNgOnChangesFeature"]]}),e}(),Pe=function(){function e(e,t,n,r){this.$implicit=e,this.ngForOf=t,this.index=n,this.count=r}return Object.defineProperty(e.prototype,"first",{get:function(){return 0===this.index},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"last",{get:function(){return this.index===this.count-1},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"even",{get:function(){return this.index%2==0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"odd",{get:function(){return!this.even},enumerable:!0,configurable:!0}),e}(),Re=function(){function e(e,t,n){this._viewContainer=e,this._template=t,this._differs=n,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}return Object.defineProperty(e.prototype,"ngForOf",{set:function(e){this._ngForOf=e,this._ngForOfDirty=!0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngForTrackBy",{get:function(){return this._trackByFn},set:function(e){Object(i.isDevMode)()&&null!=e&&"function"!=typeof e&&console&&console.warn&&console.warn("trackBy must be a function, but received "+JSON.stringify(e)+". See https://angular.io/api/common/NgForOf#change-propagation for more information."),this._trackByFn=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngForTemplate",{set:function(e){e&&(this._template=e)},enumerable:!0,configurable:!0}),e.prototype.ngDoCheck=function(){if(this._ngForOfDirty){this._ngForOfDirty=!1;var e=this._ngForOf;if(!this._differ&&e)try{this._differ=this._differs.find(e).create(this.ngForTrackBy)}catch(r){throw new Error("Cannot find a differ supporting object '"+e+"' of type '"+(((t=e).name||typeof t)+"'. NgFor only supports binding to Iterables such as Arrays."))}}var t; /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */if(this._differ){var n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}},e.prototype._applyChanges=function(e){var t=this,n=[];e.forEachOperation((function(e,r,i){if(null==e.previousIndex){var a=t._viewContainer.createEmbeddedView(t._template,new Pe(null,t._ngForOf,-1,-1),null===i?void 0:i),o=new Me(e,a);n.push(o)}else if(null==i)t._viewContainer.remove(null===r?void 0:r);else if(null!==r){a=t._viewContainer.get(r);t._viewContainer.move(a,i);o=new Me(e,a);n.push(o)}}));for(var r=0;r0)for(var n=this.count>=this.total?this.total:this.count,r=this.ring,i=0;i=2;return function(r){return r.pipe(e?Object(O.a)((function(t,n){return e(t,n,r)})):F.a,I(1),n?q(t):N((function(){return new h})))}}var V=n(74);function H(e){return function(t){var n=new K(e),r=t.lift(n);return n.caught=r}}var K=function(){function e(e){this.selector=e}return e.prototype.call=function(e,t){return t.subscribe(new W(e,this.selector,this.caught))},e}(),W=function(e){function t(t,n,r){var i=e.call(this,t)||this;return i.selector=n,i.caught=r,i}return r.c(t,e),t.prototype.error=function(t){if(!this.isStopped){var n=void 0;try{n=this.selector(t,this.caught)}catch(a){return void e.prototype.error.call(this,a)}this._unsubscribeAndRecycle();var r=new V.a(this);this.add(r);var i=Object(V.c)(n,r);i!==r&&this.add(i)}},t}(V.b),G=n(743);function Q(e,t){var n=arguments.length>=2;return function(r){return r.pipe(e?Object(O.a)((function(t,n){return e(t,n,r)})):F.a,Object(G.a)(1),n?q(t):N((function(){return new h})))}}var $=n(306);var Y=function(){function e(e,t,n){this.predicate=e,this.thisArg=t,this.source=n}return e.prototype.call=function(e,t){return t.subscribe(new Z(e,this.predicate,this.thisArg,this.source))},e}(),Z=function(e){function t(t,n,r,i){var a=e.call(this,t)||this;return a.predicate=n,a.thisArg=r,a.source=i,a.index=0,a.thisArg=r||a,a}return r.c(t,e),t.prototype.notifyComplete=function(e){this.destination.next(e),this.destination.complete()},t.prototype._next=function(e){var t=!1;try{t=this.predicate.call(this.thisArg,e,this.index++,this.source)}catch(n){return void this.destination.error(n)}t||this.notifyComplete(!1)},t.prototype._complete=function(){this.notifyComplete(!0)},t}(m.a),J=n(1106),X=n(1107);function ee(e,t){var n=!1;return arguments.length>=2&&(n=!0),function(r){return r.lift(new te(e,t,n))}}var te=function(){function e(e,t,n){void 0===n&&(n=!1),this.accumulator=e,this.seed=t,this.hasSeed=n}return e.prototype.call=function(e,t){return t.subscribe(new ne(e,this.accumulator,this.seed,this.hasSeed))},e}(),ne=function(e){function t(t,n,r,i){var a=e.call(this,t)||this;return a.accumulator=n,a._seed=r,a.hasSeed=i,a.index=0,a}return r.c(t,e),Object.defineProperty(t.prototype,"seed",{get:function(){return this._seed},set:function(e){this.hasSeed=!0,this._seed=e},enumerable:!0,configurable:!0}),t.prototype._next=function(e){if(this.hasSeed)return this._tryNext(e);this.seed=e,this.destination.next(e)},t.prototype._tryNext=function(e){var t,n=this.index++;try{t=this.accumulator(this.seed,e,n)}catch(r){this.destination.error(r)}this.seed=t,this.destination.next(t)},t}(m.a);function re(e,t){return Object($.a)(e,t,1)}var ie=n(268);var ae=n(1108),oe=n(54);var se=function(){function e(e){this.callback=e}return e.prototype.call=function(e,t){return t.subscribe(new le(e,this.callback))},e}(),le=function(e){function t(t,n){var r=e.call(this,t)||this;return r.add(new oe.a(n)),r}return r.c(t,e),t}(m.a),ce=n(305);n.d(t,"ActivatedRoute",(function(){return vt})),n.d(t,"ActivatedRouteSnapshot",(function(){return wt})),n.d(t,"ActivationEnd",(function(){return xe})),n.d(t,"ActivationStart",(function(){return Ce})),n.d(t,"ChildActivationEnd",(function(){return je})),n.d(t,"ChildActivationStart",(function(){return _e})),n.d(t,"ChildrenOutletContexts",(function(){return Un})),n.d(t,"DefaultUrlSerializer",(function(){return Je})),n.d(t,"GuardsCheckEnd",(function(){return ye})),n.d(t,"GuardsCheckStart",(function(){return ge})),n.d(t,"NavigationCancel",(function(){return pe})),n.d(t,"NavigationEnd",(function(){return he})),n.d(t,"NavigationError",(function(){return fe})),n.d(t,"NavigationStart",(function(){return de})),n.d(t,"NoPreloading",(function(){return Gn})),n.d(t,"OutletContext",(function(){return Fn})),n.d(t,"PRIMARY_OUTLET",(function(){return Te})),n.d(t,"PreloadAllModules",(function(){return Wn})),n.d(t,"PreloadingStrategy",(function(){return Kn})),n.d(t,"ROUTER_CONFIGURATION",(function(){return Yn})),n.d(t,"ROUTER_INITIALIZER",(function(){return ur})),n.d(t,"ROUTES",(function(){return On})),n.d(t,"ResolveEnd",(function(){return ve})),n.d(t,"ResolveStart",(function(){return be})),n.d(t,"RouteConfigLoadEnd",(function(){return we})),n.d(t,"RouteConfigLoadStart",(function(){return ke})),n.d(t,"RouteReuseStrategy",(function(){return Sn})),n.d(t,"Router",(function(){return Rn})),n.d(t,"RouterEvent",(function(){return ue})),n.d(t,"RouterLink",(function(){return Mn})),n.d(t,"RouterLinkActive",(function(){return Ln})),n.d(t,"RouterLinkWithHref",(function(){return qn})),n.d(t,"RouterModule",(function(){return er})),n.d(t,"RouterOutlet",(function(){return Vn})),n.d(t,"RouterPreloader",(function(){return Qn})),n.d(t,"RouterState",(function(){return yt})),n.d(t,"RouterStateSnapshot",(function(){return _t})),n.d(t,"RoutesRecognized",(function(){return me})),n.d(t,"Scroll",(function(){return Ee})),n.d(t,"UrlHandlingStrategy",(function(){return In})),n.d(t,"UrlSegment",(function(){return Qe})),n.d(t,"UrlSegmentGroup",(function(){return Ge})),n.d(t,"UrlSerializer",(function(){return Ze})),n.d(t,"UrlTree",(function(){return We})),n.d(t,"VERSION",(function(){return hr})),n.d(t,"convertToParamMap",(function(){return ze})),n.d(t,"provideRoutes",(function(){return ir})),n.d(t,"ɵEmptyOutletComponent",(function(){return Se})),n.d(t,"ɵROUTER_PROVIDERS",(function(){return Jn})),n.d(t,"ɵangular_packages_router_router_a",(function(){return Zn})),n.d(t,"ɵangular_packages_router_router_b",(function(){return Xn})),n.d(t,"ɵangular_packages_router_router_c",(function(){return tr})),n.d(t,"ɵangular_packages_router_router_d",(function(){return nr})),n.d(t,"ɵangular_packages_router_router_e",(function(){return rr})),n.d(t,"ɵangular_packages_router_router_f",(function(){return ar})),n.d(t,"ɵangular_packages_router_router_g",(function(){return or})),n.d(t,"ɵangular_packages_router_router_h",(function(){return sr})),n.d(t,"ɵangular_packages_router_router_i",(function(){return lr})),n.d(t,"ɵangular_packages_router_router_j",(function(){return cr})),n.d(t,"ɵangular_packages_router_router_k",(function(){return dr})),n.d(t,"ɵangular_packages_router_router_l",(function(){return Se})),n.d(t,"ɵangular_packages_router_router_m",(function(){return ht})),n.d(t,"ɵangular_packages_router_router_n",(function(){return mt})),n.d(t,"ɵangular_packages_router_router_o",(function(){return $n})),n.d(t,"ɵflatten",(function(){return Le})); /** * @license Angular v9.1.12 * (c) 2010-2020 Google LLC. https://angular.io/ * License: MIT */ /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ var ue=function(e,t){this.id=e,this.url=t},de=function(e){function t(t,n,r,i){void 0===r&&(r="imperative"),void 0===i&&(i=null);var a=e.call(this,t,n)||this;return a.navigationTrigger=r,a.restoredState=i,a}return Object(r.c)(t,e),t.prototype.toString=function(){return"NavigationStart(id: "+this.id+", url: '"+this.url+"')"},t}(ue),he=function(e){function t(t,n,r){var i=e.call(this,t,n)||this;return i.urlAfterRedirects=r,i}return Object(r.c)(t,e),t.prototype.toString=function(){return"NavigationEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"')"},t}(ue),pe=function(e){function t(t,n,r){var i=e.call(this,t,n)||this;return i.reason=r,i}return Object(r.c)(t,e),t.prototype.toString=function(){return"NavigationCancel(id: "+this.id+", url: '"+this.url+"')"},t}(ue),fe=function(e){function t(t,n,r){var i=e.call(this,t,n)||this;return i.error=r,i}return Object(r.c)(t,e),t.prototype.toString=function(){return"NavigationError(id: "+this.id+", url: '"+this.url+"', error: "+this.error+")"},t}(ue),me=function(e){function t(t,n,r,i){var a=e.call(this,t,n)||this;return a.urlAfterRedirects=r,a.state=i,a}return Object(r.c)(t,e),t.prototype.toString=function(){return"RoutesRecognized(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},t}(ue),ge=function(e){function t(t,n,r,i){var a=e.call(this,t,n)||this;return a.urlAfterRedirects=r,a.state=i,a}return Object(r.c)(t,e),t.prototype.toString=function(){return"GuardsCheckStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},t}(ue),ye=function(e){function t(t,n,r,i,a){var o=e.call(this,t,n)||this;return o.urlAfterRedirects=r,o.state=i,o.shouldActivate=a,o}return Object(r.c)(t,e),t.prototype.toString=function(){return"GuardsCheckEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+", shouldActivate: "+this.shouldActivate+")"},t}(ue),be=function(e){function t(t,n,r,i){var a=e.call(this,t,n)||this;return a.urlAfterRedirects=r,a.state=i,a}return Object(r.c)(t,e),t.prototype.toString=function(){return"ResolveStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},t}(ue),ve=function(e){function t(t,n,r,i){var a=e.call(this,t,n)||this;return a.urlAfterRedirects=r,a.state=i,a}return Object(r.c)(t,e),t.prototype.toString=function(){return"ResolveEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},t}(ue),ke=function(){function e(e){this.route=e}return e.prototype.toString=function(){return"RouteConfigLoadStart(path: "+this.route.path+")"},e}(),we=function(){function e(e){this.route=e}return e.prototype.toString=function(){return"RouteConfigLoadEnd(path: "+this.route.path+")"},e}(),_e=function(){function e(e){this.snapshot=e}return e.prototype.toString=function(){return"ChildActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},e}(),je=function(){function e(e){this.snapshot=e}return e.prototype.toString=function(){return"ChildActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},e}(),Ce=function(){function e(e){this.snapshot=e}return e.prototype.toString=function(){return"ActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},e}(),xe=function(){function e(e){this.snapshot=e}return e.prototype.toString=function(){return"ActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},e}(),Ee=function(){function e(e,t,n){this.routerEvent=e,this.position=t,this.anchor=n}return e.prototype.toString=function(){var e=this.position?this.position[0]+", "+this.position[1]:null;return"Scroll(anchor: '"+this.anchor+"', position: '"+e+"')"},e}(),Se=function(){function e(){}return e.ɵfac=function(t){return new(t||e)},e.ɵcmp=a["ɵɵdefineComponent"]({type:e,selectors:[["ng-component"]],decls:1,vars:0,template:function(e,t){1&e&&a["ɵɵelement"](0,"router-outlet")},directives:function(){return[Vn]},encapsulation:2}),e}(),Te="primary",Oe=function(){function e(e){this.params=e||{}}return e.prototype.has=function(e){return this.params.hasOwnProperty(e)},e.prototype.get=function(e){if(this.has(e)){var t=this.params[e];return Array.isArray(t)?t[0]:t}return null},e.prototype.getAll=function(e){if(this.has(e)){var t=this.params[e];return Array.isArray(t)?t:[t]}return[]},Object.defineProperty(e.prototype,"keys",{get:function(){return Object.keys(this.params)},enumerable:!0,configurable:!0}),e}();function ze(e){return new Oe(e)}function Ie(e){var t=Error("NavigationCancelingError: "+e);return t.ngNavigationCancelingError=!0,t}function De(e,t,n){var r=n.path.split("/");if(r.length>e.length)return null;if("full"===n.pathMatch&&(t.hasChildren()||r.length-1})):e===t}function Le(e){return Array.prototype.concat.apply([],e)}function Fe(e){return e.length>0?e[e.length-1]:null}function Ue(e,t){for(var n in e)e.hasOwnProperty(n)&&t(e[n],n)}function Ve(e){return Object(a["ɵisObservable"])(e)?e:Object(a["ɵisPromise"])(e)?Object(s.a)(Promise.resolve(e)):Object(o.a)(e)} /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */function He(e,t,n){return n?function(e,t){return qe(e,t)}(e.queryParams,t.queryParams)&&function e(t,n){if(!$e(t.segments,n.segments))return!1;if(t.numberOfChildren!==n.numberOfChildren)return!1;for(var r in n.children){if(!t.children[r])return!1;if(!e(t.children[r],n.children[r]))return!1}return!0}(e.root,t.root):function(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every((function(n){return Be(e[n],t[n])}))}(e.queryParams,t.queryParams)&&Ke(e.root,t.root)}function Ke(e,t){return function e(t,n,r){if(t.segments.length>r.length)return!!$e(a=t.segments.slice(0,r.length),r)&&!n.hasChildren();if(t.segments.length===r.length){if(!$e(t.segments,r))return!1;for(var i in n.children){if(!t.children[i])return!1;if(!Ke(t.children[i],n.children[i]))return!1}return!0}var a=r.slice(0,t.segments.length),o=r.slice(t.segments.length);return!!$e(t.segments,a)&&(!!t.children[Te]&&e(t.children[Te],n,o))}(e,t,t.segments)}var We=function(){function e(e,t,n){this.root=e,this.queryParams=t,this.fragment=n}return Object.defineProperty(e.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=ze(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return Xe.serialize(this)},e}(),Ge=function(){function e(e,t){var n=this;this.segments=e,this.children=t,this.parent=null,Ue(t,(function(e,t){return e.parent=n}))}return e.prototype.hasChildren=function(){return this.numberOfChildren>0},Object.defineProperty(e.prototype,"numberOfChildren",{get:function(){return Object.keys(this.children).length},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return et(this)},e}(),Qe=function(){function e(e,t){this.path=e,this.parameters=t}return Object.defineProperty(e.prototype,"parameterMap",{get:function(){return this._parameterMap||(this._parameterMap=ze(this.parameters)),this._parameterMap},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return ot(this)},e}();function $e(e,t){return e.length===t.length&&e.every((function(e,n){return e.path===t[n].path}))}function Ye(e,t){var n=[];return Ue(e.children,(function(e,r){r===Te&&(n=n.concat(t(e,r)))})),Ue(e.children,(function(e,r){r!==Te&&(n=n.concat(t(e,r)))})),n}var Ze=function(){},Je=function(){function e(){}return e.prototype.parse=function(e){var t=new dt(e);return new We(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())},e.prototype.serialize=function(e){var t,n,r;return""+("/"+function e(t,n){if(!t.hasChildren())return et(t);if(n){var r=t.children[Te]?e(t.children[Te],!1):"",i=[];return Ue(t.children,(function(t,n){n!==Te&&i.push(n+":"+e(t,!1))})),i.length>0?r+"("+i.join("//")+")":r}var a=Ye(t,(function(n,r){return r===Te?[e(t.children[Te],!1)]:[r+":"+e(n,!1)]}));return et(t)+"/("+a.join("//")+")"}(e.root,!0))+(t=e.queryParams,(n=Object.keys(t).map((function(e){var n=t[e];return Array.isArray(n)?n.map((function(t){return nt(e)+"="+nt(t)})).join("&"):nt(e)+"="+nt(n)}))).length?"?"+n.join("&"):"")+("string"==typeof e.fragment?"#"+(r=e.fragment,encodeURI(r)):"")},e}(),Xe=new Je;function et(e){return e.segments.map((function(e){return ot(e)})).join("/")}function tt(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function nt(e){return tt(e).replace(/%3B/gi,";")}function rt(e){return tt(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function it(e){return decodeURIComponent(e)}function at(e){return it(e.replace(/\+/g,"%20"))}function ot(e){return""+rt(e.path)+(t=e.parameters,Object.keys(t).map((function(e){return";"+rt(e)+"="+rt(t[e])})).join(""));var t}var st=/^[^\/()?;=#]+/;function lt(e){var t=e.match(st);return t?t[0]:""}var ct=/^[^=?&#]+/;var ut=/^[^?&#]+/;var dt=function(){function e(e){this.url=e,this.remaining=e}return e.prototype.parseRootSegment=function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Ge([],{}):new Ge([],this.parseChildren())},e.prototype.parseQueryParams=function(){var e={};if(this.consumeOptional("?"))do{this.parseQueryParam(e)}while(this.consumeOptional("&"));return e},e.prototype.parseFragment=function(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null},e.prototype.parseChildren=function(){if(""===this.remaining)return{};this.consumeOptional("/");var e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());var t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));var n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(t).length>0)&&(n[Te]=new Ge(e,t)),n},e.prototype.parseSegment=function(){var e=lt(this.remaining);if(""===e&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '"+this.remaining+"'.");return this.capture(e),new Qe(it(e),this.parseMatrixParams())},e.prototype.parseMatrixParams=function(){for(var e={};this.consumeOptional(";");)this.parseParam(e);return e},e.prototype.parseParam=function(e){var t=lt(this.remaining);if(t){this.capture(t);var n="";if(this.consumeOptional("=")){var r=lt(this.remaining);r&&(n=r,this.capture(n))}e[it(t)]=it(n)}},e.prototype.parseQueryParam=function(e){var t=function(e){var t=e.match(ct);return t?t[0]:""}(this.remaining);if(t){this.capture(t);var n="";if(this.consumeOptional("=")){var r=function(e){var t=e.match(ut);return t?t[0]:""}(this.remaining);r&&(n=r,this.capture(n))}var i=at(t),a=at(n);if(e.hasOwnProperty(i)){var o=e[i];Array.isArray(o)||(o=[o],e[i]=o),o.push(a)}else e[i]=a}},e.prototype.parseParens=function(e){var t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var n=lt(this.remaining),r=this.remaining[n.length];if("/"!==r&&")"!==r&&";"!==r)throw new Error("Cannot parse url '"+this.url+"'");var i=void 0;n.indexOf(":")>-1?(i=n.substr(0,n.indexOf(":")),this.capture(i),this.capture(":")):e&&(i=Te);var a=this.parseChildren();t[i]=1===Object.keys(a).length?a[Te]:new Ge([],a),this.consumeOptional("//")}return t},e.prototype.peekStartsWith=function(e){return this.remaining.startsWith(e)},e.prototype.consumeOptional=function(e){return!!this.peekStartsWith(e)&&(this.remaining=this.remaining.substring(e.length),!0)},e.prototype.capture=function(e){if(!this.consumeOptional(e))throw new Error('Expected "'+e+'".')},e}(),ht=function(){function e(e){this._root=e}return Object.defineProperty(e.prototype,"root",{get:function(){return this._root.value},enumerable:!0,configurable:!0}),e.prototype.parent=function(e){var t=this.pathFromRoot(e);return t.length>1?t[t.length-2]:null},e.prototype.children=function(e){var t=pt(e,this._root);return t?t.children.map((function(e){return e.value})):[]},e.prototype.firstChild=function(e){var t=pt(e,this._root);return t&&t.children.length>0?t.children[0].value:null},e.prototype.siblings=function(e){var t=ft(e,this._root);return t.length<2?[]:t[t.length-2].children.map((function(e){return e.value})).filter((function(t){return t!==e}))},e.prototype.pathFromRoot=function(e){return ft(e,this._root).map((function(e){return e.value}))},e}(); /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */function pt(e,t){var n,i;if(e===t.value)return t;try{for(var a=Object(r.h)(t.children),o=a.next();!o.done;o=a.next()){var s=pt(e,o.value);if(s)return s}}catch(l){n={error:l}}finally{try{o&&!o.done&&(i=a.return)&&i.call(a)}finally{if(n)throw n.error}}return null}function ft(e,t){var n,i;if(e===t.value)return[t];try{for(var a=Object(r.h)(t.children),o=a.next();!o.done;o=a.next()){var s=ft(e,o.value);if(s.length)return s.unshift(t),s}}catch(l){n={error:l}}finally{try{o&&!o.done&&(i=a.return)&&i.call(a)}finally{if(n)throw n.error}}return[]}var mt=function(){function e(e,t){this.value=e,this.children=t}return e.prototype.toString=function(){return"TreeNode("+this.value+")"},e}();function gt(e){var t={};return e&&e.children.forEach((function(e){return t[e.value.outlet]=e})),t} /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */var yt=function(e){function t(t,n){var r=e.call(this,t)||this;return r.snapshot=n,jt(r,t),r}return Object(r.c)(t,e),t.prototype.toString=function(){return this.snapshot.toString()},t}(ht);function bt(e,t){var n=function(e,t){var n=new wt([],{},{},"",{},Te,t,null,e.root,-1,{});return new _t("",new mt(n,[]))}(e,t),r=new u([new Qe("",{})]),i=new u({}),a=new u({}),o=new u({}),s=new u(""),l=new vt(r,i,o,s,a,Te,t,n.root);return l.snapshot=n.root,new yt(new mt(l,[]),n)}var vt=function(){function e(e,t,n,r,i,a,o,s){this.url=e,this.params=t,this.queryParams=n,this.fragment=r,this.data=i,this.outlet=a,this.component=o,this._futureSnapshot=s}return Object.defineProperty(e.prototype,"routeConfig",{get:function(){return this._futureSnapshot.routeConfig},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=this.params.pipe(Object(S.a)((function(e){return ze(e)})))),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Object(S.a)((function(e){return ze(e)})))),this._queryParamMap},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return this.snapshot?this.snapshot.toString():"Future("+this._futureSnapshot+")"},e}();function kt(e,t){void 0===t&&(t="emptyOnly");var n=e.pathFromRoot,i=0;if("always"!==t)for(i=n.length-1;i>=1;){var a=n[i],o=n[i-1];if(a.routeConfig&&""===a.routeConfig.path)i--;else{if(o.component)break;i--}}return function(e){return e.reduce((function(e,t){return{params:Object(r.a)(Object(r.a)({},e.params),t.params),data:Object(r.a)(Object(r.a)({},e.data),t.data),resolve:Object(r.a)(Object(r.a)({},e.resolve),t._resolvedData)}}),{params:{},data:{},resolve:{}})}(n.slice(i))}var wt=function(){function e(e,t,n,r,i,a,o,s,l,c,u){this.url=e,this.params=t,this.queryParams=n,this.fragment=r,this.data=i,this.outlet=a,this.component=o,this.routeConfig=s,this._urlSegment=l,this._lastPathIndex=c,this._resolve=u}return Object.defineProperty(e.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=ze(this.params)),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=ze(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return"Route(url:'"+this.url.map((function(e){return e.toString()})).join("/")+"', path:'"+(this.routeConfig?this.routeConfig.path:"")+"')"},e}(),_t=function(e){function t(t,n){var r=e.call(this,n)||this;return r.url=t,jt(r,n),r}return Object(r.c)(t,e),t.prototype.toString=function(){return Ct(this._root)},t}(ht);function jt(e,t){t.value._routerState=e,t.children.forEach((function(t){return jt(e,t)}))}function Ct(e){var t=e.children.length>0?" { "+e.children.map(Ct).join(", ")+" } ":"";return""+e.value+t}function xt(e){if(e.snapshot){var t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,qe(t.queryParams,n.queryParams)||e.queryParams.next(n.queryParams),t.fragment!==n.fragment&&e.fragment.next(n.fragment),qe(t.params,n.params)||e.params.next(n.params),function(e,t){if(e.length!==t.length)return!1;for(var n=0;ni;){if(a-=i,!(r=r.parent))throw new Error("Invalid number of '../'");i=r.segments.length}return new Dt(r,!1,i-a)}(n.snapshot._urlSegment,i,e.numberOfDoubleDots)}(o,t,e),l=s.processChildren?Pt(s.segmentGroup,s.index,o.commands):Nt(s.segmentGroup,s.index,o.commands);return zt(s.segmentGroup,l,t,i,a)}function Ot(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function zt(e,t,n,r,i){var a={};return r&&Ue(r,(function(e,t){a[t]=Array.isArray(e)?e.map((function(e){return""+e})):""+e})),n.root===e?new We(t,a,i):new We(function e(t,n,r){var i={};return Ue(t.children,(function(t,a){i[a]=t===n?r:e(t,n,r)})),new Ge(t.segments,i)}(n.root,e,t),a,i)}var It=function(){function e(e,t,n){if(this.isAbsolute=e,this.numberOfDoubleDots=t,this.commands=n,e&&n.length>0&&Ot(n[0]))throw new Error("Root segment cannot have matrix parameters");var r=n.find((function(e){return"object"==typeof e&&null!=e&&e.outlets}));if(r&&r!==Fe(n))throw new Error("{outlets:{}} has to be the last command")}return e.prototype.toRoot=function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]},e}();var Dt=function(e,t,n){this.segmentGroup=e,this.processChildren=t,this.index=n};function At(e){return"object"==typeof e&&null!=e&&e.outlets?e.outlets[Te]:""+e}function Nt(e,t,n){if(e||(e=new Ge([],{})),0===e.segments.length&&e.hasChildren())return Pt(e,t,n);var r=function(e,t,n){var r=0,i=t,a={match:!1,pathIndex:0,commandIndex:0};for(;i=n.length)return a;var o=e.segments[i],s=At(n[r]),l=r0&&void 0===s)break;if(s&&l&&"object"==typeof l&&void 0===l.outlets){if(!Bt(s,l,o))return a;r+=2}else{if(!Bt(s,{},o))return a;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}(e,t,n),i=n.slice(r.commandIndex);if(r.match&&r.pathIndex0?new Ge([],((r={})[Te]=e,r)):e;return new We(i,t,n)},e.prototype.expandSegmentGroup=function(e,t,n,r){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(e,t,n).pipe(Object(S.a)((function(e){return new Ge([],e)}))):this.expandSegment(e,n,t,n.segments,r,!0)},e.prototype.expandChildren=function(e,t,n){var r=this;return function(e,t){if(0===Object.keys(e).length)return Object(o.a)({});var n=[],r=[],i={};return Ue(e,(function(e,a){var o=t(a,e).pipe(Object(S.a)((function(e){return i[a]=e})));a===Te?n.push(o):r.push(o)})),o.a.apply(null,n.concat(r)).pipe(Object(T.a)(),U(),Object(S.a)((function(){return i})))}(n.children,(function(n,i){return r.expandSegmentGroup(e,t,i,n)}))},e.prototype.expandSegment=function(e,t,n,i,a,s){var l=this;return o.a.apply(void 0,Object(r.g)(n)).pipe(Object(S.a)((function(r){return l.expandSegmentAgainstRoute(e,t,n,r,i,a,s).pipe(H((function(e){if(e instanceof Ht)return Object(o.a)(null);throw e})))})),Object(T.a)(),Q((function(e){return!!e})),H((function(e,n){if(e instanceof h||"EmptyError"===e.name){if(l.noLeftoversInUrl(t,i,a))return Object(o.a)(new Ge([],{}));throw new Ht(t)}throw e})))},e.prototype.noLeftoversInUrl=function(e,t,n){return 0===t.length&&!e.children[n]},e.prototype.expandSegmentAgainstRoute=function(e,t,n,r,i,a,o){return Xt(r)!==a?Wt(t):void 0===r.redirectTo?this.matchSegmentAgainstRoute(e,t,r,i):o&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(e,t,n,r,i,a):Wt(t)},e.prototype.expandSegmentAgainstRouteUsingRedirect=function(e,t,n,r,i,a){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(e,n,r,a):this.expandRegularSegmentAgainstRouteUsingRedirect(e,t,n,r,i,a)},e.prototype.expandWildCardWithParamsAgainstRouteUsingRedirect=function(e,t,n,r){var i=this,a=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?Gt(a):this.lineralizeSegments(n,a).pipe(Object($.a)((function(n){var a=new Ge(n,{});return i.expandSegment(e,a,t,n,r,!1)})))},e.prototype.expandRegularSegmentAgainstRouteUsingRedirect=function(e,t,n,r,i,a){var o=this,s=Yt(t,r,i),l=s.matched,c=s.consumedSegments,u=s.lastChild,d=s.positionalParamSegments;if(!l)return Wt(t);var h=this.applyRedirectCommands(c,r.redirectTo,d);return r.redirectTo.startsWith("/")?Gt(h):this.lineralizeSegments(r,h).pipe(Object($.a)((function(r){return o.expandSegment(e,t,n,r.concat(i.slice(u)),a,!1)})))},e.prototype.matchSegmentAgainstRoute=function(e,t,n,i){var a=this;if("**"===n.path)return n.loadChildren?this.configLoader.load(e.injector,n).pipe(Object(S.a)((function(e){return n._loadedConfig=e,new Ge(i,{})}))):Object(o.a)(new Ge(i,{}));var s=Yt(t,n,i),l=s.matched,c=s.consumedSegments,u=s.lastChild;if(!l)return Wt(t);var d=i.slice(u);return this.getChildConfig(e,n,i).pipe(Object($.a)((function(e){var n=e.module,i=e.routes,s=function(e,t,n,i){if(n.length>0&&function(e,t,n){return n.some((function(n){return Jt(e,t,n)&&Xt(n)!==Te}))}(e,n,i)){return{segmentGroup:Zt(new Ge(t,function(e,t){var n,i,a={};a[Te]=t;try{for(var o=Object(r.h)(e),s=o.next();!s.done;s=o.next()){var l=s.value;""===l.path&&Xt(l)!==Te&&(a[Xt(l)]=new Ge([],{}))}}catch(c){n={error:c}}finally{try{s&&!s.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}return a}(i,new Ge(n,e.children)))),slicedSegments:[]}}if(0===n.length&&function(e,t,n){return n.some((function(n){return Jt(e,t,n)}))}(e,n,i)){return{segmentGroup:Zt(new Ge(e.segments,function(e,t,n,i){var a,o,s={};try{for(var l=Object(r.h)(n),c=l.next();!c.done;c=l.next()){var u=c.value;Jt(e,t,u)&&!i[Xt(u)]&&(s[Xt(u)]=new Ge([],{}))}}catch(d){a={error:d}}finally{try{c&&!c.done&&(o=l.return)&&o.call(l)}finally{if(a)throw a.error}}return Object(r.a)(Object(r.a)({},i),s)}(e,n,i,e.children))),slicedSegments:n}}return{segmentGroup:e,slicedSegments:n}}(t,c,d,i),l=s.segmentGroup,u=s.slicedSegments;return 0===u.length&&l.hasChildren()?a.expandChildren(n,i,l).pipe(Object(S.a)((function(e){return new Ge(c,e)}))):0===i.length&&0===u.length?Object(o.a)(new Ge(c,{})):a.expandSegment(n,l,i,u,Te,!0).pipe(Object(S.a)((function(e){return new Ge(c.concat(e.segments),e.children)})))})))},e.prototype.getChildConfig=function(e,t,n){var r=this;return t.children?Object(o.a)(new Ae(t.children,e)):t.loadChildren?void 0!==t._loadedConfig?Object(o.a)(t._loadedConfig):function(e,t,n){var r=t.canLoad;return r&&0!==r.length?Object(s.a)(r).pipe(Object(S.a)((function(r){var i,a=e.get(r);if(function(e){return e&&Ut(e.canLoad)}(a))i=a.canLoad(t,n);else{if(!Ut(a))throw new Error("Invalid CanLoad guard");i=a(t,n)}return Ve(i)}))).pipe(Object(T.a)(),function(e,t){return function(n){return n.lift(new Y(e,t,n))}}((function(e){return!0===e}))):Object(o.a)(!0)}(e.injector,t,n).pipe(Object($.a)((function(n){return n?r.configLoader.load(e.injector,t).pipe(Object(S.a)((function(e){return t._loadedConfig=e,e}))):function(e){return new d.a((function(t){return t.error(Ie("Cannot load children because the guard of the route \"path: '"+e.path+"'\" returned false"))}))}(t)}))):Object(o.a)(new Ae([],e))},e.prototype.lineralizeSegments=function(e,t){for(var n=[],r=t.root;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return Object(o.a)(n);if(r.numberOfChildren>1||!r.children[Te])return Qt(e.redirectTo);r=r.children[Te]}},e.prototype.applyRedirectCommands=function(e,t,n){return this.applyRedirectCreatreUrlTree(t,this.urlSerializer.parse(t),e,n)},e.prototype.applyRedirectCreatreUrlTree=function(e,t,n,r){var i=this.createSegmentGroup(e,t.root,n,r);return new We(i,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)},e.prototype.createQueryParams=function(e,t){var n={};return Ue(e,(function(e,r){if("string"==typeof e&&e.startsWith(":")){var i=e.substring(1);n[r]=t[i]}else n[r]=e})),n},e.prototype.createSegmentGroup=function(e,t,n,r){var i=this,a=this.createSegments(e,t.segments,n,r),o={};return Ue(t.children,(function(t,a){o[a]=i.createSegmentGroup(e,t,n,r)})),new Ge(a,o)},e.prototype.createSegments=function(e,t,n,r){var i=this;return t.map((function(t){return t.path.startsWith(":")?i.findPosParam(e,t,r):i.findOrReturn(t,n)}))},e.prototype.findPosParam=function(e,t,n){var r=n[t.path.substring(1)];if(!r)throw new Error("Cannot redirect to '"+e+"'. Cannot find '"+t.path+"'.");return r},e.prototype.findOrReturn=function(e,t){var n,i,a=0;try{for(var o=Object(r.h)(t),s=o.next();!s.done;s=o.next()){var l=s.value;if(l.path===e.path)return t.splice(a),l;a++}}catch(c){n={error:c}}finally{try{s&&!s.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}return e},e}();function Yt(e,t,n){if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||n.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};var r=(t.matcher||De)(n,e,t);return r?{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,positionalParamSegments:r.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function Zt(e){if(1===e.numberOfChildren&&e.children[Te]){var t=e.children[Te];return new Ge(e.segments.concat(t.segments),t.children)}return e}function Jt(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&(""===n.path&&void 0!==n.redirectTo)}function Xt(e){return e.outlet||Te} /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */function en(e,t,n,i){return function(a){return a.pipe(Object(J.a)((function(a){return function(e,t,n,r,i){return new $t(e,t,n,r,i).apply()}(e,t,n,a.extractedUrl,i).pipe(Object(S.a)((function(e){return Object(r.a)(Object(r.a)({},a),{urlAfterRedirects:e})})))})))}} /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */var tn=function(e){this.path=e,this.route=this.path[this.path.length-1]},nn=function(e,t){this.component=e,this.route=t};function rn(e,t,n){var r=function(e){if(!e)return null;for(var t=e.parent;t;t=t.parent){var n=t.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig}return null}(t);return(r?r.module.injector:n).get(e)}function an(e,t,n,r,i){void 0===i&&(i={canDeactivateChecks:[],canActivateChecks:[]});var a=gt(t);return e.children.forEach((function(e){!function(e,t,n,r,i){void 0===i&&(i={canDeactivateChecks:[],canActivateChecks:[]});var a=e.value,o=t?t.value:null,s=n?n.getContext(e.value.outlet):null;if(o&&a.routeConfig===o.routeConfig){var l=function(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!$e(e.url,t.url);case"pathParamsOrQueryParamsChange":return!$e(e.url,t.url)||!qe(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Et(e,t)||!qe(e.queryParams,t.queryParams);case"paramsChange":default:return!Et(e,t)}}(o,a,a.routeConfig.runGuardsAndResolvers);if(l?i.canActivateChecks.push(new tn(r)):(a.data=o.data,a._resolvedData=o._resolvedData),a.component?an(e,t,s?s.children:null,r,i):an(e,t,n,r,i),l){var c=s&&s.outlet&&s.outlet.component||null;i.canDeactivateChecks.push(new nn(c,o))}}else o&&on(t,s,i),i.canActivateChecks.push(new tn(r)),a.component?an(e,null,s?s.children:null,r,i):an(e,null,n,r,i)}(e,a[e.value.outlet],n,r.concat([e.value]),i),delete a[e.value.outlet]})),Ue(a,(function(e,t){return on(e,n.getContext(t),i)})),i}function on(e,t,n){var r=gt(e),i=e.value;Ue(r,(function(e,r){i.component?on(e,t?t.children.getContext(r):null,n):on(e,t,n)})),i.component&&t&&t.outlet&&t.outlet.isActivated?n.canDeactivateChecks.push(new nn(t.outlet.component,i)):n.canDeactivateChecks.push(new nn(null,i))} /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */var sn=Symbol("INITIAL_VALUE");function ln(){return Object(J.a)((function(e){return _.apply(void 0,Object(r.g)(e.map((function(e){return e.pipe(Object(G.a)(1),Object(X.a)(sn))})))).pipe(ee((function(e,t){var n=!1;return t.reduce((function(e,r,i){if(e!==sn)return e;if(r===sn&&(n=!0),!n){if(!1===r)return r;if(i===t.length-1||Vt(r))return r}return e}),e)}),sn),Object(O.a)((function(e){return e!==sn})),Object(S.a)((function(e){return Vt(e)?e:!0===e})),Object(G.a)(1))}))} /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */function cn(e,t){return function(n){return n.pipe(Object($.a)((function(n){var i=n.targetSnapshot,a=n.currentSnapshot,l=n.guards,c=l.canActivateChecks,u=l.canDeactivateChecks;return 0===u.length&&0===c.length?Object(o.a)(Object(r.a)(Object(r.a)({},n),{guardsResult:!0})):function(e,t,n,r){return Object(s.a)(e).pipe(Object($.a)((function(e){return function(e,t,n,r,i){var a=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!a||0===a.length)return Object(o.a)(!0);var s=a.map((function(a){var o,s=rn(a,t,i);if(function(e){return e&&Ut(e.canDeactivate)}(s))o=Ve(s.canDeactivate(e,t,n,r));else{if(!Ut(s))throw new Error("Invalid CanDeactivate guard");o=Ve(s(e,t,n,r))}return o.pipe(Q())}));return Object(o.a)(s).pipe(ln())} /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */(e.component,e.route,n,t,r)})),Q((function(e){return!0!==e}),!0))}(u,i,a,e).pipe(Object($.a)((function(n){return n&&"boolean"==typeof n?function(e,t,n,r){return Object(s.a)(t).pipe(re((function(t){return Object(s.a)([dn(t.route.parent,r),un(t.route,r),pn(e,t.path,n),hn(e,t.route,n)]).pipe(Object(T.a)(),Q((function(e){return!0!==e}),!0))})),Q((function(e){return!0!==e}),!0))}(i,c,e,t):Object(o.a)(n)})),Object(S.a)((function(e){return Object(r.a)(Object(r.a)({},n),{guardsResult:e})})))})))}}function un(e,t){return null!==e&&t&&t(new Ce(e)),Object(o.a)(!0)}function dn(e,t){return null!==e&&t&&t(new _e(e)),Object(o.a)(!0)}function hn(e,t,n){var r=t.routeConfig?t.routeConfig.canActivate:null;if(!r||0===r.length)return Object(o.a)(!0);var i=r.map((function(r){return E((function(){var i,a=rn(r,t,n);if(function(e){return e&&Ut(e.canActivate)}(a))i=Ve(a.canActivate(t,e));else{if(!Ut(a))throw new Error("Invalid CanActivate guard");i=Ve(a(t,e))}return i.pipe(Q())}))}));return Object(o.a)(i).pipe(ln())}function pn(e,t,n){var r=t[t.length-1],i=t.slice(0,t.length-1).reverse().map((function(e){return function(e){var t=e.routeConfig?e.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:e,guards:t}:null}(e)})).filter((function(e){return null!==e})).map((function(t){return E((function(){var i=t.guards.map((function(i){var a,o=rn(i,t.node,n);if(function(e){return e&&Ut(e.canActivateChild)}(o))a=Ve(o.canActivateChild(r,e));else{if(!Ut(o))throw new Error("Invalid CanActivateChild guard");a=Ve(o(r,e))}return a.pipe(Q())}));return Object(o.a)(i).pipe(ln())}))}));return Object(o.a)(i).pipe(ln())}var fn=function(){};var mn=function(){function e(e,t,n,r,i,a){this.rootComponentType=e,this.config=t,this.urlTree=n,this.url=r,this.paramsInheritanceStrategy=i,this.relativeLinkResolution=a}return e.prototype.recognize=function(){try{var e=bn(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,t=this.processSegmentGroup(this.config,e,Te),n=new wt([],Object.freeze({}),Object.freeze(Object(r.a)({},this.urlTree.queryParams)),this.urlTree.fragment,{},Te,this.rootComponentType,null,this.urlTree.root,-1,{}),i=new mt(n,t),a=new _t(this.url,i);return this.inheritParamsAndData(a._root),Object(o.a)(a)}catch(s){return new d.a((function(e){return e.error(s)}))}},e.prototype.inheritParamsAndData=function(e){var t=this,n=e.value,r=kt(n,this.paramsInheritanceStrategy);n.params=Object.freeze(r.params),n.data=Object.freeze(r.data),e.children.forEach((function(e){return t.inheritParamsAndData(e)}))},e.prototype.processSegmentGroup=function(e,t,n){return 0===t.segments.length&&t.hasChildren()?this.processChildren(e,t):this.processSegment(e,t,t.segments,n)},e.prototype.processChildren=function(e,t){var n,r=this,i=Ye(t,(function(t,n){return r.processSegmentGroup(e,t,n)}));return n={},i.forEach((function(e){var t=n[e.value.outlet];if(t){var r=t.url.map((function(e){return e.toString()})).join("/"),i=e.value.url.map((function(e){return e.toString()})).join("/");throw new Error("Two segments cannot have the same outlet name: '"+r+"' and '"+i+"'.")}n[e.value.outlet]=e.value})),function(e){e.sort((function(e,t){return e.value.outlet===Te?-1:t.value.outlet===Te?1:e.value.outlet.localeCompare(t.value.outlet)}))}(i),i},e.prototype.processSegment=function(e,t,n,i){var a,o;try{for(var s=Object(r.h)(e),l=s.next();!l.done;l=s.next()){var c=l.value;try{return this.processSegmentAgainstRoute(c,t,n,i)}catch(u){if(!(u instanceof fn))throw u}}}catch(d){a={error:d}}finally{try{l&&!l.done&&(o=s.return)&&o.call(s)}finally{if(a)throw a.error}}if(this.noLeftoversInUrl(t,n,i))return[];throw new fn},e.prototype.noLeftoversInUrl=function(e,t,n){return 0===t.length&&!e.children[n]},e.prototype.processSegmentAgainstRoute=function(e,t,n,i){if(e.redirectTo)throw new fn;if((e.outlet||Te)!==i)throw new fn;var a,o=[],s=[];if("**"===e.path){var l=n.length>0?Fe(n).parameters:{};a=new wt(n,l,Object.freeze(Object(r.a)({},this.urlTree.queryParams)),this.urlTree.fragment,wn(e),i,e.component,e,gn(t),yn(t)+n.length,_n(e))}else{var c=function(e,t,n){if(""===t.path){if("full"===t.pathMatch&&(e.hasChildren()||n.length>0))throw new fn;return{consumedSegments:[],lastChild:0,parameters:{}}}var i=(t.matcher||De)(n,e,t);if(!i)throw new fn;var a={};Ue(i.posParams,(function(e,t){a[t]=e.path}));var o=i.consumed.length>0?Object(r.a)(Object(r.a)({},a),i.consumed[i.consumed.length-1].parameters):a;return{consumedSegments:i.consumed,lastChild:i.consumed.length,parameters:o}}(t,e,n);o=c.consumedSegments,s=n.slice(c.lastChild),a=new wt(o,c.parameters,Object.freeze(Object(r.a)({},this.urlTree.queryParams)),this.urlTree.fragment,wn(e),i,e.component,e,gn(t),yn(t)+o.length,_n(e))}var u=function(e){if(e.children)return e.children;if(e.loadChildren)return e._loadedConfig.routes;return[]}(e),d=bn(t,o,s,u,this.relativeLinkResolution),h=d.segmentGroup,p=d.slicedSegments;if(0===p.length&&h.hasChildren()){var f=this.processChildren(u,h);return[new mt(a,f)]}if(0===u.length&&0===p.length)return[new mt(a,[])];var m=this.processSegment(u,h,p,Te);return[new mt(a,m)]},e}();function gn(e){for(var t=e;t._sourceSegment;)t=t._sourceSegment;return t}function yn(e){for(var t=e,n=t._segmentIndexShift?t._segmentIndexShift:0;t._sourceSegment;)n+=(t=t._sourceSegment)._segmentIndexShift?t._segmentIndexShift:0;return n-1}function bn(e,t,n,i,a){if(n.length>0&&function(e,t,n){return n.some((function(n){return vn(e,t,n)&&kn(n)!==Te}))}(e,n,i)){var o=new Ge(t,function(e,t,n,i){var a,o,s={};s[Te]=i,i._sourceSegment=e,i._segmentIndexShift=t.length;try{for(var l=Object(r.h)(n),c=l.next();!c.done;c=l.next()){var u=c.value;if(""===u.path&&kn(u)!==Te){var d=new Ge([],{});d._sourceSegment=e,d._segmentIndexShift=t.length,s[kn(u)]=d}}}catch(h){a={error:h}}finally{try{c&&!c.done&&(o=l.return)&&o.call(l)}finally{if(a)throw a.error}}return s}(e,t,i,new Ge(n,e.children)));return o._sourceSegment=e,o._segmentIndexShift=t.length,{segmentGroup:o,slicedSegments:[]}}if(0===n.length&&function(e,t,n){return n.some((function(n){return vn(e,t,n)}))}(e,n,i)){var s=new Ge(e.segments,function(e,t,n,i,a,o){var s,l,c={};try{for(var u=Object(r.h)(i),d=u.next();!d.done;d=u.next()){var h=d.value;if(vn(e,n,h)&&!a[kn(h)]){var p=new Ge([],{});p._sourceSegment=e,p._segmentIndexShift="legacy"===o?e.segments.length:t.length,c[kn(h)]=p}}}catch(f){s={error:f}}finally{try{d&&!d.done&&(l=u.return)&&l.call(u)}finally{if(s)throw s.error}}return Object(r.a)(Object(r.a)({},a),c)}(e,t,n,i,e.children,a));return s._sourceSegment=e,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:n}}var l=new Ge(e.segments,e.children);return l._sourceSegment=e,l._segmentIndexShift=t.length,{segmentGroup:l,slicedSegments:n}}function vn(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&(""===n.path&&void 0===n.redirectTo)}function kn(e){return e.outlet||Te}function wn(e){return e.data||{}}function _n(e){return e.resolve||{}} /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */function jn(e,t,n,i,a){return function(o){return o.pipe(Object($.a)((function(o){return function(e,t,n,r,i,a){return void 0===i&&(i="emptyOnly"),void 0===a&&(a="legacy"),new mn(e,t,n,r,i,a).recognize()}(e,t,o.urlAfterRedirects,n(o.urlAfterRedirects),i,a).pipe(Object(S.a)((function(e){return Object(r.a)(Object(r.a)({},o),{targetSnapshot:e})})))})))}} /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */function Cn(e,t){return function(n){return n.pipe(Object($.a)((function(n){var i=n.targetSnapshot,a=n.guards.canActivateChecks;return a.length?Object(s.a)(a).pipe(re((function(n){return function(e,t,n,i){return function(e,t,n,r){var i=Object.keys(e);if(0===i.length)return Object(o.a)({});if(1===i.length){var a=i[0];return xn(e[a],t,n,r).pipe(Object(S.a)((function(e){var t;return(t={})[a]=e,t})))}var l={};return Object(s.a)(i).pipe(Object($.a)((function(i){return xn(e[i],t,n,r).pipe(Object(S.a)((function(e){return l[i]=e,e})))}))).pipe(U(),Object(S.a)((function(){return l})))}(e._resolve,e,t,i).pipe(Object(S.a)((function(t){return e._resolvedData=t,e.data=Object(r.a)(Object(r.a)({},e.data),kt(e,n).resolve),null})))}(n.route,i,e,t)})),function(e,t){return arguments.length>=2?function(n){return Object(ie.a)(ee(e,t),I(1),q(t))(n)}:function(t){return Object(ie.a)(ee((function(t,n,r){return e(t,n,r+1)})),I(1))(t)}}((function(e,t){return e})),Object(S.a)((function(e){return n}))):Object(o.a)(n)})))}}function xn(e,t,n,r){var i=rn(e,t,r);return i.resolve?Ve(i.resolve(t,n)):Ve(i(t,n))} /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */function En(e){return function(t){return t.pipe(Object(J.a)((function(t){var n=e(t);return n?Object(s.a)(n).pipe(Object(S.a)((function(){return t}))):Object(s.a)([t])})))}} /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */var Sn=function(){},Tn=function(){function e(){}return e.prototype.shouldDetach=function(e){return!1},e.prototype.store=function(e,t){},e.prototype.shouldAttach=function(e){return!1},e.prototype.retrieve=function(e){return null},e.prototype.shouldReuseRoute=function(e,t){return e.routeConfig===t.routeConfig},e}(),On=new a.InjectionToken("ROUTES"),zn=function(){function e(e,t,n,r){this.loader=e,this.compiler=t,this.onLoadStartListener=n,this.onLoadEndListener=r}return e.prototype.load=function(e,t){var n=this;return this.onLoadStartListener&&this.onLoadStartListener(t),this.loadModuleFactory(t.loadChildren).pipe(Object(S.a)((function(r){n.onLoadEndListener&&n.onLoadEndListener(t);var i=r.create(e);return new Ae(Le(i.injector.get(On)).map(Me),i)})))},e.prototype.loadModuleFactory=function(e){var t=this;return"string"==typeof e?Object(s.a)(this.loader.load(e)):Ve(e()).pipe(Object($.a)((function(e){return e instanceof a.NgModuleFactory?Object(o.a)(e):Object(s.a)(t.compiler.compileModuleAsync(e))})))},e}(),In=function(){},Dn=function(){function e(){}return e.prototype.shouldProcessUrl=function(e){return!0},e.prototype.extract=function(e){return e},e.prototype.merge=function(e,t){return e},e}(); /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ function An(e){throw e}function Nn(e,t,n){return t.parse("/")}function Pn(e,t){return Object(o.a)(null)}var Rn=function(){function e(e,t,n,r,i,o,s,c){var d=this;this.rootComponentType=e,this.urlSerializer=t,this.rootContexts=n,this.location=r,this.config=c,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new l.a,this.errorHandler=An,this.malformedUriErrorHandler=Nn,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Pn,afterPreactivation:Pn},this.urlHandlingStrategy=new Dn,this.routeReuseStrategy=new Tn,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy";this.ngModule=i.get(a.NgModuleRef),this.console=i.get(a["ɵConsole"]);var h=i.get(a.NgZone);this.isNgZoneEnabled=h instanceof a.NgZone,this.resetConfig(c),this.currentUrlTree=new We(new Ge([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new zn(o,s,(function(e){return d.triggerEvent(new ke(e))}),(function(e){return d.triggerEvent(new we(e))})),this.routerState=bt(this.currentUrlTree,this.rootComponentType),this.transitions=new u({id:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}return e.prototype.setupNavigations=function(e){var t=this,n=this.events;return e.pipe(Object(O.a)((function(e){return 0!==e.id})),Object(S.a)((function(e){return Object(r.a)(Object(r.a)({},e),{extractedUrl:t.urlHandlingStrategy.extract(e.rawUrl)})})),Object(J.a)((function(e){var i,a,s,l,c=!1,u=!1;return Object(o.a)(e).pipe(Object(ae.a)((function(e){t.currentNavigation={id:e.id,initialUrl:e.currentRawUrl,extractedUrl:e.extractedUrl,trigger:e.source,extras:e.extras,previousNavigation:t.lastSuccessfulNavigation?Object(r.a)(Object(r.a)({},t.lastSuccessfulNavigation),{previousNavigation:null}):null}})),Object(J.a)((function(e){var i=!t.navigated||e.extractedUrl.toString()!==t.browserUrlTree.toString();if(("reload"===t.onSameUrlNavigation||i)&&t.urlHandlingStrategy.shouldProcessUrl(e.rawUrl))return Object(o.a)(e).pipe(Object(J.a)((function(e){var r=t.transitions.getValue();return n.next(new de(e.id,t.serializeUrl(e.extractedUrl),e.source,e.restoredState)),r!==t.transitions.getValue()?x.a:[e]})),Object(J.a)((function(e){return Promise.resolve(e)})),en(t.ngModule.injector,t.configLoader,t.urlSerializer,t.config),Object(ae.a)((function(e){t.currentNavigation=Object(r.a)(Object(r.a)({},t.currentNavigation),{finalUrl:e.urlAfterRedirects})})),jn(t.rootComponentType,t.config,(function(e){return t.serializeUrl(e)}),t.paramsInheritanceStrategy,t.relativeLinkResolution),Object(ae.a)((function(e){"eager"===t.urlUpdateStrategy&&(e.extras.skipLocationChange||t.setBrowserUrl(e.urlAfterRedirects,!!e.extras.replaceUrl,e.id,e.extras.state),t.browserUrlTree=e.urlAfterRedirects)})),Object(ae.a)((function(e){var r=new me(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);n.next(r)})));if(i&&t.rawUrlTree&&t.urlHandlingStrategy.shouldProcessUrl(t.rawUrlTree)){var a=e.id,s=e.extractedUrl,l=e.source,c=e.restoredState,u=e.extras,d=new de(a,t.serializeUrl(s),l,c);n.next(d);var h=bt(s,t.rootComponentType).snapshot;return Object(o.a)(Object(r.a)(Object(r.a)({},e),{targetSnapshot:h,urlAfterRedirects:s,extras:Object(r.a)(Object(r.a)({},u),{skipLocationChange:!1,replaceUrl:!1})}))}return t.rawUrlTree=e.rawUrl,t.browserUrlTree=e.urlAfterRedirects,e.resolve(null),x.a})),En((function(e){var n=e.targetSnapshot,r=e.id,i=e.extractedUrl,a=e.rawUrl,o=e.extras,s=o.skipLocationChange,l=o.replaceUrl;return t.hooks.beforePreactivation(n,{navigationId:r,appliedUrlTree:i,rawUrlTree:a,skipLocationChange:!!s,replaceUrl:!!l})})),Object(ae.a)((function(e){var n=new ge(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(n)})),Object(S.a)((function(e){return Object(r.a)(Object(r.a)({},e),{guards:(n=e.targetSnapshot,i=e.currentSnapshot,a=t.rootContexts,o=n._root,an(o,i?i._root:null,a,[o.value]))});var n,i,a,o})),cn(t.ngModule.injector,(function(e){return t.triggerEvent(e)})),Object(ae.a)((function(e){if(Vt(e.guardsResult)){var n=Ie('Redirecting to "'+t.serializeUrl(e.guardsResult)+'"');throw n.url=e.guardsResult,n}})),Object(ae.a)((function(e){var n=new ye(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot,!!e.guardsResult);t.triggerEvent(n)})),Object(O.a)((function(e){if(!e.guardsResult){t.resetUrlToCurrentUrlTree();var r=new pe(e.id,t.serializeUrl(e.extractedUrl),"");return n.next(r),e.resolve(!1),!1}return!0})),En((function(e){if(e.guards.canActivateChecks.length)return Object(o.a)(e).pipe(Object(ae.a)((function(e){var n=new be(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(n)})),Cn(t.paramsInheritanceStrategy,t.ngModule.injector),Object(ae.a)((function(e){var n=new ve(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(n)})))})),En((function(e){var n=e.targetSnapshot,r=e.id,i=e.extractedUrl,a=e.rawUrl,o=e.extras,s=o.skipLocationChange,l=o.replaceUrl;return t.hooks.afterPreactivation(n,{navigationId:r,appliedUrlTree:i,rawUrlTree:a,skipLocationChange:!!s,replaceUrl:!!l})})),Object(S.a)((function(e){var n,i,a,o,s=(n=t.routeReuseStrategy,i=e.targetSnapshot,a=e.currentRouterState,o=St(n,i._root,a?a._root:void 0),new yt(o,i));return Object(r.a)(Object(r.a)({},e),{targetRouterState:s})})),Object(ae.a)((function(e){t.currentUrlTree=e.urlAfterRedirects,t.rawUrlTree=t.urlHandlingStrategy.merge(t.currentUrlTree,e.rawUrl),t.routerState=e.targetRouterState,"deferred"===t.urlUpdateStrategy&&(e.extras.skipLocationChange||t.setBrowserUrl(t.rawUrlTree,!!e.extras.replaceUrl,e.id,e.extras.state),t.browserUrlTree=e.urlAfterRedirects)})),(a=t.rootContexts,s=t.routeReuseStrategy,l=function(e){return t.triggerEvent(e)},Object(S.a)((function(e){return new Lt(s,e.targetRouterState,e.currentRouterState,l).activate(a),e}))),Object(ae.a)({next:function(){c=!0},complete:function(){c=!0}}),(i=function(){if(!c&&!u){t.resetUrlToCurrentUrlTree();var r=new pe(e.id,t.serializeUrl(e.extractedUrl),"Navigation ID "+e.id+" is not equal to the current navigation id "+t.navigationId);n.next(r),e.resolve(!1)}t.currentNavigation=null},function(e){return e.lift(new se(i))}),H((function(r){if(u=!0,(s=r)&&s.ngNavigationCancelingError){var i=Vt(r.url);i||(t.navigated=!0,t.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl));var a=new pe(e.id,t.serializeUrl(e.extractedUrl),r.message);n.next(a),i?setTimeout((function(){var n=t.urlHandlingStrategy.merge(r.url,t.rawUrlTree),i={skipLocationChange:e.extras.skipLocationChange,replaceUrl:"eager"===t.urlUpdateStrategy};return t.scheduleNavigation(n,"imperative",null,i,{resolve:e.resolve,reject:e.reject,promise:e.promise})}),0):e.resolve(!1)}else{t.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl);var o=new fe(e.id,t.serializeUrl(e.extractedUrl),r);n.next(o);try{e.resolve(t.errorHandler(r))}catch(l){e.reject(l)}}var s;return x.a})))})))},e.prototype.resetRootComponentType=function(e){this.rootComponentType=e,this.routerState.root.component=this.rootComponentType},e.prototype.getTransition=function(){var e=this.transitions.value;return e.urlAfterRedirects=this.browserUrlTree,e},e.prototype.setTransition=function(e){this.transitions.next(Object(r.a)(Object(r.a)({},this.getTransition()),e))},e.prototype.initialNavigation=function(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})},e.prototype.setUpLocationChangeListener=function(){var e=this;this.locationSubscription||(this.locationSubscription=this.location.subscribe((function(t){var n=e.parseUrl(t.url),r="popstate"===t.type?"popstate":"hashchange",i=t.state&&t.state.navigationId?t.state:null;setTimeout((function(){e.scheduleNavigation(n,r,i,{replaceUrl:!0})}),0)})))},Object.defineProperty(e.prototype,"url",{get:function(){return this.serializeUrl(this.currentUrlTree)},enumerable:!0,configurable:!0}),e.prototype.getCurrentNavigation=function(){return this.currentNavigation},e.prototype.triggerEvent=function(e){this.events.next(e)},e.prototype.resetConfig=function(e){Ne(e),this.config=e.map(Me),this.navigated=!1,this.lastSuccessfulId=-1},e.prototype.ngOnDestroy=function(){this.dispose()},e.prototype.dispose=function(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=null)},e.prototype.createUrlTree=function(e,t){void 0===t&&(t={});var n=t.relativeTo,i=t.queryParams,o=t.fragment,s=t.preserveQueryParams,l=t.queryParamsHandling,c=t.preserveFragment;Object(a.isDevMode)()&&s&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");var u=n||this.routerState.root,d=c?this.currentUrlTree.fragment:o,h=null;if(l)switch(l){case"merge":h=Object(r.a)(Object(r.a)({},this.currentUrlTree.queryParams),i);break;case"preserve":h=this.currentUrlTree.queryParams;break;default:h=i||null}else h=s?this.currentUrlTree.queryParams:i||null;return null!==h&&(h=this.removeEmptyProps(h)),Tt(u,this.currentUrlTree,e,h,d)},e.prototype.navigateByUrl=function(e,t){void 0===t&&(t={skipLocationChange:!1}),Object(a.isDevMode)()&&this.isNgZoneEnabled&&!a.NgZone.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");var n=Vt(e)?e:this.parseUrl(e),r=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(r,"imperative",null,t)},e.prototype.navigate=function(e,t){return void 0===t&&(t={skipLocationChange:!1}),function(e){for(var t=0;t=0;s--)(i=e[s])&&(o=(a<3?i(o):a>3?i(t,n,o):i(t,n))||o);return a>3&&o&&Object.defineProperty(t,n,o),o},f=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},m=function(){function e(e,t,n){this.sanitizer=e,this.componentFactoryResolver=t,this.changeDetectorRef=n,this.bodyOutputType=r,this.clickEvent=new i.EventEmitter}return e.prototype.ngOnInit=function(){this.toast.closeHtml&&(this.safeCloseHtml=this.sanitizer.bypassSecurityTrustHtml(this.toast.closeHtml)),this.toast.bodyOutputType===r.TrustedHtml&&(this.safeBodyHtml=this.sanitizer.bypassSecurityTrustHtml(this.toast.body))},e.prototype.ngAfterViewInit=function(){if(this.toast.bodyOutputType===this.bodyOutputType.Component){var e=this.componentFactoryResolver.resolveComponentFactory(this.toast.body);this.componentBody.createComponent(e,void 0,this.componentBody.injector).instance.toast=this.toast,this.changeDetectorRef.detectChanges()}},e.prototype.click=function(e,t){e.stopPropagation(),this.clickEvent.emit({value:{toast:t,isCloseButton:!0}})},p([Object(i.Input)(),f("design:type",Object)],e.prototype,"toast",void 0),p([Object(i.Input)(),f("design:type",String)],e.prototype,"iconClass",void 0),p([Object(i.Input)(),f("design:type",String)],e.prototype,"titleClass",void 0),p([Object(i.Input)(),f("design:type",String)],e.prototype,"messageClass",void 0),p([Object(i.ViewChild)("componentBody",{read:i.ViewContainerRef,static:!1}),f("design:type",i.ViewContainerRef)],e.prototype,"componentBody",void 0),p([Object(i.Output)(),f("design:type",Object)],e.prototype,"clickEvent",void 0),(e=p([f("design:paramtypes",[a.DomSanitizer,i.ComponentFactoryResolver,i.ChangeDetectorRef])],e)).ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](a.DomSanitizer),i["ɵɵdirectiveInject"](i.ComponentFactoryResolver),i["ɵɵdirectiveInject"](i.ChangeDetectorRef))},e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["","toastComp",""]],viewQuery:function(e,t){var n;(1&e&&i["ɵɵviewQuery"](s,!0,i.ViewContainerRef),2&e)&&(i["ɵɵqueryRefresh"](n=i["ɵɵloadQuery"]())&&(t.componentBody=n.first))},inputs:{toast:"toast",iconClass:"iconClass",titleClass:"titleClass",messageClass:"messageClass"},outputs:{clickEvent:"clickEvent"},attrs:l,decls:19,vars:9,consts:[[1,"toaster-icon",3,"ngClass"],[1,"toast-content"],[3,"ngClass"],[3,"ngClass","ngSwitch"],[4,"ngSwitchCase"],[3,"innerHTML",4,"ngSwitchCase"],["class","toast-close-button",3,"innerHTML","click",4,"ngIf"],["componentBody",""],[3,"innerHTML"],[1,"toast-close-button",3,"innerHTML","click"]],template:function(e,t){1&e&&(i["ɵɵtext"](0,"\n "),i["ɵɵelement"](1,"i",0),i["ɵɵtext"](2,"\n "),i["ɵɵelementStart"](3,"div",1),i["ɵɵtext"](4,"\n "),i["ɵɵelementStart"](5,"div",2),i["ɵɵtext"](6),i["ɵɵelementEnd"](),i["ɵɵtext"](7,"\n "),i["ɵɵelementStart"](8,"div",3),i["ɵɵtext"](9,"\n "),i["ɵɵtemplate"](10,c,2,0,"div",4),i["ɵɵtext"](11,"\n "),i["ɵɵtemplate"](12,u,1,1,"div",5),i["ɵɵtext"](13,"\n "),i["ɵɵtemplate"](14,d,2,1,"div",4),i["ɵɵtext"](15,"\n "),i["ɵɵelementEnd"](),i["ɵɵtext"](16,"\n "),i["ɵɵelementEnd"](),i["ɵɵtext"](17,"\n "),i["ɵɵtemplate"](18,h,2,1,"div",6)),2&e&&(i["ɵɵadvance"](1),i["ɵɵproperty"]("ngClass",t.iconClass),i["ɵɵadvance"](4),i["ɵɵproperty"]("ngClass",t.titleClass),i["ɵɵadvance"](1),i["ɵɵtextInterpolate"](t.toast.title),i["ɵɵadvance"](2),i["ɵɵproperty"]("ngClass",t.messageClass)("ngSwitch",t.toast.bodyOutputType),i["ɵɵadvance"](2),i["ɵɵproperty"]("ngSwitchCase",t.bodyOutputType.Component),i["ɵɵadvance"](2),i["ɵɵproperty"]("ngSwitchCase",t.bodyOutputType.TrustedHtml),i["ɵɵadvance"](2),i["ɵɵproperty"]("ngSwitchCase",t.bodyOutputType.Default),i["ɵɵadvance"](4),i["ɵɵproperty"]("ngIf",t.toast.showCloseButton))},directives:[o.NgClass,o.NgSwitch,o.NgSwitchCase,o.NgIf],encapsulation:2}),e}(),g=n(12),y=function(e){e=e||{},this.limit=e.limit||null,this.tapToDismiss=null==e.tapToDismiss||e.tapToDismiss,this.showCloseButton=null!=e.showCloseButton&&e.showCloseButton,this.closeHtml=e.closeHtml||'',this.newestOnTop=null==e.newestOnTop||e.newestOnTop,this.timeout=null!=e.timeout?e.timeout:5e3,this.typeClasses=e.typeClasses||{error:"toast-error",info:"toast-info",wait:"toast-wait",success:"toast-success",warning:"toast-warning"},this.iconClasses=e.iconClasses||{error:"icon-error",info:"icon-info",wait:"icon-wait",success:"icon-success",warning:"icon-warning"},this.bodyOutputType=e.bodyOutputType||r.Default,this.bodyTemplate=e.bodyTemplate||"toasterBodyTmpl.html",this.defaultTypeClass=e.defaultTypeClass||"toast-info",this.positionClass=e.positionClass||"toast-top-right",this.titleClass=e.titleClass||"toast-title",this.messageClass=e.messageClass||"toast-message",this.animation=e.animation||"",this.preventDuplicates=null!=e.preventDuplicates&&e.preventDuplicates,this.mouseoverTimerStop=null!=e.mouseoverTimerStop&&e.mouseoverTimerStop,this.toastContainerId=null!=e.toastContainerId?e.toastContainerId:null},b=n(32),v=n(147),k=n(1104),w=function(e,t,n,r){var i,a=arguments.length,o=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(o=(a<3?i(o):a>3?i(t,n,o):i(t,n))||o);return a>3&&o&&Object.defineProperty(t,n,o),o},_=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},j=function(){function e(){}return e.newGuid=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)}))},e}(),C=function(){function e(){var e=this;this.addToast=new b.a((function(t){return e._addToast=t})).pipe(Object(k.a)()),this.clearToasts=new b.a((function(t){return e._clearToasts=t})).pipe(Object(k.a)()),this._removeToastSubject=new v.a,this.removeToast=this._removeToastSubject.pipe(Object(k.a)())}return e.prototype.pop=function(e,t,n){var r="string"==typeof e?{type:e,title:t,body:n}:e;if(r.toastId||(r.toastId=j.newGuid()),!this._addToast)throw new Error("No Toaster Containers have been initialized to receive toasts.");return this._addToast.next(r),r},e.prototype.popAsync=function(e,t,n){var r=this;return setTimeout((function(){r.pop(e,t,n)}),0),this.addToast},e.prototype.clear=function(e,t){var n={toastId:e,toastContainerId:t};this._clearToasts.next(n)},(e=w([_("design:paramtypes",[])],e)).ɵfac=function(t){return new(t||e)},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:function(t){return e.ɵfac(t)}}),e}();function x(e,t){if(1&e){var n=i["ɵɵgetCurrentView"]();i["ɵɵelementStart"](0,"div",2),i["ɵɵlistener"]("click",(function(){i["ɵɵrestoreView"](n);var e=t.$implicit;return i["ɵɵnextContext"]().click(e)}))("clickEvent",(function(e){return i["ɵɵrestoreView"](n),i["ɵɵnextContext"]().childClick(e)}))("mouseover",(function(){i["ɵɵrestoreView"](n);var e=t.$implicit;return i["ɵɵnextContext"]().stopTimer(e)}))("mouseout",(function(){i["ɵɵrestoreView"](n);var e=t.$implicit;return i["ɵɵnextContext"]().restartTimer(e)})),i["ɵɵtext"](1,"\n "),i["ɵɵelementEnd"]()}if(2&e){var r=t.$implicit,a=i["ɵɵnextContext"]();i["ɵɵproperty"]("toast",r)("@toastState",a.toasterconfig.animation)("iconClass",a.toasterconfig.iconClasses[r.type])("titleClass",a.toasterconfig.titleClass)("messageClass",a.toasterconfig.messageClass)("ngClass",a.toasterconfig.typeClasses[r.type])}}var E=function(e){return[e]},S=function(e,t,n,r){var i,a=arguments.length,o=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(o=(a<3?i(o):a>3?i(t,n,o):i(t,n))||o);return a>3&&o&&Object.defineProperty(t,n,o),o},T=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},O=function(){function e(e,t,n){this.ref=t,this.ngZone=n,this.timeoutIds=new Map,this.toasts=[],this.toasterService=e}return e.prototype.ngOnInit=function(){this.registerSubscribers(),this.isNullOrUndefined(this.toasterconfig)&&(this.toasterconfig=new y)},e.prototype.click=function(e,t){if(this.toasterconfig.tapToDismiss||e.showCloseButton&&t){var n=!0;if(e.clickHandler){if("function"!=typeof e.clickHandler)return console.log("The toast click handler is not a callable function."),!1;n=e.clickHandler(e,t)}n&&this.removeToast(e)}},e.prototype.childClick=function(e){this.click(e.value.toast,e.value.isCloseButton)},e.prototype.stopTimer=function(e){if(this.toasterconfig.mouseoverTimerStop){var t=this.toastIdOrDefault(e),n=this.timeoutIds.get(t);n&&(window.clearTimeout(n),this.timeoutIds.delete(t))}},e.prototype.restartTimer=function(e){var t=this.timeoutIds.get(this.toastIdOrDefault(e));this.toasterconfig.mouseoverTimerStop?t||this.configureTimer(e):0!==e.timeout&&!t&&this.toasterconfig.timeout&&this.removeToast(e)},e.prototype.registerSubscribers=function(){var e=this;this.addToastSubscriber=this.toasterService.addToast.subscribe((function(t){e.addToast(t)})),this.clearToastsSubscriber=this.toasterService.clearToasts.subscribe((function(t){e.clearToasts(t)}))},e.prototype.addToast=function(e){if(!e.toastContainerId||!this.toasterconfig.toastContainerId||e.toastContainerId===this.toasterconfig.toastContainerId){if(e.type||(e.type=this.toasterconfig.defaultTypeClass),this.toasterconfig.preventDuplicates&&this.toasts.length>0){if(e.toastId&&this.toasts.some((function(t){return t.toastId===e.toastId})))return;if(this.toasts.some((function(t){return t.body===e.body})))return}this.isNullOrUndefined(e.showCloseButton)&&("object"==typeof this.toasterconfig.showCloseButton?e.showCloseButton=this.toasterconfig.showCloseButton[e.type]:"boolean"==typeof this.toasterconfig.showCloseButton&&(e.showCloseButton=this.toasterconfig.showCloseButton)),e.showCloseButton&&(e.closeHtml=e.closeHtml||this.toasterconfig.closeHtml),e.bodyOutputType=e.bodyOutputType||this.toasterconfig.bodyOutputType,this.configureTimer(e),this.toasterconfig.newestOnTop?(this.toasts.unshift(e),this.isLimitExceeded()&&this.toasts.pop()):(this.toasts.push(e),this.isLimitExceeded()&&this.toasts.shift()),e.onShowCallback&&e.onShowCallback(e)}},e.prototype.configureTimer=function(e){var t=this,n="number"==typeof e.timeout?e.timeout:this.toasterconfig.timeout;"object"==typeof n&&(n=n[e.type]),n>0&&this.ngZone.runOutsideAngular((function(){var r=window.setTimeout((function(){t.ngZone.run((function(){t.ref.markForCheck(),t.removeToast(e)}))}),n);t.timeoutIds.set(t.toastIdOrDefault(e),r)}))},e.prototype.isLimitExceeded=function(){return this.toasterconfig.limit&&this.toasts.length>this.toasterconfig.limit},e.prototype.removeToast=function(e){var t=this.toasts.indexOf(e);if(!(t<0)){var n=this.toastIdOrDefault(e),r=this.timeoutIds.get(n);this.toasts.splice(t,1),r&&(window.clearTimeout(r),this.timeoutIds.delete(n)),e.onHideCallback&&e.onHideCallback(e),this.toasterService._removeToastSubject.next({toastId:n,toastContainerId:e.toastContainerId})}},e.prototype.removeAllToasts=function(){for(var e=this.toasts.length-1;e>=0;e--)this.removeToast(this.toasts[e])},e.prototype.clearToasts=function(e){var t=e.toastId,n=e.toastContainerId;(this.isNullOrUndefined(n)||n===this.toasterconfig.toastContainerId)&&this.clearToastsAction(t)},e.prototype.clearToastsAction=function(e){e?this.removeToast(this.toasts.filter((function(t){return t.toastId===e}))[0]):this.removeAllToasts()},e.prototype.toastIdOrDefault=function(e){return e.toastId||""},e.prototype.isNullOrUndefined=function(e){return null==e},e.prototype.ngOnDestroy=function(){this.addToastSubscriber&&this.addToastSubscriber.unsubscribe(),this.clearToastsSubscriber&&this.clearToastsSubscriber.unsubscribe()},S([Object(i.Input)(),T("design:type",y)],e.prototype,"toasterconfig",void 0),(e=S([T("design:paramtypes",[C,i.ChangeDetectorRef,i.NgZone])],e)).ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](C),i["ɵɵdirectiveInject"](i.ChangeDetectorRef),i["ɵɵdirectiveInject"](i.NgZone))},e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["toaster-container"]],inputs:{toasterconfig:"toasterconfig"},decls:6,vars:4,consts:[["id","toast-container",3,"ngClass"],["toastComp","","class","toast",3,"toast","iconClass","titleClass","messageClass","ngClass","click","clickEvent","mouseover","mouseout",4,"ngFor","ngForOf"],["toastComp","",1,"toast",3,"toast","iconClass","titleClass","messageClass","ngClass","click","clickEvent","mouseover","mouseout"]],template:function(e,t){1&e&&(i["ɵɵtext"](0,"\n "),i["ɵɵelementStart"](1,"div",0),i["ɵɵtext"](2,"\n "),i["ɵɵtemplate"](3,x,2,6,"div",1),i["ɵɵtext"](4,"\n "),i["ɵɵelementEnd"](),i["ɵɵtext"](5,"\n ")),2&e&&(i["ɵɵadvance"](1),i["ɵɵproperty"]("ngClass",i["ɵɵpureFunction1"](2,E,t.toasterconfig.positionClass)),i["ɵɵadvance"](2),i["ɵɵproperty"]("ngForOf",t.toasts))},directives:[o.NgClass,o.NgForOf,m],encapsulation:2,data:{animation:[Object(g.j)("toastState",[Object(g.g)("flyRight, flyLeft, slideDown, slideUp, fade",Object(g.h)({opacity:1,transform:"translate(0,0)"})),Object(g.i)("void => flyRight",[Object(g.h)({opacity:0,transform:"translateX(100%)"}),Object(g.e)("0.25s ease-in")]),Object(g.i)("flyRight => void",[Object(g.e)("0.25s 10ms ease-out",Object(g.h)({opacity:0,transform:"translateX(100%)"}))]),Object(g.i)("void => flyLeft",[Object(g.h)({opacity:0,transform:"translateX(-100%)"}),Object(g.e)("0.25s ease-in")]),Object(g.i)("flyLeft => void",[Object(g.e)("0.25s 10ms ease-out",Object(g.h)({opacity:0,transform:"translateX(-100%)"}))]),Object(g.i)("void => slideDown",[Object(g.h)({opacity:0,transform:"translateY(-200%)"}),Object(g.e)("0.3s ease-in")]),Object(g.i)("slideDown => void",[Object(g.e)("0.3s 10ms ease-out",Object(g.h)({opacity:0,transform:"translateY(200%)"}))]),Object(g.i)("void => slideUp",[Object(g.h)({opacity:0,transform:"translateY(200%)"}),Object(g.e)("0.3s ease-in")]),Object(g.i)("slideUp => void",[Object(g.e)("0.3s 10ms ease-out",Object(g.h)({opacity:0,transform:"translateY(-200%)"}))]),Object(g.i)("void => fade",[Object(g.h)({opacity:0}),Object(g.e)("0.3s ease-in")]),Object(g.i)("fade => void",[Object(g.e)("0.3s 10ms ease-out",Object(g.h)({opacity:0}))])])]}}),e}(),z=function(){function e(){}var t;return t=e,e.forRoot=function(){return{ngModule:t,providers:[C,O]}},e.forChild=function(){return{ngModule:t,providers:[O]}},e.ɵmod=i["ɵɵdefineNgModule"]({type:e}),e.ɵinj=i["ɵɵdefineInjector"]({factory:function(t){return new(t||e)},imports:[[o.CommonModule]]}),("undefined"==typeof ngJitMode||ngJitMode)&&i["ɵɵsetNgModuleScope"](e,{declarations:function(){return[m,O]},imports:function(){return[o.CommonModule]},exports:function(){return[O,m]}}),e}();n.d(t,"ToastComponent",(function(){return m})),n.d(t,"ToasterContainerComponent",(function(){return O})),n.d(t,"ToasterService",(function(){return C})),n.d(t,"ToasterConfig",(function(){return y})),n.d(t,"BodyOutputType",(function(){return r})),n.d(t,"ToasterModule",(function(){return z}))},,function(e,t,n){"use strict";var r;n.d(t,"a",(function(){return r})),function(e){e[e.Trace=0]="Trace",e[e.Debug=1]="Debug",e[e.Information=2]="Information",e[e.Warning=3]="Warning",e[e.Error=4]="Error",e[e.Critical=5]="Critical",e[e.None=6]="None"}(r||(r={}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return i})),n.d(t,"d",(function(){return p})),n.d(t,"e",(function(){return s})),n.d(t,"f",(function(){return l})),n.d(t,"g",(function(){return u})),n.d(t,"h",(function(){return c})),n.d(t,"i",(function(){return d})),n.d(t,"j",(function(){return o})),n.d(t,"k",(function(){return f})),n.d(t,"l",(function(){return m})); /** * @license Angular v9.1.12 * (c) 2010-2020 Google LLC. https://angular.io/ * License: MIT */ var r=function(){},i=function(){},a="*";function o(e,t){return{type:7,name:e,definitions:t,options:{}}}function s(e,t){return void 0===t&&(t=null),{type:4,styles:t,timings:e}}function l(e,t){return void 0===t&&(t=null),{type:2,steps:e,options:t}}function c(e){return{type:6,styles:e,offset:null}}function u(e,t,n){return{type:0,name:e,styles:t,options:n}}function d(e,t,n){return void 0===n&&(n=null),{type:1,expr:e,animation:t,options:n}} /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ function h(e){Promise.resolve(null).then(e)} /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */var p=function(){function e(e,t){void 0===e&&(e=0),void 0===t&&(t=0),this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this.parentPlayer=null,this.totalTime=e+t}return e.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach((function(e){return e()})),this._onDoneFns=[])},e.prototype.onStart=function(e){this._onStartFns.push(e)},e.prototype.onDone=function(e){this._onDoneFns.push(e)},e.prototype.onDestroy=function(e){this._onDestroyFns.push(e)},e.prototype.hasStarted=function(){return this._started},e.prototype.init=function(){},e.prototype.play=function(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0},e.prototype.triggerMicrotask=function(){var e=this;h((function(){return e._onFinish()}))},e.prototype._onStart=function(){this._onStartFns.forEach((function(e){return e()})),this._onStartFns=[]},e.prototype.pause=function(){},e.prototype.restart=function(){},e.prototype.finish=function(){this._onFinish()},e.prototype.destroy=function(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach((function(e){return e()})),this._onDestroyFns=[])},e.prototype.reset=function(){},e.prototype.setPosition=function(e){},e.prototype.getPosition=function(){return 0},e.prototype.triggerCallback=function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach((function(e){return e()})),t.length=0},e}(),f=function(){function e(e){var t=this;this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;var n=0,r=0,i=0,a=this.players.length;0==a?h((function(){return t._onFinish()})):this.players.forEach((function(e){e.onDone((function(){++n==a&&t._onFinish()})),e.onDestroy((function(){++r==a&&t._onDestroy()})),e.onStart((function(){++i==a&&t._onStart()}))})),this.totalTime=this.players.reduce((function(e,t){return Math.max(e,t.totalTime)}),0)}return e.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach((function(e){return e()})),this._onDoneFns=[])},e.prototype.init=function(){this.players.forEach((function(e){return e.init()}))},e.prototype.onStart=function(e){this._onStartFns.push(e)},e.prototype._onStart=function(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach((function(e){return e()})),this._onStartFns=[])},e.prototype.onDone=function(e){this._onDoneFns.push(e)},e.prototype.onDestroy=function(e){this._onDestroyFns.push(e)},e.prototype.hasStarted=function(){return this._started},e.prototype.play=function(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach((function(e){return e.play()}))},e.prototype.pause=function(){this.players.forEach((function(e){return e.pause()}))},e.prototype.restart=function(){this.players.forEach((function(e){return e.restart()}))},e.prototype.finish=function(){this._onFinish(),this.players.forEach((function(e){return e.finish()}))},e.prototype.destroy=function(){this._onDestroy()},e.prototype._onDestroy=function(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach((function(e){return e.destroy()})),this._onDestroyFns.forEach((function(e){return e()})),this._onDestroyFns=[])},e.prototype.reset=function(){this.players.forEach((function(e){return e.reset()})),this._destroyed=!1,this._finished=!1,this._started=!1},e.prototype.setPosition=function(e){var t=e*this.totalTime;this.players.forEach((function(e){var n=e.totalTime?Math.min(1,t/e.totalTime):1;e.setPosition(n)}))},e.prototype.getPosition=function(){var e=0;return this.players.forEach((function(t){var n=t.getPosition();e=Math.min(n,e)})),e},e.prototype.beforeDestroy=function(){this.players.forEach((function(e){e.beforeDestroy&&e.beforeDestroy()}))},e.prototype.triggerCallback=function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach((function(e){return e()})),t.length=0},e}(),m="!"; /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */},function(e,t,n){"use strict";n.r(t);var r=n(1),i=n(0),a=n(4),o=n(32),s=n(121),l=n(164),c=n(215),u=n(166);function d(e,t){return new o.a((function(n){var r=e.length;if(0!==r)for(var i=new Array(r),a=0,o=0,s=function(s){var l=Object(u.a)(e[s]),c=!1;n.add(l.subscribe({next:function(e){c||(c=!0,o++),i[s]=e},error:function(e){return n.error(e)},complete:function(){++a!==r&&c||(o===r&&n.next(t?t.reduce((function(e,t,n){return e[t]=i[n],e}),{}):i),n.complete())}}))},l=0;le?{max:{max:e,actual:t.value}}:null}},e.required=function(e){return E(e.value)?{required:!0}:null},e.requiredTrue=function(e){return!0===e.value?null:{required:!0}},e.email=function(e){return E(e.value)||O.test(e.value)?null:{email:!0}},e.minLength=function(e){return function(t){if(E(t.value))return null;var n=t.value?t.value.length:0;return ne?{maxlength:{requiredLength:e,actualLength:n}}:null}},e.pattern=function(t){return t?("string"==typeof t?(r="","^"!==t.charAt(0)&&(r+="^"),r+=t,"$"!==t.charAt(t.length-1)&&(r+="$"),n=new RegExp(r)):(r=t.toString(),n=t),function(e){if(E(e.value))return null;var t=e.value;return n.test(t)?null:{pattern:{requiredPattern:r,actualValue:t}}}):e.nullValidator;var n,r},e.nullValidator=function(e){return null},e.compose=function(e){if(!e)return null;var t=e.filter(I);return 0==t.length?null:function(e){return A(function(e,t){return t.map((function(t){return t(e)}))}(e,t))}},e.composeAsync=function(e){if(!e)return null;var t=e.filter(I);return 0==t.length?null:function(e){return function(){for(var e=[],t=0;t=0;--t)if(this._accessors[t][1]===e)return void this._accessors.splice(t,1)},e.prototype.select=function(e){var t=this;this._accessors.forEach((function(n){t._isSameGroup(n,e)&&n[1]!==e&&n[1].fireUncheck(e.value)}))},e.prototype._isSameGroup=function(e,t){return!!e[0].control&&(e[0]._parent===t._control._parent&&e[1].name===t.name)},e.ɵfac=function(t){return new(t||e)},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:function(t){return e.ɵfac(t)}}),e}(),L=function(){function e(e,t,n,r){this._renderer=e,this._elementRef=t,this._registry=n,this._injector=r,this.onChange=function(){},this.onTouched=function(){}}return e.prototype.ngOnInit=function(){this._control=this._injector.get(w),this._checkName(),this._registry.add(this._control,this)},e.prototype.ngOnDestroy=function(){this._registry.remove(this)},e.prototype.writeValue=function(e){this._state=e===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)},e.prototype.registerOnChange=function(e){var t=this;this._fn=e,this.onChange=function(){e(t.value),t._registry.select(t)}},e.prototype.fireUncheck=function(e){this.writeValue(e)},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},e.prototype._checkName=function(){this.name&&this.formControlName&&this.name!==this.formControlName&&this._throwNameError(),!this.name&&this.formControlName&&(this.name=this.formControlName)},e.prototype._throwNameError=function(){throw new Error('\n If you define both a name and a formControlName attribute on your radio button, their values\n must match. Ex: \n ')},Object(r.b)([Object(i.Input)(),Object(r.d)("design:type",String)],e.prototype,"name",void 0),Object(r.b)([Object(i.Input)(),Object(r.d)("design:type",String)],e.prototype,"formControlName",void 0),Object(r.b)([Object(i.Input)(),Object(r.d)("design:type",Object)],e.prototype,"value",void 0),(e=Object(r.b)([Object(r.d)("design:paramtypes",[i.Renderer2,i.ElementRef,B,i.Injector])],e)).ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](i.Renderer2),i["ɵɵdirectiveInject"](i.ElementRef),i["ɵɵdirectiveInject"](B),i["ɵɵdirectiveInject"](i.Injector))},e.ɵdir=i["ɵɵdefineDirective"]({type:e,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(e,t){1&e&&i["ɵɵlistener"]("change",(function(){return t.onChange()}))("blur",(function(){return t.onTouched()}))},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[i["ɵɵProvidersFeature"]([q])]}),e}(),F={provide:h,useExisting:Object(i.forwardRef)((function(){return U})),multi:!0},U=function(){function e(e,t){this._renderer=e,this._elementRef=t,this.onChange=function(e){},this.onTouched=function(){}}return e.prototype.writeValue=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(e))},e.prototype.registerOnChange=function(e){this.onChange=function(t){e(""==t?null:parseFloat(t))}},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},(e=Object(r.b)([Object(r.d)("design:paramtypes",[i.Renderer2,i.ElementRef])],e)).ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](i.Renderer2),i["ɵɵdirectiveInject"](i.ElementRef))},e.ɵdir=i["ɵɵdefineDirective"]({type:e,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(e,t){1&e&&i["ɵɵlistener"]("change",(function(e){return t.onChange(e.target.value)}))("input",(function(e){return t.onChange(e.target.value)}))("blur",(function(){return t.onTouched()}))},features:[i["ɵɵProvidersFeature"]([F])]}),e}(),V='\n

\n \n
\n\n In your class:\n\n this.myGroup = new FormGroup({\n firstName: new FormControl()\n });',H='\n
\n
\n \n
\n
\n\n In your class:\n\n this.myGroup = new FormGroup({\n person: new FormGroup({ firstName: new FormControl() })\n });',K='\n
\n
\n
\n \n
\n
\n
\n\n In your class:\n\n this.cityArray = new FormArray([new FormControl(\'SF\')]);\n this.myGroup = new FormGroup({\n cities: this.cityArray\n });',W='\n
\n
\n \n
\n
',G='\n
\n \n \n
\n ',Q=function(){function e(){}return e.controlParentException=function(){throw new Error("formControlName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n "+V)},e.ngModelGroupException=function(){throw new Error('formControlName cannot be used with an ngModelGroup parent. It is only compatible with parents\n that also have a "form" prefix: formGroupName, formArrayName, or formGroup.\n\n Option 1: Update the parent to be formGroupName (reactive form strategy)\n\n '+H+"\n\n Option 2: Use ngModel instead of formControlName (template-driven strategy)\n\n "+W)},e.missingFormException=function(){throw new Error("formGroup expects a FormGroup instance. Please pass one in.\n\n Example:\n\n "+V)},e.groupParentException=function(){throw new Error("formGroupName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n "+H)},e.arrayParentException=function(){throw new Error("formArrayName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n "+K)},e.disabledAttrWarning=function(){console.warn("\n It looks like you're using the disabled attribute with a reactive form directive. If you set disabled to true\n when you set up this control in your component class, the disabled attribute will actually be set in the DOM for\n you. We recommend using this approach to avoid 'changed after checked' errors.\n \n Example: \n form = new FormGroup({\n first: new FormControl({value: 'Nancy', disabled: true}, Validators.required),\n last: new FormControl('Drew', Validators.required)\n });\n ")},e.ngModelWarning=function(e){console.warn("\n It looks like you're using ngModel on the same form field as "+e+". \n Support for using the ngModel input property and ngModelChange event with \n reactive form directives has been deprecated in Angular v6 and will be removed \n in Angular v7.\n \n For more information on this, see our API docs here:\n https://angular.io/api/forms/"+("formControl"===e?"FormControlDirective":"FormControlName")+"#use-with-ngmodel\n ")},e}(),$={provide:h,useExisting:Object(i.forwardRef)((function(){return Z})),multi:!0};function Y(e,t){return null==e?""+t:(t&&"object"==typeof t&&(t="Object"),(e+": "+t).slice(0,50))}var Z=function(){function e(e,t){this._renderer=e,this._elementRef=t,this._optionMap=new Map,this._idCounter=0,this.onChange=function(e){},this.onTouched=function(){},this._compareWith=i["ɵlooseIdentical"]}return Object.defineProperty(e.prototype,"compareWith",{set:function(e){if("function"!=typeof e)throw new Error("compareWith must be a function, but received "+JSON.stringify(e));this._compareWith=e},enumerable:!0,configurable:!0}),e.prototype.writeValue=function(e){this.value=e;var t=this._getOptionId(e);null==t&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);var n=Y(t,e);this._renderer.setProperty(this._elementRef.nativeElement,"value",n)},e.prototype.registerOnChange=function(e){var t=this;this.onChange=function(n){t.value=t._getOptionValue(n),e(t.value)}},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},e.prototype._registerOption=function(){return(this._idCounter++).toString()},e.prototype._getOptionId=function(e){var t,n;try{for(var i=Object(r.h)(Array.from(this._optionMap.keys())),a=i.next();!a.done;a=i.next()){var o=a.value;if(this._compareWith(this._optionMap.get(o),e))return o}}catch(s){t={error:s}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}return null},e.prototype._getOptionValue=function(e){var t=function(e){return e.split(":")[0]}(e);return this._optionMap.has(t)?this._optionMap.get(t):e},Object(r.b)([Object(i.Input)(),Object(r.d)("design:type",Function),Object(r.d)("design:paramtypes",[Function])],e.prototype,"compareWith",null),(e=Object(r.b)([Object(r.d)("design:paramtypes",[i.Renderer2,i.ElementRef])],e)).ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](i.Renderer2),i["ɵɵdirectiveInject"](i.ElementRef))},e.ɵdir=i["ɵɵdefineDirective"]({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(e,t){1&e&&i["ɵɵlistener"]("change",(function(e){return t.onChange(e.target.value)}))("blur",(function(){return t.onTouched()}))},inputs:{compareWith:"compareWith"},features:[i["ɵɵProvidersFeature"]([$])]}),e}(),J=function(){function e(e,t,n){this._element=e,this._renderer=t,this._select=n,this._select&&(this.id=this._select._registerOption())}return Object.defineProperty(e.prototype,"ngValue",{set:function(e){null!=this._select&&(this._select._optionMap.set(this.id,e),this._setElementValue(Y(this.id,e)),this._select.writeValue(this._select.value))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"value",{set:function(e){this._setElementValue(e),this._select&&this._select.writeValue(this._select.value)},enumerable:!0,configurable:!0}),e.prototype._setElementValue=function(e){this._renderer.setProperty(this._element.nativeElement,"value",e)},e.prototype.ngOnDestroy=function(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))},Object(r.b)([Object(i.Input)("ngValue"),Object(r.d)("design:type",Object),Object(r.d)("design:paramtypes",[Object])],e.prototype,"ngValue",null),Object(r.b)([Object(i.Input)("value"),Object(r.d)("design:type",Object),Object(r.d)("design:paramtypes",[Object])],e.prototype,"value",null),(e=Object(r.b)([Object(r.e)(2,Object(i.Optional)()),Object(r.e)(2,Object(i.Host)()),Object(r.d)("design:paramtypes",[i.ElementRef,i.Renderer2,Z])],e)).ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](i.ElementRef),i["ɵɵdirectiveInject"](i.Renderer2),i["ɵɵdirectiveInject"](Z,9))},e.ɵdir=i["ɵɵdefineDirective"]({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),e}(),X={provide:h,useExisting:Object(i.forwardRef)((function(){return te})),multi:!0};function ee(e,t){return null==e?""+t:("string"==typeof t&&(t="'"+t+"'"),t&&"object"==typeof t&&(t="Object"),(e+": "+t).slice(0,50))}var te=function(){function e(e,t){this._renderer=e,this._elementRef=t,this._optionMap=new Map,this._idCounter=0,this.onChange=function(e){},this.onTouched=function(){},this._compareWith=i["ɵlooseIdentical"]}return Object.defineProperty(e.prototype,"compareWith",{set:function(e){if("function"!=typeof e)throw new Error("compareWith must be a function, but received "+JSON.stringify(e));this._compareWith=e},enumerable:!0,configurable:!0}),e.prototype.writeValue=function(e){var t,n=this;if(this.value=e,Array.isArray(e)){var r=e.map((function(e){return n._getOptionId(e)}));t=function(e,t){e._setSelected(r.indexOf(t.toString())>-1)}}else t=function(e,t){e._setSelected(!1)};this._optionMap.forEach(t)},e.prototype.registerOnChange=function(e){var t=this;this.onChange=function(n){var r=[];if(n.hasOwnProperty("selectedOptions"))for(var i=n.selectedOptions,a=0;a1?"path: '"+e.path.join(" -> ")+"'":e.path[0]?"name: '"+e.path+"'":"unspecified name attribute",new Error(t+" "+n)}function ce(e){return null!=e?z.compose(e.map(N)):null}function ue(e){return null!=e?z.composeAsync(e.map(P)):null}function de(e,t){if(!e.hasOwnProperty("model"))return!1;var n=e.model;return!!n.isFirstChange()||!Object(i["ɵlooseIdentical"])(t,n.currentValue)}var he=[f,U,M,Z,te,L];function pe(e,t){e._syncPendingControls(),t.forEach((function(e){var t=e.control;"submit"===t.updateOn&&t._pendingChange&&(e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)}))}function fe(e,t){if(!t)return null;Array.isArray(t)||le(e,"Value accessor was not provided as an array for form control with");var n=void 0,r=void 0,i=void 0;return t.forEach((function(t){var a;t.constructor===y?n=t:(a=t,he.some((function(e){return a.constructor===e}))?(r&&le(e,"More than one built-in value accessor matches form control with"),r=t):(i&&le(e,"More than one custom value accessor matches form control with"),i=t))})),i||(r||(n||(le(e,"No valid value accessor for form control with"),null)))}function me(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}function ge(e,t,n,r){Object(i.isDevMode)()&&"never"!==r&&((null!==r&&"once"!==r||t._ngModelWarningSentOnce)&&("always"!==r||n._ngModelWarningSent)||(Q.ngModelWarning(e),t._ngModelWarningSentOnce=!0,n._ngModelWarningSent=!0))} /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */function ye(e){var t=ve(e)?e.validators:e;return Array.isArray(t)?ce(t):t||null}function be(e,t){var n=ve(t)?t.asyncValidators:e;return Array.isArray(n)?ue(n):n||null}function ve(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}var ke=function(){function e(e,t){this.validator=e,this.asyncValidator=t,this._onCollectionChange=function(){},this.pristine=!0,this.touched=!1,this._onDisabledChange=[]}return Object.defineProperty(e.prototype,"parent",{get:function(){return this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"valid",{get:function(){return"VALID"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"invalid",{get:function(){return"INVALID"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pending",{get:function(){return"PENDING"==this.status},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disabled",{get:function(){return"DISABLED"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"enabled",{get:function(){return"DISABLED"!==this.status},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dirty",{get:function(){return!this.pristine},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"untouched",{get:function(){return!this.touched},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"updateOn",{get:function(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"},enumerable:!0,configurable:!0}),e.prototype.setValidators=function(e){this.validator=ye(e)},e.prototype.setAsyncValidators=function(e){this.asyncValidator=be(e)},e.prototype.clearValidators=function(){this.validator=null},e.prototype.clearAsyncValidators=function(){this.asyncValidator=null},e.prototype.markAsTouched=function(e){void 0===e&&(e={}),this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)},e.prototype.markAllAsTouched=function(){this.markAsTouched({onlySelf:!0}),this._forEachChild((function(e){return e.markAllAsTouched()}))},e.prototype.markAsUntouched=function(e){void 0===e&&(e={}),this.touched=!1,this._pendingTouched=!1,this._forEachChild((function(e){e.markAsUntouched({onlySelf:!0})})),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)},e.prototype.markAsDirty=function(e){void 0===e&&(e={}),this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)},e.prototype.markAsPristine=function(e){void 0===e&&(e={}),this.pristine=!0,this._pendingDirty=!1,this._forEachChild((function(e){e.markAsPristine({onlySelf:!0})})),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)},e.prototype.markAsPending=function(e){void 0===e&&(e={}),this.status="PENDING",!1!==e.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)},e.prototype.disable=function(e){void 0===e&&(e={});var t=this._parentMarkedDirty(e.onlySelf);this.status="DISABLED",this.errors=null,this._forEachChild((function(t){t.disable(Object(r.a)(Object(r.a)({},e),{onlySelf:!0}))})),this._updateValue(),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object(r.a)(Object(r.a)({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach((function(e){return e(!0)}))},e.prototype.enable=function(e){void 0===e&&(e={});var t=this._parentMarkedDirty(e.onlySelf);this.status="VALID",this._forEachChild((function(t){t.enable(Object(r.a)(Object(r.a)({},e),{onlySelf:!0}))})),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(Object(r.a)(Object(r.a)({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach((function(e){return e(!1)}))},e.prototype._updateAncestors=function(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())},e.prototype.setParent=function(e){this._parent=e},e.prototype.updateValueAndValidity=function(e){void 0===e&&(e={}),this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),"VALID"!==this.status&&"PENDING"!==this.status||this._runAsyncValidator(e.emitEvent)),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)},e.prototype._updateTreeValidity=function(e){void 0===e&&(e={emitEvent:!0}),this._forEachChild((function(t){return t._updateTreeValidity(e)})),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})},e.prototype._setInitialStatus=function(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"},e.prototype._runValidator=function(){return this.validator?this.validator(this):null},e.prototype._runAsyncValidator=function(e){var t=this;if(this.asyncValidator){this.status="PENDING";var n=D(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe((function(n){return t.setErrors(n,{emitEvent:e})}))}},e.prototype._cancelExistingSubscription=function(){this._asyncValidationSubscription&&this._asyncValidationSubscription.unsubscribe()},e.prototype.setErrors=function(e,t){void 0===t&&(t={}),this.errors=e,this._updateControlsErrors(!1!==t.emitEvent)},e.prototype.get=function(e){return function(e,t,n){if(null==t)return null;if(Array.isArray(t)||(t=t.split(n)),Array.isArray(t)&&0===t.length)return null;var r=e;return t.forEach((function(e){r=r instanceof _e?r.controls.hasOwnProperty(e)?r.controls[e]:null:r instanceof je&&r.at(e)||null})),r}(this,e,".")},e.prototype.getError=function(e,t){var n=t?this.get(t):this;return n&&n.errors?n.errors[e]:null},e.prototype.hasError=function(e,t){return!!this.getError(e,t)},Object.defineProperty(e.prototype,"root",{get:function(){for(var e=this;e._parent;)e=e._parent;return e},enumerable:!0,configurable:!0}),e.prototype._updateControlsErrors=function(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)},e.prototype._initObservables=function(){this.valueChanges=new i.EventEmitter,this.statusChanges=new i.EventEmitter},e.prototype._calculateStatus=function(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"},e.prototype._anyControlsHaveStatus=function(e){return this._anyControls((function(t){return t.status===e}))},e.prototype._anyControlsDirty=function(){return this._anyControls((function(e){return e.dirty}))},e.prototype._anyControlsTouched=function(){return this._anyControls((function(e){return e.touched}))},e.prototype._updatePristine=function(e){void 0===e&&(e={}),this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)},e.prototype._updateTouched=function(e){void 0===e&&(e={}),this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)},e.prototype._isBoxedValue=function(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e},e.prototype._registerOnCollectionChange=function(e){this._onCollectionChange=e},e.prototype._setUpdateStrategy=function(e){ve(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)},e.prototype._parentMarkedDirty=function(e){var t=this._parent&&this._parent.dirty;return!e&&t&&!this._parent._anyControlsDirty()},e}(),we=function(e){function t(t,n,r){void 0===t&&(t=null);var i=e.call(this,ye(n),be(r,n))||this;return i._onChange=[],i._applyFormState(t),i._setUpdateStrategy(n),i.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),i._initObservables(),i}return Object(r.c)(t,e),t.prototype.setValue=function(e,t){var n=this;void 0===t&&(t={}),this.value=this._pendingValue=e,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach((function(e){return e(n.value,!1!==t.emitViewToModelChange)})),this.updateValueAndValidity(t)},t.prototype.patchValue=function(e,t){void 0===t&&(t={}),this.setValue(e,t)},t.prototype.reset=function(e,t){void 0===e&&(e=null),void 0===t&&(t={}),this._applyFormState(e),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1},t.prototype._updateValue=function(){},t.prototype._anyControls=function(e){return!1},t.prototype._allControlsDisabled=function(){return this.disabled},t.prototype.registerOnChange=function(e){this._onChange.push(e)},t.prototype._clearChangeFns=function(){this._onChange=[],this._onDisabledChange=[],this._onCollectionChange=function(){}},t.prototype.registerOnDisabledChange=function(e){this._onDisabledChange.push(e)},t.prototype._forEachChild=function(e){},t.prototype._syncPendingControls=function(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange))&&(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0)},t.prototype._applyFormState=function(e){this._isBoxedValue(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e},t}(ke),_e=function(e){function t(t,n,r){var i=e.call(this,ye(n),be(r,n))||this;return i.controls=t,i._initObservables(),i._setUpdateStrategy(n),i._setUpControls(),i.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),i}return Object(r.c)(t,e),t.prototype.registerControl=function(e,t){return this.controls[e]?this.controls[e]:(this.controls[e]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)},t.prototype.addControl=function(e,t){this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()},t.prototype.removeControl=function(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange((function(){})),delete this.controls[e],this.updateValueAndValidity(),this._onCollectionChange()},t.prototype.setControl=function(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange((function(){})),delete this.controls[e],t&&this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()},t.prototype.contains=function(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled},t.prototype.setValue=function(e,t){var n=this;void 0===t&&(t={}),this._checkAllValuesPresent(e),Object.keys(e).forEach((function(r){n._throwIfControlMissing(r),n.controls[r].setValue(e[r],{onlySelf:!0,emitEvent:t.emitEvent})})),this.updateValueAndValidity(t)},t.prototype.patchValue=function(e,t){var n=this;void 0===t&&(t={}),Object.keys(e).forEach((function(r){n.controls[r]&&n.controls[r].patchValue(e[r],{onlySelf:!0,emitEvent:t.emitEvent})})),this.updateValueAndValidity(t)},t.prototype.reset=function(e,t){void 0===e&&(e={}),void 0===t&&(t={}),this._forEachChild((function(n,r){n.reset(e[r],{onlySelf:!0,emitEvent:t.emitEvent})})),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)},t.prototype.getRawValue=function(){return this._reduceChildren({},(function(e,t,n){return e[n]=t instanceof we?t.value:t.getRawValue(),e}))},t.prototype._syncPendingControls=function(){var e=this._reduceChildren(!1,(function(e,t){return!!t._syncPendingControls()||e}));return e&&this.updateValueAndValidity({onlySelf:!0}),e},t.prototype._throwIfControlMissing=function(e){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[e])throw new Error("Cannot find form control with name: "+e+".")},t.prototype._forEachChild=function(e){var t=this;Object.keys(this.controls).forEach((function(n){return e(t.controls[n],n)}))},t.prototype._setUpControls=function(){var e=this;this._forEachChild((function(t){t.setParent(e),t._registerOnCollectionChange(e._onCollectionChange)}))},t.prototype._updateValue=function(){this.value=this._reduceValue()},t.prototype._anyControls=function(e){var t=this,n=!1;return this._forEachChild((function(r,i){n=n||t.contains(i)&&e(r)})),n},t.prototype._reduceValue=function(){var e=this;return this._reduceChildren({},(function(t,n,r){return(n.enabled||e.disabled)&&(t[r]=n.value),t}))},t.prototype._reduceChildren=function(e,t){var n=e;return this._forEachChild((function(e,r){n=t(n,e,r)})),n},t.prototype._allControlsDisabled=function(){var e,t;try{for(var n=Object(r.h)(Object.keys(this.controls)),i=n.next();!i.done;i=n.next()){var a=i.value;if(this.controls[a].enabled)return!1}}catch(o){e={error:o}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}return Object.keys(this.controls).length>0||this.disabled},t.prototype._checkAllValuesPresent=function(e){this._forEachChild((function(t,n){if(void 0===e[n])throw new Error("Must supply a value for form control with name: '"+n+"'.")}))},t}(ke),je=function(e){function t(t,n,r){var i=e.call(this,ye(n),be(r,n))||this;return i.controls=t,i._initObservables(),i._setUpdateStrategy(n),i._setUpControls(),i.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),i}return Object(r.c)(t,e),t.prototype.at=function(e){return this.controls[e]},t.prototype.push=function(e){this.controls.push(e),this._registerControl(e),this.updateValueAndValidity(),this._onCollectionChange()},t.prototype.insert=function(e,t){this.controls.splice(e,0,t),this._registerControl(t),this.updateValueAndValidity()},t.prototype.removeAt=function(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange((function(){})),this.controls.splice(e,1),this.updateValueAndValidity()},t.prototype.setControl=function(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange((function(){})),this.controls.splice(e,1),t&&(this.controls.splice(e,0,t),this._registerControl(t)),this.updateValueAndValidity(),this._onCollectionChange()},Object.defineProperty(t.prototype,"length",{get:function(){return this.controls.length},enumerable:!0,configurable:!0}),t.prototype.setValue=function(e,t){var n=this;void 0===t&&(t={}),this._checkAllValuesPresent(e),e.forEach((function(e,r){n._throwIfControlMissing(r),n.at(r).setValue(e,{onlySelf:!0,emitEvent:t.emitEvent})})),this.updateValueAndValidity(t)},t.prototype.patchValue=function(e,t){var n=this;void 0===t&&(t={}),e.forEach((function(e,r){n.at(r)&&n.at(r).patchValue(e,{onlySelf:!0,emitEvent:t.emitEvent})})),this.updateValueAndValidity(t)},t.prototype.reset=function(e,t){void 0===e&&(e=[]),void 0===t&&(t={}),this._forEachChild((function(n,r){n.reset(e[r],{onlySelf:!0,emitEvent:t.emitEvent})})),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)},t.prototype.getRawValue=function(){return this.controls.map((function(e){return e instanceof we?e.value:e.getRawValue()}))},t.prototype.clear=function(){this.controls.length<1||(this._forEachChild((function(e){return e._registerOnCollectionChange((function(){}))})),this.controls.splice(0),this.updateValueAndValidity())},t.prototype._syncPendingControls=function(){var e=this.controls.reduce((function(e,t){return!!t._syncPendingControls()||e}),!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e},t.prototype._throwIfControlMissing=function(e){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(e))throw new Error("Cannot find form control at index "+e)},t.prototype._forEachChild=function(e){this.controls.forEach((function(t,n){e(t,n)}))},t.prototype._updateValue=function(){var e=this;this.value=this.controls.filter((function(t){return t.enabled||e.disabled})).map((function(e){return e.value}))},t.prototype._anyControls=function(e){return this.controls.some((function(t){return t.enabled&&e(t)}))},t.prototype._setUpControls=function(){var e=this;this._forEachChild((function(t){return e._registerControl(t)}))},t.prototype._checkAllValuesPresent=function(e){this._forEachChild((function(t,n){if(void 0===e[n])throw new Error("Must supply a value for form control at index: "+n+".")}))},t.prototype._allControlsDisabled=function(){var e,t;try{for(var n=Object(r.h)(this.controls),i=n.next();!i.done;i=n.next()){if(i.value.enabled)return!1}}catch(a){e={error:a}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}return this.controls.length>0||this.disabled},t.prototype._registerControl=function(e){e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)},t}(ke),Ce={provide:v,useExisting:Object(i.forwardRef)((function(){return Ee}))},xe=Promise.resolve(null),Ee=function(e){function t(t,n){var r=e.call(this)||this;return r.submitted=!1,r._directives=[],r.ngSubmit=new i.EventEmitter,r.form=new _e({},ce(t),ue(n)),r}return Object(r.c)(t,e),t.prototype.ngAfterViewInit=function(){this._setUpdateStrategy()},Object.defineProperty(t.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"controls",{get:function(){return this.form.controls},enumerable:!0,configurable:!0}),t.prototype.addControl=function(e){var t=this;xe.then((function(){var n=t._findContainer(e.path);e.control=n.registerControl(e.name,e.control),ie(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),t._directives.push(e)}))},t.prototype.getControl=function(e){return this.form.get(e.path)},t.prototype.removeControl=function(e){var t=this;xe.then((function(){var n=t._findContainer(e.path);n&&n.removeControl(e.name),me(t._directives,e)}))},t.prototype.addFormGroup=function(e){var t=this;xe.then((function(){var n=t._findContainer(e.path),r=new _e({});oe(r,e),n.registerControl(e.name,r),r.updateValueAndValidity({emitEvent:!1})}))},t.prototype.removeFormGroup=function(e){var t=this;xe.then((function(){var n=t._findContainer(e.path);n&&n.removeControl(e.name)}))},t.prototype.getFormGroup=function(e){return this.form.get(e.path)},t.prototype.updateModel=function(e,t){var n=this;xe.then((function(){n.form.get(e.path).setValue(t)}))},t.prototype.setValue=function(e){this.control.setValue(e)},t.prototype.onSubmit=function(e){return this.submitted=!0,pe(this.form,this._directives),this.ngSubmit.emit(e),!1},t.prototype.onReset=function(){this.resetForm()},t.prototype.resetForm=function(e){void 0===e&&(e=void 0),this.form.reset(e),this.submitted=!1},t.prototype._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)},t.prototype._findContainer=function(e){return e.pop(),e.length?this.form.get(e):this.form},Object(r.b)([Object(i.Input)("ngFormOptions"),Object(r.d)("design:type",Object)],t.prototype,"options",void 0),(t=Object(r.b)([Object(r.e)(0,Object(i.Optional)()),Object(r.e)(0,Object(i.Self)()),Object(r.e)(0,Object(i.Inject)(S)),Object(r.e)(1,Object(i.Optional)()),Object(r.e)(1,Object(i.Self)()),Object(r.e)(1,Object(i.Inject)(T)),Object(r.d)("design:paramtypes",[Array,Array])],t)).ɵfac=function(e){return new(e||t)(i["ɵɵdirectiveInject"](S,10),i["ɵɵdirectiveInject"](T,10))},t.ɵdir=i["ɵɵdefineDirective"]({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,t){1&e&&i["ɵɵlistener"]("submit",(function(e){return t.onSubmit(e)}))("reset",(function(){return t.onReset()}))},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i["ɵɵProvidersFeature"]([Ce]),i["ɵɵInheritDefinitionFeature"]]}),t}(v),Se=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}Object(r.c)(t,e),t.prototype.ngOnInit=function(){this._checkParentType(),this.formDirective.addFormGroup(this)},t.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeFormGroup(this)},Object.defineProperty(t.prototype,"control",{get:function(){return this.formDirective.getFormGroup(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"path",{get:function(){return re(null==this.name?this.name:this.name.toString(),this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"validator",{get:function(){return ce(this._validators)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"asyncValidator",{get:function(){return ue(this._asyncValidators)},enumerable:!0,configurable:!0}),t.prototype._checkParentType=function(){},t.ɵfac=function(e){return n(e||t)},t.ɵdir=i["ɵɵdefineDirective"]({type:t,features:[i["ɵɵInheritDefinitionFeature"]]});var n=i["ɵɵgetInheritedFactory"](t);return t}(v),Te=function(){function e(){}return e.modelParentException=function(){throw new Error('\n ngModel cannot be used to register form controls with a parent formGroup directive. Try using\n formGroup\'s partner directive "formControlName" instead. Example:\n\n '+V+"\n\n Or, if you'd like to avoid registering this form control, indicate that it's standalone in ngModelOptions:\n\n Example:\n\n "+G)},e.formGroupNameException=function(){throw new Error("\n ngModel cannot be used to register form controls with a parent formGroupName or formArrayName directive.\n\n Option 1: Use formControlName instead of ngModel (reactive strategy):\n\n "+H+"\n\n Option 2: Update ngModel's parent be ngModelGroup (template-driven strategy):\n\n "+W)},e.missingNameException=function(){throw new Error('If ngModel is used within a form tag, either the name attribute must be set or the form\n control must be defined as \'standalone\' in ngModelOptions.\n\n Example 1: \n Example 2: ')},e.modelGroupParentException=function(){throw new Error("\n ngModelGroup cannot be used with a parent formGroup directive.\n\n Option 1: Use formGroupName instead of ngModelGroup (reactive strategy):\n\n "+H+"\n\n Option 2: Use a regular form tag instead of the formGroup directive (template-driven strategy):\n\n "+W)},e}(),Oe={provide:v,useExisting:Object(i.forwardRef)((function(){return ze}))},ze=function(e){function t(t,n,r){var i=e.call(this)||this;return i._parent=t,i._validators=n,i._asyncValidators=r,i}var n;return Object(r.c)(t,e),n=t,t.prototype._checkParentType=function(){this._parent instanceof n||this._parent instanceof Ee||Te.modelGroupParentException()},Object(r.b)([Object(i.Input)("ngModelGroup"),Object(r.d)("design:type",String)],t.prototype,"name",void 0),(t=n=Object(r.b)([Object(r.e)(0,Object(i.Host)()),Object(r.e)(0,Object(i.SkipSelf)()),Object(r.e)(1,Object(i.Optional)()),Object(r.e)(1,Object(i.Self)()),Object(r.e)(1,Object(i.Inject)(S)),Object(r.e)(2,Object(i.Optional)()),Object(r.e)(2,Object(i.Self)()),Object(r.e)(2,Object(i.Inject)(T)),Object(r.d)("design:paramtypes",[v,Array,Array])],t)).ɵfac=function(e){return new(e||t)(i["ɵɵdirectiveInject"](v,5),i["ɵɵdirectiveInject"](S,10),i["ɵɵdirectiveInject"](T,10))},t.ɵdir=i["ɵɵdefineDirective"]({type:t,selectors:[["","ngModelGroup",""]],inputs:{name:["ngModelGroup","name"]},exportAs:["ngModelGroup"],features:[i["ɵɵProvidersFeature"]([Oe]),i["ɵɵInheritDefinitionFeature"]]}),t}(Se),Ie={provide:w,useExisting:Object(i.forwardRef)((function(){return Ae}))},De=Promise.resolve(null),Ae=function(e){function t(t,n,r,a){var o=e.call(this)||this;return o.control=new we,o._registered=!1,o.update=new i.EventEmitter,o._parent=t,o._rawValidators=n||[],o._rawAsyncValidators=r||[],o.valueAccessor=fe(o,a),o}return Object(r.c)(t,e),t.prototype.ngOnChanges=function(e){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in e&&this._updateDisabled(e),de(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)},t.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)},Object.defineProperty(t.prototype,"path",{get:function(){return this._parent?re(this.name,this._parent):[this.name]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"validator",{get:function(){return ce(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"asyncValidator",{get:function(){return ue(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),t.prototype.viewToModelUpdate=function(e){this.viewModel=e,this.update.emit(e)},t.prototype._setUpControl=function(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0},t.prototype._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)},t.prototype._isStandalone=function(){return!this._parent||!(!this.options||!this.options.standalone)},t.prototype._setUpStandalone=function(){ie(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})},t.prototype._checkForErrors=function(){this._isStandalone()||this._checkParentType(),this._checkName()},t.prototype._checkParentType=function(){!(this._parent instanceof ze)&&this._parent instanceof Se?Te.formGroupNameException():this._parent instanceof ze||this._parent instanceof Ee||Te.modelParentException()},t.prototype._checkName=function(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()||this.name||Te.missingNameException()},t.prototype._updateValue=function(e){var t=this;De.then((function(){t.control.setValue(e,{emitViewToModelChange:!1})}))},t.prototype._updateDisabled=function(e){var t=this,n=e.isDisabled.currentValue,r=""===n||n&&"false"!==n;De.then((function(){r&&!t.control.disabled?t.control.disable():!r&&t.control.disabled&&t.control.enable()}))},Object(r.b)([Object(i.Input)(),Object(r.d)("design:type",String)],t.prototype,"name",void 0),Object(r.b)([Object(i.Input)("disabled"),Object(r.d)("design:type",Boolean)],t.prototype,"isDisabled",void 0),Object(r.b)([Object(i.Input)("ngModel"),Object(r.d)("design:type",Object)],t.prototype,"model",void 0),Object(r.b)([Object(i.Input)("ngModelOptions"),Object(r.d)("design:type",Object)],t.prototype,"options",void 0),Object(r.b)([Object(i.Output)("ngModelChange"),Object(r.d)("design:type",Object)],t.prototype,"update",void 0),(t=Object(r.b)([Object(r.e)(0,Object(i.Optional)()),Object(r.e)(0,Object(i.Host)()),Object(r.e)(1,Object(i.Optional)()),Object(r.e)(1,Object(i.Self)()),Object(r.e)(1,Object(i.Inject)(S)),Object(r.e)(2,Object(i.Optional)()),Object(r.e)(2,Object(i.Self)()),Object(r.e)(2,Object(i.Inject)(T)),Object(r.e)(3,Object(i.Optional)()),Object(r.e)(3,Object(i.Self)()),Object(r.e)(3,Object(i.Inject)(h)),Object(r.d)("design:paramtypes",[v,Array,Array,Array])],t)).ɵfac=function(e){return new(e||t)(i["ɵɵdirectiveInject"](v,9),i["ɵɵdirectiveInject"](S,10),i["ɵɵdirectiveInject"](T,10),i["ɵɵdirectiveInject"](h,10))},t.ɵdir=i["ɵɵdefineDirective"]({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[i["ɵɵProvidersFeature"]([Ie]),i["ɵɵInheritDefinitionFeature"],i["ɵɵNgOnChangesFeature"]]}),t}(w),Ne=function(){function e(){}return e.ɵfac=function(t){return new(t||e)},e.ɵdir=i["ɵɵdefineDirective"]({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),e}(),Pe=new i.InjectionToken("NgModelWithFormControlWarning"),Re={provide:w,useExisting:Object(i.forwardRef)((function(){return Me}))},Me=function(e){function t(t,n,r,a){var o=e.call(this)||this;return o._ngModelWarningConfig=a,o.update=new i.EventEmitter,o._ngModelWarningSent=!1,o._rawValidators=t||[],o._rawAsyncValidators=n||[],o.valueAccessor=fe(o,r),o}var n;return Object(r.c)(t,e),n=t,Object.defineProperty(t.prototype,"isDisabled",{set:function(e){Q.disabledAttrWarning()},enumerable:!0,configurable:!0}),t.prototype.ngOnChanges=function(e){this._isControlChanged(e)&&(ie(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})),de(e,this.viewModel)&&(ge("formControl",n,this,this._ngModelWarningConfig),this.form.setValue(this.model),this.viewModel=this.model)},Object.defineProperty(t.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"validator",{get:function(){return ce(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"asyncValidator",{get:function(){return ue(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),t.prototype.viewToModelUpdate=function(e){this.viewModel=e,this.update.emit(e)},t.prototype._isControlChanged=function(e){return e.hasOwnProperty("form")},t._ngModelWarningSentOnce=!1,Object(r.b)([Object(i.Input)("formControl"),Object(r.d)("design:type",we)],t.prototype,"form",void 0),Object(r.b)([Object(i.Input)("disabled"),Object(r.d)("design:type",Boolean),Object(r.d)("design:paramtypes",[Boolean])],t.prototype,"isDisabled",null),Object(r.b)([Object(i.Input)("ngModel"),Object(r.d)("design:type",Object)],t.prototype,"model",void 0),Object(r.b)([Object(i.Output)("ngModelChange"),Object(r.d)("design:type",Object)],t.prototype,"update",void 0),(t=n=Object(r.b)([Object(r.e)(0,Object(i.Optional)()),Object(r.e)(0,Object(i.Self)()),Object(r.e)(0,Object(i.Inject)(S)),Object(r.e)(1,Object(i.Optional)()),Object(r.e)(1,Object(i.Self)()),Object(r.e)(1,Object(i.Inject)(T)),Object(r.e)(2,Object(i.Optional)()),Object(r.e)(2,Object(i.Self)()),Object(r.e)(2,Object(i.Inject)(h)),Object(r.e)(3,Object(i.Optional)()),Object(r.e)(3,Object(i.Inject)(Pe)),Object(r.d)("design:paramtypes",[Array,Array,Array,Object])],t)).ɵfac=function(e){return new(e||t)(i["ɵɵdirectiveInject"](S,10),i["ɵɵdirectiveInject"](T,10),i["ɵɵdirectiveInject"](h,10),i["ɵɵdirectiveInject"](Pe,8))},t.ɵdir=i["ɵɵdefineDirective"]({type:t,selectors:[["","formControl",""]],inputs:{isDisabled:["disabled","isDisabled"],form:["formControl","form"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[i["ɵɵProvidersFeature"]([Re]),i["ɵɵInheritDefinitionFeature"],i["ɵɵNgOnChangesFeature"]]}),t}(w),qe={provide:v,useExisting:Object(i.forwardRef)((function(){return Be}))},Be=function(e){function t(t,n){var r=e.call(this)||this;return r._validators=t,r._asyncValidators=n,r.submitted=!1,r.directives=[],r.form=null,r.ngSubmit=new i.EventEmitter,r}return Object(r.c)(t,e),t.prototype.ngOnChanges=function(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations())},Object.defineProperty(t.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),t.prototype.addControl=function(e){var t=this.form.get(e.path);return ie(t,e),t.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),t},t.prototype.getControl=function(e){return this.form.get(e.path)},t.prototype.removeControl=function(e){me(this.directives,e)},t.prototype.addFormGroup=function(e){var t=this.form.get(e.path);oe(t,e),t.updateValueAndValidity({emitEvent:!1})},t.prototype.removeFormGroup=function(e){},t.prototype.getFormGroup=function(e){return this.form.get(e.path)},t.prototype.addFormArray=function(e){var t=this.form.get(e.path);oe(t,e),t.updateValueAndValidity({emitEvent:!1})},t.prototype.removeFormArray=function(e){},t.prototype.getFormArray=function(e){return this.form.get(e.path)},t.prototype.updateModel=function(e,t){this.form.get(e.path).setValue(t)},t.prototype.onSubmit=function(e){return this.submitted=!0,pe(this.form,this.directives),this.ngSubmit.emit(e),!1},t.prototype.onReset=function(){this.resetForm()},t.prototype.resetForm=function(e){void 0===e&&(e=void 0),this.form.reset(e),this.submitted=!1},t.prototype._updateDomValue=function(){var e=this;this.directives.forEach((function(t){var n=e.form.get(t.path);t.control!==n&&(!function(e,t){t.valueAccessor.registerOnChange((function(){return se(t)})),t.valueAccessor.registerOnTouched((function(){return se(t)})),t._rawValidators.forEach((function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(null)})),t._rawAsyncValidators.forEach((function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(null)})),e&&e._clearChangeFns()}(t.control,t),n&&ie(n,t),t.control=n)})),this.form._updateTreeValidity({emitEvent:!1})},t.prototype._updateRegistrations=function(){var e=this;this.form._registerOnCollectionChange((function(){return e._updateDomValue()})),this._oldForm&&this._oldForm._registerOnCollectionChange((function(){})),this._oldForm=this.form},t.prototype._updateValidators=function(){var e=ce(this._validators);this.form.validator=z.compose([this.form.validator,e]);var t=ue(this._asyncValidators);this.form.asyncValidator=z.composeAsync([this.form.asyncValidator,t])},t.prototype._checkFormPresent=function(){this.form||Q.missingFormException()},Object(r.b)([Object(i.Input)("formGroup"),Object(r.d)("design:type",_e)],t.prototype,"form",void 0),Object(r.b)([Object(i.Output)(),Object(r.d)("design:type",Object)],t.prototype,"ngSubmit",void 0),(t=Object(r.b)([Object(r.e)(0,Object(i.Optional)()),Object(r.e)(0,Object(i.Self)()),Object(r.e)(0,Object(i.Inject)(S)),Object(r.e)(1,Object(i.Optional)()),Object(r.e)(1,Object(i.Self)()),Object(r.e)(1,Object(i.Inject)(T)),Object(r.d)("design:paramtypes",[Array,Array])],t)).ɵfac=function(e){return new(e||t)(i["ɵɵdirectiveInject"](S,10),i["ɵɵdirectiveInject"](T,10))},t.ɵdir=i["ɵɵdefineDirective"]({type:t,selectors:[["","formGroup",""]],hostBindings:function(e,t){1&e&&i["ɵɵlistener"]("submit",(function(e){return t.onSubmit(e)}))("reset",(function(){return t.onReset()}))},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i["ɵɵProvidersFeature"]([qe]),i["ɵɵInheritDefinitionFeature"],i["ɵɵNgOnChangesFeature"]]}),t}(v),Le={provide:v,useExisting:Object(i.forwardRef)((function(){return Fe}))},Fe=function(e){function t(t,n,r){var i=e.call(this)||this;return i._parent=t,i._validators=n,i._asyncValidators=r,i}return Object(r.c)(t,e),t.prototype._checkParentType=function(){He(this._parent)&&Q.groupParentException()},Object(r.b)([Object(i.Input)("formGroupName"),Object(r.d)("design:type",Object)],t.prototype,"name",void 0),(t=Object(r.b)([Object(r.e)(0,Object(i.Optional)()),Object(r.e)(0,Object(i.Host)()),Object(r.e)(0,Object(i.SkipSelf)()),Object(r.e)(1,Object(i.Optional)()),Object(r.e)(1,Object(i.Self)()),Object(r.e)(1,Object(i.Inject)(S)),Object(r.e)(2,Object(i.Optional)()),Object(r.e)(2,Object(i.Self)()),Object(r.e)(2,Object(i.Inject)(T)),Object(r.d)("design:paramtypes",[v,Array,Array])],t)).ɵfac=function(e){return new(e||t)(i["ɵɵdirectiveInject"](v,13),i["ɵɵdirectiveInject"](S,10),i["ɵɵdirectiveInject"](T,10))},t.ɵdir=i["ɵɵdefineDirective"]({type:t,selectors:[["","formGroupName",""]],inputs:{name:["formGroupName","name"]},features:[i["ɵɵProvidersFeature"]([Le]),i["ɵɵInheritDefinitionFeature"]]}),t}(Se),Ue={provide:v,useExisting:Object(i.forwardRef)((function(){return Ve}))},Ve=function(e){function t(t,n,r){var i=e.call(this)||this;return i._parent=t,i._validators=n,i._asyncValidators=r,i}return Object(r.c)(t,e),t.prototype.ngOnInit=function(){this._checkParentType(),this.formDirective.addFormArray(this)},t.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeFormArray(this)},Object.defineProperty(t.prototype,"control",{get:function(){return this.formDirective.getFormArray(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"path",{get:function(){return re(null==this.name?this.name:this.name.toString(),this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"validator",{get:function(){return ce(this._validators)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"asyncValidator",{get:function(){return ue(this._asyncValidators)},enumerable:!0,configurable:!0}),t.prototype._checkParentType=function(){He(this._parent)&&Q.arrayParentException()},Object(r.b)([Object(i.Input)("formArrayName"),Object(r.d)("design:type",Object)],t.prototype,"name",void 0),(t=Object(r.b)([Object(r.e)(0,Object(i.Optional)()),Object(r.e)(0,Object(i.Host)()),Object(r.e)(0,Object(i.SkipSelf)()),Object(r.e)(1,Object(i.Optional)()),Object(r.e)(1,Object(i.Self)()),Object(r.e)(1,Object(i.Inject)(S)),Object(r.e)(2,Object(i.Optional)()),Object(r.e)(2,Object(i.Self)()),Object(r.e)(2,Object(i.Inject)(T)),Object(r.d)("design:paramtypes",[v,Array,Array])],t)).ɵfac=function(e){return new(e||t)(i["ɵɵdirectiveInject"](v,13),i["ɵɵdirectiveInject"](S,10),i["ɵɵdirectiveInject"](T,10))},t.ɵdir=i["ɵɵdefineDirective"]({type:t,selectors:[["","formArrayName",""]],inputs:{name:["formArrayName","name"]},features:[i["ɵɵProvidersFeature"]([Ue]),i["ɵɵInheritDefinitionFeature"]]}),t}(v);function He(e){return!(e instanceof Fe||e instanceof Be||e instanceof Ve)} /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */var Ke={provide:w,useExisting:Object(i.forwardRef)((function(){return We}))},We=function(e){function t(t,n,r,a,o){var s=e.call(this)||this;return s._ngModelWarningConfig=o,s._added=!1,s.update=new i.EventEmitter,s._ngModelWarningSent=!1,s._parent=t,s._rawValidators=n||[],s._rawAsyncValidators=r||[],s.valueAccessor=fe(s,a),s}var n;return Object(r.c)(t,e),n=t,Object.defineProperty(t.prototype,"isDisabled",{set:function(e){Q.disabledAttrWarning()},enumerable:!0,configurable:!0}),t.prototype.ngOnChanges=function(e){this._added||this._setUpControl(),de(e,this.viewModel)&&(ge("formControlName",n,this,this._ngModelWarningConfig),this.viewModel=this.model,this.formDirective.updateModel(this,this.model))},t.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)},t.prototype.viewToModelUpdate=function(e){this.viewModel=e,this.update.emit(e)},Object.defineProperty(t.prototype,"path",{get:function(){return re(null==this.name?this.name:this.name.toString(),this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"validator",{get:function(){return ce(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"asyncValidator",{get:function(){return ue(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),t.prototype._checkParentType=function(){!(this._parent instanceof Fe)&&this._parent instanceof Se?Q.ngModelGroupException():this._parent instanceof Fe||this._parent instanceof Be||this._parent instanceof Ve||Q.controlParentException()},t.prototype._setUpControl=function(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0},t._ngModelWarningSentOnce=!1,Object(r.b)([Object(i.Input)("formControlName"),Object(r.d)("design:type",Object)],t.prototype,"name",void 0),Object(r.b)([Object(i.Input)("disabled"),Object(r.d)("design:type",Boolean),Object(r.d)("design:paramtypes",[Boolean])],t.prototype,"isDisabled",null),Object(r.b)([Object(i.Input)("ngModel"),Object(r.d)("design:type",Object)],t.prototype,"model",void 0),Object(r.b)([Object(i.Output)("ngModelChange"),Object(r.d)("design:type",Object)],t.prototype,"update",void 0),(t=n=Object(r.b)([Object(r.e)(0,Object(i.Optional)()),Object(r.e)(0,Object(i.Host)()),Object(r.e)(0,Object(i.SkipSelf)()),Object(r.e)(1,Object(i.Optional)()),Object(r.e)(1,Object(i.Self)()),Object(r.e)(1,Object(i.Inject)(S)),Object(r.e)(2,Object(i.Optional)()),Object(r.e)(2,Object(i.Self)()),Object(r.e)(2,Object(i.Inject)(T)),Object(r.e)(3,Object(i.Optional)()),Object(r.e)(3,Object(i.Self)()),Object(r.e)(3,Object(i.Inject)(h)),Object(r.e)(4,Object(i.Optional)()),Object(r.e)(4,Object(i.Inject)(Pe)),Object(r.d)("design:paramtypes",[v,Array,Array,Array,Object])],t)).ɵfac=function(e){return new(e||t)(i["ɵɵdirectiveInject"](v,13),i["ɵɵdirectiveInject"](S,10),i["ɵɵdirectiveInject"](T,10),i["ɵɵdirectiveInject"](h,10),i["ɵɵdirectiveInject"](Pe,8))},t.ɵdir=i["ɵɵdefineDirective"]({type:t,selectors:[["","formControlName",""]],inputs:{isDisabled:["disabled","isDisabled"],name:["formControlName","name"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[i["ɵɵProvidersFeature"]([Ke]),i["ɵɵInheritDefinitionFeature"],i["ɵɵNgOnChangesFeature"]]}),t}(w),Ge={provide:S,useExisting:Object(i.forwardRef)((function(){return $e})),multi:!0},Qe={provide:S,useExisting:Object(i.forwardRef)((function(){return Ye})),multi:!0},$e=function(){function e(){}return Object.defineProperty(e.prototype,"required",{get:function(){return this._required},set:function(e){this._required=null!=e&&!1!==e&&""+e!="false",this._onChange&&this._onChange()},enumerable:!0,configurable:!0}),e.prototype.validate=function(e){return this.required?z.required(e):null},e.prototype.registerOnValidatorChange=function(e){this._onChange=e},Object(r.b)([Object(i.Input)(),Object(r.d)("design:type",Object),Object(r.d)("design:paramtypes",[Object])],e.prototype,"required",null),e.ɵfac=function(t){return new(t||e)},e.ɵdir=i["ɵɵdefineDirective"]({type:e,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(e,t){2&e&&i["ɵɵattribute"]("required",t.required?"":null)},inputs:{required:"required"},features:[i["ɵɵProvidersFeature"]([Ge])]}),e}(),Ye=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}Object(r.c)(t,e),t.prototype.validate=function(e){return this.required?z.requiredTrue(e):null},t.ɵfac=function(e){return n(e||t)},t.ɵdir=i["ɵɵdefineDirective"]({type:t,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(e,t){2&e&&i["ɵɵattribute"]("required",t.required?"":null)},features:[i["ɵɵProvidersFeature"]([Qe]),i["ɵɵInheritDefinitionFeature"]]});var n=i["ɵɵgetInheritedFactory"](t);return t}($e),Ze={provide:S,useExisting:Object(i.forwardRef)((function(){return Je})),multi:!0},Je=function(){function e(){}return Object.defineProperty(e.prototype,"email",{set:function(e){this._enabled=""===e||!0===e||"true"===e,this._onChange&&this._onChange()},enumerable:!0,configurable:!0}),e.prototype.validate=function(e){return this._enabled?z.email(e):null},e.prototype.registerOnValidatorChange=function(e){this._onChange=e},Object(r.b)([Object(i.Input)(),Object(r.d)("design:type",Object),Object(r.d)("design:paramtypes",[Object])],e.prototype,"email",null),e.ɵfac=function(t){return new(t||e)},e.ɵdir=i["ɵɵdefineDirective"]({type:e,selectors:[["","email","","formControlName",""],["","email","","formControl",""],["","email","","ngModel",""]],inputs:{email:"email"},features:[i["ɵɵProvidersFeature"]([Ze])]}),e}(),Xe={provide:S,useExisting:Object(i.forwardRef)((function(){return et})),multi:!0},et=function(){function e(){}return e.prototype.ngOnChanges=function(e){"minlength"in e&&(this._createValidator(),this._onChange&&this._onChange())},e.prototype.validate=function(e){return null==this.minlength?null:this._validator(e)},e.prototype.registerOnValidatorChange=function(e){this._onChange=e},e.prototype._createValidator=function(){this._validator=z.minLength("number"==typeof this.minlength?this.minlength:parseInt(this.minlength,10))},Object(r.b)([Object(i.Input)(),Object(r.d)("design:type",Object)],e.prototype,"minlength",void 0),e.ɵfac=function(t){return new(t||e)},e.ɵdir=i["ɵɵdefineDirective"]({type:e,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(e,t){2&e&&i["ɵɵattribute"]("minlength",t.minlength?t.minlength:null)},inputs:{minlength:"minlength"},features:[i["ɵɵProvidersFeature"]([Xe]),i["ɵɵNgOnChangesFeature"]]}),e}(),tt={provide:S,useExisting:Object(i.forwardRef)((function(){return nt})),multi:!0},nt=function(){function e(){}return e.prototype.ngOnChanges=function(e){"maxlength"in e&&(this._createValidator(),this._onChange&&this._onChange())},e.prototype.validate=function(e){return null!=this.maxlength?this._validator(e):null},e.prototype.registerOnValidatorChange=function(e){this._onChange=e},e.prototype._createValidator=function(){this._validator=z.maxLength("number"==typeof this.maxlength?this.maxlength:parseInt(this.maxlength,10))},Object(r.b)([Object(i.Input)(),Object(r.d)("design:type",Object)],e.prototype,"maxlength",void 0),e.ɵfac=function(t){return new(t||e)},e.ɵdir=i["ɵɵdefineDirective"]({type:e,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(e,t){2&e&&i["ɵɵattribute"]("maxlength",t.maxlength?t.maxlength:null)},inputs:{maxlength:"maxlength"},features:[i["ɵɵProvidersFeature"]([tt]),i["ɵɵNgOnChangesFeature"]]}),e}(),rt={provide:S,useExisting:Object(i.forwardRef)((function(){return it})),multi:!0},it=function(){function e(){}return e.prototype.ngOnChanges=function(e){"pattern"in e&&(this._createValidator(),this._onChange&&this._onChange())},e.prototype.validate=function(e){return this._validator(e)},e.prototype.registerOnValidatorChange=function(e){this._onChange=e},e.prototype._createValidator=function(){this._validator=z.pattern(this.pattern)},Object(r.b)([Object(i.Input)(),Object(r.d)("design:type",Object)],e.prototype,"pattern",void 0),e.ɵfac=function(t){return new(t||e)},e.ɵdir=i["ɵɵdefineDirective"]({type:e,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(e,t){2&e&&i["ɵɵattribute"]("pattern",t.pattern?t.pattern:null)},inputs:{pattern:"pattern"},features:[i["ɵɵProvidersFeature"]([rt]),i["ɵɵNgOnChangesFeature"]]}),e}(),at=[Ne,J,ne,y,M,U,f,Z,te,L,C,x,$e,et,nt,it,Ye,Je],ot=[Ae,ze,Ee],st=[Me,Be,We,Fe,Ve],lt=function(){function e(){}return e.ɵmod=i["ɵɵdefineNgModule"]({type:e}),e.ɵinj=i["ɵɵdefineInjector"]({factory:function(t){return new(t||e)}}),("undefined"==typeof ngJitMode||ngJitMode)&&i["ɵɵsetNgModuleScope"](e,{declarations:[Ne,J,ne,y,M,U,f,Z,te,L,C,x,$e,et,nt,it,Ye,Je],exports:[Ne,J,ne,y,M,U,f,Z,te,L,C,x,$e,et,nt,it,Ye,Je]}),e}();var ct=function(){function e(){}return e.prototype.group=function(e,t){void 0===t&&(t=null);var n=this._reduceControls(e),r=null,i=null,a=void 0;return null!=t&&(! /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ function(e){return void 0!==e.asyncValidators||void 0!==e.validators||void 0!==e.updateOn}(t)?(r=null!=t.validator?t.validator:null,i=null!=t.asyncValidator?t.asyncValidator:null):(r=null!=t.validators?t.validators:null,i=null!=t.asyncValidators?t.asyncValidators:null,a=null!=t.updateOn?t.updateOn:void 0)),new _e(n,{asyncValidators:i,updateOn:a,validators:r})},e.prototype.control=function(e,t,n){return new we(e,t,n)},e.prototype.array=function(e,t,n){var r=this,i=e.map((function(e){return r._createControl(e)}));return new je(i,t,n)},e.prototype._reduceControls=function(e){var t=this,n={};return Object.keys(e).forEach((function(r){n[r]=t._createControl(e[r])})),n},e.prototype._createControl=function(e){if(e instanceof we||e instanceof _e||e instanceof je)return e;if(Array.isArray(e)){var t=e[0],n=e.length>1?e[1]:null,r=e.length>2?e[2]:null;return this.control(t,n,r)}return this.control(e)},e.ɵfac=function(t){return new(t||e)},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:function(t){return e.ɵfac(t)}}),e}(),ut=new i.Version("9.1.12"),dt=function(){function e(){}return e.ɵmod=i["ɵɵdefineNgModule"]({type:e}),e.ɵinj=i["ɵɵdefineInjector"]({factory:function(t){return new(t||e)},providers:[B],imports:[lt]}),("undefined"==typeof ngJitMode||ngJitMode)&&i["ɵɵsetNgModuleScope"](e,{declarations:[Ae,ze,Ee],exports:[lt,Ae,ze,Ee]}),e}(),ht=function(){function e(){}var t;return t=e,e.withConfig=function(e){return{ngModule:t,providers:[{provide:Pe,useValue:e.warnOnNgModelWithFormControl}]}},e.ɵmod=i["ɵɵdefineNgModule"]({type:e}),e.ɵinj=i["ɵɵdefineInjector"]({factory:function(t){return new(t||e)},providers:[ct,B],imports:[lt]}),("undefined"==typeof ngJitMode||ngJitMode)&&i["ɵɵsetNgModuleScope"](e,{declarations:[Me,Be,We,Fe,Ve],exports:[lt,Me,Be,We,Fe,Ve]}),e}(); /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */},,function(e,t,n){var r=n(22);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},,,,,function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},,,,,function(e,t,n){var r=n(131)("wks"),i=n(89),a=n(20).Symbol,o="function"==typeof a;(e.exports=function(e){return r[e]||(r[e]=o&&a[e]||(o?a:i)("Symbol."+e))}).store=r},function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n(1),i=n(146),a=n(219),o=n(54),s=n(197),l=n(108),c=n(149),u=function(e){function t(n,r,i){var o=e.call(this)||this;switch(o.syncErrorValue=null,o.syncErrorThrown=!1,o.syncErrorThrowable=!1,o.isStopped=!1,arguments.length){case 0:o.destination=a.a;break;case 1:if(!n){o.destination=a.a;break}if("object"==typeof n){n instanceof t?(o.syncErrorThrowable=n.syncErrorThrowable,o.destination=n,n.add(o)):(o.syncErrorThrowable=!0,o.destination=new d(o,n));break}default:o.syncErrorThrowable=!0,o.destination=new d(o,n,r,i)}return o}return r.c(t,e),t.prototype[s.a]=function(){return this},t.create=function(e,n,r){var i=new t(e,n,r);return i.syncErrorThrowable=!1,i},t.prototype.next=function(e){this.isStopped||this._next(e)},t.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this))},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){this.destination.error(e),this.unsubscribe()},t.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},t.prototype._unsubscribeAndRecycle=function(){var e=this._parentOrParents;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=e,this},t}(o.a),d=function(e){function t(t,n,r,o){var s,l=e.call(this)||this;l._parentSubscriber=t;var c=l;return Object(i.a)(n)?s=n:n&&(s=n.next,r=n.error,o=n.complete,n!==a.a&&(c=Object.create(n),Object(i.a)(c.unsubscribe)&&l.add(c.unsubscribe.bind(c)),c.unsubscribe=l.unsubscribe.bind(l))),l._context=c,l._next=s,l._error=r,l._complete=o,l}return r.c(t,e),t.prototype.next=function(e){if(!this.isStopped&&this._next){var t=this._parentSubscriber;l.a.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}},t.prototype.error=function(e){if(!this.isStopped){var t=this._parentSubscriber,n=l.a.useDeprecatedSynchronousErrorHandling;if(this._error)n&&t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else if(t.syncErrorThrowable)n?(t.syncErrorValue=e,t.syncErrorThrown=!0):Object(c.a)(e),this.unsubscribe();else{if(this.unsubscribe(),n)throw e;Object(c.a)(e)}}},t.prototype.complete=function(){var e=this;if(!this.isStopped){var t=this._parentSubscriber;if(this._complete){var n=function(){return e._complete.call(e._context)};l.a.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,n),this.unsubscribe()):(this.__tryOrUnsub(n),this.unsubscribe())}else this.unsubscribe()}},t.prototype.__tryOrUnsub=function(e,t){try{e.call(this._context,t)}catch(n){if(this.unsubscribe(),l.a.useDeprecatedSynchronousErrorHandling)throw n;Object(c.a)(n)}},t.prototype.__tryOrSetError=function(e,t,n){if(!l.a.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,n)}catch(r){return l.a.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=r,e.syncErrorThrown=!0,!0):(Object(c.a)(r),!0)}return!1},t.prototype._unsubscribe=function(){var e=this._parentSubscriber;this._context=null,this._parentSubscriber=null,e.unsubscribe()},t}(u)},function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"c",(function(){return l})),n.d(t,"f",(function(){return c})),n.d(t,"g",(function(){return u})),n.d(t,"h",(function(){return d})),n.d(t,"e",(function(){return h})),n.d(t,"d",(function(){return p})),n.d(t,"b",(function(){return f}));var r=n(11),i=n(161),a=function(e,t,n,r){return new(n||(n=Promise))((function(i,a){function o(e){try{l(r.next(e))}catch(t){a(t)}}function s(e){try{l(r.throw(e))}catch(t){a(t)}}function l(e){e.done?i(e.value):new n((function(t){t(e.value)})).then(o,s)}l((r=r.apply(e,t||[])).next())}))},o=function(e,t){var n,r,i,a,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(a){return function(s){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,r&&(i=2&a[0]?r.return:a[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,a[1])).done)return i;switch(r=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,r=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(!(i=o.trys,(i=i.length>0&&i[i.length-1])||6!==a[0]&&2!==a[0])){o=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]-1&&this.subject.observers.splice(e,1),0===this.subject.observers.length&&this.subject.cancelCallback&&this.subject.cancelCallback().catch((function(e){}))},e}(),f=function(){function e(e){this.minimumLogLevel=e,this.outputConsole=console}return e.prototype.log=function(e,t){if(e>=this.minimumLogLevel)switch(e){case r.a.Critical:case r.a.Error:this.outputConsole.error("["+(new Date).toISOString()+"] "+r.a[e]+": "+t);break;case r.a.Warning:this.outputConsole.warn("["+(new Date).toISOString()+"] "+r.a[e]+": "+t);break;case r.a.Information:this.outputConsole.info("["+(new Date).toISOString()+"] "+r.a[e]+": "+t);break;default:this.outputConsole.log("["+(new Date).toISOString()+"] "+r.a[e]+": "+t)}},e}()},,function(e,t,n){var r=n(63),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},function(e,t,n){"use strict";var r=n(28);var i=n(197),a=n(219);var o=n(129),s=n(268),l=n(108);n.d(t,"a",(function(){return c}));var c=function(){function e(e){this._isScalar=!1,e&&(this._subscribe=e)}return e.prototype.lift=function(t){var n=new e;return n.source=this,n.operator=t,n},e.prototype.subscribe=function(e,t,n){var o=this.operator,s=function(e,t,n){if(e){if(e instanceof r.a)return e;if(e[i.a])return e[i.a]()}return e||t||n?new r.a(e,t,n):new r.a(a.a)}(e,t,n);if(o?s.add(o.call(s,this.source)):s.add(this.source||l.a.useDeprecatedSynchronousErrorHandling&&!s.syncErrorThrowable?this._subscribe(s):this._trySubscribe(s)),l.a.useDeprecatedSynchronousErrorHandling&&s.syncErrorThrowable&&(s.syncErrorThrowable=!1,s.syncErrorThrown))throw s.syncErrorValue;return s},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){l.a.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),!function(e){for(;e;){var t=e,n=t.closed,i=t.destination,a=t.isStopped;if(n||a)return!1;e=i&&i instanceof r.a?i:null}return!0}(e)?console.warn(t):e.error(t)}},e.prototype.forEach=function(e,t){var n=this;return new(t=u(t))((function(t,r){var i;i=n.subscribe((function(t){try{e(t)}catch(n){r(n),i&&i.unsubscribe()}}),r,t)}))},e.prototype._subscribe=function(e){var t=this.source;return t&&t.subscribe(e)},e.prototype[o.a]=function(){return this},e.prototype.pipe=function(){for(var e=[],t=0;t15?(i=Date.now(),s(e)):(n.push(e),1===n.length&&o.setAttribute("a",a=!a))}}l.nextTick=l.setImmediate}(),l.isNodejs=void 0!==t&&t.versions&&t.versions.node,l.globalScope=l.isNodejs?i:"undefined"==typeof self?window:self,l.isArray=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},l.isArrayBuffer=function(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer},l.isArrayBufferView=function(e){return e&&l.isArrayBuffer(e.buffer)&&void 0!==e.byteLength},l.ByteBuffer=u,l.ByteStringBuffer=u;l.ByteStringBuffer.prototype._optimizeConstructedString=function(e){this._constructedStringLength+=e,this._constructedStringLength>4096&&(this.data.substr(0,1),this._constructedStringLength=0)},l.ByteStringBuffer.prototype.length=function(){return this.data.length-this.read},l.ByteStringBuffer.prototype.isEmpty=function(){return this.length()<=0},l.ByteStringBuffer.prototype.putByte=function(e){return this.putBytes(String.fromCharCode(e))},l.ByteStringBuffer.prototype.fillWithByte=function(e,t){e=String.fromCharCode(e);for(var n=this.data;t>0;)1&t&&(n+=e),(t>>>=1)>0&&(e+=e);return this.data=n,this._optimizeConstructedString(t),this},l.ByteStringBuffer.prototype.putBytes=function(e){return this.data+=e,this._optimizeConstructedString(e.length),this},l.ByteStringBuffer.prototype.putString=function(e){return this.putBytes(l.encodeUtf8(e))},l.ByteStringBuffer.prototype.putInt16=function(e){return this.putBytes(String.fromCharCode(e>>8&255)+String.fromCharCode(255&e))},l.ByteStringBuffer.prototype.putInt24=function(e){return this.putBytes(String.fromCharCode(e>>16&255)+String.fromCharCode(e>>8&255)+String.fromCharCode(255&e))},l.ByteStringBuffer.prototype.putInt32=function(e){return this.putBytes(String.fromCharCode(e>>24&255)+String.fromCharCode(e>>16&255)+String.fromCharCode(e>>8&255)+String.fromCharCode(255&e))},l.ByteStringBuffer.prototype.putInt16Le=function(e){return this.putBytes(String.fromCharCode(255&e)+String.fromCharCode(e>>8&255))},l.ByteStringBuffer.prototype.putInt24Le=function(e){return this.putBytes(String.fromCharCode(255&e)+String.fromCharCode(e>>8&255)+String.fromCharCode(e>>16&255))},l.ByteStringBuffer.prototype.putInt32Le=function(e){return this.putBytes(String.fromCharCode(255&e)+String.fromCharCode(e>>8&255)+String.fromCharCode(e>>16&255)+String.fromCharCode(e>>24&255))},l.ByteStringBuffer.prototype.putInt=function(e,t){c(t);var n="";do{t-=8,n+=String.fromCharCode(e>>t&255)}while(t>0);return this.putBytes(n)},l.ByteStringBuffer.prototype.putSignedInt=function(e,t){return e<0&&(e+=2<0);return t},l.ByteStringBuffer.prototype.getSignedInt=function(e){var t=this.getInt(e),n=2<=n&&(t-=n<<1),t},l.ByteStringBuffer.prototype.getBytes=function(e){var t;return e?(e=Math.min(this.length(),e),t=this.data.slice(this.read,this.read+e),this.read+=e):0===e?t="":(t=0===this.read?this.data:this.data.slice(this.read),this.clear()),t},l.ByteStringBuffer.prototype.bytes=function(e){return void 0===e?this.data.slice(this.read):this.data.slice(this.read,this.read+e)},l.ByteStringBuffer.prototype.at=function(e){return this.data.charCodeAt(this.read+e)},l.ByteStringBuffer.prototype.setAt=function(e,t){return this.data=this.data.substr(0,this.read+e)+String.fromCharCode(t)+this.data.substr(this.read+e+1),this},l.ByteStringBuffer.prototype.last=function(){return this.data.charCodeAt(this.data.length-1)},l.ByteStringBuffer.prototype.copy=function(){var e=l.createBuffer(this.data);return e.read=this.read,e},l.ByteStringBuffer.prototype.compact=function(){return this.read>0&&(this.data=this.data.slice(this.read),this.read=0),this},l.ByteStringBuffer.prototype.clear=function(){return this.data="",this.read=0,this},l.ByteStringBuffer.prototype.truncate=function(e){var t=Math.max(0,this.length()-e);return this.data=this.data.substr(this.read,t),this.read=0,this},l.ByteStringBuffer.prototype.toHex=function(){for(var e="",t=this.read;t=e)return this;t=Math.max(t||this.growSize,e);var n=new Uint8Array(this.data.buffer,this.data.byteOffset,this.data.byteLength),r=new Uint8Array(this.length()+t);return r.set(n),this.data=new DataView(r.buffer),this},l.DataBuffer.prototype.putByte=function(e){return this.accommodate(1),this.data.setUint8(this.write++,e),this},l.DataBuffer.prototype.fillWithByte=function(e,t){this.accommodate(t);for(var n=0;n>8&65535),this.data.setInt8(this.write,e>>16&255),this.write+=3,this},l.DataBuffer.prototype.putInt32=function(e){return this.accommodate(4),this.data.setInt32(this.write,e),this.write+=4,this},l.DataBuffer.prototype.putInt16Le=function(e){return this.accommodate(2),this.data.setInt16(this.write,e,!0),this.write+=2,this},l.DataBuffer.prototype.putInt24Le=function(e){return this.accommodate(3),this.data.setInt8(this.write,e>>16&255),this.data.setInt16(this.write,e>>8&65535,!0),this.write+=3,this},l.DataBuffer.prototype.putInt32Le=function(e){return this.accommodate(4),this.data.setInt32(this.write,e,!0),this.write+=4,this},l.DataBuffer.prototype.putInt=function(e,t){c(t),this.accommodate(t/8);do{t-=8,this.data.setInt8(this.write++,e>>t&255)}while(t>0);return this},l.DataBuffer.prototype.putSignedInt=function(e,t){return c(t),this.accommodate(t/8),e<0&&(e+=2<0);return t},l.DataBuffer.prototype.getSignedInt=function(e){var t=this.getInt(e),n=2<=n&&(t-=n<<1),t},l.DataBuffer.prototype.getBytes=function(e){var t;return e?(e=Math.min(this.length(),e),t=this.data.slice(this.read,this.read+e),this.read+=e):0===e?t="":(t=0===this.read?this.data:this.data.slice(this.read),this.clear()),t},l.DataBuffer.prototype.bytes=function(e){return void 0===e?this.data.slice(this.read):this.data.slice(this.read,this.read+e)},l.DataBuffer.prototype.at=function(e){return this.data.getUint8(this.read+e)},l.DataBuffer.prototype.setAt=function(e,t){return this.data.setUint8(e,t),this},l.DataBuffer.prototype.last=function(){return this.data.getUint8(this.write-1)},l.DataBuffer.prototype.copy=function(){return new l.DataBuffer(this)},l.DataBuffer.prototype.compact=function(){if(this.read>0){var e=new Uint8Array(this.data.buffer,this.read),t=new Uint8Array(e.byteLength);t.set(e),this.data=new DataView(t),this.write-=this.read,this.read=0}return this},l.DataBuffer.prototype.clear=function(){return this.data=new DataView(new ArrayBuffer(0)),this.read=this.write=0,this},l.DataBuffer.prototype.truncate=function(e){return this.write=Math.max(0,this.length()-e),this.read=Math.min(this.read,this.write),this},l.DataBuffer.prototype.toHex=function(){for(var e="",t=this.read;t0;)1&t&&(n+=e),(t>>>=1)>0&&(e+=e);return n},l.xorBytes=function(e,t,n){for(var r="",i="",a="",o=0,s=0;n>0;--n,++o)i=e.charCodeAt(o)^t.charCodeAt(o),s>=10&&(r+=a,a="",s=0),a+=String.fromCharCode(i),++s;return r+=a},l.hexToBytes=function(e){var t="",n=0;for(!0&e.length&&(n=1,t+=String.fromCharCode(parseInt(e[0],16)));n>24&255)+String.fromCharCode(e>>16&255)+String.fromCharCode(e>>8&255)+String.fromCharCode(255&e)};var d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",h=[62,-1,-1,-1,63,52,53,54,55,56,57,58,59,60,61,-1,-1,-1,64,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-1,-1,-1,-1,-1,-1,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51],p="123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz";l.encode64=function(e,t){for(var n,r,i,a="",o="",s=0;s>2),a+=d.charAt((3&n)<<4|r>>4),isNaN(r)?a+="==":(a+=d.charAt((15&r)<<2|i>>6),a+=isNaN(i)?"=":d.charAt(63&i)),t&&a.length>t&&(o+=a.substr(0,t)+"\r\n",a=a.substr(t));return o+=a},l.decode64=function(e){e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"");for(var t,n,r,i,a="",o=0;o>4),64!==r&&(a+=String.fromCharCode((15&n)<<4|r>>2),64!==i&&(a+=String.fromCharCode((3&r)<<6|i)));return a},l.encodeUtf8=function(e){return unescape(encodeURIComponent(e))},l.decodeUtf8=function(e){return decodeURIComponent(escape(e))},l.binary={raw:{},hex:{},base64:{},base58:{},baseN:{encode:s.encode,decode:s.decode}},l.binary.raw.encode=function(e){return String.fromCharCode.apply(null,e)},l.binary.raw.decode=function(e,t,n){var r=t;r||(r=new Uint8Array(e.length));for(var i=n=n||0,a=0;a>2),a+=d.charAt((3&n)<<4|r>>4),isNaN(r)?a+="==":(a+=d.charAt((15&r)<<2|i>>6),a+=isNaN(i)?"=":d.charAt(63&i)),t&&a.length>t&&(o+=a.substr(0,t)+"\r\n",a=a.substr(t));return o+=a},l.binary.base64.decode=function(e,t,n){var r,i,a,o,s=t;s||(s=new Uint8Array(3*Math.ceil(e.length/4))),e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"");for(var l=0,c=n=n||0;l>4,64!==a&&(s[c++]=(15&i)<<4|a>>2,64!==o&&(s[c++]=(3&a)<<6|o));return t?c-n:s.subarray(0,c)},l.binary.base58.encode=function(e,t){return l.binary.baseN.encode(e,p,t)},l.binary.base58.decode=function(e,t){return l.binary.baseN.decode(e,p,t)},l.text={utf8:{},utf16:{}},l.text.utf8.encode=function(e,t,n){e=l.encodeUtf8(e);var r=t;r||(r=new Uint8Array(e.length));for(var i=n=n||0,a=0;a0?(i=n[r].substring(0,o),a=n[r].substring(o+1)):(i=n[r],a=null),i in t||(t[i]=[]),i in Object.prototype||null===a||t[i].push(unescape(a))}return t};return void 0===e?(null===w&&(w="undefined"!=typeof window&&window.location&&window.location.search?n(window.location.search.substring(1)):{}),t=w):t=n(e),t},l.parseFragment=function(e){var t=e,n="",r=e.indexOf("?");r>0&&(t=e.substring(0,r),n=e.substring(r+1));var i=t.split("/");return i.length>0&&""===i[0]&&i.shift(),{pathString:t,queryString:n,path:i,query:""===n?{}:l.getQueryVariables(n)}},l.makeRequest=function(e){var t=l.parseFragment(e),n={path:t.pathString,query:t.queryString,getPath:function(e){return void 0===e?t.path:t.path[e]},getQuery:function(e,n){var r;return void 0===e?r=t.query:(r=t.query[e])&&void 0!==n&&(r=r[n]),r},getQueryLast:function(e,t){var r=n.getQuery(e);return r?r[r.length-1]:t}};return n},l.makeLink=function(e,t,n){e=jQuery.isArray(e)?e.join("/"):e;var r=jQuery.param(t||{});return n=n||"",e+(r.length>0?"?"+r:"")+(n.length>0?"#"+n:"")},l.isEmpty=function(e){for(var t in e)if(e.hasOwnProperty(t))return!1;return!0},l.format=function(e){for(var t,n,r=/%./g,i=0,a=[],o=0;t=r.exec(e);){(n=e.substring(o,r.lastIndex-2)).length>0&&a.push(n),o=r.lastIndex;var s=t[0][1];switch(s){case"s":case"o":i");break;case"%":a.push("%");break;default:a.push("<%"+s+"?>")}}return a.push(e.substring(o)),a.join("")},l.formatNumber=function(e,t,n,r){var i=e,a=isNaN(t=Math.abs(t))?2:t,o=void 0===n?",":n,s=void 0===r?".":r,l=i<0?"-":"",c=parseInt(i=Math.abs(+i||0).toFixed(a),10)+"",u=c.length>3?c.length%3:0;return l+(u?c.substr(0,u)+s:"")+c.substr(u).replace(/(\d{3})(?=\d)/g,"$1"+s)+(a?o+Math.abs(i-c).toFixed(a).slice(2):"")},l.formatSize=function(e){return e=e>=1073741824?l.formatNumber(e/1073741824,2,".","")+" GiB":e>=1048576?l.formatNumber(e/1048576,2,".","")+" MiB":e>=1024?l.formatNumber(e/1024,0)+" KiB":l.formatNumber(e,0)+" bytes"},l.bytesFromIP=function(e){return-1!==e.indexOf(".")?l.bytesFromIPv4(e):-1!==e.indexOf(":")?l.bytesFromIPv6(e):null},l.bytesFromIPv4=function(e){if(4!==(e=e.split(".")).length)return null;for(var t=l.createBuffer(),n=0;nn[r].end-n[r].start&&(r=n.length-1)):n.push({start:s,end:s})}t.push(a)}if(n.length>0){var c=n[r];c.end-c.start>0&&(t.splice(c.start,c.end-c.start+1,""),0===c.start&&t.unshift(""),7===c.end&&t.push(""))}return t.join(":")},l.estimateCores=function(e,t){if("function"==typeof e&&(t=e,e={}),e=e||{},"cores"in l&&!e.update)return t(null,l.cores);if("undefined"!=typeof navigator&&"hardwareConcurrency"in navigator&&navigator.hardwareConcurrency>0)return l.cores=navigator.hardwareConcurrency,t(null,l.cores);if("undefined"==typeof Worker)return l.cores=1,t(null,l.cores);if("undefined"==typeof Blob)return l.cores=2,t(null,l.cores);var n=URL.createObjectURL(new Blob(["(",function(){self.addEventListener("message",(function(e){for(var t=Date.now(),n=t+4;Date.now()s.st&&i.sti.st&&s.st=200&&i.status<300?n(new o.b(i.status,i.statusText,i.response||i.responseText)):r(new a.b(i.statusText,i.status))},i.onerror=function(){t.logger.log(l.a.Warning,"Error from HTTP request. "+i.status+": "+i.statusText+"."),r(new a.b(i.statusText,i.status))},i.ontimeout=function(){t.logger.log(l.a.Warning,"Timeout from HTTP request."),r(new a.c)},i.send(e.content||"")})):Promise.reject(new Error("No url defined.")):Promise.reject(new Error("No method defined."))},t}(o.a),d=function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),h=function(e){function t(t){var n=e.call(this)||this;return"undefined"!=typeof XMLHttpRequest?n.httpClient=new u(t):n.httpClient=new s.a(t),n}return d(t,e),t.prototype.send=function(e){return e.abortSignal&&e.abortSignal.aborted?Promise.reject(new a.a):e.method?e.url?this.httpClient.send(e):Promise.reject(new Error("No url defined.")):Promise.reject(new Error("No method defined."))},t.prototype.getCookieString=function(e){return this.httpClient.getCookieString(e)},t}(o.a),p=n(745);!function(e){e[e.Invocation=1]="Invocation",e[e.StreamItem=2]="StreamItem",e[e.Completion=3]="Completion",e[e.StreamInvocation=4]="StreamInvocation",e[e.CancelInvocation=5]="CancelInvocation",e[e.Ping=6]="Ping",e[e.Close=7]="Close"}(i||(i={}));var f,m=n(29),g=function(){function e(){this.observers=[]}return e.prototype.next=function(e){for(var t=0,n=this.observers;t0&&i[i.length-1])||6!==a[0]&&2!==a[0])){o=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]0&&i[i.length-1])||6!==a[0]&&2!==a[0])){o=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]0&&i[i.length-1])||6!==a[0]&&2!==a[0])){o=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]0&&i[i.length-1])||6!==a[0]&&2!==a[0])){o=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]0&&i[i.length-1])||6!==a[0]&&2!==a[0])){o=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]0?[2,Promise.reject(new Error("Unable to connect to the server with any of the available transports. "+a.join(" ")))]:[2,Promise.reject(new Error("None of the transports supported by the client are supported by the server."))]}}))}))},e.prototype.constructTransport=function(e){switch(e){case v.WebSockets:if(!this.options.WebSocket)throw new Error("'WebSocket' is not supported in your environment.");return new A(this.httpClient,this.accessTokenFactory,this.logger,this.options.logMessageContent||!1,this.options.WebSocket);case v.ServerSentEvents:if(!this.options.EventSource)throw new Error("'EventSource' is not supported in your environment.");return new z(this.httpClient,this.accessTokenFactory,this.logger,this.options.logMessageContent||!1,this.options.EventSource);case v.LongPolling:return new S(this.httpClient,this.accessTokenFactory,this.logger,this.options.logMessageContent||!1);default:throw new Error("Unknown transport: "+e+".")}},e.prototype.startTransport=function(e,t){var n=this;return this.transport.onreceive=this.onreceive,this.transport.onclose=function(e){return n.stopConnection(e)},this.transport.connect(e,t)},e.prototype.resolveTransportOrError=function(e,t,n){var r=v[e.transport];if(null==r)return this.logger.log(l.a.Debug,"Skipping transport '"+e.transport+"' because it is not supported by this client."),new Error("Skipping transport '"+e.transport+"' because it is not supported by this client.");if(!function(e,t){return!e||0!=(t&e)}(t,r))return this.logger.log(l.a.Debug,"Skipping transport '"+v[r]+"' because it was disabled by the client."),new Error("'"+v[r]+"' is disabled by the client.");if(!(e.transferFormats.map((function(e){return k[e]})).indexOf(n)>=0))return this.logger.log(l.a.Debug,"Skipping transport '"+v[r]+"' because it does not support the requested transfer format '"+k[n]+"'."),new Error("'"+v[r]+"' does not support "+k[n]+".");if(r===v.WebSockets&&!this.options.WebSocket||r===v.ServerSentEvents&&!this.options.EventSource)return this.logger.log(l.a.Debug,"Skipping transport '"+v[r]+"' because it is not supported in your environment.'"),new Error("'"+v[r]+"' is not supported in your environment.");this.logger.log(l.a.Debug,"Selecting transport '"+v[r]+"'.");try{return this.constructTransport(r)}catch(i){return i}},e.prototype.isITransport=function(e){return e&&"object"==typeof e&&"connect"in e},e.prototype.stopConnection=function(e){var t=this;if(this.logger.log(l.a.Debug,"HttpConnection.stopConnection("+e+") called while in state "+this.connectionState+"."),this.transport=void 0,e=this.stopError||e,this.stopError=void 0,"Disconnected"!==this.connectionState)if("Connecting "!==this.connectionState){if("Disconnecting"===this.connectionState&&this.stopPromiseResolver(),e?this.logger.log(l.a.Error,"Connection disconnected with error '"+e+"'."):this.logger.log(l.a.Information,"Connection disconnected."),this.sendQueue&&(this.sendQueue.stop().catch((function(e){t.logger.log(l.a.Error,"TransportSendQueue.stop() threw error '"+e+"'.")})),this.sendQueue=void 0),this.connectionId=void 0,this.connectionState="Disconnected",this.connectionStarted){this.connectionStarted=!1;try{this.onclose&&this.onclose(e)}catch(n){this.logger.log(l.a.Error,"HttpConnection.onclose("+e+") threw error '"+n+"'.")}}}else this.logger.log(l.a.Warning,"Call to HttpConnection.stopConnection("+e+") was ignored because the connection hasn't yet left the in the connecting state.");else this.logger.log(l.a.Debug,"Call to HttpConnection.stopConnection("+e+") was ignored because the connection is already in the disconnected state.")},e.prototype.resolveUrl=function(e){if(0===e.lastIndexOf("https://",0)||0===e.lastIndexOf("http://",0))return e;if(!m.c.isBrowser||!window.document)throw new Error("Cannot resolve '"+e+"'.");var t=window.document.createElement("a");return t.href=e,this.logger.log(l.a.Information,"Normalizing '"+e+"' to '"+t.href+"'."),t.href},e.prototype.resolveNegotiateUrl=function(e){var t=e.indexOf("?"),n=e.substring(0,-1===t?e.length:t);return"/"!==n[n.length-1]&&(n+="/"),n+="negotiate",-1===(n+=-1===t?"":e.substring(t)).indexOf("negotiateVersion")&&(n+=-1===t?"?":"&",n+="negotiateVersion="+this.negotiateVersion),n},e}();var L=function(){function e(e){this.transport=e,this.buffer=[],this.executing=!0,this.sendBufferedData=new F,this.transportResult=new F,this.sendLoopPromise=this.sendLoop()}return e.prototype.send=function(e){return this.bufferData(e),this.transportResult||(this.transportResult=new F),this.transportResult.promise},e.prototype.stop=function(){return this.executing=!1,this.sendBufferedData.resolve(),this.sendLoopPromise},e.prototype.bufferData=function(e){if(this.buffer.length&&typeof this.buffer[0]!=typeof e)throw new Error("Expected data to be of type "+typeof this.buffer+" but was of type "+typeof e);this.buffer.push(e),this.sendBufferedData.resolve()},e.prototype.sendLoop=function(){return N(this,void 0,void 0,(function(){var t,n,r;return P(this,(function(i){switch(i.label){case 0:return[4,this.sendBufferedData.promise];case 1:if(i.sent(),!this.executing)return this.transportResult&&this.transportResult.reject("Connection stopped."),[3,6];this.sendBufferedData=new F,t=this.transportResult,this.transportResult=void 0,n="string"==typeof this.buffer[0]?this.buffer.join(""):e.concatBuffers(this.buffer),this.buffer.length=0,i.label=2;case 2:return i.trys.push([2,4,,5]),[4,this.transport.send(n)];case 3:return i.sent(),t.resolve(),[3,5];case 4:return r=i.sent(),t.reject(r),[3,5];case 5:return[3,0];case 6:return[2]}}))}))},e.concatBuffers=function(e){for(var t=e.map((function(e){return e.byteLength})).reduce((function(e,t){return e+t})),n=new Uint8Array(t),r=0,i=0,a=e;i"+i+""};e.exports=function(e,t){var n={};n[e]=t(s),r(r.P+r.F*i((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3})),"String",n)}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(20),i=n(56),a=n(50),o=n(89)("src"),s=Function.toString,l=(""+s).split("toString");n(55).inspectSource=function(e){return s.call(e)},(e.exports=function(e,t,n,s){var c="function"==typeof n;c&&(a(n,"name")||i(n,"name",t)),e[t]!==n&&(c&&(a(n,o)||i(n,o,e[t]?""+e[t]:l.join(String(t)))),e===r?e[t]=n:s?e[t]?e[t]=n:i(e,t,n):(delete e[t],i(e,t,n)))})(Function.prototype,"toString",(function(){return"function"==typeof this&&this[o]||s.call(this)}))},function(e,t,n){var r=n(115),i=n(76);e.exports=function(e){return r(i(e))}},,function(e,t,n){"use strict";var r=n(121),i=n(215),a=n(146),o=function(){function e(e){return Error.call(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map((function(e,t){return t+1+") "+e.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=e,this}return e.prototype=Object.create(Error.prototype),e}();n.d(t,"a",(function(){return s}));var s=function(){function e(e){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,e&&(this._ctorUnsubscribe=!0,this._unsubscribe=e)}var t;return e.prototype.unsubscribe=function(){var t;if(!this.closed){var n=this._parentOrParents,s=this._ctorUnsubscribe,c=this._unsubscribe,u=this._subscriptions;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof e)n.remove(this);else if(null!==n)for(var d=0;d0?r:n)(e)}},,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return E})),n.d(t,"b",(function(){return Ke})),n.d(t,"c",(function(){return be})),n.d(t,"d",(function(){return at})),n.d(t,"e",(function(){return x})),n.d(t,"f",(function(){return st})),n.d(t,"g",(function(){return ve})),n.d(t,"h",(function(){return lt}));var r=n(1),i=n(12),a=n(0);function o(){return void 0!==e&&"[object process]"==={}.toString.call(e)}function s(e){switch(e.length){case 0:return new i.d;case 1:return e[0];default:return new i.k(e)}}function l(e,t,n,r,a,o){void 0===a&&(a={}),void 0===o&&(o={});var s=[],l=[],c=-1,u=null;if(r.forEach((function(e){var n=e.offset,r=n==c,d=r&&u||{};Object.keys(e).forEach((function(n){var r=n,l=e[n];if("offset"!==n)switch(r=t.normalizePropertyName(r,s),l){case i.l:l=a[n];break;case i.a:l=o[n];break;default:l=t.normalizeStyleValue(n,r,l,s)}d[r]=l})),r||l.push(d),u=d,c=n})),s.length){throw new Error("Unable to animate due to the following errors:\n - "+s.join("\n - "))}return l}function c(e,t,n,r){switch(t){case"start":e.onStart((function(){return r(n&&u(n,"start",e))}));break;case"done":e.onDone((function(){return r(n&&u(n,"done",e))}));break;case"destroy":e.onDestroy((function(){return r(n&&u(n,"destroy",e))}))}}function u(e,t,n){var r=n.totalTime,i=!!n.disabled,a=d(e.element,e.triggerName,e.fromState,e.toState,t||e.phaseName,null==r?e.totalTime:r,i),o=e._data;return null!=o&&(a._data=o),a}function d(e,t,n,r,i,a,o){return void 0===i&&(i=""),void 0===a&&(a=0),{element:e,triggerName:t,fromState:n,toState:r,phaseName:i,totalTime:a,disabled:!!o}}function h(e,t,n){var r;return e instanceof Map?(r=e.get(t))||e.set(t,r=n):(r=e[t])||(r=e[t]=n),r}function p(e){var t=e.indexOf(":");return[e.substring(1,t),e.substr(t+1)]}var f=function(e,t){return!1},m=function(e,t){return!1},g=function(e,t,n){return[]},y=o();(y||"undefined"!=typeof Element)&&(f=function(e,t){return e.contains(t)},m=function(){if(y||Element.prototype.matches)return function(e,t){return e.matches(t)};var e=Element.prototype,t=e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;return t?function(e,n){return t.apply(e,[n])}:m}(),g=function(e,t,n){var i=[];if(n)i.push.apply(i,Object(r.g)(e.querySelectorAll(t)));else{var a=e.querySelector(t);a&&i.push(a)}return i});var b=null,v=!1;function k(e){b||(b=function(){if("undefined"!=typeof document)return document.body;return null}()||{},v=!!b.style&&"WebkitAppearance"in b.style);var t=!0;b.style&&!function(e){return"ebkit"==e.substring(1,6)}(e)&&(!(t=e in b.style)&&v&&(t="Webkit"+e.charAt(0).toUpperCase()+e.substr(1)in b.style));return t}var w=m,_=f,j=g;function C(e){var t={};return Object.keys(e).forEach((function(n){var r=n.replace(/([a-z])([A-Z])/g,"$1-$2");t[r]=e[n]})),t}var x=function(){function e(){}return e.prototype.validateStyleProperty=function(e){return k(e)},e.prototype.matchesElement=function(e,t){return w(e,t)},e.prototype.containsElement=function(e,t){return _(e,t)},e.prototype.query=function(e,t,n){return j(e,t,n)},e.prototype.computeStyle=function(e,t,n){return n||""},e.prototype.animate=function(e,t,n,r,a,o,s){return void 0===o&&(o=[]),new i.d(n,r)},e.ɵfac=function(t){return new(t||e)},e.ɵprov=a["ɵɵdefineInjectable"]({token:e,factory:function(t){return e.ɵfac(t)}}),e}(),E=function(){function e(){}return e.NOOP=new x,e}();function S(e){if("number"==typeof e)return e;var t=e.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:T(parseFloat(t[1]),t[2])}function T(e,t){switch(t){case"s":return 1e3*e;default:return e}}function O(e,t,n){return e.hasOwnProperty("duration")?e:function(e,t,n){var r,i=0,a="";if("string"==typeof e){var o=e.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===o)return t.push('The provided timing value "'+e+'" is invalid.'),{duration:0,delay:0,easing:""};r=T(parseFloat(o[1]),o[2]);var s=o[3];null!=s&&(i=T(parseFloat(s),o[4]));var l=o[5];l&&(a=l)}else r=e;if(!n){var c=!1,u=t.length;r<0&&(t.push("Duration values below 0 are not allowed for this animation step."),c=!0),i<0&&(t.push("Delay values below 0 are not allowed for this animation step."),c=!0),c&&t.splice(u,0,'The provided timing value "'+e+'" is invalid.')}return{duration:r,delay:i,easing:a}}(e,t,n)}function z(e,t){return void 0===t&&(t={}),Object.keys(e).forEach((function(n){t[n]=e[n]})),t}function I(e){var t={};return Array.isArray(e)?e.forEach((function(e){return D(e,!1,t)})):D(e,!1,t),t}function D(e,t,n){if(void 0===n&&(n={}),t)for(var r in e)n[r]=e[r];else z(e,n);return n}function A(e,t,n){return n?t+":"+n+";":""}function N(e){for(var t="",n=0;n *";case":leave":return"* => void";case":increment":return function(e,t){return parseFloat(t)>parseFloat(e)};case":decrement":return function(e,t){return parseFloat(t) *"}}(e,n);if("function"==typeof r)return void t.push(r);e=r}var i=e.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return n.push('The provided transition expression "'+e+'" is not supported'),t;var a=i[1],o=i[2],s=i[3];t.push(Z(a,s));var l="*"==a&&"*"==s;"<"!=o[0]||l||t.push(Z(s,a))}(e,n,t)})):n.push(e),n}var $=new Set(["true","1"]),Y=new Set(["false","0"]);function Z(e,t){var n=$.has(e)||Y.has(e),r=$.has(t)||Y.has(t);return function(i,a){var o="*"==e||e==i,s="*"==t||t==a;return!o&&n&&"boolean"==typeof i&&(o=i?$.has(e):Y.has(e)),!s&&r&&"boolean"==typeof a&&(s=a?$.has(t):Y.has(t)),o&&s}}var J=new RegExp("s*:selfs*,?","g");function X(e,t,n){return new ee(e).build(t,n)}var ee=function(){function e(e){this._driver=e}return e.prototype.build=function(e,t){var n=new te(t);return this._resetContextStyleTimingState(n),W(this,M(e),n)},e.prototype._resetContextStyleTimingState=function(e){e.currentQuerySelector="",e.collectedStyles={},e.collectedStyles[""]={},e.currentTime=0},e.prototype.visitTrigger=function(e,t){var n=this,r=t.queryCount=0,i=t.depCount=0,a=[],o=[];return"@"==e.name.charAt(0)&&t.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),e.definitions.forEach((function(e){if(n._resetContextStyleTimingState(t),0==e.type){var s=e,l=s.name;l.toString().split(/\s*,\s*/).forEach((function(e){s.name=e,a.push(n.visitState(s,t))})),s.name=l}else if(1==e.type){var c=n.visitTransition(e,t);r+=c.queryCount,i+=c.depCount,o.push(c)}else t.errors.push("only state() and transition() definitions can sit inside of a trigger()")})),{type:7,name:e.name,states:a,transitions:o,queryCount:r,depCount:i,options:null}},e.prototype.visitState=function(e,t){var n=this.visitStyle(e.styles,t),r=e.options&&e.options.params||null;if(n.containsDynamicStyles){var i=new Set,a=r||{};if(n.styles.forEach((function(e){if(ne(e)){var t=e;Object.keys(t).forEach((function(e){B(t[e]).forEach((function(e){a.hasOwnProperty(e)||i.add(e)}))}))}})),i.size){var o=F(i.values());t.errors.push('state("'+e.name+'", ...) must define default values for all the following style substitutions: '+o.join(", "))}}return{type:0,name:e.name,style:n,options:r?{params:r}:null}},e.prototype.visitTransition=function(e,t){t.queryCount=0,t.depCount=0;var n=W(this,M(e.animation),t);return{type:1,matchers:Q(e.expr,t.errors),animation:n,queryCount:t.queryCount,depCount:t.depCount,options:re(e.options)}},e.prototype.visitSequence=function(e,t){var n=this;return{type:2,steps:e.steps.map((function(e){return W(n,e,t)})),options:re(e.options)}},e.prototype.visitGroup=function(e,t){var n=this,r=t.currentTime,i=0,a=e.steps.map((function(e){t.currentTime=r;var a=W(n,e,t);return i=Math.max(i,t.currentTime),a}));return t.currentTime=i,{type:3,steps:a,options:re(e.options)}},e.prototype.visitAnimate=function(e,t){var n,r=function(e,t){var n=null;if(e.hasOwnProperty("duration"))n=e;else if("number"==typeof e){return ie(O(e,t).duration,0,"")}var r=e;if(r.split(/\s+/).some((function(e){return"{"==e.charAt(0)&&"{"==e.charAt(1)}))){var i=ie(0,0,"");return i.dynamic=!0,i.strValue=r,i}return ie((n=n||O(r,t)).duration,n.delay,n.easing)}(e.timings,t.errors);t.currentAnimateTimings=r;var a=e.styles?e.styles:Object(i.h)({});if(5==a.type)n=this.visitKeyframes(a,t);else{var o=e.styles,s=!1;if(!o){s=!0;var l={};r.easing&&(l.easing=r.easing),o=Object(i.h)(l)}t.currentTime+=r.duration+r.delay;var c=this.visitStyle(o,t);c.isEmptyStep=s,n=c}return t.currentAnimateTimings=null,{type:4,timings:r,style:n,options:null}},e.prototype.visitStyle=function(e,t){var n=this._makeStyleAst(e,t);return this._validateStyleAst(n,t),n},e.prototype._makeStyleAst=function(e,t){var n=[];Array.isArray(e.styles)?e.styles.forEach((function(e){"string"==typeof e?e==i.a?n.push(e):t.errors.push("The provided style string value "+e+" is not allowed."):n.push(e)})):n.push(e.styles);var r=!1,a=null;return n.forEach((function(e){if(ne(e)){var t=e,n=t.easing;if(n&&(a=n,delete t.easing),!r)for(var i in t){if(t[i].toString().indexOf("{{")>=0){r=!0;break}}}})),{type:6,styles:n,easing:a,offset:e.offset,containsDynamicStyles:r,options:null}},e.prototype._validateStyleAst=function(e,t){var n=this,r=t.currentAnimateTimings,i=t.currentTime,a=t.currentTime;r&&a>0&&(a-=r.duration+r.delay),e.styles.forEach((function(e){"string"!=typeof e&&Object.keys(e).forEach((function(r){if(n._driver.validateStyleProperty(r)){var o,s,l,c,u,d=t.collectedStyles[t.currentQuerySelector],h=d[r],p=!0;h&&(a!=i&&a>=h.startTime&&i<=h.endTime&&(t.errors.push('The CSS property "'+r+'" that exists between the times of "'+h.startTime+'ms" and "'+h.endTime+'ms" is also being animated in a parallel animation between the times of "'+a+'ms" and "'+i+'ms"'),p=!1),a=h.startTime),p&&(d[r]={startTime:a,endTime:i}),t.options&&(o=e[r],s=t.options,l=t.errors,c=s.params||{},(u=B(o)).length&&u.forEach((function(e){c.hasOwnProperty(e)||l.push("Unable to resolve the local animation param "+e+" in the given list of values")})))}else t.errors.push('The provided animation property "'+r+'" is not a supported CSS property for animations')}))}))},e.prototype.visitKeyframes=function(e,t){var n=this,r={type:5,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push("keyframes() must be placed inside of a call to animate()"),r;var i=0,a=[],o=!1,s=!1,l=0,c=e.steps.map((function(e){var r=n._makeStyleAst(e,t),c=null!=r.offset?r.offset:function(e){if("string"==typeof e)return null;var t=null;if(Array.isArray(e))e.forEach((function(e){if(ne(e)&&e.hasOwnProperty("offset")){var n=e;t=parseFloat(n.offset),delete n.offset}}));else if(ne(e)&&e.hasOwnProperty("offset")){var n=e;t=parseFloat(n.offset),delete n.offset}return t}(r.styles),u=0;return null!=c&&(i++,u=r.offset=c),s=s||u<0||u>1,o=o||u0&&i0?i==h?1:d*i:a[i],s=o*m;t.currentTime=p+f.delay+s,f.duration=s,n._validateStyleAst(e,t),e.offset=o,r.styles.push(e)})),r},e.prototype.visitReference=function(e,t){return{type:8,animation:W(this,M(e.animation),t),options:re(e.options)}},e.prototype.visitAnimateChild=function(e,t){return t.depCount++,{type:9,options:re(e.options)}},e.prototype.visitAnimateRef=function(e,t){return{type:10,animation:this.visitReference(e.animation,t),options:re(e.options)}},e.prototype.visitQuery=function(e,t){var n=t.currentQuerySelector,i=e.options||{};t.queryCount++,t.currentQuery=e;var a=Object(r.f)(function(e){var t=!!e.split(/\s*,\s*/).find((function(e){return":self"==e}));t&&(e=e.replace(J,""));return[e=e.replace(/@\*/g,".ng-trigger").replace(/@\w+/g,(function(e){return".ng-trigger-"+e.substr(1)})).replace(/:animating/g,".ng-animating"),t]}(e.selector),2),o=a[0],s=a[1];t.currentQuerySelector=n.length?n+" "+o:o,h(t.collectedStyles,t.currentQuerySelector,{});var l=W(this,M(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=n,{type:11,selector:o,limit:i.limit||0,optional:!!i.optional,includeSelf:s,animation:l,originalSelector:e.selector,options:re(e.options)}},e.prototype.visitStagger=function(e,t){t.currentQuery||t.errors.push("stagger() can only be used inside of query()");var n="full"===e.timings?{duration:0,delay:0,easing:"full"}:O(e.timings,t.errors,!0);return{type:12,animation:W(this,M(e.animation),t),timings:n,options:null}},e}();var te=function(e){this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null};function ne(e){return!Array.isArray(e)&&"object"==typeof e}function re(e){var t;return e?(e=z(e)).params&&(e.params=(t=e.params)?z(t):null):e={},e}function ie(e,t,n){return{duration:e,delay:t,easing:n}}function ae(e,t,n,r,i,a,o,s){return void 0===o&&(o=null),void 0===s&&(s=!1),{type:1,element:e,keyframes:t,preStyleProps:n,postStyleProps:r,duration:i,delay:a,totalTime:i+a,easing:o,subTimeline:s}}var oe=function(){function e(){this._map=new Map}return e.prototype.consume=function(e){var t=this._map.get(e);return t?this._map.delete(e):t=[],t},e.prototype.append=function(e,t){var n=this._map.get(e);n||this._map.set(e,n=[]),n.push.apply(n,Object(r.g)(t))},e.prototype.has=function(e){return this._map.has(e)},e.prototype.clear=function(){this._map.clear()},e}(),se=new RegExp(":enter","g"),le=new RegExp(":leave","g");function ce(e,t,n,r,i,a,o,s,l,c){return void 0===a&&(a={}),void 0===o&&(o={}),void 0===c&&(c=[]),(new ue).buildKeyframes(e,t,n,r,i,a,o,s,l,c)}var ue=function(){function e(){}return e.prototype.buildKeyframes=function(e,t,n,r,i,a,o,s,l,c){void 0===c&&(c=[]),l=l||new oe;var u=new he(e,t,l,r,i,c,[]);u.options=s,u.currentTimeline.setStyles([a],null,u.errors,s),W(this,n,u);var d=u.timelines.filter((function(e){return e.containsAnimation()}));if(d.length&&Object.keys(o).length){var h=d[d.length-1];h.allowOnlyTimelineStyles()||h.setStyles([o],null,u.errors,s)}return d.length?d.map((function(e){return e.buildKeyframes()})):[ae(t,[],[],[],0,0,"",!1)]},e.prototype.visitTrigger=function(e,t){},e.prototype.visitState=function(e,t){},e.prototype.visitTransition=function(e,t){},e.prototype.visitAnimateChild=function(e,t){var n=t.subInstructions.consume(t.element);if(n){var r=t.createSubContext(e.options),i=t.currentTimeline.currentTime,a=this._visitSubInstructions(n,r,r.options);i!=a&&t.transformIntoNewTimeline(a)}t.previousNode=e},e.prototype.visitAnimateRef=function(e,t){var n=t.createSubContext(e.options);n.transformIntoNewTimeline(),this.visitReference(e.animation,n),t.transformIntoNewTimeline(n.currentTimeline.currentTime),t.previousNode=e},e.prototype._visitSubInstructions=function(e,t,n){var r=t.currentTimeline.currentTime,i=null!=n.duration?S(n.duration):null,a=null!=n.delay?S(n.delay):null;return 0!==i&&e.forEach((function(e){var n=t.appendInstructionToTimeline(e,i,a);r=Math.max(r,n.duration+n.delay)})),r},e.prototype.visitReference=function(e,t){t.updateOptions(e.options,!0),W(this,e.animation,t),t.previousNode=e},e.prototype.visitSequence=function(e,t){var n=this,r=t.subContextCount,i=t,a=e.options;if(a&&(a.params||a.delay)&&((i=t.createSubContext(a)).transformIntoNewTimeline(),null!=a.delay)){6==i.previousNode.type&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=de);var o=S(a.delay);i.delayNextStep(o)}e.steps.length&&(e.steps.forEach((function(e){return W(n,e,i)})),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>r&&i.transformIntoNewTimeline()),t.previousNode=e},e.prototype.visitGroup=function(e,t){var n=this,r=[],i=t.currentTimeline.currentTime,a=e.options&&e.options.delay?S(e.options.delay):0;e.steps.forEach((function(o){var s=t.createSubContext(e.options);a&&s.delayNextStep(a),W(n,o,s),i=Math.max(i,s.currentTimeline.currentTime),r.push(s.currentTimeline)})),r.forEach((function(e){return t.currentTimeline.mergeTimelineCollectedStyles(e)})),t.transformIntoNewTimeline(i),t.previousNode=e},e.prototype._visitTiming=function(e,t){if(e.dynamic){var n=e.strValue;return O(t.params?L(n,t.params,t.errors):n,t.errors)}return{duration:e.duration,delay:e.delay,easing:e.easing}},e.prototype.visitAnimate=function(e,t){var n=t.currentAnimateTimings=this._visitTiming(e.timings,t),r=t.currentTimeline;n.delay&&(t.incrementTime(n.delay),r.snapshotCurrentStyles());var i=e.style;5==i.type?this.visitKeyframes(i,t):(t.incrementTime(n.duration),this.visitStyle(i,t),r.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e},e.prototype.visitStyle=function(e,t){var n=t.currentTimeline,r=t.currentAnimateTimings;!r&&n.getCurrentStyleProperties().length&&n.forwardFrame();var i=r&&r.easing||e.easing;e.isEmptyStep?n.applyEmptyStep(i):n.setStyles(e.styles,i,t.errors,t.options),t.previousNode=e},e.prototype.visitKeyframes=function(e,t){var n=t.currentAnimateTimings,r=t.currentTimeline.duration,i=n.duration,a=t.createSubContext().currentTimeline;a.easing=n.easing,e.styles.forEach((function(e){var n=e.offset||0;a.forwardTime(n*i),a.setStyles(e.styles,e.easing,t.errors,t.options),a.applyStylesToKeyframe()})),t.currentTimeline.mergeTimelineCollectedStyles(a),t.transformIntoNewTimeline(r+i),t.previousNode=e},e.prototype.visitQuery=function(e,t){var n=this,r=t.currentTimeline.currentTime,i=e.options||{},a=i.delay?S(i.delay):0;a&&(6===t.previousNode.type||0==r&&t.currentTimeline.getCurrentStyleProperties().length)&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=de);var o=r,s=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!i.optional,t.errors);t.currentQueryTotal=s.length;var l=null;s.forEach((function(r,i){t.currentQueryIndex=i;var s=t.createSubContext(e.options,r);a&&s.delayNextStep(a),r===t.element&&(l=s.currentTimeline),W(n,e.animation,s),s.currentTimeline.applyStylesToKeyframe();var c=s.currentTimeline.currentTime;o=Math.max(o,c)})),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(o),l&&(t.currentTimeline.mergeTimelineCollectedStyles(l),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e},e.prototype.visitStagger=function(e,t){var n=t.parentContext,r=t.currentTimeline,i=e.timings,a=Math.abs(i.duration),o=a*(t.currentQueryTotal-1),s=a*t.currentQueryIndex;switch(i.duration<0?"reverse":i.easing){case"reverse":s=o-s;break;case"full":s=n.currentStaggerTime}var l=t.currentTimeline;s&&l.delayNextStep(s);var c=l.currentTime;W(this,e.animation,t),t.previousNode=e,n.currentStaggerTime=r.currentTime-c+(r.startTime-n.currentTimeline.startTime)},e}(),de={},he=function(){function e(e,t,n,r,i,a,o,s){this._driver=e,this.element=t,this.subInstructions=n,this._enterClassName=r,this._leaveClassName=i,this.errors=a,this.timelines=o,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=de,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=s||new pe(this._driver,t,0),o.push(this.currentTimeline)}return Object.defineProperty(e.prototype,"params",{get:function(){return this.options.params},enumerable:!0,configurable:!0}),e.prototype.updateOptions=function(e,t){var n=this;if(e){var r=e,i=this.options;null!=r.duration&&(i.duration=S(r.duration)),null!=r.delay&&(i.delay=S(r.delay));var a=r.params;if(a){var o=i.params;o||(o=this.options.params={}),Object.keys(a).forEach((function(e){t&&o.hasOwnProperty(e)||(o[e]=L(a[e],o,n.errors))}))}}},e.prototype._copyOptions=function(){var e={};if(this.options){var t=this.options.params;if(t){var n=e.params={};Object.keys(t).forEach((function(e){n[e]=t[e]}))}}return e},e.prototype.createSubContext=function(t,n,r){void 0===t&&(t=null);var i=n||this.element,a=new e(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,r||0));return a.previousNode=this.previousNode,a.currentAnimateTimings=this.currentAnimateTimings,a.options=this._copyOptions(),a.updateOptions(t),a.currentQueryIndex=this.currentQueryIndex,a.currentQueryTotal=this.currentQueryTotal,a.parentContext=this,this.subContextCount++,a},e.prototype.transformIntoNewTimeline=function(e){return this.previousNode=de,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline},e.prototype.appendInstructionToTimeline=function(e,t,n){var r={duration:null!=t?t:e.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+e.delay,easing:""},i=new fe(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,r,e.stretchStartingKeyframe);return this.timelines.push(i),r},e.prototype.incrementTime=function(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)},e.prototype.delayNextStep=function(e){e>0&&this.currentTimeline.delayNextStep(e)},e.prototype.invokeQuery=function(e,t,n,i,a,o){var s=[];if(i&&s.push(this.element),e.length>0){e=(e=e.replace(se,"."+this._enterClassName)).replace(le,"."+this._leaveClassName);var l=1!=n,c=this._driver.query(this.element,e,l);0!==n&&(c=n<0?c.slice(c.length+n,c.length):c.slice(0,n)),s.push.apply(s,Object(r.g)(c))}return a||0!=s.length||o.push('`query("'+t+'")` returned zero elements. (Use `query("'+t+'", { optional: true })` if you wish to allow this.)'),s},e}(),pe=function(){function e(e,t,n,r){this._driver=e,this.element=t,this.startTime=n,this._elementTimelineStylesLookup=r,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}return e.prototype.containsAnimation=function(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}},e.prototype.getCurrentStyleProperties=function(){return Object.keys(this._currentKeyframe)},Object.defineProperty(e.prototype,"currentTime",{get:function(){return this.startTime+this.duration},enumerable:!0,configurable:!0}),e.prototype.delayNextStep=function(e){var t=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e},e.prototype.fork=function(t,n){return this.applyStylesToKeyframe(),new e(this._driver,t,n||this.currentTime,this._elementTimelineStylesLookup)},e.prototype._loadKeyframe=function(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))},e.prototype.forwardFrame=function(){this.duration+=1,this._loadKeyframe()},e.prototype.forwardTime=function(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()},e.prototype._updateStyle=function(e,t){this._localTimelineStyles[e]=t,this._globalTimelineStyles[e]=t,this._styleSummary[e]={time:this.currentTime,value:t}},e.prototype.allowOnlyTimelineStyles=function(){return this._currentEmptyStepKeyframe!==this._currentKeyframe},e.prototype.applyEmptyStep=function(e){var t=this;e&&(this._previousKeyframe.easing=e),Object.keys(this._globalTimelineStyles).forEach((function(e){t._backFill[e]=t._globalTimelineStyles[e]||i.a,t._currentKeyframe[e]=i.a})),this._currentEmptyStepKeyframe=this._currentKeyframe},e.prototype.setStyles=function(e,t,n,r){var a=this;t&&(this._previousKeyframe.easing=t);var o=r&&r.params||{},s=function(e,t){var n,r={};return e.forEach((function(e){"*"===e?(n=n||Object.keys(t)).forEach((function(e){r[e]=i.a})):D(e,!1,r)})),r}(e,this._globalTimelineStyles);Object.keys(s).forEach((function(e){var t=L(s[e],o,n);a._pendingStyles[e]=t,a._localTimelineStyles.hasOwnProperty(e)||(a._backFill[e]=a._globalTimelineStyles.hasOwnProperty(e)?a._globalTimelineStyles[e]:i.a),a._updateStyle(e,t)}))},e.prototype.applyStylesToKeyframe=function(){var e=this,t=this._pendingStyles,n=Object.keys(t);0!=n.length&&(this._pendingStyles={},n.forEach((function(n){var r=t[n];e._currentKeyframe[n]=r})),Object.keys(this._localTimelineStyles).forEach((function(t){e._currentKeyframe.hasOwnProperty(t)||(e._currentKeyframe[t]=e._localTimelineStyles[t])})))},e.prototype.snapshotCurrentStyles=function(){var e=this;Object.keys(this._localTimelineStyles).forEach((function(t){var n=e._localTimelineStyles[t];e._pendingStyles[t]=n,e._updateStyle(t,n)}))},e.prototype.getFinalKeyframe=function(){return this._keyframes.get(this.duration)},Object.defineProperty(e.prototype,"properties",{get:function(){var e=[];for(var t in this._currentKeyframe)e.push(t);return e},enumerable:!0,configurable:!0}),e.prototype.mergeTimelineCollectedStyles=function(e){var t=this;Object.keys(e._styleSummary).forEach((function(n){var r=t._styleSummary[n],i=e._styleSummary[n];(!r||i.time>r.time)&&t._updateStyle(n,i.value)}))},e.prototype.buildKeyframes=function(){var e=this;this.applyStylesToKeyframe();var t=new Set,n=new Set,r=1===this._keyframes.size&&0===this.duration,a=[];this._keyframes.forEach((function(o,s){var l=D(o,!0);Object.keys(l).forEach((function(e){var r=l[e];r==i.l?t.add(e):r==i.a&&n.add(e)})),r||(l.offset=s/e.duration),a.push(l)}));var o=t.size?F(t.values()):[],s=n.size?F(n.values()):[];if(r){var l=a[0],c=z(l);l.offset=0,c.offset=1,a=[l,c]}return ae(this.element,a,o,s,this.duration,this.startTime,this.easing,!1)},e}(),fe=function(e){function t(t,n,r,i,a,o,s){void 0===s&&(s=!1);var l=e.call(this,t,n,o.delay)||this;return l.element=n,l.keyframes=r,l.preStyleProps=i,l.postStyleProps=a,l._stretchStartingKeyframe=s,l.timings={duration:o.duration,delay:o.delay,easing:o.easing},l}return Object(r.c)(t,e),t.prototype.containsAnimation=function(){return this.keyframes.length>1},t.prototype.buildKeyframes=function(){var e=this.keyframes,t=this.timings,n=t.delay,r=t.duration,i=t.easing;if(this._stretchStartingKeyframe&&n){var a=[],o=r+n,s=n/o,l=D(e[0],!1);l.offset=0,a.push(l);var c=D(e[0],!1);c.offset=me(s),a.push(c);for(var u=e.length-1,d=1;d<=u;d++){var h=D(e[d],!1),p=n+h.offset*r;h.offset=me(p/o),a.push(h)}r=o,n=0,i="",e=a}return ae(this.element,e,this.preStyleProps,this.postStyleProps,r,n,i,!0)},t}(pe);function me(e,t){void 0===t&&(t=3);var n=Math.pow(10,t-1);return Math.round(e*n)/n}!function(){function e(e,t){this._driver=e;var n=[],r=X(e,t,n);if(n.length){var i="animation validation failed:\n"+n.join("\n");throw new Error(i)}this._animationAst=r}e.prototype.buildTimelines=function(e,t,n,r,i){var a=Array.isArray(t)?I(t):t,o=Array.isArray(n)?I(n):n,s=[];i=i||new oe;var l=ce(this._driver,e,this._animationAst,"ng-enter","ng-leave",a,o,r,i,s);if(s.length){var c="animation building failed:\n"+s.join("\n");throw new Error(c)}return l}}(); /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */var ge,ye,be=function(){},ve=(function(){function e(){}e.prototype.normalizePropertyName=function(e,t){return e},e.prototype.normalizeStyleValue=function(e,t,n,r){return n}}(),function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(r.c)(t,e),t.prototype.normalizePropertyName=function(e,t){return V(e)},t.prototype.normalizeStyleValue=function(e,t,n,r){var i="",a=n.toString().trim();if(ke[t]&&0!==n&&"0"!==n)if("number"==typeof n)i="px";else{var o=n.match(/^[+-]?[\d\.]+([a-z]*)$/);o&&0==o[1].length&&r.push("Please provide a CSS unit value for "+e+":"+n)}return a+i},t}(be)),ke=(ge="width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(","),ye={},ge.forEach((function(e){return ye[e]=!0})),ye);function we(e,t,n,r,i,a,o,s,l,c,u,d,h){return{type:0,element:e,triggerName:t,isRemovalTransition:i,fromState:n,fromStyles:a,toState:r,toStyles:o,timelines:s,queriedElements:l,preStyleProps:c,postStyleProps:u,totalTime:d,errors:h}}var _e={},je=function(){function e(e,t,n){this._triggerName=e,this.ast=t,this._stateStyles=n}return e.prototype.match=function(e,t,n,r){return function(e,t,n,r,i){return e.some((function(e){return e(t,n,r,i)}))}(this.ast.matchers,e,t,n,r)},e.prototype.buildStyles=function(e,t,n){var r=this._stateStyles["*"],i=this._stateStyles[e],a=r?r.buildStyles(t,n):{};return i?i.buildStyles(t,n):a},e.prototype.build=function(e,t,n,i,a,o,s,l,c,u){var d=[],p=this.ast.options&&this.ast.options.params||_e,f=s&&s.params||_e,m=this.buildStyles(n,f,d),g=l&&l.params||_e,y=this.buildStyles(i,g,d),b=new Set,v=new Map,k=new Map,w="void"===i,_={params:Object(r.a)(Object(r.a)({},p),g)},j=u?[]:ce(e,t,this.ast.animation,a,o,m,y,_,c,d),C=0;if(j.forEach((function(e){C=Math.max(e.duration+e.delay,C)})),d.length)return we(t,this._triggerName,n,i,w,m,y,[],[],v,k,C,d);j.forEach((function(e){var n=e.element,r=h(v,n,{});e.preStyleProps.forEach((function(e){return r[e]=!0}));var i=h(k,n,{});e.postStyleProps.forEach((function(e){return i[e]=!0})),n!==t&&b.add(n)}));var x=F(b.values());return we(t,this._triggerName,n,i,w,m,y,j,x,v,k,C)},e}();var Ce=function(){function e(e,t){this.styles=e,this.defaultParams=t}return e.prototype.buildStyles=function(e,t){var n={},r=z(this.defaultParams);return Object.keys(e).forEach((function(t){var n=e[t];null!=n&&(r[t]=n)})),this.styles.styles.forEach((function(e){if("string"!=typeof e){var i=e;Object.keys(i).forEach((function(e){var a=i[e];a.length>1&&(a=L(a,r,t)),n[e]=a}))}})),n},e}();var xe=function(){function e(e,t){var n,r,i=this;this.name=e,this.ast=t,this.transitionFactories=[],this.states={},t.states.forEach((function(e){var t=e.options&&e.options.params||{};i.states[e.name]=new Ce(e.style,t)})),Ee(this.states,"true","1"),Ee(this.states,"false","0"),t.transitions.forEach((function(t){i.transitionFactories.push(new je(e,t,i.states))})),this.fallbackTransition=(n=e,r=this.states,new je(n,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(e,t){return!0}],options:null,queryCount:0,depCount:0},r))}return Object.defineProperty(e.prototype,"containsQueries",{get:function(){return this.ast.queryCount>0},enumerable:!0,configurable:!0}),e.prototype.matchTransition=function(e,t,n,r){return this.transitionFactories.find((function(i){return i.match(e,t,n,r)}))||null},e.prototype.matchStyles=function(e,t,n){return this.fallbackTransition.buildStyles(e,t,n)},e}();function Ee(e,t,n){e.hasOwnProperty(t)?e.hasOwnProperty(n)||(e[n]=e[t]):e.hasOwnProperty(n)&&(e[t]=e[n])} /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */var Se=new oe,Te=function(){function e(e,t,n){this.bodyNode=e,this._driver=t,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}return e.prototype.register=function(e,t){var n=[],r=X(this._driver,t,n);if(n.length)throw new Error("Unable to build the animation due to the following errors: "+n.join("\n"));this._animations[e]=r},e.prototype._buildPlayer=function(e,t,n){var r=e.element,i=l(this._driver,this._normalizer,0,e.keyframes,t,n);return this._driver.animate(r,i,e.duration,e.delay,e.easing,[],!0)},e.prototype.create=function(e,t,n){var r=this;void 0===n&&(n={});var a,o=[],l=this._animations[e],c=new Map;if(l?(a=ce(this._driver,t,l,"ng-enter","ng-leave",{},{},n,Se,o)).forEach((function(e){var t=h(c,e.element,{});e.postStyleProps.forEach((function(e){return t[e]=null}))})):(o.push("The requested animation doesn't exist or has already been destroyed"),a=[]),o.length)throw new Error("Unable to create the animation due to the following errors: "+o.join("\n"));c.forEach((function(e,t){Object.keys(e).forEach((function(n){e[n]=r._driver.computeStyle(t,n,i.a)}))}));var u=s(a.map((function(e){var t=c.get(e.element);return r._buildPlayer(e,{},t)})));return this._playersById[e]=u,u.onDestroy((function(){return r.destroy(e)})),this.players.push(u),u},e.prototype.destroy=function(e){var t=this._getPlayer(e);t.destroy(),delete this._playersById[e];var n=this.players.indexOf(t);n>=0&&this.players.splice(n,1)},e.prototype._getPlayer=function(e){var t=this._playersById[e];if(!t)throw new Error("Unable to find the timeline player referenced by "+e);return t},e.prototype.listen=function(e,t,n,r){var i=d(t,"","","");return c(this._getPlayer(e),n,i,r),function(){}},e.prototype.command=function(e,t,n,r){if("register"!=n)if("create"!=n){var i=this._getPlayer(e);switch(n){case"play":i.play();break;case"pause":i.pause();break;case"reset":i.reset();break;case"restart":i.restart();break;case"finish":i.finish();break;case"init":i.init();break;case"setPosition":i.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(e)}}else{var a=r[0]||{};this.create(e,t,a)}else this.register(e,r[0])},e}(),Oe=[],ze={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Ie={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},De=function(){function e(e,t){void 0===t&&(t=""),this.namespaceId=t;var n=e&&e.hasOwnProperty("value"),r=n?e.value:e;if(this.value=function(e){return null!=e?e:null}(r),n){var i=z(e);delete i.value,this.options=i}else this.options={};this.options.params||(this.options.params={})}return Object.defineProperty(e.prototype,"params",{get:function(){return this.options.params},enumerable:!0,configurable:!0}),e.prototype.absorbOptions=function(e){var t=e.params;if(t){var n=this.options.params;Object.keys(t).forEach((function(e){null==n[e]&&(n[e]=t[e])}))}},e}(),Ae=new De("void"),Ne=function(){function e(e,t,n){this.id=e,this.hostElement=t,this._engine=n,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,Fe(t,this._hostClassName)}return e.prototype.listen=function(e,t,n,r){var i,a=this;if(!this._triggers.hasOwnProperty(t))throw new Error('Unable to listen on the animation trigger event "'+n+'" because the animation trigger "'+t+"\" doesn't exist!");if(null==n||0==n.length)throw new Error('Unable to listen on the animation trigger "'+t+'" because the provided event is undefined!');if("start"!=(i=n)&&"done"!=i)throw new Error('The provided animation trigger event "'+n+'" for the animation trigger "'+t+'" is not supported!');var o=h(this._elementListeners,e,[]),s={name:t,phase:n,callback:r};o.push(s);var l=h(this._engine.statesByElement,e,{});return l.hasOwnProperty(t)||(Fe(e,"ng-trigger"),Fe(e,"ng-trigger-"+t),l[t]=Ae),function(){a._engine.afterFlush((function(){var e=o.indexOf(s);e>=0&&o.splice(e,1),a._triggers[t]||delete l[t]}))}},e.prototype.register=function(e,t){return!this._triggers[e]&&(this._triggers[e]=t,!0)},e.prototype._getTrigger=function(e){var t=this._triggers[e];if(!t)throw new Error('The provided animation trigger "'+e+'" has not been registered!');return t},e.prototype.trigger=function(e,t,n,r){var i=this;void 0===r&&(r=!0);var a=this._getTrigger(t),o=new Re(this.id,t,e),s=this._engine.statesByElement.get(e);s||(Fe(e,"ng-trigger"),Fe(e,"ng-trigger-"+t),this._engine.statesByElement.set(e,s={}));var l=s[t],c=new De(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),s[t]=c,l||(l=Ae),"void"===c.value||l.value!==c.value){var u=h(this._engine.playersByElement,e,[]);u.forEach((function(e){e.namespaceId==i.id&&e.triggerName==t&&e.queued&&e.destroy()}));var d=a.matchTransition(l.value,c.value,e,c.params),p=!1;if(!d){if(!r)return;d=a.fallbackTransition,p=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:d,fromState:l,toState:c,player:o,isFallbackTransition:p}),p||(Fe(e,"ng-animate-queued"),o.onStart((function(){Ue(e,"ng-animate-queued")}))),o.onDone((function(){var t=i.players.indexOf(o);t>=0&&i.players.splice(t,1);var n=i._engine.playersByElement.get(e);if(n){var r=n.indexOf(o);r>=0&&n.splice(r,1)}})),this.players.push(o),u.push(o),o}if(!function(e,t){var n=Object.keys(e),r=Object.keys(t);if(n.length!=r.length)return!1;for(var i=0;i=0){for(var r=!1,i=n;i>=0;i--){var a=this._namespaceList[i];if(this.driver.containsElement(a.hostElement,t)){this._namespaceList.splice(i+1,0,e),r=!0;break}}r||this._namespaceList.splice(0,0,e)}else this._namespaceList.push(e);return this.namespacesByHostElement.set(t,e),e},e.prototype.register=function(e,t){var n=this._namespaceLookup[e];return n||(n=this.createNamespace(e,t)),n},e.prototype.registerTrigger=function(e,t,n){var r=this._namespaceLookup[e];r&&r.register(t,n)&&this.totalAnimations++},e.prototype.destroy=function(e,t){var n=this;if(e){var r=this._fetchNamespace(e);this.afterFlush((function(){n.namespacesByHostElement.delete(r.hostElement),delete n._namespaceLookup[e];var t=n._namespaceList.indexOf(r);t>=0&&n._namespaceList.splice(t,1)})),this.afterFlushAnimationsDone((function(){return r.destroy(t)}))}},e.prototype._fetchNamespace=function(e){return this._namespaceLookup[e]},e.prototype.fetchNamespacesByElement=function(e){var t=new Set,n=this.statesByElement.get(e);if(n)for(var r=Object.keys(n),i=0;i=0&&this.collectedLeaveElements.splice(a,1)}if(e){var o=this._fetchNamespace(e);o&&o.insertNode(t,n)}r&&this.collectEnterElement(t)}},e.prototype.collectEnterElement=function(e){this.collectedEnterElements.push(e)},e.prototype.markElementAsDisabled=function(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),Fe(e,"ng-animate-disabled")):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),Ue(e,"ng-animate-disabled"))},e.prototype.removeNode=function(e,t,n,r){if(Me(t)){var i=e?this._fetchNamespace(e):null;if(i?i.removeNode(t,r):this.markElementAsRemoved(e,t,!1,r),n){var a=this.namespacesByHostElement.get(t);a&&a.id!==e&&a.removeNode(t,r)}}else this._onRemovalComplete(t,r)},e.prototype.markElementAsRemoved=function(e,t,n,r){this.collectedLeaveElements.push(t),t.__ng_removed={namespaceId:e,setForRemoval:r,hasAnimation:n,removedBeforeQueried:!1}},e.prototype.listen=function(e,t,n,r,i){return Me(t)?this._fetchNamespace(e).listen(t,n,r,i):function(){}},e.prototype._buildInstruction=function(e,t,n,r,i){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,n,r,e.fromState.options,e.toState.options,t,i)},e.prototype.destroyInnerAnimations=function(e){var t=this,n=this.driver.query(e,".ng-trigger",!0);n.forEach((function(e){return t.destroyActiveAnimationsForElement(e)})),0!=this.playersByQueriedElement.size&&(n=this.driver.query(e,".ng-animating",!0)).forEach((function(e){return t.finishActiveQueriedAnimationOnElement(e)}))},e.prototype.destroyActiveAnimationsForElement=function(e){var t=this.playersByElement.get(e);t&&t.forEach((function(e){e.queued?e.markedForDestroy=!0:e.destroy()}))},e.prototype.finishActiveQueriedAnimationOnElement=function(e){var t=this.playersByQueriedElement.get(e);t&&t.forEach((function(e){return e.finish()}))},e.prototype.whenRenderingDone=function(){var e=this;return new Promise((function(t){if(e.players.length)return s(e.players).onDone((function(){return t()}));t()}))},e.prototype.processLeaveNode=function(e){var t=this,n=e.__ng_removed;if(n&&n.setForRemoval){if(e.__ng_removed=ze,n.namespaceId){this.destroyInnerAnimations(e);var r=this._fetchNamespace(n.namespaceId);r&&r.clearElementCache(e)}this._onRemovalComplete(e,n.setForRemoval)}this.driver.matchesElement(e,".ng-animate-disabled")&&this.markElementAsDisabled(e,!1),this.driver.query(e,".ng-animate-disabled",!0).forEach((function(e){t.markElementAsDisabled(e,!1)}))},e.prototype.flush=function(e){var t=this;void 0===e&&(e=-1);var n=[];if(this.newHostElements.size&&(this.newHostElements.forEach((function(e,n){return t._balanceNamespaceList(e,n)})),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(var r=0;r=0;T--){this._namespaceList[T].drainQueuedTransitions(t).forEach((function(e){var t=e.player,r=e.element;if(E.push(t),n.collectedEnterElements.length){var i=r.__ng_removed;if(i&&i.setForMove)return void t.destroy()}var s=!m||!n.driver.containsElement(m,r),l=C.get(r),f=b.get(r),g=n._buildInstruction(e,a,f,l,s);if(g.errors&&g.errors.length)S.push(g);else{if(s)return t.onStart((function(){return R(r,g.fromStyles)})),t.onDestroy((function(){return P(r,g.toStyles)})),void o.push(t);if(e.isFallbackTransition)return t.onStart((function(){return R(r,g.fromStyles)})),t.onDestroy((function(){return P(r,g.toStyles)})),void o.push(t);g.timelines.forEach((function(e){return e.stretchStartingKeyframe=!0})),a.append(r,g.timelines);var y={instruction:g,player:t,element:r};c.push(y),g.queriedElements.forEach((function(e){return h(u,e,[]).push(t)})),g.preStyleProps.forEach((function(e,t){var n=Object.keys(e);if(n.length){var r=d.get(t);r||d.set(t,r=new Set),n.forEach((function(e){return r.add(e)}))}})),g.postStyleProps.forEach((function(e,t){var n=Object.keys(e),r=p.get(t);r||p.set(t,r=new Set),n.forEach((function(e){return r.add(e)}))}))}}))}if(S.length){var O=[];S.forEach((function(e){O.push("@"+e.triggerName+" has failed due to:\n"),e.errors.forEach((function(e){return O.push("- "+e+"\n")}))})),E.forEach((function(e){return e.destroy()})),this.reportError(O)}var z=new Map,I=new Map;c.forEach((function(e){var t=e.element;a.has(t)&&(I.set(t,t),n._beforeAnimationBuild(e.player.namespaceId,e.instruction,z))})),o.forEach((function(e){var t=e.element;n._getPreviousPlayers(t,!1,e.namespaceId,e.triggerName,null).forEach((function(e){h(z,t,[]).push(e),e.destroy()}))}));var D=k.filter((function(e){return He(e,d,p)})),A=new Map;Be(A,this.driver,_,p,i.a).forEach((function(e){He(e,d,p)&&D.push(e)}));var N=new Map;y.forEach((function(e,t){Be(N,n.driver,new Set(e),d,i.l)})),D.forEach((function(e){var t=A.get(e),n=N.get(e);A.set(e,Object(r.a)(Object(r.a)({},t),n))}));var M=[],q=[],B={};c.forEach((function(e){var t=e.element,r=e.player,i=e.instruction;if(a.has(t)){if(f.has(t))return r.onDestroy((function(){return P(t,i.toStyles)})),r.disabled=!0,r.overrideTotalTime(i.totalTime),void o.push(r);var c=B;if(I.size>1){for(var u=t,d=[];u=u.parentNode;){var h=I.get(u);if(h){c=h;break}d.push(u)}d.forEach((function(e){return I.set(e,c)}))}var p=n._buildAnimation(r.namespaceId,i,z,l,N,A);if(r.setRealPlayer(p),c===B)M.push(r);else{var m=n.playersByElement.get(c);m&&m.length&&(r.parentPlayer=s(m)),o.push(r)}}else R(t,i.fromStyles),r.onDestroy((function(){return P(t,i.toStyles)})),q.push(r),f.has(t)&&o.push(r)})),q.forEach((function(e){var t=l.get(e.element);if(t&&t.length){var n=s(t);e.setRealPlayer(n)}})),o.forEach((function(e){e.parentPlayer?e.syncPlayerEvents(e.parentPlayer):e.destroy()}));for(var L=0;L0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,n):new i.d(e.duration,e.delay)},e}(),Re=function(){function e(e,t,n){this.namespaceId=e,this.triggerName=t,this.element=n,this._player=new i.d,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}return e.prototype.setRealPlayer=function(e){var t=this;this._containsRealPlayer||(this._player=e,Object.keys(this._queuedCallbacks).forEach((function(n){t._queuedCallbacks[n].forEach((function(t){return c(e,n,void 0,t)}))})),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)},e.prototype.getRealPlayer=function(){return this._player},e.prototype.overrideTotalTime=function(e){this.totalTime=e},e.prototype.syncPlayerEvents=function(e){var t=this,n=this._player;n.triggerCallback&&e.onStart((function(){return n.triggerCallback("start")})),e.onDone((function(){return t.finish()})),e.onDestroy((function(){return t.destroy()}))},e.prototype._queueEvent=function(e,t){h(this._queuedCallbacks,e,[]).push(t)},e.prototype.onDone=function(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)},e.prototype.onStart=function(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)},e.prototype.onDestroy=function(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)},e.prototype.init=function(){this._player.init()},e.prototype.hasStarted=function(){return!this.queued&&this._player.hasStarted()},e.prototype.play=function(){!this.queued&&this._player.play()},e.prototype.pause=function(){!this.queued&&this._player.pause()},e.prototype.restart=function(){!this.queued&&this._player.restart()},e.prototype.finish=function(){this._player.finish()},e.prototype.destroy=function(){this.destroyed=!0,this._player.destroy()},e.prototype.reset=function(){!this.queued&&this._player.reset()},e.prototype.setPosition=function(e){this.queued||this._player.setPosition(e)},e.prototype.getPosition=function(){return this.queued?0:this._player.getPosition()},e.prototype.triggerCallback=function(e){var t=this._player;t.triggerCallback&&t.triggerCallback(e)},e}();function Me(e){return e&&1===e.nodeType}function qe(e,t){var n=e.style.display;return e.style.display=null!=t?t:"none",n}function Be(e,t,n,r,i){var a=[];n.forEach((function(e){return a.push(qe(e))}));var o=[];r.forEach((function(n,r){var a={};n.forEach((function(e){var n=a[e]=t.computeStyle(r,e,i);n&&0!=n.length||(r.__ng_removed=Ie,o.push(r))})),e.set(r,a)}));var s=0;return n.forEach((function(e){return qe(e,a[s++])})),o}function Le(e,t){var n=new Map;if(e.forEach((function(e){return n.set(e,[])})),0==t.length)return n;var r=new Set(t),i=new Map;return t.forEach((function(e){var t=function e(t){if(!t)return 1;var a=i.get(t);if(a)return a;var o=t.parentNode;return a=n.has(o)?o:r.has(o)?1:e(o),i.set(t,a),a}(e);1!==t&&n.get(t).push(e)})),n}function Fe(e,t){if(e.classList)e.classList.add(t);else{var n=e.$$classes;n||(n=e.$$classes={}),n[t]=!0}}function Ue(e,t){if(e.classList)e.classList.remove(t);else{var n=e.$$classes;n&&delete n[t]}}function Ve(e,t,n){s(n).onDone((function(){return e.processLeaveNode(t)}))}function He(e,t,n){var r=n.get(e);if(!r)return!1;var i=t.get(e);return i?r.forEach((function(e){return i.add(e)})):t.set(e,r),n.delete(e),!0}var Ke=function(){function e(e,t,n){var r=this;this.bodyNode=e,this._driver=t,this._triggerCache={},this.onRemovalComplete=function(e,t){},this._transitionEngine=new Pe(e,t,n),this._timelineEngine=new Te(e,t,n),this._transitionEngine.onRemovalComplete=function(e,t){return r.onRemovalComplete(e,t)}}return e.prototype.registerTrigger=function(e,t,n,r,i){var a=e+"-"+r,o=this._triggerCache[a];if(!o){var s=[],l=X(this._driver,i,s);if(s.length)throw new Error('The animation trigger "'+r+'" has failed to build due to the following errors:\n - '+s.join("\n - "));o=function(e,t){return new xe(e,t)}(r,l),this._triggerCache[a]=o}this._transitionEngine.registerTrigger(t,r,o)},e.prototype.register=function(e,t){this._transitionEngine.register(e,t)},e.prototype.destroy=function(e,t){this._transitionEngine.destroy(e,t)},e.prototype.onInsert=function(e,t,n,r){this._transitionEngine.insertNode(e,t,n,r)},e.prototype.onRemove=function(e,t,n,r){this._transitionEngine.removeNode(e,t,r||!1,n)},e.prototype.disableAnimations=function(e,t){this._transitionEngine.markElementAsDisabled(e,t)},e.prototype.process=function(e,t,n,i){if("@"==n.charAt(0)){var a=Object(r.f)(p(n),2),o=a[0],s=a[1],l=i;this._timelineEngine.command(o,t,s,l)}else this._transitionEngine.trigger(e,t,n,i)},e.prototype.listen=function(e,t,n,i,a){if("@"==n.charAt(0)){var o=Object(r.f)(p(n),2),s=o[0],l=o[1];return this._timelineEngine.listen(s,t,l,a)}return this._transitionEngine.listen(e,t,n,i,a)},e.prototype.flush=function(e){void 0===e&&(e=-1),this._transitionEngine.flush(e)},Object.defineProperty(e.prototype,"players",{get:function(){return this._transitionEngine.players.concat(this._timelineEngine.players)},enumerable:!0,configurable:!0}),e.prototype.whenRenderingDone=function(){return this._transitionEngine.whenRenderingDone()},e}(); /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */function We(e,t){var n=null,r=null;return Array.isArray(t)&&t.length?(n=Qe(t[0]),t.length>1&&(r=Qe(t[t.length-1]))):t&&(n=Qe(t)),n||r?new Ge(e,n,r):null}var Ge=function(){function e(t,n,r){this._element=t,this._startStyles=n,this._endStyles=r,this._state=0;var i=e.initialStylesByElement.get(t);i||e.initialStylesByElement.set(t,i={}),this._initialStyles=i}return e.prototype.start=function(){this._state<1&&(this._startStyles&&P(this._element,this._startStyles,this._initialStyles),this._state=1)},e.prototype.finish=function(){this.start(),this._state<2&&(P(this._element,this._initialStyles),this._endStyles&&(P(this._element,this._endStyles),this._endStyles=null),this._state=1)},e.prototype.destroy=function(){this.finish(),this._state<3&&(e.initialStylesByElement.delete(this._element),this._startStyles&&(R(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(R(this._element,this._endStyles),this._endStyles=null),P(this._element,this._initialStyles),this._state=3)},e.initialStylesByElement=new WeakMap,e}();function Qe(e){for(var t=null,n=Object.keys(e),r=0;r=this._delay&&n>=this._duration&&this.finish()},e.prototype.finish=function(){this._finished||(this._finished=!0,this._onDoneFn(),et(this._element,this._eventFn,!0))},e.prototype.destroy=function(){this._destroyed||(this._destroyed=!0,this.finish(),function(e,t){var n=nt(e,"").split(","),r=Xe(n,t);if(r>=0){n.splice(r,1);var i=n.join(",");tt(e,"",i)}}(this._element,this._name))},e}();function Ze(e,t,n){tt(e,"PlayState",n,Je(e,t))}function Je(e,t){var n=nt(e,"");return n.indexOf(",")>0?Xe(n.split(","),t):Xe([n],t)}function Xe(e,t){for(var n=0;n=0)return n;return-1}function et(e,t,n){n?e.removeEventListener("animationend",t):e.addEventListener("animationend",t)}function tt(e,t,n,r){var i="animation"+t;if(null!=r){var a=e.style[i];if(a.length){var o=a.split(",");o[r]=n,n=o.join(",")}}e.style[i]=n}function nt(e,t){return e.style["animation"+t]}var rt=function(){function e(e,t,n,r,i,a,o,s){this.element=e,this.keyframes=t,this.animationName=n,this._duration=r,this._delay=i,this._finalStyles=o,this._specialStyles=s,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=a||"linear",this.totalTime=r+i,this._buildStyler()}return e.prototype.onStart=function(e){this._onStartFns.push(e)},e.prototype.onDone=function(e){this._onDoneFns.push(e)},e.prototype.onDestroy=function(e){this._onDestroyFns.push(e)},e.prototype.destroy=function(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach((function(e){return e()})),this._onDestroyFns=[])},e.prototype._flushDoneFns=function(){this._onDoneFns.forEach((function(e){return e()})),this._onDoneFns=[]},e.prototype._flushStartFns=function(){this._onStartFns.forEach((function(e){return e()})),this._onStartFns=[]},e.prototype.finish=function(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())},e.prototype.setPosition=function(e){this._styler.setPosition(e)},e.prototype.getPosition=function(){return this._styler.getPosition()},e.prototype.hasStarted=function(){return this._state>=2},e.prototype.init=function(){if(!(this._state>=1)){this._state=1;this.element;this._styler.apply(),this._delay&&this._styler.pause()}},e.prototype.play=function(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()},e.prototype.pause=function(){this.init(),this._styler.pause()},e.prototype.restart=function(){this.reset(),this.play()},e.prototype.reset=function(){this._styler.destroy(),this._buildStyler(),this._styler.apply()},e.prototype._buildStyler=function(){var e=this;this._styler=new Ye(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",(function(){return e.finish()}))},e.prototype.triggerCallback=function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach((function(e){return e()})),t.length=0},e.prototype.beforeDestroy=function(){var e=this;this.init();var t={};if(this.hasStarted()){var n=this._state>=3;Object.keys(this._finalStyles).forEach((function(r){"offset"!=r&&(t[r]=n?e._finalStyles[r]:G(e.element,r))}))}this.currentSnapshot=t},e}(),it=function(e){function t(t,n){var r=e.call(this)||this;return r.element=t,r._startingStyles={},r.__initialized=!1,r._styles=C(n),r}return Object(r.c)(t,e),t.prototype.init=function(){var t=this;!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach((function(e){t._startingStyles[e]=t.element.style[e]})),e.prototype.init.call(this))},t.prototype.play=function(){var t=this;this._startingStyles&&(this.init(),Object.keys(this._styles).forEach((function(e){return t.element.style.setProperty(e,t._styles[e])})),e.prototype.play.call(this))},t.prototype.destroy=function(){var t=this;this._startingStyles&&(Object.keys(this._startingStyles).forEach((function(e){var n=t._startingStyles[e];n?t.element.style.setProperty(e,n):t.element.style.removeProperty(e)})),this._startingStyles=null,e.prototype.destroy.call(this))},t}(i.d),at=function(){function e(){this._count=0,this._head=document.querySelector("head"),this._warningIssued=!1}return e.prototype.validateStyleProperty=function(e){return k(e)},e.prototype.matchesElement=function(e,t){return w(e,t)},e.prototype.containsElement=function(e,t){return _(e,t)},e.prototype.query=function(e,t,n){return j(e,t,n)},e.prototype.computeStyle=function(e,t,n){return window.getComputedStyle(e)[t]},e.prototype.buildKeyframeElement=function(e,t,n){n=n.map((function(e){return C(e)}));var r="@keyframes "+t+" {\n",i="";n.forEach((function(e){i=" ";var t=parseFloat(e.offset);r+=""+i+100*t+"% {\n",i+=" ",Object.keys(e).forEach((function(t){var n=e[t];switch(t){case"offset":return;case"easing":return void(n&&(r+=i+"animation-timing-function: "+n+";\n"));default:return void(r+=""+i+t+": "+n+";\n")}})),r+=i+"}\n"})),r+="}\n";var a=document.createElement("style");return a.innerHTML=r,a},e.prototype.animate=function(e,t,n,r,i,a,o){void 0===a&&(a=[]),o&&this._notifyFaultyScrubber();var s=a.filter((function(e){return e instanceof rt})),l={};H(n,r)&&s.forEach((function(e){var t=e.currentSnapshot;Object.keys(t).forEach((function(e){return l[e]=t[e]}))}));var c=function(e){var t={};if(e){(Array.isArray(e)?e:[e]).forEach((function(e){Object.keys(e).forEach((function(n){"offset"!=n&&"easing"!=n&&(t[n]=e[n])}))}))}return t}(t=K(e,t,l));if(0==n)return new it(e,c);var u="gen_css_kf_"+this._count++,d=this.buildKeyframeElement(e,u,t);document.querySelector("head").appendChild(d);var h=We(e,t),p=new rt(e,t,u,n,r,i,c,h);return p.onDestroy((function(){var e;(e=d).parentNode.removeChild(e)})),p},e.prototype._notifyFaultyScrubber=function(){this._warningIssued||(console.warn("@angular/animations: please load the web-animations.js polyfill to allow programmatic access...\n"," visit http://bit.ly/IWukam to learn more about using the web-animation-js polyfill."),this._warningIssued=!0)},e}();var ot=function(){function e(e,t,n,r){this.element=e,this.keyframes=t,this.options=n,this._specialStyles=r,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}return e.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach((function(e){return e()})),this._onDoneFns=[])},e.prototype.init=function(){this._buildPlayer(),this._preparePlayerBeforeStart()},e.prototype._buildPlayer=function(){var e=this;if(!this._initialized){this._initialized=!0;var t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:{},this.domPlayer.addEventListener("finish",(function(){return e._onFinish()}))}},e.prototype._preparePlayerBeforeStart=function(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()},e.prototype._triggerWebAnimation=function(e,t,n){return e.animate(t,n)},e.prototype.onStart=function(e){this._onStartFns.push(e)},e.prototype.onDone=function(e){this._onDoneFns.push(e)},e.prototype.onDestroy=function(e){this._onDestroyFns.push(e)},e.prototype.play=function(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach((function(e){return e()})),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()},e.prototype.pause=function(){this.init(),this.domPlayer.pause()},e.prototype.finish=function(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()},e.prototype.reset=function(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1},e.prototype._resetDomPlayerState=function(){this.domPlayer&&this.domPlayer.cancel()},e.prototype.restart=function(){this.reset(),this.play()},e.prototype.hasStarted=function(){return this._started},e.prototype.destroy=function(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach((function(e){return e()})),this._onDestroyFns=[])},e.prototype.setPosition=function(e){this.domPlayer.currentTime=e*this.time},e.prototype.getPosition=function(){return this.domPlayer.currentTime/this.time},Object.defineProperty(e.prototype,"totalTime",{get:function(){return this._delay+this._duration},enumerable:!0,configurable:!0}),e.prototype.beforeDestroy=function(){var e=this,t={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach((function(n){"offset"!=n&&(t[n]=e._finished?e._finalKeyframe[n]:G(e.element,n))})),this.currentSnapshot=t},e.prototype.triggerCallback=function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach((function(e){return e()})),t.length=0},e}(),st=function(){function e(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(ct().toString()),this._cssKeyframesDriver=new at}return e.prototype.validateStyleProperty=function(e){return k(e)},e.prototype.matchesElement=function(e,t){return w(e,t)},e.prototype.containsElement=function(e,t){return _(e,t)},e.prototype.query=function(e,t,n){return j(e,t,n)},e.prototype.computeStyle=function(e,t,n){return window.getComputedStyle(e)[t]},e.prototype.overrideWebAnimationsSupport=function(e){this._isNativeImpl=e},e.prototype.animate=function(e,t,n,r,i,a,o){if(void 0===a&&(a=[]),!o&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(e,t,n,r,i,a);var s={duration:n,delay:r,fill:0==r?"both":"forwards"};i&&(s.easing=i);var l={},c=a.filter((function(e){return e instanceof ot}));H(n,r)&&c.forEach((function(e){var t=e.currentSnapshot;Object.keys(t).forEach((function(e){return l[e]=t[e]}))}));var u=We(e,t=K(e,t=t.map((function(e){return D(e,!1)})),l));return new ot(e,t,s,u)},e}();function lt(){return"function"==typeof ct()}function ct(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}} /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */}).call(this,n(126))},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var r=n(2),i=n(55),a=n(21);e.exports=function(e,t){var n=(i.Object||{})[e]||Object[e],o={};o[e]=t(n),r(r.S+r.F*a((function(){n(1)})),"Object",o)}},function(e,t,n){var r=n(62),i=n(115),a=n(42),o=n(31),s=n(234);e.exports=function(e,t){var n=1==e,l=2==e,c=3==e,u=4==e,d=6==e,h=5==e||d,p=t||s;return function(t,s,f){for(var m,g,y=a(t),b=i(y),v=r(s,f,3),k=o(b.length),w=0,_=n?p(t,k):l?p(t,0):void 0;k>w;w++)if((h||w in b)&&(g=v(m=b[w],w,y),e))if(n)_[w]=g;else if(g)switch(e){case 3:return!0;case 5:return m;case 6:return w;case 2:_.push(m)}else if(u)return!1;return d?-1:c||u?u:_}}},,,function(e,t,n){"use strict";n.r(t),n.d(t,"BrowserModule",(function(){return fe})),n.d(t,"BrowserTransferStateModule",(function(){return Te})),n.d(t,"By",(function(){return Oe})),n.d(t,"DomSanitizer",(function(){return ne})),n.d(t,"EVENT_MANAGER_PLUGINS",(function(){return w})),n.d(t,"EventManager",(function(){return _})),n.d(t,"HAMMER_GESTURE_CONFIG",(function(){return V})),n.d(t,"HAMMER_LOADER",(function(){return H})),n.d(t,"HammerGestureConfig",(function(){return K})),n.d(t,"HammerModule",(function(){return Y})),n.d(t,"Meta",(function(){return ge})),n.d(t,"Title",(function(){return be})),n.d(t,"TransferState",(function(){return Ee})),n.d(t,"VERSION",(function(){return ze})),n.d(t,"disableDebugTools",(function(){return je})),n.d(t,"enableDebugTools",(function(){return _e})),n.d(t,"makeStateKey",(function(){return xe})),n.d(t,"platformBrowser",(function(){return he})),n.d(t,"ɵBROWSER_SANITIZATION_PROVIDERS",(function(){return de})),n.d(t,"ɵBROWSER_SANITIZATION_PROVIDERS__POST_R3__",(function(){return ue})),n.d(t,"ɵBrowserDomAdapter",(function(){return l})),n.d(t,"ɵBrowserGetTestability",(function(){return p})),n.d(t,"ɵDomEventsPlugin",(function(){return F})),n.d(t,"ɵDomRendererFactory2",(function(){return P})),n.d(t,"ɵDomSanitizerImpl",(function(){return ie})),n.d(t,"ɵDomSharedStylesHost",(function(){return x})),n.d(t,"ɵELEMENT_PROBE_PROVIDERS",(function(){return k})),n.d(t,"ɵELEMENT_PROBE_PROVIDERS__POST_R3__",(function(){return b})),n.d(t,"ɵHAMMER_PROVIDERS__POST_R3__",(function(){return G})),n.d(t,"ɵHammerGesturesPlugin",(function(){return W})),n.d(t,"ɵINTERNAL_BROWSER_PLATFORM_PROVIDERS",(function(){return ce})),n.d(t,"ɵKeyEventsPlugin",(function(){return te})),n.d(t,"ɵNAMESPACE_URIS",(function(){return E})),n.d(t,"ɵSharedStylesHost",(function(){return C})),n.d(t,"ɵTRANSITION_ID",(function(){return u})),n.d(t,"ɵangular_packages_platform_browser_platform_browser_a",(function(){return oe})),n.d(t,"ɵangular_packages_platform_browser_platform_browser_b",(function(){return se})),n.d(t,"ɵangular_packages_platform_browser_platform_browser_c",(function(){return pe})),n.d(t,"ɵangular_packages_platform_browser_platform_browser_d",(function(){return me})),n.d(t,"ɵangular_packages_platform_browser_platform_browser_e",(function(){return ye})),n.d(t,"ɵangular_packages_platform_browser_platform_browser_f",(function(){return Se})),n.d(t,"ɵangular_packages_platform_browser_platform_browser_g",(function(){return j})),n.d(t,"ɵangular_packages_platform_browser_platform_browser_h",(function(){return Q})),n.d(t,"ɵangular_packages_platform_browser_platform_browser_i",(function(){return $})),n.d(t,"ɵangular_packages_platform_browser_platform_browser_j",(function(){return re})),n.d(t,"ɵangular_packages_platform_browser_platform_browser_k",(function(){return d})),n.d(t,"ɵangular_packages_platform_browser_platform_browser_l",(function(){return h})),n.d(t,"ɵangular_packages_platform_browser_platform_browser_m",(function(){return y})),n.d(t,"ɵangular_packages_platform_browser_platform_browser_n",(function(){return v})),n.d(t,"ɵangular_packages_platform_browser_platform_browser_o",(function(){return s})),n.d(t,"ɵescapeHtml",(function(){return Ce})),n.d(t,"ɵflattenStyles",(function(){return A})),n.d(t,"ɵinitDomAdapter",(function(){return ae})),n.d(t,"ɵshimContentAttribute",(function(){return I})),n.d(t,"ɵshimHostAttribute",(function(){return D}));var r=n(1),i=n(4),a=n(0);n.d(t,"ɵgetDOM",(function(){return i["ɵgetDOM"]})); /** * @license Angular v9.1.12 * (c) 2010-2020 Google LLC. https://angular.io/ * License: MIT */ /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ var o,s=function(e){function t(){return e.call(this)||this}return Object(r.c)(t,e),t.prototype.supportsDOMEvents=function(){return!0},t}(i["ɵDomAdapter"]),l=(function(){if(a["ɵglobal"].Node)a["ɵglobal"].Node.prototype.contains}(),function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(r.c)(t,e),t.makeCurrent=function(){Object(i["ɵsetRootDomAdapter"])(new t)},t.prototype.getProperty=function(e,t){return e[t]},t.prototype.log=function(e){window.console&&window.console.log&&window.console.log(e)},t.prototype.logGroup=function(e){window.console&&window.console.group&&window.console.group(e)},t.prototype.logGroupEnd=function(){window.console&&window.console.groupEnd&&window.console.groupEnd()},t.prototype.onAndCancel=function(e,t,n){return e.addEventListener(t,n,!1),function(){e.removeEventListener(t,n,!1)}},t.prototype.dispatchEvent=function(e,t){e.dispatchEvent(t)},t.prototype.remove=function(e){return e.parentNode&&e.parentNode.removeChild(e),e},t.prototype.getValue=function(e){return e.value},t.prototype.createElement=function(e,t){return(t=t||this.getDefaultDocument()).createElement(e)},t.prototype.createHtmlDocument=function(){return document.implementation.createHTMLDocument("fakeTitle")},t.prototype.getDefaultDocument=function(){return document},t.prototype.isElementNode=function(e){return e.nodeType===Node.ELEMENT_NODE},t.prototype.isShadowRoot=function(e){return e instanceof DocumentFragment},t.prototype.getGlobalEventTarget=function(e,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null},t.prototype.getHistory=function(){return window.history},t.prototype.getLocation=function(){return window.location},t.prototype.getBaseHref=function(e){var t=function(){if(!c&&!(c=document.querySelector("base")))return null;return c.getAttribute("href")}();return null==t?null:function(e){o||(o=document.createElement("a"));return o.setAttribute("href",e),"/"===o.pathname.charAt(0)?o.pathname:"/"+o.pathname} /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */(t)},t.prototype.resetBaseElement=function(){c=null},t.prototype.getUserAgent=function(){return window.navigator.userAgent},t.prototype.performanceNow=function(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()},t.prototype.supportsCookies=function(){return!0},t.prototype.getCookie=function(e){return Object(i["ɵparseCookieValue"])(document.cookie,e)},t}(s)),c=null; /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */var u=new a.InjectionToken("TRANSITION_ID");function d(e,t,n){return function(){n.get(a.ApplicationInitStatus).donePromise.then((function(){var n=Object(i["ɵgetDOM"])();Array.prototype.slice.apply(t.querySelectorAll("style[ng-transition]")).filter((function(t){return t.getAttribute("ng-transition")===e})).forEach((function(e){return n.remove(e)}))}))}}var h=[{provide:a.APP_INITIALIZER,useFactory:d,deps:[u,i.DOCUMENT,a.Injector],multi:!0}],p=function(){function e(){}return e.init=function(){Object(a.setTestabilityGetter)(new e)},e.prototype.addToWindow=function(e){a["ɵglobal"].getAngularTestability=function(t,n){void 0===n&&(n=!0);var r=e.findTestabilityInTree(t,n);if(null==r)throw new Error("Could not find testability for element.");return r},a["ɵglobal"].getAllAngularTestabilities=function(){return e.getAllTestabilities()},a["ɵglobal"].getAllAngularRootElements=function(){return e.getAllRootElements()};a["ɵglobal"].frameworkStabilizers||(a["ɵglobal"].frameworkStabilizers=[]),a["ɵglobal"].frameworkStabilizers.push((function(e){var t=a["ɵglobal"].getAllAngularTestabilities(),n=t.length,r=!1,i=function(t){r=r||t,0==--n&&e(r)};t.forEach((function(e){e.whenStable(i)}))}))},e.prototype.findTestabilityInTree=function(e,t,n){if(null==t)return null;var r=e.getTestability(t);return null!=r?r:n?Object(i["ɵgetDOM"])().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null},e}(); /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */function f(e,t){"undefined"!=typeof COMPILED&&COMPILED||((a["ɵglobal"].ng=a["ɵglobal"].ng||{})[e]=t)} /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */var m={ApplicationRef:a.ApplicationRef,NgZone:a.NgZone};function g(e){return Object(a["ɵgetDebugNodeR2"])(e)}function y(e){return f("probe",g),f("coreTokens",Object(r.a)(Object(r.a)({},m),(e||[]).reduce((function(e,t){return e[t.name]=t.token,e}),{}))),function(){return g}}var b=[],v=[{provide:a.APP_INITIALIZER,useFactory:y,deps:[[a.NgProbeToken,new a.Optional]],multi:!0}],k=b,w=new a.InjectionToken("EventManagerPlugins"),_=function(){function e(e,t){var n=this;this._zone=t,this._eventNameToPlugin=new Map,e.forEach((function(e){return e.manager=n})),this._plugins=e.slice().reverse()}return e.prototype.addEventListener=function(e,t,n){return this._findPluginFor(t).addEventListener(e,t,n)},e.prototype.addGlobalEventListener=function(e,t,n){return this._findPluginFor(t).addGlobalEventListener(e,t,n)},e.prototype.getZone=function(){return this._zone},e.prototype._findPluginFor=function(e){var t=this._eventNameToPlugin.get(e);if(t)return t;for(var n=this._plugins,r=0;r-1},(t=Object(r.b)([Object(r.e)(0,Object(a.Inject)(i.DOCUMENT)),Object(r.e)(1,Object(a.Inject)(V)),Object(r.e)(3,Object(a.Optional)()),Object(r.e)(3,Object(a.Inject)(H)),Object(r.d)("design:paramtypes",[Object,K,a["ɵConsole"],Object])],t)).ɵfac=function(e){return new(e||t)(a["ɵɵinject"](i.DOCUMENT),a["ɵɵinject"](V),a["ɵɵinject"](a["ɵConsole"]),a["ɵɵinject"](H,8))},t.ɵprov=a["ɵɵdefineInjectable"]({token:t,factory:function(e){return t.ɵfac(e)}}),t}(j),G=[],Q=[{provide:w,useClass:W,multi:!0,deps:[i.DOCUMENT,V,a["ɵConsole"],[new a.Optional,H]]},{provide:V,useClass:K,deps:[]}],$=G,Y=function(){function e(){}return e.ɵmod=a["ɵɵdefineNgModule"]({type:e}),e.ɵinj=a["ɵɵdefineInjector"]({factory:function(t){return new(t||e)},providers:Q}),e}(),Z=["alt","control","meta","shift"],J={"\b":"Backspace","\t":"Tab","":"Delete","":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},X={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","":"NumLock"},ee={alt:function(e){return e.altKey},control:function(e){return e.ctrlKey},meta:function(e){return e.metaKey},shift:function(e){return e.shiftKey}},te=function(e){function t(t){return e.call(this,t)||this}var n;return Object(r.c)(t,e),n=t,t.prototype.supports=function(e){return null!=n.parseEventName(e)},t.prototype.addEventListener=function(e,t,r){var a=n.parseEventName(t),o=n.eventCallback(a.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular((function(){return Object(i["ɵgetDOM"])().onAndCancel(e,a.domEventName,o)}))},t.parseEventName=function(e){var t=e.toLowerCase().split("."),r=t.shift();if(0===t.length||"keydown"!==r&&"keyup"!==r)return null;var i=n._normalizeKey(t.pop()),a="";if(Z.forEach((function(e){var n=t.indexOf(e);n>-1&&(t.splice(n,1),a+=e+".")})),a+=i,0!=t.length||0===i.length)return null;var o={};return o.domEventName=r,o.fullKey=a,o},t.getEventFullKey=function(e){var t="",n=function(e){var t=e.key;if(null==t){if(null==(t=e.keyIdentifier))return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),3===e.location&&X.hasOwnProperty(t)&&(t=X[t]))}return J[t]||t}(e);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),Z.forEach((function(r){r!=n&&((0,ee[r])(e)&&(t+=r+"."))})),t+=n},t.eventCallback=function(e,t,r){return function(i){n.getEventFullKey(i)===e&&r.runGuarded((function(){return t(i)}))}},t._normalizeKey=function(e){switch(e){case"esc":return"escape";default:return e}},(t=n=Object(r.b)([Object(r.e)(0,Object(a.Inject)(i.DOCUMENT)),Object(r.d)("design:paramtypes",[Object])],t)).ɵfac=function(e){return new(e||t)(a["ɵɵinject"](i.DOCUMENT))},t.ɵprov=a["ɵɵdefineInjectable"]({token:t,factory:function(e){return t.ɵfac(e)}}),t}(j);var ne=function(){function e(){}return e.ɵprov=Object(a["ɵɵdefineInjectable"])({factory:function(){return Object(a["ɵɵinject"])(ie)},token:e,providedIn:"root"}),e.ɵfac=function(t){return new(t||e)},e}();function re(e){return new ie(e.get(i.DOCUMENT))}var ie=function(e){function t(t){var n=e.call(this)||this;return n._doc=t,n}return Object(r.c)(t,e),t.prototype.sanitize=function(e,t){if(null==t)return null;switch(e){case a.SecurityContext.NONE:return t;case a.SecurityContext.HTML:return Object(a["ɵallowSanitizationBypassAndThrow"])(t,"HTML")?Object(a["ɵunwrapSafeValue"])(t):Object(a["ɵ_sanitizeHtml"])(this._doc,String(t));case a.SecurityContext.STYLE:return Object(a["ɵallowSanitizationBypassAndThrow"])(t,"Style")?Object(a["ɵunwrapSafeValue"])(t):Object(a["ɵ_sanitizeStyle"])(t);case a.SecurityContext.SCRIPT:if(Object(a["ɵallowSanitizationBypassAndThrow"])(t,"Script"))return Object(a["ɵunwrapSafeValue"])(t);throw new Error("unsafe value used in a script context");case a.SecurityContext.URL:Object(a["ɵgetSanitizationBypassType"])(t);return Object(a["ɵallowSanitizationBypassAndThrow"])(t,"URL")?Object(a["ɵunwrapSafeValue"])(t):Object(a["ɵ_sanitizeUrl"])(String(t));case a.SecurityContext.RESOURCE_URL:if(Object(a["ɵallowSanitizationBypassAndThrow"])(t,"ResourceURL"))return Object(a["ɵunwrapSafeValue"])(t);throw new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext "+e+" (see http://g.co/ng/security#xss)")}},t.prototype.bypassSecurityTrustHtml=function(e){return Object(a["ɵbypassSanitizationTrustHtml"])(e)},t.prototype.bypassSecurityTrustStyle=function(e){return Object(a["ɵbypassSanitizationTrustStyle"])(e)},t.prototype.bypassSecurityTrustScript=function(e){return Object(a["ɵbypassSanitizationTrustScript"])(e)},t.prototype.bypassSecurityTrustUrl=function(e){return Object(a["ɵbypassSanitizationTrustUrl"])(e)},t.prototype.bypassSecurityTrustResourceUrl=function(e){return Object(a["ɵbypassSanitizationTrustResourceUrl"])(e)},t.ɵprov=Object(a["ɵɵdefineInjectable"])({factory:function(){return re(Object(a["ɵɵinject"])(a.INJECTOR))},token:t,providedIn:"root"}),(t=Object(r.b)([Object(r.e)(0,Object(a.Inject)(i.DOCUMENT)),Object(r.d)("design:paramtypes",[Object])],t)).ɵfac=function(e){return new(e||t)(a["ɵɵinject"](i.DOCUMENT))},t}(ne); /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */function ae(){l.makeCurrent(),p.init()}function oe(){return new a.ErrorHandler}function se(){return Object(a["ɵsetDocument"])(document),document}var le=i["ɵPLATFORM_BROWSER_ID"],ce=[{provide:a.PLATFORM_ID,useValue:le},{provide:a.PLATFORM_INITIALIZER,useValue:ae,multi:!0},{provide:i.DOCUMENT,useFactory:se,deps:[]}],ue=(a.Sanitizer,i.DOCUMENT,[]),de=ue,he=Object(a.createPlatformFactory)(a.platformCore,"browser",ce),pe=[de,{provide:a["ɵINJECTOR_SCOPE"],useValue:"root"},{provide:a.ErrorHandler,useFactory:oe,deps:[]},{provide:w,useClass:F,multi:!0,deps:[i.DOCUMENT,a.NgZone,a.PLATFORM_ID]},{provide:w,useClass:te,multi:!0,deps:[i.DOCUMENT]},$,{provide:P,useClass:P,deps:[_,x,a.APP_ID]},{provide:a.RendererFactory2,useExisting:P},{provide:C,useExisting:x},{provide:x,useClass:x,deps:[i.DOCUMENT]},{provide:a.Testability,useClass:a.Testability,deps:[a.NgZone]},{provide:_,useClass:_,deps:[w,a.NgZone]},k],fe=function(){function e(e){if(e)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}var t;return t=e,e.withServerTransition=function(e){return{ngModule:t,providers:[{provide:a.APP_ID,useValue:e.appId},{provide:u,useExisting:a.APP_ID},h]}},(e=t=Object(r.b)([Object(r.e)(0,Object(a.Optional)()),Object(r.e)(0,Object(a.SkipSelf)()),Object(r.e)(0,Object(a.Inject)(t)),Object(r.d)("design:paramtypes",[Object])],e)).ɵmod=a["ɵɵdefineNgModule"]({type:e}),e.ɵinj=a["ɵɵdefineInjector"]({factory:function(n){return new(n||e)(a["ɵɵinject"](t,12))},providers:pe,imports:[i.CommonModule,a.ApplicationModule]}),("undefined"==typeof ngJitMode||ngJitMode)&&a["ɵɵsetNgModuleScope"](e,{exports:function(){return[i.CommonModule,a.ApplicationModule]}}),e}();function me(){return new ge(Object(a["ɵɵinject"])(i.DOCUMENT))}var ge=function(){function e(e){this._doc=e,this._dom=Object(i["ɵgetDOM"])()}return e.prototype.addTag=function(e,t){return void 0===t&&(t=!1),e?this._getOrCreateElement(e,t):null},e.prototype.addTags=function(e,t){var n=this;return void 0===t&&(t=!1),e?e.reduce((function(e,r){return r&&e.push(n._getOrCreateElement(r,t)),e}),[]):[]},e.prototype.getTag=function(e){return e&&this._doc.querySelector("meta["+e+"]")||null},e.prototype.getTags=function(e){if(!e)return[];var t=this._doc.querySelectorAll("meta["+e+"]");return t?[].slice.call(t):[]},e.prototype.updateTag=function(e,t){if(!e)return null;t=t||this._parseSelector(e);var n=this.getTag(t);return n?this._setMetaElementAttributes(e,n):this._getOrCreateElement(e,!0)},e.prototype.removeTag=function(e){this.removeTagElement(this.getTag(e))},e.prototype.removeTagElement=function(e){e&&this._dom.remove(e)},e.prototype._getOrCreateElement=function(e,t){if(void 0===t&&(t=!1),!t){var n=this._parseSelector(e),r=this.getTag(n);if(r&&this._containsAttributes(e,r))return r}var i=this._dom.createElement("meta");return this._setMetaElementAttributes(e,i),this._doc.getElementsByTagName("head")[0].appendChild(i),i},e.prototype._setMetaElementAttributes=function(e,t){return Object.keys(e).forEach((function(n){return t.setAttribute(n,e[n])})),t},e.prototype._parseSelector=function(e){var t=e.name?"name":"property";return t+'="'+e[t]+'"'},e.prototype._containsAttributes=function(e,t){return Object.keys(e).every((function(n){return t.getAttribute(n)===e[n]}))},e.ɵprov=Object(a["ɵɵdefineInjectable"])({factory:me,token:e,providedIn:"root"}),(e=Object(r.b)([Object(r.e)(0,Object(a.Inject)(i.DOCUMENT)),Object(r.d)("design:paramtypes",[Object])],e)).ɵfac=function(t){return new(t||e)(a["ɵɵinject"](i.DOCUMENT))},e}();function ye(){return new be(Object(a["ɵɵinject"])(i.DOCUMENT))}var be=function(){function e(e){this._doc=e}return e.prototype.getTitle=function(){return this._doc.title},e.prototype.setTitle=function(e){this._doc.title=e||""},e.ɵprov=Object(a["ɵɵdefineInjectable"])({factory:ye,token:e,providedIn:"root"}),(e=Object(r.b)([Object(r.e)(0,Object(a.Inject)(i.DOCUMENT)),Object(r.d)("design:paramtypes",[Object])],e)).ɵfac=function(t){return new(t||e)(a["ɵɵinject"](i.DOCUMENT))},e}(),ve="undefined"!=typeof window&&window||{},ke=function(e,t){this.msPerTick=e,this.numTicks=t},we=function(){function e(e){this.appRef=e.injector.get(a.ApplicationRef)}return e.prototype.timeChangeDetection=function(e){var t=e&&e.record,n=null!=ve.console.profile;t&&n&&ve.console.profile("Change Detection");for(var r=Object(i["ɵgetDOM"])().performanceNow(),a=0;a<5||Object(i["ɵgetDOM"])().performanceNow()-r<500;)this.appRef.tick(),a++;var o=Object(i["ɵgetDOM"])().performanceNow();t&&n&&ve.console.profileEnd("Change Detection");var s=(o-r)/a;return ve.console.log("ran "+a+" change detection cycles"),ve.console.log(s.toFixed(2)+" ms per check"),new ke(s,a)},e}(); /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */function _e(e){return f("profiler",new we(e)),e}function je(){f("profiler",null)} /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */function Ce(e){var t={"&":"&a;",'"':"&q;","'":"&s;","<":"&l;",">":"&g;"};return e.replace(/[&"'<>]/g,(function(e){return t[e]}))}function xe(e){return e}var Ee=function(){function e(){this.store={},this.onSerializeCallbacks={}}var t;return t=e,e.init=function(e){var n=new t;return n.store=e,n},e.prototype.get=function(e,t){return void 0!==this.store[e]?this.store[e]:t},e.prototype.set=function(e,t){this.store[e]=t},e.prototype.remove=function(e){delete this.store[e]},e.prototype.hasKey=function(e){return this.store.hasOwnProperty(e)},e.prototype.onSerialize=function(e,t){this.onSerializeCallbacks[e]=t},e.prototype.toJson=function(){for(var e in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(e))try{this.store[e]=this.onSerializeCallbacks[e]()}catch(t){console.warn("Exception in onSerialize callback: ",t)}return JSON.stringify(this.store)},e.ɵfac=function(t){return new(t||e)},e.ɵprov=a["ɵɵdefineInjectable"]({token:e,factory:function(t){return e.ɵfac(t)}}),e}();function Se(e,t){var n,r,i=e.getElementById(t+"-state"),a={};if(i&&i.textContent)try{a=JSON.parse((n=i.textContent,r={"&a;":"&","&q;":'"',"&s;":"'","&l;":"<","&g;":">"},n.replace(/&[^;]+;/g,(function(e){return r[e]}))))}catch(o){console.warn("Exception while restoring TransferState for app "+t,o)}return Ee.init(a)}var Te=function(){function e(){}return e.ɵmod=a["ɵɵdefineNgModule"]({type:e}),e.ɵinj=a["ɵɵdefineInjector"]({factory:function(t){return new(t||e)},providers:[{provide:Ee,useFactory:Se,deps:[i.DOCUMENT,a.APP_ID]}]}),e}(),Oe=function(){function e(){}return e.all=function(){return function(){return!0}},e.css=function(e){return function(t){return null!=t.nativeElement&&function(e,t){if(Object(i["ɵgetDOM"])().isElementNode(e))return e.matches&&e.matches(t)||e.msMatchesSelector&&e.msMatchesSelector(t)||e.webkitMatchesSelector&&e.webkitMatchesSelector(t);return!1} /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */(t.nativeElement,e)}},e.directive=function(e){return function(t){return-1!==t.providerTokens.indexOf(e)}},e}(); /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */var ze=new a.Version("9.1.12"); /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */},function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return s}));var r,i=(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=function(e){function t(t,n){var r=this,i=this.constructor.prototype;return(r=e.call(this,t)||this).statusCode=n,r.__proto__=i,r}return i(t,e),t}(Error),o=function(e){function t(t){void 0===t&&(t="A timeout occurred.");var n=this,r=this.constructor.prototype;return(n=e.call(this,t)||this).__proto__=r,n}return i(t,e),t}(Error),s=function(e){function t(t){void 0===t&&(t="An abort occurred.");var n=this,r=this.constructor.prototype;return(n=e.call(this,t)||this).__proto__=r,n}return i(t,e),t}(Error)},function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return l})),n.d(t,"c",(function(){return c}));var r=n(1),i=n(28),a=n(32),o=n(218),s=function(e){function t(t){var n=e.call(this)||this;return n.parent=t,n}return r.c(t,e),t.prototype._next=function(e){this.parent.notifyNext(e)},t.prototype._error=function(e){this.parent.notifyError(e),this.unsubscribe()},t.prototype._complete=function(){this.parent.notifyComplete(),this.unsubscribe()},t}(i.a),l=(i.a,function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r.c(t,e),t.prototype.notifyNext=function(e){this.destination.next(e)},t.prototype.notifyError=function(e){this.destination.error(e)},t.prototype.notifyComplete=function(){this.destination.complete()},t}(i.a));i.a;function c(e,t){if(!t.closed)return e instanceof a.a?e.subscribe(t):Object(o.a)(e)(t)}},function(e,t,n){var r=n(22);e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){"use strict";if(n(35)){var r=n(86),i=n(20),a=n(21),o=n(2),s=n(138),l=n(187),c=n(62),u=n(99),d=n(85),h=n(56),p=n(101),f=n(63),m=n(31),g=n(245),y=n(91),b=n(75),v=n(50),k=n(96),w=n(22),_=n(42),j=n(183),C=n(83),x=n(57),E=n(92).f,S=n(133),T=n(89),O=n(27),z=n(69),I=n(150),D=n(125),A=n(204),N=n(110),P=n(134),R=n(98),M=n(184),q=n(236),B=n(33),L=n(59),F=B.f,U=L.f,V=i.RangeError,H=i.TypeError,K=i.Uint8Array,W=Array.prototype,G=l.ArrayBuffer,Q=l.DataView,$=z(0),Y=z(2),Z=z(3),J=z(4),X=z(5),ee=z(6),te=I(!0),ne=I(!1),re=A.values,ie=A.keys,ae=A.entries,oe=W.lastIndexOf,se=W.reduce,le=W.reduceRight,ce=W.join,ue=W.sort,de=W.slice,he=W.toString,pe=W.toLocaleString,fe=O("iterator"),me=O("toStringTag"),ge=T("typed_constructor"),ye=T("def_constructor"),be=s.CONSTR,ve=s.TYPED,ke=s.VIEW,we=z(1,(function(e,t){return Ee(D(e,e[ye]),t)})),_e=a((function(){return 1===new K(new Uint16Array([1]).buffer)[0]})),je=!!K&&!!K.prototype.set&&a((function(){new K(1).set({})})),Ce=function(e,t){var n=f(e);if(n<0||n%t)throw V("Wrong offset!");return n},xe=function(e){if(w(e)&&ve in e)return e;throw H(e+" is not a typed array!")},Ee=function(e,t){if(!w(e)||!(ge in e))throw H("It is not a typed array constructor!");return new e(t)},Se=function(e,t){return Te(D(e,e[ye]),t)},Te=function(e,t){for(var n=0,r=t.length,i=Ee(e,r);r>n;)i[n]=t[n++];return i},Oe=function(e,t,n){F(e,t,{get:function(){return this._d[n]}})},ze=function(e){var t,n,r,i,a,o,s=_(e),l=arguments.length,u=l>1?arguments[1]:void 0,d=void 0!==u,h=S(s);if(null!=h&&!j(h)){for(o=h.call(s),r=[],t=0;!(a=o.next()).done;t++)r.push(a.value);s=r}for(d&&l>2&&(u=c(u,arguments[2],2)),t=0,n=m(s.length),i=Ee(this,n);n>t;t++)i[t]=d?u(s[t],t):s[t];return i},Ie=function(){for(var e=0,t=arguments.length,n=Ee(this,t);t>e;)n[e]=arguments[e++];return n},De=!!K&&a((function(){pe.call(new K(1))})),Ae=function(){return pe.apply(De?de.call(xe(this)):xe(this),arguments)},Ne={copyWithin:function(e,t){return q.call(xe(this),e,t,arguments.length>2?arguments[2]:void 0)},every:function(e){return J(xe(this),e,arguments.length>1?arguments[1]:void 0)},fill:function(e){return M.apply(xe(this),arguments)},filter:function(e){return Se(this,Y(xe(this),e,arguments.length>1?arguments[1]:void 0))},find:function(e){return X(xe(this),e,arguments.length>1?arguments[1]:void 0)},findIndex:function(e){return ee(xe(this),e,arguments.length>1?arguments[1]:void 0)},forEach:function(e){$(xe(this),e,arguments.length>1?arguments[1]:void 0)},indexOf:function(e){return ne(xe(this),e,arguments.length>1?arguments[1]:void 0)},includes:function(e){return te(xe(this),e,arguments.length>1?arguments[1]:void 0)},join:function(e){return ce.apply(xe(this),arguments)},lastIndexOf:function(e){return oe.apply(xe(this),arguments)},map:function(e){return we(xe(this),e,arguments.length>1?arguments[1]:void 0)},reduce:function(e){return se.apply(xe(this),arguments)},reduceRight:function(e){return le.apply(xe(this),arguments)},reverse:function(){for(var e,t=xe(this).length,n=Math.floor(t/2),r=0;r1?arguments[1]:void 0)},sort:function(e){return ue.call(xe(this),e)},subarray:function(e,t){var n=xe(this),r=n.length,i=y(e,r);return new(D(n,n[ye]))(n.buffer,n.byteOffset+i*n.BYTES_PER_ELEMENT,m((void 0===t?r:y(t,r))-i))}},Pe=function(e,t){return Se(this,de.call(xe(this),e,t))},Re=function(e){xe(this);var t=Ce(arguments[1],1),n=this.length,r=_(e),i=m(r.length),a=0;if(i+t>n)throw V("Wrong length!");for(;a255?255:255&r),i.v[p](n*t+i.o,r,_e)}(this,n,e)},enumerable:!0})};v?(f=n((function(e,n,r,i){u(e,f,c,"_d");var a,o,s,l,d=0,p=0;if(w(n)){if(!(n instanceof G||"ArrayBuffer"==(l=k(n))||"SharedArrayBuffer"==l))return ve in n?Te(f,n):ze.call(f,n);a=n,p=Ce(r,t);var y=n.byteLength;if(void 0===i){if(y%t)throw V("Wrong length!");if((o=y-p)<0)throw V("Wrong length!")}else if((o=m(i)*t)+p>y)throw V("Wrong length!");s=o/t}else s=g(n),a=new G(o=s*t);for(h(e,"_d",{b:a,o:p,l:o,e:s,v:new Q(a)});ddocument.F=Object<\/script>"),e.close(),l=e.F;r--;)delete l.prototype[a[r]];return l()};e.exports=Object.create||function(e,t){var n;return null!==e?(s.prototype=r(e),n=new s,s.prototype=null,n[o]=e):n=l(),void 0===t?n:i(n,t)}},,function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){e.exports=!1},,,function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t,n){var r=n(223),i=n(173);e.exports=Object.keys||function(e){return r(e,i)}},function(e,t,n){var r=n(63),i=Math.max,a=Math.min;e.exports=function(e,t){return(e=r(e))<0?i(e+t,0):a(e,t)}},function(e,t,n){var r=n(223),i=n(173).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},,,function(e,t,n){"use strict";(function(e){ /*! * The buffer module from node.js, for the browser. * * @author Feross Aboukhadijeh * @license MIT */ var r=n(824),i=n(825),a=n(542);function o(){return l.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(e,t){if(o()=o())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o().toString(16)+" bytes");return 0|e}function f(e,t){if(l.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return L(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return F(e).length;default:if(r)return L(e).length;t=(""+t).toLowerCase(),r=!0}}function m(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return O(this,t,n);case"utf8":case"utf-8":return E(this,t,n);case"ascii":return S(this,t,n);case"latin1":case"binary":return T(this,t,n);case"base64":return x(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return z(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function g(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function y(e,t,n,r,i){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof t&&(t=l.from(t,r)),l.isBuffer(t))return 0===t.length?-1:b(e,t,n,r,i);if("number"==typeof t)return t&=255,l.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):b(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function b(e,t,n,r,i){var a,o=1,s=e.length,l=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;o=2,s/=2,l/=2,n/=2}function c(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}if(i){var u=-1;for(a=n;as&&(n=s-l),a=n;a>=0;a--){for(var d=!0,h=0;hi&&(r=i):r=i;var a=t.length;if(a%2!=0)throw new TypeError("Invalid hex string");r>a/2&&(r=a/2);for(var o=0;o>8,i=n%256,a.push(i),a.push(r);return a}(t,e.length-n),e,n,r)}function x(e,t,n){return 0===t&&n===e.length?r.fromByteArray(e):r.fromByteArray(e.slice(t,n))}function E(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i239?4:c>223?3:c>191?2:1;if(i+d<=n)switch(d){case 1:c<128&&(u=c);break;case 2:128==(192&(a=e[i+1]))&&(l=(31&c)<<6|63&a)>127&&(u=l);break;case 3:a=e[i+1],o=e[i+2],128==(192&a)&&128==(192&o)&&(l=(15&c)<<12|(63&a)<<6|63&o)>2047&&(l<55296||l>57343)&&(u=l);break;case 4:a=e[i+1],o=e[i+2],s=e[i+3],128==(192&a)&&128==(192&o)&&128==(192&s)&&(l=(15&c)<<18|(63&a)<<12|(63&o)<<6|63&s)>65535&&l<1114112&&(u=l)}null===u?(u=65533,d=1):u>65535&&(u-=65536,r.push(u>>>10&1023|55296),u=56320|1023&u),r.push(u),i+=d}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);var n="",r=0;for(;r0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),""},l.prototype.compare=function(e,t,n,r,i){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(this===e)return 0;for(var a=(i>>>=0)-(r>>>=0),o=(n>>>=0)-(t>>>=0),s=Math.min(a,o),c=this.slice(r,i),u=e.slice(t,n),d=0;di)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var a=!1;;)switch(r){case"hex":return v(this,e,t,n);case"utf8":case"utf-8":return k(this,e,t,n);case"ascii":return w(this,e,t,n);case"latin1":case"binary":return _(this,e,t,n);case"base64":return j(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return C(this,e,t,n);default:if(a)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),a=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function S(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;ir)&&(n=r);for(var i="",a=t;an)throw new RangeError("Trying to access beyond buffer length")}function D(e,t,n,r,i,a){if(!l.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||te.length)throw new RangeError("Index out of range")}function A(e,t,n,r){t<0&&(t=65535+t+1);for(var i=0,a=Math.min(e.length-n,2);i>>8*(r?i:1-i)}function N(e,t,n,r){t<0&&(t=4294967295+t+1);for(var i=0,a=Math.min(e.length-n,4);i>>8*(r?i:3-i)&255}function P(e,t,n,r,i,a){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function R(e,t,n,r,a){return a||P(e,0,n,4),i.write(e,t,n,r,23,4),n+4}function M(e,t,n,r,a){return a||P(e,0,n,8),i.write(e,t,n,r,52,8),n+8}l.prototype.slice=function(e,t){var n,r=this.length;if((e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t0&&(i*=256);)r+=this[e+--t]*i;return r},l.prototype.readUInt8=function(e,t){return t||I(e,1,this.length),this[e]},l.prototype.readUInt16LE=function(e,t){return t||I(e,2,this.length),this[e]|this[e+1]<<8},l.prototype.readUInt16BE=function(e,t){return t||I(e,2,this.length),this[e]<<8|this[e+1]},l.prototype.readUInt32LE=function(e,t){return t||I(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},l.prototype.readUInt32BE=function(e,t){return t||I(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},l.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||I(e,t,this.length);for(var r=this[e],i=1,a=0;++a=(i*=128)&&(r-=Math.pow(2,8*t)),r},l.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||I(e,t,this.length);for(var r=t,i=1,a=this[e+--r];r>0&&(i*=256);)a+=this[e+--r]*i;return a>=(i*=128)&&(a-=Math.pow(2,8*t)),a},l.prototype.readInt8=function(e,t){return t||I(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},l.prototype.readInt16LE=function(e,t){t||I(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt16BE=function(e,t){t||I(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt32LE=function(e,t){return t||I(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},l.prototype.readInt32BE=function(e,t){return t||I(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},l.prototype.readFloatLE=function(e,t){return t||I(e,4,this.length),i.read(this,e,!0,23,4)},l.prototype.readFloatBE=function(e,t){return t||I(e,4,this.length),i.read(this,e,!1,23,4)},l.prototype.readDoubleLE=function(e,t){return t||I(e,8,this.length),i.read(this,e,!0,52,8)},l.prototype.readDoubleBE=function(e,t){return t||I(e,8,this.length),i.read(this,e,!1,52,8)},l.prototype.writeUIntLE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||D(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,a=0;for(this[t]=255&e;++a=0&&(a*=256);)this[t+i]=e/a&255;return t+n},l.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,1,255,0),l.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},l.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):A(this,e,t,!0),t+2},l.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):A(this,e,t,!1),t+2},l.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):N(this,e,t,!0),t+4},l.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):N(this,e,t,!1),t+4},l.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);D(this,e,t,n,i-1,-i)}var a=0,o=1,s=0;for(this[t]=255&e;++a>0)-s&255;return t+n},l.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);D(this,e,t,n,i-1,-i)}var a=n-1,o=1,s=0;for(this[t+a]=255&e;--a>=0&&(o*=256);)e<0&&0===s&&0!==this[t+a+1]&&(s=1),this[t+a]=(e/o>>0)-s&255;return t+n},l.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,1,127,-128),l.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},l.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):A(this,e,t,!0),t+2},l.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):A(this,e,t,!1),t+2},l.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,4,2147483647,-2147483648),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):N(this,e,t,!0),t+4},l.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):N(this,e,t,!1),t+4},l.prototype.writeFloatLE=function(e,t,n){return R(this,e,t,!0,n)},l.prototype.writeFloatBE=function(e,t,n){return R(this,e,t,!1,n)},l.prototype.writeDoubleLE=function(e,t,n){return M(this,e,t,!0,n)},l.prototype.writeDoubleBE=function(e,t,n){return M(this,e,t,!1,n)},l.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t=0;--i)e[i+t]=this[i+n];else if(a<1e3||!l.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(a=t;a55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&a.push(239,191,189);continue}if(o+1===r){(t-=3)>-1&&a.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&a.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&a.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;a.push(n)}else if(n<2048){if((t-=2)<0)break;a.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;a.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;a.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return a}function F(e){return r.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(q,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function U(e,t,n,r){for(var i=0;i=t.length||i>=e.length);++i)t[i+n]=e[i];return i}}).call(this,n(102))},function(e,t,n){var r=n(67),i=n(27)("toStringTag"),a="Arguments"==r(function(){return arguments}());e.exports=function(e){var t,n,o;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(n){}}(t=Object(e),i))?n:a?r(t):"Object"==(o=r(t))&&"function"==typeof t.callee?"Arguments":o}},function(e,t,n){var r=n(27)("unscopables"),i=Array.prototype;null==i[r]&&n(56)(i,r,{}),e.exports=function(e){i[r][e]=!0}},function(e,t,n){"use strict";var r=n(20),i=n(33),a=n(35),o=n(27)("species");e.exports=function(e){var t=r[e];a&&t&&!t[o]&&i.f(t,o,{configurable:!0,get:function(){return this}})}},function(e,t){e.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},function(e,t,n){var r=n(62),i=n(233),a=n(183),o=n(15),s=n(31),l=n(133),c={},u={};(t=e.exports=function(e,t,n,d,h){var p,f,m,g,y=h?function(){return e}:l(e),b=r(n,d,t?2:1),v=0;if("function"!=typeof y)throw TypeError(e+" is not iterable!");if(a(y)){for(p=s(e.length);p>v;v++)if((g=t?b(o(f=e[v])[0],f[1]):b(e[v]))===c||g===u)return g}else for(m=y.call(e);!(f=m.next()).done;)if((g=i(m,b,f.value,t))===c||g===u)return g}).BREAK=c,t.RETURN=u},function(e,t,n){var r=n(51);e.exports=function(e,t,n){for(var i in t)r(e,i,t[i],n);return e}},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"==typeof window&&(n=window)}e.exports=n},,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=!1,i={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){e&&(new Error).stack;r=e},get useDeprecatedSynchronousErrorHandling(){return r}}},function(e,t,n){var r=n(33).f,i=n(50),a=n(27)("toStringTag");e.exports=function(e,t,n){e&&!i(e=n?e:e.prototype,a)&&r(e,a,{configurable:!0,value:t})}},function(e,t){e.exports={}},function(e,t,n){var r=n(22);e.exports=function(e,t){if(!r(e)||e._t!==t)throw TypeError("Incompatible receiver, "+t+" required!");return e}},,,,function(e,t,n){var r=n(67);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t,n){var r=n(2),i=n(76),a=n(21),o=n(176),s="["+o+"]",l=RegExp("^"+s+s+"*"),c=RegExp(s+s+"*$"),u=function(e,t,n){var i={},s=a((function(){return!!o[e]()||"​…"!="​…"[e]()})),l=i[e]=s?t(d):o[e];n&&(i[n]=l),r(r.P+r.F*s,"String",i)},d=u.trim=function(e,t){return e=String(i(e)),1&t&&(e=e.replace(l,"")),2&t&&(e=e.replace(c,"")),e};e.exports=u},,,function(e,t,n){var r=n(34);n(194),n(731),n(732),n(44),r.random&&r.random.getBytes?e.exports=r.random:function(t){var n={},i=new Array(4),a=r.util.createBuffer();function o(){var e=r.prng.create(n);return e.getBytes=function(t,n){return e.generate(t,n)},e.getBytesSync=function(t){return e.generate(t)},e}n.formatKey=function(e){var t=r.util.createBuffer(e);return(e=new Array(4))[0]=t.getInt32(),e[1]=t.getInt32(),e[2]=t.getInt32(),e[3]=t.getInt32(),r.aes._expandKey(e,!1)},n.formatSeed=function(e){var t=r.util.createBuffer(e);return(e=new Array(4))[0]=t.getInt32(),e[1]=t.getInt32(),e[2]=t.getInt32(),e[3]=t.getInt32(),e},n.cipher=function(e,t){return r.aes._updateBlock(e,t,i,!1),a.putInt32(i[0]),a.putInt32(i[1]),a.putInt32(i[2]),a.putInt32(i[3]),a.getBytes()},n.increment=function(e){return++e[3],e},n.md=r.md.sha256;var s=o(),l=null,c=r.util.globalScope,u=c.crypto||c.msCrypto;if(u&&u.getRandomValues&&(l=function(e){return u.getRandomValues(e)}),r.options.usePureJavaScript||!r.util.isNodejs&&!l){if("undefined"==typeof window||window.document,s.collectInt(+new Date,32),"undefined"!=typeof navigator){var d="";for(var h in navigator)try{"string"==typeof navigator[h]&&(d+=navigator[h])}catch(p){}s.collect(d),d=null}t&&(t().mousemove((function(e){s.collectInt(e.clientX,16),s.collectInt(e.clientY,16)})),t().keypress((function(e){s.collectInt(e.charCode,8)})))}if(r.random)for(var h in s)r.random[h]=s[h];else r.random=s;r.random.createInstance=o,e.exports=r.random}("undefined"!=typeof jQuery?jQuery:null)},function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return a}));var r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n1)for(var n=1;nt){var r=new Error("Too few bytes to parse DER.");throw r.available=e.length(),r.remaining=t,r.requested=n,r}}i.Class={UNIVERSAL:0,APPLICATION:64,CONTEXT_SPECIFIC:128,PRIVATE:192},i.Type={NONE:0,BOOLEAN:1,INTEGER:2,BITSTRING:3,OCTETSTRING:4,NULL:5,OID:6,ODESC:7,EXTERNAL:8,REAL:9,ENUMERATED:10,EMBEDDED:11,UTF8:12,ROID:13,SEQUENCE:16,SET:17,PRINTABLESTRING:19,IA5STRING:22,UTCTIME:23,GENERALIZEDTIME:24,BMPSTRING:30},i.create=function(e,t,n,a,o){if(r.util.isArray(a)){for(var s=[],l=0;ln){if(o.strict){var f=new Error("Too few bytes to read ASN.1 value.");throw f.available=t.length(),f.remaining=n,f.requested=p,f}p=n}var m=32==(32&l);if(m)if(d=[],void 0===p)for(;;){if(a(t,n,2),t.bytes(2)===String.fromCharCode(0,0)){t.getBytes(2),n-=2;break}s=t.length(),d.push(e(t,n,r+1,o)),n-=s-t.length()}else for(;p>0;)s=t.length(),d.push(e(t,p,r+1,o)),n-=s-t.length(),p-=s-t.length();void 0===d&&c===i.Class.UNIVERSAL&&u===i.Type.BITSTRING&&(h=t.bytes(p));if(void 0===d&&o.decodeBitStrings&&c===i.Class.UNIVERSAL&&u===i.Type.BITSTRING&&p>1){var g=t.read,y=n,b=0;if(u===i.Type.BITSTRING&&(a(t,n,1),b=t.getByte(),n--),0===b)try{s=t.length();var v={verbose:o.verbose,strict:!0,decodeBitStrings:!0},k=e(t,n,r+1,v),w=s-t.length();n-=w,u==i.Type.BITSTRING&&w++;var _=k.tagClass;w!==p||_!==i.Class.UNIVERSAL&&_!==i.Class.CONTEXT_SPECIFIC||(d=[k])}catch(C){}void 0===d&&(t.read=g,n=y)}if(void 0===d){if(void 0===p){if(o.strict)throw new Error("Non-constructed ASN.1 object of indefinite length.");p=n}if(u===i.Type.BMPSTRING)for(d="";p>0;p-=2)a(t,n,2),d+=String.fromCharCode(t.getInt16()),n-=2;else d=t.getBytes(p)}var j=void 0===h?null:{bitStringContents:h};return i.create(c,u,m,d,j)}(e,e.length(),0,t)},i.toDer=function(e){var t=r.util.createBuffer(),n=e.tagClass|e.type,a=r.util.createBuffer(),o=!1;if("bitStringContents"in e&&(o=!0,e.original&&(o=i.equals(e,e.original))),o)a.putBytes(e.bitStringContents);else if(e.composed){e.constructed?n|=32:a.putByte(0);for(var s=0;s1&&(0===e.value.charCodeAt(0)&&0==(128&e.value.charCodeAt(1))||255===e.value.charCodeAt(0)&&128==(128&e.value.charCodeAt(1)))?a.putBytes(e.value.substr(1)):a.putBytes(e.value);if(t.putByte(n),a.length()<=127)t.putByte(127&a.length());else{var l=a.length(),c="";do{c+=String.fromCharCode(255&l),l>>>=8}while(l>0);t.putByte(128|c.length);for(s=c.length-1;s>=0;--s)t.putByte(c.charCodeAt(s))}return t.putBuffer(a),t},i.oidToDer=function(e){var t,n,i,a,o=e.split("."),s=r.util.createBuffer();s.putByte(40*parseInt(o[0],10)+parseInt(o[1],10));for(var l=2;l>>=7,t||(a|=128),n.push(a),t=!1}while(i>0);for(var c=n.length-1;c>=0;--c)s.putByte(n[c])}return s},i.derToOid=function(e){var t;"string"==typeof e&&(e=r.util.createBuffer(e));var n=e.getByte();t=Math.floor(n/40)+"."+n%40;for(var i=0;e.length()>0;)i<<=7,128&(n=e.getByte())?i+=127&n:(t+="."+(i+n),i=0);return t},i.utcTimeToDate=function(e){var t=new Date,n=parseInt(e.substr(0,2),10);n=n>=50?1900+n:2e3+n;var r=parseInt(e.substr(2,2),10)-1,i=parseInt(e.substr(4,2),10),a=parseInt(e.substr(6,2),10),o=parseInt(e.substr(8,2),10),s=0;if(e.length>11){var l=e.charAt(10),c=10;"+"!==l&&"-"!==l&&(s=parseInt(e.substr(10,2),10),c+=2)}if(t.setUTCFullYear(n,r,i),t.setUTCHours(a,o,s,0),c&&("+"===(l=e.charAt(c))||"-"===l)){var u=60*parseInt(e.substr(c+1,2),10)+parseInt(e.substr(c+4,2),10);u*=6e4,"+"===l?t.setTime(+t-u):t.setTime(+t+u)}return t},i.generalizedTimeToDate=function(e){var t=new Date,n=parseInt(e.substr(0,4),10),r=parseInt(e.substr(4,2),10)-1,i=parseInt(e.substr(6,2),10),a=parseInt(e.substr(8,2),10),o=parseInt(e.substr(10,2),10),s=parseInt(e.substr(12,2),10),l=0,c=0,u=!1;"Z"===e.charAt(e.length-1)&&(u=!0);var d=e.length-5,h=e.charAt(d);"+"!==h&&"-"!==h||(c=60*parseInt(e.substr(d+1,2),10)+parseInt(e.substr(d+4,2),10),c*=6e4,"+"===h&&(c*=-1),u=!0);return"."===e.charAt(14)&&(l=1e3*parseFloat(e.substr(14),10)),u?(t.setUTCFullYear(n,r,i),t.setUTCHours(a,o,s,l),t.setTime(+t+c)):(t.setFullYear(n,r,i),t.setHours(a,o,s,l)),t},i.dateToUtcTime=function(e){if("string"==typeof e)return e;var t="",n=[];n.push((""+e.getUTCFullYear()).substr(2)),n.push(""+(e.getUTCMonth()+1)),n.push(""+e.getUTCDate()),n.push(""+e.getUTCHours()),n.push(""+e.getUTCMinutes()),n.push(""+e.getUTCSeconds());for(var r=0;r=-128&&e<128)return t.putSignedInt(e,8);if(e>=-32768&&e<32768)return t.putSignedInt(e,16);if(e>=-8388608&&e<8388608)return t.putSignedInt(e,24);if(e>=-2147483648&&e<2147483648)return t.putSignedInt(e,32);var n=new Error("Integer too large; max is 32-bits.");throw n.integer=e,n},i.derToInteger=function(e){"string"==typeof e&&(e=r.util.createBuffer(e));var t=8*e.length();if(t>32)throw new Error("Integer too large; max is 32-bits.");return e.getSignedInt(t)},i.validate=function(e,t,n,a){var o=!1;if(e.tagClass!==t.tagClass&&void 0!==t.tagClass||e.type!==t.type&&void 0!==t.type)a&&(e.tagClass!==t.tagClass&&a.push("["+t.name+'] Expected tag class "'+t.tagClass+'", got "'+e.tagClass+'"'),e.type!==t.type&&a.push("["+t.name+'] Expected type "'+t.type+'", got "'+e.type+'"'));else if(e.constructed===t.constructed||void 0===t.constructed){if(o=!0,t.value&&r.util.isArray(t.value))for(var s=0,l=0;o&&l0&&(a+="\n");for(var s="",l=0;l1?a+="0x"+r.util.bytesToHex(e.value.slice(1)):a+="(none)",e.value.length>0){var h=e.value.charCodeAt(0);1==h?a+=" (1 unused bit shown)":h>1&&(a+=" ("+h+" unused bits shown)")}}else e.type===i.Type.OCTETSTRING?(o.test(e.value)||(a+="("+e.value+") "),a+="0x"+r.util.bytesToHex(e.value)):e.type===i.Type.UTF8?a+=r.util.decodeUtf8(e.value):e.type===i.Type.PRINTABLESTRING||e.type===i.Type.IA5String?a+=e.value:o.test(e.value)?a+="0x"+r.util.bytesToHex(e.value):0===e.value.length?a+="[null]":a+=e.value}return a}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(){return"function"==typeof Symbol&&Symbol.observable||"@@observable"}()},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(){function e(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return e.prototype=Object.create(Error.prototype),e}()},function(e,t,n){var r=n(55),i=n(20),a=i["__core-js_shared__"]||(i["__core-js_shared__"]={});(e.exports=function(e,t){return a[e]||(a[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n(86)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var r=n(96),i=n(27)("iterator"),a=n(110);e.exports=n(55).getIteratorMethod=function(e){if(null!=e)return e[i]||e["@@iterator"]||a[r(e)]}},function(e,t,n){var r=n(27)("iterator"),i=!1;try{var a=[7][r]();a.return=function(){i=!0},Array.from(a,(function(){throw 2}))}catch(o){}e.exports=function(e,t){if(!t&&!i)return!1;var n=!1;try{var a=[7],s=a[r]();s.next=function(){return{done:n=!0}},a[r]=function(){return s},e(a)}catch(o){}return n}},function(e,t,n){"use strict";var r=n(96),i=RegExp.prototype.exec;e.exports=function(e,t){var n=e.exec;if("function"==typeof n){var a=n.call(e,t);if("object"!=typeof a)throw new TypeError("RegExp exec method returned something other than an Object or null");return a}if("RegExp"!==r(e))throw new TypeError("RegExp#exec called on incompatible receiver");return i.call(e,t)}},function(e,t,n){"use strict";n(237);var r=n(51),i=n(56),a=n(21),o=n(76),s=n(27),l=n(185),c=s("species"),u=!a((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$")})),d=function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();e.exports=function(e,t,n){var h=s(e),p=!a((function(){var t={};return t[h]=function(){return 7},7!=""[e](t)})),f=p?!a((function(){var t=!1,n=/a/;return n.exec=function(){return t=!0,null},"split"===e&&(n.constructor={},n.constructor[c]=function(){return n}),n[h](""),!t})):void 0;if(!p||!f||"replace"===e&&!u||"split"===e&&!d){var m=/./[h],g=n(o,h,""[e],(function(e,t,n,r,i){return t.exec===l?p&&!i?{done:!0,value:m.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}})),y=g[0],b=g[1];r(String.prototype,e,y),i(RegExp.prototype,h,2==t?function(e,t){return b.call(e,this,t)}:function(e){return b.call(e,this)})}}},function(e,t,n){"use strict";var r=n(20),i=n(2),a=n(51),o=n(101),s=n(82),l=n(100),c=n(99),u=n(22),d=n(21),h=n(134),p=n(109),f=n(177);e.exports=function(e,t,n,m,g,y){var b=r[e],v=b,k=g?"set":"add",w=v&&v.prototype,_={},j=function(e){var t=w[e];a(w,e,"delete"==e||"has"==e?function(e){return!(y&&!u(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return y&&!u(e)?void 0:t.call(this,0===e?0:e)}:"add"==e?function(e){return t.call(this,0===e?0:e),this}:function(e,n){return t.call(this,0===e?0:e,n),this})};if("function"==typeof v&&(y||w.forEach&&!d((function(){(new v).entries().next()})))){var C=new v,x=C[k](y?{}:-0,1)!=C,E=d((function(){C.has(1)})),S=h((function(e){new v(e)})),T=!y&&d((function(){for(var e=new v,t=5;t--;)e[k](t,t);return!e.has(-0)}));S||((v=t((function(t,n){c(t,v,e);var r=f(new b,t,v);return null!=n&&l(n,g,r[k],r),r}))).prototype=w,w.constructor=v),(E||T)&&(j("delete"),j("has"),g&&j("get")),(T||x)&&j(k),y&&w.clear&&delete w.clear}else v=m.getConstructor(t,e,g,k),o(v.prototype,n),s.NEED=!0;return p(v,e),_[e]=v,i(i.G+i.W+i.F*(v!=b),_),y||m.setStrong(v,e,g),v}},function(e,t,n){for(var r,i=n(20),a=n(56),o=n(89),s=o("typed_array"),l=o("view"),c=!(!i.ArrayBuffer||!i.DataView),u=c,d=0,h="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");d<9;)(r=i[h[d++]])?(a(r.prototype,s,!0),a(r.prototype,l,!0)):u=!1;e.exports={ABV:c,CONSTR:u,TYPED:s,VIEW:l}},,,,,,,function(e,t,n){var r=n(34);e.exports=r.md=r.md||{},r.md.algorithms=r.md.algorithms||{}},function(e,t,n){"use strict";function r(e){return"function"==typeof e}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.d(t,"b",(function(){return u})),n.d(t,"a",(function(){return d}));var r=n(1),i=n(32),a=n(28),o=n(54),s=n(130),l=n(304),c=n(197),u=function(e){function t(t){var n=e.call(this,t)||this;return n.destination=t,n}return r.c(t,e),t}(a.a),d=function(e){function t(){var t=e.call(this)||this;return t.observers=[],t.closed=!1,t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return r.c(t,e),t.prototype[c.a]=function(){return new u(this)},t.prototype.lift=function(e){var t=new h(this,this);return t.operator=e,t},t.prototype.next=function(e){if(this.closed)throw new s.a;if(!this.isStopped)for(var t=this.observers,n=t.length,r=t.slice(),i=0;iu;)if((s=l[u++])!=s)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}}},function(e,t,n){var r=n(67);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(63),i=n(76);e.exports=function(e){return function(t,n){var a,o,s=String(i(t)),l=r(n),c=s.length;return l<0||l>=c?e?"":void 0:(a=s.charCodeAt(l))<55296||a>56319||l+1===c||(o=s.charCodeAt(l+1))<56320||o>57343?e?s.charAt(l):a:e?s.slice(l,l+2):o-56320+(a-55296<<10)+65536}}},function(e,t,n){"use strict";var r=n(86),i=n(2),a=n(51),o=n(56),s=n(110),l=n(180),c=n(109),u=n(57),d=n(27)("iterator"),h=!([].keys&&"next"in[].keys()),p=function(){return this};e.exports=function(e,t,n,f,m,g,y){l(n,t,f);var b,v,k,w=function(e){if(!h&&e in x)return x[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},_=t+" Iterator",j="values"==m,C=!1,x=e.prototype,E=x[d]||x["@@iterator"]||m&&x[m],S=E||w(m),T=m?j?w("entries"):S:void 0,O="Array"==t&&x.entries||E;if(O&&(k=u(O.call(new e)))!==Object.prototype&&k.next&&(c(k,_,!0),r||"function"==typeof k[d]||o(k,d,p)),j&&E&&"values"!==E.name&&(C=!0,S=function(){return E.call(this)}),r&&!y||!h&&!C&&x[d]||o(x,d,S),s[t]=S,s[_]=p,m)if(b={values:j?S:w("values"),keys:g?S:w("keys"),entries:T},y)for(v in b)v in x||a(x,v,b[v]);else i(i.P+i.F*(h||C),t,b);return b}},function(e,t,n){var r=n(22),i=n(67),a=n(27)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[a])?!!t:"RegExp"==i(e))}},,,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(){function e(){}return e.prototype.log=function(e,t){},e.instance=new e,e}()},function(e,t,n){"use strict";function r(e){return e}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}n.d(t,"a",(function(){return i}));var i=r()},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(1),i=n(28);function a(e,t){return function(n){if("function"!=typeof e)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new o(e,t))}}var o=function(){function e(e,t){this.project=e,this.thisArg=t}return e.prototype.call=function(e,t){return t.subscribe(new s(e,this.project,this.thisArg))},e}(),s=function(e){function t(t,n,r){var i=e.call(this,t)||this;return i.project=n,i.count=0,i.thisArg=r||i,i}return r.c(t,e),t.prototype._next=function(e){var t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(t)},t}(i.a)},function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a}));var r=n(32),i=new r.a((function(e){return e.complete()}));function a(e){return e?function(e){return new r.a((function(t){return e.schedule((function(){return t.complete()}))}))}(e):i}},function(e,t,n){"use strict";var r=n(32),i=n(218),a=n(54),o=n(129);var s=n(216),l=n(163);var c=n(309),u=n(307);function d(e,t){if(null!=e){if(function(e){return e&&"function"==typeof e[o.a]}(e))return function(e,t){return new r.a((function(n){var r=new a.a;return r.add(t.schedule((function(){var i=e[o.a]();r.add(i.subscribe({next:function(e){r.add(t.schedule((function(){return n.next(e)})))},error:function(e){r.add(t.schedule((function(){return n.error(e)})))},complete:function(){r.add(t.schedule((function(){return n.complete()})))}}))}))),r}))}(e,t);if(Object(c.a)(e))return function(e,t){return new r.a((function(n){var r=new a.a;return r.add(t.schedule((function(){return e.then((function(e){r.add(t.schedule((function(){n.next(e),r.add(t.schedule((function(){return n.complete()})))})))}),(function(e){r.add(t.schedule((function(){return n.error(e)})))}))}))),r}))}(e,t);if(Object(u.a)(e))return Object(s.a)(e,t);if(function(e){return e&&"function"==typeof e[l.a]}(e)||"string"==typeof e)return function(e,t){if(!e)throw new Error("Iterable cannot be null");return new r.a((function(n){var r,i=new a.a;return i.add((function(){r&&"function"==typeof r.return&&r.return()})),i.add(t.schedule((function(){r=e[l.a](),i.add(t.schedule((function(){if(!n.closed){var e,t;try{var i=r.next();e=i.value,t=i.done}catch(a){return void n.error(a)}t?n.complete():(n.next(e),this.schedule())}})))}))),i}))}(e,t)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}function h(e,t){return t?d(e,t):e instanceof r.a?e:new r.a(Object(i.a)(e))}n.d(t,"a",(function(){return h}))},function(e,t,n){"use strict";var r=n(1),i=function(){function e(t,n){void 0===n&&(n=e.now),this.SchedulerAction=t,this.now=n}return e.prototype.schedule=function(e,t,n){return void 0===t&&(t=0),new this.SchedulerAction(this,e).schedule(n,t)},e.now=function(){return Date.now()},e}();n.d(t,"a",(function(){return a}));var a=function(e){function t(n,r){void 0===r&&(r=i.now);var a=e.call(this,n,(function(){return t.delegate&&t.delegate!==a?t.delegate.now():r()}))||this;return a.actions=[],a.active=!1,a.scheduled=void 0,a}return r.c(t,e),t.prototype.schedule=function(n,r,i){return void 0===r&&(r=0),t.delegate&&t.delegate!==this?t.delegate.schedule(n,r,i):e.prototype.schedule.call(this,n,r,i)},t.prototype.flush=function(e){var t=this.actions;if(this.active)t.push(e);else{var n;this.active=!0;do{if(n=e.execute(e.state,e.delay))break}while(e=t.shift());if(this.active=!1,n){for(;e=t.shift();)e.unsubscribe();throw n}}},t}(i)},function(e,t,n){"use strict";var r=n(1),i=function(e){function t(t,n){return e.call(this)||this}return r.c(t,e),t.prototype.schedule=function(e,t){return void 0===t&&(t=0),this},t}(n(54).a);n.d(t,"a",(function(){return a}));var a=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.scheduler=t,r.work=n,r.pending=!1,r}return r.c(t,e),t.prototype.schedule=function(e,t){if(void 0===t&&(t=0),this.closed)return this;this.state=e;var n=this.id,r=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(r,n,t)),this.pending=!0,this.delay=t,this.id=this.id||this.requestAsyncId(r,this.id,t),this},t.prototype.requestAsyncId=function(e,t,n){return void 0===n&&(n=0),setInterval(e.flush.bind(e,this),n)},t.prototype.recycleAsyncId=function(e,t,n){if(void 0===n&&(n=0),null!==n&&this.delay===n&&!1===this.pending)return t;clearInterval(t)},t.prototype.execute=function(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var n=this._execute(e,t);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},t.prototype._execute=function(e,t){var n=!1,r=void 0;try{this.work(e)}catch(i){n=!0,r=!!i&&i||new Error(i)}if(n)return this.unsubscribe(),r},t.prototype._unsubscribe=function(){var e=this.id,t=this.scheduler,n=t.actions,r=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==r&&n.splice(r,1),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null},t}(i)},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(){function e(){}return e.write=function(t){return""+t+e.RecordSeparator},e.parse=function(t){if(t[t.length-1]!==e.RecordSeparator)throw new Error("Message is incomplete.");var n=t.split(e.RecordSeparator);return n.pop(),n},e.RecordSeparatorCode=30,e.RecordSeparator=String.fromCharCode(e.RecordSeparatorCode),e}()},,function(e,t,n){var r=n(22),i=n(20).document,a=r(i)&&r(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},function(e,t,n){var r=n(131)("keys"),i=n(89);e.exports=function(e){return r[e]||(r[e]=i(e))}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,n){var r=n(20).document;e.exports=r&&r.documentElement},function(e,t,n){var r=n(22),i=n(15),a=function(e,t){if(i(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{(r=n(62)(Function.call,n(59).f(Object.prototype,"__proto__").set,2))(e,[]),t=!(e instanceof Array)}catch(i){t=!0}return function(e,n){return a(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:a}},function(e,t){e.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"},function(e,t,n){var r=n(22),i=n(175).set;e.exports=function(e,t,n){var a,o=t.constructor;return o!==n&&"function"==typeof o&&(a=o.prototype)!==n.prototype&&r(a)&&i&&i(e,a),e}},function(e,t){e.exports=Math.sign||function(e){return 0==(e=+e)||e!=e?e:e<0?-1:1}},function(e,t){var n=Math.expm1;e.exports=!n||n(10)>22025.465794806718||n(10)<22025.465794806718||-2e-17!=n(-2e-17)?function(e){return 0==(e=+e)?e:e>-1e-6&&e<1e-6?e+e*e/2:Math.exp(e)-1}:n},function(e,t,n){"use strict";var r=n(83),i=n(85),a=n(109),o={};n(56)(o,n(27)("iterator"),(function(){return this})),e.exports=function(e,t,n){e.prototype=r(o,{next:i(1,n)}),a(e,t+" Iterator")}},function(e,t,n){var r=n(154),i=n(76);e.exports=function(e,t,n){if(r(t))throw TypeError("String#"+n+" doesn't accept regex!");return String(i(e))}},function(e,t,n){var r=n(27)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,!"/./"[e](t)}catch(i){}}return!0}},function(e,t,n){var r=n(110),i=n(27)("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||a[i]===e)}},function(e,t,n){"use strict";var r=n(42),i=n(91),a=n(31);e.exports=function(e){for(var t=r(this),n=a(t.length),o=arguments.length,s=i(o>1?arguments[1]:void 0,n),l=o>2?arguments[2]:void 0,c=void 0===l?n:i(l,n);c>s;)t[s++]=e;return t}},function(e,t,n){"use strict";var r,i,a=n(124),o=RegExp.prototype.exec,s=String.prototype.replace,l=o,c=(r=/a/,i=/b*/g,o.call(r,"a"),o.call(i,"a"),0!==r.lastIndex||0!==i.lastIndex),u=void 0!==/()??/.exec("")[1];(c||u)&&(l=function(e){var t,n,r,i,l=this;return u&&(n=new RegExp("^"+l.source+"$(?!\\s)",a.call(l))),c&&(t=l.lastIndex),r=o.call(l,e),c&&r&&(l.lastIndex=l.global?r.index+r[0].length:t),u&&r&&r.length>1&&s.call(r[0],n,(function(){for(i=1;i>1,u=23===t?x(2,-24)-x(2,-77):0,d=0,h=e<0||0===e&&1/e<0?1:0;for((e=C(e))!=e||e===_?(i=e!=e?1:0,r=l):(r=E(S(e)/T),e*(a=x(2,-r))<1&&(r--,a*=2),(e+=r+c>=1?u/a:u*x(2,1-c))*a>=2&&(r++,a/=2),r+c>=l?(i=0,r=l):r+c>=1?(i=(e*a-1)*x(2,t),r+=c):(i=e*x(2,c-1)*x(2,t),r=0));t>=8;o[d++]=255&i,i/=256,t-=8);for(r=r<0;o[d++]=255&r,r/=256,s-=8);return o[--d]|=128*h,o}function A(e,t,n){var r,i=8*n-t-1,a=(1<>1,s=i-7,l=n-1,c=e[l--],u=127&c;for(c>>=7;s>0;u=256*u+e[l],l--,s-=8);for(r=u&(1<<-s)-1,u>>=-s,s+=t;s>0;r=256*r+e[l],l--,s-=8);if(0===u)u=1-o;else{if(u===a)return r?NaN:c?-_:_;r+=x(2,t),u-=o}return(c?-1:1)*r*x(2,u-t)}function N(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]}function P(e){return[255&e]}function R(e){return[255&e,e>>8&255]}function M(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]}function q(e){return D(e,52,8)}function B(e){return D(e,23,4)}function L(e,t,n){m(e.prototype,t,{get:function(){return this[n]}})}function F(e,t,n,r){var i=p(+n);if(i+t>e[z])throw w("Wrong index!");var a=e[O]._b,o=i+e[I],s=a.slice(o,o+t);return r?s:s.reverse()}function U(e,t,n,r,i,a){var o=p(+n);if(o+t>e[z])throw w("Wrong index!");for(var s=e[O]._b,l=o+e[I],c=r(+i),u=0;uW;)(V=K[W++])in b||s(b,V,j[V]);a||(H.constructor=b)}var G=new v(new b(2)),Q=v.prototype.setInt8;G.setInt8(0,2147483648),G.setInt8(1,2147483649),!G.getInt8(0)&&G.getInt8(1)||l(v.prototype,{setInt8:function(e,t){Q.call(this,e,t<<24>>24)},setUint8:function(e,t){Q.call(this,e,t<<24>>24)}},!0)}else b=function(e){u(this,b,"ArrayBuffer");var t=p(e);this._b=g.call(new Array(t),0),this[z]=t},v=function(e,t,n){u(this,v,"DataView"),u(e,b,"DataView");var r=e[z],i=d(t);if(i<0||i>r)throw w("Wrong offset!");if(i+(n=void 0===n?r-i:h(n))>r)throw w("Wrong length!");this[O]=e,this[I]=i,this[z]=n},i&&(L(b,"byteLength","_l"),L(v,"buffer","_b"),L(v,"byteLength","_l"),L(v,"byteOffset","_o")),l(v.prototype,{getInt8:function(e){return F(this,1,e)[0]<<24>>24},getUint8:function(e){return F(this,1,e)[0]},getInt16:function(e){var t=F(this,2,e,arguments[1]);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=F(this,2,e,arguments[1]);return t[1]<<8|t[0]},getInt32:function(e){return N(F(this,4,e,arguments[1]))},getUint32:function(e){return N(F(this,4,e,arguments[1]))>>>0},getFloat32:function(e){return A(F(this,4,e,arguments[1]),23,4)},getFloat64:function(e){return A(F(this,8,e,arguments[1]),52,8)},setInt8:function(e,t){U(this,1,e,P,t)},setUint8:function(e,t){U(this,1,e,P,t)},setInt16:function(e,t){U(this,2,e,R,t,arguments[2])},setUint16:function(e,t){U(this,2,e,R,t,arguments[2])},setInt32:function(e,t){U(this,4,e,M,t,arguments[2])},setUint32:function(e,t){U(this,4,e,M,t,arguments[2])},setFloat32:function(e,t){U(this,4,e,B,t,arguments[2])},setFloat64:function(e,t){U(this,8,e,q,t,arguments[2])}});y(b,"ArrayBuffer"),y(v,"DataView"),s(v.prototype,o.VIEW,!0),t.ArrayBuffer=b,t.DataView=v},,,,,function(e,t,n){var r=n(95),i=r.Buffer;function a(e,t){for(var n in e)t[n]=e[n]}function o(e,t,n){return i(e,t,n)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=r:(a(r,t),t.Buffer=o),a(i,o),o.from=function(e,t,n){if("number"==typeof e)throw new TypeError("Argument must not be a number");return i(e,t,n)},o.alloc=function(e,t,n){if("number"!=typeof e)throw new TypeError("Argument must be a number");var r=i(e);return void 0!==t?"string"==typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},o.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return i(e)},o.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r.SlowBuffer(e)}},function(e,t){"function"==typeof Object.create?e.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:e.exports=function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}},function(e,t,n){var r=n(34);function i(e,t){r.cipher.registerAlgorithm(e,(function(){return new r.aes.Algorithm(e,t)}))}n(519),n(727),n(44),e.exports=r.aes=r.aes||{},r.aes.startEncrypting=function(e,t,n,r){var i=f({key:e,output:n,decrypt:!1,mode:r});return i.start(t),i},r.aes.createEncryptionCipher=function(e,t){return f({key:e,output:null,decrypt:!1,mode:t})},r.aes.startDecrypting=function(e,t,n,r){var i=f({key:e,output:n,decrypt:!0,mode:r});return i.start(t),i},r.aes.createDecryptionCipher=function(e,t){return f({key:e,output:null,decrypt:!0,mode:t})},r.aes.Algorithm=function(e,t){u||d();var n=this;n.name=e,n.mode=new t({blockSize:16,cipher:{encrypt:function(e,t){return p(n._w,e,t,!1)},decrypt:function(e,t){return p(n._w,e,t,!0)}}}),n._init=!1},r.aes.Algorithm.prototype.initialize=function(e){if(!this._init){var t,n=e.key;if("string"!=typeof n||16!==n.length&&24!==n.length&&32!==n.length){if(r.util.isArray(n)&&(16===n.length||24===n.length||32===n.length)){t=n,n=r.util.createBuffer();for(var i=0;i>>=2;for(i=0;i>8^255&d^99,a[m]=d,o[d]=m,p=(h=e[d])<<24^d<<16^d<<8^d^h,f=((n=e[m])^(r=e[n])^(i=e[r]))<<24^(m^i)<<16^(m^r^i)<<8^m^n^i;for(var y=0;y<4;++y)l[y][m]=p,c[y][d]=f,p=p<<24|p>>>8,f=f<<24|f>>>8;0===m?m=g=1:(m=n^e[e[e[n^i]]],g^=e[e[g]])}}function h(e,t){for(var n,r=e.slice(0),i=1,o=r.length,l=4*(o+6+1),u=o;u>>16&255]<<24^a[n>>>8&255]<<16^a[255&n]<<8^a[n>>>24]^s[i]<<24,i++):o>6&&u%o==4&&(n=a[n>>>24]<<24^a[n>>>16&255]<<16^a[n>>>8&255]<<8^a[255&n]),r[u]=r[u-o]^n;if(t){for(var d,h=c[0],p=c[1],f=c[2],m=c[3],g=r.slice(0),y=(u=0,(l=r.length)-4);u>>24]]^p[a[d>>>16&255]]^f[a[d>>>8&255]]^m[a[255&d]];r=g}return r}function p(e,t,n,r){var i,s,u,d,h,p,f,m,g,y,b,v,k=e.length/4-1;r?(i=c[0],s=c[1],u=c[2],d=c[3],h=o):(i=l[0],s=l[1],u=l[2],d=l[3],h=a),p=t[0]^e[0],f=t[r?3:1]^e[1],m=t[2]^e[2],g=t[r?1:3]^e[3];for(var w=3,_=1;_>>24]^s[f>>>16&255]^u[m>>>8&255]^d[255&g]^e[++w],b=i[f>>>24]^s[m>>>16&255]^u[g>>>8&255]^d[255&p]^e[++w],v=i[m>>>24]^s[g>>>16&255]^u[p>>>8&255]^d[255&f]^e[++w],g=i[g>>>24]^s[p>>>16&255]^u[f>>>8&255]^d[255&m]^e[++w],p=y,f=b,m=v;n[0]=h[p>>>24]<<24^h[f>>>16&255]<<16^h[m>>>8&255]<<8^h[255&g]^e[++w],n[r?3:1]=h[f>>>24]<<24^h[m>>>16&255]<<16^h[g>>>8&255]<<8^h[255&p]^e[++w],n[2]=h[m>>>24]<<24^h[g>>>16&255]<<16^h[p>>>8&255]<<8^h[255&f]^e[++w],n[r?1:3]=h[g>>>24]<<24^h[p>>>16&255]<<16^h[f>>>8&255]<<8^h[255&m]^e[++w]}function f(e){var t,n="AES-"+((e=e||{}).mode||"CBC").toUpperCase(),i=(t=e.decrypt?r.cipher.createDecipher(n,e.key):r.cipher.createCipher(n,e.key)).start;return t.start=function(e,n){var a=null;n instanceof r.util.ByteBuffer&&(a=n,n={}),(n=n||{}).output=a,n.iv=e,i.call(t,n)},t}},function(e,t,n){var r=n(34);r.pki=r.pki||{};var i=e.exports=r.pki.oids=r.oids=r.oids||{};function a(e,t){i[e]=t,i[t]=e}function o(e,t){i[e]=t}a("1.2.840.113549.1.1.1","rsaEncryption"),a("1.2.840.113549.1.1.4","md5WithRSAEncryption"),a("1.2.840.113549.1.1.5","sha1WithRSAEncryption"),a("1.2.840.113549.1.1.7","RSAES-OAEP"),a("1.2.840.113549.1.1.8","mgf1"),a("1.2.840.113549.1.1.9","pSpecified"),a("1.2.840.113549.1.1.10","RSASSA-PSS"),a("1.2.840.113549.1.1.11","sha256WithRSAEncryption"),a("1.2.840.113549.1.1.12","sha384WithRSAEncryption"),a("1.2.840.113549.1.1.13","sha512WithRSAEncryption"),a("1.3.101.112","EdDSA25519"),a("1.2.840.10040.4.3","dsa-with-sha1"),a("1.3.14.3.2.7","desCBC"),a("1.3.14.3.2.26","sha1"),a("2.16.840.1.101.3.4.2.1","sha256"),a("2.16.840.1.101.3.4.2.2","sha384"),a("2.16.840.1.101.3.4.2.3","sha512"),a("1.2.840.113549.2.5","md5"),a("1.2.840.113549.1.7.1","data"),a("1.2.840.113549.1.7.2","signedData"),a("1.2.840.113549.1.7.3","envelopedData"),a("1.2.840.113549.1.7.4","signedAndEnvelopedData"),a("1.2.840.113549.1.7.5","digestedData"),a("1.2.840.113549.1.7.6","encryptedData"),a("1.2.840.113549.1.9.1","emailAddress"),a("1.2.840.113549.1.9.2","unstructuredName"),a("1.2.840.113549.1.9.3","contentType"),a("1.2.840.113549.1.9.4","messageDigest"),a("1.2.840.113549.1.9.5","signingTime"),a("1.2.840.113549.1.9.6","counterSignature"),a("1.2.840.113549.1.9.7","challengePassword"),a("1.2.840.113549.1.9.8","unstructuredAddress"),a("1.2.840.113549.1.9.14","extensionRequest"),a("1.2.840.113549.1.9.20","friendlyName"),a("1.2.840.113549.1.9.21","localKeyId"),a("1.2.840.113549.1.9.22.1","x509Certificate"),a("1.2.840.113549.1.12.10.1.1","keyBag"),a("1.2.840.113549.1.12.10.1.2","pkcs8ShroudedKeyBag"),a("1.2.840.113549.1.12.10.1.3","certBag"),a("1.2.840.113549.1.12.10.1.4","crlBag"),a("1.2.840.113549.1.12.10.1.5","secretBag"),a("1.2.840.113549.1.12.10.1.6","safeContentsBag"),a("1.2.840.113549.1.5.13","pkcs5PBES2"),a("1.2.840.113549.1.5.12","pkcs5PBKDF2"),a("1.2.840.113549.1.12.1.1","pbeWithSHAAnd128BitRC4"),a("1.2.840.113549.1.12.1.2","pbeWithSHAAnd40BitRC4"),a("1.2.840.113549.1.12.1.3","pbeWithSHAAnd3-KeyTripleDES-CBC"),a("1.2.840.113549.1.12.1.4","pbeWithSHAAnd2-KeyTripleDES-CBC"),a("1.2.840.113549.1.12.1.5","pbeWithSHAAnd128BitRC2-CBC"),a("1.2.840.113549.1.12.1.6","pbewithSHAAnd40BitRC2-CBC"),a("1.2.840.113549.2.7","hmacWithSHA1"),a("1.2.840.113549.2.8","hmacWithSHA224"),a("1.2.840.113549.2.9","hmacWithSHA256"),a("1.2.840.113549.2.10","hmacWithSHA384"),a("1.2.840.113549.2.11","hmacWithSHA512"),a("1.2.840.113549.3.7","des-EDE3-CBC"),a("2.16.840.1.101.3.4.1.2","aes128-CBC"),a("2.16.840.1.101.3.4.1.22","aes192-CBC"),a("2.16.840.1.101.3.4.1.42","aes256-CBC"),a("2.5.4.3","commonName"),a("2.5.4.5","serialName"),a("2.5.4.6","countryName"),a("2.5.4.7","localityName"),a("2.5.4.8","stateOrProvinceName"),a("2.5.4.9","streetAddress"),a("2.5.4.10","organizationName"),a("2.5.4.11","organizationalUnitName"),a("2.5.4.13","description"),a("2.5.4.15","businessCategory"),a("2.5.4.17","postalCode"),a("1.3.6.1.4.1.311.60.2.1.2","jurisdictionOfIncorporationStateOrProvinceName"),a("1.3.6.1.4.1.311.60.2.1.3","jurisdictionOfIncorporationCountryName"),a("2.16.840.1.113730.1.1","nsCertType"),a("2.16.840.1.113730.1.13","nsComment"),o("2.5.29.1","authorityKeyIdentifier"),o("2.5.29.2","keyAttributes"),o("2.5.29.3","certificatePolicies"),o("2.5.29.4","keyUsageRestriction"),o("2.5.29.5","policyMapping"),o("2.5.29.6","subtreesConstraint"),o("2.5.29.7","subjectAltName"),o("2.5.29.8","issuerAltName"),o("2.5.29.9","subjectDirectoryAttributes"),o("2.5.29.10","basicConstraints"),o("2.5.29.11","nameConstraints"),o("2.5.29.12","policyConstraints"),o("2.5.29.13","basicConstraints"),a("2.5.29.14","subjectKeyIdentifier"),a("2.5.29.15","keyUsage"),o("2.5.29.16","privateKeyUsagePeriod"),a("2.5.29.17","subjectAltName"),a("2.5.29.18","issuerAltName"),a("2.5.29.19","basicConstraints"),o("2.5.29.20","cRLNumber"),o("2.5.29.21","cRLReason"),o("2.5.29.22","expirationDate"),o("2.5.29.23","instructionCode"),o("2.5.29.24","invalidityDate"),o("2.5.29.25","cRLDistributionPoints"),o("2.5.29.26","issuingDistributionPoint"),o("2.5.29.27","deltaCRLIndicator"),o("2.5.29.28","issuingDistributionPoint"),o("2.5.29.29","certificateIssuer"),o("2.5.29.30","nameConstraints"),a("2.5.29.31","cRLDistributionPoints"),a("2.5.29.32","certificatePolicies"),o("2.5.29.33","policyMappings"),o("2.5.29.34","policyConstraints"),a("2.5.29.35","authorityKeyIdentifier"),o("2.5.29.36","policyConstraints"),a("2.5.29.37","extKeyUsage"),o("2.5.29.46","freshestCRL"),o("2.5.29.54","inhibitAnyPolicy"),a("1.3.6.1.4.1.11129.2.4.2","timestampList"),a("1.3.6.1.5.5.7.1.1","authorityInfoAccess"),a("1.3.6.1.5.5.7.3.1","serverAuth"),a("1.3.6.1.5.5.7.3.2","clientAuth"),a("1.3.6.1.5.5.7.3.3","codeSigning"),a("1.3.6.1.5.5.7.3.4","emailProtection"),a("1.3.6.1.5.5.7.3.8","timeStamping")},,function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(){return"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()}()},function(e,t,n){"use strict";var r=n(192).Buffer,i=n(1032),a=n(299),o=n(1040),s=n(1041),l=n(1042);e.exports=function(e){var t=[],n=[];return{encode:l(t,(e=e||{forceFloat64:!1,compatibilityMode:!1,disableTimestampEncoding:!1,protoAction:"error"}).forceFloat64,e.compatibilityMode,e.disableTimestampEncoding),decode:s(n,e),register:function(e,t,n,o){return i(t,"must have a constructor"),i(n,"must have an encode function"),i(e>=0,"must have a non-negative type"),i(o,"must have a decode function"),this.registerEncoder((function(e){return e instanceof t}),(function(t){var i=a(),o=r.allocUnsafe(1);return o.writeInt8(e,0),i.append(o),i.append(n(t)),i})),this.registerDecoder(e,o),this},registerEncoder:function(e,n){return i(e,"must have an encode function"),i(n,"must have an encode function"),t.push({check:e,encode:n}),this},registerDecoder:function(e,t){return i(e>=0,"must have a non-negative type"),i(t,"must have a decode function"),n.push({type:e,decode:t}),this},encoder:o.encoder,decoder:o.decoder,buffer:!0,type:"msgpack5",IncompleteBufferError:s.IncompleteBufferError}}},,function(e,t,n){"use strict";var r=n(90),i=n(132),a=n(123),o=n(42),s=n(115),l=Object.assign;e.exports=!l||n(21)((function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach((function(e){t[e]=e})),7!=l({},e)[n]||Object.keys(l({},t)).join("")!=r}))?function(e,t){for(var n=o(e),l=arguments.length,c=1,u=i.f,d=a.f;l>c;)for(var h,p=s(arguments[c++]),f=u?r(p).concat(u(p)):r(p),m=f.length,g=0;m>g;)d.call(p,h=f[g++])&&(n[h]=p[h]);return n}:l},function(e,t){e.exports=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},function(e,t,n){"use strict";var r=n(63),i=n(76);e.exports=function(e){var t=String(i(this)),n="",a=r(e);if(a<0||a==1/0)throw RangeError("Count can't be negative");for(;a>0;(a>>>=1)&&(t+=t))1&a&&(n+=t);return n}},function(e,t,n){"use strict";var r=n(33),i=n(85);e.exports=function(e,t,n){t in e?r.f(e,t,i(0,n)):e[t]=n}},function(e,t,n){"use strict";var r=n(97),i=n(205),a=n(110),o=n(52);e.exports=n(153)(Array,"Array",(function(e,t){this._t=o(e),this._i=0,this._k=t}),(function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,i(1)):i(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])}),"values"),a.Arguments=a.Array,r("keys"),r("values"),r("entries")},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){var r,i,a,o=n(62),s=n(201),l=n(174),c=n(171),u=n(20),d=u.process,h=u.setImmediate,p=u.clearImmediate,f=u.MessageChannel,m=u.Dispatch,g=0,y={},b=function(){var e=+this;if(y.hasOwnProperty(e)){var t=y[e];delete y[e],t()}},v=function(e){b.call(e.data)};h&&p||(h=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return y[++g]=function(){s("function"==typeof e?e:Function(e),t)},r(g),g},p=function(e){delete y[e]},"process"==n(67)(d)?r=function(e){d.nextTick(o(b,e,1))}:m&&m.now?r=function(e){m.now(o(b,e,1))}:f?(a=(i=new f).port2,i.port1.onmessage=v,r=o(a.postMessage,a,1)):u.addEventListener&&"function"==typeof postMessage&&!u.importScripts?(r=function(e){u.postMessage(e+"","*")},u.addEventListener("message",v,!1)):r="onreadystatechange"in c("script")?function(e){l.appendChild(c("script")).onreadystatechange=function(){l.removeChild(this),b.call(e)}}:function(e){setTimeout(o(b,e,1),0)}),e.exports={set:h,clear:p}},function(e,t,n){"use strict";var r=n(47);function i(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)}e.exports.f=function(e){return new i(e)}},function(e,t,n){var r=n(20).navigator;e.exports=r&&r.userAgent||""},,,,function(e,t,n){"use strict";var r=n(300),i=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};e.exports=d;var a=n(264);a.inherits=n(193);var o=n(718),s=n(722);a.inherits(d,o);for(var l=i(s.prototype),c=0;c65&&-1!==o){var s=t[o];","===s?(++o,t=t.substr(0,o)+"\r\n "+t.substr(o)):t=t.substr(0,o)+"\r\n"+s+t.substr(o+1),a=i-o-1,o=-1,++i}else" "!==t[i]&&"\t"!==t[i]&&","!==t[i]||(o=i);return t}function o(e){return e.replace(/^\s+/,"")}i.encode=function(e,t){t=t||{};var n,i="-----BEGIN "+e.type+"-----\r\n";if(e.procType&&(i+=a(n={name:"Proc-Type",values:[String(e.procType.version),e.procType.type]})),e.contentDomain&&(i+=a(n={name:"Content-Domain",values:[e.contentDomain]})),e.dekInfo&&(n={name:"DEK-Info",values:[e.dekInfo.algorithm]},e.dekInfo.parameters&&n.values.push(e.dekInfo.parameters),i+=a(n)),e.headers)for(var o=0;ol;)r(s,n=t[l++])&&(~a(c,n)||c.push(n));return c}},function(e,t,n){var r=n(33),i=n(15),a=n(90);e.exports=n(35)?Object.defineProperties:function(e,t){i(e);for(var n,o=a(t),s=o.length,l=0;s>l;)r.f(e,n=o[l++],t[n]);return e}},function(e,t,n){var r=n(52),i=n(92).f,a={}.toString,o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return o&&"[object Window]"==a.call(e)?function(e){try{return i(e)}catch(t){return o.slice()}}(e):i(r(e))}},function(e,t){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},function(e,t,n){"use strict";var r=n(47),i=n(22),a=n(201),o=[].slice,s={},l=function(e,t,n){if(!(t in s)){for(var r=[],i=0;i>>0||(o.test(n)?16:10))}:r},function(e,t,n){var r=n(20).parseFloat,i=n(116).trim;e.exports=1/r(n(176)+"-0")!=-1/0?function(e){var t=i(String(e),3),n=r(t);return 0===n&&"-"==t.charAt(0)?-0:n}:r},function(e,t,n){var r=n(67);e.exports=function(e,t){if("number"!=typeof e&&"Number"!=r(e))throw TypeError(t);return+e}},function(e,t,n){var r=n(22),i=Math.floor;e.exports=function(e){return!r(e)&&isFinite(e)&&i(e)===e}},function(e,t){e.exports=Math.log1p||function(e){return(e=+e)>-1e-8&&e<1e-8?e-e*e/2:Math.log(1+e)}},function(e,t,n){var r=n(15);e.exports=function(e,t,n,i){try{return i?t(r(n)[0],n[1]):t(n)}catch(o){var a=e.return;throw void 0!==a&&r(a.call(e)),o}}},function(e,t,n){var r=n(402);e.exports=function(e,t){return new(r(e))(t)}},function(e,t,n){var r=n(47),i=n(42),a=n(115),o=n(31);e.exports=function(e,t,n,s,l){r(t);var c=i(e),u=a(c),d=o(c.length),h=l?d-1:0,p=l?-1:1;if(n<2)for(;;){if(h in u){s=u[h],h+=p;break}if(h+=p,l?h<0:d<=h)throw TypeError("Reduce of empty array with no initial value")}for(;l?h>=0:d>h;h+=p)h in u&&(s=t(s,u[h],h,c));return s}},function(e,t,n){"use strict";var r=n(42),i=n(91),a=n(31);e.exports=[].copyWithin||function(e,t){var n=r(this),o=a(n.length),s=i(e,o),l=i(t,o),c=arguments.length>2?arguments[2]:void 0,u=Math.min((void 0===c?o:i(c,o))-l,o-s),d=1;for(l0;)l in n?n[s]=n[l]:delete n[s],s+=d,l+=d;return n}},function(e,t,n){"use strict";var r=n(185);n(2)({target:"RegExp",proto:!0,forced:r!==/./.exec},{exec:r})},function(e,t,n){n(35)&&"g"!=/./g.flags&&n(33).f(RegExp.prototype,"flags",{configurable:!0,get:n(124)})},function(e,t,n){var r=n(20),i=n(206).set,a=r.MutationObserver||r.WebKitMutationObserver,o=r.process,s=r.Promise,l="process"==n(67)(o);e.exports=function(){var e,t,n,c=function(){var r,i;for(l&&(r=o.domain)&&r.exit();e;){i=e.fn,e=e.next;try{i()}catch(a){throw e?n():t=void 0,a}}t=void 0,r&&r.enter()};if(l)n=function(){o.nextTick(c)};else if(!a||r.navigator&&r.navigator.standalone)if(s&&s.resolve){var u=s.resolve(void 0);n=function(){u.then(c)}}else n=function(){i.call(r,c)};else{var d=!0,h=document.createTextNode("");new a(c).observe(h,{characterData:!0}),n=function(){h.data=d=!d}}return function(r){var i={fn:r,next:void 0};t&&(t.next=i),e||(e=i,n()),t=i}}},function(e,t,n){"use strict";var r=n(241),i=n(111);e.exports=n(137)("Map",(function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}}),{get:function(e){var t=r.getEntry(i(this,"Map"),e);return t&&t.v},set:function(e,t){return r.def(i(this,"Map"),0===e?0:e,t)}},r,!0)},function(e,t,n){"use strict";var r=n(33).f,i=n(83),a=n(101),o=n(62),s=n(99),l=n(100),c=n(153),u=n(205),d=n(98),h=n(35),p=n(82).fastKey,f=n(111),m=h?"_s":"size",g=function(e,t){var n,r=p(t);if("F"!==r)return e._i[r];for(n=e._f;n;n=n.n)if(n.k==t)return n};e.exports={getConstructor:function(e,t,n,c){var u=e((function(e,r){s(e,u,t,"_i"),e._t=t,e._i=i(null),e._f=void 0,e._l=void 0,e[m]=0,null!=r&&l(r,n,e[c],e)}));return a(u.prototype,{clear:function(){for(var e=f(this,t),n=e._i,r=e._f;r;r=r.n)r.r=!0,r.p&&(r.p=r.p.n=void 0),delete n[r.i];e._f=e._l=void 0,e[m]=0},delete:function(e){var n=f(this,t),r=g(n,e);if(r){var i=r.n,a=r.p;delete n._i[r.i],r.r=!0,a&&(a.n=i),i&&(i.p=a),n._f==r&&(n._f=i),n._l==r&&(n._l=a),n[m]--}return!!r},forEach:function(e){f(this,t);for(var n,r=o(e,arguments.length>1?arguments[1]:void 0,3);n=n?n.n:this._f;)for(r(n.v,n.k,this);n&&n.r;)n=n.p},has:function(e){return!!g(f(this,t),e)}}),h&&r(u.prototype,"size",{get:function(){return f(this,t)[m]}}),u},def:function(e,t,n){var r,i,a=g(e,t);return a?a.v=n:(e._l=a={i:i=p(t,!0),k:t,v:n,p:r=e._l,n:void 0,r:!1},e._f||(e._f=a),r&&(r.n=a),e[m]++,"F"!==i&&(e._i[i]=a)),e},getEntry:g,setStrong:function(e,t,n){c(e,t,(function(e,n){this._t=f(e,t),this._k=n,this._l=void 0}),(function(){for(var e=this._k,t=this._l;t&&t.r;)t=t.p;return this._t&&(this._l=t=t?t.n:this._t._f)?u(0,"keys"==e?t.k:"values"==e?t.v:[t.k,t.v]):(this._t=void 0,u(1))}),n?"entries":"values",!n,!0),d(t)}}},function(e,t,n){"use strict";var r=n(241),i=n(111);e.exports=n(137)("Set",(function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}}),{add:function(e){return r.def(i(this,"Set"),e=0===e?0:e,e)}},r)},function(e,t,n){"use strict";var r,i=n(69)(0),a=n(51),o=n(82),s=n(200),l=n(244),c=n(22),u=n(21),d=n(111),h=o.getWeak,p=Object.isExtensible,f=l.ufstore,m={},g=function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},y={get:function(e){if(c(e)){var t=h(e);return!0===t?f(d(this,"WeakMap")).get(e):t?t[this._i]:void 0}},set:function(e,t){return l.def(d(this,"WeakMap"),e,t)}},b=e.exports=n(137)("WeakMap",g,y,l,!0,!0);u((function(){return 7!=(new b).set((Object.freeze||Object)(m),7).get(m)}))&&(s((r=l.getConstructor(g,"WeakMap")).prototype,y),o.NEED=!0,i(["delete","has","get","set"],(function(e){var t=b.prototype,n=t[e];a(t,e,(function(t,i){if(c(t)&&!p(t)){this._f||(this._f=new r);var a=this._f[e](t,i);return"set"==e?this:a}return n.call(this,t,i)}))})))},function(e,t,n){"use strict";var r=n(101),i=n(82).getWeak,a=n(15),o=n(22),s=n(99),l=n(100),c=n(69),u=n(50),d=n(111),h=c(5),p=c(6),f=0,m=function(e){return e._l||(e._l=new g)},g=function(){this.a=[]},y=function(e,t){return h(e.a,(function(e){return e[0]===t}))};g.prototype={get:function(e){var t=y(this,e);if(t)return t[1]},has:function(e){return!!y(this,e)},set:function(e,t){var n=y(this,e);n?n[1]=t:this.a.push([e,t])},delete:function(e){var t=p(this.a,(function(t){return t[0]===e}));return~t&&this.a.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,n,a){var c=e((function(e,r){s(e,c,t,"_i"),e._t=t,e._i=f++,e._l=void 0,null!=r&&l(r,n,e[a],e)}));return r(c.prototype,{delete:function(e){if(!o(e))return!1;var n=i(e);return!0===n?m(d(this,t)).delete(e):n&&u(n,this._i)&&delete n[this._i]},has:function(e){if(!o(e))return!1;var n=i(e);return!0===n?m(d(this,t)).has(e):n&&u(n,this._i)}}),c},def:function(e,t,n){var r=i(a(t),!0);return!0===r?m(e).set(t,n):r[e._i]=n,e},ufstore:m}},function(e,t,n){var r=n(63),i=n(31);e.exports=function(e){if(void 0===e)return 0;var t=r(e),n=i(t);if(t!==n)throw RangeError("Wrong length!");return n}},function(e,t,n){var r=n(92),i=n(132),a=n(15),o=n(20).Reflect;e.exports=o&&o.ownKeys||function(e){var t=r.f(a(e)),n=i.f;return n?t.concat(n(e)):t}},,,,,,,,,,,,,,,,,,function(e,t,n){(function(e){function n(e){return Object.prototype.toString.call(e)}t.isArray=function(e){return Array.isArray?Array.isArray(e):"[object Array]"===n(e)},t.isBoolean=function(e){return"boolean"==typeof e},t.isNull=function(e){return null===e},t.isNullOrUndefined=function(e){return null==e},t.isNumber=function(e){return"number"==typeof e},t.isString=function(e){return"string"==typeof e},t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=function(e){return void 0===e},t.isRegExp=function(e){return"[object RegExp]"===n(e)},t.isObject=function(e){return"object"==typeof e&&null!==e},t.isDate=function(e){return"[object Date]"===n(e)},t.isError=function(e){return"[object Error]"===n(e)||e instanceof Error},t.isFunction=function(e){return"function"==typeof e},t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=e.isBuffer}).call(this,n(95).Buffer)},function(e,t,n){var r=n(34);n(145),n(44),(e.exports=r.hmac=r.hmac||{}).create=function(){var e=null,t=null,n=null,i=null,a={start:function(a,o){if(null!==a)if("string"==typeof a){if(!((a=a.toLowerCase())in r.md.algorithms))throw new Error('Unknown hash algorithm "'+a+'"');t=r.md.algorithms[a].create()}else t=a;if(null===o)o=e;else{if("string"==typeof o)o=r.util.createBuffer(o);else if(r.util.isArray(o)){var s=o;o=r.util.createBuffer();for(var l=0;lt.blockLength&&(t.start(),t.update(o.bytes()),o=t.digest()),n=r.util.createBuffer(),i=r.util.createBuffer(),c=o.length();for(l=0;l>>0,l>>>0];for(var c=i.fullMessageLength.length-1;c>=0;--c)i.fullMessageLength[c]+=l[1],l[1]=l[0]+(i.fullMessageLength[c]/4294967296>>>0),i.fullMessageLength[c]=i.fullMessageLength[c]>>>0,l[0]=l[1]/4294967296>>>0;return t.putBytes(a),s(e,n,t),(t.read>2048||0===t.length())&&t.compact(),i},i.digest=function(){var o=r.util.createBuffer();o.putBytes(t.bytes());var l,c=i.fullMessageLength[i.fullMessageLength.length-1]+i.messageLengthSize&i.blockLength-1;o.putBytes(a.substr(0,i.blockLength-c));for(var u=8*i.fullMessageLength[0],d=0;d>>0,o.putInt32(u>>>0),u=l>>>0;o.putInt32(u);var h={h0:e.h0,h1:e.h1,h2:e.h2,h3:e.h3,h4:e.h4};s(h,n,o);var p=r.util.createBuffer();return p.putInt32(h.h0),p.putInt32(h.h1),p.putInt32(h.h2),p.putInt32(h.h3),p.putInt32(h.h4),p},i};var a=null,o=!1;function s(e,t,n){for(var r,i,a,o,s,l,c,u=n.length();u>=64;){for(i=e.h0,a=e.h1,o=e.h2,s=e.h3,l=e.h4,c=0;c<16;++c)r=n.getInt32(),t[c]=r,r=(i<<5|i>>>27)+(s^a&(o^s))+l+1518500249+r,l=s,s=o,o=(a<<30|a>>>2)>>>0,a=i,i=r;for(;c<20;++c)r=(r=t[c-3]^t[c-8]^t[c-14]^t[c-16])<<1|r>>>31,t[c]=r,r=(i<<5|i>>>27)+(s^a&(o^s))+l+1518500249+r,l=s,s=o,o=(a<<30|a>>>2)>>>0,a=i,i=r;for(;c<32;++c)r=(r=t[c-3]^t[c-8]^t[c-14]^t[c-16])<<1|r>>>31,t[c]=r,r=(i<<5|i>>>27)+(a^o^s)+l+1859775393+r,l=s,s=o,o=(a<<30|a>>>2)>>>0,a=i,i=r;for(;c<40;++c)r=(r=t[c-6]^t[c-16]^t[c-28]^t[c-32])<<2|r>>>30,t[c]=r,r=(i<<5|i>>>27)+(a^o^s)+l+1859775393+r,l=s,s=o,o=(a<<30|a>>>2)>>>0,a=i,i=r;for(;c<60;++c)r=(r=t[c-6]^t[c-16]^t[c-28]^t[c-32])<<2|r>>>30,t[c]=r,r=(i<<5|i>>>27)+(a&o|s&(a^o))+l+2400959708+r,l=s,s=o,o=(a<<30|a>>>2)>>>0,a=i,i=r;for(;c<80;++c)r=(r=t[c-6]^t[c-16]^t[c-28]^t[c-32])<<2|r>>>30,t[c]=r,r=(i<<5|i>>>27)+(a^o^s)+l+3395469782+r,l=s,s=o,o=(a<<30|a>>>2)>>>0,a=i,i=r;e.h0=e.h0+i|0,e.h1=e.h1+a|0,e.h2=e.h2+o|0,e.h3=e.h3+s|0,e.h4=e.h4+l|0,u-=64}}},function(e,t,n){"use strict";n.r(t);var r=n(0),i=n(4); /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ function a(e){return null!=e&&""+e!="false"} /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */function o(e,t){return void 0===t&&(t=0),function(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))} /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */(e)?Number(e):t} /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ function s(e){return e instanceof r.ElementRef?e.nativeElement:e} /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */var l=n(147),c=n(310),u=n(32),d=n(1105),h=n(1103),p=n(1),f=n(168),m=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.scheduler=t,r.work=n,r}return p.c(t,e),t.prototype.requestAsyncId=function(t,n,r){return void 0===r&&(r=0),null!==r&&r>0?e.prototype.requestAsyncId.call(this,t,n,r):(t.actions.push(this),t.scheduled||(t.scheduled=requestAnimationFrame((function(){return t.flush(null)}))))},t.prototype.recycleAsyncId=function(t,n,r){if(void 0===r&&(r=0),null!==r&&r>0||null===r&&this.delay>0)return e.prototype.recycleAsyncId.call(this,t,n,r);0===t.actions.length&&(cancelAnimationFrame(n),t.scheduled=void 0)},t}(f.a),g=n(167),y=new(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return p.c(t,e),t.prototype.flush=function(e){this.active=!0,this.scheduled=void 0;var t,n=this.actions,r=-1,i=n.length;e=e||n.shift();do{if(t=e.execute(e.state,e.delay))break}while(++r0?e.prototype.requestAsyncId.call(this,t,n,r):(t.actions.push(this),t.scheduled||(t.scheduled=_(t.flush.bind(t,null))))},t.prototype.recycleAsyncId=function(t,n,r){if(void 0===r&&(r=0),null!==r&&r>0||null===r&&this.delay>0)return e.prototype.recycleAsyncId.call(this,t,n,r);0===t.actions.length&&(j(n),t.scheduled=void 0)},t}(f.a),x=new(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return p.c(t,e),t.prototype.flush=function(e){this.active=!0,this.scheduled=void 0;var t,n=this.actions,r=-1,i=n.length;e=e||n.shift();do{if(t=e.execute(e.state,e.delay))break}while(++r=0}var M=n(122);function q(e){var t=e.index,n=e.period,r=e.subscriber;if(r.next(t),!r.closed){if(-1===n)return r.complete();e.index=t+1,this.schedule(e,n)}}function B(e,t){return void 0===t&&(t=I.a),n=function(){return function(e,t,n){void 0===e&&(e=0);var r=-1;return R(t)?r=Number(t)<1?1:Number(t):Object(M.a)(t)&&(n=t),Object(M.a)(n)||(n=I.a),new u.a((function(t){var i=R(e)?e:+e-n.now();return n.schedule(q,i,{index:0,period:r,subscriber:t})}))}(e,t)},function(e){return e.lift(new A(n))};var n}var L=n(311);function F(e){return function(t){return t.lift(new U(e))}}var U=function(){function e(e){this.notifier=e}return e.prototype.call=function(e,t){var n=new V(e),r=Object(D.c)(this.notifier,new D.a(n));return r&&!n.seenValue?(n.add(r),t.subscribe(n)):n},e}(),V=function(e){function t(t){var n=e.call(this,t)||this;return n.seenValue=!1,n}return p.c(t,e),t.prototype.notifyNext=function(){this.seenValue=!0,this.complete()},t.prototype.notifyComplete=function(){},t}(D.b),H=n(1107);var K,W=function(){function e(){}return e.prototype.call=function(e,t){return t.subscribe(new G(e))},e}(),G=function(e){function t(t){var n=e.call(this,t)||this;return n.hasPrev=!1,n}return p.c(t,e),t.prototype._next=function(e){var t;this.hasPrev?t=[this.prev,e]:this.hasPrev=!0,this.prev=e,t&&this.destination.next(t)},t}(T.a),Q=n(1106),$=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.scheduler=t,r.work=n,r}return p.c(t,e),t.prototype.schedule=function(t,n){return void 0===n&&(n=0),n>0?e.prototype.schedule.call(this,t,n):(this.delay=n,this.state=t,this.scheduler.flush(this),this)},t.prototype.execute=function(t,n){return n>0||this.closed?e.prototype.execute.call(this,t,n):this._execute(t,n)},t.prototype.requestAsyncId=function(t,n,r){return void 0===r&&(r=0),null!==r&&r>0||null===r&&this.delay>0?e.prototype.requestAsyncId.call(this,t,n,r):t.flush(this)},t}(f.a),Y=new(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return p.c(t,e),t}(g.a))($),Z=n(165);function J(e){var t=e.error;e.subscriber.error(t)}K||(K={});var X=function(){function e(e,t,n){this.kind=e,this.value=t,this.error=n,this.hasValue="N"===e}return e.prototype.observe=function(e){switch(this.kind){case"N":return e.next&&e.next(this.value);case"E":return e.error&&e.error(this.error);case"C":return e.complete&&e.complete()}},e.prototype.do=function(e,t,n){switch(this.kind){case"N":return e&&e(this.value);case"E":return t&&t(this.error);case"C":return n&&n()}},e.prototype.accept=function(e,t,n){return e&&"function"==typeof e.next?this.observe(e):this.do(e,t,n)},e.prototype.toObservable=function(){var e,t;switch(this.kind){case"N":return Object(c.a)(this.value);case"E":return e=this.error,t?new u.a((function(n){return t.schedule(J,0,{error:e,subscriber:n})})):new u.a((function(t){return t.error(e)}));case"C":return Object(Z.b)()}throw new Error("unexpected notification kind value")},e.createNext=function(t){return void 0!==t?new e("N",t):e.undefinedValueNotification},e.createError=function(t){return new e("E",void 0,t)},e.createComplete=function(){return e.completeNotification},e.completeNotification=new e("C"),e.undefinedValueNotification=new e("N",void 0),e}();var ee,te=function(e){function t(t,n,r){void 0===r&&(r=0);var i=e.call(this,t)||this;return i.scheduler=n,i.delay=r,i}return p.c(t,e),t.dispatch=function(e){var t=e.notification,n=e.destination;t.observe(n),this.unsubscribe()},t.prototype.scheduleMessage=function(e){this.destination.add(this.scheduler.schedule(t.dispatch,this.delay,new ne(e,this.destination)))},t.prototype._next=function(e){this.scheduleMessage(X.createNext(e))},t.prototype._error=function(e){this.scheduleMessage(X.createError(e)),this.unsubscribe()},t.prototype._complete=function(){this.scheduleMessage(X.createComplete()),this.unsubscribe()},t}(T.a),ne=function(){return function(e,t){this.notification=e,this.destination=t}}(),re=n(130),ie=n(304),ae=function(e){function t(t,n,r){void 0===t&&(t=Number.POSITIVE_INFINITY),void 0===n&&(n=Number.POSITIVE_INFINITY);var i=e.call(this)||this;return i.scheduler=r,i._events=[],i._infiniteTimeWindow=!1,i._bufferSize=t<1?1:t,i._windowTime=n<1?1:n,n===Number.POSITIVE_INFINITY?(i._infiniteTimeWindow=!0,i.next=i.nextInfiniteTimeWindow):i.next=i.nextTimeWindow,i}return p.c(t,e),t.prototype.nextInfiniteTimeWindow=function(t){var n=this._events;n.push(t),n.length>this._bufferSize&&n.shift(),e.prototype.next.call(this,t)},t.prototype.nextTimeWindow=function(t){this._events.push(new oe(this._getNow(),t)),this._trimBufferThenGetEvents(),e.prototype.next.call(this,t)},t.prototype._subscribe=function(e){var t,n=this._infiniteTimeWindow,r=n?this._events:this._trimBufferThenGetEvents(),i=this.scheduler,a=r.length;if(this.closed)throw new re.a;if(this.isStopped||this.hasError?t=E.a.EMPTY:(this.observers.push(e),t=new ie.a(this,e)),i&&e.add(e=new te(e,i)),n)for(var o=0;ot&&(a=Math.max(a,i-t)),a>0&&r.splice(0,a),r},t}(l.a),oe=function(){return function(e,t){this.time=e,this.value=t}}();function se(e,t,n){var r;return r=e&&"object"==typeof e?e:{bufferSize:e,windowTime:t,refCount:!1,scheduler:n},function(e){return e.lift(function(e){var t,n,r=e.bufferSize,i=void 0===r?Number.POSITIVE_INFINITY:r,a=e.windowTime,o=void 0===a?Number.POSITIVE_INFINITY:a,s=e.refCount,l=e.scheduler,c=0,u=!1,d=!1;return function(e){var r;c++,!t||u?(u=!1,t=new ae(i,o,l),r=t.subscribe(this),n=e.subscribe({next:function(e){t.next(e)},error:function(e){u=!0,t.error(e)},complete:function(){d=!0,n=void 0,t.complete()}})):r=t.subscribe(this),this.add((function(){c--,r.unsubscribe(),n&&!d&&s&&0===c&&(n.unsubscribe(),n=void 0,t=void 0)}))}} /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */(r))}}try{ee="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(It){ee=!1}var le,ce,ue,de=function(){function e(e){this._platformId=e,this.isBrowser=this._platformId?Object(i.isPlatformBrowser)(this._platformId):"object"==typeof document&&!!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&&!ee)&&"undefined"!=typeof CSS&&!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}return e.ctorParameters=function(){return[{type:Object,decorators:[{type:r.Optional},{type:r.Inject,args:[r.PLATFORM_ID]}]}]},e.ɵprov=Object(r["ɵɵdefineInjectable"])({factory:function(){return new e(Object(r["ɵɵinject"])(r.PLATFORM_ID,8))},token:e,providedIn:"root"}),e.ɵfac=function(t){return new(t||e)(r["ɵɵinject"](r.PLATFORM_ID,8))},e}(),he=function(){function e(){}return e.ɵmod=r["ɵɵdefineNgModule"]({type:e}),e.ɵinj=r["ɵɵdefineInjector"]({factory:function(t){return new(t||e)}}),e}(); /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */function pe(e){return function(){if(null==le&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return le=!0}}))}finally{le=le||!1}return le}()?e:!!e.capture} /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */function fe(){if("object"!=typeof document||!document)return 0;if(null==ce){var e=document.createElement("div"),t=e.style;e.dir="rtl",t.height="1px",t.width="1px",t.overflow="auto",t.visibility="hidden",t.pointerEvents="none",t.position="absolute";var n=document.createElement("div"),r=n.style;r.width="2px",r.height="1px",e.appendChild(n),document.body.appendChild(e),ce=0,0===e.scrollLeft&&(e.scrollLeft=1,ce=0===e.scrollLeft?1:2),e.parentNode.removeChild(e)}return ce} /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */function me(e){if(function(){if(null==ue){var e="undefined"!=typeof document?document.head:null;ue=!(!e||!e.createShadowRoot&&!e.attachShadow)}return ue}()){var t=e.getRootNode?e.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&t instanceof ShadowRoot)return t}return null} /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */var ge=new r.InjectionToken("cdk-dir-doc",{providedIn:"root",factory:function(){return Object(r.inject)(i.DOCUMENT)} /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */});var ye=function(){function e(e){if(this.value="ltr",this.change=new r.EventEmitter,e){var t=e.body?e.body.dir:null,n=e.documentElement?e.documentElement.dir:null,i=t||n;this.value="ltr"===i||"rtl"===i?i:"ltr"}}return e.prototype.ngOnDestroy=function(){this.change.complete()},e.ctorParameters=function(){return[{type:void 0,decorators:[{type:r.Optional},{type:r.Inject,args:[ge]}]}]},e.ɵprov=Object(r["ɵɵdefineInjectable"])({factory:function(){return new e(Object(r["ɵɵinject"])(ge,8))},token:e,providedIn:"root"}),e.ɵfac=function(t){return new(t||e)(r["ɵɵinject"](ge,8))},e}(),be=function(){function e(){this._dir="ltr",this._isInitialized=!1,this.change=new r.EventEmitter}return Object.defineProperty(e.prototype,"dir",{get:function(){return this._dir},set:function(e){var t=this._dir,n=e?e.toLowerCase():e;this._rawDir=e,this._dir="ltr"===n||"rtl"===n?n:"ltr",t!==this._dir&&this._isInitialized&&this.change.emit(this._dir)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this.dir},enumerable:!0,configurable:!0}),e.prototype.ngAfterContentInit=function(){this._isInitialized=!0},e.prototype.ngOnDestroy=function(){this.change.complete()},e.propDecorators={change:[{type:r.Output,args:["dirChange"]}],dir:[{type:r.Input}]},e.ɵfac=function(t){return new(t||e)},e.ɵdir=r["ɵɵdefineDirective"]({type:e,selectors:[["","dir",""]],hostVars:1,hostBindings:function(e,t){2&e&&r["ɵɵattribute"]("dir",t._rawDir)},inputs:{dir:"dir"},outputs:{change:"dirChange"},exportAs:["dir"],features:[r["ɵɵProvidersFeature"]([{provide:ye,useExisting:e}])]}),e}(),ve=function(){function e(){}return e.ɵmod=r["ɵɵdefineNgModule"]({type:e}),e.ɵinj=r["ɵɵdefineInjector"]({factory:function(t){return new(t||e)}}),("undefined"==typeof ngJitMode||ngJitMode)&&r["ɵɵsetNgModuleScope"](e,{declarations:[be],exports:[be]}),e}(); /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ var ke=function(e){function t(t){var n=e.call(this)||this;return n._data=t,n}return Object(p.c)(t,e),t.prototype.connect=function(){return S(this._data)?this._data:Object(c.a)(this._data)},t.prototype.disconnect=function(){},t}((function(){})); /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */!function(){function e(e,t,n){var r=this;void 0===e&&(e=!1),void 0===n&&(n=!0),this._multiple=e,this._emitChanges=n,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new l.a,t&&t.length&&(e?t.forEach((function(e){return r._markSelected(e)})):this._markSelected(t[0]),this._selectedToEmit.length=0)}Object.defineProperty(e.prototype,"selected",{get:function(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected},enumerable:!0,configurable:!0}),e.prototype.select=function(){for(var e=this,t=[],n=0;n1&&!this._multiple)throw Error("Cannot pass multiple values into SelectionModel with single-value mode.")}}();!function(){function e(){this._listeners=[]}e.prototype.notify=function(e,t){var n,r;try{for(var i=Object(p.h)(this._listeners),a=i.next();!a.done;a=i.next()){(0,a.value)(e,t)}}catch(o){n={error:o}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}},e.prototype.listen=function(e){var t=this;return this._listeners.push(e),function(){t._listeners=t._listeners.filter((function(t){return e!==t}))}},e.prototype.ngOnDestroy=function(){this._listeners=[]},e.ɵprov=Object(r["ɵɵdefineInjectable"])({factory:function(){return new e},token:e,providedIn:"root"}),e.ɵfac=function(t){return new(t||e)}}(); /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */var we=["contentWrapper"],_e=["*"],je=new r.InjectionToken("VIRTUAL_SCROLL_STRATEGY"),Ce=function(){function e(e,t,n){var r,i;this._scrolledIndexChange=new l.a,this.scrolledIndexChange=this._scrolledIndexChange.pipe((function(e){return e.lift(new O(r,i))})),this._viewport=null,this._itemSize=e,this._minBufferPx=t,this._maxBufferPx=n}return e.prototype.attach=function(e){this._viewport=e,this._updateTotalContentSize(),this._updateRenderedRange()},e.prototype.detach=function(){this._scrolledIndexChange.complete(),this._viewport=null},e.prototype.updateItemAndBufferSize=function(e,t,n){if(n0&&(r.end=Math.min(a,r.end+c),r.start=Math.max(0,Math.floor(t-this._minBufferPx/this._itemSize)))}}this._viewport.setRenderedRange(r),this._viewport.setRenderedContentOffset(this._itemSize*r.start),this._scrolledIndexChange.next(Math.floor(t))}},e}();function xe(e){return e._scrollStrategy}var Ee=function(){function e(){this._itemSize=20,this._minBufferPx=100,this._maxBufferPx=200,this._scrollStrategy=new Ce(this.itemSize,this.minBufferPx,this.maxBufferPx)}return Object.defineProperty(e.prototype,"itemSize",{get:function(){return this._itemSize},set:function(e){this._itemSize=o(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"minBufferPx",{get:function(){return this._minBufferPx},set:function(e){this._minBufferPx=o(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"maxBufferPx",{get:function(){return this._maxBufferPx},set:function(e){this._maxBufferPx=o(e)},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(){this._scrollStrategy.updateItemAndBufferSize(this.itemSize,this.minBufferPx,this.maxBufferPx)},e.propDecorators={itemSize:[{type:r.Input}],minBufferPx:[{type:r.Input}],maxBufferPx:[{type:r.Input}]},e.ɵfac=function(t){return new(t||e)},e.ɵdir=r["ɵɵdefineDirective"]({type:e,selectors:[["cdk-virtual-scroll-viewport","itemSize",""]],inputs:{itemSize:"itemSize",minBufferPx:"minBufferPx",maxBufferPx:"maxBufferPx"},features:[r["ɵɵProvidersFeature"]([{provide:je,useFactory:xe,deps:[Object(r.forwardRef)((function(){return e}))]}]),r["ɵɵNgOnChangesFeature"]]}),e}(),Se=function(){function e(e,t,n){this._ngZone=e,this._platform=t,this._scrolled=new l.a,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=n}return e.prototype.register=function(e){var t=this;this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe((function(){return t._scrolled.next(e)})))},e.prototype.deregister=function(e){var t=this.scrollContainers.get(e);t&&(t.unsubscribe(),this.scrollContainers.delete(e))},e.prototype.scrolled=function(e){var t=this;return void 0===e&&(e=20),this._platform.isBrowser?new u.a((function(n){t._globalSubscription||t._addGlobalListener();var r=e>0?t._scrolled.pipe(B(e)).subscribe(n):t._scrolled.subscribe(n);return t._scrolledCount++,function(){r.unsubscribe(),t._scrolledCount--,t._scrolledCount||t._removeGlobalListener()}})):Object(c.a)()},e.prototype.ngOnDestroy=function(){var e=this;this._removeGlobalListener(),this.scrollContainers.forEach((function(t,n){return e.deregister(n)})),this._scrolled.complete()},e.prototype.ancestorScrolled=function(e,t){var n=this.getAncestorScrollContainers(e);return this.scrolled(t).pipe(Object(L.a)((function(e){return!e||n.indexOf(e)>-1})))},e.prototype.getAncestorScrollContainers=function(e){var t=this,n=[];return this.scrollContainers.forEach((function(r,i){t._scrollableContainsElement(i,e)&&n.push(i)})),n},e.prototype._getDocument=function(){return this._document||document},e.prototype._getWindow=function(){return this._getDocument().defaultView||window},e.prototype._scrollableContainsElement=function(e,t){var n=t.nativeElement,r=e.getElementRef().nativeElement;do{if(n==r)return!0}while(n=n.parentElement);return!1},e.prototype._addGlobalListener=function(){var e=this;this._globalSubscription=this._ngZone.runOutsideAngular((function(){var t=e._getWindow();return Object(d.a)(t.document,"scroll").subscribe((function(){return e._scrolled.next()}))}))},e.prototype._removeGlobalListener=function(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)},e.ctorParameters=function(){return[{type:r.NgZone},{type:de},{type:void 0,decorators:[{type:r.Optional},{type:r.Inject,args:[i.DOCUMENT]}]}]},e.ɵprov=Object(r["ɵɵdefineInjectable"])({factory:function(){return new e(Object(r["ɵɵinject"])(r.NgZone),Object(r["ɵɵinject"])(de),Object(r["ɵɵinject"])(i.DOCUMENT,8))},token:e,providedIn:"root"}),e.ɵfac=function(t){return new(t||e)(r["ɵɵinject"](r.NgZone),r["ɵɵinject"](de),r["ɵɵinject"](i.DOCUMENT,8))},e}(),Te=function(){function e(e,t,n,r){var i=this;this.elementRef=e,this.scrollDispatcher=t,this.ngZone=n,this.dir=r,this._destroyed=new l.a,this._elementScrolled=new u.a((function(e){return i.ngZone.runOutsideAngular((function(){return Object(d.a)(i.elementRef.nativeElement,"scroll").pipe(F(i._destroyed)).subscribe(e)}))}))}return e.prototype.ngOnInit=function(){this.scrollDispatcher.register(this)},e.prototype.ngOnDestroy=function(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()},e.prototype.elementScrolled=function(){return this._elementScrolled},e.prototype.getElementRef=function(){return this.elementRef},e.prototype.scrollTo=function(e){var t=this.elementRef.nativeElement,n=this.dir&&"rtl"==this.dir.value;null==e.left&&(e.left=n?e.end:e.start),null==e.right&&(e.right=n?e.start:e.end),null!=e.bottom&&(e.top=t.scrollHeight-t.clientHeight-e.bottom),n&&0!=fe()?(null!=e.left&&(e.right=t.scrollWidth-t.clientWidth-e.left),2==fe()?e.left=e.right:1==fe()&&(e.left=e.right?-e.right:e.right)):null!=e.right&&(e.left=t.scrollWidth-t.clientWidth-e.right),this._applyScrollToOptions(e)},e.prototype._applyScrollToOptions=function(e){var t=this.elementRef.nativeElement;"object"==typeof document&&"scrollBehavior"in document.documentElement.style?t.scrollTo(e):(null!=e.top&&(t.scrollTop=e.top),null!=e.left&&(t.scrollLeft=e.left))},e.prototype.measureScrollOffset=function(e){var t=this.elementRef.nativeElement;if("top"==e)return t.scrollTop;if("bottom"==e)return t.scrollHeight-t.clientHeight-t.scrollTop;var n=this.dir&&"rtl"==this.dir.value;return"start"==e?e=n?"right":"left":"end"==e&&(e=n?"left":"right"),n&&2==fe()?"left"==e?t.scrollWidth-t.clientWidth-t.scrollLeft:t.scrollLeft:n&&1==fe()?"left"==e?t.scrollLeft+t.scrollWidth-t.clientWidth:-t.scrollLeft:"left"==e?t.scrollLeft:t.scrollWidth-t.clientWidth-t.scrollLeft},e.ctorParameters=function(){return[{type:r.ElementRef},{type:Se},{type:r.NgZone},{type:ye,decorators:[{type:r.Optional}]}]},e.ɵfac=function(t){return new(t||e)(r["ɵɵdirectiveInject"](r.ElementRef),r["ɵɵdirectiveInject"](Se),r["ɵɵdirectiveInject"](r.NgZone),r["ɵɵdirectiveInject"](ye,8))},e.ɵdir=r["ɵɵdefineDirective"]({type:e,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),e}(),Oe=function(){function e(e,t,n){var r=this;this._platform=e,this._document=n,t.runOutsideAngular((function(){var t=r._getWindow();r._change=e.isBrowser?Object(h.a)(Object(d.a)(t,"resize"),Object(d.a)(t,"orientationchange")):Object(c.a)(),r._invalidateCache=r.change().subscribe((function(){return r._updateViewportSize()}))}))}return e.prototype.ngOnDestroy=function(){this._invalidateCache.unsubscribe()},e.prototype.getViewportSize=function(){this._viewportSize||this._updateViewportSize();var e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e},e.prototype.getViewportRect=function(){var e=this.getViewportScrollPosition(),t=this.getViewportSize(),n=t.width,r=t.height;return{top:e.top,left:e.left,bottom:e.top+r,right:e.left+n,height:r,width:n}},e.prototype.getViewportScrollPosition=function(){if(!this._platform.isBrowser)return{top:0,left:0};var e=this._getDocument(),t=this._getWindow(),n=e.documentElement,r=n.getBoundingClientRect();return{top:-r.top||e.body.scrollTop||t.scrollY||n.scrollTop||0,left:-r.left||e.body.scrollLeft||t.scrollX||n.scrollLeft||0}},e.prototype.change=function(e){return void 0===e&&(e=20),e>0?this._change.pipe(B(e)):this._change},e.prototype._getDocument=function(){return this._document||document},e.prototype._getWindow=function(){return this._getDocument().defaultView||window},e.prototype._updateViewportSize=function(){var e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}},e.ctorParameters=function(){return[{type:de},{type:r.NgZone},{type:void 0,decorators:[{type:r.Optional},{type:r.Inject,args:[i.DOCUMENT]}]}]},e.ɵprov=Object(r["ɵɵdefineInjectable"])({factory:function(){return new e(Object(r["ɵɵinject"])(de),Object(r["ɵɵinject"])(r.NgZone),Object(r["ɵɵinject"])(i.DOCUMENT,8))},token:e,providedIn:"root"}),e.ɵfac=function(t){return new(t||e)(r["ɵɵinject"](de),r["ɵɵinject"](r.NgZone),r["ɵɵinject"](i.DOCUMENT,8))},e}(); /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */var ze="undefined"!=typeof requestAnimationFrame?y:x,Ie=function(e){function t(t,n,r,i,a,o,s){var c=e.call(this,t,o,r,a)||this;if(c.elementRef=t,c._changeDetectorRef=n,c._scrollStrategy=i,c._detachedSubject=new l.a,c._renderedRangeSubject=new l.a,c._orientation="vertical",c.scrolledIndexChange=new u.a((function(e){return c._scrollStrategy.scrolledIndexChange.subscribe((function(t){return Promise.resolve().then((function(){return c.ngZone.run((function(){return e.next(t)}))}))}))})),c.renderedRangeStream=c._renderedRangeSubject.asObservable(),c._totalContentSize=0,c._totalContentWidth="",c._totalContentHeight="",c._renderedRange={start:0,end:0},c._dataLength=0,c._viewportSize=0,c._renderedContentOffset=0,c._renderedContentOffsetNeedsRewrite=!1,c._isChangeDetectionPending=!1,c._runAfterChangeDetection=[],c._viewportChanges=E.a.EMPTY,!i)throw Error('Error: cdk-virtual-scroll-viewport requires the "itemSize" property to be set.');return s&&(c._viewportChanges=s.change().subscribe((function(){c.checkViewportSize()}))),c}return Object(p.c)(t,e),Object.defineProperty(t.prototype,"orientation",{get:function(){return this._orientation},set:function(e){this._orientation!==e&&(this._orientation=e,this._calculateSpacerSize())},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){var t=this;e.prototype.ngOnInit.call(this),this.ngZone.runOutsideAngular((function(){return Promise.resolve().then((function(){t._measureViewportSize(),t._scrollStrategy.attach(t),t.elementScrolled().pipe(Object(H.a)(null),B(0,ze)).subscribe((function(){return t._scrollStrategy.onContentScrolled()})),t._markChangeDetectionNeeded()}))}))},t.prototype.ngOnDestroy=function(){this.detach(),this._scrollStrategy.detach(),this._renderedRangeSubject.complete(),this._detachedSubject.complete(),this._viewportChanges.unsubscribe(),e.prototype.ngOnDestroy.call(this)},t.prototype.attach=function(e){var t=this;if(this._forOf)throw Error("CdkVirtualScrollViewport is already attached.");this.ngZone.runOutsideAngular((function(){t._forOf=e,t._forOf.dataStream.pipe(F(t._detachedSubject)).subscribe((function(e){var n=e.length;n!==t._dataLength&&(t._dataLength=n,t._scrollStrategy.onDataLengthChanged()),t._doChangeDetection()}))}))},t.prototype.detach=function(){this._forOf=null,this._detachedSubject.next()},t.prototype.getDataLength=function(){return this._dataLength},t.prototype.getViewportSize=function(){return this._viewportSize},t.prototype.getRenderedRange=function(){return this._renderedRange},t.prototype.setTotalContentSize=function(e){this._totalContentSize!==e&&(this._totalContentSize=e,this._calculateSpacerSize(),this._markChangeDetectionNeeded())},t.prototype.setRenderedRange=function(e){var t,n,r=this;t=this._renderedRange,n=e,(t.start!=n.start||t.end!=n.end)&&(this._renderedRangeSubject.next(this._renderedRange=e),this._markChangeDetectionNeeded((function(){return r._scrollStrategy.onContentRendered()})))},t.prototype.getOffsetToRenderedContentStart=function(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset},t.prototype.setRenderedContentOffset=function(e,t){var n=this;void 0===t&&(t="to-start");var r=this.dir&&"rtl"==this.dir.value,i="horizontal"==this.orientation,a=i?"X":"Y",o="translate"+a+"("+Number((i&&r?-1:1)*e)+"px)";this._renderedContentOffset=e,"to-end"===t&&(o+=" translate"+a+"(-100%)",this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=o&&(this._renderedContentTransform=o,this._markChangeDetectionNeeded((function(){n._renderedContentOffsetNeedsRewrite?(n._renderedContentOffset-=n.measureRenderedContentSize(),n._renderedContentOffsetNeedsRewrite=!1,n.setRenderedContentOffset(n._renderedContentOffset)):n._scrollStrategy.onRenderedOffsetChanged()})))},t.prototype.scrollToOffset=function(e,t){void 0===t&&(t="auto");var n={behavior:t};"horizontal"===this.orientation?n.start=e:n.top=e,this.scrollTo(n)},t.prototype.scrollToIndex=function(e,t){void 0===t&&(t="auto"),this._scrollStrategy.scrollToIndex(e,t)},t.prototype.measureScrollOffset=function(t){return t?e.prototype.measureScrollOffset.call(this,t):e.prototype.measureScrollOffset.call(this,"horizontal"===this.orientation?"start":"top")},t.prototype.measureRenderedContentSize=function(){var e=this._contentWrapper.nativeElement;return"horizontal"===this.orientation?e.offsetWidth:e.offsetHeight},t.prototype.measureRangeSize=function(e){return this._forOf?this._forOf.measureRangeSize(e,this.orientation):0},t.prototype.checkViewportSize=function(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged()},t.prototype._measureViewportSize=function(){var e=this.elementRef.nativeElement;this._viewportSize="horizontal"===this.orientation?e.clientWidth:e.clientHeight},t.prototype._markChangeDetectionNeeded=function(e){var t=this;e&&this._runAfterChangeDetection.push(e),this._isChangeDetectionPending||(this._isChangeDetectionPending=!0,this.ngZone.runOutsideAngular((function(){return Promise.resolve().then((function(){t._doChangeDetection()}))})))},t.prototype._doChangeDetection=function(){var e,t,n=this;this._isChangeDetectionPending=!1,this._contentWrapper.nativeElement.style.transform=this._renderedContentTransform,this.ngZone.run((function(){return n._changeDetectorRef.markForCheck()}));var r=this._runAfterChangeDetection;this._runAfterChangeDetection=[];try{for(var i=Object(p.h)(r),a=i.next();!a.done;a=i.next()){(0,a.value)()}}catch(o){e={error:o}}finally{try{a&&!a.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}},t.prototype._calculateSpacerSize=function(){this._totalContentHeight="horizontal"===this.orientation?"":this._totalContentSize+"px",this._totalContentWidth="horizontal"===this.orientation?this._totalContentSize+"px":""},t.ctorParameters=function(){return[{type:r.ElementRef},{type:r.ChangeDetectorRef},{type:r.NgZone},{type:void 0,decorators:[{type:r.Optional},{type:r.Inject,args:[je]}]},{type:ye,decorators:[{type:r.Optional}]},{type:Se},{type:Oe,decorators:[{type:r.Optional}]}]},t.propDecorators={orientation:[{type:r.Input}],scrolledIndexChange:[{type:r.Output}],_contentWrapper:[{type:r.ViewChild,args:["contentWrapper",{static:!0}]}]},t.ɵfac=function(e){return new(e||t)(r["ɵɵdirectiveInject"](r.ElementRef),r["ɵɵdirectiveInject"](r.ChangeDetectorRef),r["ɵɵdirectiveInject"](r.NgZone),r["ɵɵdirectiveInject"](je,8),r["ɵɵdirectiveInject"](ye,8),r["ɵɵdirectiveInject"](Se),r["ɵɵdirectiveInject"](Oe,8))},t.ɵcmp=r["ɵɵdefineComponent"]({type:t,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(e,t){var n;(1&e&&r["ɵɵstaticViewQuery"](we,!0),2&e)&&(r["ɵɵqueryRefresh"](n=r["ɵɵloadQuery"]())&&(t._contentWrapper=n.first))},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(e,t){2&e&&r["ɵɵclassProp"]("cdk-virtual-scroll-orientation-horizontal","horizontal"===t.orientation)("cdk-virtual-scroll-orientation-vertical","horizontal"!==t.orientation)},inputs:{orientation:"orientation"},outputs:{scrolledIndexChange:"scrolledIndexChange"},features:[r["ɵɵProvidersFeature"]([{provide:Te,useExisting:t}]),r["ɵɵInheritDefinitionFeature"]],ngContentSelectors:_e,decls:10,vars:4,consts:[[1,"cdk-virtual-scroll-content-wrapper"],["contentWrapper",""],[1,"cdk-virtual-scroll-spacer"]],template:function(e,t){1&e&&(r["ɵɵprojectionDef"](),r["ɵɵtext"](0,"\n"),r["ɵɵelementStart"](1,"div",0,1),r["ɵɵtext"](3,"\n "),r["ɵɵprojection"](4),r["ɵɵtext"](5,"\n"),r["ɵɵelementEnd"](),r["ɵɵtext"](6,"\n"),r["ɵɵtext"](7,"\n"),r["ɵɵelement"](8,"div",2),r["ɵɵtext"](9,"\n")),2&e&&(r["ɵɵadvance"](8),r["ɵɵstyleProp"]("width",t._totalContentWidth)("height",t._totalContentHeight))},styles:["cdk-virtual-scroll-viewport{display:block;position:relative;overflow:auto;contain:strict;transform:translateZ(0);will-change:scroll-position;-webkit-overflow-scrolling:touch}.cdk-virtual-scroll-content-wrapper{position:absolute;top:0;left:0;contain:content}[dir=rtl] .cdk-virtual-scroll-content-wrapper{right:0;left:auto}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper{min-height:100%}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-left:0;padding-right:0;margin-left:0;margin-right:0;border-left-width:0;border-right-width:0;outline:none}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper{min-width:100%}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;border-top-width:0;border-bottom-width:0;outline:none}.cdk-virtual-scroll-spacer{position:absolute;top:0;left:0;height:1px;width:1px;transform-origin:0 0}[dir=rtl] .cdk-virtual-scroll-spacer{right:0;left:auto;transform-origin:100% 0}\n"],encapsulation:2,changeDetection:0}),t}(Te); /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ function De(e,t){var n=t;if(!n.getBoundingClientRect)return 0;var r=n.getBoundingClientRect();return"horizontal"==e?r.width:r.height}var Ae=function(){function e(e,t,n,r,i){var a=this;this._viewContainerRef=e,this._template=t,this._differs=n,this._viewport=r,this.viewChange=new l.a,this._dataSourceChanges=new l.a,this.cdkVirtualForTemplateCacheSize=20,this.dataStream=this._dataSourceChanges.pipe(Object(H.a)(null),(function(e){return e.lift(new W)}),Object(Q.a)((function(e){var t=Object(p.f)(e,2),n=t[0],r=t[1];return a._changeDataSource(n,r)})),se(1)),this._differ=null,this._templateCache=[],this._needsUpdate=!1,this._destroyed=new l.a,this.dataStream.subscribe((function(e){a._data=e,a._onRenderedDataChange()})),this._viewport.renderedRangeStream.pipe(F(this._destroyed)).subscribe((function(e){a._renderedRange=e,i.run((function(){return a.viewChange.next(a._renderedRange)})),a._onRenderedDataChange()})),this._viewport.attach(this)}return Object.defineProperty(e.prototype,"cdkVirtualForOf",{get:function(){return this._cdkVirtualForOf},set:function(e){this._cdkVirtualForOf=e,!function(e){return e&&"function"==typeof e.connect}(e)?this._dataSourceChanges.next(new ke(S(e)?e:Array.prototype.slice.call(e||[]))):this._dataSourceChanges.next(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"cdkVirtualForTrackBy",{get:function(){return this._cdkVirtualForTrackBy},set:function(e){var t=this;this._needsUpdate=!0,this._cdkVirtualForTrackBy=e?function(n,r){return e(n+(t._renderedRange?t._renderedRange.start:0),r)}:void 0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"cdkVirtualForTemplate",{set:function(e){e&&(this._needsUpdate=!0,this._template=e)},enumerable:!0,configurable:!0}),e.prototype.measureRangeSize=function(e,t){if(e.start>=e.end)return 0;if(e.startthis._renderedRange.end)throw Error("Error: attempted to measure an item that isn't rendered.");for(var n=e.start-this._renderedRange.start,r=0,i=e.end-e.start;i--;)for(var a=this._viewContainerRef.get(i+n),o=a?a.rootNodes.length:0;o--;)r+=De(t,a.rootNodes[o]);return r},e.prototype.ngDoCheck=function(){if(this._differ&&this._needsUpdate){var e=this._differ.diff(this._renderedItems);e?this._applyChanges(e):this._updateContext(),this._needsUpdate=!1}},e.prototype.ngOnDestroy=function(){var e,t;this._viewport.detach(),this._dataSourceChanges.next(),this._dataSourceChanges.complete(),this.viewChange.complete(),this._destroyed.next(),this._destroyed.complete();try{for(var n=Object(p.h)(this._templateCache),r=n.next();!r.done;r=n.next()){r.value.destroy()}}catch(i){e={error:i}}finally{try{r&&!r.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}},e.prototype._onRenderedDataChange=function(){this._renderedRange&&(this._renderedItems=this._data.slice(this._renderedRange.start,this._renderedRange.end),this._differ||(this._differ=this._differs.find(this._renderedItems).create(this.cdkVirtualForTrackBy)),this._needsUpdate=!0)},e.prototype._changeDataSource=function(e,t){return e&&e.disconnect(this),this._needsUpdate=!0,t?t.connect(this):Object(c.a)()},e.prototype._updateContext=function(){for(var e=this._data.length,t=this._viewContainerRef.length;t--;){var n=this._viewContainerRef.get(t);n.context.index=this._renderedRange.start+t,n.context.count=e,this._updateComputedContextProperties(n.context),n.detectChanges()}},e.prototype._applyChanges=function(e){var t=this;e.forEachOperation((function(e,n,r){if(null==e.previousIndex)(i=t._insertViewForNewItem(r)).context.$implicit=e.item;else if(null==r)t._cacheView(t._detachView(n));else{var i=t._viewContainerRef.get(n);t._viewContainerRef.move(i,r),i.context.$implicit=e.item}})),e.forEachIdentityChange((function(e){t._viewContainerRef.get(e.currentIndex).context.$implicit=e.item}));for(var n=this._data.length,r=this._viewContainerRef.length;r--;){var i=this._viewContainerRef.get(r);i.context.index=this._renderedRange.start+r,i.context.count=n,this._updateComputedContextProperties(i.context)}},e.prototype._cacheView=function(e){if(this._templateCache.length-1?1:1e3;return parseFloat(e)*t}function Ue(e,t){return e.getPropertyValue(t).split(",").map((function(e){return e.trim()}))} /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */function Ve(e){var t=e.getBoundingClientRect();return{top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:t.width,height:t.height}}function He(e,t,n){var r=e.top,i=e.bottom,a=e.left,o=e.right;return n>=r&&n<=i&&t>=a&&t<=o}function Ke(e,t,n){e.top+=t,e.bottom=e.top+e.height,e.left+=n,e.right=e.left+e.width}function We(e,t,n,r){var i=e.top,a=e.right,o=e.bottom,s=e.left,l=e.width*t,c=e.height*t;return r>i-c&&rs-l&&n=o._config.dragStartThreshold){if(!(Date.now()>=o._dragStartTime+o._getDragStartDelay(e)))return void o._endDragSequence(e);o._dropContainer&&o._dropContainer.isDragging()||(o._hasStartedDragging=!0,o._ngZone.run((function(){return o._startDragSequence(e)})))}}},this._pointerUp=function(e){o._endDragSequence(e)},this.withRootElement(e),this._parentPositions=new Ge(n,i),a.registerDragItem(this)}return Object.defineProperty(e.prototype,"disabled",{get:function(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)},set:function(e){var t=a(e);t!==this._disabled&&(this._disabled=t,this._toggleNativeDragInteractions())},enumerable:!0,configurable:!0}),e.prototype.getPlaceholderElement=function(){return this._placeholder},e.prototype.getRootElement=function(){return this._rootElement},e.prototype.getVisibleElement=function(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()},e.prototype.withHandles=function(e){return this._handles=e.map((function(e){return s(e)})),this._handles.forEach((function(e){return Le(e,!1)})),this._toggleNativeDragInteractions(),this},e.prototype.withPreviewTemplate=function(e){return this._previewTemplate=e,this},e.prototype.withPlaceholderTemplate=function(e){return this._placeholderTemplate=e,this},e.prototype.withRootElement=function(e){var t=this,n=s(e);return n!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular((function(){n.addEventListener("mousedown",t._pointerDown,$e),n.addEventListener("touchstart",t._pointerDown,Qe)})),this._initialTransform=void 0,this._rootElement=n),this},e.prototype.withBoundaryElement=function(e){var t=this;return this._boundaryElement=e?s(e):null,this._resizeSubscription.unsubscribe(),e&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe((function(){return t._containInsideBoundaryOnResize()}))),this},e.prototype.dispose=function(){this._removeRootElementListeners(this._rootElement),this.isDragging()&&et(this._rootElement),et(this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeSubscriptions(),this.beforeStarted.complete(),this.started.complete(),this.released.complete(),this.ended.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this._moveEvents.complete(),this._handles=[],this._disabledHandles.clear(),this._dropContainer=void 0,this._resizeSubscription.unsubscribe(),this._parentPositions.clear(),this._boundaryElement=this._rootElement=this._placeholderTemplate=this._previewTemplate=this._anchor=null},e.prototype.isDragging=function(){return this._hasStartedDragging&&this._dragDropRegistry.isDragging(this)},e.prototype.reset=function(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}},e.prototype.disableHandle=function(e){this._handles.indexOf(e)>-1&&this._disabledHandles.add(e)},e.prototype.enableHandle=function(e){this._disabledHandles.delete(e)},e.prototype.withDirection=function(e){return this._direction=e,this},e.prototype._withDropContainer=function(e){this._dropContainer=e},e.prototype.getFreeDragPosition=function(){var e=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:e.x,y:e.y}},e.prototype.setFreeDragPosition=function(e){return this._activeTransform={x:0,y:0},this._passiveTransform.x=e.x,this._passiveTransform.y=e.y,this._dropContainer||this._applyRootElementTransform(e.x,e.y),this},e.prototype._sortFromLastPointerPosition=function(){var e=this._pointerPositionAtLastDirectionChange;e&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(e))},e.prototype._removeSubscriptions=function(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe()},e.prototype._destroyPreview=function(){this._preview&&et(this._preview),this._previewRef&&this._previewRef.destroy(),this._preview=this._previewRef=null},e.prototype._destroyPlaceholder=function(){this._placeholder&&et(this._placeholder),this._placeholderRef&&this._placeholderRef.destroy(),this._placeholder=this._placeholderRef=null},e.prototype._endDragSequence=function(e){var t=this;this._dragDropRegistry.isDragging(this)&&(this._removeSubscriptions(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),this._hasStartedDragging&&(this.released.next({source:this}),this._dropContainer?(this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then((function(){t._cleanupDragArtifacts(e),t._cleanupCachedDimensions(),t._dragDropRegistry.stopDragging(t)}))):(this._passiveTransform.x=this._activeTransform.x,this._passiveTransform.y=this._activeTransform.y,this._ngZone.run((function(){t.ended.next({source:t,distance:t._getDragDistance(t._getPointerPositionOnPage(e))})})),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this))))},e.prototype._startDragSequence=function(e){this.started.next({source:this}),tt(e)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();var t,n=this._dropContainer;if(n){var r=this._rootElement,i=r.parentNode,a=this._preview=this._createPreviewElement(),o=this._placeholder=this._createPlaceholderElement(),s=this._anchor=this._anchor||this._document.createComment("");i.insertBefore(s,r),r.style.display="none",this._document.body.appendChild(i.replaceChild(o,r)),(t=this._document,t.fullscreenElement||t.webkitFullscreenElement||t.mozFullScreenElement||t.msFullscreenElement||t.body).appendChild(a),n.start(),this._initialContainer=n,this._initialIndex=n.getItemIndex(this)}else this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(n?n.getScrollableParents():[])},e.prototype._initializeDragSequence=function(e,t){var n=this;t.stopPropagation();var r=this.isDragging(),i=tt(t),a=!i&&0!==t.button,o=this._rootElement,s=!i&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now();if(t.target&&t.target.draggable&&"mousedown"===t.type&&t.preventDefault(),!(r||a||s)){this._handles.length&&(this._rootElementTapHighlight=o.style.webkitTapHighlightColor,o.style.webkitTapHighlightColor="transparent"),this._hasStartedDragging=this._hasMoved=!1,this._removeSubscriptions(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scroll.subscribe((function(e){n._updateOnScroll(e)})),this._boundaryElement&&(this._boundaryRect=Ve(this._boundaryElement));var l=this._previewTemplate;this._pickupPositionInElement=l&&l.template&&!l.matchSize?{x:0,y:0}:this._getPointerPositionInElement(e,t);var c=this._pickupPositionOnPage=this._getPointerPositionOnPage(t);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:c.x,y:c.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,t)}},e.prototype._cleanupDragArtifacts=function(e){var t=this;this._rootElement.style.display="",this._anchor.parentNode.replaceChild(this._rootElement,this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._boundaryRect=this._previewRect=void 0,this._ngZone.run((function(){var n=t._dropContainer,r=n.getItemIndex(t),i=t._getPointerPositionOnPage(e),a=t._getDragDistance(t._getPointerPositionOnPage(e)),o=n._isOverContainer(i.x,i.y);t.ended.next({source:t,distance:a}),t.dropped.next({item:t,currentIndex:r,previousIndex:t._initialIndex,container:n,previousContainer:t._initialContainer,isPointerOverContainer:o,distance:a}),n.drop(t,r,t._initialContainer,o,a,t._initialIndex),t._dropContainer=t._initialContainer}))},e.prototype._updateActiveDropContainer=function(e){var t=this,n=e.x,r=e.y,i=this._initialContainer._getSiblingContainerFromPosition(this,n,r);!i&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(n,r)&&(i=this._initialContainer),i&&i!==this._dropContainer&&this._ngZone.run((function(){t.exited.next({item:t,container:t._dropContainer}),t._dropContainer.exit(t),t._dropContainer=i,t._dropContainer.enter(t,n,r,i===t._initialContainer&&i.sortingDisabled?t._initialIndex:void 0),t.entered.next({item:t,container:i,currentIndex:i.getItemIndex(t)})})),this._dropContainer._startScrollingIfNecessary(n,r),this._dropContainer._sortItem(this,n,r,this._pointerDirectionDelta),this._preview.style.transform=Ze(n-this._pickupPositionInElement.x,r-this._pickupPositionInElement.y)},e.prototype._createPreviewElement=function(){var e,t=this._previewTemplate,n=this.previewClass,r=t?t.template:null;if(r&&t){var i=t.matchSize?this._rootElement.getBoundingClientRect():null,a=t.viewContainer.createEmbeddedView(r,t.context);a.detectChanges(),e=nt(a,this._document),this._previewRef=a,t.matchSize?rt(e,i):e.style.transform=Ze(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else{var o=this._rootElement;rt(e=Je(o),o.getBoundingClientRect())}return Be(e.style,{pointerEvents:"none",margin:"0",position:"fixed",top:"0",left:"0",zIndex:""+(this._config.zIndex||1e3)}),Le(e,!1),e.classList.add("cdk-drag-preview"),e.setAttribute("dir",this._direction),n&&(Array.isArray(n)?n.forEach((function(t){return e.classList.add(t)})):e.classList.add(n)),e},e.prototype._animatePreviewToPlaceholder=function(){var e=this;if(!this._hasMoved)return Promise.resolve();var t=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating"),this._preview.style.transform=Ze(t.left,t.top);var n=function(e){var t=getComputedStyle(e),n=Ue(t,"transition-property"),r=n.find((function(e){return"transform"===e||"all"===e}));if(!r)return 0;var i=n.indexOf(r),a=Ue(t,"transition-duration"),o=Ue(t,"transition-delay");return Fe(a[i])+Fe(o[i])}(this._preview);return 0===n?Promise.resolve():this._ngZone.runOutsideAngular((function(){return new Promise((function(t){var r=function(n){(!n||n.target===e._preview&&"transform"===n.propertyName)&&(e._preview.removeEventListener("transitionend",r),t(),clearTimeout(i))},i=setTimeout(r,1.5*n);e._preview.addEventListener("transitionend",r)}))}))},e.prototype._createPlaceholderElement=function(){var e,t=this._placeholderTemplate,n=t?t.template:null;return n?(this._placeholderRef=t.viewContainer.createEmbeddedView(n,t.context),this._placeholderRef.detectChanges(),e=nt(this._placeholderRef,this._document)):e=Je(this._rootElement),e.classList.add("cdk-drag-placeholder"),e},e.prototype._getPointerPositionInElement=function(e,t){var n=this._rootElement.getBoundingClientRect(),r=e===this._rootElement?null:e,i=r?r.getBoundingClientRect():n,a=tt(t)?t.targetTouches[0]:t,o=this._getViewportScrollPosition(),s=a.pageX-i.left-o.left,l=a.pageY-i.top-o.top;return{x:i.left-n.left+s,y:i.top-n.top+l}},e.prototype._getPointerPositionOnPage=function(e){var t=tt(e)?e.touches[0]||e.changedTouches[0]:e,n=this._getViewportScrollPosition();return{x:t.pageX-n.left,y:t.pageY-n.top}},e.prototype._getConstrainedPointerPosition=function(e){var t=this.constrainPosition?this.constrainPosition(e,this):e,n=this._dropContainer?this._dropContainer.lockAxis:null;if("x"===this.lockAxis||"x"===n?t.y=this._pickupPositionOnPage.y:"y"!==this.lockAxis&&"y"!==n||(t.x=this._pickupPositionOnPage.x),this._boundaryRect){var r=this._pickupPositionInElement,i=r.x,a=r.y,o=this._boundaryRect,s=this._previewRect,l=o.top+a,c=o.bottom-(s.height-a),u=o.left+i,d=o.right-(s.width-i);t.x=Xe(t.x,u,d),t.y=Xe(t.y,l,c)}return t},e.prototype._updatePointerDirectionDelta=function(e){var t=e.x,n=e.y,r=this._pointerDirectionDelta,i=this._pointerPositionAtLastDirectionChange,a=Math.abs(t-i.x),o=Math.abs(n-i.y);return a>this._config.pointerDirectionChangeThreshold&&(r.x=t>i.x?1:-1,i.x=t),o>this._config.pointerDirectionChangeThreshold&&(r.y=n>i.y?1:-1,i.y=n),r},e.prototype._toggleNativeDragInteractions=function(){if(this._rootElement&&this._handles){var e=this._handles.length>0||!this.isDragging();e!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=e,Le(this._rootElement,e))}},e.prototype._removeRootElementListeners=function(e){e.removeEventListener("mousedown",this._pointerDown,$e),e.removeEventListener("touchstart",this._pointerDown,Qe)},e.prototype._applyRootElementTransform=function(e,t){var n=Ze(e,t);null==this._initialTransform&&(this._initialTransform=this._rootElement.style.transform||""),this._rootElement.style.transform=this._initialTransform?n+" "+this._initialTransform:n},e.prototype._getDragDistance=function(e){var t=this._pickupPositionOnPage;return t?{x:e.x-t.x,y:e.y-t.y}:{x:0,y:0}},e.prototype._cleanupCachedDimensions=function(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()},e.prototype._containInsideBoundaryOnResize=function(){var e=this._passiveTransform,t=e.x,n=e.y;if(!(0===t&&0===n||this.isDragging())&&this._boundaryElement){var r=this._boundaryElement.getBoundingClientRect(),i=this._rootElement.getBoundingClientRect();if(!(0===r.width&&0===r.height||0===i.width&&0===i.height)){var a=r.left-i.left,o=i.right-r.right,s=r.top-i.top,l=i.bottom-r.bottom;r.width>i.width?(a>0&&(t+=a),o>0&&(t-=o)):t=0,r.height>i.height?(s>0&&(n+=s),l>0&&(n-=l)):n=0,t===this._passiveTransform.x&&n===this._passiveTransform.y||this.setFreeDragPosition({y:n,x:t})}}},e.prototype._getDragStartDelay=function(e){var t=this.dragStartDelay;return"number"==typeof t?t:tt(e)?t.touch:t?t.mouse:0},e.prototype._updateOnScroll=function(e){var t=this._parentPositions.handleScroll(e);this._boundaryRect&&t&&Ke(this._boundaryRect,t.top,t.left)},e.prototype._getViewportScrollPosition=function(){var e=this._parentPositions.positions.get(this._document);return e?e.scrollPosition:this._viewportRuler.getViewportScrollPosition()},e}(); /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */function Ze(e,t){return"translate3d("+Math.round(e)+"px, "+Math.round(t)+"px, 0)"}function Je(e){var t=e.cloneNode(!0),n=t.querySelectorAll("[id]"),r=e.querySelectorAll("canvas");t.removeAttribute("id");for(var i=0;i-1&&a.splice(o,1),c&&!this._dragDropRegistry.isDragging(c)){(u=c.getRootElement()).parentElement.insertBefore(l,u),a.splice(i,0,e)}else{var u=s(this.element);this._shouldEnterAsFirstChild(t,n)?(u.insertBefore(l,a[0].getRootElement()),a.unshift(e)):(u.appendChild(l),a.push(e))}l.style.transform="",this._cacheItemPositions(),this._cacheParentPositions(),this.entered.next({item:e,container:this,currentIndex:this.getItemIndex(e)})},e.prototype.exit=function(e){this._reset(),this.exited.next({item:e,container:this})},e.prototype.drop=function(e,t,n,r,i,a){this._reset(),null==a&&(a=n.getItemIndex(e)),this.dropped.next({item:e,currentIndex:t,previousIndex:a,container:this,previousContainer:n,isPointerOverContainer:r,distance:i})},e.prototype.withItems=function(e){var t=this,n=this._draggables;(this._draggables=e,e.forEach((function(e){return e._withDropContainer(t)})),this.isDragging())&&(n.filter((function(e){return e.isDragging()})).every((function(t){return-1===e.indexOf(t)}))?this._reset():this._cacheItems());return this},e.prototype.withDirection=function(e){return this._direction=e,this},e.prototype.connectedTo=function(e){return this._siblings=e.slice(),this},e.prototype.withOrientation=function(e){return this._orientation=e,this},e.prototype.withScrollableParents=function(e){var t=s(this.element);return this._scrollableElements=-1===e.indexOf(t)?Object(p.g)([t],e):e.slice(),this},e.prototype.getScrollableParents=function(){return this._scrollableElements},e.prototype.getItemIndex=function(e){return this._isDragging?ct("horizontal"===this._orientation&&"rtl"===this._direction?this._itemPositions.slice().reverse():this._itemPositions,(function(t){return t.drag===e})):this._draggables.indexOf(e)},e.prototype.isReceiving=function(){return this._activeSiblings.size>0},e.prototype._sortItem=function(e,t,n,r){if(!this.sortingDisabled&&We(this._clientRect,.05,t,n)){var i=this._itemPositions,a=this._getItemIndexFromPointerPosition(e,t,n,r);if(!(-1===a&&i.length>0)){var o="horizontal"===this._orientation,s=ct(i,(function(t){return t.drag===e})),l=i[a],c=i[s].clientRect,u=l.clientRect,d=s>a?1:-1;this._previousSwap.drag=l.drag,this._previousSwap.delta=o?r.x:r.y;var h=this._getItemOffsetPx(c,u,d),p=this._getSiblingOffsetPx(s,i,d),f=i.slice();it(i,s,a),this.sorted.next({previousIndex:s,currentIndex:a,container:this,item:e}),i.forEach((function(t,n){if(f[n]!==t){var r=t.drag===e,i=r?h:p,a=r?e.getPlaceholderElement():t.drag.getRootElement();t.offset+=i,o?(a.style.transform="translate3d("+Math.round(t.offset)+"px, 0, 0)",Ke(t.clientRect,0,i)):(a.style.transform="translate3d(0, "+Math.round(t.offset)+"px, 0)",Ke(t.clientRect,i,0))}}))}}},e.prototype._startScrollingIfNecessary=function(e,t){var n=this;if(!this.autoScrollDisabled){var r,i=0,a=0;if(this._parentPositions.positions.forEach((function(o,s){var l;s!==n._document&&o.clientRect&&!r&&We(o.clientRect,.05,e,t)&&(l=Object(p.f)(function(e,t,n,r){var i=ht(t,r),a=pt(t,n),o=0,s=0;if(i){var l=e.scrollTop;1===i?l>0&&(o=1):e.scrollHeight-l>e.clientHeight&&(o=2)}if(a){var c=e.scrollLeft;1===a?c>0&&(s=1):e.scrollWidth-c>e.clientWidth&&(s=2)}return[o,s]} /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */(s,o.clientRect,e,t),2),i=l[0],a=l[1],(i||a)&&(r=s))})),!i&&!a){var o=this._viewportRuler.getViewportSize(),s=o.width,l=o.height,c={width:s,height:l,top:0,right:s,bottom:l,left:0};i=ht(c,t),a=pt(c,e),r=window}!r||i===this._verticalScrollDirection&&a===this._horizontalScrollDirection&&r===this._scrollNode||(this._verticalScrollDirection=i,this._horizontalScrollDirection=a,this._scrollNode=r,(i||a)&&r?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}},e.prototype._stopScrolling=function(){this._stopScrollTimers.next()},e.prototype._cacheParentPositions=function(){var e=s(this.element);this._parentPositions.cache(this._scrollableElements),this._clientRect=this._parentPositions.positions.get(e).clientRect},e.prototype._cacheItemPositions=function(){var e="horizontal"===this._orientation;this._itemPositions=this._activeDraggables.map((function(e){var t=e.getVisibleElement();return{drag:e,offset:0,clientRect:Ve(t)}})).sort((function(t,n){return e?t.clientRect.left-n.clientRect.left:t.clientRect.top-n.clientRect.top}))},e.prototype._reset=function(){var e=this;this._isDragging=!1;var t=s(this.element).style;t.scrollSnapType=t.msScrollSnapType=this._initialScrollSnap,this._activeDraggables.forEach((function(e){var t=e.getRootElement();t&&(t.style.transform="")})),this._siblings.forEach((function(t){return t._stopReceiving(e)})),this._activeDraggables=[],this._itemPositions=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()},e.prototype._getSiblingOffsetPx=function(e,t,n){var r="horizontal"===this._orientation,i=t[e].clientRect,a=t[e+-1*n],o=i[r?"width":"height"]*n;if(a){var s=r?"left":"top",l=r?"right":"bottom";-1===n?o-=a.clientRect[s]-i[l]:o+=i[s]-a.clientRect[l]}return o},e.prototype._getItemOffsetPx=function(e,t,n){var r="horizontal"===this._orientation,i=r?t.left-e.left:t.top-e.top;return-1===n&&(i+=r?t.width-e.width:t.height-e.height),i},e.prototype._shouldEnterAsFirstChild=function(e,t){if(!this._activeDraggables.length)return!1;var n=this._itemPositions,r="horizontal"===this._orientation;if(n[0].drag!==this._activeDraggables[0]){var i=n[n.length-1].clientRect;return r?e>=i.right:t>=i.bottom}var a=n[0].clientRect;return r?e<=a.left:t<=a.top},e.prototype._getItemIndexFromPointerPosition=function(e,t,n,r){var i=this,a="horizontal"===this._orientation;return ct(this._itemPositions,(function(o,s,l){var c=o.drag,u=o.clientRect;if(c===e)return l.length<2;if(r){var d=a?r.x:r.y;if(c===i._previousSwap.drag&&d===i._previousSwap.delta)return!1}return a?t>=Math.floor(u.left)&&t=Math.floor(u.top)&&n=n-i&&t<=n+i?1:t>=r-i&&t<=r+i?2:0}function pt(e,t){var n=e.left,r=e.right,i=.05*e.width;return t>=n-i&&t<=n+i?1:t>=r-i&&t<=r+i?2:0}var ft=pe({passive:!1,capture:!0}),mt=function(){function e(e,t){var n=this;this._ngZone=e,this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=new Set,this._globalListeners=new Map,this.pointerMove=new l.a,this.pointerUp=new l.a,this.scroll=new l.a,this._preventDefaultWhileDragging=function(e){n._activeDragInstances.size&&e.preventDefault()},this._document=t}return e.prototype.registerDropContainer=function(e){this._dropInstances.has(e)||this._dropInstances.add(e)},e.prototype.registerDragItem=function(e){var t=this;this._dragInstances.add(e),1===this._dragInstances.size&&this._ngZone.runOutsideAngular((function(){t._document.addEventListener("touchmove",t._preventDefaultWhileDragging,ft)}))},e.prototype.removeDropContainer=function(e){this._dropInstances.delete(e)},e.prototype.removeDragItem=function(e){this._dragInstances.delete(e),this.stopDragging(e),0===this._dragInstances.size&&this._document.removeEventListener("touchmove",this._preventDefaultWhileDragging,ft)},e.prototype.startDragging=function(e,t){var n=this;if(!this._activeDragInstances.has(e)&&(this._activeDragInstances.add(e),1===this._activeDragInstances.size)){var r=t.type.startsWith("touch"),i=r?"touchmove":"mousemove",a=r?"touchend":"mouseup";this._globalListeners.set(i,{handler:function(e){return n.pointerMove.next(e)},options:ft}).set(a,{handler:function(e){return n.pointerUp.next(e)},options:!0}).set("scroll",{handler:function(e){return n.scroll.next(e)},options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:ft}),this._ngZone.runOutsideAngular((function(){n._globalListeners.forEach((function(e,t){n._document.addEventListener(t,e.handler,e.options)}))}))}},e.prototype.stopDragging=function(e){this._activeDragInstances.delete(e),0===this._activeDragInstances.size&&this._clearGlobalListeners()},e.prototype.isDragging=function(e){return this._activeDragInstances.has(e)},e.prototype.ngOnDestroy=function(){var e=this;this._dragInstances.forEach((function(t){return e.removeDragItem(t)})),this._dropInstances.forEach((function(t){return e.removeDropContainer(t)})),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()},e.prototype._clearGlobalListeners=function(){var e=this;this._globalListeners.forEach((function(t,n){e._document.removeEventListener(n,t.handler,t.options)})),this._globalListeners.clear()},e.ctorParameters=function(){return[{type:r.NgZone},{type:void 0,decorators:[{type:r.Inject,args:[i.DOCUMENT]}]}]},e.ɵprov=Object(r["ɵɵdefineInjectable"])({factory:function(){return new e(Object(r["ɵɵinject"])(r.NgZone),Object(r["ɵɵinject"])(i.DOCUMENT))},token:e,providedIn:"root"}),e.ɵfac=function(t){return new(t||e)(r["ɵɵinject"](r.NgZone),r["ɵɵinject"](i.DOCUMENT))},e}(),gt={dragStartThreshold:5,pointerDirectionChangeThreshold:5},yt=function(){function e(e,t,n,r){this._document=e,this._ngZone=t,this._viewportRuler=n,this._dragDropRegistry=r}return e.prototype.createDrag=function(e,t){return void 0===t&&(t=gt),new Ye(e,t,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)},e.prototype.createDropList=function(e){return new lt(e,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)},e.ctorParameters=function(){return[{type:void 0,decorators:[{type:r.Inject,args:[i.DOCUMENT]}]},{type:r.NgZone},{type:Oe},{type:mt}]},e.ɵprov=Object(r["ɵɵdefineInjectable"])({factory:function(){return new e(Object(r["ɵɵinject"])(i.DOCUMENT),Object(r["ɵɵinject"])(r.NgZone),Object(r["ɵɵinject"])(Oe),Object(r["ɵɵinject"])(mt))},token:e,providedIn:"root"}),e.ɵfac=function(t){return new(t||e)(r["ɵɵinject"](i.DOCUMENT),r["ɵɵinject"](r.NgZone),r["ɵɵinject"](Oe),r["ɵɵinject"](mt))},e}(),bt=new r.InjectionToken("CDK_DRAG_PARENT"),vt=function(){function e(e,t){this.element=e,this._stateChanges=new l.a,this._disabled=!1,this._parentDrag=t,Le(e.nativeElement,!1)}return Object.defineProperty(e.prototype,"disabled",{get:function(){return this._disabled},set:function(e){this._disabled=a(e),this._stateChanges.next(this)},enumerable:!0,configurable:!0}),e.prototype.ngOnDestroy=function(){this._stateChanges.complete()},e.ctorParameters=function(){return[{type:r.ElementRef},{type:void 0,decorators:[{type:r.Inject,args:[bt]},{type:r.Optional}]}]},e.propDecorators={disabled:[{type:r.Input,args:["cdkDragHandleDisabled"]}]},e.ɵfac=function(t){return new(t||e)(r["ɵɵdirectiveInject"](r.ElementRef),r["ɵɵdirectiveInject"](bt,8))},e.ɵdir=r["ɵɵdefineDirective"]({type:e,selectors:[["","cdkDragHandle",""]],hostAttrs:[1,"cdk-drag-handle"],inputs:{disabled:["cdkDragHandleDisabled","disabled"]}}),e}(),kt=function(){function e(e){this.templateRef=e}return e.ctorParameters=function(){return[{type:r.TemplateRef}]},e.propDecorators={data:[{type:r.Input}]},e.ɵfac=function(t){return new(t||e)(r["ɵɵdirectiveInject"](r.TemplateRef))},e.ɵdir=r["ɵɵdefineDirective"]({type:e,selectors:[["ng-template","cdkDragPlaceholder",""]],inputs:{data:"data"}}),e}(),wt=function(){function e(e){this.templateRef=e,this._matchSize=!1}return Object.defineProperty(e.prototype,"matchSize",{get:function(){return this._matchSize},set:function(e){this._matchSize=a(e)},enumerable:!0,configurable:!0}),e.ctorParameters=function(){return[{type:r.TemplateRef}]},e.propDecorators={data:[{type:r.Input}],matchSize:[{type:r.Input}]},e.ɵfac=function(t){return new(t||e)(r["ɵɵdirectiveInject"](r.TemplateRef))},e.ɵdir=r["ɵɵdefineDirective"]({type:e,selectors:[["ng-template","cdkDragPreview",""]],inputs:{matchSize:"matchSize",data:"data"}}),e}(),_t=new r.InjectionToken("CDK_DRAG_CONFIG");function jt(){return{dragStartThreshold:5,pointerDirectionChangeThreshold:5}} /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */var Ct=new r.InjectionToken("CDK_DROP_LIST"),xt=function(){function e(e,t,n,i,a,o,s,c,d){var h=this;this.element=e,this.dropContainer=t,this._document=n,this._ngZone=i,this._viewContainerRef=a,this._dir=s,this._changeDetectorRef=d,this._destroyed=new l.a,this.started=new r.EventEmitter,this.released=new r.EventEmitter,this.ended=new r.EventEmitter,this.entered=new r.EventEmitter,this.exited=new r.EventEmitter,this.dropped=new r.EventEmitter,this.moved=new u.a((function(e){var t=h._dragRef.moved.pipe(Object(Re.a)((function(e){return{source:h,pointerPosition:e.pointerPosition,event:e.event,delta:e.delta,distance:e.distance}}))).subscribe(e);return function(){t.unsubscribe()}})),this._dragRef=c.createDrag(e,{dragStartThreshold:o&&null!=o.dragStartThreshold?o.dragStartThreshold:5,pointerDirectionChangeThreshold:o&&null!=o.pointerDirectionChangeThreshold?o.pointerDirectionChangeThreshold:5,zIndex:null==o?void 0:o.zIndex}),this._dragRef.data=this,o&&this._assignDefaults(o),t&&(this._dragRef._withDropContainer(t._dropListRef),t.addItem(this)),this._syncInputs(this._dragRef),this._handleEvents(this._dragRef)}return Object.defineProperty(e.prototype,"disabled",{get:function(){return this._disabled||this.dropContainer&&this.dropContainer.disabled},set:function(e){this._disabled=a(e),this._dragRef.disabled=this._disabled},enumerable:!0,configurable:!0}),e.prototype.getPlaceholderElement=function(){return this._dragRef.getPlaceholderElement()},e.prototype.getRootElement=function(){return this._dragRef.getRootElement()},e.prototype.reset=function(){this._dragRef.reset()},e.prototype.getFreeDragPosition=function(){return this._dragRef.getFreeDragPosition()},e.prototype.ngAfterViewInit=function(){var e=this;this._ngZone.onStable.asObservable().pipe(Object(Me.a)(1),F(this._destroyed)).subscribe((function(){e._updateRootElement(),e._handles.changes.pipe(Object(H.a)(e._handles),Object(qe.a)((function(t){var n=t.filter((function(t){return t._parentDrag===e})).map((function(e){return e.element}));e._dragRef.withHandles(n)})),Object(Q.a)((function(e){return h.a.apply(void 0,Object(p.g)(e.map((function(e){return e._stateChanges.pipe(Object(H.a)(e))}))))})),F(e._destroyed)).subscribe((function(t){var n=e._dragRef,r=t.element.nativeElement;t.disabled?n.disableHandle(r):n.enableHandle(r)})),e.freeDragPosition&&e._dragRef.setFreeDragPosition(e.freeDragPosition)}))},e.prototype.ngOnChanges=function(e){var t=e.rootElementSelector,n=e.freeDragPosition;t&&!t.firstChange&&this._updateRootElement(),n&&!n.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)},e.prototype.ngOnDestroy=function(){this.dropContainer&&this.dropContainer.removeItem(this),this._destroyed.next(),this._destroyed.complete(),this._dragRef.dispose()},e.prototype._updateRootElement=function(){var e=this.element.nativeElement,t=this.rootElementSelector?Et(e,this.rootElementSelector):e;if(t&&t.nodeType!==this._document.ELEMENT_NODE)throw Error('cdkDrag must be attached to an element node. Currently attached to "'+t.nodeName+'".');this._dragRef.withRootElement(t||e)},e.prototype._getBoundaryElement=function(){var e=this.boundaryElement;if(!e)return null;if("string"==typeof e)return Et(this.element.nativeElement,e);var t=s(e);if(Object(r.isDevMode)()&&!t.contains(this.element.nativeElement))throw Error("Draggable element is not inside of the node passed into cdkDragBoundary.");return t},e.prototype._syncInputs=function(e){var t=this;e.beforeStarted.subscribe((function(){if(!e.isDragging()){var n=t._dir,r=t.dragStartDelay,i=t._placeholderTemplate?{template:t._placeholderTemplate.templateRef,context:t._placeholderTemplate.data,viewContainer:t._viewContainerRef}:null,a=t._previewTemplate?{template:t._previewTemplate.templateRef,context:t._previewTemplate.data,matchSize:t._previewTemplate.matchSize,viewContainer:t._viewContainerRef}:null;e.disabled=t.disabled,e.lockAxis=t.lockAxis,e.dragStartDelay="object"==typeof r&&r?r:o(r),e.constrainPosition=t.constrainPosition,e.previewClass=t.previewClass,e.withBoundaryElement(t._getBoundaryElement()).withPlaceholderTemplate(i).withPreviewTemplate(a),n&&e.withDirection(n.value)}}))},e.prototype._handleEvents=function(e){var t=this;e.started.subscribe((function(){t.started.emit({source:t}),t._changeDetectorRef.markForCheck()})),e.released.subscribe((function(){t.released.emit({source:t})})),e.ended.subscribe((function(e){t.ended.emit({source:t,distance:e.distance}),t._changeDetectorRef.markForCheck()})),e.entered.subscribe((function(e){t.entered.emit({container:e.container.data,item:t,currentIndex:e.currentIndex})})),e.exited.subscribe((function(e){t.exited.emit({container:e.container.data,item:t})})),e.dropped.subscribe((function(e){t.dropped.emit({previousIndex:e.previousIndex,currentIndex:e.currentIndex,previousContainer:e.previousContainer.data,container:e.container.data,isPointerOverContainer:e.isPointerOverContainer,item:t,distance:e.distance})}))},e.prototype._assignDefaults=function(e){var t=e.lockAxis,n=e.dragStartDelay,r=e.constrainPosition,i=e.previewClass,a=e.boundaryElement,o=e.draggingDisabled,s=e.rootElementSelector;this.disabled=null!=o&&o,this.dragStartDelay=n||0,t&&(this.lockAxis=t),r&&(this.constrainPosition=r),i&&(this.previewClass=i),a&&(this.boundaryElement=a),s&&(this.rootElementSelector=s)},e.ctorParameters=function(){return[{type:r.ElementRef},{type:void 0,decorators:[{type:r.Inject,args:[Ct]},{type:r.Optional},{type:r.SkipSelf}]},{type:void 0,decorators:[{type:r.Inject,args:[i.DOCUMENT]}]},{type:r.NgZone},{type:r.ViewContainerRef},{type:void 0,decorators:[{type:r.Optional},{type:r.Inject,args:[_t]}]},{type:ye,decorators:[{type:r.Optional}]},{type:yt},{type:r.ChangeDetectorRef}]},e.propDecorators={_handles:[{type:r.ContentChildren,args:[vt,{descendants:!0}]}],_previewTemplate:[{type:r.ContentChild,args:[wt]}],_placeholderTemplate:[{type:r.ContentChild,args:[kt]}],data:[{type:r.Input,args:["cdkDragData"]}],lockAxis:[{type:r.Input,args:["cdkDragLockAxis"]}],rootElementSelector:[{type:r.Input,args:["cdkDragRootElement"]}],boundaryElement:[{type:r.Input,args:["cdkDragBoundary"]}],dragStartDelay:[{type:r.Input,args:["cdkDragStartDelay"]}],freeDragPosition:[{type:r.Input,args:["cdkDragFreeDragPosition"]}],disabled:[{type:r.Input,args:["cdkDragDisabled"]}],constrainPosition:[{type:r.Input,args:["cdkDragConstrainPosition"]}],previewClass:[{type:r.Input,args:["cdkDragPreviewClass"]}],started:[{type:r.Output,args:["cdkDragStarted"]}],released:[{type:r.Output,args:["cdkDragReleased"]}],ended:[{type:r.Output,args:["cdkDragEnded"]}],entered:[{type:r.Output,args:["cdkDragEntered"]}],exited:[{type:r.Output,args:["cdkDragExited"]}],dropped:[{type:r.Output,args:["cdkDragDropped"]}],moved:[{type:r.Output,args:["cdkDragMoved"]}]},e.ɵfac=function(t){return new(t||e)(r["ɵɵdirectiveInject"](r.ElementRef),r["ɵɵdirectiveInject"](Ct,12),r["ɵɵdirectiveInject"](i.DOCUMENT),r["ɵɵdirectiveInject"](r.NgZone),r["ɵɵdirectiveInject"](r.ViewContainerRef),r["ɵɵdirectiveInject"](_t,8),r["ɵɵdirectiveInject"](ye,8),r["ɵɵdirectiveInject"](yt),r["ɵɵdirectiveInject"](r.ChangeDetectorRef))},e.ɵdir=r["ɵɵdefineDirective"]({type:e,selectors:[["","cdkDrag",""]],contentQueries:function(e,t,n){var i;(1&e&&(r["ɵɵcontentQuery"](n,wt,!0),r["ɵɵcontentQuery"](n,kt,!0),r["ɵɵcontentQuery"](n,vt,!0)),2&e)&&(r["ɵɵqueryRefresh"](i=r["ɵɵloadQuery"]())&&(t._previewTemplate=i.first),r["ɵɵqueryRefresh"](i=r["ɵɵloadQuery"]())&&(t._placeholderTemplate=i.first),r["ɵɵqueryRefresh"](i=r["ɵɵloadQuery"]())&&(t._handles=i))},hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(e,t){2&e&&r["ɵɵclassProp"]("cdk-drag-disabled",t.disabled)("cdk-drag-dragging",t._dragRef.isDragging())},inputs:{disabled:["cdkDragDisabled","disabled"],dragStartDelay:["cdkDragStartDelay","dragStartDelay"],lockAxis:["cdkDragLockAxis","lockAxis"],constrainPosition:["cdkDragConstrainPosition","constrainPosition"],previewClass:["cdkDragPreviewClass","previewClass"],boundaryElement:["cdkDragBoundary","boundaryElement"],rootElementSelector:["cdkDragRootElement","rootElementSelector"],data:["cdkDragData","data"],freeDragPosition:["cdkDragFreeDragPosition","freeDragPosition"]},outputs:{started:"cdkDragStarted",released:"cdkDragReleased",ended:"cdkDragEnded",entered:"cdkDragEntered",exited:"cdkDragExited",dropped:"cdkDragDropped",moved:"cdkDragMoved"},exportAs:["cdkDrag"],features:[r["ɵɵProvidersFeature"]([{provide:bt,useExisting:e}]),r["ɵɵNgOnChangesFeature"]]}),e}();function Et(e,t){for(var n=e.parentElement;n;){if(n.matches?n.matches(t):n.msMatchesSelector(t))return n;n=n.parentElement}return null} /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */var St=function(){function e(){this._items=new Set,this._disabled=!1}return Object.defineProperty(e.prototype,"disabled",{get:function(){return this._disabled},set:function(e){this._disabled=a(e)},enumerable:!0,configurable:!0}),e.prototype.ngOnDestroy=function(){this._items.clear()},e.propDecorators={disabled:[{type:r.Input,args:["cdkDropListGroupDisabled"]}]},e.ɵfac=function(t){return new(t||e)},e.ɵdir=r["ɵɵdefineDirective"]({type:e,selectors:[["","cdkDropListGroup",""]],inputs:{disabled:["cdkDropListGroupDisabled","disabled"]},exportAs:["cdkDropListGroup"]}),e}(),Tt=0,Ot=function(){function e(t,n,i,a,o,s,c){var u=this;this.element=t,this._changeDetectorRef=i,this._dir=a,this._group=o,this._scrollDispatcher=s,this._destroyed=new l.a,this.connectedTo=[],this.id="cdk-drop-list-"+Tt++,this.enterPredicate=function(){return!0},this.dropped=new r.EventEmitter,this.entered=new r.EventEmitter,this.exited=new r.EventEmitter,this.sorted=new r.EventEmitter,this._unsortedItems=new Set,this._dropListRef=n.createDropList(t),this._dropListRef.data=this,c&&this._assignDefaults(c),this._dropListRef.enterPredicate=function(e,t){return u.enterPredicate(e.data,t.data)},this._setupInputSyncSubscription(this._dropListRef),this._handleEvents(this._dropListRef),e._dropLists.push(this),o&&o._items.add(this)}return Object.defineProperty(e.prototype,"disabled",{get:function(){return this._disabled||!!this._group&&this._group.disabled},set:function(e){this._dropListRef.disabled=this._disabled=a(e)},enumerable:!0,configurable:!0}),e.prototype.addItem=function(e){this._unsortedItems.add(e),this._dropListRef.isDragging()&&this._syncItemsWithRef()},e.prototype.removeItem=function(e){this._unsortedItems.delete(e),this._dropListRef.isDragging()&&this._syncItemsWithRef()},e.prototype.getSortedItems=function(){return Array.from(this._unsortedItems).sort((function(e,t){return e._dragRef.getVisibleElement().compareDocumentPosition(t._dragRef.getVisibleElement())&Node.DOCUMENT_POSITION_FOLLOWING?-1:1}))},e.prototype.ngOnDestroy=function(){var t=e._dropLists.indexOf(this);t>-1&&e._dropLists.splice(t,1),this._group&&this._group._items.delete(this),this._unsortedItems.clear(),this._dropListRef.dispose(),this._destroyed.next(),this._destroyed.complete()},e.prototype.start=function(){this._dropListRef.start()},e.prototype.drop=function(e,t,n,r){this._dropListRef.drop(e._dragRef,t,n._dropListRef,r,{x:0,y:0})},e.prototype.enter=function(e,t,n){this._dropListRef.enter(e._dragRef,t,n)},e.prototype.exit=function(e){this._dropListRef.exit(e._dragRef)},e.prototype.getItemIndex=function(e){return this._dropListRef.getItemIndex(e._dragRef)},e.prototype._setupInputSyncSubscription=function(t){var n=this;this._dir&&this._dir.change.pipe(Object(H.a)(this._dir.value),F(this._destroyed)).subscribe((function(e){return t.withDirection(e)})),t.beforeStarted.subscribe((function(){var r,i=(r=n.connectedTo,Array.isArray(r)?r:[r]).map((function(t){return"string"==typeof t?e._dropLists.find((function(e){return e.id===t})):t}));if(n._group&&n._group._items.forEach((function(e){-1===i.indexOf(e)&&i.push(e)})),!n._scrollableParentsResolved&&n._scrollDispatcher){var o=n._scrollDispatcher.getAncestorScrollContainers(n.element).map((function(e){return e.getElementRef().nativeElement}));n._dropListRef.withScrollableParents(o),n._scrollableParentsResolved=!0}t.disabled=n.disabled,t.lockAxis=n.lockAxis,t.sortingDisabled=a(n.sortingDisabled),t.autoScrollDisabled=a(n.autoScrollDisabled),t.connectedTo(i.filter((function(e){return e&&e!==n})).map((function(e){return e._dropListRef}))).withOrientation(n.orientation)}))},e.prototype._handleEvents=function(e){var t=this;e.beforeStarted.subscribe((function(){t._syncItemsWithRef(),t._changeDetectorRef.markForCheck()})),e.entered.subscribe((function(e){t.entered.emit({container:t,item:e.item.data,currentIndex:e.currentIndex})})),e.exited.subscribe((function(e){t.exited.emit({container:t,item:e.item.data}),t._changeDetectorRef.markForCheck()})),e.sorted.subscribe((function(e){t.sorted.emit({previousIndex:e.previousIndex,currentIndex:e.currentIndex,container:t,item:e.item.data})})),e.dropped.subscribe((function(e){t.dropped.emit({previousIndex:e.previousIndex,currentIndex:e.currentIndex,previousContainer:e.previousContainer.data,container:e.container.data,item:e.item.data,isPointerOverContainer:e.isPointerOverContainer,distance:e.distance}),t._changeDetectorRef.markForCheck()}))},e.prototype._assignDefaults=function(e){var t=e.lockAxis,n=e.draggingDisabled,r=e.sortingDisabled,i=e.listAutoScrollDisabled,a=e.listOrientation;this.disabled=null!=n&&n,this.sortingDisabled=null!=r&&r,this.autoScrollDisabled=null!=i&&i,this.orientation=a||"vertical",t&&(this.lockAxis=t)},e.prototype._syncItemsWithRef=function(){this._dropListRef.withItems(this.getSortedItems().map((function(e){return e._dragRef})))},e._dropLists=[],e.ctorParameters=function(){return[{type:r.ElementRef},{type:yt},{type:r.ChangeDetectorRef},{type:ye,decorators:[{type:r.Optional}]},{type:St,decorators:[{type:r.Optional},{type:r.SkipSelf}]},{type:Se},{type:void 0,decorators:[{type:r.Optional},{type:r.Inject,args:[_t]}]}]},e.propDecorators={connectedTo:[{type:r.Input,args:["cdkDropListConnectedTo"]}],data:[{type:r.Input,args:["cdkDropListData"]}],orientation:[{type:r.Input,args:["cdkDropListOrientation"]}],id:[{type:r.Input}],lockAxis:[{type:r.Input,args:["cdkDropListLockAxis"]}],disabled:[{type:r.Input,args:["cdkDropListDisabled"]}],sortingDisabled:[{type:r.Input,args:["cdkDropListSortingDisabled"]}],enterPredicate:[{type:r.Input,args:["cdkDropListEnterPredicate"]}],autoScrollDisabled:[{type:r.Input,args:["cdkDropListAutoScrollDisabled"]}],dropped:[{type:r.Output,args:["cdkDropListDropped"]}],entered:[{type:r.Output,args:["cdkDropListEntered"]}],exited:[{type:r.Output,args:["cdkDropListExited"]}],sorted:[{type:r.Output,args:["cdkDropListSorted"]}]},e.ɵfac=function(t){return new(t||e)(r["ɵɵdirectiveInject"](r.ElementRef),r["ɵɵdirectiveInject"](yt),r["ɵɵdirectiveInject"](r.ChangeDetectorRef),r["ɵɵdirectiveInject"](ye,8),r["ɵɵdirectiveInject"](St,12),r["ɵɵdirectiveInject"](Se),r["ɵɵdirectiveInject"](_t,8))},e.ɵdir=r["ɵɵdefineDirective"]({type:e,selectors:[["","cdkDropList",""],["cdk-drop-list"]],hostAttrs:[1,"cdk-drop-list"],hostVars:7,hostBindings:function(e,t){2&e&&(r["ɵɵhostProperty"]("id",t.id),r["ɵɵclassProp"]("cdk-drop-list-disabled",t.disabled)("cdk-drop-list-dragging",t._dropListRef.isDragging())("cdk-drop-list-receiving",t._dropListRef.isReceiving()))},inputs:{connectedTo:["cdkDropListConnectedTo","connectedTo"],id:"id",enterPredicate:["cdkDropListEnterPredicate","enterPredicate"],disabled:["cdkDropListDisabled","disabled"],sortingDisabled:["cdkDropListSortingDisabled","sortingDisabled"],autoScrollDisabled:["cdkDropListAutoScrollDisabled","autoScrollDisabled"],orientation:["cdkDropListOrientation","orientation"],lockAxis:["cdkDropListLockAxis","lockAxis"],data:["cdkDropListData","data"]},outputs:{dropped:"cdkDropListDropped",entered:"cdkDropListEntered",exited:"cdkDropListExited",sorted:"cdkDropListSorted"},exportAs:["cdkDropList"],features:[r["ɵɵProvidersFeature"]([{provide:St,useValue:void 0},{provide:Ct,useExisting:e}])]}),e}(),zt=function(){function e(){}return e.ɵmod=r["ɵɵdefineNgModule"]({type:e}),e.ɵinj=r["ɵɵdefineInjector"]({factory:function(t){return new(t||e)},providers:[yt],imports:[Ne]}),("undefined"==typeof ngJitMode||ngJitMode)&&r["ɵɵsetNgModuleScope"](e,{declarations:function(){return[Ot,St,xt,vt,wt,kt]},exports:function(){return[Ne,Ot,St,xt,vt,wt,kt]}}),e}(); /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */},function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a}));var r=n(162);function i(){for(var e=[],t=0;ts||n!=n?c*(1/0):c*n}},function(e,t){e.exports=function(e){try{return{e:!1,v:e()}}catch(t){return{e:!0,v:t}}}},function(e,t,n){var r=n(15),i=n(22),a=n(207);e.exports=function(e,t){if(r(e),i(t)&&t.constructor===e)return t;var n=a.f(e);return(0,n.resolve)(t),n.promise}},function(e,t,n){var r=n(100);e.exports=function(e,t){var n=[];return r(e,!1,n.push,n,t),n}},function(e,t,n){var r; /*! * jQuery JavaScript Library v3.6.0 * https://jquery.com/ * * Includes Sizzle.js * https://sizzlejs.com/ * * Copyright OpenJS Foundation and other contributors * Released under the MIT license * https://jquery.org/license * * Date: 2021-03-02T17:08Z */!function(t,n){"use strict";"object"==typeof e.exports?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(t)}("undefined"!=typeof window?window:this,(function(n,i){"use strict";var a=[],o=Object.getPrototypeOf,s=a.slice,l=a.flat?function(e){return a.flat.call(e)}:function(e){return a.concat.apply([],e)},c=a.push,u=a.indexOf,d={},h=d.toString,p=d.hasOwnProperty,f=p.toString,m=f.call(Object),g={},y=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},b=function(e){return null!=e&&e===e.window},v=n.document,k={type:!0,src:!0,nonce:!0,noModule:!0};function w(e,t,n){var r,i,a=(n=n||v).createElement("script");if(a.text=e,t)for(r in k)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&a.setAttribute(r,i);n.head.appendChild(a).parentNode.removeChild(a)}function _(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?d[h.call(e)]||"object":typeof e}var j=function(e,t){return new j.fn.init(e,t)};function C(e){var t=!!e&&"length"in e&&e.length,n=_(e);return!y(e)&&!b(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}j.fn=j.prototype={jquery:"3.6.0",constructor:j,length:0,toArray:function(){return s.call(this)},get:function(e){return null==e?s.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=j.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return j.each(this,e)},map:function(e){return this.pushStack(j.map(this,(function(t,n){return e.call(t,n,t)})))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(j.grep(this,(function(e,t){return(t+1)%2})))},odd:function(){return this.pushStack(j.grep(this,(function(e,t){return t%2})))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n+~]|"+M+")"+M+"*"),K=new RegExp(M+"|>"),W=new RegExp(L),G=new RegExp("^"+q+"$"),Q={ID:new RegExp("^#("+q+")"),CLASS:new RegExp("^\\.("+q+")"),TAG:new RegExp("^("+q+"|[*])"),ATTR:new RegExp("^"+B),PSEUDO:new RegExp("^"+L),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},$=/HTML$/i,Y=/^(?:input|select|textarea|button)$/i,Z=/^h\d$/i,J=/^[^{]+\{\s*\[native \w/,X=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+M+"?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},ae=function(){h()},oe=ke((function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()}),{dir:"parentNode",next:"legend"});try{A.apply(z=N.call(w.childNodes),w.childNodes),z[w.childNodes.length].nodeType}catch(xe){A={apply:z.length?function(e,t){D.apply(e,N.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function se(e,t,r,i){var a,s,c,u,d,f,y,b=t&&t.ownerDocument,w=t?t.nodeType:9;if(r=r||[],"string"!=typeof e||!e||1!==w&&9!==w&&11!==w)return r;if(!i&&(h(t),t=t||p,m)){if(11!==w&&(d=X.exec(e)))if(a=d[1]){if(9===w){if(!(c=t.getElementById(a)))return r;if(c.id===a)return r.push(c),r}else if(b&&(c=b.getElementById(a))&&v(t,c)&&c.id===a)return r.push(c),r}else{if(d[2])return A.apply(r,t.getElementsByTagName(e)),r;if((a=d[3])&&n.getElementsByClassName&&t.getElementsByClassName)return A.apply(r,t.getElementsByClassName(a)),r}if(n.qsa&&!S[e+" "]&&(!g||!g.test(e))&&(1!==w||"object"!==t.nodeName.toLowerCase())){if(y=e,b=t,1===w&&(K.test(e)||H.test(e))){for((b=ee.test(e)&&ye(t.parentNode)||t)===t&&n.scope||((u=t.getAttribute("id"))?u=u.replace(re,ie):t.setAttribute("id",u=k)),s=(f=o(e)).length;s--;)f[s]=(u?"#"+u:":scope")+" "+ve(f[s]);y=f.join(",")}try{return A.apply(r,b.querySelectorAll(y)),r}catch(_){S(e,!0)}finally{u===k&&t.removeAttribute("id")}}}return l(e.replace(U,"$1"),t,r,i)}function le(){var e=[];return function t(n,i){return e.push(n+" ")>r.cacheLength&&delete t[e.shift()],t[n+" "]=i}}function ce(e){return e[k]=!0,e}function ue(e){var t=p.createElement("fieldset");try{return!!e(t)}catch(xe){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function de(e,t){for(var n=e.split("|"),i=n.length;i--;)r.attrHandle[n[i]]=t}function he(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function pe(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function fe(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function me(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&oe(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function ge(e){return ce((function(t){return t=+t,ce((function(n,r){for(var i,a=e([],n.length,t),o=a.length;o--;)n[i=a[o]]&&(n[i]=!(r[i]=n[i]))}))}))}function ye(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in n=se.support={},a=se.isXML=function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!$.test(t||n&&n.nodeName||"HTML")},h=se.setDocument=function(e){var t,i,o=e?e.ownerDocument||e:w;return o!=p&&9===o.nodeType&&o.documentElement?(f=(p=o).documentElement,m=!a(p),w!=p&&(i=p.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",ae,!1):i.attachEvent&&i.attachEvent("onunload",ae)),n.scope=ue((function(e){return f.appendChild(e).appendChild(p.createElement("div")),void 0!==e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length})),n.attributes=ue((function(e){return e.className="i",!e.getAttribute("className")})),n.getElementsByTagName=ue((function(e){return e.appendChild(p.createComment("")),!e.getElementsByTagName("*").length})),n.getElementsByClassName=J.test(p.getElementsByClassName),n.getById=ue((function(e){return f.appendChild(e).id=k,!p.getElementsByName||!p.getElementsByName(k).length})),n.getById?(r.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&m){var n=t.getElementById(e);return n?[n]:[]}}):(r.filter.ID=function(e){var t=e.replace(te,ne);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&m){var n,r,i,a=t.getElementById(e);if(a){if((n=a.getAttributeNode("id"))&&n.value===e)return[a];for(i=t.getElementsByName(e),r=0;a=i[r++];)if((n=a.getAttributeNode("id"))&&n.value===e)return[a]}return[]}}),r.find.TAG=n.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,a=t.getElementsByTagName(e);if("*"===e){for(;n=a[i++];)1===n.nodeType&&r.push(n);return r}return a},r.find.CLASS=n.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&m)return t.getElementsByClassName(e)},y=[],g=[],(n.qsa=J.test(p.querySelectorAll))&&(ue((function(e){var t;f.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&g.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||g.push("\\["+M+"*(?:value|"+R+")"),e.querySelectorAll("[id~="+k+"-]").length||g.push("~="),(t=p.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||g.push("\\["+M+"*name"+M+"*="+M+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||g.push(":checked"),e.querySelectorAll("a#"+k+"+*").length||g.push(".#.+[+~]"),e.querySelectorAll("\\\f"),g.push("[\\r\\n\\f]")})),ue((function(e){e.innerHTML="";var t=p.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&g.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&g.push(":enabled",":disabled"),f.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&g.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),g.push(",.*:")}))),(n.matchesSelector=J.test(b=f.matches||f.webkitMatchesSelector||f.mozMatchesSelector||f.oMatchesSelector||f.msMatchesSelector))&&ue((function(e){n.disconnectedMatch=b.call(e,"*"),b.call(e,"[s!='']:x"),y.push("!=",L)})),g=g.length&&new RegExp(g.join("|")),y=y.length&&new RegExp(y.join("|")),t=J.test(f.compareDocumentPosition),v=t||J.test(f.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},T=t?function(e,t){if(e===t)return d=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r||(1&(r=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===r?e==p||e.ownerDocument==w&&v(w,e)?-1:t==p||t.ownerDocument==w&&v(w,t)?1:u?P(u,e)-P(u,t):0:4&r?-1:1)}:function(e,t){if(e===t)return d=!0,0;var n,r=0,i=e.parentNode,a=t.parentNode,o=[e],s=[t];if(!i||!a)return e==p?-1:t==p?1:i?-1:a?1:u?P(u,e)-P(u,t):0;if(i===a)return he(e,t);for(n=e;n=n.parentNode;)o.unshift(n);for(n=t;n=n.parentNode;)s.unshift(n);for(;o[r]===s[r];)r++;return r?he(o[r],s[r]):o[r]==w?-1:s[r]==w?1:0},p):p},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if(h(e),n.matchesSelector&&m&&!S[t+" "]&&(!y||!y.test(t))&&(!g||!g.test(t)))try{var r=b.call(e,t);if(r||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(xe){S(t,!0)}return se(t,p,null,[e]).length>0},se.contains=function(e,t){return(e.ownerDocument||e)!=p&&h(e),v(e,t)},se.attr=function(e,t){(e.ownerDocument||e)!=p&&h(e);var i=r.attrHandle[t.toLowerCase()],a=i&&O.call(r.attrHandle,t.toLowerCase())?i(e,t,!m):void 0;return void 0!==a?a:n.attributes||!m?e.getAttribute(t):(a=e.getAttributeNode(t))&&a.specified?a.value:null},se.escape=function(e){return(e+"").replace(re,ie)},se.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},se.uniqueSort=function(e){var t,r=[],i=0,a=0;if(d=!n.detectDuplicates,u=!n.sortStable&&e.slice(0),e.sort(T),d){for(;t=e[a++];)t===e[a]&&(i=r.push(a));for(;i--;)e.splice(r[i],1)}return u=null,e},i=se.getText=function(e){var t,n="",r=0,a=e.nodeType;if(a){if(1===a||9===a||11===a){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=i(e)}else if(3===a||4===a)return e.nodeValue}else for(;t=e[r++];)n+=i(t);return n},(r=se.selectors={cacheLength:50,createPseudo:ce,match:Q,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return Q.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&W.test(n)&&(t=o(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=C[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&C(e,(function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")}))},ATTR:function(e,t,n){return function(r){var i=se.attr(r,e);return null==i?"!="===t:!t||(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&i.indexOf(n)>-1:"$="===t?n&&i.slice(-n.length)===n:"~="===t?(" "+i.replace(F," ")+" ").indexOf(n)>-1:"|="===t&&(i===n||i.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,i){var a="nth"!==e.slice(0,3),o="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,l){var c,u,d,h,p,f,m=a!==o?"nextSibling":"previousSibling",g=t.parentNode,y=s&&t.nodeName.toLowerCase(),b=!l&&!s,v=!1;if(g){if(a){for(;m;){for(h=t;h=h[m];)if(s?h.nodeName.toLowerCase()===y:1===h.nodeType)return!1;f=m="only"===e&&!f&&"nextSibling"}return!0}if(f=[o?g.firstChild:g.lastChild],o&&b){for(v=(p=(c=(u=(d=(h=g)[k]||(h[k]={}))[h.uniqueID]||(d[h.uniqueID]={}))[e]||[])[0]===_&&c[1])&&c[2],h=p&&g.childNodes[p];h=++p&&h&&h[m]||(v=p=0)||f.pop();)if(1===h.nodeType&&++v&&h===t){u[e]=[_,p,v];break}}else if(b&&(v=p=(c=(u=(d=(h=t)[k]||(h[k]={}))[h.uniqueID]||(d[h.uniqueID]={}))[e]||[])[0]===_&&c[1]),!1===v)for(;(h=++p&&h&&h[m]||(v=p=0)||f.pop())&&((s?h.nodeName.toLowerCase()!==y:1!==h.nodeType)||!++v||(b&&((u=(d=h[k]||(h[k]={}))[h.uniqueID]||(d[h.uniqueID]={}))[e]=[_,v]),h!==t)););return(v-=i)===r||v%r==0&&v/r>=0}}},PSEUDO:function(e,t){var n,i=r.pseudos[e]||r.setFilters[e.toLowerCase()]||se.error("unsupported pseudo: "+e);return i[k]?i(t):i.length>1?(n=[e,e,"",t],r.setFilters.hasOwnProperty(e.toLowerCase())?ce((function(e,n){for(var r,a=i(e,t),o=a.length;o--;)e[r=P(e,a[o])]=!(n[r]=a[o])})):function(e){return i(e,0,n)}):i}},pseudos:{not:ce((function(e){var t=[],n=[],r=s(e.replace(U,"$1"));return r[k]?ce((function(e,t,n,i){for(var a,o=r(e,null,i,[]),s=e.length;s--;)(a=o[s])&&(e[s]=!(t[s]=a))})):function(e,i,a){return t[0]=e,r(t,null,a,n),t[0]=null,!n.pop()}})),has:ce((function(e){return function(t){return se(e,t).length>0}})),contains:ce((function(e){return e=e.replace(te,ne),function(t){return(t.textContent||i(t)).indexOf(e)>-1}})),lang:ce((function(e){return G.test(e||"")||se.error("unsupported lang: "+e),e=e.replace(te,ne).toLowerCase(),function(t){var n;do{if(n=m?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}})),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===f},focus:function(e){return e===p.activeElement&&(!p.hasFocus||p.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:me(!1),disabled:me(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!r.pseudos.empty(e)},header:function(e){return Z.test(e.nodeName)},input:function(e){return Y.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:ge((function(){return[0]})),last:ge((function(e,t){return[t-1]})),eq:ge((function(e,t,n){return[n<0?n+t:n]})),even:ge((function(e,t){for(var n=0;nt?t:n;--r>=0;)e.push(r);return e})),gt:ge((function(e,t,n){for(var r=n<0?n+t:n;++r1?function(t,n,r){for(var i=e.length;i--;)if(!e[i](t,n,r))return!1;return!0}:e[0]}function _e(e,t,n,r,i){for(var a,o=[],s=0,l=e.length,c=null!=t;s-1&&(a[c]=!(o[c]=d))}}else y=_e(y===o?y.splice(f,y.length):y),i?i(null,o,y,l):A.apply(o,y)}))}function Ce(e){for(var t,n,i,a=e.length,o=r.relative[e[0].type],s=o||r.relative[" "],l=o?1:0,u=ke((function(e){return e===t}),s,!0),d=ke((function(e){return P(t,e)>-1}),s,!0),h=[function(e,n,r){var i=!o&&(r||n!==c)||((t=n).nodeType?u(e,n,r):d(e,n,r));return t=null,i}];l1&&we(h),l>1&&ve(e.slice(0,l-1).concat({value:" "===e[l-2].type?"*":""})).replace(U,"$1"),n,l0,i=e.length>0,a=function(a,o,s,l,u){var d,f,g,y=0,b="0",v=a&&[],k=[],w=c,j=a||i&&r.find.TAG("*",u),C=_+=null==w?1:Math.random()||.1,x=j.length;for(u&&(c=o==p||o||u);b!==x&&null!=(d=j[b]);b++){if(i&&d){for(f=0,o||d.ownerDocument==p||(h(d),s=!m);g=e[f++];)if(g(d,o||p,s)){l.push(d);break}u&&(_=C)}n&&((d=!g&&d)&&y--,a&&v.push(d))}if(y+=b,n&&b!==y){for(f=0;g=t[f++];)g(v,k,o,s);if(a){if(y>0)for(;b--;)v[b]||k[b]||(k[b]=I.call(l));k=_e(k)}A.apply(l,k),u&&!a&&k.length>0&&y+t.length>1&&se.uniqueSort(l)}return u&&(_=C,c=w),v};return n?ce(a):a}(a,i))).selector=e}return s},l=se.select=function(e,t,n,i){var a,l,c,u,d,h="function"==typeof e&&e,p=!i&&o(e=h.selector||e);if(n=n||[],1===p.length){if((l=p[0]=p[0].slice(0)).length>2&&"ID"===(c=l[0]).type&&9===t.nodeType&&m&&r.relative[l[1].type]){if(!(t=(r.find.ID(c.matches[0].replace(te,ne),t)||[])[0]))return n;h&&(t=t.parentNode),e=e.slice(l.shift().value.length)}for(a=Q.needsContext.test(e)?0:l.length;a--&&(c=l[a],!r.relative[u=c.type]);)if((d=r.find[u])&&(i=d(c.matches[0].replace(te,ne),ee.test(l[0].type)&&ye(t.parentNode)||t))){if(l.splice(a,1),!(e=i.length&&ve(l)))return A.apply(n,i),n;break}}return(h||s(e,p))(i,t,!m,n,!t||ee.test(e)&&ye(t.parentNode)||t),n},n.sortStable=k.split("").sort(T).join("")===k,n.detectDuplicates=!!d,h(),n.sortDetached=ue((function(e){return 1&e.compareDocumentPosition(p.createElement("fieldset"))})),ue((function(e){return e.innerHTML="","#"===e.firstChild.getAttribute("href")}))||de("type|href|height|width",(function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)})),n.attributes&&ue((function(e){return e.innerHTML="",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")}))||de("value",(function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue})),ue((function(e){return null==e.getAttribute("disabled")}))||de(R,(function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null})),se}(n);j.find=x,j.expr=x.selectors,j.expr[":"]=j.expr.pseudos,j.uniqueSort=j.unique=x.uniqueSort,j.text=x.getText,j.isXMLDoc=x.isXML,j.contains=x.contains,j.escapeSelector=x.escape;var E=function(e,t,n){for(var r=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&j(e).is(n))break;r.push(e)}return r},S=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},T=j.expr.match.needsContext;function O(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var z=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function I(e,t,n){return y(t)?j.grep(e,(function(e,r){return!!t.call(e,r,e)!==n})):t.nodeType?j.grep(e,(function(e){return e===t!==n})):"string"!=typeof t?j.grep(e,(function(e){return u.call(t,e)>-1!==n})):j.filter(t,e,n)}j.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?j.find.matchesSelector(r,e)?[r]:[]:j.find.matches(e,j.grep(t,(function(e){return 1===e.nodeType})))},j.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(j(e).filter((function(){for(t=0;t1?j.uniqueSort(n):n},filter:function(e){return this.pushStack(I(this,e||[],!1))},not:function(e){return this.pushStack(I(this,e||[],!0))},is:function(e){return!!I(this,"string"==typeof e&&T.test(e)?j(e):e||[],!1).length}});var D,A=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(j.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||D,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:A.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof j?t[0]:t,j.merge(this,j.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:v,!0)),z.test(r[1])&&j.isPlainObject(t))for(r in t)y(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=v.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):y(e)?void 0!==n.ready?n.ready(e):e(j):j.makeArray(e,this)}).prototype=j.fn,D=j(v);var N=/^(?:parents|prev(?:Until|All))/,P={children:!0,contents:!0,next:!0,prev:!0};function R(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}j.fn.extend({has:function(e){var t=j(e,this),n=t.length;return this.filter((function(){for(var e=0;e-1:1===n.nodeType&&j.find.matchesSelector(n,e))){a.push(n);break}return this.pushStack(a.length>1?j.uniqueSort(a):a)},index:function(e){return e?"string"==typeof e?u.call(j(e),this[0]):u.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(j.uniqueSort(j.merge(this.get(),j(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),j.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return E(e,"parentNode")},parentsUntil:function(e,t,n){return E(e,"parentNode",n)},next:function(e){return R(e,"nextSibling")},prev:function(e){return R(e,"previousSibling")},nextAll:function(e){return E(e,"nextSibling")},prevAll:function(e){return E(e,"previousSibling")},nextUntil:function(e,t,n){return E(e,"nextSibling",n)},prevUntil:function(e,t,n){return E(e,"previousSibling",n)},siblings:function(e){return S((e.parentNode||{}).firstChild,e)},children:function(e){return S(e.firstChild)},contents:function(e){return null!=e.contentDocument&&o(e.contentDocument)?e.contentDocument:(O(e,"template")&&(e=e.content||e),j.merge([],e.childNodes))}},(function(e,t){j.fn[e]=function(n,r){var i=j.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=j.filter(r,i)),this.length>1&&(P[e]||j.uniqueSort(i),N.test(e)&&i.reverse()),this.pushStack(i)}}));var M=/[^\x20\t\r\n\f]+/g;function q(e){return e}function B(e){throw e}function L(e,t,n,r){var i;try{e&&y(i=e.promise)?i.call(e).done(t).fail(n):e&&y(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}j.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return j.each(e.match(M)||[],(function(e,n){t[n]=!0})),t}(e):j.extend({},e);var t,n,r,i,a=[],o=[],s=-1,l=function(){for(i=i||e.once,r=t=!0;o.length;s=-1)for(n=o.shift();++s-1;)a.splice(n,1),n<=s&&s--})),this},has:function(e){return e?j.inArray(e,a)>-1:a.length>0},empty:function(){return a&&(a=[]),this},disable:function(){return i=o=[],a=n="",this},disabled:function(){return!a},lock:function(){return i=o=[],n||t||(a=n=""),this},locked:function(){return!!i},fireWith:function(e,n){return i||(n=[e,(n=n||[]).slice?n.slice():n],o.push(n),t||l()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!r}};return c},j.extend({Deferred:function(e){var t=[["notify","progress",j.Callbacks("memory"),j.Callbacks("memory"),2],["resolve","done",j.Callbacks("once memory"),j.Callbacks("once memory"),0,"resolved"],["reject","fail",j.Callbacks("once memory"),j.Callbacks("once memory"),1,"rejected"]],r="pending",i={state:function(){return r},always:function(){return a.done(arguments).fail(arguments),this},catch:function(e){return i.then(null,e)},pipe:function(){var e=arguments;return j.Deferred((function(n){j.each(t,(function(t,r){var i=y(e[r[4]])&&e[r[4]];a[r[1]]((function(){var e=i&&i.apply(this,arguments);e&&y(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,i?[e]:arguments)}))})),e=null})).promise()},then:function(e,r,i){var a=0;function o(e,t,r,i){return function(){var s=this,l=arguments,c=function(){var n,c;if(!(e=a&&(r!==B&&(s=void 0,l=[n]),t.rejectWith(s,l))}};e?u():(j.Deferred.getStackHook&&(u.stackTrace=j.Deferred.getStackHook()),n.setTimeout(u))}}return j.Deferred((function(n){t[0][3].add(o(0,n,y(i)?i:q,n.notifyWith)),t[1][3].add(o(0,n,y(e)?e:q)),t[2][3].add(o(0,n,y(r)?r:B))})).promise()},promise:function(e){return null!=e?j.extend(e,i):i}},a={};return j.each(t,(function(e,n){var o=n[2],s=n[5];i[n[1]]=o.add,s&&o.add((function(){r=s}),t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),o.add(n[3].fire),a[n[0]]=function(){return a[n[0]+"With"](this===a?void 0:this,arguments),this},a[n[0]+"With"]=o.fireWith})),i.promise(a),e&&e.call(a,a),a},when:function(e){var t=arguments.length,n=t,r=Array(n),i=s.call(arguments),a=j.Deferred(),o=function(e){return function(n){r[e]=this,i[e]=arguments.length>1?s.call(arguments):n,--t||a.resolveWith(r,i)}};if(t<=1&&(L(e,a.done(o(n)).resolve,a.reject,!t),"pending"===a.state()||y(i[n]&&i[n].then)))return a.then();for(;n--;)L(i[n],o(n),a.reject);return a.promise()}});var F=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;j.Deferred.exceptionHook=function(e,t){n.console&&n.console.warn&&e&&F.test(e.name)&&n.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},j.readyException=function(e){n.setTimeout((function(){throw e}))};var U=j.Deferred();function V(){v.removeEventListener("DOMContentLoaded",V),n.removeEventListener("load",V),j.ready()}j.fn.ready=function(e){return U.then(e).catch((function(e){j.readyException(e)})),this},j.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--j.readyWait:j.isReady)||(j.isReady=!0,!0!==e&&--j.readyWait>0||U.resolveWith(v,[j]))}}),j.ready.then=U.then,"complete"===v.readyState||"loading"!==v.readyState&&!v.documentElement.doScroll?n.setTimeout(j.ready):(v.addEventListener("DOMContentLoaded",V),n.addEventListener("load",V));var H=function(e,t,n,r,i,a,o){var s=0,l=e.length,c=null==n;if("object"===_(n))for(s in i=!0,n)H(e,t,s,n[s],!0,a,o);else if(void 0!==r&&(i=!0,y(r)||(o=!0),c&&(o?(t.call(e,r),t=null):(c=t,t=function(e,t,n){return c.call(j(e),n)})),t))for(;s1,null,!0)},removeData:function(e){return this.each((function(){J.remove(this,e)}))}}),j.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=Z.get(e,t),n&&(!r||Array.isArray(n)?r=Z.access(e,t,j.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=j.queue(e,t),r=n.length,i=n.shift(),a=j._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete a.stop,i.call(e,(function(){j.dequeue(e,t)}),a)),!r&&a&&a.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return Z.get(e,n)||Z.access(e,n,{empty:j.Callbacks("once memory").add((function(){Z.remove(e,[t+"queue",n])}))})}}),j.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length\x20\t\r\n\f]*)/i,ye=/^$|^module$|\/(?:java|ecma)script/i;pe=v.createDocumentFragment().appendChild(v.createElement("div")),(fe=v.createElement("input")).setAttribute("type","radio"),fe.setAttribute("checked","checked"),fe.setAttribute("name","t"),pe.appendChild(fe),g.checkClone=pe.cloneNode(!0).cloneNode(!0).lastChild.checked,pe.innerHTML="",g.noCloneChecked=!!pe.cloneNode(!0).lastChild.defaultValue,pe.innerHTML="",g.option=!!pe.lastChild;var be={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function ve(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&O(e,t)?j.merge([e],n):n}function ke(e,t){for(var n=0,r=e.length;n",""]);var we=/<|&#?\w+;/;function _e(e,t,n,r,i){for(var a,o,s,l,c,u,d=t.createDocumentFragment(),h=[],p=0,f=e.length;p-1)i&&i.push(a);else if(c=oe(a),o=ve(d.appendChild(a),"script"),c&&ke(o),n)for(u=0;a=o[u++];)ye.test(a.type||"")&&n.push(a);return d}var je=/^([^.]*)(?:\.(.+)|)/;function Ce(){return!0}function xe(){return!1}function Ee(e,t){return e===function(){try{return v.activeElement}catch(e){}}()==("focus"===t)}function Se(e,t,n,r,i,a){var o,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Se(e,s,n,r,t[s],a);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=xe;else if(!i)return e;return 1===a&&(o=i,(i=function(e){return j().off(e),o.apply(this,arguments)}).guid=o.guid||(o.guid=j.guid++)),e.each((function(){j.event.add(this,t,i,r,n)}))}function Te(e,t,n){n?(Z.set(e,t,!1),j.event.add(e,t,{namespace:!1,handler:function(e){var r,i,a=Z.get(this,t);if(1&e.isTrigger&&this[t]){if(a.length)(j.event.special[t]||{}).delegateType&&e.stopPropagation();else if(a=s.call(arguments),Z.set(this,t,a),r=n(this,t),this[t](),a!==(i=Z.get(this,t))||r?Z.set(this,t,!1):i={},a!==i)return e.stopImmediatePropagation(),e.preventDefault(),i&&i.value}else a.length&&(Z.set(this,t,{value:j.event.trigger(j.extend(a[0],j.Event.prototype),a.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===Z.get(e,t)&&j.event.add(e,t,Ce)}j.event={global:{},add:function(e,t,n,r,i){var a,o,s,l,c,u,d,h,p,f,m,g=Z.get(e);if($(e))for(n.handler&&(n=(a=n).handler,i=a.selector),i&&j.find.matchesSelector(ae,i),n.guid||(n.guid=j.guid++),(l=g.events)||(l=g.events=Object.create(null)),(o=g.handle)||(o=g.handle=function(t){return void 0!==j&&j.event.triggered!==t.type?j.event.dispatch.apply(e,arguments):void 0}),c=(t=(t||"").match(M)||[""]).length;c--;)p=m=(s=je.exec(t[c])||[])[1],f=(s[2]||"").split(".").sort(),p&&(d=j.event.special[p]||{},p=(i?d.delegateType:d.bindType)||p,d=j.event.special[p]||{},u=j.extend({type:p,origType:m,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&j.expr.match.needsContext.test(i),namespace:f.join(".")},a),(h=l[p])||((h=l[p]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(e,r,f,o)||e.addEventListener&&e.addEventListener(p,o)),d.add&&(d.add.call(e,u),u.handler.guid||(u.handler.guid=n.guid)),i?h.splice(h.delegateCount++,0,u):h.push(u),j.event.global[p]=!0)},remove:function(e,t,n,r,i){var a,o,s,l,c,u,d,h,p,f,m,g=Z.hasData(e)&&Z.get(e);if(g&&(l=g.events)){for(c=(t=(t||"").match(M)||[""]).length;c--;)if(p=m=(s=je.exec(t[c])||[])[1],f=(s[2]||"").split(".").sort(),p){for(d=j.event.special[p]||{},h=l[p=(r?d.delegateType:d.bindType)||p]||[],s=s[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),o=a=h.length;a--;)u=h[a],!i&&m!==u.origType||n&&n.guid!==u.guid||s&&!s.test(u.namespace)||r&&r!==u.selector&&("**"!==r||!u.selector)||(h.splice(a,1),u.selector&&h.delegateCount--,d.remove&&d.remove.call(e,u));o&&!h.length&&(d.teardown&&!1!==d.teardown.call(e,f,g.handle)||j.removeEvent(e,p,g.handle),delete l[p])}else for(p in l)j.event.remove(e,p+t[c],n,r,!0);j.isEmptyObject(l)&&Z.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,a,o,s=new Array(arguments.length),l=j.event.fix(e),c=(Z.get(this,"events")||Object.create(null))[l.type]||[],u=j.event.special[l.type]||{};for(s[0]=l,t=1;t=1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==e.type||!0!==c.disabled)){for(a=[],o={},n=0;n-1:j.find(i,this,null,[c]).length),o[i]&&a.push(r);a.length&&s.push({elem:c,handlers:a})}return c=this,l\s*$/g;function De(e,t){return O(e,"table")&&O(11!==t.nodeType?t:t.firstChild,"tr")&&j(e).children("tbody")[0]||e}function Ae(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Ne(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Pe(e,t){var n,r,i,a,o,s;if(1===t.nodeType){if(Z.hasData(e)&&(s=Z.get(e).events))for(i in Z.remove(t,"handle events"),s)for(n=0,r=s[i].length;n1&&"string"==typeof f&&!g.checkClone&&ze.test(f))return e.each((function(i){var a=e.eq(i);m&&(t[0]=f.call(this,i,a.html())),Me(a,t,n,r)}));if(h&&(a=(i=_e(t,e[0].ownerDocument,!1,e,r)).firstChild,1===i.childNodes.length&&(i=a),a||r)){for(s=(o=j.map(ve(i,"script"),Ae)).length;d0&&ke(o,!l&&ve(e,"script")),s},cleanData:function(e){for(var t,n,r,i=j.event.special,a=0;void 0!==(n=e[a]);a++)if($(n)){if(t=n[Z.expando]){if(t.events)for(r in t.events)i[r]?j.event.remove(n,r):j.removeEvent(n,r,t.handle);n[Z.expando]=void 0}n[J.expando]&&(n[J.expando]=void 0)}}}),j.fn.extend({detach:function(e){return qe(this,e,!0)},remove:function(e){return qe(this,e)},text:function(e){return H(this,(function(e){return void 0===e?j.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)}))}),null,e,arguments.length)},append:function(){return Me(this,arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||De(this,e).appendChild(e)}))},prepend:function(){return Me(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=De(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return Me(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return Me(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)}))},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(j.cleanData(ve(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return j.clone(this,e,t)}))},html:function(e){return H(this,(function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Oe.test(e)&&!be[(ge.exec(e)||["",""])[1].toLowerCase()]){e=j.htmlPrefilter(e);try{for(;n=0&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-a-l-s-.5))||0),l}function tt(e,t,n){var r=Le(e),i=(!g.boxSizingReliable()||n)&&"border-box"===j.css(e,"boxSizing",!1,r),a=i,o=Ve(e,t,r),s="offset"+t[0].toUpperCase()+t.slice(1);if(Be.test(o)){if(!n)return o;o="auto"}return(!g.boxSizingReliable()&&i||!g.reliableTrDimensions()&&O(e,"tr")||"auto"===o||!parseFloat(o)&&"inline"===j.css(e,"display",!1,r))&&e.getClientRects().length&&(i="border-box"===j.css(e,"boxSizing",!1,r),(a=s in e)&&(o=e[s])),(o=parseFloat(o)||0)+et(e,t,n||(i?"border":"content"),a,r,o)+"px"}function nt(e,t,n,r,i){return new nt.prototype.init(e,t,n,r,i)}j.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Ve(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,a,o,s=Q(t),l=Ye.test(t),c=e.style;if(l||(t=Qe(s)),o=j.cssHooks[t]||j.cssHooks[s],void 0===n)return o&&"get"in o&&void 0!==(i=o.get(e,!1,r))?i:c[t];"string"===(a=typeof n)&&(i=re.exec(n))&&i[1]&&(n=ce(e,t,i),a="number"),null!=n&&n==n&&("number"!==a||l||(n+=i&&i[3]||(j.cssNumber[s]?"":"px")),g.clearCloneStyle||""!==n||0!==t.indexOf("background")||(c[t]="inherit"),o&&"set"in o&&void 0===(n=o.set(e,n,r))||(l?c.setProperty(t,n):c[t]=n))}},css:function(e,t,n,r){var i,a,o,s=Q(t);return Ye.test(t)||(t=Qe(s)),(o=j.cssHooks[t]||j.cssHooks[s])&&"get"in o&&(i=o.get(e,!0,n)),void 0===i&&(i=Ve(e,t,r)),"normal"===i&&t in Je&&(i=Je[t]),""===n||n?(a=parseFloat(i),!0===n||isFinite(a)?a||0:i):i}}),j.each(["height","width"],(function(e,t){j.cssHooks[t]={get:function(e,n,r){if(n)return!$e.test(j.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?tt(e,t,r):Fe(e,Ze,(function(){return tt(e,t,r)}))},set:function(e,n,r){var i,a=Le(e),o=!g.scrollboxSize()&&"absolute"===a.position,s=(o||r)&&"border-box"===j.css(e,"boxSizing",!1,a),l=r?et(e,t,r,s,a):0;return s&&o&&(l-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(a[t])-et(e,t,"border",!1,a)-.5)),l&&(i=re.exec(n))&&"px"!==(i[3]||"px")&&(e.style[t]=n,n=j.css(e,t)),Xe(0,n,l)}}})),j.cssHooks.marginLeft=He(g.reliableMarginLeft,(function(e,t){if(t)return(parseFloat(Ve(e,"marginLeft"))||e.getBoundingClientRect().left-Fe(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+"px"})),j.each({margin:"",padding:"",border:"Width"},(function(e,t){j.cssHooks[e+t]={expand:function(n){for(var r=0,i={},a="string"==typeof n?n.split(" "):[n];r<4;r++)i[e+ie[r]+t]=a[r]||a[r-2]||a[0];return i}},"margin"!==e&&(j.cssHooks[e+t].set=Xe)})),j.fn.extend({css:function(e,t){return H(this,(function(e,t,n){var r,i,a={},o=0;if(Array.isArray(t)){for(r=Le(e),i=t.length;o1)}}),j.Tween=nt,nt.prototype={constructor:nt,init:function(e,t,n,r,i,a){this.elem=e,this.prop=n,this.easing=i||j.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=a||(j.cssNumber[n]?"":"px")},cur:function(){var e=nt.propHooks[this.prop];return e&&e.get?e.get(this):nt.propHooks._default.get(this)},run:function(e){var t,n=nt.propHooks[this.prop];return this.options.duration?this.pos=t=j.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):nt.propHooks._default.set(this),this}},nt.prototype.init.prototype=nt.prototype,nt.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=j.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){j.fx.step[e.prop]?j.fx.step[e.prop](e):1!==e.elem.nodeType||!j.cssHooks[e.prop]&&null==e.elem.style[Qe(e.prop)]?e.elem[e.prop]=e.now:j.style(e.elem,e.prop,e.now+e.unit)}}},nt.propHooks.scrollTop=nt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},j.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},j.fx=nt.prototype.init,j.fx.step={};var rt,it,at=/^(?:toggle|show|hide)$/,ot=/queueHooks$/;function st(){it&&(!1===v.hidden&&n.requestAnimationFrame?n.requestAnimationFrame(st):n.setTimeout(st,j.fx.interval),j.fx.tick())}function lt(){return n.setTimeout((function(){rt=void 0})),rt=Date.now()}function ct(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=ie[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function ut(e,t,n){for(var r,i=(dt.tweeners[t]||[]).concat(dt.tweeners["*"]),a=0,o=i.length;a1)},removeAttr:function(e){return this.each((function(){j.removeAttr(this,e)}))}}),j.extend({attr:function(e,t,n){var r,i,a=e.nodeType;if(3!==a&&8!==a&&2!==a)return void 0===e.getAttribute?j.prop(e,t,n):(1===a&&j.isXMLDoc(e)||(i=j.attrHooks[t.toLowerCase()]||(j.expr.match.bool.test(t)?ht:void 0)),void 0!==n?null===n?void j.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:null==(r=j.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!g.radioValue&&"radio"===t&&O(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(M);if(i&&1===e.nodeType)for(;n=i[r++];)e.removeAttribute(n)}}),ht={set:function(e,t,n){return!1===t?j.removeAttr(e,n):e.setAttribute(n,n),n}},j.each(j.expr.match.bool.source.match(/\w+/g),(function(e,t){var n=pt[t]||j.find.attr;pt[t]=function(e,t,r){var i,a,o=t.toLowerCase();return r||(a=pt[o],pt[o]=i,i=null!=n(e,t,r)?o:null,pt[o]=a),i}}));var ft=/^(?:input|select|textarea|button)$/i,mt=/^(?:a|area)$/i;function gt(e){return(e.match(M)||[]).join(" ")}function yt(e){return e.getAttribute&&e.getAttribute("class")||""}function bt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(M)||[]}j.fn.extend({prop:function(e,t){return H(this,j.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[j.propFix[e]||e]}))}}),j.extend({prop:function(e,t,n){var r,i,a=e.nodeType;if(3!==a&&8!==a&&2!==a)return 1===a&&j.isXMLDoc(e)||(t=j.propFix[t]||t,i=j.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=j.find.attr(e,"tabindex");return t?parseInt(t,10):ft.test(e.nodeName)||mt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),g.optSelected||(j.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),j.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){j.propFix[this.toLowerCase()]=this})),j.fn.extend({addClass:function(e){var t,n,r,i,a,o,s,l=0;if(y(e))return this.each((function(t){j(this).addClass(e.call(this,t,yt(this)))}));if((t=bt(e)).length)for(;n=this[l++];)if(i=yt(n),r=1===n.nodeType&&" "+gt(i)+" "){for(o=0;a=t[o++];)r.indexOf(" "+a+" ")<0&&(r+=a+" ");i!==(s=gt(r))&&n.setAttribute("class",s)}return this},removeClass:function(e){var t,n,r,i,a,o,s,l=0;if(y(e))return this.each((function(t){j(this).removeClass(e.call(this,t,yt(this)))}));if(!arguments.length)return this.attr("class","");if((t=bt(e)).length)for(;n=this[l++];)if(i=yt(n),r=1===n.nodeType&&" "+gt(i)+" "){for(o=0;a=t[o++];)for(;r.indexOf(" "+a+" ")>-1;)r=r.replace(" "+a+" "," ");i!==(s=gt(r))&&n.setAttribute("class",s)}return this},toggleClass:function(e,t){var n=typeof e,r="string"===n||Array.isArray(e);return"boolean"==typeof t&&r?t?this.addClass(e):this.removeClass(e):y(e)?this.each((function(n){j(this).toggleClass(e.call(this,n,yt(this),t),t)})):this.each((function(){var t,i,a,o;if(r)for(i=0,a=j(this),o=bt(e);t=o[i++];)a.hasClass(t)?a.removeClass(t):a.addClass(t);else void 0!==e&&"boolean"!==n||((t=yt(this))&&Z.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":Z.get(this,"__className__")||""))}))},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+gt(yt(n))+" ").indexOf(t)>-1)return!0;return!1}});var vt=/\r/g;j.fn.extend({val:function(e){var t,n,r,i=this[0];return arguments.length?(r=y(e),this.each((function(n){var i;1===this.nodeType&&(null==(i=r?e.call(this,n,j(this).val()):e)?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=j.map(i,(function(e){return null==e?"":e+""}))),(t=j.valHooks[this.type]||j.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))}))):i?(t=j.valHooks[i.type]||j.valHooks[i.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:"string"==typeof(n=i.value)?n.replace(vt,""):null==n?"":n:void 0}}),j.extend({valHooks:{option:{get:function(e){var t=j.find.attr(e,"value");return null!=t?t:gt(j.text(e))}},select:{get:function(e){var t,n,r,i=e.options,a=e.selectedIndex,o="select-one"===e.type,s=o?null:[],l=o?a+1:i.length;for(r=a<0?l:o?a:0;r-1)&&(n=!0);return n||(e.selectedIndex=-1),a}}}}),j.each(["radio","checkbox"],(function(){j.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=j.inArray(j(e).val(),t)>-1}},g.checkOn||(j.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})})),g.focusin="onfocusin"in n;var kt=/^(?:focusinfocus|focusoutblur)$/,wt=function(e){e.stopPropagation()};j.extend(j.event,{trigger:function(e,t,r,i){var a,o,s,l,c,u,d,h,f=[r||v],m=p.call(e,"type")?e.type:e,g=p.call(e,"namespace")?e.namespace.split("."):[];if(o=h=s=r=r||v,3!==r.nodeType&&8!==r.nodeType&&!kt.test(m+j.event.triggered)&&(m.indexOf(".")>-1&&(g=m.split("."),m=g.shift(),g.sort()),c=m.indexOf(":")<0&&"on"+m,(e=e[j.expando]?e:new j.Event(m,"object"==typeof e&&e)).isTrigger=i?2:3,e.namespace=g.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=r),t=null==t?[e]:j.makeArray(t,[e]),d=j.event.special[m]||{},i||!d.trigger||!1!==d.trigger.apply(r,t))){if(!i&&!d.noBubble&&!b(r)){for(l=d.delegateType||m,kt.test(l+m)||(o=o.parentNode);o;o=o.parentNode)f.push(o),s=o;s===(r.ownerDocument||v)&&f.push(s.defaultView||s.parentWindow||n)}for(a=0;(o=f[a++])&&!e.isPropagationStopped();)h=o,e.type=a>1?l:d.bindType||m,(u=(Z.get(o,"events")||Object.create(null))[e.type]&&Z.get(o,"handle"))&&u.apply(o,t),(u=c&&o[c])&&u.apply&&$(o)&&(e.result=u.apply(o,t),!1===e.result&&e.preventDefault());return e.type=m,i||e.isDefaultPrevented()||d._default&&!1!==d._default.apply(f.pop(),t)||!$(r)||c&&y(r[m])&&!b(r)&&((s=r[c])&&(r[c]=null),j.event.triggered=m,e.isPropagationStopped()&&h.addEventListener(m,wt),r[m](),e.isPropagationStopped()&&h.removeEventListener(m,wt),j.event.triggered=void 0,s&&(r[c]=s)),e.result}},simulate:function(e,t,n){var r=j.extend(new j.Event,n,{type:e,isSimulated:!0});j.event.trigger(r,null,t)}}),j.fn.extend({trigger:function(e,t){return this.each((function(){j.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var n=this[0];if(n)return j.event.trigger(e,t,n,!0)}}),g.focusin||j.each({focus:"focusin",blur:"focusout"},(function(e,t){var n=function(e){j.event.simulate(t,e.target,j.event.fix(e))};j.event.special[t]={setup:function(){var r=this.ownerDocument||this.document||this,i=Z.access(r,t);i||r.addEventListener(e,n,!0),Z.access(r,t,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this.document||this,i=Z.access(r,t)-1;i?Z.access(r,t,i):(r.removeEventListener(e,n,!0),Z.remove(r,t))}}}));var _t=n.location,jt={guid:Date.now()},Ct=/\?/;j.parseXML=function(e){var t,r;if(!e||"string"!=typeof e)return null;try{t=(new n.DOMParser).parseFromString(e,"text/xml")}catch(i){}return r=t&&t.getElementsByTagName("parsererror")[0],t&&!r||j.error("Invalid XML: "+(r?j.map(r.childNodes,(function(e){return e.textContent})).join("\n"):e)),t};var xt=/\[\]$/,Et=/\r?\n/g,St=/^(?:submit|button|image|reset|file)$/i,Tt=/^(?:input|select|textarea|keygen)/i;function Ot(e,t,n,r){var i;if(Array.isArray(t))j.each(t,(function(t,i){n||xt.test(e)?r(e,i):Ot(e+"["+("object"==typeof i&&null!=i?t:"")+"]",i,n,r)}));else if(n||"object"!==_(t))r(e,t);else for(i in t)Ot(e+"["+i+"]",t[i],n,r)}j.param=function(e,t){var n,r=[],i=function(e,t){var n=y(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!j.isPlainObject(e))j.each(e,(function(){i(this.name,this.value)}));else for(n in e)Ot(n,e[n],t,i);return r.join("&")},j.fn.extend({serialize:function(){return j.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=j.prop(this,"elements");return e?j.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!j(this).is(":disabled")&&Tt.test(this.nodeName)&&!St.test(e)&&(this.checked||!me.test(e))})).map((function(e,t){var n=j(this).val();return null==n?null:Array.isArray(n)?j.map(n,(function(e){return{name:t.name,value:e.replace(Et,"\r\n")}})):{name:t.name,value:n.replace(Et,"\r\n")}})).get()}});var zt=/%20/g,It=/#.*$/,Dt=/([?&])_=[^&]*/,At=/^(.*?):[ \t]*([^\r\n]*)$/gm,Nt=/^(?:GET|HEAD)$/,Pt=/^\/\//,Rt={},Mt={},qt="*/".concat("*"),Bt=v.createElement("a");function Lt(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,a=t.toLowerCase().match(M)||[];if(y(n))for(;r=a[i++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function Ft(e,t,n,r){var i={},a=e===Mt;function o(s){var l;return i[s]=!0,j.each(e[s]||[],(function(e,s){var c=s(t,n,r);return"string"!=typeof c||a||i[c]?a?!(l=c):void 0:(t.dataTypes.unshift(c),o(c),!1)})),l}return o(t.dataTypes[0])||!i["*"]&&o("*")}function Ut(e,t){var n,r,i=j.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&j.extend(!0,e,r),e}Bt.href=_t.href,j.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:_t.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(_t.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":qt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":j.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Ut(Ut(e,j.ajaxSettings),t):Ut(j.ajaxSettings,e)},ajaxPrefilter:Lt(Rt),ajaxTransport:Lt(Mt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var r,i,a,o,s,l,c,u,d,h,p=j.ajaxSetup({},t),f=p.context||p,m=p.context&&(f.nodeType||f.jquery)?j(f):j.event,g=j.Deferred(),y=j.Callbacks("once memory"),b=p.statusCode||{},k={},w={},_="canceled",C={readyState:0,getResponseHeader:function(e){var t;if(c){if(!o)for(o={};t=At.exec(a);)o[t[1].toLowerCase()+" "]=(o[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=o[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return c?a:null},setRequestHeader:function(e,t){return null==c&&(e=w[e.toLowerCase()]=w[e.toLowerCase()]||e,k[e]=t),this},overrideMimeType:function(e){return null==c&&(p.mimeType=e),this},statusCode:function(e){var t;if(e)if(c)C.always(e[C.status]);else for(t in e)b[t]=[b[t],e[t]];return this},abort:function(e){var t=e||_;return r&&r.abort(t),x(0,t),this}};if(g.promise(C),p.url=((e||p.url||_t.href)+"").replace(Pt,_t.protocol+"//"),p.type=t.method||t.type||p.method||p.type,p.dataTypes=(p.dataType||"*").toLowerCase().match(M)||[""],null==p.crossDomain){l=v.createElement("a");try{l.href=p.url,l.href=l.href,p.crossDomain=Bt.protocol+"//"+Bt.host!=l.protocol+"//"+l.host}catch(E){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!=typeof p.data&&(p.data=j.param(p.data,p.traditional)),Ft(Rt,p,t,C),c)return C;for(d in(u=j.event&&p.global)&&0==j.active++&&j.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Nt.test(p.type),i=p.url.replace(It,""),p.hasContent?p.data&&p.processData&&0===(p.contentType||"").indexOf("application/x-www-form-urlencoded")&&(p.data=p.data.replace(zt,"+")):(h=p.url.slice(i.length),p.data&&(p.processData||"string"==typeof p.data)&&(i+=(Ct.test(i)?"&":"?")+p.data,delete p.data),!1===p.cache&&(i=i.replace(Dt,"$1"),h=(Ct.test(i)?"&":"?")+"_="+jt.guid+++h),p.url=i+h),p.ifModified&&(j.lastModified[i]&&C.setRequestHeader("If-Modified-Since",j.lastModified[i]),j.etag[i]&&C.setRequestHeader("If-None-Match",j.etag[i])),(p.data&&p.hasContent&&!1!==p.contentType||t.contentType)&&C.setRequestHeader("Content-Type",p.contentType),C.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+qt+"; q=0.01":""):p.accepts["*"]),p.headers)C.setRequestHeader(d,p.headers[d]);if(p.beforeSend&&(!1===p.beforeSend.call(f,C,p)||c))return C.abort();if(_="abort",y.add(p.complete),C.done(p.success),C.fail(p.error),r=Ft(Mt,p,t,C)){if(C.readyState=1,u&&m.trigger("ajaxSend",[C,p]),c)return C;p.async&&p.timeout>0&&(s=n.setTimeout((function(){C.abort("timeout")}),p.timeout));try{c=!1,r.send(k,x)}catch(E){if(c)throw E;x(-1,E)}}else x(-1,"No Transport");function x(e,t,o,l){var d,h,v,k,w,_=t;c||(c=!0,s&&n.clearTimeout(s),r=void 0,a=l||"",C.readyState=e>0?4:0,d=e>=200&&e<300||304===e,o&&(k=function(e,t,n){for(var r,i,a,o,s=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){l.unshift(i);break}if(l[0]in n)a=l[0];else{for(i in n){if(!l[0]||e.converters[i+" "+l[0]]){a=i;break}o||(o=i)}a=a||o}if(a)return a!==l[0]&&l.unshift(a),n[a]}(p,C,o)),!d&&j.inArray("script",p.dataTypes)>-1&&j.inArray("json",p.dataTypes)<0&&(p.converters["text script"]=function(){}),k=function(e,t,n,r){var i,a,o,s,l,c={},u=e.dataTypes.slice();if(u[1])for(o in e.converters)c[o.toLowerCase()]=e.converters[o];for(a=u.shift();a;)if(e.responseFields[a]&&(n[e.responseFields[a]]=t),!l&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=a,a=u.shift())if("*"===a)a=l;else if("*"!==l&&l!==a){if(!(o=c[l+" "+a]||c["* "+a]))for(i in c)if((s=i.split(" "))[1]===a&&(o=c[l+" "+s[0]]||c["* "+s[0]])){!0===o?o=c[i]:!0!==c[i]&&(a=s[0],u.unshift(s[1]));break}if(!0!==o)if(o&&e.throws)t=o(t);else try{t=o(t)}catch(E){return{state:"parsererror",error:o?E:"No conversion from "+l+" to "+a}}}return{state:"success",data:t}}(p,k,C,d),d?(p.ifModified&&((w=C.getResponseHeader("Last-Modified"))&&(j.lastModified[i]=w),(w=C.getResponseHeader("etag"))&&(j.etag[i]=w)),204===e||"HEAD"===p.type?_="nocontent":304===e?_="notmodified":(_=k.state,h=k.data,d=!(v=k.error))):(v=_,!e&&_||(_="error",e<0&&(e=0))),C.status=e,C.statusText=(t||_)+"",d?g.resolveWith(f,[h,_,C]):g.rejectWith(f,[C,_,v]),C.statusCode(b),b=void 0,u&&m.trigger(d?"ajaxSuccess":"ajaxError",[C,p,d?h:v]),y.fireWith(f,[C,_]),u&&(m.trigger("ajaxComplete",[C,p]),--j.active||j.event.trigger("ajaxStop")))}return C},getJSON:function(e,t,n){return j.get(e,t,n,"json")},getScript:function(e,t){return j.get(e,void 0,t,"script")}}),j.each(["get","post"],(function(e,t){j[t]=function(e,n,r,i){return y(n)&&(i=i||r,r=n,n=void 0),j.ajax(j.extend({url:e,type:t,dataType:i,data:n,success:r},j.isPlainObject(e)&&e))}})),j.ajaxPrefilter((function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")})),j._evalUrl=function(e,t,n){return j.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){j.globalEval(e,t,n)}})},j.fn.extend({wrapAll:function(e){var t;return this[0]&&(y(e)&&(e=e.call(this[0])),t=j(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map((function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e})).append(this)),this},wrapInner:function(e){return y(e)?this.each((function(t){j(this).wrapInner(e.call(this,t))})):this.each((function(){var t=j(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)}))},wrap:function(e){var t=y(e);return this.each((function(n){j(this).wrapAll(t?e.call(this,n):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){j(this).replaceWith(this.childNodes)})),this}}),j.expr.pseudos.hidden=function(e){return!j.expr.pseudos.visible(e)},j.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},j.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(e){}};var Vt={0:200,1223:204},Ht=j.ajaxSettings.xhr();g.cors=!!Ht&&"withCredentials"in Ht,g.ajax=Ht=!!Ht,j.ajaxTransport((function(e){var t,r;if(g.cors||Ht&&!e.crossDomain)return{send:function(i,a){var o,s=e.xhr();if(s.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(o in e.xhrFields)s[o]=e.xhrFields[o];for(o in e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),e.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest"),i)s.setRequestHeader(o,i[o]);t=function(e){return function(){t&&(t=r=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?a(0,"error"):a(s.status,s.statusText):a(Vt[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=t(),r=s.onerror=s.ontimeout=t("error"),void 0!==s.onabort?s.onabort=r:s.onreadystatechange=function(){4===s.readyState&&n.setTimeout((function(){t&&r()}))},t=t("abort");try{s.send(e.hasContent&&e.data||null)}catch(l){if(t)throw l}},abort:function(){t&&t()}}})),j.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),j.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return j.globalEval(e),e}}}),j.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),j.ajaxTransport("script",(function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(r,i){t=j("