PageSourceSearch

https://bachrachgroup.com/search-jobs/main-es2015.js

js bachrachgroup.com collected 2026-10-04 05:23:27 UTC 1,336,774 bytes, 2,303 lines download raw bytes

1(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{"+5jU":function(e,t,n){var r=n("HMbd");e.exports=function(e,t){var n=Number(t);return r(e,-n)}},"+6+2":function(e,t,n){var r=n("yNUO");e.exports=function(e){var t=r(e);return t.setMinutes(0,0,0),t}},"+f+M":function(e,t,n){var r=n("iWRJ");e.exports=function(e,t){return r(e)-r(t)}},"+nbD":function(e,t,n){var r=n("yNUO"),o=n("iUbB"),i=n("hLnY");e.exports=function(e,t){var n=r(e),a=Number(t),s=i(n);return o(n,a-s)}},"+zZ+":function(e,t,n){var r=n("uPm0"),o=n("yNUO");e.exports=function(e,t){var n=o(e),i=o(t);return 4*(n.getFullYear()-i.getFullYear())+(r(n)-r(i))}},"//w5":function(e,t,n){e.exports=function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){e.exports=n(1)},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"mm dd yyyy",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=t.minYear,i=void 0===o?1:o,a=t.maxYear,s=void 0===a?9999:a,c=e.split(/[^dmyHMS]+/).sort((function(e,t){return r.indexOf(e)-r.indexOf(t)}));return function(t){var r=[],o={dd:31,mm:12,yy:99,yyyy:s,HH:23,MM:59,SS:59},a={dd:1,mm:1,yy:0,yyyy:i,HH:0,MM:0,SS:0},l=t.split("");c.forEach((function(t){var n=e.indexOf(t),i=parseInt(o[t].toString().substr(0,1),10);parseInt(l[n],10)>i&&(l[n+1]=l[n],l[n]=0,r.push(n))}));var u=0;return!c.some((function(r){var c=e.indexOf(r),l=r.length,d=t.substr(c,l).replace(/\D/g,""),h=parseInt(d,10);"mm"===r&&(u=h||0);var m="dd"===r?n[u]:o[r];if("yyyy"===r&&(1!==i||9999!==s)){var p=parseInt(o[r].toString().substring(0,d.length),10);return h<parseInt(a[r].toString().substring(0,d.length),10)||h>p}return h>m||d.length===l&&h<a[r]}))&&{value:l.join(""),indexesOfPipedChars:r}}};var n=[31,31,29,31,30,31,30,31,31,30,31,30,31],r=["yyyy","yy","mm","dd","HH","MM","SS"]}])},"/LN1":function(e,t,n){var r=n("ZmXw");e.exports=function(e,t){var n=Number(t);return r(e,12*n)}},"/Tkk":function(e,t,n){var r=n("CXhC");e.exports=function(e,t){var n=r(e),o=r(t);return n.getTime()===o.getTime()}},0:function(e,t,n){e.exports=n("zUnb")},"0u2M":function(e,t,n){var r=n("54Wo");e.exports=function(e,t){var n=r(e,t)/36e5;return n>0?Math.floor(n):Math.ceil(n)}},1:function(e,t){},"1CCG":function(e,t,n){var r=n("CXhC");e.exports=function(e,t){var n=r(e),o=r(t),i=n.getTime()-6e4*n.getTimezoneOffset(),a=o.getTime()-6e4*o.getTimezoneOffset();return Math.round((i-a)/864e5)}},"1HMO":function(e,t,n){var r=n("yNUO");e.exports=function(e,t){var n=r(e),o=Number(t);return n.setMilliseconds(o),n}},"1K6H":function(e,t,n){var r=n("9d03");e.exports=function(e,t){var n=Number(t);return r(e,-n)}},"1vin":function(e,t,n){var r=n("yNUO");e.exports=function(e){var t=r(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(23,59,59,999),t}},2:function(e,t){},"2QA8":function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));const r=(()=>"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random())()},"2XXS":function(e,t,n){var r=n("yNUO");e.exports=function(e){var t=r(e),n=t.getFullYear();return t.setFullYear(n+1,0,0),t.setHours(23,59,59,999),t}},"2fFW":function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));let r=!1;const o={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){if(e){const e=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+e.stack)}else r&&console.log("RxJS: Back to a better error behavior. Thank you. <3");r=e},get useDeprecatedSynchronousErrorHandling(){return r}}},"3d+l":function(e,t,n){var r=n("rMQs");e.exports=function(e){return r(e)?366:365}},"3hPP":function(e,t,n){var r=n("iWRJ"),o=n("tMf1");e.exports=function(e){var t=r(e),n=new Date(0);n.setFullYear(t+1,0,4),n.setHours(0,0,0,0);var i=o(n);return i.setDate(i.getDate()-1),i}},"3zVU":function(e,t,n){var r=n("J6Hf");e.exports=function(e,t){var n=Number(t);return r(e,-n)}},"4Toj":function(e,t,n){var r=n("54Wo");e.exports=function(e,t){var n=r(e,t)/1e3;return n>0?Math.floor(n):Math.ceil(n)}},"4coB":function(e,t,n){var r=n("eoPS");e.exports=function(e,t){var n=Number(t);return r(e,-n)}},"4v8u":function(e,t,n){var r=n("iUbB");e.exports=function(e,t){var n=Number(t);return r(e,-n)}},"5+tZ":function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n("lJxs"),o=n("Cfvw"),i=n("zx2A");function a(e,t,n=Number.POSITIVE_INFINITY){return"function"==typeof t?i=>i.pipe(a((n,i)=>Object(o.a)(e(n,i)).pipe(Object(r.a)((e,r)=>t(n,e,i,r))),n)):("number"==typeof t&&(n=t),t=>t.lift(new s(e,n)))}class s{constructor(e,t=Number.POSITIVE_INFINITY){this.project=e,this.concurrent=t}call(e,t){return t.subscribe(new c(e,this.project,this.concurrent))}}class c extends i.b{constructor(e,t,n=Number.POSITIVE_INFINITY){super(e),this.project=t,this.concurrent=n,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(e){this.active<this.concurrent?this._tryNext(e):this.buffer.push(e)}_tryNext(e){let t;const n=this.index++;try{t=this.project(e,n)}catch(r){return void this.destination.error(r)}this.active++,this._innerSub(t)}_innerSub(e){const t=new i.a(this),n=this.destination;n.add(t);const r=Object(i.c)(e,t);r!==t&&n.add(r)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(e){this.destination.next(e)}notifyComplete(){const e=this.buffer;this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},"54Wo":function(e,t,n){var r=n("yNUO");e.exports=function(e,t){var n=r(e),o=r(t);return n.getTime()-o.getTime()}},"5R0t":function(e,t){e.exports=function(){var e=new Date,t=e.getFullYear(),n=e.getMonth(),r=e.getDate(),o=new Date(0);return o.setFullYear(t,n,r-1),o.setHours(23,59,59,999),o}},"5iAy":function(e,t,n){var r=n("xq5I");e.exports=function(e){return r(new Date,e)}},"5z3u":function(e,t,n){var r=n("yNUO"),o=n("gfz1");e.exports=function(e,t){var n=r(e),i=Number(t),a=o(n)-i;return n.setDate(n.getDate()-7*a),n}},"6DAA":function(e,t,n){var r=n("kOWh");e.exports=function(){var e=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],t=["January","February","March","April","May","June","July","August","September","October","November","December"],n=["Su","Mo","Tu","We","Th","Fr","Sa"],o=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],i=["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
1ay","Saturday"],a=["AM","PM"],s=["am","pm"],c=["a.m.","p.m."],l={MMM:function(t){return e[t.getMonth()]},MMMM:function(e){return t[e.getMonth()]},dd:function(e){return n[e.getDay()]},ddd:function(e){return o[e.getDay()]},dddd:function(e){return i[e.getDay()]},A:function(e){return e.getHours()/12>=1?a[1]:a[0]},a:function(e){return e.getHours()/12>=1?s[1]:s[0]},aa:function(e){return e.getHours()/12>=1?c[1]:c[0]}};return["M","D","DDD","d","Q","W"].forEach((function(e){l[e+"o"]=function(t,n){return function(e){var t=e%100;if(t>20||t<10)switch(t%10){case 1:return e+"st";case 2:return e+"nd";case 3:return e+"rd"}return e+"th"}(n[e](t))}})),{formatters:l,formattingTokensRegExp:r(l)}}},"6WtA":function(e,t,n){var r=n("yNUO");e.exports=function(e){var t=r(e);return t.setSeconds(0,0),t}},"6qX0":function(e,t,n){var r=n("yNUO");e.exports=function(e,t,n,o){var i=r(e).getTime(),a=r(t).getTime(),s=r(n).getTime(),c=r(o).getTime();if(i>a||s>c)throw new Error("The start of the range cannot be after the end of the range");return i<c&&s<a}},"7B8A":function(e,t,n){var r=n("yNUO");e.exports=function(e,t){var n=r(e).getTime(),o=Number(t);return new Date(n+o)}},"7KIa":function(e,t,n){var r=n("yNUO");e.exports=function(e){var t=r(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(0,0,0,0),t}},"7o/Q":function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n("n6bG"),o=n("gRHU"),i=n("quSY"),a=n("2QA8"),s=n("2fFW"),c=n("NJ4a");class l extends i.a{constructor(e,t,n){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=o.a;break;case 1:if(!e){this.destination=o.a;break}if("object"==typeof e){e instanceof l?(this.syncErrorThrowable=e.syncErrorThrowable,this.destination=e,e.add(this)):(this.syncErrorThrowable=!0,this.destination=new u(this,e));break}default:this.syncErrorThrowable=!0,this.destination=new u(this,e,t,n)}}[a.a](){return this}static create(e,t,n){const r=new l(e,t,n);return r.syncErrorThrowable=!1,r}next(e){this.isStopped||this._next(e)}error(e){this.isStopped||(this.isStopped=!0,this._error(e))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(e){this.destination.next(e)}_error(e){this.destination.error(e),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:e}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=e,this}}class u extends l{constructor(e,t,n,i){let a;super(),this._parentSubscriber=e;let s=this;Object(r.a)(t)?a=t:t&&(a=t.next,n=t.error,i=t.complete,t!==o.a&&(s=Object.create(t),Object(r.a)(s.unsubscribe)&&this.add(s.unsubscribe.bind(s)),s.unsubscribe=this.unsubscribe.bind(this))),this._context=s,this._next=a,this._error=n,this._complete=i}next(e){if(!this.isStopped&&this._next){const{_parentSubscriber:t}=this;s.a.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}}error(e){if(!this.isStopped){const{_parentSubscriber:t}=this,{useDeprecatedSynchronousErrorHandling:n}=s.a;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)}}}complete(){if(!this.isStopped){const{_parentSubscriber:e}=this;if(this._complete){const t=()=>this._complete.call(this._context);s.a.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?(this.__tryOrSetError(e,t),this.unsubscribe()):(this.__tryOrUnsub(t),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(e,t){try{e.call(this._context,t)}catch(n){if(this.unsubscribe(),s.a.useDeprecatedSynchronousErrorHandling)throw n;Object(c.a)(n)}}__tryOrSetError(e,t,n){if(!s.a.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,n)}catch(r){return s.a.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=r,e.syncErrorThrown=!0,!0):(Object(c.a)(r),!0)}return!1}_unsubscribe(){const{_parentSubscriber:e}=this;this._context=null,this._parentSubscriber=null,e.unsubscribe()}}},"7pFD":function(e,t,n){var r=n("O8cK");e.exports=function(e,t){var n=r(e,t)/7;return n>0?Math.floor(n):Math.ceil(n)}},"8Y7J":function(e,t,n){"use strict";n.r(t),n.d(t,"ANALYZE_FOR_ENTRY_COMPONENTS",(function(){return Os})),n.d(t,"APP_BOOTSTRAP_LISTENER",(function(){return ny})),n.d(t,"APP_ID",(function(){return Zg})),n.d(t,"APP_INITIALIZER",(function(){return $g})),n.d(t,"ApplicationInitStatus",(function(){return Wg})),n.d(t,"ApplicationModule",(function(){return Vv})),n.d(t,"ApplicationRef",(function(){return Xy})),n.d(t,"Attribute",(function(){return A})),n.d(t,"COMPILER_OPTIONS",(function(){return Sy})),n.d(t,"CUSTOM_ELEMENTS_SCHEMA",(function(){return pr})),n.d(t,"ChangeDetectionStrategy",(function(){return Ve})),n.d(t,"ChangeDetectorRef",(function(){return Ca})),n.d(t,"Compiler",(function(){return wy})),n.d(t,"CompilerFactory",(function(){return _y})),n.d(t,"Component",(function(){return Rg})),n.d(t,"ComponentFactory",(function(){return hh})),n.d(t,"ComponentFactoryResolver",(function(){return gh})),n.d(t,"ComponentRef",(function(){return dh}
1)),n.d(t,"ContentChild",(function(){return Ps})),n.d(t,"ContentChildren",(function(){return As})),n.d(t,"DEFAULT_CURRENCY_CODE",(function(){return ay})),n.d(t,"DebugElement",(function(){return Pv})),n.d(t,"DebugEventListener",(function(){return hv})),n.d(t,"DebugNode",(function(){return Av})),n.d(t,"DefaultIterableDiffer",(function(){return Dh})),n.d(t,"Directive",(function(){return Dg})),n.d(t,"ElementRef",(function(){return bh})),n.d(t,"EmbeddedViewRef",(function(){return dv})),n.d(t,"ErrorHandler",(function(){return mr})),n.d(t,"EventEmitter",(function(){return xf})),n.d(t,"Host",(function(){return O})),n.d(t,"HostBinding",(function(){return Fg})),n.d(t,"HostListener",(function(){return Lg})),n.d(t,"INJECTOR",(function(){return he})),n.d(t,"Inject",(function(){return E})),n.d(t,"InjectFlags",(function(){return P})),n.d(t,"Injectable",(function(){return Ba})),n.d(t,"InjectionToken",(function(){return de})),n.d(t,"Injector",(function(){return is})),n.d(t,"Input",(function(){return Ng})),n.d(t,"IterableDiffers",(function(){return Bh})),n.d(t,"KeyValueDiffers",(function(){return Uh})),n.d(t,"LOCALE_ID",(function(){return iy})),n.d(t,"MissingTranslationStrategy",(function(){return ly})),n.d(t,"ModuleWithComponentFactories",(function(){return hy})),n.d(t,"NO_ERRORS_SCHEMA",(function(){return fr})),n.d(t,"NgModule",(function(){return Kg})),n.d(t,"NgModuleFactory",(function(){return Te})),n.d(t,"NgModuleFactoryLoader",(function(){return tv})),n.d(t,"NgModuleRef",(function(){return Oe})),n.d(t,"NgProbeToken",(function(){return Ky})),n.d(t,"NgZone",(function(){return xy})),n.d(t,"Optional",(function(){return k})),n.d(t,"Output",(function(){return jg})),n.d(t,"PACKAGE_ROOT_URL",(function(){return ry})),n.d(t,"PLATFORM_ID",(function(){return ty})),n.d(t,"PLATFORM_INITIALIZER",(function(){return ey})),n.d(t,"Pipe",(function(){return Mg})),n.d(t,"PlatformRef",(function(){return Jy})),n.d(t,"Query",(function(){return Ts})),n.d(t,"QueryList",(function(){return Of})),n.d(t,"ReflectiveInjector",(function(){return xs})),n.d(t,"ReflectiveKey",(function(){return us})),n.d(t,"Renderer2",(function(){return Eh})),n.d(t,"RendererFactory2",(function(){return Sh})),n.d(t,"RendererStyleFlags2",(function(){return _h})),n.d(t,"ResolvedReflectiveFactory",(function(){return vs})),n.d(t,"Sanitizer",(function(){return Ih})),n.d(t,"SecurityContext",(function(){return io})),n.d(t,"Self",(function(){return x})),n.d(t,"SimpleChange",(function(){return St})),n.d(t,"SkipSelf",(function(){return I})),n.d(t,"SystemJsNgModuleLoader",(function(){return cv})),n.d(t,"SystemJsNgModuleLoaderConfig",(function(){return av})),n.d(t,"TRANSLATIONS",(function(){return sy})),n.d(t,"TRANSLATIONS_FORMAT",(function(){return cy})),n.d(t,"TemplateRef",(function(){return Kh})),n.d(t,"Testability",(function(){return My})),n.d(t,"TestabilityRegistry",(function(){return Ny})),n.d(t,"Type",(function(){return _a})),n.d(t,"VERSION",(function(){return Th})),n.d(t,"Version",(function(){return Oh})),n.d(t,"ViewChild",(function(){return Rs})),n.d(t,"ViewChildren",(function(){return Ds})),n.d(t,"ViewContainerRef",(function(){return $h})),n.d(t,"ViewEncapsulation",(function(){return He})),n.d(t,"ViewRef",(function(){return uv})),n.d(t,"WrappedValue",(function(){return Sc})),n.d(t,"asNativeElements",(function(){return fv})),n.d(t,"assertPlatform",(function(){return $y})),n.d(t,"createPlatform",(function(){return zy})),n.d(t,"createPlatformFactory",(function(){return Yy})),n.d(t,"defineInjectable",(function(){return N})),n.d(t,"destroyPlatform",(function(){return Wy})),n.d(t,"enableProdMode",(function(){return Rr})),n.d(t,"forwardRef",(function(){return $})),n.d(t,"getDebugNode",(function(){return xv})),n.d(t,"getModuleFactory",(function(){return ov})),n.d(t,"getPlatform",(function(){return Zy})),n.d(t,"inject",(function(){return _e})),n.d(t,"isDevMode",(function(){return Dr})),n.d(t,"platformCore",(function(){return Dv})),n.d(t,"resolveForwardRef",(function(){return W})),n.d(t,"setTestabilityGetter",(function(){return Fy})),n.d(t,"\u02750",(function(){return _})),n.d(t,"\u02751",(function(){return T})),n.d(t,"\u0275ALLOW_MULTIPLE_PLATFORMS",(function(){return qy})),n.d(t,"\u0275APP_ID_RANDOM_PROVIDER",(function(){return Qg})),n.d(t,"\u0275ChangeDetectorStatus",(function(){return Be})),n.d(t,"\u0275CodegenComponentFactoryResolver",(function(){return yh})),n.d(t,"\u0275Compiler_compileModuleAndAllComponentsAsync__POST_R3__",(function(){return by})),n.d(t,"\u0275Compiler_compileModuleAndAllComponentsSync__POST_R3__",(function(){return yy})),n.d(t,"\u0275Compiler_compileModuleAsync__POST_R3__",(function(){return fy})),n.d(t,"\u0275Compiler_compileModuleSync__POST_R3__",(function(){return my})),n.d(t,"\u0275ComponentFactory",(function(){return hh})),n.d(t,"\u0275Console",(function(){return oy})),n.d(t,"\u0275DEFAULT_LOCALE_ID",(function(){return ad})),n.d(t,"\u0275EMPTY_ARRAY",(function(){return Gm})),n.d(t,"\u0275EMPTY_MAP",(function(){return qm})),n.d(t,"\u0275INJECTOR_IMPL__POST_R3__",(function(){return rs})),n.d(t,"\u0275INJECTOR_SCOPE",(function(){return Ga})),n.d(t,"\u0275LifecycleHooksFeature",(function(){return cc})),n.d(t,"\u0275LocaleDataIndex",(function(){return od})),n.d(t,"\u0275NG_COMP_DEF",(function(){return oe})),n.d(t,"\u0275NG_DIR_DEF",(function(){return ie})),n.d(t,"\u0275NG_ELEMENT_ID",(function(){return ue})),n.d(t,"\u0275NG_INJ_DEF",(function(){return U})),n.d(t,"\u0275NG_MOD_DEF",(function(){return se})),n.d(t,"\u0275NG_PIPE_DEF",(function(){return ae})),n.d(t,"\u0275NG_PROV_DEF",(function(){return B})),n.d(t,"\u0275NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR",(function(){return Np}
1)),n.d(t,"\u0275NO_CHANGE",(function(){return Vo})),n.d(t,"\u0275NgModuleFactory",(function(){return ef})),n.d(t,"\u0275NoopNgZone",(function(){return Ry})),n.d(t,"\u0275ReflectionCapabilities",(function(){return Ta})),n.d(t,"\u0275Render3ComponentFactory",(function(){return Kp})),n.d(t,"\u0275Render3ComponentRef",(function(){return zp})),n.d(t,"\u0275Render3NgModuleRef",(function(){return Xp})),n.d(t,"\u0275SWITCH_CHANGE_DETECTOR_REF_FACTORY__POST_R3__",(function(){return wa})),n.d(t,"\u0275SWITCH_COMPILE_COMPONENT__POST_R3__",(function(){return Vg})),n.d(t,"\u0275SWITCH_COMPILE_DIRECTIVE__POST_R3__",(function(){return Bg})),n.d(t,"\u0275SWITCH_COMPILE_INJECTABLE__POST_R3__",(function(){return Ua})),n.d(t,"\u0275SWITCH_COMPILE_NGMODULE__POST_R3__",(function(){return zg})),n.d(t,"\u0275SWITCH_COMPILE_PIPE__POST_R3__",(function(){return Ug})),n.d(t,"\u0275SWITCH_ELEMENT_REF_FACTORY__POST_R3__",(function(){return Ch})),n.d(t,"\u0275SWITCH_IVY_ENABLED__POST_R3__",(function(){return uy})),n.d(t,"\u0275SWITCH_RENDERER2_FACTORY__POST_R3__",(function(){return kh})),n.d(t,"\u0275SWITCH_TEMPLATE_REF_FACTORY__POST_R3__",(function(){return zh})),n.d(t,"\u0275SWITCH_VIEW_CONTAINER_REF_FACTORY__POST_R3__",(function(){return Wh})),n.d(t,"\u0275_sanitizeHtml",(function(){return ro})),n.d(t,"\u0275_sanitizeUrl",(function(){return Vr})),n.d(t,"\u0275allowSanitizationBypassAndThrow",(function(){return _r})),n.d(t,"\u0275and",(function(){return Bv})),n.d(t,"\u0275angular_packages_core_core_a",(function(){return Z})),n.d(t,"\u0275angular_packages_core_core_b",(function(){return Ce})),n.d(t,"\u0275angular_packages_core_core_ba",(function(){return zt})),n.d(t,"\u0275angular_packages_core_core_bb",(function(){return Zt})),n.d(t,"\u0275angular_packages_core_core_bc",(function(){return an})),n.d(t,"\u0275angular_packages_core_core_bd",(function(){return _n})),n.d(t,"\u0275angular_packages_core_core_bf",(function(){return mf})),n.d(t,"\u0275angular_packages_core_core_bg",(function(){return pf})),n.d(t,"\u0275angular_packages_core_core_bh",(function(){return ff})),n.d(t,"\u0275angular_packages_core_core_bi",(function(){return gf})),n.d(t,"\u0275angular_packages_core_core_bj",(function(){return yf})),n.d(t,"\u0275angular_packages_core_core_bk",(function(){return ho})),n.d(t,"\u0275angular_packages_core_core_bl",(function(){return w})),n.d(t,"\u0275angular_packages_core_core_bm",(function(){return S})),n.d(t,"\u0275angular_packages_core_core_bn",(function(){return D})),n.d(t,"\u0275angular_packages_core_core_bp",(function(){return Uo})),n.d(t,"\u0275angular_packages_core_core_bq",(function(){return Wd})),n.d(t,"\u0275angular_packages_core_core_c",(function(){return xe})),n.d(t,"\u0275angular_packages_core_core_d",(function(){return Is})),n.d(t,"\u0275angular_packages_core_core_e",(function(){return fs})),n.d(t,"\u0275angular_packages_core_core_f",(function(){return ws})),n.d(t,"\u0275angular_packages_core_core_g",(function(){return Jg})),n.d(t,"\u0275angular_packages_core_core_h",(function(){return ga})),n.d(t,"\u0275angular_packages_core_core_i",(function(){return ya})),n.d(t,"\u0275angular_packages_core_core_j",(function(){return nv})),n.d(t,"\u0275angular_packages_core_core_k",(function(){return mv})),n.d(t,"\u0275angular_packages_core_core_l",(function(){return pv})),n.d(t,"\u0275angular_packages_core_core_m",(function(){return Iv})),n.d(t,"\u0275angular_packages_core_core_n",(function(){return Ah})),n.d(t,"\u0275angular_packages_core_core_o",(function(){return Fh})),n.d(t,"\u0275angular_packages_core_core_p",(function(){return Rv})),n.d(t,"\u0275angular_packages_core_core_q",(function(){return Mv})),n.d(t,"\u0275angular_packages_core_core_r",(function(){return Nv})),n.d(t,"\u0275angular_packages_core_core_s",(function(){return Fv})),n.d(t,"\u0275angular_packages_core_core_t",(function(){return Lv})),n.d(t,"\u0275angular_packages_core_core_u",(function(){return sd})),n.d(t,"\u0275angular_packages_core_core_v",(function(){return Op})),n.d(t,"\u0275angular_packages_core_core_w",(function(){return sm})),n.d(t,"\u0275angular_packages_core_core_x",(function(){return Et})),n.d(t,"\u0275angular_packages_core_core_y",(function(){return qp})),n.d(t,"\u0275angular_packages_core_core_z",(function(){return Xn})),n.d(t,"\u0275bypassSanitizationTrustHtml",(function(){return kr})),n.d(t,"\u0275bypassSanitizationTrustResourceUrl",(function(){return Tr})),n.d(t,"\u0275bypassSanitizationTrustScript",(function(){return Ir})),n.d(t,"\u0275bypassSanitizationTrustStyle",(function(){return xr})),n.d(t,"\u0275bypassSanitizationTrustUrl",(function(){return Or})),n.d(t,"\u0275ccf",(function(){return rp})),n.d(t,"\u0275clearOverrides",(function(){return pC})),n.d(t,"\u0275clearResolutionOfComponentResourcesQueue",(function(){return Ls})),n.d(t,"\u0275cmf",(function(){return fC})),n.d(t,"\u0275compileComponent",(function(){return fg})),n.d(t,"\u0275compileDirective",(function(){return gg})),n.d(t,"\u0275compileNgModule",(function(){return og})),n.d(t,"\u0275compileNgModuleDefs",(function(){return ig}
1)),n.d(t,"\u0275compileNgModuleFactory__POST_R3__",(function(){return Uy})),n.d(t,"\u0275compilePipe",(function(){return Ag})),n.d(t,"\u0275createInjector",(function(){return Wa})),n.d(t,"\u0275crt",(function(){return mm})),n.d(t,"\u0275defaultIterableDiffers",(function(){return Gh})),n.d(t,"\u0275defaultKeyValueDiffers",(function(){return qh})),n.d(t,"\u0275detectChanges",(function(){return Us})),n.d(t,"\u0275devModeEqual",(function(){return wc})),n.d(t,"\u0275did",(function(){return kp})),n.d(t,"\u0275eld",(function(){return Uv})),n.d(t,"\u0275findLocaleData",(function(){return Xu})),n.d(t,"\u0275flushModuleScopingQueueAsMuchAsPossible",(function(){return ng})),n.d(t,"\u0275getComponentViewDefinitionFactory",(function(){return op})),n.d(t,"\u0275getDebugNodeR2",(function(){return Ov})),n.d(t,"\u0275getDebugNode__POST_R3__",(function(){return kv})),n.d(t,"\u0275getDirectives",(function(){return $s})),n.d(t,"\u0275getHostElement",(function(){return Zs})),n.d(t,"\u0275getInjectableDef",(function(){return F})),n.d(t,"\u0275getLContext",(function(){return Co})),n.d(t,"\u0275getLocaleCurrencyCode",(function(){return ed})),n.d(t,"\u0275getLocalePluralCase",(function(){return td})),n.d(t,"\u0275getModuleFactory__POST_R3__",(function(){return rv})),n.d(t,"\u0275getSanitizationBypassType",(function(){return Er})),n.d(t,"\u0275global",(function(){return te})),n.d(t,"\u0275initServicesIfNeeded",(function(){return Tb})),n.d(t,"\u0275inlineInterpolate",(function(){return Um})),n.d(t,"\u0275interpolate",(function(){return Bm})),n.d(t,"\u0275isBoundToModule__POST_R3__",(function(){return Gy})),n.d(t,"\u0275isDefaultChangeDetectionStrategy",(function(){return Ue})),n.d(t,"\u0275isListLikeIterable",(function(){return _c})),n.d(t,"\u0275isObservable",(function(){return hl})),n.d(t,"\u0275isPromise",(function(){return dl})),n.d(t,"\u0275ivyEnabled",(function(){return dy})),n.d(t,"\u0275makeDecorator",(function(){return b})),n.d(t,"\u0275markDirty",(function(){return Hs})),n.d(t,"\u0275mod",(function(){return Zm})),n.d(t,"\u0275mpd",(function(){return Wm})),n.d(t,"\u0275ncd",(function(){return Jv})),n.d(t,"\u0275noSideEffects",(function(){return f})),n.d(t,"\u0275nov",(function(){return fp})),n.d(t,"\u0275overrideComponentView",(function(){return mC})),n.d(t,"\u0275overrideProvider",(function(){return hC})),n.d(t,"\u0275pad",(function(){return eb})),n.d(t,"\u0275patchComponentDefWithScope",(function(){return ug})),n.d(t,"\u0275pid",(function(){return xp})),n.d(t,"\u0275pod",(function(){return tb})),n.d(t,"\u0275ppd",(function(){return Xv})),n.d(t,"\u0275prd",(function(){return Ip})),n.d(t,"\u0275publishDefaultGlobalUtils",(function(){return nc})),n.d(t,"\u0275publishGlobalUtil",(function(){return rc})),n.d(t,"\u0275qud",(function(){return zv})),n.d(t,"\u0275registerLocaleData",(function(){return Qu})),n.d(t,"\u0275registerModuleFactory",(function(){return Wp})),n.d(t,"\u0275registerNgModuleType",(function(){return Jp})),n.d(t,"\u0275renderComponent",(function(){return oc})),n.d(t,"\u0275resetCompiledComponents",(function(){return cg})),n.d(t,"\u0275resetJitOptions",(function(){return Qf})),n.d(t,"\u0275resolveComponentResources",(function(){return Ms})),n.d(t,"\u0275setClassMetadata",(function(){return Yp})),n.d(t,"\u0275setCurrentInjector",(function(){return ve})),n.d(t,"\u0275setDocument",(function(){return Tt})),n.d(t,"\u0275setLocaleId",(function(){return dd})),n.d(t,"\u0275store",(function(){return Jc})),n.d(t,"\u0275stringify",(function(){return K})),n.d(t,"\u0275ted",(function(){return rb})),n.d(t,"\u0275transitiveScopesFor",(function(){return dg})),n.d(t,"\u0275unregisterLocaleData",(function(){return rd})),n.d(t,"\u0275unv",(function(){return hm})),n.d(t,"\u0275unwrapSafeValue",(function(){return Sr})),n.d(t,"\u0275vid",(function(){return ab})),n.d(t,"\u0275whenRendered",(function(){return lc})),n.d(t,"\u0275\u0275CopyDefinitionFeature",(function(){return vc})),n.d(t,"\u0275\u0275InheritDefinitionFeature",(function(){return dc})),n.d(t,"\u0275\u0275NgOnChangesFeature",(function(){return _t})),n.d(t,"\u0275\u0275ProvidersFeature",(function(){return uh})),n.d(t,"\u0275\u0275advance",(function(){return Ko})),n.d(t,"\u0275\u0275attribute",(function(){return Pc})),n.d(t,"\u0275\u0275attributeInterpolate1",(function(){return Uc})),n.d(t,"\u0275\u0275attributeInterpolate2",(function(){return Hc})),n.d(t,"\u0275\u0275attributeInterpolate3",(function(){return Gc})),n.d(t,"\u0275\u0275attributeInterpolate4",(function(){return qc})),n.d(t,"\u0275\u0275attributeInterpolate5",(function(){return Kc})),n.d(t,"\u0275\u0275attributeInterpolate6",(function(){return zc})),n.d(t,"\u0275\u0275attributeInterpolate7",(function(){return Yc})),n.d(t,"\u0275\u0275attributeInterpolate8",(function(){return $c})),n.d(t,"\u0275\u0275attributeInterpolateV",(function(){return Wc})),n.d(t,"\u0275\u0275classMap",(function(){return Zl})),n.d(t,"\u0275\u0275classMapInterpolate1",(function(){return Cu})),n.d(t,"\u0275\u0275classMapInterpolate2",(function(){return wu})),n.d(t,"\u0275\u0275classMapInterpolate3",(function(){return Su})),n.d(t,"\u0275\u0275classMapInterpolate4",(function(){return _u})),n.d(t,"\u0275\u0275classMapInterpolate5",(function(){return Eu})),n.d(t,"\u0275\u0275classMapInterpolate6",(function(){return ku})),n.d(t,"\u0275\u0275classMapInterpolate7",(function(){return xu})),n.d(t,"\u0275\u0275classMapInterpolate8",(function(){return Iu})),n.d(t,"\u0275\u0275classMapInterpolateV",(function(){return Ou})),n.d(t,"\u0275\u0275classProp",(function(){return Yl})),n.d(t,"\u0275\u0275contentQuery",(function(){return Uf})),n.d(t,"\u0275\u0275defineComponent",(function(){return ze})),n.d(t,"\u0275\u0275defineDirective",(function(){return et})),n.d(t,"\u0275\u0275defineInjectable",(function(){return M})),n.d(t,"\u0275\u0275defineInjector",(function(){return j})),n.d(t,"\u0275\u0275defineNgModule",(function(){return Je})),n.d(t,"\u0275\u0275definePipe",(function(){return tt})),n.d(t,"\u0275\u0275directiveInject",(function(){return Xc})),n.d(t,"\u0275\u0275disableBindings",(function(){return Wt})),n.d(t,"\u0275\u0275element",(function(){return al})),n.d(t,"\u0275\u0275elementContainer",(function(){return ll})),n.d(t,"\u0275\u0275elementContainerEnd",(function(){return cl})),n.d(t,"\u0275\u0275elementContainerStart",(function(){return sl})),n.d(t,"\u0275\u0275elementEnd",(function(){return il})),n.d(t,"\u0275\u0275elementStart",(function(){return ol})),n.d(t,"\u0275\u0275enableBindings",(function(){return $t})),n.d(t,"\u0275\u0275getCurrentView",(function(){return ul})),n.d(t,"\u0275\u0275getFactoryOf",(function(){return cr}
1)),n.d(t,"\u0275\u0275getInheritedFactory",(function(){return lr})),n.d(t,"\u0275\u0275hostProperty",(function(){return Yu})),n.d(t,"\u0275\u0275i18n",(function(){return Qd})),n.d(t,"\u0275\u0275i18nApply",(function(){return th})),n.d(t,"\u0275\u0275i18nAttributes",(function(){return Xd})),n.d(t,"\u0275\u0275i18nEnd",(function(){return Jd})),n.d(t,"\u0275\u0275i18nExp",(function(){return eh})),n.d(t,"\u0275\u0275i18nPostprocess",(function(){return nh})),n.d(t,"\u0275\u0275i18nStart",(function(){return Zd})),n.d(t,"\u0275\u0275inject",(function(){return we})),n.d(t,"\u0275\u0275injectAttribute",(function(){return el})),n.d(t,"\u0275\u0275injectPipeChangeDetectorRef",(function(){return Wf})),n.d(t,"\u0275\u0275invalidFactory",(function(){return tl})),n.d(t,"\u0275\u0275invalidFactoryDep",(function(){return Se})),n.d(t,"\u0275\u0275listener",(function(){return ml})),n.d(t,"\u0275\u0275loadQuery",(function(){return qf})),n.d(t,"\u0275\u0275namespaceHTML",(function(){return Tn})),n.d(t,"\u0275\u0275namespaceMathML",(function(){return On})),n.d(t,"\u0275\u0275namespaceSVG",(function(){return In})),n.d(t,"\u0275\u0275nextContext",(function(){return vl})),n.d(t,"\u0275\u0275pipe",(function(){return vf})),n.d(t,"\u0275\u0275pipeBind1",(function(){return bf})),n.d(t,"\u0275\u0275pipeBind2",(function(){return Cf})),n.d(t,"\u0275\u0275pipeBind3",(function(){return wf})),n.d(t,"\u0275\u0275pipeBind4",(function(){return Sf})),n.d(t,"\u0275\u0275pipeBindV",(function(){return _f})),n.d(t,"\u0275\u0275projection",(function(){return _l})),n.d(t,"\u0275\u0275projectionDef",(function(){return Cl})),n.d(t,"\u0275\u0275property",(function(){return nl})),n.d(t,"\u0275\u0275propertyInterpolate",(function(){return El})),n.d(t,"\u0275\u0275propertyInterpolate1",(function(){return kl})),n.d(t,"\u0275\u0275propertyInterpolate2",(function(){return xl})),n.d(t,"\u0275\u0275propertyInterpolate3",(function(){return Il})),n.d(t,"\u0275\u0275propertyInterpolate4",(function(){return Ol})),n.d(t,"\u0275\u0275propertyInterpolate5",(function(){return Tl})),n.d(t,"\u0275\u0275propertyInterpolate6",(function(){return Al})),n.d(t,"\u0275\u0275propertyInterpolate7",(function(){return Pl})),n.d(t,"\u0275\u0275propertyInterpolate8",(function(){return Dl})),n.d(t,"\u0275\u0275propertyInterpolateV",(function(){return Rl})),n.d(t,"\u0275\u0275pureFunction0",(function(){return tf})),n.d(t,"\u0275\u0275pureFunction1",(function(){return nf})),n.d(t,"\u0275\u0275pureFunction2",(function(){return rf})),n.d(t,"\u0275\u0275pureFunction3",(function(){return of})),n.d(t,"\u0275\u0275pureFunction4",(function(){return af})),n.d(t,"\u0275\u0275pureFunction5",(function(){return sf})),n.d(t,"\u0275\u0275pureFunction6",(function(){return cf})),n.d(t,"\u0275\u0275pureFunction7",(function(){return lf})),n.d(t,"\u0275\u0275pureFunction8",(function(){return uf})),n.d(t,"\u0275\u0275pureFunctionV",(function(){return df})),n.d(t,"\u0275\u0275queryRefresh",(function(){return Ff})),n.d(t,"\u0275\u0275reference",(function(){return Qc})),n.d(t,"\u0275\u0275resolveBody",(function(){return bt})),n.d(t,"\u0275\u0275resolveDocument",(function(){return vt})),n.d(t,"\u0275\u0275resolveWindow",(function(){return yt})),n.d(t,"\u0275\u0275restoreView",(function(){return Qt})),n.d(t,"\u0275\u0275sanitizeHtml",(function(){return ao})),n.d(t,"\u0275\u0275sanitizeResourceUrl",(function(){return lo})),n.d(t,"\u0275\u0275sanitizeScript",(function(){return uo})),n.d(t,"\u0275\u0275sanitizeStyle",(function(){return so})),n.d(t,"\u0275\u0275sanitizeUrl",(function(){return co})),n.d(t,"\u0275\u0275sanitizeUrlOrResourceUrl",(function(){return mo})),n.d(t,"\u0275\u0275setComponentScope",(function(){return Ye})),n.d(t,"\u0275\u0275setNgModuleScope",(function(){return Qe})),n.d(t,"\u0275\u0275staticContentQuery",(function(){return Hf})),n.d(t,"\u0275\u0275staticViewQuery",(function(){return Lf})),n.d(t,"\u0275\u0275styleMap",(function(){return $l})),n.d(t,"\u0275\u0275styleMapInterpolate1",(function(){return Tu})),n.d(t,"\u0275\u0275styleMapInterpolate2",(function(){return Au})),n.d(t,"\u0275\u0275styleMapInterpolate3",(function(){return Pu})),n.d(t,"\u0275\u0275styleMapInterpolate4",(function(){return Du})),n.d(t,"\u0275\u0275styleMapInterpolate5",(function(){return Ru})),n.d(t,"\u0275\u0275styleMapInterpolate6",(function(){return Mu})),n.d(t,"\u0275\u0275styleMapInterpolate7",(function(){return Nu})),n.d(t,"\u0275\u0275styleMapInterpolate8",(function(){return ju})),n.d(t,"\u0275\u0275styleMapInterpolateV",(function(){return Fu})),n.d(t,"\u0275\u0275styleProp",(function(){return zl})),n.d(t,"\u0275\u0275stylePropInterpolate1",(function(){return Lu})),n.d(t,"\u0275\u0275stylePropInterpolate2",(function(){return Vu})),n.d(t,"\u0275\u0275stylePropInterpolate3",(function(){return Bu})),n.d(t,"\u0275\u0275stylePropInterpolate4",(function(){return Uu})),n.d(t,"\u0275\u0275stylePropInterpolate5",(function(){return Hu})),n.d(t,"\u0275\u0275stylePropInterpolate6",(function(){return Gu})),n.d(t,"\u0275\u0275stylePropInterpolate7",(function(){return qu})),n.d(t,"\u0275\u0275stylePropInterpolate8",(function(){return Ku})),n.d(t,"\u0275\u0275stylePropInterpolateV",(function(){return zu})),n.d(t,"\u0275\u0275syntheticHostListener",(function(){return pl})),n.d(t,"\u0275\u0275syntheticHostProperty",(function(){return $u})),n.d(t,"\u0275\u0275template",(function(){return Zc})),n.d(t,"\u0275\u0275templateRefExtractor",(function(){return $f})),n.d(t,"\u0275\u0275text",(function(){return lu})),n.d(t,"\u0275\u0275textInterpolate",(function(){return uu})),n.d(t,"\u0275\u0275textInterpolate1",(function(){return du})),n.d(t,"\u0275\u0275textInterpolate2",(function(){return hu})),n.d(t,"\u0275\u0275textInterpolate3",(function(){return mu})),n.d(t,"\u0275\u0275textInterpolate4",(function(){return pu})),n.d(t,"\u0275\u0275textInterpolate5",(function(){return fu})),n.d(t,"\u0275\u0275textInterpolate6",(function(){return gu})),n.d(t,"\u0275\u0275textInterpolate7",(function(){return yu})),n.d(t,"\u0275\u0275textInterpolate8",(function(){return vu})),n.d(t,"\u0275\u0275textInterpolateV",(function(){return bu})),n.d(t,"\u0275\u0275viewQuery",(function(){return Vf}));var r=n("XNiG"),o=n("quSY"),i=n("HDdC"),a=n("VRyK"),s=n("7o/Q");function c(){return function(e){return e.lift(new l(e))}}class l{constructor(e){this.connectable=e}call(e,t){const{connectable:n}=this;n._refCount++;const r=new u(e,n),o=t.subscribe(r);return r.closed||(r.connection=n.connect()),o}}class u extends s.a{constructor(e,t){super(e),this.connectable=t}_unsubscribe(){const{connectable:e}=this;if(!e)return void(this.connection=null);this.connectable=null;const t=e._refCount;
1if(t<=0)return void(this.connection=null);if(e._refCount=t-1,t>1)return void(this.connection=null);const{connection:n}=this,r=e._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}class d extends i.a{constructor(e,t){super(),this.source=e,this.subjectFactory=t,this._refCount=0,this._isComplete=!1}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){const e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject}connect(){let e=this._connection;return e||(this._isComplete=!1,e=this._connection=new o.a,e.add(this.source.subscribe(new m(this.getSubject(),this))),e.closed&&(this._connection=null,e=o.a.EMPTY)),e}refCount(){return c()(this)}}const h=(()=>{const e=d.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:e._subscribe},_isComplete:{value:e._isComplete,writable:!0},getSubject:{value:e.getSubject},connect:{value:e.connect},refCount:{value:e.refCount}}})();class m extends r.b{constructor(e,t){super(e),this.connectable=t}_error(e){this._unsubscribe(),super._error(e)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const e=this.connectable;if(e){this.connectable=null;const t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}}}function p(){return new r.a}
2/**
3 * @license Angular v10.2.5
4 * (c) 2010-2020 Google LLC. https://angular.io/
5 * License: MIT
6 */
7/**
8 * @license
9 * Copyright Google LLC All Rights Reserved.
10 *
11 * Use of this source code is governed by an MIT-style license that can be
12 * found in the LICENSE file at https://angular.io/license
13 */function f(e){return{toString:e}.toString()}
14/**
15 * @license
16 * Copyright Google LLC All Rights Reserved.
17 *
18 * Use of this source code is governed by an MIT-style license that can be
19 * found in the LICENSE file at https://angular.io/license
20 */const g="__annotations__",y="__parameters__",v="__prop__metadata__";function b(e,t,n,r,o){return f(()=>{const i=C(t);function a(...e){if(this instanceof a)return i.call(this,...e),this;const t=new a(...e);return function(n){return o&&o(n,...e),(n.hasOwnProperty(g)?n[g]:Object.defineProperty(n,g,{value:[]})[g]).push(t),r&&r(n),n}}return n&&(a.prototype=Object.create(n.prototype)),a.prototype.ngMetadataName=e,a.annotationCls=a,a})}function C(e){return function(...t){if(e){const n=e(...t);for(const e in n)this[e]=n[e]}}}function w(e,t,n){return f(()=>{const r=C(t);function o(...e){if(this instanceof o)return r.apply(this,e),this;const t=new o(...e);return n.annotation=t,n;function n(e,n,r){const o=e.hasOwnProperty(y)?e[y]:Object.defineProperty(e,y,{value:[]})[y];for(;o.length<=r;)o.push(null);return(o[r]=o[r]||[]).push(t),e}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}function S(e,t,n,r){return f(()=>{const o=C(t);function i(...e){if(this instanceof i)return o.apply(this,e),this;const t=new i(...e);return function(n,o){const i=n.constructor,a=i.hasOwnProperty(v)?i[v]:Object.defineProperty(i,v,{value:{}})[v];a[o]=a.hasOwnProperty(o)&&a[o]||[],a[o].unshift(t),r&&r(n,o,...e)}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}
21/**
22 * @license
23 * Copyright Google LLC All Rights Reserved.
24 *
25 * Use of this source code is governed by an MIT-style license that can be
26 * found in the LICENSE file at https://angular.io/license
27 */const _=e=>({token:e}),E=w("Inject",_),k=w("Optional"),x=w("Self"),I=w("SkipSelf"),O=w("Host"),T=e=>({attributeName:e}),A=w("Attribute",T);
28/**
29 * @license
30 * Copyright Google LLC All Rights Reserved.
31 *
32 * Use of this source code is governed by an MIT-style license that can be
33 * found in the LICENSE file at https://angular.io/license
34 */var P=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}({});
35/**
36 * @license
37 * Copyright Google LLC All Rights Reserved.
38 *
39 * Use of this source code is governed by an MIT-style license that can be
40 * found in the LICENSE file at https://angular.io/license
41 */function D(e){for(let t in e)if(e[t]===D)return t;throw Error("Could not find renamed property on target object.")}function R(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}
42/**
43 * @license
44 * Copyright Google LLC All Rights Reserved.
45 *
46 * Use of this source code is governed by an MIT-style license that can be
47 * found in the LICENSE file at https://angular.io/license
48 */function M(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}const N=M;function j(e){return{factory:e.factory,providers:e.providers||[],imports:e.imports||[]}}function F(e){return L(e,e[B])||L(e,e[G])}function L(e,t){return t&&t.token===e?t:null}function V(e){return e&&(e.hasOwnProperty(U)||e.hasOwnProperty(q))?e[U]:null}const B=D({\u0275prov:D}),U=D({\u0275inj:D}),H=D({\u0275provFallback:D}),G=D({ngInjectableDef:D}),q=D({ngInjectorDef:D});
49/**
50 * @license
51 * Copyright Google LLC All Rights Reserved.
52 *
53 * Use of this source code is governed by an MIT-style license that can be
54 * found in the LICENSE file at https://angular.io/license
55 */function K(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(K).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return""+e.overriddenName;if(e.name)return""+e.name;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function z(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}
56/**
57 * @license
58 * Copyright Google LLC All Rights Reserved.
59 *
60 * Use of this source code is governed by an MIT-style license that can be
61 * found in the LICENSE file at https://angular.io/license
62 */const Y=D({__forward_ref__:D});function $(e){return e.__forward_ref__=$,e.toString=function(){return K(this())},e}function W(e){return Z(e)?e():e}function Z(e){return"function"==typeof e&&e.hasOwnProperty(Y)&&e.__forward_ref__===$}
63/**
64 * @license
65 * Copyright Google LLC All Rights Reserved.
66 *
67 * Use of this source code is governed by an MIT-style license that can be
68 * found in the LICENSE file at https://angular.io/license
69 */const J="undefined"!=typeof globalThis&&globalThis,Q="undefined"!=typeof window&&window,X="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,ee="undefined"!=typeof global&&global,te=J||ee||Q||X;
70/**
71 * @license
72 * Copyright Google LLC All Rights Reserved.
73 *
74 * Use of this source code is governed by an MIT-style license that can be
75 * found in the LICENSE file at https://angular.io/license
76 */var ne=function(e){return e[e.Token=0]="Token",e[e.Attribute=1]="Attribute",e[e.ChangeDetectorRef=2]="ChangeDetectorRef",e[e.Invalid=3]="Invalid",e}({});
77/**
78 * @license
79 * Copyright Google LLC All Rights Reserved.
80 *
81 * Use of this source code is governed by an MIT-style license that can be
82 * found in the LICENSE file at https://angular.io/license
83 */function re(){const e=te.ng;if(!e||!e.\u0275compilerFacade)throw new Error("Angular JIT compilation failed: '@angular/compiler' not loaded!\n  - JIT compilation is discouraged for production use-cases! Consider AOT mode instead.\n  - Did you bootstrap using '@angular/platform-browser-dynamic' or '@angular/platform-server'?\n  - Alternatively provide the compiler with 'import \"@angular/compiler\";' before bootstrapping.");return e.\u0275compilerFacade}
84/**
85 * @license
86 * Copyright Google LLC All Rights Reserved.
87 *
88 * Use of this source code is governed by an MIT-style license that can be
89 * found in the LICENSE file at https://angular.io/license
90 */const oe=D({\u0275cmp:D}),ie=D({\u0275dir:D}),ae=D({\u0275pipe:D}),se=D({\u0275mod:D}),ce=D({\u0275loc:D}),le=D({\u0275fac:D}),ue=D({__NG_ELEMENT_ID__:D});
91/**
92 * @license
93 * Copyright Google LLC All Rights Reserved.
94 *
95 * Use of this source code is governed by an MIT-style license that can be
96 * found in the LICENSE file at https://angular.io/license
97 */class de{constructor(e,t){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.\u0275prov=M({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}toString(){return"InjectionToken "+this._desc}}
98/**
99 * @license
100 * Copyright Google LLC All Rights Reserved.
101 *
102 * Use of this source code is governed by an MIT-style license that can be
103 * found in the LICENSE file at https://angular.io/license
104 */const he=new de("INJECTOR",-1),me={},pe=/\n/gm,fe=D({provide:String,useValue:D});let ge,ye=void 0;function ve(e){const t=ye;return ye=e,t}function be(e){const t=ge;return ge=e,t}function Ce(e,t=P.Default){if(void 0===ye)throw new Error("inject() must be called from an injection context");return null===ye?Ee(e,void 0,t):ye.get(e,t&P.Optional?null:void 0,t)}function we(e,t=P.Default){return(ge||Ce)(W(e),t)}function Se(e){throw new Error("invalid")}const _e=we;function Ee(e,t,n){const r=F(e);if(r&&"root"==r.providedIn)return void 0===r.value?r.value=r.factory():r.value;if(n&P.Optional)return null;if(void 0!==t)return t;throw new Error(`Injector: NOT_FOUND [${K(e)}]`)}function ke(e){const t=[];for(let n=0;n<e.length;n++){const r=W(e[n]);if(Array.isArray(r)){if(0===r.length)throw new Error("Arguments array must have arguments.");let e=void 0,n=P.Default;for(let t=0;t<r.length;t++){const o=r[t];o instanceof k||"Optional"===o.ngMetadataName||o===k?n|=P.Optional:o instanceof I||"SkipSelf"===o.ngMetadataName||o===I?n|=P.SkipSelf:o instanceof x||"Self"===o.ngMetadataName||o===x?n|=P.Self:e=o instanceof E||o===E?o.token:o}t.push(we(e,n))}else t.push(we(r))}return t}class xe{get(e,t=me){if(t===me){const t=new Error(`NullInjectorError: No provider for ${K(e)}!`);throw t.name="NullInjectorError",t}return t}}
105/**
106 * @license
107 * Copyright Google LLC All Rights Reserved.
108 *
109 * Use of this source code is governed by an MIT-style license that can be
110 * found in the LICENSE file at https://angular.io/license
111 */const Ie={\u0275\u0275defineInjectable:M,\u0275\u0275defineInjector:j,\u0275\u0275inject:we,\u0275\u0275getFactoryOf:function e(t){const n=t;if(Z(t))return()=>{const t=e(W(n));return t?t():null};const r=F(n)||V(n);return r&&void 0!==r.factory?r.factory:null}
112/**
113 * @license
114 * Copyright Google LLC All Rights Reserved.
115 *
116 * Use of this source code is governed by an MIT-style license that can be
117 * found in the LICENSE file at https://angular.io/license
118 */,\u0275\u0275invalidFactoryDep:Se};class Oe{}class Te{}
119/**
120 * @license
121 * Copyright Google LLC All Rights Reserved.
122 *
123 * Use of this source code is governed by an MIT-style license that can be
124 * found in the LICENSE file at https://angular.io/license
125 */function Ae(e,t){for(let n=0;n<e.length;n++)t.push(e[n])}function Pe(e,t){void 0===t&&(t=e);for(let n=0;n<e.length;n++){let r=e[n];Array.isArray(r)?(t===e&&(t=e.slice(0,n)),Pe(r,t)):t!==e&&t.push(r)}return t}
vendor: 1,420 bytes, lines 125-138
125function De(e,t){e.forEach(e=>Array.isArray(e)?De(e,t):t(e))}function Re(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Me(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Ne(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}function je(e,t,n){let r=Le(e,t);return r>=0?e[1|r]=n:(r=~r,function(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(1===o)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;)e[o]=e[o-2],o--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function Fe(e,t){const n=Le(e,t);if(n>=0)return e[1|n]}function Le(e,t){return function(e,t,n){let r=0,o=e.length>>1;for(;o!==r;){const n=r+(o-r>>1),i=e[n<<1];if(t===i)return n<<1;i>t?o=n:r=n+1}return~(o<<1)}
126/**
127 * @license
128 * Copyright Google LLC All Rights Reserved.
129 *
130 * Use of this source code is governed by an MIT-style license that can be
131 * found in the LICENSE file at https://angular.io/license
132 */(e,t)}var Ve=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}({}),Be=function(e){return e[e.CheckOnce=0]="CheckOnce",e[e.Checked=1]="Checked",e[e.CheckAlways=2]="CheckAlways",e[e.Detached=3]="Detached",e[e.Errored=4]="Errored",e[e.Destroyed=5]="Destroyed",e}({});function Ue(e){return null==e||e===Ve.Default}
133/**
134 * @license
135 * Copyright Google LLC All Rights Reserved.
136 *
137 * Use of this source code is governed by an MIT-style license that can be
138 * found in the LICENSE file at https://angular.io/license
139 */var He=function(e){return e[e.Emulated=0]="Emulated",e[e.Native=1]="Native",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}({});
140/**
141 * @license
142 * Copyright Google LLC All Rights Reserved.
143 *
144 * Use of this source code is governed by an MIT-style license that can be
145 * found in the LICENSE file at https://angular.io/license
146 */const Ge={},qe=[];
147/**
148 * @license
149 * Copyright Google LLC All Rights Reserved.
150 *
151 * Use of this source code is governed by an MIT-style license that can be
152 * found in the LICENSE file at https://angular.io/license
153 */let Ke=0;function ze(e){return f(()=>{const t={},n={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===Ve.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||qe,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||He.Emulated,id:"c",styles:e.styles||qe,_:null,setInput:null,schemas:e.schemas||null,tView:null},r=e.directives,o=e.features,i=e.pipes;return n.id+=Ke++,n.inputs=Xe(e.inputs,t),n.outputs=Xe(e.outputs),o&&o.forEach(e=>e(n)),n.directiveDefs=r?()=>("function"==typeof r?r():r).map($e):null,n.pipeDefs=i?()=>("function"==typeof i?i():i).map(We):null,n})}function Ye(e,t,n){const r=e.\u0275cmp;r.directiveDefs=()=>t.map($e),r.pipeDefs=()=>n.map(We)}function $e(e){return nt(e)||rt(e)}function We(e){return ot(e)}const Ze={};function Je(e){const t={type:e.type,bootstrap:e.bootstrap||qe,declarations:e.declarations||qe,imports:e.imports||qe,exports:e.exports||qe,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&f(()=>{Ze[e.id]=e.type}),t}function Qe(e,t){return f(()=>{const n=at(e,!0);n.declarations=t.declarations||qe,n.imports=t.imports||qe,n.exports=t.exports||qe})}function Xe(e,t){if(null==e)return Ge;const n={};for(const r in e)if(e.hasOwnProperty(r)){let o=e[r],i=o;Array.isArray(o)&&(i=o[1],o=o[0]),n[o]=r,t&&(t[o]=i)}return n}const et=ze;function tt(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function nt(e){return e[oe]||null}function rt(e){return e[ie]||null}function ot(e){return e[ae]||null}function it(e,t){return e.hasOwnProperty(le)?e[le]:null}function at(e,t){const n=e[se]||null;if(!n&&!0===t)throw new Error(`Type ${K(e)} does not have '\u0275mod' property.`);return n}
154/**
155 * @license
156 * Copyright Google LLC All Rights Reserved.
157 *
158 * Use of this source code is governed by an MIT-style license that can be
159 * found in the LICENSE file at https://angular.io/license
160 */function st(e){return Array.isArray(e)&&"object"==typeof e[1]}function ct(e){return Array.isArray(e)&&!0===e[1]}function lt(e){return 0!=(8&e.flags)}function ut(e){return 2==(2&e.flags)}function dt(e){return 1==(1&e.flags)}function ht(e){return null!==e.template}function mt(e){return 0!=(512&e[2])}
161/**
162 * @license
163 * Copyright Google LLC All Rights Reserved.
164 *
165 * Use of this source code is governed by an MIT-style license that can be
166 * found in the LICENSE file at https://angular.io/license
167 */
168/**
169 * @license
170 * Copyright Google LLC All Rights Reserved.
171 *
172 * Use of this source code is governed by an MIT-style license that can be
173 * found in the LICENSE file at https://angular.io/license
174 */function pt(e){return"string"==typeof e?e:null==e?"":""+e}function ft(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():pt(e)}const gt=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(te))();function yt(e){return{name:"window",target:e.ownerDocument.defaultView}}function vt(e){return{name:"document",target:e.ownerDocument}}function bt(e){return{name:"body",target:e.ownerDocument.body}}function Ct(e){return e instanceof Function?e():e}function wt(e,t){const n=t?" in "+t:"";throw new Error(`No provider for ${ft(e)} found${n}`)}
175/**
176 * @license
177 * Copyright Google LLC All Rights Reserved.
178 *
179 * Use of this source code is governed by an MIT-style license that can be
180 * found in the LICENSE file at https://angular.io/license
181 */class St{constructor(e,t,n){this.previousValue=e,this.currentValue=t,this.firstChange=n}isFirstChange(){return this.firstChange}}
182/**
183 * @license
184 * Copyright Google LLC All Rights Reserved.
185 *
186 * Use of this source code is governed by an MIT-style license that can be
187 * found in the LICENSE file at https://angular.io/license
188 */function _t(){return Et}function Et(e){return e.type.prototype.ngOnChanges&&(e.setInput=xt),kt}function kt(){const e=It(this),t=null==e?void 0:e.current;if(t){const n=e.previous;if(n===Ge)e.previous=t;else for(let e in t)n[e]=t[e];e.current=null,this.ngOnChanges(t)}}function xt(e,t,n,r){const o=It(e)||function(e,t){return e.__ngSimpleChanges__=t}
189/**
190 * @license
191 * Copyright Google LLC All Rights Reserved.
192 *
193 * Use of this source code is governed by an MIT-style license that can be
194 * found in the LICENSE file at https://angular.io/license
195 */(e,{previous:Ge,current:null}),i=o.current||(o.current={}),a=o.previous,s=this.declaredInputs[n],c=a[s];i[s]=new St(c&&c.currentValue,t,a===Ge),e[r]=t}function It(e){return e.__ngSimpleChanges__||null}_t.ngInherit=!0;
196/**
197 * @license
198 * Copyright Google LLC All Rights Reserved.
199 *
200 * Use of this source code is governed by an MIT-style license that can be
201 * found in the LICENSE file at https://angular.io/license
202 */let Ot=void 0;function Tt(e){Ot=e}function At(){return void 0!==Ot?Ot:"undefined"!=typeof document?document:void 0}
203/**
204 * @license
205 * Copyright Google LLC All Rights Reserved.
206 *
207 * Use of this source code is governed by an MIT-style license that can be
208 * found in the LICENSE file at https://angular.io/license
209 */function Pt(e){return!!e.listen}const Dt={createRenderer:(e,t)=>At()};
210/**
211 * @license
212 * Copyright Google LLC All Rights Reserved.
213 *
214 * Use of this source code is governed by an MIT-style license that can be
215 * found in the LICENSE file at https://angular.io/license
216 */function Rt(e){for(;Array.isArray(e);)e=e[0];return e}function Mt(e,t){return Rt(t[e+20])}function Nt(e,t){return Rt(t[e.index])}function jt(e,t){return e.data[t+20]}function Ft(e,t){return e[t+20]}function Lt(e,t){const n=t[e];return st(n)?n:n[0]}function Vt(e){return e.__ngContext__||null}function Bt(e){const t=Vt(e);return t?Array.isArray(t)?t:t.lView:null}function Ut(e){return 4==(4&e[2])}function Ht(e){return 128==(128&e[2])}function Gt(e,t){return null===e||null==t?null:e[t]}function qt(e){e[18]=0}function Kt(e,t){e[5]+=t;let n=e,r=e[3];for(;null!==r&&(1===t&&1===n[5]||-1===t&&0===n[5]);)r[5]+=t,n=r,r=r[3]}
217/**
218 * @license
219 * Copyright Google LLC All Rights Reserved.
220 *
221 * Use of this source code is governed by an MIT-style license that can be
222 * found in the LICENSE file at https://angular.io/license
223 */const zt={lFrame:bn(null),bindingsEnabled:!0,isInCheckNoChangesMo
223de:!1};function Yt(){return zt.bindingsEnabled}function $t(){zt.bindingsEnabled=!0}function Wt(){zt.bindingsEnabled=!1}function Zt(){return zt.lFrame.lView}function Jt(){return zt.lFrame.tView}function Qt(e){zt.lFrame.contextLView=e}function Xt(){return zt.lFrame.currentTNode}function en(e,t){zt.lFrame.currentTNode=e,zt.lFrame.isParent=t}function tn(){return zt.lFrame.isParent}function nn(){zt.lFrame.isParent=!1}function rn(){return zt.isInCheckNoChangesMode}function on(e){zt.isInCheckNoChangesMode=e}function an(){const e=zt.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function sn(){return zt.lFrame.bindingIndex}function cn(e){return zt.lFrame.bindingIndex=e}function ln(){return zt.lFrame.bindingIndex++}function un(e){const t=zt.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function dn(e,t){const n=zt.lFrame;n.bindingIndex=n.bindingRootIndex=e,hn(t)}function hn(e){zt.lFrame.currentDirectiveIndex=e}function mn(e){const t=zt.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function pn(){return zt.lFrame.currentQueryIndex}function fn(e){zt.lFrame.currentQueryIndex=e}function gn(e,t){const n=vn();zt.lFrame=n,n.currentTNode=t,n.lView=e}function yn(e){const t=vn(),n=e[1];zt.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex}function vn(){const e=zt.lFrame,t=null===e?null:e.child;return null===t?bn(e):t}function bn(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:0,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null};return null!==e&&(e.child=t),t}function Cn(){const e=zt.lFrame;return zt.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const wn=Cn;function Sn(){const e=Cn();e.isParent=!0,e.tView=null,e.selectedIndex=0,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function _n(e){return(zt.lFrame.contextLView=function(e,t){for(;e>0;)t=t[15],e--;return t}(e,zt.lFrame.contextLView))[8]}function En(){return zt.lFrame.selectedIndex}function kn(e){zt.lFrame.selectedIndex=e}function xn(){const e=zt.lFrame;return jt(e.tView,e.selectedIndex)}function In(){zt.lFrame.currentNamespace="http://www.w3.org/2000/svg"}function On(){zt.lFrame.currentNamespace="http://www.w3.org/1998/MathML/"}function Tn(){zt.lFrame.currentNamespace=null}function An(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const t=e.data[n].type.prototype,{ngAfterContentInit:r,ngAfterContentChecked:o,ngAfterViewInit:i,ngAfterViewChecked:a,ngOnDestroy:s}=t;r&&(e.contentHooks||(e.contentHooks=[])).push(-n,r),o&&((e.contentHooks||(e.contentHooks=[])).push(n,o),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,o)),i&&(e.viewHooks||(e.viewHooks=[])).push(-n,i),a&&((e.viewHooks||(e.viewHooks=[])).push(n,a),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,a)),null!=s&&(e.destroyHooks||(e.destroyHooks=[])).push(n,s)}}function Pn(e,t,n){Mn(e,t,3,n)}function Dn(e,t,n,r){(3&e[2])===n&&Mn(e,t,n,r)}function Rn(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function Mn(e,t,n,r){const o=null!=r?r:-1;let i=0;for(let a=void 0!==r?65535&e[18]:0;a<t.length;a++)if("number"==typeof t[a+1]){if(i=t[a],null!=r&&i>=r)break}else t[a]<0&&(e[18]+=65536),(i<o||-1==o)&&(Nn(e,n,t,a),e[18]=(4294901760&e[18])+a+2),a++}function Nn(e,t,n,r){const o=n[r]<0,i=n[r+1],a=e[o?-n[r]:n[r]];o?e[2]>>11<e[18]>>16&&(3&e[2])===t&&(e[2]+=2048,i.call(a)):i.call(a)}
224/**
225 * @license
226 * Copyright Google LLC All Rights Reserved.
227 *
228 * Use of this source code is governed by an MIT-style license that can be
229 * found in the LICENSE file at https://angular.io/license
230 */class jn{constructor(e,t,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=n}}function Fn(e,t,n){const r=Pt(e);let o=0;for(;o<n.length;){const i=n[o];if("number"==typeof i){if(0!==i)break;o++;const a=n[o++],s=n[o++],c=n[o++];r?e.setAttribute(t,s,c,a):t.setAttributeNS(a,s,c)}else{const a=i,s=n[++o];Vn(a)?r&&e.setProperty(t,a,s):r?e.setAttribute(t,a,s):t.setAttribute(a,s),o++}}return o}function Ln(e){return 3===e||4===e||6===e}function Vn(e){return 64===e.charCodeAt(0)}function Bn(e,t){if(null===t||0===t.length);else if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){const o=t[r];"number"==typeof o?n=o:0===n||Un(e,n,o,null,-1===n||2===n?t[++r]:null)}}return e}function Un(e,t,n,r,o){let i=0,a=e.length;if(-1===t)a=-1;else for(;i<e.length;){const n=e[i++];if("number"==typeof n){if(n===t){a=-1;break}if(n>t){a=i-1;break}}}for(;i<e.length;){const t=e[i];if("number"==typeof t)break;if(t===n){if(null===r)return void(null!==o&&(e[i+1]=o));if(r===e[i+1])return void(e[i+2]=o)}i++,null!==r&&i++,null!==o&&i++}
230-1!==a&&(e.splice(a,0,t),i=a+1),e.splice(i++,0,n),null!==r&&e.splice(i++,0,r),null!==o&&e.splice(i++,0,o)}
231/**
232 * @license
233 * Copyright Google LLC All Rights Reserved.
234 *
235 * Use of this source code is governed by an MIT-style license that can be
236 * found in the LICENSE file at https://angular.io/license
237 */function Hn(e){return-1!==e}function Gn(e){return 32767&e}function qn(e,t){let n=e>>16,r=t;for(;n>0;)r=r[15],n--;return r}
238/**
239 * @license
240 * Copyright Google LLC All Rights Reserved.
241 *
242 * Use of this source code is governed by an MIT-style license that can be
243 * found in the LICENSE file at https://angular.io/license
244 */let Kn=!0;function zn(e){const t=Kn;return Kn=e,t}let Yn=0;function $n(e,t){const n=Zn(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,Wn(r.data,e),Wn(t,null),Wn(r.blueprint,null));const o=Jn(e,t),i=e.injectorIndex;if(Hn(o)){const e=Gn(o),n=qn(o,t),r=n[1].data;for(let o=0;o<8;o++)t[i+o]=n[e+o]|r[e+o]}return t[i+8]=o,i}function Wn(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Zn(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Jn(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;null!==o;){const e=o[1],t=e.type;if(r=2===t?e.declTNode:1===t?o[6]:null,null===r)return-1;if(n++,o=o[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function Qn(e,t,n){!function(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(ue)&&(r=n[ue]),null==r&&(r=n[ue]=Yn++);const o=255&r,i=1<<o,a=64&o,s=32&o,c=t.data;128&o?a?s?c[e+7]|=i:c[e+6]|=i:s?c[e+5]|=i:c[e+4]|=i:a?s?c[e+3]|=i:c[e+2]|=i:s?c[e+1]|=i:c[e]|=i}(e,t,n)}function Xn(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const e=n.length;let r=0;for(;r<e;){const o=n[r];if(Ln(o))break;if(0===o)r+=2;else if("number"==typeof o)for(r++;r<e&&"string"==typeof n[r];)r++;else{if(o===t)return n[r+1];r+=2}}}return null}function er(e,t,n,r=P.Default,o){if(null!==e){const o=function(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(ue)?e[ue]:void 0;return"number"==typeof t&&t>0?255&t:t}(n);if("function"==typeof o){gn(t,e);try{const e=o();if(null!=e||r&P.Optional)return e;wt(n)}finally{wn()}}else if("number"==typeof o){if(-1===o)return new sr(e,t);let i=null,a=Zn(e,t),s=-1,c=r&P.Host?t[16][6]:null;for((-1===a||r&P.SkipSelf)&&(s=-1===a?Jn(e,t):t[a+8],-1!==s&&ar(r,!1)?(i=t[1],a=Gn(s),t=qn(s,t)):a=-1);-1!==a;){const e=t[1];if(ir(o,a,e.data)){const e=nr(a,t,n,i,r,c);if(e!==tr)return e}s=t[a+8],-1!==s&&ar(r,t[1].data[a+8]===c)&&ir(o,a,t)?(i=e,a=Gn(s),t=qn(s,t)):a=-1}}}if(r&P.Optional&&void 0===o&&(o=null),0==(r&(P.Self|P.Host))){const e=t[9],i=be(void 0);try{return e?e.get(n,o,r&P.Optional):Ee(n,o,r&P.Optional)}finally{be(i)}}if(r&P.Optional)return o;wt(n,"NodeInjector")}const tr={};function nr(e,t,n,r,o,i){const a=t[1],s=a.data[e+8],c=rr(s,a,n,null==r?ut(s)&&Kn:r!=a&&2===s.type,o&P.Host&&i===s);return null!==c?or(t,a,c,s):tr}function rr(e,t,n,r,o){const i=e.providerIndexes,a=t.data,s=1048575&i,c=e.directiveStart,l=i>>20,u=o?s+l:e.directiveEnd;for(let d=r?s:s+l;d<u;d++){const e=a[d];if(d<c&&n===e||d>=c&&e.type===n)return d}if(o){const e=a[c];if(e&&ht(e)&&e.type===n)return c}return null}function or(e,t,n,r){let o=e[n];const i=t.data;if(o instanceof jn){const a=o;a.resolving&&function(e,t){throw new Error("Circular dependency in DI detected for "+e)}(ft(i[n]));const s=zn(a.canSeeViewProviders);a.resolving=!0;const c=a.injectImpl?be(a.injectImpl):null;gn(e,r);try{o=e[n]=a.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&
245/**
246 * @license
247 * Copyright Google LLC All Rights Reserved.
248 *
249 * Use of this source code is governed by an MIT-style license that can be
250 * found in the LICENSE file at https://angular.io/license
251 */
252function(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){const r=Et(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,r),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,r)}o&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,o),i&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,i))}(n,i[n],t)}finally{null!==c&&be(c),zn(s),a.resolving=!1,wn()}}return o}function ir(e,t,n){const r=64&e,o=32&e;let i;return i=128&e?r?o?n[t+7]:n[t+6]:o?n[t+5]:n[t+4]:r?o?n[t+3]:n[t+2]:o?n[t+1]:n[t],!!(i&1<<e)}function ar(e,t){return!(e&P.Self||e&P.Host&&t)}class sr{constructor(e,t){this._tNode=e,this._lView=t}get(e,t){return er(this._tNode,this._lView,e,void 0,t)}}function cr(e){const t=e;if(Z(e))return()=>{const e=cr(W(t));return e?e():null};let n=it(t);if(null===n){const e=V(t);n=e&&e.factory}return n||null}function lr(e){return f(()=>{const t=e.prototype.constructor,n=t[le]||cr(t),r=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){const e=o[le]||cr(o);if(e&&e!==n)return e;
252o=Object.getPrototypeOf(o)}return e=>new e})}
253/**
254 * @license
255 * Copyright Google LLC All Rights Reserved.
256 *
257 * Use of this source code is governed by an MIT-style license that can be
258 * found in the LICENSE file at https://angular.io/license
259 */function ur(e){return e.ngDebugContext}function dr(e){return e.ngOriginalError}function hr(e,...t){e.error(...t)}
260/**
261 * @license
262 * Copyright Google LLC All Rights Reserved.
263 *
264 * Use of this source code is governed by an MIT-style license that can be
265 * found in the LICENSE file at https://angular.io/license
266 */class mr{constructor(){this._console=console}handleError(e){const t=this._findOriginalError(e),n=this._findContext(e),r=function(e){return e.ngErrorLogger||hr}(e);r(this._console,"ERROR",e),t&&r(this._console,"ORIGINAL ERROR",t),n&&r(this._console,"ERROR CONTEXT",n)}_findContext(e){return e?ur(e)?ur(e):this._findContext(dr(e)):null}_findOriginalError(e){let t=dr(e);for(;t&&dr(t);)t=dr(t);return t}}
267/**
268 * @license
269 * Copyright Google LLC All Rights Reserved.
270 *
271 * Use of this source code is governed by an MIT-style license that can be
272 * found in the LICENSE file at https://angular.io/license
273 */const pr={name:"custom-elements"},fr={name:"no-errors-schema"};
274/**
275 * @license
276 * Copyright Google LLC All Rights Reserved.
277 *
278 * Use of this source code is governed by an MIT-style license that can be
279 * found in the LICENSE file at https://angular.io/license
280 */class gr{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"}}class yr extends gr{getTypeName(){return"HTML"}}class vr extends gr{getTypeName(){return"Style"}}class br extends gr{getTypeName(){return"Script"}}class Cr extends gr{getTypeName(){return"URL"}}class wr extends gr{getTypeName(){return"ResourceURL"}}function Sr(e){return e instanceof gr?e.changingThisBreaksApplicationSecurity:e}function _r(e,t){const n=Er(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see http://g.co/ng/security#xss)`)}return n===t}function Er(e){return e instanceof gr&&e.getTypeName()||null}function kr(e){return new yr(e)}function xr(e){return new vr(e)}function Ir(e){return new br(e)}function Or(e){return new Cr(e)}function Tr(e){return new wr(e)}
281/**
282 * @license
283 * Copyright Google LLC All Rights Reserved.
284 *
285 * Use of this source code is governed by an MIT-style license that can be
286 * found in the LICENSE file at https://angular.io/license
287 */let Ar=!0,Pr=!1;function Dr(){return Pr=!0,Ar}function Rr(){if(Pr)throw new Error("Cannot enable prod mode after platform setup.");Ar=!1}
288/**
289 * @license
290 * Copyright Google LLC All Rights Reserved.
291 *
292 * Use of this source code is governed by an MIT-style license that can be
293 * found in the LICENSE file at https://angular.io/license
294 */function Mr(e){return function(){try{return!!(new window.DOMParser).parseFromString("","text/html")}catch(e){return!1}}
295/**
296 * @license
297 * Copyright Google LLC All Rights Reserved.
298 *
299 * Use of this source code is governed by an MIT-style license that can be
300 * found in the LICENSE file at https://angular.io/license
301 */()?new Nr:new jr(e)}class Nr{getInertBodyElement(e){e="<body><remove></remove>"+e;try{const t=(new window.DOMParser).parseFromString(e,"text/html").body;return t.removeChild(t.firstChild),t}catch(t){return null}}}class jr{constructor(e){if(this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const e=this.inertDocument.createElement("html");this.inertDocument.appendChild(e);const t=this.inertDocument.createElement("body");e.appendChild(t)}}getInertBodyElement(e){const t=this.inertDocument.createElement("template");if("content"in t)return t.innerHTML=e,t;const n=this.inertDocument.createElement("body");return n.innerHTML=e,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n}stripCustomNsAttrs(e){const t=e.attributes;for(let r=t.length-1;0<r;r--){const n=t.item(r).name;"xmlns:ns1"!==n&&0!==n.indexOf("ns1:")||e.removeAttribute(n)}let n=e.firstChild;for(;n;)n.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(n),n=n.nextSibling}}const Fr=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,Lr=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function Vr(e){return(e=String(e)).match(Fr)||e.match(Lr)?e:(Dr()&&console.warn(`WARNING: sanitizing unsafe URL value ${e} (see http://g.co/ng/security#xss)`),"unsafe:"+e)}function Br(e){return(e=String(e)).split(",").map(e=>
301Vr(e.trim())).join(", ")}
302/**
303 * @license
304 * Copyright Google LLC All Rights Reserved.
305 *
306 * Use of this source code is governed by an MIT-style license that can be
307 * found in the LICENSE file at https://angular.io/license
308 */function Ur(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function Hr(...e){const t={};for(const n of e)for(const e in n)n.hasOwnProperty(e)&&(t[e]=!0);return t}const Gr=Ur("area,br,col,hr,img,wbr"),qr=Ur("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Kr=Ur("rp,rt"),zr=Hr(Kr,qr),Yr=Hr(Gr,Hr(qr,Ur("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Hr(Kr,Ur("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),zr),$r=Ur("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Wr=Ur("srcset"),Zr=Hr($r,Wr,Ur("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Ur("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),Jr=Ur("script,style,template");class Qr{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(e){let t=e.firstChild,n=!0;for(;t;)if(t.nodeType===Node.ELEMENT_NODE?n=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,n&&t.firstChild)t=t.firstChild;else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let e=this.checkClobberedElement(t,t.nextSibling);if(e){t=e;break}t=this.checkClobberedElement(t,t.parentNode)}return this.buf.join("")}startElement(e){const t=e.nodeName.toLowerCase();if(!Yr.hasOwnProperty(t))return this.sanitizedSomething=!0,!Jr.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const n=e.attributes;for(let r=0;r<n.length;r++){const e=n.item(r),t=e.name,o=t.toLowerCase();if(!Zr.hasOwnProperty(o)){this.sanitizedSomething=!0;continue}let i=e.value;$r[o]&&(i=Vr(i)),Wr[o]&&(i=Br(i)),this.buf.push(" ",t,'="',to(i),'"')}return this.buf.push(">"),!0}endElement(e){const t=e.nodeName.toLowerCase();Yr.hasOwnProperty(t)&&!Gr.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(e){this.buf.push(to(e))}checkClobberedElement(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}}const Xr=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,eo=/([^\#-~ |!])/g;function to(e){return e.replace(/&/g,"&amp;").replace(Xr,(function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"})).replace(eo,(function(e){return"&#"+e.charCodeAt(0)+";"})).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let no;function ro(e,t){let n=null;try{no=no||Mr(e);let r=t?String(t):"";n=no.getInertBodyElement(r);let o=5,i=r;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=no.getInertBodyElement(r)}while(r!==i);const a=new Qr,s=a.sanitizeChildren(oo(n)||n);return Dr()&&a.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),s}finally{if(n){const e=oo(n)||n;for(;e.firstChild;)e.removeChild(e.firstChild)}}}
308function oo(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}
309/**
310 * @license
311 * Copyright Google LLC All Rights Reserved.
312 *
313 * Use of this source code is governed by an MIT-style license that can be
314 * found in the LICENSE file at https://angular.io/license
315 */(e)?e.content:null}var io=function(e){return 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",e}({});
316/**
317 * @license
318 * Copyright Google LLC All Rights Reserved.
319 *
320 * Use of this source code is governed by an MIT-style license that can be
321 * found in the LICENSE file at https://angular.io/license
322 */function ao(e){const t=po();return t?t.sanitize(io.HTML,e)||"":_r(e,"HTML")?Sr(e):ro(At(),pt(e))}function so(e){const t=po();return t?t.sanitize(io.STYLE,e)||"":_r(e,"Style")?Sr(e):pt(e)}function co(e){const t=po();return t?t.sanitize(io.URL,e)||"":_r(e,"URL")?Sr(e):Vr(pt(e))}function lo(e){const t=po();if(t)return t.sanitize(io.RESOURCE_URL,e)||"";if(_r(e,"ResourceURL"))return Sr(e);throw new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)")}function uo(e){const t=po();if(t)return t.sanitize(io.SCRIPT,e)||"";if(_r(e,"Script"))return Sr(e);throw new Error("unsafe value used in a script context")}function ho(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?lo:co}function mo(e,t,n){return ho(t,n)(e)}function po(){const e=Zt();return e&&e[12]}
323/**
324 * @license
325 * Copyright Google LLC All Rights Reserved.
326 *
327 * Use of this source code is governed by an MIT-style license that can be
328 * found in the LICENSE file at https://angular.io/license
329 */const fo=/^>|^->|<!--|-->|--!>|<!-$/g,go=/(<|>)/;function yo(e){return e.replace(fo,e=>e.replace(go,"\u200b$1\u200b"))}
330/**
331 * @license
332 * Copyright Google LLC All Rights Reserved.
333 *
334 * Use of this source code is governed by an MIT-style license that can be
335 * found in the LICENSE file at https://angular.io/license
336 */const vo=/([A-Z])/g;function bo(e){try{return null!=e?e.toString().slice(0,30):e}catch(t){return"[ERROR] Exception while trying to serialize the value"}}
337/**
338 * @license
339 * Copyright Google LLC All Rights Reserved.
340 *
341 * Use of this source code is governed by an MIT-style license that can be
342 * found in the LICENSE file at https://angular.io/license
343 */function Co(e){let t=Vt(e);if(t){if(Array.isArray(t)){const r=t;let o,i=void 0,a=void 0;if((n=e)&&n.constructor&&n.constructor.\u0275cmp){if(o=xo(r,e),-1==o)throw new Error("The provided component was not found in the application");i=e}else if(function(e){return e&&e.constructor&&e.constructor.\u0275dir}(e)){if(o=function(e,t){let n=e[1].firstChild;for(;n;){const r=n.directiveEnd;for(let o=n.directiveStart;o<r;o++)if(e[o]===t)return n.index;n=ko(n)}return-1}(r,e),-1==o)throw new Error("The provided directive was not found in the application");a=Io(o,r,!1)}else if(o=Eo(r,e),-1==o)return null;const s=Rt(r[o]),c=Vt(s),l=c&&!Array.isArray(c)?c:wo(r,o,s);if(i&&void 0===l.component&&(l.component=i,_o(l.component,l)),a&&void 0===l.directives){l.directives=a;for(let e=0;e<a.length;e++)_o(a[e],l)}_o(l.native,l),t=l}}else{const n=e;let r=n;for(;r=r.parentNode;){const e=Vt(r);if(e){let r;if(r=Array.isArray(e)?e:e.lView,!r)return null;const o=Eo(r,n);if(o>=0){const e=Rt(r[o]),n=wo(r,o,e);_o(e,n),t=n;break}}}}var n;return t||null}function wo(e,t,n){return{lView:e,nodeIndex:t,native:n,component:void 0,directives:void 0,localRefs:void 0}}function So(e){let t,n=Vt(e);if(Array.isArray(n)){const r=xo(n,e);t=Lt(r,n);const o=wo(n,r,t[0]);o.component=e,_o(e,o),_o(o.native,o)}else t=Lt(n.nodeIndex,n.lView);return t}function _o(e,t){e.__ngContext__=t}function Eo(e,t){const n=e[1];for(let r=20;r<n.bindingStartIndex;r++)if(Rt(e[r])===t)return r;return-1}function ko(e){if(e.child&&e.child.parent===e)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 xo(e,t){const n=e[1].components;if(n)for(let r=0;r<n.length;r++){const o=n[r];if(Lt(o,e)[8]===t)return o}else if(Lt(20,e)[8]===t)return 20;return-1}
vendor: 2,030 bytes, lines 343-357
343function Io(e,t,n){const r=t[1].data[e];let o=r.directiveStart;return 0==o?qe:(!n&&2&r.flags&&o++,t.slice(o,r.directiveEnd))}
344/**
345 * @license
346 * Copyright Google LLC All Rights Reserved.
347 *
348 * Use of this source code is governed by an MIT-style license that can be
349 * found in the LICENSE file at https://angular.io/license
350 */function Oo(e,t,n){let r=e.length;for(;;){const o=e.indexOf(t,n);if(-1===o)return o;if(0===o||e.charCodeAt(o-1)<=32){const n=t.length;if(o+n===r||e.charCodeAt(o+n)<=32)return o}n=o+1}}
351/**
352 * @license
353 * Copyright Google LLC All Rights Reserved.
354 *
355 * Use of this source code is governed by an MIT-style license that can be
356 * found in the LICENSE file at https://angular.io/license
357 */function To(e,t,n){let r=0;for(;r<e.length;){let o=e[r++];if(n&&"class"===o){if(o=e[r],-1!==Oo(o.toLowerCase(),t,0))return!0}else if(1===o){for(;r<e.length&&"string"==typeof(o=e[r++]);)if(o.toLowerCase()===t)return!0;return!1}}return!1}function Ao(e){return 0===e.type&&"ng-template"!==e.tagName}function Po(e,t,n){return t===(0!==e.type||n?e.tagName:"ng-template")}function Do(e,t,n){let r=4;const o=e.attrs||[],i=function(e){for(let t=0;t<e.length;t++)if(Ln(e[t]))return t;return e.length}(o);let a=!1;for(let s=0;s<t.length;s++){const c=t[s];if("number"!=typeof c){if(!a)if(4&r){if(r=2|1&r,""!==c&&!Po(e,c,n)||""===c&&1===t.length){if(Ro(r))return!1;a=!0}}else{const l=8&r?c:t[++s];if(8&r&&null!==e.attrs){if(!To(e.attrs,l,n)){if(Ro(r))return!1;a=!0}continue}const u=Mo(8&r?"class":c,o,Ao(e),n);if(-1===u){if(Ro(r))return!1;a=!0;continue}if(""!==l){let e;e=u>i?"":o[u+1].toLowerCase();const t=8&r?e:null;if(t&&-1!==Oo(t,l,0)||2&r&&l!==e){if(Ro(r))return!1;a=!0}}}}else{if(!a&&!Ro(r)&&!Ro(c))return!1;if(a&&Ro(c))continue;a=!1,r=c|1&r}}return Ro(r)||a}function Ro(e){return 0==(1&e)}function Mo(e,t,n,r){if(null===t)return-1;let o=0;if(r||!n){let n=!1;for(;o<t.length;){const r=t[o];if(r===e)return o;if(3===r||6===r)n=!0;else{if(1===r||2===r){let e=t[++o];for(;"string"==typeof e;)e=t[++o];continue}if(4===r)break;
357if(0===r){o+=4;continue}}o+=n?1:2}return-1}return function(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function No(e,t,n=!1){for(let r=0;r<t.length;r++)if(Do(e,t[r],n))return!0;return!1}function jo(e,t){e:for(let n=0;n<t.length;n++){const r=t[n];if(e.length===r.length){for(let t=0;t<e.length;t++)if(e[t]!==r[t])continue e;return!0}}return!1}function Fo(e,t){return e?":not("+t.trim()+")":t}function Lo(e){let t=e[0],n=1,r=2,o="",i=!1;for(;n<e.length;){let a=e[n];if("string"==typeof a)if(2&r){const t=e[++n];o+="["+a+(t.length>0?'="'+t+'"':"")+"]"}else 8&r?o+="."+a:4&r&&(o+=" "+a);else""===o||Ro(a)||(t+=Fo(i,o),o=""),r=a,i=i||!Ro(r);n++}return""!==o&&(t+=Fo(i,o)),t}
358/**
359 * @license
360 * Copyright Google LLC All Rights Reserved.
361 *
362 * Use of this source code is governed by an MIT-style license that can be
363 * found in the LICENSE file at https://angular.io/license
364 */const Vo={};
365/**
366 * @license
367 * Copyright Google LLC All Rights Reserved.
368 *
369 * Use of this source code is governed by an MIT-style license that can be
370 * found in the LICENSE file at https://angular.io/license
371 */function Bo(e){const t=e[3];return ct(t)?t[3]:t}function Uo(e){return function(e){let t=st(e)?e:Bt(e);for(;t&&!(512&t[2]);)t=Bo(t);return t}(e)[8]}function Ho(e){return qo(e[13])}function Go(e){return qo(e[4])}function qo(e){for(;null!==e&&!ct(e);)e=e[4];return e}
372/**
373 * @license
374 * Copyright Google LLC All Rights Reserved.
375 *
376 * Use of this source code is governed by an MIT-style license that can be
377 * found in the LICENSE file at https://angular.io/license
378 */function Ko(e){zo(Jt(),Zt(),En()+e,rn())}function zo(e,t,n,r){if(!r)if(3==(3&t[2])){const r=e.preOrderCheckHooks;null!==r&&Pn(t,r,n)}else{const r=e.preOrderHooks;null!==r&&Dn(t,r,0,n)}kn(n)}
379/**
380 * @license
381 * Copyright Google LLC All Rights Reserved.
382 *
383 * Use of this source code is governed by an MIT-style license that can be
384 * found in the LICENSE file at https://angular.io/license
385 */function Yo(e,t){return e<<17|t<<2}function $o(e){return e>>17&32767}function Wo(e){return 2|e}function Zo(e){return(131068&e)>>2}function Jo(e,t){return-131069&e|t<<2}function Qo(e){return 1|e}const Xo=(()=>Promise.resolve(null))();function ei(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const o=n[r],i=n[r+1];if(-1!==i){const n=e.data[i];fn(o),n.contentQueries(2,t[i],i)}}}function ti(e,t,n){return Pt(t)?t.createElement(e,n):null===n?t.createElement(e):t.createElementNS(n,e)}function ni(e,t,n,r,o,i,a,s,c,l){const u=t.blueprint.slice();return u[0]=o,u[2]=140|r,qt(u),u[3]=u[15]=e,u[8]=n,u[10]=a||e&&e[10],u[11]=s||e&&e[11],u[12]=c||e&&e[12]||null,u[9]=l||e&&e[9]||null,u[6]=i,u[16]=2==t.type?e[16]:u,u}function ri(e,t,n,r,o){const i=t+20,a=e.data[i]||function(e,t,n,r,o){const i=Xt(),a=tn(),s=e.data[t]=function(e,t,n,r,o,i){return{type:n,index:r,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,tagName:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,a?i:i&&i.parent,n,t,r,o);return null===e.firstChild&&(e.firstChild=s),null!==i&&(a&&null==i.child&&null!==s.parent?i.child=s:a||(i.next=s)),s}(e,i,n,r,o);return en(a,!0),a}function oi(e,t,n){yn(t);try{const r=e.viewQuery;null!==r&&Li(1,r,n);const o=e.template;null!==o&&si(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&ei(e,t),e.staticViewQueries&&Li(2,e.viewQuery,n);const i=e.components;null!==i&&function(e,t){for(let n=0;n<t.length;n++)Di(e,t[n])}(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0),r}finally{t[2]&=-5,Sn()}}function ii(e,t,n,r){const o=t[2];if(256==(256&o))return;yn(t);const i=rn();try{qt(t),cn(e.bindingStartIndex),null!==n&&si(e,t,n,2,r);const a=3==(3&o);if(!i)if(a){const n=e.preOrderCheckHooks;null!==n&&Pn(t,n,null)}else{const n=e.preOrderHooks;null!==n&&Dn(t,n,0,null),Rn(t,0)}if(function(e){for(let t=Ho(e);null!==t;t=Go(t)){if(!t[2])continue;const e=t[9];for(let t=0;t<e.length;t++){const n=e[t],r=n[3];0==(1024&n[2])&&Kt(r,1),n[2]|=1024}}}(t),function(e){for(let t=Ho(e);null!==t;t=Go(t))for(let e=10;e<t.length;e++){const n=t[e],r=n[1];Ht(n)&&ii(r,n,r.template,n[8])}}
385(t),null!==e.contentQueries&&ei(e,t),!i)if(a){const n=e.contentCheckHooks;null!==n&&Pn(t,n)}else{const n=e.contentHooks;null!==n&&Dn(t,n,1),Rn(t,1)}!function(e,t){try{const n=e.expandoInstructions;if(null!==n){let r=e.expandoStartIndex,o=-1,i=-1;for(let e=0;e<n.length;e++){const a=n[e];"number"==typeof a?a<=0?(i=0-a,kn(i),r+=9+n[++e],o=r):r+=a:(null!==a&&(dn(r,o),a(2,t[o])),o++)}}}finally{kn(-1)}}(e,t);const s=e.components;null!==s&&function(e,t){for(let n=0;n<t.length;n++)Pi(e,t[n])}(t,s);const c=e.viewQuery;if(null!==c&&Li(2,c,r),!i)if(a){const n=e.viewCheckHooks;null!==n&&Pn(t,n)}else{const n=e.viewHooks;null!==n&&Dn(t,n,2),Rn(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),i||(t[2]&=-73),1024&t[2]&&(t[2]&=-1025,Kt(t[3],-1))}finally{Sn()}}function ai(e,t,n,r){const o=t[10],i=!rn(),a=Ut(t);try{i&&!a&&o.begin&&o.begin(),a&&oi(e,t,r),ii(e,t,n,r)}finally{i&&!a&&o.end&&o.end()}}function si(e,t,n,r,o){const i=En();try{kn(-1),2&r&&t.length>20&&zo(e,t,0,rn()),n(r,o)}finally{kn(i)}}function ci(e,t,n){if(lt(t)){const r=t.directiveEnd;for(let o=t.directiveStart;o<r;o++){const t=e.data[o];t.contentQueries&&t.contentQueries(1,n[o],o)}}}function li(e,t,n){Yt()&&(function(e,t,n,r){const o=n.directiveStart,i=n.directiveEnd;e.firstCreatePass||$n(n,t),_o(r,t);const a=n.initialInputs;for(let s=o;s<i;s++){const r=e.data[s],i=ht(r);i&&xi(t,n,r);const c=or(t,e,s,n);_o(c,t),null!==a&&Oi(0,s-o,c,r,0,a),i&&(Lt(n.index,t)[8]=c)}}(e,t,n,Nt(n,t)),128==(128&n.flags)&&function(e,t,n){const r=n.directiveStart,o=n.directiveEnd,i=e.expandoInstructions,a=e.firstCreatePass,s=n.index-20,c=zt.lFrame.currentDirectiveIndex;try{kn(s);for(let n=r;n<o;n++){const r=e.data[n],o=t[n];hn(n),null!==r.hostBindings||0!==r.hostVars||null!==r.hostAttrs?Ci(r,o):a&&i.push(null)}}finally{kn(-1),hn(c)}}(e,t,n))}function ui(e,t,n=Nt){const r=t.localNames;if(null!==r){let o=t.index+1;for(let i=0;i<r.length;i+=2){const a=r[i+1],s=-1===a?n(t,e):e[a];e[o++]=s}}}function di(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=hi(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function hi(e,t,n,r,o,i,a,s,c,l){const u=20+r,d=u+o,h=function(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:Vo);return n}(u,d),m="function"==typeof l?l():l;return h[1]={type:e,blueprint:h,template:n,queries:null,viewQuery:s,declTNode:t,data:h.slice().fill(null,u),bindingStartIndex:u,expandoStartIndex:d,expandoInstructions:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof i?i():i,pipeRegistry:"function"==typeof a?a():a,firstChild:null,schemas:c,consts:m,incompleteFirstPass:!1}}function mi(e,t,n){if(Pt(e))return e.selectRootElement(t,n===He.ShadowDom);let r="string"==typeof t?e.querySelector(t):t;return r.textContent="",r}function pi(e,t,n,r){const o=Bi(t);o.push(n),e.firstCreatePass&&function(e){return e.cleanup||(e.cleanup=[])}(e).push(r,o.length-1)}function fi(e,t,n){for(let r in e)if(e.hasOwnProperty(r)){const o=e[r];(n=null===n?{}:n).hasOwnProperty(r)?n[r].push(t,o):n[r]=[t,o]}return n}function gi(e,t,n,r,o,i,a,s){const c=Nt(t,n);let l,u=t.inputs;var d;!s&&null!=u&&(l=u[r])?(Gi(e,n,l,r,o),ut(t)&&function(e,t){const n=Lt(t,e);16&n[2]||(n[2]|=64)}(n,t.index)):2===t.type&&(r="class"===(d=r)?"className":"for"===d?"htmlFor":"formaction"===d?"formAction":"innerHtml"===d?"innerHTML":"readonly"===d?"readOnly":"tabindex"===d?"tabIndex":d,o=null!=a?a(o,t.tagName||"",r):o,Pt(i)?i.setProperty(c,r,o):Vn(r)||(c.setProperty?c.setProperty(r,o):c[r]=o))}function yi(e,t,n,r){let o=!1;if(Yt()){const i=function(e,t,n){const r=e.directiveRegistry;let o=null;if(r)for(let i=0;i<r.length;i++){const a=r[i];No(n,a.selectors,!1)&&(o||(o=[]),Qn($n(n,t),e,a.type),ht(a)?(Si(e,n),o.unshift(a)):o.push(a))}return o}(e,t,n),a=null===r?null:{"":-1};if(null!==i){let r=0;o=!0,Ei(n,e.data.length,i.length);for(let e=0;e<i.length;e++){const t=i[e];t.providersResolver&&t.providersResolver(t)}wi(e,n,i.length);let s=!1,c=!1;for(let o=0;o<i.length;o++){const l=i[o];n.mergedAttrs=Bn(n.mergedAttrs,l.hostAttrs),ki(e,t,l),_i(e.data.length-1,l,a),null!==l.contentQueries&&(n.flags|=8),null===l.hostBindings&&null===l.hostAttrs&&0===l.hostVars||(n.flags|=128);const u=l.type.prototype;!s&&(u.ngOnChanges||u.ngOnInit||u.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index-20),s=!0),c||!u.ngOnChanges&&!u.ngDoC
385heck||((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index-20),c=!0),vi(e,l),r+=l.hostVars}!function(e,t){const n=t.directiveEnd,r=e.data,o=t.attrs,i=[];let a=null,s=null;for(let c=t.directiveStart;c<n;c++){const e=r[c],n=e.inputs,l=null===o||Ao(t)?null:Ti(n,o);i.push(l),a=fi(n,c,a),s=fi(e.outputs,c,s)}null!==a&&(a.hasOwnProperty("class")&&(t.flags|=16),a.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=i,t.inputs=a,t.outputs=s}(e,n),bi(e,t,r)}a&&function(e,t,n){if(t){const r=e.localNames=[];for(let e=0;e<t.length;e+=2){const o=n[t[e+1]];if(null==o)throw new Error(`Export of name '${t[e+1]}' not found!`);r.push(t[e],o)}}}(n,r,a)}return n.mergedAttrs=Bn(n.mergedAttrs,n.attrs),o}function vi(e,t){const n=e.expandoInstructions;n.push(t.hostBindings),0!==t.hostVars&&n.push(t.hostVars)}function bi(e,t,n){for(let r=0;r<n;r++)t.push(Vo),e.blueprint.push(Vo),e.data.push(null)}function Ci(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function wi(e,t,n){const r=20-t.index,o=e.data.length-(1048575&t.providerIndexes);(e.expandoInstructions||(e.expandoInstructions=[])).push(r,o,n)}function Si(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function _i(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;ht(t)&&(n[""]=e)}}function Ei(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function ki(e,t,n){e.data.push(n);const r=n.factory||(n.factory=it(n.type)),o=new jn(r,ht(n),null);e.blueprint.push(o),t.push(o)}function xi(e,t,n){const r=Nt(t,e),o=di(n),i=e[10],a=Ri(e,ni(e,o,null,n.onPush?64:16,r,t,i,i.createRenderer(r,n),null,null));e[t.index]=a}function Ii(e,t,n,r,o,i){const a=Nt(e,t),s=t[11];if(null==r)Pt(s)?s.removeAttribute(a,n,i):a.removeAttribute(n);else{const t=null==o?pt(r):o(r,e.tagName||"",n);Pt(s)?s.setAttribute(a,n,t,i):i?a.setAttributeNS(i,n,t):a.setAttribute(n,t)}}function Oi(e,t,n,r,o,i){const a=i[t];if(null!==a){const e=r.setInput;for(let t=0;t<a.length;){const o=a[t++],i=a[t++],s=a[t++];null!==e?r.setInput(n,s,o,i):n[i]=s}}}function Ti(e,t){let n=null,r=0;for(;r<t.length;){const o=t[r];if(0!==o)if(5!==o){if("number"==typeof o)break;e.hasOwnProperty(o)&&(null===n&&(n=[]),n.push(o,e[o],t[r+1])),r+=2}else r+=2;else r+=4}return n}function Ai(e,t,n,r){return new Array(e,!0,!1,t,null,0,r,n,null,null)}function Pi(e,t){const n=Lt(t,e);if(Ht(n)){const e=n[1];80&n[2]?ii(e,n,e.template,n[8]):n[5]>0&&function e(t){for(let r=Ho(t);null!==r;r=Go(r))for(let t=10;t<r.length;t++){const n=r[t];if(1024&n[2]){const e=n[1];ii(e,n,e.template,n[8])}else n[5]>0&&e(n)}const n=t[1].components;if(null!==n)for(let r=0;r<n.length;r++){const o=Lt(n[r],t);Ht(o)&&o[5]>0&&e(o)}}(n)}}function Di(e,t){const n=Lt(t,e),r=n[1];!function(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(r,n),oi(r,n,n[8])}function Ri(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function Mi(e){for(;e;){e[2]|=64;const t=Bo(e);if(mt(e)&&!t)return e;e=t}return null}function Ni(e){for(let t=0;t<e.components.length;t++){const n=e.components[t],r=Bt(n),o=r[1];ai(o,r,o.template,n)}}function ji(e,t,n){const r=t[10];r.begin&&r.begin();try{ii(e,t,e.template,n)}catch(o){throw Hi(t,o),o}finally{r.end&&r.end()}}function Fi(e){Ni(e[8])}function Li(e,t,n){fn(0),t(e,n)}const Vi=Xo;function Bi(e){return e[7]||(e[7]=[])}function Ui(e,t,n){return(null===e||ht(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 Hi(e,t){const n=e[9],r=n?n.get(mr,null):null;r&&r.handleError(t)}function Gi(e,t,n,r,o){for(let i=0;i<n.length;){const a=n[i++],s=n[i++],c=t[a],l=e.data[a];null!==l.setInput?l.setInput(c,o,r,s):c[s]=o}}function qi(e,t,n){const r=Mt(t,e),o=e[11];Pt(o)?o.setValue(r,n):r.textContent=n}
386/**
387 * @license
388 * Copyright Google LLC All Rights Reserved.
389 *
390 * Use of this source code is governed by an MIT-style license that can be
391 * found in the LICENSE file at https://angular.io/license
392 */function Ki(e,t,n,r,o){if(null!=r){let i,a=!1;ct(r)?i=r:st(r)&&(a=!0,r=r[0]);const s=Rt(r);0===e&&null!==n?null==o?Xi(t,n,s):Qi(t,n,s,o||null):1===e&&null!==n?Qi(t,n,s,o||null):2===e?oa(t,s,a):3===e&&t.destroyNode(s),null!=i&&function(e,t,n,r,o){const i=n[7];i!==Rt(n)&&Ki(t,e,r,i,o);for(let a=10;a<n.length;a++){const o=n[a];aa(o[1],o,e,t,r,i)}}(t,e,i,n,o)}}function zi(e,t){return Pt(t)?t.createText(e):t.createTextNode(e)}function Yi(e,t){const n=e[9],r=n.indexOf(t),o=t[3];1024&t[2]&&(t[2]&=-1025,Kt(o,-1)),n.splice(r,1)}function $i(e,t){if(e.length<=10)return;const n=10+t,r=e[n];if(r){const i=r[17];null!==i&&i!==e&&Yi(i,r),t>0&&(e[n-1][4]=r[4]);const a=Me(e,10+t);aa(r[1],o=r,o[11],2,null,null),o[0]=null,o[6]=null;const s=a[19];null!==s&&s.detachView(a[1]),r[3]=null,r[4]=null,r[2]&=-129}var o;return r}function Wi(e,t){if(!(256&t[2])){const n=t[11];Pt(n)&&n.destroyNode&&aa(e,t,n,3,null,null),function(e){let t=e[13];if(!t)return Zi(e[1],e);for(;t;){let n=null;if(st(t))n=t[13];else{const e=t[10];e&&(n=e)}if(!n){for(;t&&!t[4]&&t!==e;)st(t)&&Zi(t[1],t),t=t[3];null===t&&(t=e),st(t)&&Zi(t[1],t),n=t&&t[4]}t=n}}(t)}}function Zi(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const e=t[n[r]];if(!(e instanceof jn)){const t=n[r+1];if(Array.isArray(t))for(let n=0;n<t.length;n+=2)t[n+1].call(e[t[n]]);else t.call(e)}}}(e,t),function(e,t){const n=e.cleanup;if(null!==n){const e=t[7];for(let r=0;r<n.length-1;r+=2)if("string"==typeof n[r]){const o=n[r+1],i="function"==typeof o?o(t):Rt(t[o]),a=e[n[r+2]],s=n[r+3];"boolean"==typeof s?i.removeEventListener(n[r],a,s):s>=0?e[s]():e[-s].unsubscribe(),r+=2}else n[r].call(e[n[r+1]]);t[7]=null}}
392(e,t),1===t[1].type&&Pt(t[11])&&t[11].destroy();const n=t[17];if(null!==n&&ct(t[3])){n!==t[3]&&Yi(n,t);const r=t[19];null!==r&&r.detachView(e)}}}function Ji(e,t,n){let r=t.parent;for(;null!=r&&(3===r.type||4===r.type);)r=(t=r).parent;if(null===r)return n[0];if(t&&4===t.type&&4&t.flags)return Nt(t,n).parentNode;if(2&r.flags){const t=e.data,n=t[t[r.index].directiveStart].encapsulation;if(n!==He.ShadowDom&&n!==He.Native)return null}return Nt(r,n)}function Qi(e,t,n,r){Pt(e)?e.insertBefore(t,n,r):t.insertBefore(n,r,!0)}function Xi(e,t,n){Pt(e)?e.appendChild(t,n):t.appendChild(n)}function ea(e,t,n,r){null!==r?Qi(e,t,n,r):Xi(e,t,n)}function ta(e,t){return Pt(e)?e.parentNode(t):t.parentNode}function na(e,t){return 3===e.type||4===e.type?Nt(e,t):null}function ra(e,t,n,r){const o=Ji(e,r,t);if(null!=o){const e=t[11],i=na(r.parent||t[6],t);if(Array.isArray(n))for(let t=0;t<n.length;t++)ea(e,o,n[t],i);else ea(e,o,n,i)}}function oa(e,t,n){const r=ta(e,t);r&&function(e,t,n,r){Pt(e)?e.removeChild(t,n,r):t.removeChild(n)}(e,r,t,n)}function ia(e,t,n,r,o,i,a){for(;null!=n;){const s=r[n.index],c=n.type;a&&0===t&&(s&&_o(Rt(s),r),n.flags|=4),64!=(64&n.flags)&&(3===c||4===c?(ia(e,t,n.child,r,o,i,!1),Ki(t,e,o,s,i)):1===c?ca(e,t,r,n,o,i):Ki(t,e,o,s,i)),n=a?n.projectionNext:n.next}}function aa(e,t,n,r,o,i){ia(n,r,e.firstChild,t,o,i,!1)}function sa(e,t,n){ca(t[11],0,t,n,Ji(e,n,t),na(n.parent||t[6],t))}function ca(e,t,n,r,o,i){const a=n[16],s=a[6].projection[r.projection];if(Array.isArray(s))for(let c=0;c<s.length;c++)Ki(t,e,o,s[c],i);else ia(e,t,s,a[3],o,i,!0)}function la(e,t,n){Pt(e)?e.setAttribute(t,"style",n):t.style.cssText=n}function ua(e,t,n){Pt(e)?""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n):t.className=n}
393/**
394 * @license
395 * Copyright Google LLC All Rights Reserved.
396 *
397 * Use of this source code is governed by an MIT-style license that can be
398 * found in the LICENSE file at https://angular.io/license
399 */class da{constructor(e,t){this._lView=e,this._cdRefInjectingView=t,this._appRef=null,this._viewContainerRef=null}get rootNodes(){const e=this._lView,t=e[1];return function e(t,n,r,o,i=!1){for(;null!==r;){const a=n[r.index];if(null!==a&&o.push(Rt(a)),ct(a))for(let t=10;t<a.length;t++){const n=a[t],r=n[1].firstChild;null!==r&&e(n[1],n,r,o)}const s=r.type;if(3===s||4===s)e(t,n,r.child,o);else if(1===s){const t=n[16],i=t[6].projection[r.projection];if(Array.isArray(i))o.push(...i);else{const n=Bo(t);e(n[1],n,i,o,!0)}}r=i?r.projectionNext:r.next}return o}
400/**
401 * @license
402 * Copyright Google LLC All Rights Reserved.
403 *
404 * Use of this source code is governed by an MIT-style license that can be
405 * found in the LICENSE file at https://angular.io/license
406 */(t,e,t.firstChild,[])}get context(){return this._lView[8]}get destroyed(){return 256==(256&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._viewContainerRef){const e=this._viewContainerRef.indexOf(this);e>-1&&this._viewContainerRef.detach(e),this._viewContainerRef=null}Wi(this._lView[1],this._lView)}onDestroy(e){pi(this._lView[1],this._lView,null,e)}markForCheck(){Mi(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){ji(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(e,t,n){on(!0);try{ji(e,t,n)}finally{on(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e}detachFromAppRef(){var e;this._appRef=null,aa(this._lView[1],e=this._lView,e[11],2,null,null)}attachToAppRef(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e}}class ha extends da{constructor(e){super(e),this._view=e}detectChanges(){Fi(this._view)}checkNoChanges(){!function(e){on(!0);try{Fi(e)}finally{on(!1)}}(this._view)}get context(){return null}}let ma,pa,fa;function ga(e,t,n){return ma||(ma=class extends e{}),new ma(Nt(t,n))}function ya(e,t,n,r){return pa||(pa=class extends e{constructor(e,t,n){super(),this._declarationView=e,this._declarationTContainer=t,this.elementRef=n}createEmbeddedView(e){const t=this._declarationTContainer.tViews,n=ni(this._declarationView,t,e,16,null,t.declTNode,null,null,null,null);n[17]=this._declarationView[this._declarationTContainer.index];const r=this._declarationView[19];return null!==r&&(n[19]=r.createEmbeddedView(t)),oi(t,n,e),new da(n)}}),0===n.type?new pa(r,n,ga(t,n,r)):null}function va(e,t,n,r){let o;fa||(fa=class extends e{constructor(e,t,n){super(),this._lContainer=e,this._hostTNode=t,this._hostView=n}
406get element(){return ga(t,this._hostTNode,this._hostView)}get injector(){return new sr(this._hostTNode,this._hostView)}get parentInjector(){const e=Jn(this._hostTNode,this._hostView);if(Hn(e)){const t=qn(e,this._hostView),n=Gn(e);return new sr(t[1].data[n+8],t)}return new sr(null,this._hostView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){return null!==this._lContainer[8]&&this._lContainer[8][e]||null}get length(){return this._lContainer.length-10}createEmbeddedView(e,t,n){const r=e.createEmbeddedView(t||{});return this.insert(r,n),r}createComponent(e,t,n,r,o){const i=n||this.parentInjector;if(!o&&null==e.ngModule&&i){const e=i.get(Oe,null);e&&(o=e)}const a=e.create(i,r,void 0,o);return this.insert(a.hostView,t),a}insert(e,t){const n=e._lView,r=n[1];if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");if(this.allocateContainerIfNeeded(),ct(n[3])){const t=this.indexOf(e);if(-1!==t)this.detach(t);else{const t=n[3],r=new fa(t,t[6],t[3]);r.detach(r.indexOf(e))}}const o=this._adjustIndex(t),i=this._lContainer;!function(e,t,n,r){const o=10+r,i=n.length;r>0&&(n[o-1][4]=t),r<i-10?(t[4]=n[o],Re(n,10+r,t)):(n.push(t),t[4]=null),t[3]=n;const a=t[17];null!==a&&n!==a&&function(e,t){const n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(a,t);const s=t[19];null!==s&&s.insertView(e),t[2]|=128}(r,n,i,o);const a=function e(t,n){const r=10+t+1;if(r<n.length){const t=n[r],o=t[1].firstChild;if(null!==o)return function t(n,r){if(null!==r){const o=r.type;if(2===o)return Nt(r,n);if(0===o)return e(-1,n[r.index]);if(3===o||4===o){const o=r.child;if(null!==o)return t(n,o);{const t=n[r.index];return ct(t)?e(-1,t):Rt(t)}}{const e=n[16],o=e[6],i=Bo(e),a=o.projection[r.projection];return null!=a?t(i,a):t(n,r.next)}}return null}(t,o)}return n[7]}(o,i),s=n[11],c=ta(s,i[7]);return null!==c&&function(e,t,n,r,o,i){r[0]=o,r[6]=t,aa(e,r,n,1,o,i)}(r,i[6],s,n,c,a),e.attachToViewContainerRef(this),Re(i[8],o,e),e}move(e,t){if(e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");return this.insert(e,t)}indexOf(e){const t=this._lContainer[8];return null!==t?t.indexOf(e):-1}remove(e){this.allocateContainerIfNeeded();const t=this._adjustIndex(e,-1),n=$i(this._lContainer,t);n&&(Me(this._lContainer[8],t),Wi(n[1],n))}detach(e){this.allocateContainerIfNeeded();const t=this._adjustIndex(e,-1),n=$i(this._lContainer,t);return n&&null!=Me(this._lContainer[8],t)?new da(n):null}_adjustIndex(e,t=0){return null==e?this.length+t:e}allocateContainerIfNeeded(){null===this._lContainer[8]&&(this._lContainer[8]=[])}});const i=r[n.index];if(ct(i))o=i;else{let e;if(3===n.type)e=Rt(i);else if(e=r[11].createComment(""),mt(r)){const t=r[11],o=Nt(n,r);Qi(t,ta(t,o),e,function(e,t){return Pt(e)?e.nextSibling(t):t.nextSibling}(t,o))}else ra(r[1],r,e,n);r[n.index]=o=Ai(i,r,e,n),Ri(r,o)}return new fa(o,n,r)}function ba(e=!1){return function(e,t,n){if(!n&&ut(e)){const n=Lt(e.index,t);return new da(n,n)}return 2===e.type||0===e.type||3===e.type||4===e.type?new da(t[16],t):null}(Xt(),Zt(),e)}let Ca=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>Sa(),e})();const wa=ba,Sa=wa,_a=Function;function Ea(e){return"function"==typeof e}
407/**
408 * @license
409 * Copyright Google LLC All Rights Reserved.
410 *
411 * Use of this source code is governed by an MIT-style license that can be
412 * found in the LICENSE file at https://angular.io/license
413 */const ka=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*(arguments|[^()]+\(arguments\))\)/,xa=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,Ia=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,Oa=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{\s*super\(\.\.\.arguments\)/;class Ta{constructor(e){this._reflect=e||te.Reflect}isReflectionEnabled(){return!0}factory(e){return(...t)=>new e(...t)}_zipTypesAndAnnotations(e,t){let n;n=Ne(void 0===e?t.length:e.length);for(let r=0;r<n.length;r++)n[r]=void 0===e?[]:e[r]&&e[r]!=Object?[e[r]]:[],t&&null!=t[r]&&(n[r]=n[r].concat(t[r]));return n}_ownParameters(e,t){if(n=e.toString(),ka.test(n)||Oa.test(n)||xa.test(n)&&!I
413a.test(n))return null;var n;if(e.parameters&&e.parameters!==t.parameters)return e.parameters;const r=e.ctorParameters;if(r&&r!==t.ctorParameters){const e="function"==typeof r?r():r,t=e.map(e=>e&&e.type),n=e.map(e=>e&&Aa(e.decorators));return this._zipTypesAndAnnotations(t,n)}const o=e.hasOwnProperty(y)&&e[y],i=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",e);return i||o?this._zipTypesAndAnnotations(i,o):Ne(e.length)}parameters(e){if(!Ea(e))return[];const t=Pa(e);let n=this._ownParameters(e,t);return n||t===Object||(n=this.parameters(t)),n||[]}_ownAnnotations(e,t){if(e.annotations&&e.annotations!==t.annotations){let t=e.annotations;return"function"==typeof t&&t.annotations&&(t=t.annotations),t}return e.decorators&&e.decorators!==t.decorators?Aa(e.decorators):e.hasOwnProperty(g)?e[g]:null}annotations(e){if(!Ea(e))return[];const t=Pa(e),n=this._ownAnnotations(e,t)||[];return(t!==Object?this.annotations(t):[]).concat(n)}_ownPropMetadata(e,t){if(e.propMetadata&&e.propMetadata!==t.propMetadata){let t=e.propMetadata;return"function"==typeof t&&t.propMetadata&&(t=t.propMetadata),t}if(e.propDecorators&&e.propDecorators!==t.propDecorators){const t=e.propDecorators,n={};return Object.keys(t).forEach(e=>{n[e]=Aa(t[e])}),n}return e.hasOwnProperty(v)?e[v]:null}propMetadata(e){if(!Ea(e))return{};const t=Pa(e),n={};if(t!==Object){const e=this.propMetadata(t);Object.keys(e).forEach(t=>{n[t]=e[t]})}const r=this._ownPropMetadata(e,t);return r&&Object.keys(r).forEach(e=>{const t=[];n.hasOwnProperty(e)&&t.push(...n[e]),t.push(...r[e]),n[e]=t}),n}ownPropMetadata(e){return Ea(e)&&this._ownPropMetadata(e,Pa(e))||{}}hasLifecycleHook(e,t){return e instanceof _a&&t in e.prototype}guards(e){return{}}getter(e){return new Function("o","return o."+e+";")}setter(e){return new Function("o","v","return o."+e+" = v;")}method(e){return new Function("o","args",`if (!o.${e}) throw new Error('"${e}" is undefined');\n        return o.${e}.apply(o, args);`)}importUri(e){return"object"==typeof e&&e.filePath?e.filePath:"./"+K(e)}resourceUri(e){return"./"+K(e)}resolveIdentifier(e,t,n,r){return r}resolveEnum(e,t){return e[t]}}function Aa(e){return e?e.map(e=>new(0,e.type.annotationCls)(...e.args?e.args:[])):[]}function Pa(e){const t=e.prototype?Object.getPrototypeOf(e.prototype):null;return(t?t.constructor:null)||Object}
414/**
415 * @license
416 * Copyright Google LLC All Rights Reserved.
417 *
418 * Use of this source code is governed by an MIT-style license that can be
419 * found in the LICENSE file at https://angular.io/license
420 */let Da=null;function Ra(){return Da=Da||new Ta}function Ma(e){return Na(Ra().parameters(e))}function Na(e){const t=re();return e.map(e=>function(e,t){const n={token:null,host:!1,optional:!1,resolved:e.R3ResolvedDependencyType.Token,self:!1,skipSelf:!1};function r(t){n.resolved=e.R3ResolvedDependencyType.Token,n.token=t}if(Array.isArray(t)&&t.length>0)for(let o=0;o<t.length;o++){const i=t[o];if(void 0===i)continue;const a=Object.getPrototypeOf(i);if(i instanceof k||"Optional"===a.ngMetadataName)n.optional=!0;else if(i instanceof I||"SkipSelf"===a.ngMetadataName)n.skipSelf=!0;else if(i instanceof x||"Self"===a.ngMetadataName)n.self=!0;else if(i instanceof O||"Host"===a.ngMetadataName)n.host=!0;else if(i instanceof E)n.token=i.token;else if(i instanceof A){if(void 0===i.attributeName)throw new Error("Attribute name must be defined.");n.token=i.attributeName,n.resolved=e.R3ResolvedDependencyType.Attribute}else i===Ca?(n.token=i,n.resolved=e.R3ResolvedDependencyType.ChangeDetectorRef):r(i)}else void 0===t||Array.isArray(t)&&0===t.length?(n.token=void 0,n.resolved=ne.Invalid):r(t);return n}
421/**
422 * @license
423 * Copyright Google LLC All Rights Reserved.
424 *
425 * Use of this source code is governed by an MIT-style license that can be
426 * found in the LICENSE file at https://angular.io/license
427 */(t,e))}const ja=D({provide:String,useValue:D});function Fa(e){return void 0!==e.useClass}function La(e){return void 0!==e.useFactory}function Va(e,t){const n=t||{providedIn:null},r={name:e.name,type:e,typeArgumentCount:0,providedIn:n.providedIn,userDeps:void 0};return(Fa(n)||La(n))&&void 0!==n.deps&&(r.userDeps=Na(n.deps)),Fa(n)?r.useClass=W(n.useClass):function(e){return ja in e}(n)?r.useValue=W(n.useValue):La(n)?r.useFactory=n.useFactory:function(e){return void 0!==e.useExisting}(n)&&(r.useExisting=W(n.useExisting)),r}
428/**
429 * @license
430 * Copyright Google LLC All Rights Reserved.
431 *
432 * Use of this source code is governed by an MIT-style license that can be
433 * found in the LICENSE file at https://angular.io/license
434 */
435/**
436 * @license
437 * Copyright Google LLC All Rights Reserved.
438 *
439 * Use of this source code is governed by an MIT-style license that can be
440 * found in the LICENSE file at https://angular.io/license
441 */const Ba=b("Injectable",void 0,void 0,void 0,(e,t)=>Ha(e,t)),Ua=function(e,t){let n=null,r=null;e.hasOwnProperty(B)||(Object.defineProperty(e,B,{get:()=>(null===n&&(n=re().compileInjectable(Ie,`ng:///${e.name}/\u0275prov.js`,Va(e,t))),n)}),e.hasOwnProperty(H)||(e[H]=()=>e[B])),e.hasOwnProperty(le)||Object.defineProperty(e,le,{get:()=>{if(null===r){const n=Va(e,t),o=re();r=o.compileFactory(Ie,`ng:///${e.name}/\u0275fac.js`,{name:n.name,type:n.type,typeArgumentCount:n.typeArgumentCount,deps:Ma(e),injectFn:"inject",target:o.R3FactoryTarget.Injectable})}return r},configurable:!0})},Ha=Ua,Ga=new de("Set Injector scope."),qa={},Ka={},za=[];let Ya=void 0;function $a(){return void 0===Ya&&(Ya=new xe),Ya}function Wa(e,t=null,n=null,r){const o=Za(e,t,n,r);return o._resolveInjectorDefTypes(),o}function Za(e,t=null,n=null,r){return new Ja(e,n,t||$a(),r)}class Ja{constructor(e,t,n,r=null){this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const o=[];t&&De(t,n=>this.processProvider(n,e,t)),De([e],e=>this.processInjectorType(e,[],o)),this.records.set(he,es(void 0,this));const i=this.records.get(Ga);this.scope=null!=i?i.value:null,this.source=r||("object"==typeof e?null:K(e))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;
441try{this.onDestroy.forEach(e=>e.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(e,t=me,n=P.Default){this.assertNotDestroyed();const r=ve(this);try{if(!(n&P.SkipSelf)){let t=this.records.get(e);if(void 0===t){const n=("function"==typeof(o=e)||"object"==typeof o&&o instanceof de)&&F(e);t=n&&this.injectableDefInScope(n)?es(Qa(e),qa):null,this.records.set(e,t)}if(null!=t)return this.hydrate(e,t)}return(n&P.Self?$a():this.parent).get(e,t=n&P.Optional&&t===me?null:t)}catch(i){if("NullInjectorError"===i.name){if((i.ngTempTokenPath=i.ngTempTokenPath||[]).unshift(K(e)),r)throw i;return function(e,t,n,r){const o=e.ngTempTokenPath;throw t.__source&&o.unshift(t.__source),e.message=function(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;let o=K(t);if(Array.isArray(t))o=t.map(K).join(" -> ");else if("object"==typeof t){let e=[];for(let n in t)if(t.hasOwnProperty(n)){let r=t[n];e.push(n+":"+("string"==typeof r?JSON.stringify(r):K(r)))}o=`{${e.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(pe,"\n  ")}`}("\n"+e.message,o,n,r),e.ngTokenPath=o,e.ngTempTokenPath=null,e}(i,e,"R3InjectorError",this.source)}throw i}finally{ve(r)}var o;
442/**
443 * @license
444 * Copyright Google LLC All Rights Reserved.
445 *
446 * Use of this source code is governed by an MIT-style license that can be
447 * found in the LICENSE file at https://angular.io/license
448 */}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(e=>this.get(e))}toString(){const e=[];return this.records.forEach((t,n)=>e.push(K(n))),`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(e,t,n){if(!(e=W(e)))return!1;let r=V(e);const o=null==r&&e.ngModule||void 0,i=void 0===o?e:o,a=-1!==n.indexOf(i);if(void 0!==o&&(r=V(o)),null==r)return!1;if(null!=r.imports&&!a){let e;n.push(i);try{De(r.imports,r=>{this.processInjectorType(r,t,n)&&(void 0===e&&(e=[]),e.push(r))})}finally{}if(void 0!==e)for(let t=0;t<e.length;t++){const{ngModule:n,providers:r}=e[t];De(r,e=>this.processProvider(e,n,r||za))}}this.injectorDefTypes.add(i),this.records.set(i,es(r.factory,qa));const s=r.providers;if(null!=s&&!a){const t=e;De(s,e=>this.processProvider(e,t,s))}return void 0!==o&&void 0!==e.providers}processProvider(e,t,n){let r=ns(e=W(e))?e:W(e&&e.provide);const o=function(e,t,n){return ts(e)?es(void 0,e.useValue):es(Xa(e),qa)}(e);if(ns(e)||!0!==e.multi)this.records.get(r);else{let t=this.records.get(r);t||(t=es(void 0,qa,!0),t.factory=()=>ke(t.multi),this.records.set(r,t)),r=e,t.multi.push(e)}this.records.set(r,o)}hydrate(e,t){var n;return t.value===qa&&(t.value=Ka,t.value=t.factory()),"object"==typeof t.value&&t.value&&null!==(n=t.value)&&"object"==typeof n&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(t.value),t.value}injectableDefInScope(e){return!!e.providedIn&&("string"==typeof e.providedIn?"any"===e.providedIn||e.providedIn===this.scope:this.injectorDefTypes.has(e.providedIn))}}function Qa(e){const t=F(e),n=null!==t?t.factory:it(e);if(null!==n)return n;const r=V(e);if(null!==r)return r.factory;if(e instanceof de)throw new Error(`Token ${K(e)} is missing a \u0275prov definition.`);if(e instanceof Function)return function(e){const t=e.length;if(t>0){const n=Ne(t,"?");throw new Error(`Can't resolve all parameters for ${K(e)}: (${n.join(", ")}).`)}const n=function(e){const t=e&&(e[B]||e[G]||e[H]&&e[H]());if(t){const n=function(e){if(e.hasOwnProperty("name"))return e.name;const 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 a future version of Angular. Please add @Injectable() to the "${n}" class.`),t}return null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new Error("unreachable")}function Xa(e,t,n){let r=void 0;if(ns(e)){const t=W(e);return it(t)||Qa(t)}if(ts(e))r=()=>W(e.useValue);else if((o=e)&&o.useFactory)r=()=>e.useFactory(...ke(e.deps||[]));else if(function(e){return!(!e||!e.useExisting)}(e))r=()=>we(W(e.useExisting));else{const t=W(e&&(e.useClass||e.provide));if(!function(e){return!!e.deps}(e))return it(t)||Qa(t);r=()=>new t(...ke(e.deps))}var o;return r}function es(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function ts(e){return null!==e&&"object"==typeof e&&fe in e}function ns(e){return"function"==typeof e}function rs(e,t,n){return Wa({name:n},t,e,n)}const os=rs;let is=(()=>{class e{static create(e,t){return Array.isArray(e)?os(e,t,""):os(e.providers,e.parent,e.name||"")}}return e.THROW_IF_NOT_FOUND=me,e.NULL=new xe,e.\u0275prov=M({token:e,providedIn:"any",factory:()=>we(he)}),e.__NG_ELEMENT_ID__=-1,e})();function as(e){return e.length>1?" ("+
449/**
450 * @license
451 * Copyright Google LLC All Rights Reserved.
452 *
453 * Use of this source code is governed by an MIT-style license that can be
454 * found in the LICENSE file at https://angular.io/license
455 */
456function(e){const t=[];for(let n=0;n<e.length;++n){if(t.indexOf(e[n])>-1)return t.push(e[n]),t;t.push(e[n])}return t}(e.slice().reverse()).map(e=>K(e.token)).join(" -> ")+")":""}function ss(e,t,n,r){const o=[t],i=n(o),a=r?function(e,t){const n=`${e} caused by: ${t instanceof Error?t.message:t}`,r=Error(n);return r.ngOriginalError=t,r}
457/**
458 * @license
459 * Copyright Google LLC All Rights Reserved.
460 *
461 * Use of this source code is governed by an MIT-style license that can be
462 * found in the LICENSE file at https://angular.io/license
463 */(i,r):Error(i);return a.addKey=cs,a.keys=o,a.injectors=[e],a.constructResolvingMessage=n,a.ngOriginalError=r,a}function cs(e,t){this.injectors.push(e),this.keys.push(t),this.message=this.constructResolvingMessage(this.keys)}function ls(e,t){const n=[];for(let r=0,o=t.length;r<o;r++){const e=t[r];n.push(e&&0!=e.length?e.map(K).join(" "):"?")}return Error("Cannot resolve all parameters for '"+K(e)+"'("+n.join(", ")+"). Make sure that all the parameters are decorated with Inject or have valid type annotations and that '"+K(e)+"' is decorated with Injectable.")}
464/**
465 * @license
466 * Copyright Google LLC All Rights Reserved.
467 *
468 * Use of this source code is governed by an MIT-style license that can be
469 * found in the LICENSE file at https://angular.io/license
470 */class us{constructor(e,t){if(this.token=e,this.id=t,!e)throw new Error("Token must be defined!");this.displayName=K(this.token)}static get(e){return hs.get(W(e))}static get numberOfKeys(){return hs.numberOfKeys}}class ds{constructor(){this._allKeys=new Map}get(e){if(e instanceof us)return e;if(this._allKeys.has(e))return this._allKeys.get(e);const t=new us(e,us.numberOfKeys);return this._allKeys.set(e,t),t}get numberOfKeys(){return this._allKeys.size}}const hs=new ds;
471/**
472 * @license
473 * Copyright Google LLC All Rights Reserved.
474 *
475 * Use of this source code is governed by an MIT-style license that can be
476 * found in the LICENSE file at https://angular.io/license
477 */class ms{constructor(e){this.reflectionCapabilities=e}updateCapabilities(e){this.reflectionCapabilities=e}factory(e){return this.reflectionCapabilities.factory(e)}parameters(e){return this.reflectionCapabilities.parameters(e)}annotations(e){return this.reflectionCapabilities.annotations(e)}propMetadata(e){return this.reflectionCapabilities.propMetadata(e)}hasLifecycleHook(e,t){return this.reflectionCapabilities.hasLifecycleHook(e,t)}getter(e){return this.reflectionCapabilities.getter(e)}setter(e){return this.reflectionCapabilities.setter(e)}method(e){return this.reflectionCapabilities.method(e)}importUri(e){return this.reflectionCapabilities.importUri(e)}resourceUri(e){return this.reflectionCapabilities.resourceUri(e)}resolveIdentifier(e,t,n,r){return this.reflectionCapabilities.resolveIdentifier(e,t,n,r)}resolveEnum(e,t){return this.reflectionCapabilities.resolveEnum(e,t)}}
478/**
479 * @license
480 * Copyright Google LLC All Rights Reserved.
481 *
482 * Use of this source code is governed by an MIT-style license that can be
483 * found in the LICENSE file at https://angular.io/license
484 */const ps=new ms(new Ta);
485/**
486 * @license
487 * Copyright Google LLC All Rights Reserved.
488 *
489 * Use of this source code is governed by an MIT-style license that can be
490 * found in the LICENSE file at https://angular.io/license
491 */class fs{constructor(e,t,n){this.key=e,this.optional=t,this.visibility=n}static fromKey(e){return new fs(e,!1,null)}}const gs=[];class ys{constructor(e,t,n){this.key=e,this.resolvedFactories=t,this.multiProvider=n,this.resolvedFactory=this.resolvedFactories[0]}}class vs{constructor(e,t){this.factory=e,this.dependencies=t}}function bs(e){let t,n;if(e.useClass){const r=W(e.useClass);t=ps.factory(r),n=Ss(r)}else e.useExisting?(t=e=>e,n=[fs.fromKey(us.get(e.useExisting))]):e.useFactory?(t=e.useFactory,n=function(e,t){if(t){const n=t.map(e=>[e]);return t.map(t=>_s(e,t,n))}return Ss(e)}(e.useFactory,e.deps)):(t=()=>e.useValue,n=gs);return new vs(t,n)}function Cs(e){return new ys(us.get(e.provide),[bs(e)],e.multi||!1)}function ws(e){const t=function(e,t){for(let n=0;n<e.length;n++){const r=e[n],o=t.get(r.key.id);if(o){if(r.multiProvider!==o.multiProvider)throw Error(`Cannot mix multi providers and regular providers, got: ${o} ${r}`);if(r.multiProvider)for(let e=0;e<r.resolvedFactories.length;e++)o.resolvedFactories.push(r.resolvedFactories[e]);else t.set(r.key.id,r)}else{let e;e=r.multiProvider?new ys(r.key,r.resolvedFactories.slice(),r.multiProvider):r,t.set(r.key.id,e)}}return t}(function e(t,n){return t.forEach(t=>{if(t instanceof _a)n.push({provide:t,useClass:t});else if(t&&"object"==typeof t&&void 0!==t.provide)n.push(t);else{if(!Array.isArray(t))throw Error("Invalid provider - only instances of Provider and Type are allowed, got: "+t);e(t,n)}}),n}(e,[]).map(Cs),new Map);return Array.from(t.values())}function Ss(e){const t=ps.parameters(e);if(!t)return[];if(t.some(e=>null==e))throw ls(e,t);return t.map(n=>_s(e,n,t))}
491function _s(e,t,n){let r=null,o=!1;if(!Array.isArray(t))return Es(t instanceof E?t.token:t,o,null);let i=null;for(let a=0;a<t.length;++a){const e=t[a];e instanceof _a?r=e:e instanceof E?r=e.token:e instanceof k?o=!0:e instanceof x||e instanceof I?i=e:e instanceof de&&(r=e)}if(r=W(r),null!=r)return Es(r,o,i);throw ls(e,n)}function Es(e,t,n){return new fs(us.get(e),t,n)}
492/**
493 * @license
494 * Copyright Google LLC All Rights Reserved.
495 *
496 * Use of this source code is governed by an MIT-style license that can be
497 * found in the LICENSE file at https://angular.io/license
498 */const ks={};class xs{static resolve(e){return ws(e)}static resolveAndCreate(e,t){const n=xs.resolve(e);return xs.fromResolvedProviders(n,t)}static fromResolvedProviders(e,t){return new Is(e,t)}}let Is=(()=>{class e{constructor(e,t){this._constructionCounter=0,this._providers=e,this.parent=t||null;const n=e.length;this.keyIds=[],this.objs=[];for(let r=0;r<n;r++)this.keyIds[r]=e[r].key.id,this.objs[r]=ks}get(e,t=me){return this._getByKey(us.get(e),null,t)}resolveAndCreateChild(e){const t=xs.resolve(e);return this.createChildFromResolved(t)}createChildFromResolved(t){const n=new e(t);return n.parent=this,n}resolveAndInstantiate(e){return this.instantiateResolved(xs.resolve([e])[0])}instantiateResolved(e){return this._instantiateProvider(e)}getProviderAtIndex(e){if(e<0||e>=this._providers.length)throw function(e){return Error(`Index ${e} is out-of-bounds.`)}(e);return this._providers[e]}_new(e){if(this._constructionCounter++>this._getMaxNumberOfObjects())throw ss(this,e.key,(function(e){return"Cannot instantiate cyclic dependency!"+as(e)}));return this._instantiateProvider(e)}_getMaxNumberOfObjects(){return this.objs.length}_instantiateProvider(e){if(e.multiProvider){const t=[];for(let n=0;n<e.resolvedFactories.length;++n)t[n]=this._instantiate(e,e.resolvedFactories[n]);return t}return this._instantiate(e,e.resolvedFactories[0])}_instantiate(e,t){const n=t.factory;let r,o;try{r=t.dependencies.map(e=>this._getByReflectiveDependency(e))}catch(a){throw a.addKey&&a.addKey(this,e.key),a}try{o=n(...r)}catch(a){throw ss(this,e.key,(function(e){const t=K(e[0].token);return`${i.message}: Error during instantiation of ${t}!${as(e)}.`}),i=a)}var i;return o}_getByReflectiveDependency(e){return this._getByKey(e.key,e.visibility,e.optional?null:me)}_getByKey(t,n,r){return t===e.INJECTOR_KEY?this:n instanceof x?this._getByKeySelf(t,r):this._getByKeyDefault(t,r,n)}_getObjByKeyId(e){for(let t=0;t<this.keyIds.length;t++)if(this.keyIds[t]===e)return this.objs[t]===ks&&(this.objs[t]=this._new(this._providers[t])),this.objs[t];return ks}_throwOrNull(e,t){if(t!==me)return t;throw function(e,t){return ss(e,t,(function(e){return`No provider for ${K(e[0].token)}!${as(e)}`}))}(this,e)}_getByKeySelf(e,t){const n=this._getObjByKeyId(e.id);return n!==ks?n:this._throwOrNull(e,t)}_getByKeyDefault(t,n,r){let o;for(o=r instanceof I?this.parent:this;o instanceof e;){const e=o,n=e._getObjByKeyId(t.id);if(n!==ks)return n;o=e.parent}return null!==o?o.get(t.token,n):this._throwOrNull(t,n)}get displayName(){return`ReflectiveInjector(providers: [${function(e,t){const n=[];for(let r=0;r<e._providers.length;++r)n[r]=' "'+e.getProviderAtIndex(r).key.displayName+'" ';return n}
499/**
500 * @license
501 * Copyright Google LLC All Rights Reserved.
502 *
503 * Use of this source code is governed by an MIT-style license that can be
504 * found in the LICENSE file at https://angular.io/license
505 */
506/**
507 * @license
508 * Copyright Google LLC All Rights Reserved.
509 *
510 * Use of this source code is governed by an MIT-style license that can be
511 * found in the LICENSE file at https://angular.io/license
512 */
513/**
514 * @license
515 * Copyright Google LLC All Rights Reserved.
516 *
517 * Use of this source code is governed by an MIT-style license that can be
518 * found in the LICENSE file at https://angular.io/license
519 */(this).join(", ")}])`}toString(){return this.displayName}}return e.INJECTOR_KEY=us.get(is),e})();const Os=new de("AnalyzeForEntryComponents");class Ts{}const As=S("ContentChildren",(e,t={})=>Object.assign({selector:e,first:!1,isViewQuery:!1,descendants:!1},t),Ts),Ps=S("ContentChild",(e,t={})=>Object.assign({selector:e,first:!0,isViewQuery:!1,descendants:!0},t),Ts),Ds=S("ViewChildren",(e,t={})=>Object.assign({selector:e,first:!1,isViewQuery:!0,descendants:!0},t),Ts),Rs=S("ViewChild",(e,t)=>Object.assign({selector:e,first:!0,isViewQuery:!0,descendants:!0},t),Ts);
520/**
521 * @license
522 * Copyright Google LLC All Rights Reserved.
523 *
524 * Use of this source code is governed by an MIT-style license that can be
525 * found in the LICENSE file at https://angular.io/license
526 */function Ms(e){const t=[],n=new Map;function r(t){let r=n.get(t);if(!r){const o=e(t);n.set(t,r=o.then(Vs))}return r}return Ns.forEach((e,n)=>{const o=[];e.templateUrl&&o.push(r(e.templateUrl).then(t=>{e.template=t}));const i=e.styleUrls,a=e.styles||(e.styles=[]),s=e.styles.length;
526i&&i.forEach((t,n)=>{a.push(""),o.push(r(t).then(r=>{a[s+n]=r,i.splice(i.indexOf(t),1),0==i.length&&(e.styleUrls=void 0)}))});const c=Promise.all(o).then(()=>function(e){js.delete(e)}
527/**
528 * @license
529 * Copyright Google LLC All Rights Reserved.
530 *
531 * Use of this source code is governed by an MIT-style license that can be
532 * found in the LICENSE file at https://angular.io/license
533 */(n));t.push(c)}),Ls(),Promise.all(t).then(()=>{})}let Ns=new Map;const js=new Set;function Fs(e){return!!(e.templateUrl&&!e.hasOwnProperty("template")||e.styleUrls&&e.styleUrls.length)}function Ls(){const e=Ns;return Ns=new Map,e}function Vs(e){return"string"==typeof e?e:e.text()}function Bs(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(null!==t)for(let a=0;a<t.length;a++){const e=t[a];"number"==typeof e?i=e:1==i?o=z(o,e):2==i&&(r=z(r,e+": "+t[++a]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}
534/**
535 * @license
536 * Copyright Google LLC All Rights Reserved.
537 *
538 * Use of this source code is governed by an MIT-style license that can be
539 * found in the LICENSE file at https://angular.io/license
540 */function Us(e){const t=So(e);ji(t[1],t,e)}function Hs(e){!function(e,t){if(0===e.flags&&e.clean==Xo){let t;e.flags|=1,e.clean=new Promise(e=>t=e),e.scheduler(()=>{if(1&e.flags&&(e.flags&=-2,Ni(e)),2&e.flags){e.flags&=-3;const t=e.playerHandler;t&&t.flushPlayers()}e.clean=Xo,t(null)})}}(Mi(So(e))[8])}
541/**
542 * @license
543 * Copyright Google LLC All Rights Reserved.
544 *
545 * Use of this source code is governed by an MIT-style license that can be
546 * found in the LICENSE file at https://angular.io/license
547 */function Gs(e){Xs(e);const t=Ws(e,!1);return null===t?null:(void 0===t.component&&(t.component=function(e,t){const n=t[1].data[e];return 2&n.flags?t[n.directiveStart]:null}(t.nodeIndex,t.lView)),t.component)}function qs(e){Xs(e);const t=Ws(e,!1);return null===t?null:t.lView[8]}function Ks(e){const t=Ws(e,!1);if(null===t)return null;let n,r=t.lView;for(;2===r[1].type&&(n=Bo(r));)r=n;return 512&r[2]?null:r[8]}function zs(e){return[...Uo(e).components]}function Ys(e){const t=Ws(e,!1);return null===t?is.NULL:new sr(t.lView[1].data[t.nodeIndex],t.lView)}function $s(e){const t=Ws(e);return void 0===t.directives&&(t.directives=Io(t.nodeIndex,t.lView,!1)),null===t.directives?[]:[...t.directives]}function Ws(e,t=!0){const n=Co(e);if(!n&&t)throw new Error("Invalid ng target");return n}function Zs(e){return Co(e).native}function Js(e){Xs(e);const t=Ws(e,!1);if(null===t)return[];const n=t.lView,r=n[7],o=n[1].cleanup,i=[];if(o&&r)for(let a=0;a<o.length;){const t=o[a++],s=o[a++];if("string"==typeof t){const c=t,l=Rt(n[s]),u=r[o[a++]],d=o[a++],h="boolean"==typeof d||d>=0?"dom":"output",m="boolean"==typeof d&&d;e==l&&i.push({element:e,name:c,callback:u,useCapture:m,type:h})}}return i.sort(Qs),i}function Qs(e,t){return e.name==t.name?0:e.name<t.name?-1:1}function Xs(e){if("undefined"!=typeof Element&&!(e instanceof Element))throw new Error("Expecting instance of DOM Element")}
548/**
549 * @license
550 * Copyright Google LLC All Rights Reserved.
551 *
552 * Use of this source code is governed by an MIT-style license that can be
553 * found in the LICENSE file at https://angular.io/license
554 */function ec(e){Hs(e),zs(e).forEach(e=>Us(e))}
555/**
556 * @license
557 * Copyright Google LLC All Rights Reserved.
558 *
559 * Use of this source code is governed by an MIT-style license that can be
560 * found in the LICENSE file at https://angular.io/license
561 */let tc=!1;function nc(){tc||(tc=!0,rc("getComponent",Gs),rc("getContext",qs),rc("getListeners",Js),rc("getOwningComponent",Ks),rc("getHostElement",Zs),rc("getInjector",Ys),rc("getRootComponents",zs),rc("getDirectives",$s),rc("applyChanges",ec))}function rc(e,t){if("undefined"==typeof COMPILED||!COMPILED){const n=te;if(n){let r=n.ng;r||(r=n.ng={}),r[e]=t}}}
562/**
563 * @license
564 * Copyright Google LLC All Rights Reserved.
565 *
566 * Use of this source code is governed by an MIT-style license that can be
567 * found in the LICENSE file at https://angular.io/license
568 */function oc(e,t={}){const n=t.rendererFactory||Dt,r=t.sanitizer||null,o=nt(e);
568o.type!=e&&(o.type=e);const i=o.selectors[0][0],a=mi(n.createRenderer(null,null),t.host||i,o.encapsulation),s=o.onPush?576:528,c=sc(t.scheduler,t.playerHandler),l=n.createRenderer(a,o),u=hi(0,null,null,1,0,null,null,null,null,null),d=ni(null,u,c,s,null,null,n,l,null,t.injector||null);let h;yn(d);try{n.begin&&n.begin(),h=ac(ic(a,o,d,n,l,r),o,d,c,t.hostFeatures||null),oi(u,d,null),ii(u,d,null,null)}finally{Sn(),n.end&&n.end()}return h}function ic(e,t,n,r,o,i){const a=n[1];n[20]=e;const s=ri(a,0,2,null,null),c=s.mergedAttrs=t.hostAttrs;null!==c&&(Bs(s,c,!0),null!==e&&(Fn(o,e,c),null!==s.classes&&ua(o,e,s.classes),null!==s.styles&&la(o,e,s.styles)));const l=r.createRenderer(e,t),u=ni(n,di(t),null,t.onPush?64:16,n[20],s,r,l,i||null,null);return a.firstCreatePass&&(Qn($n(s,n),a,t.type),Si(a,s),Ei(s,n.length,1)),Ri(n,u),n[20]=u}function ac(e,t,n,r,o){const i=n[1],a=function(e,t,n){const r=Xt();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),wi(e,r,1),ki(e,t,n));const o=or(t,e,t.length-1,r);_o(o,t);const i=Nt(r,t);return i&&_o(i,t),o}(i,n,t);r.components.push(a),e[8]=a,o&&o.forEach(e=>e(a,t)),t.contentQueries&&t.contentQueries(1,a,n.length-1);const s=Xt();if(i.firstCreatePass&&(null!==t.hostBindings||null!==t.hostAttrs)){kn(s.index-20);const e=n[1];vi(e,t),bi(e,n,t.hostVars),Ci(t,a)}return a}function sc(e,t){return{components:[],scheduler:e||gt,clean:Vi,playerHandler:t||null,flags:0}}
568function cc(e,t){const n=Bt(e)[1],r=n.data.length-1;An(n,{directiveStart:r,directiveEnd:r+1})}function lc(e){return Uo(e).clean}
569/**
570 * @license
571 * Copyright Google LLC All Rights Reserved.
572 *
573 * Use of this source code is governed by an MIT-style license that can be
574 * found in the LICENSE file at https://angular.io/license
575 */function uc(e){return Object.getPrototypeOf(e.prototype).constructor}function dc(e){let t=uc(e.type),n=!0;const r=[e];for(;t;){let o=void 0;if(ht(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Error("Directives cannot inherit Components");o=t.\u0275dir}if(o){if(n){r.push(o);const t=e;t.inputs=hc(e.inputs),t.declaredInputs=hc(e.declaredInputs),t.outputs=hc(e.outputs);const n=o.hostBindings;n&&fc(e,n);const i=o.viewQuery,a=o.contentQueries;if(i&&mc(e,i),a&&pc(e,a),R(e.inputs,o.inputs),R(e.declaredInputs,o.declaredInputs),R(e.outputs,o.outputs),ht(o)&&o.data.animation){const t=e.data;t.animation=(t.animation||[]).concat(o.data.animation)}}const t=o.features;if(t)for(let r=0;r<t.length;r++){const o=t[r];o&&o.ngInherit&&o(e),o===dc&&(n=!1)}}t=Object.getPrototypeOf(t)}!function(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){const o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=Bn(o.hostAttrs,n=Bn(n,o.hostAttrs))}}(r)}function hc(e){return e===Ge?{}:e===qe?[]:e}function mc(e,t){const n=e.viewQuery;e.viewQuery=n?(e,r)=>{t(e,r),n(e,r)}:t}function pc(e,t){const n=e.contentQueries;e.contentQueries=n?(e,r,o)=>{t(e,r,o),n(e,r,o)}:t}function fc(e,t){const n=e.hostBindings;e.hostBindings=n?(e,r)=>{t(e,r),n(e,r)}:t}
576/**
577 * @license
578 * Copyright Google LLC All Rights Reserved.
579 *
580 * Use of this source code is governed by an MIT-style license that can be
581 * found in the LICENSE file at https://angular.io/license
582 */const gc=["providersResolver"],yc=["template","decls","consts","vars","onPush","ngContentSelectors","styles","encapsulation","schemas"];function vc(e){let t=uc(e.type),n=void 0;n=ht(e)?t.\u0275cmp:t.\u0275dir;const r=e;for(const o of gc)r[o]=n[o];if(ht(n))for(const o of yc)r[o]=n[o]}
583/**
584 * @license
585 * Copyright Google LLC All Rights Reserved.
586 *
587 * Use of this source code is governed by an MIT-style license that can be
588 * found in the LICENSE file at https://angular.io/license
589 */let bc=null;function Cc(){if(!bc){const e=te.Symbol;if(e&&e.iterator)bc=e.iterator;else{const e=Object.getOwnPropertyNames(Map.prototype);for(let t=0;t<e.length;++t){const n=e[t];"entries"!==n&&"size"!==n&&Map.prototype[n]===Map.prototype.entries&&(bc=n)}}}return bc}
590/**
591 * @license
592 * Copyright Google LLC All Rights Reserved.
593 *
594 * Use of this source code is governed by an MIT-style license that can be
595 * found in the LICENSE file at https://angular.io/license
596 */function wc(e,t){const n=_c(e),r=_c(t);if(n&&r)return function(e,t,n){const r=e[Cc()](),o=t[Cc()]();for(;;){const e=r.next(),t=o.next();if(e.done&&t.done)return!0;if(e.done||t.done)return!1;if(!n(e.value,t.value))return!1}}(e,t,wc);{const o=e&&("object"==typeof e||"function"==typeof e),i=t&&("object"==typeof t||"function"==typeof t);return!(n||!o||r||!i)||Object.is(e,t)}}class Sc{constructor(e){this.wrapped=e}static wrap(e){return new Sc(e)}static unwrap(e){return Sc.isWrapped(e)?e.wrapped:e}static isWrapped(e){return e instanceof Sc}}function _c(e){return!!Ec(e)&&(Array.isArray(e)||!(e instanceof Map)&&Cc()in e)}function Ec(e){return null!==e&&("function"==typeof e||"object"==typeof e)}
597/**
598 * @license
599 * Copyright Google LLC All Rights Reserved.
600 *
601 * Use of this source code is governed by an MIT-style license that can be
602 * found in the LICENSE file at https://angular.io/license
603 */function kc(e,t,n){return e[t]=n}function xc(e,t){return e[t]}function Ic(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Oc(e,t,n,r){const o=Ic(e,t,n);return Ic(e,t+1,r)||o}function Tc(e,t,n,r,o){const i=Oc(e,t,n,r);return Ic(e,t+2,o)||i}function Ac(e,t,n,r,o,i){const a=Oc(e,t,n,r);return Oc(e,t+2,o,i)||a}
604/**
605 * @license
606 * Copyright Google LLC All Rights Reserved.
607 *
608 * Use of this source code is governed by an MIT-style license that can be
609 * found in the LICENSE file at https://angular.io/license
610 */function Pc(e,t,n,r){const o=Zt();return Ic(o,ln(),t)&&(Jt(),Ii(xn(),o,e,t,n,r)),Pc}
611/**
612 * @license
613 * Copyright Google LLC All Rights Reserved.
614 *
615 * Use of this source code is governed by an MIT-style license that can be
616 * found in the LICENSE file at https://angular.io/license
617 */function Dc(e,t){let n=!1,r=sn();for(let i=1;i<t.length;i+=2)n=Ic(e,r++,t[i])||n;if(cn(r),!n)return Vo;let o=t[0];for(let i=1;i<t.length;i+=2)o+=pt(t[i])+t[i+1];return o}function Rc(e,t,n,r){return Ic(e,ln(),n)?t+pt(n)+r:Vo}function Mc(e,t,n,r,o,i){const a=Oc(e,sn(),n,o);return un(2),a?t+pt(n)+r+pt(o)+i:Vo}function Nc(e,t,n,r,o,i,a,s){const c=Tc(e,sn(),n,o,a);return un(3),c?t+pt(n)+r+pt(o)+i+pt(a)+s:Vo}function jc(e,t,n,r,o,i,a,s,c,l){const u=Ac(e,sn(),n,o,a,c);return un(4),u?t+pt(n)+r+pt(o)+i+pt(a)+s+pt(c)+l:Vo}function Fc(e,t,n,r,o,i,a,s,c,l,u,d){const h=sn();let m=Ac(e,h,n,o,a,c);
617return m=Ic(e,h+4,u)||m,un(5),m?t+pt(n)+r+pt(o)+i+pt(a)+s+pt(c)+l+pt(u)+d:Vo}function Lc(e,t,n,r,o,i,a,s,c,l,u,d,h,m){const p=sn();let f=Ac(e,p,n,o,a,c);return f=Oc(e,p+4,u,h)||f,un(6),f?t+pt(n)+r+pt(o)+i+pt(a)+s+pt(c)+l+pt(u)+d+pt(h)+m:Vo}function Vc(e,t,n,r,o,i,a,s,c,l,u,d,h,m,p,f){const g=sn();let y=Ac(e,g,n,o,a,c);return y=Tc(e,g+4,u,h,p)||y,un(7),y?t+pt(n)+r+pt(o)+i+pt(a)+s+pt(c)+l+pt(u)+d+pt(h)+m+pt(p)+f:Vo}function Bc(e,t,n,r,o,i,a,s,c,l,u,d,h,m,p,f,g,y){const v=sn();let b=Ac(e,v,n,o,a,c);return b=Ac(e,v+4,u,h,p,g)||b,un(8),b?t+pt(n)+r+pt(o)+i+pt(a)+s+pt(c)+l+pt(u)+d+pt(h)+m+pt(p)+f+pt(g)+y:Vo}function Uc(e,t,n,r,o,i){const a=Zt(),s=Rc(a,t,n,r);return s!==Vo&&Ii(xn(),a,e,s,o,i),Uc}function Hc(e,t,n,r,o,i,a,s){const c=Zt(),l=Mc(c,t,n,r,o,i);return l!==Vo&&Ii(xn(),c,e,l,a,s),Hc}function Gc(e,t,n,r,o,i,a,s,c,l){const u=Zt(),d=Nc(u,t,n,r,o,i,a,s);return d!==Vo&&Ii(xn(),u,e,d,c,l),Gc}function qc(e,t,n,r,o,i,a,s,c,l,u,d){const h=Zt(),m=jc(h,t,n,r,o,i,a,s,c,l);return m!==Vo&&Ii(xn(),h,e,m,u,d),qc}function Kc(e,t,n,r,o,i,a,s,c,l,u,d,h,m){const p=Zt(),f=Fc(p,t,n,r,o,i,a,s,c,l,u,d);return f!==Vo&&Ii(xn(),p,e,f,h,m),Kc}function zc(e,t,n,r,o,i,a,s,c,l,u,d,h,m,p,f){const g=Zt(),y=Lc(g,t,n,r,o,i,a,s,c,l,u,d,h,m);return y!==Vo&&Ii(xn(),g,e,y,p,f),zc}function Yc(e,t,n,r,o,i,a,s,c,l,u,d,h,m,p,f,g,y){const v=Zt(),b=Vc(v,t,n,r,o,i,a,s,c,l,u,d,h,m,p,f);return b!==Vo&&Ii(xn(),v,e,b,g,y),Yc}function $c(e,t,n,r,o,i,a,s,c,l,u,d,h,m,p,f,g,y,v,b){const C=Zt(),w=Bc(C,t,n,r,o,i,a,s,c,l,u,d,h,m,p,f,g,y);return w!==Vo&&Ii(xn(),C,e,w,v,b),$c}function Wc(e,t,n,r){const o=Zt(),i=Dc(o,t);return i!==Vo&&Ii(xn(),o,e,i,n,r),Wc}
618/**
619 * @license
620 * Copyright Google LLC All Rights Reserved.
621 *
622 * Use of this source code is governed by an MIT-style license that can be
623 * found in the LICENSE file at https://angular.io/license
624 */function Zc(e,t,n,r,o,i,a,s){const c=Zt(),l=Jt(),u=e+20,d=l.firstCreatePass?function(e,t,n,r,o,i,a,s,c){const l=t.consts,u=ri(t,e,0,a||null,Gt(l,s));yi(t,n,u,Gt(l,c)),An(t,u);const d=u.tViews=hi(2,u,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,l);return null!==t.queries&&(t.queries.template(t,u),d.queries=t.queries.embeddedTView(u)),u}(e,l,c,t,n,r,o,i,a):l.data[u];en(d,!1);const h=c[11].createComment("");ra(l,c,h,d),_o(h,c),Ri(c,c[u]=Ai(h,c,h,d)),dt(d)&&li(l,c,d),null!=a&&ui(c,d,s)}
625/**
626 * @license
627 * Copyright Google LLC All Rights Reserved.
628 *
629 * Use of this source code is governed by an MIT-style license that can be
630 * found in the LICENSE file at https://angular.io/license
631 */function Jc(e,t,n,r){const o=n+20;o>=e.data.length&&(e.data[o]=null,e.blueprint[o]=null),t[o]=r}function Qc(e){return Ft(zt.lFrame.contextLView,e)}
632/**
633 * @license
634 * Copyright Google LLC All Rights Reserved.
635 *
636 * Use of this source code is governed by an MIT-style license that can be
637 * found in the LICENSE file at https://angular.io/license
638 */function Xc(e,t=P.Default){const n=Zt();return null===n?we(e,t):er(Xt(),n,W(e),t)}function el(e){return Xn(Xt(),e)}function tl(){throw new Error("invalid")}
639/**
640 * @license
641 * Copyright Google LLC All Rights Reserved.
642 *
643 * Use of this source code is governed by an MIT-style license that can be
644 * found in the LICENSE file at https://angular.io/license
645 */function nl(e,t,n){const r=Zt();return Ic(r,ln(),t)&&gi(Jt(),xn(),r,e,t,r[11],n,!1),nl}function rl(e,t,n,r,o){const i=o?"class":"style";Gi(e,n,t.inputs[i],i,r)}
646/**
647 * @license
648 * Copyright Google LLC All Rights Reserved.
649 *
650 * Use of this source code is governed by an MIT-style license that can be
651 * found in the LICENSE file at https://angular.io/license
652 */function ol(e,t,n,r){const o=Zt(),i=Jt(),a=20+e,s=o[11],c=o[a]=ti(t,s,zt.lFrame.currentNamespace),l=i.firstCreatePass?function(e,t,n,r,o,i,a){const s=t.consts,c=ri(t,e,2,o,Gt(s,i));return yi(t,n,c,Gt(s,a)),null!==c.attrs&&Bs(c,c.attrs,!1),null!==c.mergedAttrs&&Bs(c,c.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,c),c}(e,i,o,0,t,n,r):i.data[a];en(l,!0);const u=l.mergedAttrs;null!==u&&Fn(s,c,u);const d=l.classes;null!==d&&ua(s,c,d);const h=l.styles;null!==h&&la(s,c,h),ra(i,o,c,l),0===zt.lFrame.elementDepthCount&&_o(c,o),zt.lFrame.elementDepthCount++,dt(l)&&(li(i,o,l),ci(i,l,o)),null!==r&&ui(o,l)}function il(){let e=Xt();tn()?nn():(e=e.parent,en(e,!1));const t=e;zt.lFrame.elementDepthCount--;const n=Jt();n.firstCreatePass&&(An(n,e),lt(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function(e){return 0!=(16&e.flags)}(t)&&rl(n,t,Zt(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function(e){return 0!=(32&e.flags)}
653/**
654 * @license
655 * Copyright Google LLC All Rights Reserved.
656 *
657 * Use of this source code is governed by an MIT-style license that can be
658 * found in the LICENSE file at https://angular.io/license
659 */(t)&&rl(n,t,Zt(),t.stylesWithoutHost,!1)}function al(e,t,n,r){ol(e,t,n,r),il()}function sl(e,t,n){const r=Zt(),o=Jt(),i=e+20,a=o.firstCreatePass?
660/**
661 * @license
662 * Copyright Google LLC All Rights Reserved.
663 *
664 * Use of this source code is governed by an MIT-style license that can be
665 * found in the LICENSE file at https://angular.io/license
666 */
667function(e,t,n,r,o){const i=t.consts,a=Gt(i,r),s=ri(t,e,3,"ng-container",a);return null!==a&&Bs(s,a,!0),yi(t,n,s,Gt(i,o)),null!==t.queries&&t.queries.elementStart(t,s),s}(e,o,r,t,n):o.data[i];en(a,!0);const s=r[i]=r[11].createComment("");ra(o,r,s,a),_o(s,r),dt(a)&&(li(o,r,a),ci(o,a,r)),null!=n&&ui(r,a)}function cl(){let e=Xt();const t=Jt();tn()?nn():(e=e.parent,en(e,!1)),t.firstCreatePass&&(An(t,e),lt(e)&&t.queries.elementEnd(e))}function ll(e,t,n){sl(e,t,n),cl()}function ul(){return Zt()}
668/**
669 * @license
670 * Copyright Google LLC All Rights Reserved.
671 *
672 * Use of this source code is governed by an MIT-style license that can be
673 * found in the LICENSE file at https://angular.io/license
674 */function dl(e){return!!e&&"function"==typeof e.then}function hl(e){return!!e&&"function"==typeof e.subscribe}
675/**
676 * @license
677 * Copyright Google LLC All Rights Reserved.
678 *
679 * Use of this source code is governed by an MIT-style license that can be
680 * found in the LICENSE file at https://angular.io/license
681 */function ml(e,t,n=!1,r){const o=Zt(),i=Jt(),a=Xt();return fl(i,o,o[11],a,e,t,n,r),ml}function pl(e,t,n=!1,r){const o=Xt(),i=Zt(),a=Jt();return fl(a,i,Ui(mn(a.data),o,i),o,e,t,n,r),pl}function fl(e,t,n,r,o,i,a=!1,s){const c=dt(r),l=e.firstCreatePass&&(e.cleanup||(e.cleanup=[])),u=
681Bi(t);let d=!0;if(2===r.type){const h=Nt(r,t),m=s?s(h):Ge,p=m.target||h,f=u.length,g=s?e=>s(Rt(e[r.index])).target:r.index;if(Pt(n)){let a=null;if(!s&&c&&(a=function(e,t,n,r){const o=e.cleanup;if(null!=o)for(let i=0;i<o.length-1;i+=2){const e=o[i];if(e===n&&o[i+1]===r){const e=t[7],n=o[i+2];return e.length>n?e[n]:null}"string"==typeof e&&(i+=2)}return null}(e,t,o,r.index)),null!==a)(a.__ngLastListenerFn__||a).__ngNextListenerFn__=i,a.__ngLastListenerFn__=i,d=!1;else{i=yl(r,t,i,!1);const e=n.listen(m.name||p,o,i);u.push(i,e),l&&l.push(o,g,f,f+1)}}else i=yl(r,t,i,!0),p.addEventListener(o,i,a),u.push(i),l&&l.push(o,g,f,a)}const h=r.outputs;let m;if(d&&null!==h&&(m=h[o])){const e=m.length;if(e)for(let n=0;n<e;n+=2){const e=t[m[n]][m[n+1]].subscribe(i),a=u.length;u.push(i,e),l&&l.push(o,r.index,a,-(a+1))}}}function gl(e,t,n){try{return!1!==t(n)}catch(r){return Hi(e,r),!1}}function yl(e,t,n,r){return function o(i){if(i===Function)return n;const a=2&e.flags?Lt(e.index,t):t;0==(32&t[2])&&Mi(a);let s=gl(t,n,i),c=o.__ngNextListenerFn__;for(;c;)s=gl(t,c,i)&&s,c=c.__ngNextListenerFn__;return r&&!1===s&&(i.preventDefault(),i.returnValue=!1),s
682/**
683 * @license
684 * Copyright Google LLC All Rights Reserved.
685 *
686 * Use of this source code is governed by an MIT-style license that can be
687 * found in the LICENSE file at https://angular.io/license
688 */
689/**
690 * @license
691 * Copyright Google LLC All Rights Reserved.
692 *
693 * Use of this source code is governed by an MIT-style license that can be
694 * found in the LICENSE file at https://angular.io/license
695 */}}function vl(e=1){return _n(e)}
696/**
697 * @license
698 * Copyright Google LLC All Rights Reserved.
699 *
700 * Use of this source code is governed by an MIT-style license that can be
701 * found in the LICENSE file at https://angular.io/license
702 */function bl(e,t){let n=null;const r=function(e){const t=e.attrs;if(null!=t){const e=t.indexOf(5);if(0==(1&e))return t[e+1]}return null}(e);for(let o=0;o<t.length;o++){const i=t[o];if("*"!==i){if(null===r?No(e,i,!0):jo(r,i))return o}else n=o}return n}function Cl(e){const t=Zt()[16][6];if(!t.projection){const n=t.projection=Ne(e?e.length:1,null),r=n.slice();let o=t.child;for(;null!==o;){const t=e?bl(o,e):0;null!==t&&(r[t]?r[t].projectionNext=o:n[t]=o,r[t]=o),o=o.next}}}let wl=!1;function Sl(e){wl=e}function _l(e,t=0,n){const r=Zt(),o=Jt(),i=ri(o,e,1,null,n||null);null===i.projection&&(i.projection=t),nn(),wl||sa(o,r,i)}function El(e,t,n){return kl(e,"",t,"",n),El}function kl(e,t,n,r,o){const i=Zt(),a=Rc(i,t,n,r);return a!==Vo&&gi(Jt(),xn(),i,e,a,i[11],o,!1),kl}function xl(e,t,n,r,o,i,a){const s=Zt(),c=Mc(s,t,n,r,o,i);return c!==Vo&&gi(Jt(),xn(),s,e,c,s[11],a,!1),xl}function Il(e,t,n,r,o,i,a,s,c){const l=Zt(),u=Nc(l,t,n,r,o,i,a,s);return u!==Vo&&gi(Jt(),xn(),l,e,u,l[11],c,!1),Il}function Ol(e,t,n,r,o,i,a,s,c,l,u){const d=Zt(),h=jc(d,t,n,r,o,i,a,s,c,l);return h!==Vo&&gi(Jt(),xn(),d,e,h,d[11],u,!1),Ol}function Tl(e,t,n,r,o,i,a,s,c,l,u,d,h){const m=Zt(),p=Fc(m,t,n,r,o,i,a,s,c,l,u,d);return p!==Vo&&gi(Jt(),xn(),m,e,p,m[11],h,!1),Tl}function Al(e,t,n,r,o,i,a,s,c,l,u,d,h,m,p){const f=Zt(),g=Lc(f,t,n,r,o,i,a,s,c,l,u,d,h,m);return g!==Vo&&gi(Jt(),xn(),f,e,g,f[11],p,!1),Al}function Pl(e,t,n,r,o,i,a,s,c,l,u,d,h,m,p,f,g){const y=Zt(),v=Vc(y,t,n,r,o,i,a,s,c,l,u,d,h,m,p,f);return v!==Vo&&gi(Jt(),xn(),y,e,v,y[11],g,!1),Pl}function Dl(e,t,n,r,o,i,a,s,c,l,u,d,h,m,p,f,g,y,v){const b=Zt(),C=Bc(b,t,n,r,o,i,a,s,c,l,u,d,h,m,p,f,g,y);return C!==Vo&&gi(Jt(),xn(),b,e,C,b[11],v,!1),Dl}function Rl(e,t,n){const r=Zt(),o=Dc(r,t);return o!==Vo&&gi(Jt(),xn(),r,e,o,r[11],n,!1),Rl}
703/**
704 * @license
705 * Copyright Google LLC All Rights Reserved.
706 *
707 * Use of this source code is governed by an MIT-style license that can be
708 * found in the LICENSE file at https://angular.io/license
709 */const Ml=[];function Nl(e,t,n,r,o){const i=e[n+1],a=null===t;let s=r?$o(i):Zo(i),c=!1;for(;0!==s&&(!1===c||a);){const n=e[s+1];jl(e[s],t)&&(c=!0,e[s+1]=r?Qo(n):Wo(n)),s=r?$o(n):Zo(n)}c&&(e[n+1]=r?Wo(i):Qo(i))}function jl(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Le(e,t)>=0}
710/**
711 * @license
712 * Copyright Google LLC All Rights Reserved.
713 *
714 * Use of this source code is governed by an MIT-style license that can be
715 * found in the LICENSE file at https://angular.io/license
716 */const Fl={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0}
716;function Ll(e){return e.substring(Fl.key,Fl.keyEnd)}function Vl(e){return e.substring(Fl.value,Fl.valueEnd)}function Bl(e,t){const n=Fl.textEnd;return n===t?-1:(t=Fl.keyEnd=function(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,Fl.key=t,n),Gl(e,t,n))}function Ul(e,t){const n=Fl.textEnd;let r=Fl.key=Gl(e,t,n);return n===r?-1:(r=Fl.keyEnd=function(e,t,n){let r;for(;t<n&&(45===(r=e.charCodeAt(t))||95===r||(-33&r)>=65&&(-33&r)<=90||r>=48&&r<=57);)t++;return t}(e,r,n),r=ql(e,r,n),r=Fl.value=Gl(e,r,n),r=Fl.valueEnd=function(e,t,n){let r=-1,o=-1,i=-1,a=t,s=a;for(;a<n;){const c=e.charCodeAt(a++);if(59===c)return s;34===c||39===c?s=a=Kl(e,c,a,n):t===a-4&&85===i&&82===o&&76===r&&40===c?s=a=Kl(e,41,a,n):c>32&&(s=a),i=o,o=r,r=-33&c}return s}(e,r,n),ql(e,r,n))}function Hl(e){Fl.key=0,Fl.keyEnd=0,Fl.value=0,Fl.valueEnd=0,Fl.textEnd=e.length}function Gl(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function ql(e,t,n,r){return(t=Gl(e,t,n))<n&&t++,t}function Kl(e,t,n,r){let o=-1,i=n;for(;i<r;){const n=e.charCodeAt(i++);if(n==t&&92!==o)return i;o=92==n&&92===o?0:n}throw new Error}
717/**
718 * @license
719 * Copyright Google LLC All Rights Reserved.
720 *
721 * Use of this source code is governed by an MIT-style license that can be
722 * found in the LICENSE file at https://angular.io/license
723 */function zl(e,t,n){return Ql(e,t,n,!1),zl}function Yl(e,t){return Ql(e,t,null,!0),Yl}function $l(e){Xl(ou,Wl,e,!1)}function Wl(e,t){for(let n=function(e){return Hl(e),Ul(e,Gl(e,0,Fl.textEnd))}(t);n>=0;n=Ul(t,n))ou(e,Ll(t),Vl(t))}function Zl(e){Xl(je,Jl,e,!0)}function Jl(e,t){for(let n=function(e){return Hl(e),Bl(e,Gl(e,0,Fl.textEnd))}(t);n>=0;n=Bl(t,n))je(e,Ll(t),!0)}function Ql(e,t,n,r){const o=Zt(),i=Jt(),a=un(2);i.firstUpdatePass&&tu(i,e,a,r),t!==Vo&&Ic(o,a,t)&&iu(i,i.data[En()+20],o,o[11],e,o[a+1]=function(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=K(Sr(e)))),e}(t,n),r,a)}function Xl(e,t,n,r){const o=Jt(),i=un(2);o.firstUpdatePass&&tu(o,null,i,r);const a=Zt();if(n!==Vo&&Ic(a,i,n)){const s=o.data[En()+20];if(cu(s,r)&&!eu(o,i)){let e=r?s.classesWithoutHost:s.stylesWithoutHost;null!==e&&(n=z(e,n||"")),rl(o,s,a,n,r)}else!function(e,t,n,r,o,i,a,s){o===Vo&&(o=Ml);let c=0,l=0,u=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;null!==u||null!==d;){const h=c<o.length?o[c+1]:void 0,m=l<i.length?i[l+1]:void 0;let p=null,f=void 0;u===d?(c+=2,l+=2,h!==m&&(p=d,f=m)):null===d||null!==u&&u<d?(c+=2,p=u):(l+=2,p=d,f=m),null!==p&&iu(e,t,n,r,p,f,a,s),u=c<o.length?o[c]:null,d=l<i.length?i[l]:null}}(o,s,a,a[11],a[i+1],a[i+1]=function(e,t,n){if(null==n||""===n)return Ml;const r=[],o=Sr(n);if(Array.isArray(o))for(let i=0;i<o.length;i++)e(r,o[i],!0);else if("object"==typeof o)for(const i in o)o.hasOwnProperty(i)&&e(r,i,o[i]);else"string"==typeof o&&t(r,o);return r}(e,t,n),r,i)}}function eu(e,t){return t>=e.expandoStartIndex}function tu(e,t,n,r){const o=e.data;if(null===o[n+1]){const i=o[En()+20],a=eu(e,n);cu(i,r)&&null===t&&!a&&(t=!1),t=function(e,t,n,r){const o=mn(e);let i=r?t.residualClasses:t.residualStyles;if(null===o)0===(r?t.classBindings:t.styleBindings)&&(n=ru(n=nu(null,e,t,n,r),t.attrs,r),i=null);else{const a=t.directiveStylingLast;if(-1===a||e[a]!==o)if(n=nu(o,e,t,n,r),null===i){let n=function(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==Zo(r))return e[$o(r)]}(e,t,r);void 0!==n&&Array.isArray(n)&&(n=nu(null,e,t,n[1],r),n=ru(n,t.attrs,r),function(e,t,n,r){e[$o(n?t.classBindings:t.styleBindings)]=r}(e,t,r,n))}else i=function(e,t,n){let r=void 0;const o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++)r=ru(r,e[i].hostAttrs,n);return ru(r,t.attrs,n)}(e,t,r)}return void 0!==i&&(r?t.residualClasses=i:t.residualStyles=i),n}(o,i,t,r),function(e,t,n,r,o,i){let a=i?t.classBindings:t.styleBindings,s=$o(a),c=Zo(a);e[r]=n;let l,u=!1;if(Array.isArray(n)){const e=n;l=e[1],(null===l||Le(e,l)>0)&&(u=!0)}else l=n;if(o)if(0!==c){const t=$o(e[s+1]);e[r+1]=Yo(t,s),0!==t&&(e[t+1]=Jo(e[t+1],r)),e[s+1]=131071&e[s+1]|r<<17}else e[r+1]=Yo(s,0),0!==s&&(e[s+1]=Jo(e[s+1],r)),s=r;else e[r+1]=Yo(c,0),0===s?s=r:e[c+1]=Jo(e[c+1],r),c=r;u&&(e[r+1]=Wo(e[r+1])),Nl(e,l,r,!0),Nl(e,l,r,!1),function(e,t,n,r,o){const i=o?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof t&&Le(i,t)>=0&&(n[r+1]=Qo(n[r+1]))}(t,l,e,r,i),a=Yo(s,c),i?t.classBindings=a:t.styleBindings=a}(o,i,t,n,a,r)}}function nu(e,t,n,r,o){let i=null;const a=n.directiveEnd;let s=n.directiveStylingLast;
723for(-1===s?s=n.directiveStart:s++;s<a&&(i=t[s],r=ru(r,i.hostAttrs,o),i!==e);)s++;return null!==e&&(n.directiveStylingLast=s),r}function ru(e,t,n){const r=n?1:2;let o=-1;if(null!==t)for(let i=0;i<t.length;i++){const a=t[i];"number"==typeof a?o=a:o===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),je(e,a,!!n||t[++i]))}return void 0===e?null:e}function ou(e,t,n){je(e,t,Sr(n))}function iu(e,t,n,r,o,i,a,s){if(2!==t.type)return;const c=e.data,l=c[s+1];su(1==(1&l)?au(c,t,n,o,Zo(l),a):void 0)||(su(i)||2==(2&l)&&(i=au(c,null,n,o,s,a)),function(e,t,n,r,o){const i=Pt(e);if(t)o?i?e.addClass(n,r):n.classList.add(r):i?e.removeClass(n,r):n.classList.remove(r);else{const t=-1==r.indexOf("-")?void 0:2;null==o?i?e.removeStyle(n,r,t):n.style.removeProperty(r):i?e.setStyle(n,r,o,t):n.style.setProperty(r,o)}}(r,a,Mt(En(),n),o,i))}function au(e,t,n,r,o,i){const a=null===t;let s=void 0;for(;o>0;){const t=e[o],i=Array.isArray(t),c=i?t[1]:t,l=null===c;let u=n[o+1];u===Vo&&(u=l?Ml:void 0);let d=l?Fe(u,r):c===r?u:void 0;if(i&&!su(d)&&(d=Fe(t,r)),su(d)&&(s=d,a))return s;const h=e[o+1];o=a?$o(h):Zo(h)}if(null!==t){let e=i?t.residualClasses:t.residualStyles;null!=e&&(s=Fe(e,r))}return s}function su(e){return void 0!==e}function cu(e,t){return 0!=(e.flags&(t?16:32))}
724/**
725 * @license
726 * Copyright Google LLC All Rights Reserved.
727 *
728 * Use of this source code is governed by an MIT-style license that can be
729 * found in the LICENSE file at https://angular.io/license
730 */function lu(e,t=""){const n=Zt(),r=Jt(),o=e+20,i=r.firstCreatePass?ri(r,e,2,null,null):r.data[o],a=n[o]=zi(t,n[11]);ra(r,n,a,i),en(i,!1)}
731/**
732 * @license
733 * Copyright Google LLC All Rights Reserved.
734 *
735 * Use of this source code is governed by an MIT-style license that can be
736 * found in the LICENSE file at https://angular.io/license
737 */function uu(e){return du("",e,""),uu}function du(e,t,n){const r=Zt(),o=Rc(r,e,t,n);return o!==Vo&&qi(r,En(),o),du}function hu(e,t,n,r,o){const i=Zt(),a=Mc(i,e,t,n,r,o);return a!==Vo&&qi(i,En(),a),hu}function mu(e,t,n,r,o,i,a){const s=Zt(),c=Nc(s,e,t,n,r,o,i,a);return c!==Vo&&qi(s,En(),c),mu}function pu(e,t,n,r,o,i,a,s,c){const l=Zt(),u=jc(l,e,t,n,r,o,i,a,s,c);return u!==Vo&&qi(l,En(),u),pu}function fu(e,t,n,r,o,i,a,s,c,l,u){const d=Zt(),h=Fc(d,e,t,n,r,o,i,a,s,c,l,u);return h!==Vo&&qi(d,En(),h),fu}function gu(e,t,n,r,o,i,a,s,c,l,u,d,h){const m=Zt(),p=Lc(m,e,t,n,r,o,i,a,s,c,l,u,d,h);return p!==Vo&&qi(m,En(),p),gu}function yu(e,t,n,r,o,i,a,s,c,l,u,d,h,m,p){const f=Zt(),g=Vc(f,e,t,n,r,o,i,a,s,c,l,u,d,h,m,p);return g!==Vo&&qi(f,En(),g),yu}function vu(e,t,n,r,o,i,a,s,c,l,u,d,h,m,p,f,g){const y=Zt(),v=Bc(y,e,t,n,r,o,i,a,s,c,l,u,d,h,m,p,f,g);return v!==Vo&&qi(y,En(),v),vu}function bu(e){const t=Zt(),n=Dc(t,e);return n!==Vo&&qi(t,En(),n),bu}
738/**
739 * @license
740 * Copyright Google LLC All Rights Reserved.
741 *
742 * Use of this source code is governed by an MIT-style license that can be
743 * found in the LICENSE file at https://angular.io/license
744 */function Cu(e,t,n){Xl(je,Jl,Rc(Zt(),e,t,n),!0)}function wu(e,t,n,r,o){Xl(je,Jl,Mc(Zt(),e,t,n,r,o),!0)}function Su(e,t,n,r,o,i,a){Xl(je,Jl,Nc(Zt(),e,t,n,r,o,i,a),!0)}function _u(e,t,n,r,o,i,a,s,c){Xl(je,Jl,jc(Zt(),e,t,n,r,o,i,a,s,c),!0)}function Eu(e,t,n,r,o,i,a,s,c,l,u){Xl(je,Jl,Fc(Zt(),e,t,n,r,o,i,a,s,c,l,u),!0)}function ku(e,t,n,r,o,i,a,s,c,l,u,d,h){Xl(je,Jl,Lc(Zt(),e,t,n,r,o,i,a,s,c,l,u,d,h),!0)}function xu(e,t,n,r,o,i,a,s,c,l,u,d,h,m,p){Xl(je,Jl,Vc(Zt(),e,t,n,r,o,i,a,s,c,l,u,d,h,m,p),!0)}function Iu(e,t,n,r,o,i,a,s,c,l,u,d,h,m,p,f,g){Xl(je,Jl,Bc(Zt(),e,t,n,r,o,i,a,s,c,l,u,d,h,m,p,f,g),!0)}function Ou(e){Xl(je,Jl,Dc(Zt(),e),!0)}
745/**
746 * @license
747 * Copyright Google LLC All Rights Reserved.
748 *
749 * Use of this source code is governed by an MIT-style license that can be
750 * found in the LICENSE file at https://angular.io/license
751 */function Tu(e,t,n){$l(Rc(Zt(),e,t,n))}function Au(e,t,n,r,o){$l(Mc(Zt(),e,t,n,r,o))}function Pu(e,t,n,r,o,i,a){$l(Nc(Zt(),e,t,n,r,o,i,a))}function Du(e,t,n,r,o,i,a,s,c){$l(jc(Zt(),e,t,n,r,o,i,a,s,c))}function Ru(e,t,n,r,o,i,a,s,c,l,u){$l(Fc(Zt(),e,t,n,r,o,i,a,s,c,l,u))}function Mu(e,t,n,r,o,i,a,s,c,l,u,d,h){$l(Lc(Zt(),e,t,n,r,o,i,a,s,c,l,u,d,h))}function Nu(e,t,n,r,o,i,a,s,c,l,u,d,h,m,p){$l(Vc(Zt(),e,t,n,r,o,i,a,s,c,l,u,d,h,m,p))}function ju(e,t,n,r,o,i,a,s,c,l,u,d,h,m,p,f,g){$l(Bc(Zt(),e,t,n,r,o,i,a,s,c,l,u,d,h,m,p,f,g))}function Fu(e){$l(Dc(Zt(),e))}
752/**
753 * @license
754 * Copyright Google LLC All Rights Reserved.
755 *
756 * Use of this source code is governed by an MIT-style license that can be
757 * found in the LICENSE file at https://angular.io/license
758 */function Lu(e,t,n,r,o){return Ql(e,Rc(Zt(),t,n,r),o,!1),Lu}function Vu(e,t,n,r,o,i,a){return Ql(e,Mc(Zt(),t,n,r,o,i),a,!1),Vu}
758function Bu(e,t,n,r,o,i,a,s,c){return Ql(e,Nc(Zt(),t,n,r,o,i,a,s),c,!1),Bu}function Uu(e,t,n,r,o,i,a,s,c,l,u){return Ql(e,jc(Zt(),t,n,r,o,i,a,s,c,l),u,!1),Uu}function Hu(e,t,n,r,o,i,a,s,c,l,u,d,h){return Ql(e,Fc(Zt(),t,n,r,o,i,a,s,c,l,u,d),h,!1),Hu}function Gu(e,t,n,r,o,i,a,s,c,l,u,d,h,m,p){return Ql(e,Lc(Zt(),t,n,r,o,i,a,s,c,l,u,d,h,m),p,!1),Gu}function qu(e,t,n,r,o,i,a,s,c,l,u,d,h,m,p,f,g){return Ql(e,Vc(Zt(),t,n,r,o,i,a,s,c,l,u,d,h,m,p,f),g,!1),qu}function Ku(e,t,n,r,o,i,a,s,c,l,u,d,h,m,p,f,g,y,v){return Ql(e,Bc(Zt(),t,n,r,o,i,a,s,c,l,u,d,h,m,p,f,g,y),v,!1),Ku}function zu(e,t,n){return Ql(e,Dc(Zt(),t),n,!1),zu}
759/**
760 * @license
761 * Copyright Google LLC All Rights Reserved.
762 *
763 * Use of this source code is governed by an MIT-style license that can be
764 * found in the LICENSE file at https://angular.io/license
765 */function Yu(e,t,n){const r=Zt();return Ic(r,ln(),t)&&gi(Jt(),xn(),r,e,t,r[11],n,!0),Yu}function $u(e,t,n){const r=Zt();if(Ic(r,ln(),t)){const o=Jt(),i=xn();gi(o,i,r,e,t,Ui(mn(o.data),i,r),n,!0)}return $u}
766/**
767 * @license
768 * Copyright Google LLC All Rights Reserved.
769 *
770 * Use of this source code is governed by an MIT-style license that can be
771 * found in the LICENSE file at https://angular.io/license
772 */
773/**
774 * @license
775 * Copyright Google LLC All Rights Reserved.
776 *
777 * Use of this source code is governed by an MIT-style license that can be
778 * found in the LICENSE file at https://angular.io/license
779 */const Wu=void 0;var Zu=["en",[["a","p"],["AM","PM"],Wu],[["AM","PM"],Wu,Wu],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Wu,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Wu,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Wu,"{1} 'at' {0}",Wu],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}];
780/**
781 * @license
782 * Copyright Google LLC All Rights Reserved.
783 *
784 * Use of this source code is governed by an MIT-style license that can be
785 * found in the LICENSE file at https://angular.io/license
786 */let Ju={};function Qu(e,t,n){"string"!=typeof t&&(n=t,t=e[od.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),Ju[t]=e,n&&(Ju[t][od.ExtraData]=n)}function Xu(e){const t=function(e){return e.toLowerCase().replace(/_/g,"-")}
787/**
788 * @license
789 * Copyright Google LLC All Rights Reserved.
790 *
791 * Use of this source code is governed by an MIT-style license that can be
792 * found in the LICENSE file at https://angular.io/license
793 */(e);let n=nd(t);if(n)return n;const r=t.split("-")[0];if(n=nd(r),n)return n;if("en"===r)return Zu;throw new Error(`Missing locale data for the locale "${e}".`)}function ed(e){return Xu(e)[od.CurrencyCode]||null}function td(e){return Xu(e)[od.PluralCase]}function nd(e){return e in Ju||(Ju[e]=te.ng&&te.ng.common&&te.ng.common.locales&&te.ng.common.locales[e]),Ju[e]}function rd(){Ju={}}var od=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}({});const id=["zero","one","two","few","many"],ad="en-US",sd="USD",cd={marker:"element"},ld={marker:"comment"};
794/**
795 * @license
796 * Copyright Google LLC All Rights Reserved.
797 *
798 * Use of this source code is governed by an MIT-style license that can be
799 * found in the LICENSE file at https://angular.io/license
800 */let ud=ad;function dd(e){var t,n;n="Expected localeId to be defined",null==(t=e)&&function(e,t,n,r){throw new Error("ASSERTION ERROR: "+e+` [Expected=> null != ${t} <=Actual]`)}(n,t),"string"==typeof e&&(ud=e.toLowerCase().replace(/_/g,"-"))}
801/**
802 * @license
803 * Copyright Google LLC All Rights Reserved.
804 *
805 * Use of this source code is governed by an MIT-style license that can be
806 * found in the LICENSE file at https://angular.io/license
807 */const hd=[];let md=-1,pd=0,fd=0;function gd(e,t,n,r){const o=r[11];let i=null,a=null;const s=[];for(let c=0;c<n.length;c++){const l=n[c];if("string"==typeof l){const t=zi(l,o),u=n[++c];a=i,i=Sd(e,r,u,2,t,null),s.push(u),nn()}else if("number"==typeof l)switch(7&l){case 1:const o=l>>>17;let u;u=o===t?r[6]:jt(e,o),a=Cd(e,i,u,a,r);break;case 0:const d=l>=0,h=(d?l:~l)>>>3;s.push(h),a=i,i=jt(e,h),i&&en(i,d);break;case 5:a=i=jt(e,l>>>3),en(i,!1);break;case 4:const m=n[++c],p=n[++c];Ii(jt(e,l>>>
8073),r,m,p,null,null);break;default:throw new Error(`Unable to determine the type of mutate operation for "${l}"`)}else switch(l){case ld:const t=n[++c],u=n[++c],d=o.createComment(t);a=i,i=Sd(e,r,u,4,d,null),s.push(u),_o(d,r),nn();break;case cd:const h=n[++c],m=n[++c];a=i,i=Sd(e,r,m,2,o.createElement(h),h),s.push(m);break;default:throw new Error(`Unable to determine the type of mutate operation for "${l}"`)}}return nn(),s}function yd(e,t,n,r,o,i){let a=!1;for(let s=0;s<r.length;s++){const c=r[s],l=r[++s];if(c&i){let i="";for(let c=s+1;c<=s+l;c++){const s=r[c];if("string"==typeof s)i+=s;else if("number"==typeof s)if(s<0)i+=pt(n[o-s]);else{const l=s>>>2;switch(3&s){case 1:const s=r[++c],u=r[++c];gi(e,jt(e,l),n,s,i,n[11],u,!1);break;case 0:qi(n,l,i);break;case 2:a=bd(e,t,r[++c],n,i);break;case 3:vd(e,t,r[++c],o,n,a)}}}}s+=l}}function vd(e,t,n,r,o,i){const a=t[n],s=o[a.currentCaseLViewIndex];null!==s&&yd(e,t,o,a.update[s],r,i?-1:pd)}function bd(e,t,n,r,o){!function e(t,n,r,o){const i=n[r],a=o[i.currentCaseLViewIndex];if(null!==a){const r=i.remove[a];for(let i=0;i<r.length;i++){const a=r[i],s=a>>>3;switch(7&a){case 3:wd(t,o,s,!1);break;case 6:e(t,n,s,o)}}}}(e,t,n,r);let i=!1;const a=t[n],s=function(e,t){let n=e.cases.indexOf(t);if(-1===n)switch(e.type){case 1:{const r=function(e,t){const n=td(t)(parseInt(e,10)),r=id[n];return void 0!==r?r:"other"}(t,ud);n=e.cases.indexOf(r),-1===n&&"other"!==r&&(n=e.cases.indexOf("other"));break}case 0:n=e.cases.indexOf("other")}return n}
808/**
809 * @license
810 * Copyright Google LLC All Rights Reserved.
811 *
812 * Use of this source code is governed by an MIT-style license that can be
813 * found in the LICENSE file at https://angular.io/license
814 */(a,o);return r[a.currentCaseLViewIndex]=-1!==s?s:null,s>-1&&(gd(e,-1,a.create[s],r),i=!0),i}function Cd(e,t,n,r,o){const i=t.next;r||(r=n),r===n&&t!==n.child?(t.next=n.child,null===t.parent?e.firstChild=t:n.child=t):r!==n&&t!==r.next?(t.next=r.next,r.next=t):t.next=null,n!==o[6]&&(t.parent=n);let a=t.next;for(;a;)a.next===t&&(a.next=i),a=a.next;if(1===t.type)return sa(e,o,t),t;ra(e,o,Nt(t,o),t);const s=o[t.index];return 0!==t.type&&ct(s)&&ra(e,o,s[7],t),t}function wd(e,t,n,r){const o=jt(e,n),i=Mt(n,t);i&&oa(t[11],i);const a=Ft(t,n);if(ct(a)){const e=a;0!==o.type&&oa(t[11],e[7])}r&&o&&(o.flags|=64)}function Sd(e,t,n,r,o,i){const a=Xt();t[n+20]=o;const s=ri(e,n,r,i,null);return a&&a.next===s&&(a.next=null),s}
815/**
816 * @license
817 * Copyright Google LLC All Rights Reserved.
818 *
819 * Use of this source code is governed by an MIT-style license that can be
820 * found in the LICENSE file at https://angular.io/license
821 */const _d=/\ufffd(\d+):?\d*\ufffd/gi,Ed=/({\s*\ufffd\d+:?\d*\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi,kd=/\ufffd(\d+)\ufffd/,xd=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/;let Id;const Od=[],Td=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,Ad=/\ufffd(\/?[#*!]\d+):?\d*\ufffd/gi,Pd=/\uE500/g;function Dd(e,t,n,r=null){const o=[null,null],i=e.split(_d);let a=0;for(let s=0;s<i.length;s++){const e=i[s];if(1&s){const t=parseInt(e,10);o.push(-1-t),a|=Nd(t)}else""!==e&&o.push(e)}return o.push(t<<2|(n?1:0)),n&&o.push(n,r),o[0]=a,o[1]=o.length-2,o}function Rd(e,t=0){let n;t|=Nd(e.mainBinding);for(let r=0;r<e.values.length;r++){const o=e.values[r];for(let e=0;e<o.length;e++){const r=o[e];if("string"==typeof r)for(;n=_d.exec(r);)t|=Nd(parseInt(n[1],10));else t=Rd(r,t)}}return t}function Md(e){return e+Id++}function Nd(e){return 1<<Math.min(e,31)}function jd(e){return void 0===e}function Fd(e){let t,n,r="",o=0,i=!1;for(;null!==(t=Td.exec(e));)i?t[0]===`\ufffd/*${n}\ufffd`&&(o=t.index,i=!1):(r+=e.substring(o,t.index+t[0].length),n=t[1],i=!0);return r+=e.substr(o),r}function Ld(e,t,n,r){const o=[],i=[],a=[],s=[],c=[],l=t.values;for(let u=0;u<l.length;u++){const t=l[u],d=[];for(let e=0;e<t.length;e++){const n=t[e];if("string"!=typeof n){const r=d.push(n)-1;t[e]=`\x3c!--\ufffd${r}\ufffd--\x3e`}}const h=Bd(t.join(""),n,d,e,r);o.push(h.create),i.push(h.remove),a.push(h.update),s.push(h.vars),c.push(h.childIcus)}e.push({type:t.type,vars:s,currentCaseLViewIndex:20+r+1,childIcus:c,cases:t.cases,create:o,remove:i,update:a}),Id+=Math.max(...s)}function Vd(e){const t=[],n=[];let r=1,o=0;const i=Ud(e=e.replace(xd,(function(e,t,n){return r="select"===n?0:1,o=parseInt(t.substr(1),10),""})));for(let a=0;a<i.length;){let e=i[a++].trim();1===r&&(e=e.replace(/\s*(?:=)?(\w+)\s*/,"$1")),e.length&&t.push(e);const o=Ud(i[a++]);t.length>n.length&&n.push(o)}return{type:r,mainBinding:o,cases:t,values:n}}function Bd(e,t,n,r,o){const i=Mr(At()).getInertBodyElement(e);
821if(!i)throw new Error("Unable to generate inert body element");const a={vars:1,childIcus:[],create:[],remove:[],update:[]};return function e(t,n,r,o,i,a){if(t){const s=[];for(;t;){const c=t.nextSibling,l=a+ ++n.vars;switch(t.nodeType){case Node.ELEMENT_NODE:const c=t,u=c.tagName.toLowerCase();if(Yr.hasOwnProperty(u)){n.create.push(cd,u,l,r<<17|1);const s=c.attributes;for(let e=0;e<s.length;e++){const t=s.item(e),r=t.name.toLowerCase();t.value.match(_d)?Zr.hasOwnProperty(r)&&Ae($r[r]?Dd(t.value,l,t.name,Vr):Wr[r]?Dd(t.value,l,t.name,Br):Dd(t.value,l,t.name),n.update):n.create.push(l<<3|4,t.name,t.value)}e(t.firstChild,n,l,o,i,a),n.remove.push(l<<3|3)}else n.vars--;break;case Node.TEXT_NODE:const d=t.textContent||"",h=d.match(_d);n.create.push(h?"":d,l,r<<17|1),n.remove.push(l<<3|3),h&&Ae(Dd(d,l),n.update);break;case Node.COMMENT_NODE:const m=kd.exec(t.textContent||"");if(m){const e=parseInt(m[1],10);n.create.push(ld,"",l,r<<17|1),s.push([o[e],l])}else n.vars--;break;default:n.vars--}t=c}for(let e=0;e<s.length;e++){const t=s[e][0],r=s[e][1];Ld(i,t,r,a+n.vars);const o=i.length-1;n.vars+=Math.max(...i[o].vars),n.childIcus.push(o);const c=Rd(t);n.update.push(Nd(t.mainBinding),3,-1-t.mainBinding,r<<2|2,o,c,2,r<<2|3,o),n.remove.push(o<<3|6,r<<3|3)}}}
822/**
823 * @license
824 * Copyright Google LLC All Rights Reserved.
825 *
826 * Use of this source code is governed by an MIT-style license that can be
827 * found in the LICENSE file at https://angular.io/license
828 */((oo(i)||i).firstChild,a,t,n,r,o),a}function Ud(e){if(!e)return[];let t=0;const n=[],r=[],o=/[{}]/g;let i;for(o.lastIndex=0;i=o.exec(e);){const o=i.index;if("}"==i[0]){if(n.pop(),0==n.length){const n=e.substring(t,o);xd.test(n)?r.push(Vd(n)):r.push(n),t=o+1}}else{if(0==n.length){const n=e.substring(t,o);r.push(n),t=o+1}n.push("{")}}const a=e.substring(t);return r.push(a),r}const Hd=/\[(\ufffd.+?\ufffd?)\]/,Gd=/\[(\ufffd.+?\ufffd?)\]|(\ufffd\/?\*\d+:\d+\ufffd)/g,qd=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,Kd=/{([A-Z0-9_]+)}/g,zd=/\ufffdI18N_EXP_(ICU(_\d+)?)\ufffd/g,Yd=/\/\*/,$d=/\d+\:(\d+)/;function Wd(e,t={}){let n=e;if(Hd.test(e)){const e={},t=[0];n=n.replace(Gd,(n,r,o)=>{const i=r||o,a=e[i]||[];if(a.length||(i.split("|").forEach(e=>{const t=e.match($d),n=t?parseInt(t[1],10):0,r=Yd.test(e);a.push([n,r,e])}),e[i]=a),!a.length)throw new Error("i18n postprocess: unmatched placeholder - "+i);const s=t[t.length-1];let c=0;for(let e=0;e<a.length;e++)if(a[e][0]===s){c=e;break}const[l,u,d]=a[c];return u?t.pop():s!==l&&t.push(l),a.splice(c,1),d})}return Object.keys(t).length?(n=n.replace(qd,(e,n,r,o,i,a)=>t.hasOwnProperty(r)?`${n}${t[r]}${a}`:e),n=n.replace(Kd,(e,n)=>t.hasOwnProperty(n)?t[n]:e),n=n.replace(zd,(e,n)=>{if(t.hasOwnProperty(n)){const r=t[n];if(!r.length)throw new Error(`i18n postprocess: unmatched ICU - ${e} with key: ${n}`);return r.shift()}return e}),n):n}
829/**
830 * @license
831 * Copyright Google LLC All Rights Reserved.
832 *
833 * Use of this source code is governed by an MIT-style license that can be
834 * found in the LICENSE file at https://angular.io/license
835 */function Zd(e,t,n){const r=Jt(),o=Gt(r.consts,t);!function(e){hd[++md]=e}(e),Sl(!0),r.firstCreatePass&&null===r.data[e+20]&&function(e,t,n,r,o){const i=t.blueprint.length-20;Id=0;const a=Xt(),s=tn()?a:a&&a.parent;let c=s&&s!==e[6]?s.index-20:n,l=0;Od[l]=c;const u=[];if(n>0&&a!==s){let e=a.index-20;tn()||(e=~e),u.push(e<<3|0)}const d=[],h=[];if(""===r&&jd(o))u.push(r,Md(i),c<<17|1);else{const e=function(e,t){if(jd(t))return Fd(e);{const n=e.indexOf(`:${t}\ufffd`)+2+t.toString().length,r=e.search(new RegExp(`\ufffd\\/\\*\\d+:${t}\ufffd`));return Fd(e.substring(n,r))}}(r,o),t=(m=e,m.replace(Pd," ")).split(Ad);for(let n=0;n<t.length;n++){let r=t[n];if(1&n)if("/"===r.charAt(0)){if("#"===r.charAt(1)){const e=parseInt(r.substr(2),10);c=Od[--l],u.push(e<<3|5)}}else{const e=parseInt(r.substr(1),10),t="#"===r.charAt(0);u.push((t?e:~e)<<3|0,c<<17|1),t&&(Od[++l]=c=e)}else{const t=Ud(r);for(let n=0;n<t.length;n++)if(1&n){const r=t[n];if("object"!=typeof r)throw new Error(`Unable to parse ICU expression in "${e}" message.`);const o=Md(i);u.push(ld,"",o,c<<17|1);const a=Rd(r);Ld(h,r,o,o);const s=h.length-1;d.push(Nd(r.mainBinding),3,-1-r.mainBinding,o<<2|2,s,a,2,o<<2|3,s)}else if(""!==t[n]){const e=t[n],r=e.match(_d),o=Md(i);u.push(r?"":e,o,c<<17|1),r&&Ae(Dd(e,o),d)}}}}var m;Id>0&&function(e,t,n){if(n>0&&e.firstCreatePass){for(let r=0;r<n;r++)e.blueprint.push(null),e.data.push(null),t.push(null);e.expandoInstructions?e.expandoInstructions.push(n):e.expandoStartIndex+=n}}(t,e,Id),t.data[n+20]={vars:Id,create:u,update:d,icus:h.length?h:null}}(Zt(),r,e,o,n)}function Jd(){const e=Zt();(function(e,t){const n=hd[md--],r=e.data[n+20],o=Xt(),i=gd(e,n,r.create,t);let a=n+1;for(;null!==o&&a<=o.index-20;){-1===i.indexOf(a)&&wd(e,t,a,!0);const n=jt(e,a);!n||0!==n.type&&2!==n.type&&3!==n.type||null===n.localNames||(a+=n.localNames.length>>1),a++}})(Jt(),e),Sl(!1)}
835function Qd(e,t,n){Zd(e,t,n),Jd()}function Xd(e,t){const n=Zt(),r=Jt();!function(e,t,n,r){const o=Xt().index-20,i=[];for(let a=0;a<r.length;a+=2){const s=r[a],c=r[a+1].split(Ed);for(let r=0;r<c.length;r++){const a=c[r];if(1&r)throw new Error("ICU expressions are not yet supported in attributes");if(""!==a)if(a.match(_d))t.firstCreatePass&&null===t.data[n+20]&&Ae(Dd(a,o,s),i);else{const n=jt(t,o);2===n.type&&Ii(n,e,s,a,null,null);const r=null!==n.inputs&&n.inputs[s];r&&Gi(t,e,r,s,a)}}}t.firstCreatePass&&null===t.data[n+20]&&(t.data[n+20]=i)}(n,r,e,Gt(r.consts,t))}function eh(e){return Ic(Zt(),ln(),e)&&(pd|=1<<fd),fd++,eh}function th(e){!function(e,t,n){if(fd>0){const r=e.data[n+20];let o,i=null;Array.isArray(r)?o=r:(o=r.update,i=r.icus),yd(e,i,t,o,sn()-fd-1,pd),pd=0,fd=0}}(Jt(),Zt(),e)}function nh(e,t={}){return Wd(e,t)}
836/**
837 * @license
838 * Copyright Google LLC All Rights Reserved.
839 *
840 * Use of this source code is governed by an MIT-style license that can be
841 * found in the LICENSE file at https://angular.io/license
842 */
843/**
844 * @license
845 * Copyright Google LLC All Rights Reserved.
846 *
847 * Use of this source code is governed by an MIT-style license that can be
848 * found in the LICENSE file at https://angular.io/license
849 */function rh(e,t,n,r,o){if(e=W(e),Array.isArray(e))for(let i=0;i<e.length;i++)rh(e[i],t,n,r,o);else{const i=Jt(),a=Zt();let s=ns(e)?e:W(e.provide),c=Xa(e);const l=Xt(),u=1048575&l.providerIndexes,d=l.directiveStart,h=l.providerIndexes>>20;if(ns(e)||!e.multi){const r=new jn(c,o,Xc),m=ah(s,t,o?u:u+h,d);-1===m?(Qn($n(l,a),i,s),oh(i,e,t.length),t.push(s),l.directiveStart++,l.directiveEnd++,o&&(l.providerIndexes+=1048576),n.push(r),a.push(r)):(n[m]=r,a[m]=r)}else{const m=ah(s,t,u+h,d),p=ah(s,t,u,u+h),f=m>=0&&n[m],g=p>=0&&n[p];if(o&&!g||!o&&!f){Qn($n(l,a),i,s);const u=function(e,t,n,r,o){const i=new jn(e,n,Xc);return i.multi=[],i.index=t,i.componentProviders=0,ih(i,o,r&&!n),i}(o?ch:sh,n.length,o,r,c);!o&&g&&(n[p].providerFactory=u),oh(i,e,t.length,0),t.push(s),l.directiveStart++,l.directiveEnd++,o&&(l.providerIndexes+=1048576),n.push(u),a.push(u)}else oh(i,e,m>-1?m:p,ih(n[o?p:m],c,!o&&r));!o&&r&&g&&n[p].componentProviders++}}}function oh(e,t,n,r){const o=ns(t);if(o||t.useClass){const i=(t.useClass||t).prototype.ngOnDestroy;if(i){const a=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){const e=a.indexOf(n);-1===e?a.push(n,[r,i]):a[e+1].push(r,i)}else a.push(n,i)}}}function ih(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function ah(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function sh(e,t,n,r){return lh(this.multi,[])}function ch(e,t,n,r){const o=this.multi;let i;if(this.providerFactory){const e=this.providerFactory.componentProviders,t=or(n,n[1],this.providerFactory.index,r);i=t.slice(0,e),lh(o,i);for(let n=e;n<t.length;n++)i.push(t[n])}else i=[],lh(o,i);return i}function lh(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function uh(e,t=[]){return n=>{n.providersResolver=(n,r)=>function(e,t,n){const r=Jt();if(r.firstCreatePass){const o=ht(e);rh(n,r.data,r.blueprint,o,!0),rh(t,r.data,r.blueprint,o,!1)}}(n,r?r(e):e,t)}}
850/**
851 * @license
852 * Copyright Google LLC All Rights Reserved.
853 *
854 * Use of this source code is governed by an MIT-style license that can be
855 * found in the LICENSE file at https://angular.io/license
856 */class dh{}class hh{}
857/**
858 * @license
859 * Copyright Google LLC All Rights Reserved.
860 *
861 * Use of this source code is governed by an MIT-style license that can be
862 * found in the LICENSE file at https://angular.io/license
863 */function mh(e){const t=Error(`No component factory found for ${K(e)}. Did you add it to @NgModule.entryComponents?`);return t[ph]=e,t}const ph="ngComponent";class fh{resolveComponentFactory(e){throw mh(e)}}let gh=(()=>{class e{}return e.NULL=new fh,e})();class yh{constructor(e,t,n){this._parent=t,this._ngModule=n,this._factories=new Map;for(let r=0;r<e.length;r++){const t=e[r];this._factories.set(t.componentType,t)}}resolveComponentFactory(e){let t=this._factories.get(e);if(!t&&this._parent&&(t=this._parent.resolveComponentFactory(e)),!t)throw mh(e);return new vh(t,this._ngModule)}}class vh extends hh{constructor(e,t){super(),this.factory=e,this.ngModule=t,this.selector=e.selector,this.componentType=e.componentType,this.ngContentSelectors=e.ngContentSelectors,this.inputs=e.inputs,this.outputs=e.outputs}create(e,t,n,r){return this.factory.create(e,t,n,r||this.ngModule)}}
864/**
865 * @license
866 * Copyright Google LLC All Rights Reserved.
867 *
868 * Use of this source code is governed by an MIT-style license that can be
869 * found in the LICENSE file at https://angular.io/license
870 */let bh=(()=>{class e{constructor(e){this.nativeElement=e}}return e.__NG_ELEMENT_ID__=()=>wh(e),e})();const Ch=function(e){return ga(e,Xt(),Zt())},wh=Ch;class Sh{}var _h=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}({});let Eh=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>xh(),e})();const kh=function(){const e=Zt(),t=Lt(Xt().index,e);return function(e){const t=e[11];if(Pt(t))return t;throw new Error("Cannot inject Renderer2 when the application uses Renderer3!")}(st(t)?t:e)},xh=kh;let Ih=(()=>{class e{}return e.\u0275prov=M({token:e,providedIn:"root",factory:()=>null}),e})();
871/**
872 * @license
873 * Copyright Google LLC All Rights Reserved.
874 *
875 * Use of this source code is governed by an MIT-style license that can be
876 * found in the LICENSE file at https://angular.io/license
877 */class Oh{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}const Th=new Oh("10.2.5");
878/**
879 * @license
880 * Copyright Google LLC All Rights Reserved.
881 *
882 * Use of this source code is governed by an MIT-style license that can be
883 * found in the LICENSE file at https://angular.io/license
884 */class Ah{constructor(){}supports(e){return _c(e)}create(e){return new Dh(e)}}const Ph=(e,t)=>t;class Dh{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||Ph}forEachItem(e){let t;for(t=this._itHead;null!==t;t=t._next)e(t)}forEachOperation(e){let t=this._itHead,n=this._removalsHead,r=0,o=null;for(;t||n;
vendor: 6,139 bytes, line 884
884){const i=!n||t&&t.currentIndex<jh(n,r,o)?t:n,a=jh(i,r,o),s=i.currentIndex;if(i===n)r--,n=n._nextRemoved;else if(t=t._next,null==i.previousIndex)r++;else{o||(o=[]);const e=a-r,t=s-r;if(e!=t){for(let n=0;n<e;n++){const r=n<o.length?o[n]:o[n]=0,i=r+n;t<=i&&i<e&&(o[n]=r+1)}o[i.previousIndex]=t-e}}a!==s&&e(i,a,s)}}forEachPreviousItem(e){let t;for(t=this._previousItHead;null!==t;t=t._nextPrevious)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}forEachMovedItem(e){let t;for(t=this._movesHead;null!==t;t=t._nextMoved)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}forEachIdentityChange(e){let t;for(t=this._identityChangesHead;null!==t;t=t._nextIdentityChange)e(t)}diff(e){if(null==e&&(e=[]),!_c(e))throw new Error(`Error trying to diff '${K(e)}'. Only arrays and iterables are allowed`);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t,n,r,o=this._itHead,i=!1;if(Array.isArray(e)){this.length=e.length;for(let t=0;t<this.length;t++)n=e[t],r=this._trackByFn(t,n),null!==o&&Object.is(o.trackById,r)?(i&&(o=this._verifyReinsertion(o,n,r,t)),Object.is(o.item,n)||this._addIdentityChange(o,n)):(o=this._mismatch(o,n,r,t),i=!0),o=o._next}else t=0,function(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Cc()]();let r;for(;!(r=n.next()).done;)t(r.value)}}(e,e=>{r=this._trackByFn(t,e),null!==o&&Object.is(o.trackById,r)?(i&&(o=this._verifyReinsertion(o,e,r,t)),Object.is(o.item,e)||this._addIdentityChange(o,e)):(o=this._mismatch(o,e,r,t),i=!0),o=o._next,t++}),this.length=t;return this._truncate(o),this.collection=e,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,t,n,r){let o;return null===e?o=this._itTail:(o=e._prev,this._remove(e)),null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,o,r)):null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,o,r)):e=this._addAfter(new Rh(t,n),o,r),e}_verifyReinsertion(e,t,n,r){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==o?e=this._reinsertAfter(o,e._prev,r):e.currentIndex!=r&&(e.currentIndex=r,this._addToMoves(e,r)),e}_truncate(e){for(;null!==e;){const t=e._next;this._addToRemovals(this._unlink(e)),e=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,t,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);const r=e._prevRemoved,o=e._nextRemoved;return null===r?this._removalsHead=o:r._nextRemoved=o,null===o?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(e,t,n),this._addToMoves(e,n),e}_moveAfter(e,t,n){return this._unlink(e),this._insertAfter(e,t,n),this._addToMoves(e,n),e}_addAfter(e,t,n){return this._insertAfter(e,t,n),this._additionsTail=null===this._additionsTail?this._additionsHead=e:this._additionsTail._nextAdded=e,e}_insertAfter(e,t,n){const r=null===t?this._itHead:t._next;return e._next=r,e._prev=t,null===r?this._itTail=e:r._prev=e,null===t?this._itHead=e:t._next=e,null===this._linkedRecords&&(this._linkedRecords=new Nh),this._linkedRecords.put(e),e.currentIndex=n,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);const t=e._prev,n=e._next;return null===t?this._itHead=n:t._next=n,null===n?this._itTail=t:n._prev=t,e}_addToMoves(e,t){return e.previousIndex===t||(this._movesTail=null===this._movesTail?this._movesHead=e:this._movesTail._nextMoved=e),e}_addToRemovals(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Nh),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,t){return e.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=e:this._identityChangesTail._nextIdentityChange=e,e}}class Rh{constructor(e,t){this.item=e,this.trackById=t,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class Mh{constructor(){this._head=null,this._tail=null}add(e){null===this._head?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,t){let n;for(n=this._head;null!==n;n=n._nextDup)if((null===t||t<=n.currentIndex)&&Object.is(n.trackById,e))return n;return null}remove(e){const t=e._prevDup,n=e._nextDup;return null===t?this._head=n:t._nextDup=n,null===n?this._tail=t:n._prevDup=t,null===this._head}}class Nh{constructor(){this.map=new Map}put(e){const t=e.trackById;let n=this.map.get(t);n||(n=new Mh,this.map.set(t,n)),n.add(e)}get(e,t){const n=this.map.get(e);return n?n.get(e,t):null}remove(e){const t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}
vendor: 6,428 bytes, lines 884-912
884function jh(e,t,n){const r=e.previousIndex;if(null===r)return r;let o=0;return n&&r<n.length&&(o=n[r]),r+t+o}
885/**
886 * @license
887 * Copyright Google LLC All Rights Reserved.
888 *
889 * Use of this source code is governed by an MIT-style license that can be
890 * found in the LICENSE file at https://angular.io/license
891 */class Fh{constructor(){}supports(e){return e instanceof Map||Ec(e)}create(){return new Lh}}class Lh{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(e){let t;for(t=this._mapHead;null!==t;t=t._next)e(t)}forEachPreviousItem(e){let t;for(t=this._previousMapHead;null!==t;t=t._nextPrevious)e(t)}forEachChangedItem(e){let t;for(t=this._changesHead;null!==t;t=t._nextChanged)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}diff(e){if(e){if(!(e instanceof Map||Ec(e)))throw new Error(`Error trying to diff '${K(e)}'. Only maps and objects are allowed`)}else e=new Map;return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t=this._mapHead;if(this._appendAfter=null,this._forEach(e,(e,n)=>{if(t&&t.key===n)this._maybeAddToChanges(t,e),this._appendAfter=t,t=t._next;else{const r=this._getOrCreateRecordForKey(n,e);t=this._insertBeforeOrAppend(t,r)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let e=t;null!==e;e=e._nextRemoved)e===this._mapHead&&(this._mapHead=null),this._records.delete(e.key),e._nextRemoved=e._next,e.previousValue=e.currentValue,e.currentValue=null,e._prev=null,e._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,t){if(e){const n=e._prev;return t._next=e,t._prev=n,e._prev=t,n&&(n._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(e,t){if(this._records.has(e)){const n=this._records.get(e);this._maybeAddToChanges(n,t);const r=n._prev,o=n._next;return r&&(r._next=o),o&&(o._prev=r),n._next=null,n._prev=null,n}const n=new Vh(e);return this._records.set(e,n),n.currentValue=t,this._addToAdditions(n),n}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;null!==e;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;null!=e;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,t){Object.is(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))}_addToAdditions(e){null===this._additionsHead?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){null===this._changesHead?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach(n=>t(e[n],n))}}class Vh{constructor(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}let Bh=(()=>{class e{constructor(e){this.factories=e}static create(t,n){if(null!=n){const e=n.factories.slice();t=t.concat(e)}return new e(t)}static extend(t){return{provide:e,useFactory:n=>{if(!n)throw new Error("Cannot extend IterableDiffers without a parent injector");return e.create(t,n)},deps:[[e,new I,new k]]}}find(e){const t=this.factories.find(t=>t.supports(e));if(null!=t)return t;throw new Error(`Cannot find a differ supporting object '${e}' of type '${n=e,n.name||typeof n}'`);var n}}return e.\u0275prov=M({token:e,providedIn:"root",factory:()=>new e([new Ah])}),e})(),Uh=(()=>{class e{constructor(e){this.factories=e}static create(t,n){if(n){const e=n.factories.slice();t=t.concat(e)}return new e(t)}static extend(t){return{provide:e,useFactory:n=>{if(!n)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return e.create(t,n)},deps:[[e,new I,new k]]}}find(e){const t=this.factories.find(t=>t.supports(e));if(t)return t;throw new Error(`Cannot find a differ supporting object '${e}'`)}}return e.\u0275prov=M({token:e,providedIn:"root",factory:()=>new e([new Fh])}),e})();
892/**
893 * @license
894 * Copyright Google LLC All Rights Reserved.
895 *
896 * Use of this source code is governed by an MIT-style license that can be
897 * found in the LICENSE file at https://angular.io/license
898 */const Hh=[new Fh],Gh=new Bh([new Ah]),qh=new Uh(Hh);let Kh=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>Yh(e,bh),e})();const zh=function(e,t){return ya(e,t,Xt(),Zt())},Yh=zh;let $h=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>Zh(e,bh),e})();const Wh=function(e,t){return va(e,t,Xt(),Zt())},Zh=Wh;
899/**
900 * @license
901 * Copyright Google LLC All Rights Reserved.
902 *
903 * Use of this source code is governed by an MIT-style license that can be
904 * found in the LICENSE file at https://angular.io/license
905 */function Jh(e,t,n,r){let o=`ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '${t}'. Current value: '${n}'.`;return r&&(o+=" 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 ?"),function(e,t){const n=new Error(e);return Qh(n,t),n}(o,e)}function Qh(e,t){e.ngDebugContext=t,e.ngErrorLogger=t.logError.bind(t)}function Xh(e){return new Error("ViewDestroyedError: Attempt to use a destroyed view: "+e)}
906/**
907 * @license
908 * Copyright Google LLC All Rights Reserved.
909 *
910 * Use of this source code is governed by an MIT-style license that can be
911 * found in the LICENSE file at https://angular.io/license
912 */function em(e,t,n){const r=e.state,o=1792&r;return o===t?(e.state=-1793&r|n,e.initIndex=-1,!0):o===n}function tm(e,t,n){return(1792&e.state)===t&&e.initIndex<=n&&(e.initIndex=n+1,!0)}
912function nm(e,t){return e.nodes[t]}function rm(e,t){return e.nodes[t]}function om(e,t){return e.nodes[t]}function im(e,t){return e.nodes[t]}function am(e,t){return e.nodes[t]}class sm{}const cm={setCurrentNode:void 0,createRootView:void 0,createEmbeddedView:void 0,createComponentView:void 0,createNgModuleRef:void 0,overrideProvider:void 0,overrideComponentView:void 0,clearOverrides:void 0,checkAndUpdateView:void 0,checkNoChangesView:void 0,destroyView:void 0,resolveDep:void 0,createDebugContext:void 0,handleEvent:void 0,updateDirectives:void 0,updateRenderer:void 0,dirtyParentQueries:void 0},lm=()=>{},um=new Map;
913/**
914 * @license
915 * Copyright Google LLC All Rights Reserved.
916 *
917 * Use of this source code is governed by an MIT-style license that can be
918 * found in the LICENSE file at https://angular.io/license
919 */function dm(e){let t=um.get(e);return t||(t=K(e)+"_"+um.size,um.set(e,t)),t}function hm(e,t,n,r){if(Sc.isWrapped(r)){r=Sc.unwrap(r);const o=e.def.nodes[t].bindingIndex+n,i=Sc.unwrap(e.oldValues[o]);e.oldValues[o]=new Sc(i)}return r}function mm(e){return{id:"$$undefined",styles:e.styles,encapsulation:e.encapsulation,data:e.data}}let pm=0;function fm(e,t,n,r){return!(!(2&e.state)&&Object.is(e.oldValues[t.bindingIndex+n],r))}function gm(e,t,n,r){return!!fm(e,t,n,r)&&(e.oldValues[t.bindingIndex+n]=r,!0)}function ym(e,t,n,r){const o=e.oldValues[t.bindingIndex+n];if(1&e.state||!wc(o,r)){const i=t.bindings[n].name;throw Jh(cm.createDebugContext(e,t.nodeIndex),`${i}: ${o}`,`${i}: ${r}`,0!=(1&e.state))}}function vm(e){let t=e;for(;t;)2&t.def.flags&&(t.state|=8),t=t.viewContainerParent||t.parent}function bm(e,t){let n=e;for(;n&&n!==t;)n.state|=64,n=n.viewContainerParent||n.parent}function Cm(e,t,n,r){try{return vm(33554432&e.def.nodes[t].flags?rm(e,t).componentView:e),cm.handleEvent(e,t,n,r)}catch(o){e.root.errorHandler.handleError(o)}}function wm(e){return e.parent?rm(e.parent,e.parentNodeDef.nodeIndex):null}function Sm(e){return e.parent?e.parentNodeDef.parent:null}function _m(e,t){switch(201347067&t.flags){case 1:return rm(e,t.nodeIndex).renderElement;case 2:return nm(e,t.nodeIndex).renderText}}function Em(e){return!!e.parent&&!!(32768&e.parentNodeDef.flags)}function km(e){return!(!e.parent||32768&e.parentNodeDef.flags)}function xm(e){return 1<<e%32}function Im(e){const t={};let n=0;const r={};return e&&e.forEach(([e,o])=>{"number"==typeof e?(t[e]=o,n|=xm(e)):r[e]=o}),{matchedQueries:t,references:r,matchedQueryIds:n}}function Om(e,t){return e.map(e=>{let n,r;return Array.isArray(e)?[r,n]=e:(r=0,n=e),n&&("function"==typeof n||"object"==typeof n)&&t&&Object.defineProperty(n,"__source",{value:t,configurable:!0}),{flags:r,token:n,tokenKey:dm(n)}})}function Tm(e,t,n){let r=n.renderParent;return r?0==(1&r.flags)||0==(33554432&r.flags)||r.element.componentRendererType&&r.element.componentRendererType.encapsulation===He.Native?rm(e,n.renderParent.nodeIndex).renderElement:void 0:t}const Am=new WeakMap;function Pm(e){let t=Am.get(e);return t||(t=e(()=>lm),t.factory=e,Am.set(e,t)),t}function Dm(e,t,n,r,o){3===t&&(n=e.renderer.parentNode(_m(e,e.def.lastRenderRootNode))),Rm(e,t,0,e.def.nodes.length-1,n,r,o)}function Rm(e,t,n,r,o,i,a){for(let s=n;s<=r;s++){const n=e.def.nodes[s];11&n.flags&&Nm(e,n,t,o,i,a),s+=n.childCount}}function Mm(e,t,n,r,o,i){let a=e;for(;a&&!Em(a);)a=a.parent;const s=a.parent,c=Sm(a),l=c.nodeIndex+c.childCount;for(let u=c.nodeIndex+1;u<=l;u++){const e=s.def.nodes[u];e.ngContentIndex===t&&Nm(s,e,n,r,o,i),u+=e.childCount}if(!s.parent){const a=e.root.projectableNodes[t];if(a)for(let t=0;t<a.length;t++)jm(e,a[t],n,r,o,i)}}function Nm(e,t,n,r,o,i){if(8&t.flags)Mm(e,t.ngContent.index,n,r,o,i);else{const a=_m(e,t);if(3===n&&33554432&t.flags&&48&t.bindingFlags?(16&t.bindingFlags&&jm(e,a,n,r,o,i),32&t.bindingFlags&&jm(rm(e,t.nodeIndex).componentView,a,n,r,o,i)):jm(e,a,n,r,o,i),16777216&t.flags){const a=rm(e,t.nodeIndex).viewContainer._embeddedViews;for(let e=0;e<a.length;e++)Dm(a[e],n,r,o,i)}1&t.flags&&!t.element.name&&Rm(e,n,t.nodeIndex+1,t.nodeIndex+t.childCount,r,o,i)}}function jm(e,t,n,r,o,i){const a=e.renderer;switch(n){case 1:a.appendChild(r,t);break;case 2:a.insertBefore(r,t,o);break;case 3:a.removeChild(r,t);break;case 0:i.push(t)}}const Fm=/^:([^:]+):(.+)$/;function Lm(e){if(":"===e[0]){const t=e.match(Fm);return[t[1],t[2]]}return["",e]}function Vm(e){let t=0;for(let n=0;n<e.length;n++)t|=e[n].flags;return t}function Bm(e,t){let n="";for(let r=0;r<2*e;r+=2)n=n+t[r]+Hm(t[r+1]);return n+t[2*e]}function Um(e,t,n,r,o,i,a,s,c,l,u,d,h,m,p,f,g,y,v,b){switch(e){case 1:return t+Hm(n)+r;case 2:return t+Hm(n)+r+Hm(o)+i;case 3:return t+Hm(n)+r+Hm(o)+i+Hm(a)+s;case 4:return t+Hm(n)+r+Hm(o)+i+Hm(a)+s+Hm(c)+l;case 5:return t+Hm(n)+r+Hm(o)+i+Hm(a)+s+Hm(c)+l+Hm(u)+d;case 6:return t+Hm(n)+r+Hm(o)+i+Hm(a)+s+Hm(c)+l+Hm(u)+d+Hm(h)+m;case 7:return t+Hm(n)+r+Hm(o)+i+Hm(a)+s+Hm(c)+l+Hm(u)+d+Hm(h)+m+Hm(p)+f;case 8:return t+Hm(n)+r+Hm(o)+i+Hm(a)+s+Hm(c)+l+Hm(u)+d+Hm(h)+m+Hm(p)+f+Hm(g)+y;case 9:return t+Hm(n)+r+Hm(o)+i+Hm(a)+s+Hm(c)+l+Hm(u)+d+Hm(h)+m+Hm(p)+f+Hm(g)+y+Hm(v)+b;default:throw new Error("Does not support more than 9 expressions")}}function Hm(e){return null!=e?e.toString():""}const Gm=[],qm={},Km={},zm=dm(is),Ym=dm(he),$m=dm(Oe);function Wm(e,t,n,r){return n=W(n),{index:-1,deps:Om(r,K(t)),flags:e,token:t,value:n}}function Zm(e){const t={},n=[];let r=null;for(let o=0;o<e.length;o++){const i=e[o];i.token===Ga&&(r=i.value),1073741824&i.flags&&n.push(i.token),i.index=o,t[dm(i.token)]=i}return{factory:null,providersByKey:t,providers:e,modules:n,scope:r}}function Jm(e,t,n=is.THROW_IF_NOT_FOUND){const r=ve(e);try{if(8&t.flags)return t.token;if(2&t.flags&&(n=null),1&t.flags)return e._parent.get(t.token,n);const o=t.tokenKey;switch(o){case zm:case Ym:case $m:return e}const i=e._def.providersByKey[o];let a;if(i){let t=e._providers[i.index];return void 0===t&&(t=e._providers[i.index]=Qm(e,i)),t===Km?void 0:t}if((a=F(t.token))&&function(e,t){const n=t.providedIn;return null!=n&&("any"===n||n===e._def.scope||function(e,t){return e._def.modules.indexOf(t)>-1}(e,n))}(e,a)){const n=e._providers.length;return e._def.providers[n]=e._def.providersByKey[t.tokenKey]={flags:5120,value:a.factory,deps:[],index:n,token:t.token},e._providers[n]=Km,e._providers[n]=Qm(e,e._def.providersByKey[t.tokenKey])}return 4&t.flags?n:e._parent.get(t.token,n)}finally{ve(r)}}function Qm(e,t){let n;switch(201347067&t.flags){case 512:n=function(e,t,n){const r=n.length;switch(r){case 0:return new t;case 1:return new t(Jm(e,n[0]));case 2:return new t(Jm(e,n[0]),Jm(e,n[1]));case 3:return new t(Jm(e,n[0]),Jm(e,n[1]),Jm(e,n[2]));default:const o=[];for(let t=0;t<r;t++)o[t]=Jm(e,n[t]);return new t(...o)}}(e,t.value,t.deps);break;case 1024:n=function(e,t,n){const r=n.length;switch(r){case 0:return t();
vendor: 7,511 bytes, lines 919-933
919case 1:return t(Jm(e,n[0]));case 2:return t(Jm(e,n[0]),Jm(e,n[1]));case 3:return t(Jm(e,n[0]),Jm(e,n[1]),Jm(e,n[2]));default:const o=[];for(let t=0;t<r;t++)o[t]=Jm(e,n[t]);return t(...o)}}(e,t.value,t.deps);break;case 2048:n=Jm(e,t.deps[0]);break;case 256:n=t.value}return n===Km||null===n||"object"!=typeof n||131072&t.flags||"function"!=typeof n.ngOnDestroy||(t.flags|=131072),void 0===n?Km:n}function Xm(e,t){const n=e.viewContainer._embeddedViews;if((null==t||t>=n.length)&&(t=n.length-1),t<0)return null;const r=n[t];return r.viewContainerParent=null,Me(n,t),cm.dirtyParentQueries(r),tp(r),r}function ep(e,t,n){const r=t?_m(t,t.def.lastRenderRootNode):e.renderElement,o=n.renderer.parentNode(r),i=n.renderer.nextSibling(r);Dm(n,2,o,i,void 0)}function tp(e){Dm(e,3,null,null,void 0)}
920/**
921 * @license
922 * Copyright Google LLC All Rights Reserved.
923 *
924 * Use of this source code is governed by an MIT-style license that can be
925 * found in the LICENSE file at https://angular.io/license
926 */const np={};function rp(e,t,n,r,o,i){return new ip(e,t,n,r,o,i)}function op(e){return e.viewDefFactory}class ip extends hh{constructor(e,t,n,r,o,i){super(),this.selector=e,this.componentType=t,this._inputs=r,this._outputs=o,this.ngContentSelectors=i,this.viewDefFactory=n}get inputs(){const e=[],t=this._inputs;for(let n in t)e.push({propName:n,templateName:t[n]});return e}get outputs(){const e=[];for(let t in this._outputs)e.push({propName:t,templateName:this._outputs[t]});return e}create(e,t,n,r){if(!r)throw new Error("ngModule should be provided");const o=Pm(this.viewDefFactory),i=o.nodes[0].element.componentProvider.nodeIndex,a=cm.createRootView(e,t||[],n,o,r,np),s=om(a,i).instance;return n&&a.renderer.setAttribute(rm(a,0).renderElement,"ng-version",Th.full),new ap(a,new up(a),s)}}class ap extends dh{constructor(e,t,n){super(),this._view=e,this._viewRef=t,this._component=n,this._elDef=this._view.def.nodes[0],this.hostView=t,this.changeDetectorRef=t,this.instance=n}get location(){return new bh(rm(this._view,this._elDef.nodeIndex).renderElement)}get injector(){return new pp(this._view,this._elDef)}get componentType(){return this._component.constructor}destroy(){this._viewRef.destroy()}onDestroy(e){this._viewRef.onDestroy(e)}}function sp(e,t,n){return new cp(e,t,n)}class cp{constructor(e,t,n){this._view=e,this._elDef=t,this._data=n,this._embeddedViews=[]}get element(){return new bh(this._data.renderElement)}get injector(){return new pp(this._view,this._elDef)}get parentInjector(){let e=this._view,t=this._elDef.parent;for(;!t&&e;)t=Sm(e),e=e.parent;return e?new pp(e,t):new pp(this._view,null)}clear(){for(let e=this._embeddedViews.length-1;e>=0;e--){const t=Xm(this._data,e);cm.destroyView(t)}}get(e){const t=this._embeddedViews[e];if(t){const e=new up(t);return e.attachToViewContainerRef(this),e}return null}get length(){return this._embeddedViews.length}createEmbeddedView(e,t,n){const r=e.createEmbeddedView(t||{});return this.insert(r,n),r}createComponent(e,t,n,r,o){const i=n||this.parentInjector;o||e instanceof vh||(o=i.get(Oe));const a=e.create(i,r,void 0,o);return this.insert(a.hostView,t),a}insert(e,t){if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");const n=e;
927/**
928 * @license
929 * Copyright Google LLC All Rights Reserved.
930 *
931 * Use of this source code is governed by an MIT-style license that can be
932 * found in the LICENSE file at https://angular.io/license
933 */return function(e,t,n,r){let o=t.viewContainer._embeddedViews;null==n&&(n=o.length),r.viewContainerParent=e,Re(o,n,r),function(e,t){const n=wm(t);if(!n||n===e||16&t.state)return;t.state|=16;let r=n.template._projectedViews;r||(r=n.template._projectedViews=[]),r.push(t),function(e,t){if(4&t.flags)return;e.nodeFlags|=4,t.flags|=4;let n=t.parent;for(;n;)n.childFlags|=4,n=n.parent}(t.parent.def,t.parentNodeDef)}(t,r),cm.dirtyParentQueries(r),ep(t,n>0?o[n-1]:null,r)}(this._view,this._data,t,n._view),n.attachToViewContainerRef(this),e}move(e,t){if(e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");const n=this._embeddedViews.indexOf(e._view);return function(e,t,n){const r=e.viewContainer._embeddedViews,o=r[t];Me(r,t),null==n&&(n=r.length),Re(r,n,o),cm.dirtyParentQueries(o),tp(o),ep(e,n>0?r[n-1]:null,o)}(this._data,n,t),e}indexOf(e){return this._embeddedViews.indexOf(e._view)}remove(e){const t=Xm(this._data,e);t&&cm.destroyView(t)}detach(e){const t=Xm(this._data,e);return t?new up(t):null}}function lp(e){return new up(e)}class up{constructor(e){this._view=e,this._viewContainerRef=null,this._appRef=null}get rootNodes(){return function(e){const t=[];return Dm(e,0,void 0,void 0,t),t}(this._view)}get context(){return this._view.context}get destroyed(){return 0!=(128&this._view.state)}markForCheck(){vm(this._view)}detach(){this._view.state&=-5}detectChanges(){const e=this._view.root.rendererFactory;e.begin&&e.begin();try{cm.checkAndUpdateView(this._view)}finally{e.end&&e.end()}}checkNoChanges(){cm.checkNoChangesView(this._view)}reattach(){this._view.state|=4}onDestroy(e){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(e)}destroy(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),cm.destroyView(this._view)}detachFromAppRef(){this._appRef=null,tp(this._view),cm.dirtyParentQueries(this._view)}attachToAppRef(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e}attachToViewContainerRef(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e}}function dp(e,t){return new hp(e,t)}class hp extends Kh{constructor(e,t){super(),this._parentView=e,this._def=t}createEmbeddedView(e){return new up(cm.createEmbeddedView(this._parentView,this._def,this._def.element.template,e))}get elementRef(){return new bh(rm(this._parentView,this._def.nodeIndex).renderElement)}}function mp(e,t){return new pp(e,t)}class pp{constructor(e,t){this.view=e,this.elDef=t}get(e,t=is.THROW_IF_NOT_FOUND){return cm.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:e,tokenKey:dm(e)},t)}}function fp(e,t){const n=e.def.nodes[t];if(1&n.flags){const t=rm(e,n.nodeIndex);return n.element.template?t.template:t.renderElement}if(2&n.flags)return nm(e,n.nodeIndex).renderText;if(20240&n.flags)return om(e,n.nodeIndex).instance;throw new Error("Illegal state: read nodeValue for node index "+t)}function gp(e,t,n,r){return new yp(e,t,n,r)}class yp{constructor(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){const t=e._def,n=e._providers=Ne(t.providers.length);for(let r=0;r<t.providers.length;r++){const o=t.providers[r];4096&o.flags||void 0===n[r]&&(n[r]=Qm(e,o))}}(this)}get(e,t=is.THROW_IF_NOT_FOUND,n=P.Default){let r=0;return n&P.SkipSelf?r|=1:n&P.Self&&(r|=4),Jm(this,{token:e,tokenKey:dm(e),flags:r},t)}get instance(){return this.get(this._moduleType)}get componentFactoryResolver(){return this.get(gh)}destroy(){if(this._destroyed)throw new Error(`The ng module ${K(this.instance.constructor)} has already been destroyed.`);this._destroyed=!0,function(e,t){const n=e._def,r=new Set;for(let o=0;o<n.providers.length;o++)if(131072&n.providers[o].flags){const t=e._providers[o];if(t&&t!==Km){const e=t.ngOnDestroy;"function"!=typeof e||r.has(t)||(e.apply(t),r.add(t))}}}
933(this),this._destroyListeners.forEach(e=>e())}onDestroy(e){this._destroyListeners.push(e)}}
934/**
935 * @license
936 * Copyright Google LLC All Rights Reserved.
937 *
938 * Use of this source code is governed by an MIT-style license that can be
939 * found in the LICENSE file at https://angular.io/license
940 */const vp=dm(Eh),bp=dm(bh),Cp=dm($h),wp=dm(Kh),Sp=dm(Ca),_p=dm(is),Ep=dm(he);function kp(e,t,n,r,o,i,a,s){const c=[];if(a)for(let u in a){const[e,t]=a[u];c[e]={flags:8,name:u,nonMinifiedName:t,ns:null,securityContext:null,suffix:null}}const l=[];if(s)for(let u in s)l.push({type:1,propName:u,target:null,eventName:s[u]});return Op(e,t|=16384,n,r,o,o,i,c,l)}function xp(e,t,n){return Op(-1,e|=16,null,0,t,t,n)}function Ip(e,t,n,r,o){return Op(-1,e,t,0,n,r,o)}function Op(e,t,n,r,o,i,a,s,c){const{matchedQueries:l,references:u,matchedQueryIds:d}=Im(n);c||(c=[]),s||(s=[]),i=W(i);const h=Om(a,K(o));return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:t,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:l,matchedQueryIds:d,references:u,ngContentIndex:-1,childCount:r,bindings:s,bindingFlags:Vm(s),outputs:c,element:null,provider:{token:o,value:i,deps:h},text:null,query:null,ngContent:null}}function Tp(e,t){return Rp(e,t)}function Ap(e,t){let n=e;for(;n.parent&&!Em(n);)n=n.parent;return Mp(n.parent,Sm(n),!0,t.provider.value,t.provider.deps)}function Pp(e,t){const n=Mp(e,t.parent,(32768&t.flags)>0,t.provider.value,t.provider.deps);if(t.outputs.length)for(let r=0;r<t.outputs.length;r++){const o=t.outputs[r],i=n[o.propName];if(!hl(i))throw new Error(`@Output ${o.propName} not initialized in '${n.constructor.name}'.`);{const n=i.subscribe(Dp(e,t.parent.nodeIndex,o.eventName));e.disposables[t.outputIndex+r]=n.unsubscribe.bind(n)}}return n}function Dp(e,t,n){return r=>Cm(e,t,n,r)}function Rp(e,t){const n=(8192&t.flags)>0,r=t.provider;switch(201347067&t.flags){case 512:return Mp(e,t.parent,n,r.value,r.deps);case 1024:return function(e,t,n,r,o){const i=o.length;switch(i){case 0:return r();case 1:return r(jp(e,t,n,o[0]));case 2:return r(jp(e,t,n,o[0]),jp(e,t,n,o[1]));case 3:return r(jp(e,t,n,o[0]),jp(e,t,n,o[1]),jp(e,t,n,o[2]));default:const a=[];for(let r=0;r<i;r++)a.push(jp(e,t,n,o[r]));return r(...a)}}(e,t.parent,n,r.value,r.deps);case 2048:return jp(e,t.parent,n,r.deps[0]);case 256:return r.value}}function Mp(e,t,n,r,o){const i=o.length;switch(i){case 0:return new r;case 1:return new r(jp(e,t,n,o[0]));case 2:return new r(jp(e,t,n,o[0]),jp(e,t,n,o[1]));case 3:return new r(jp(e,t,n,o[0]),jp(e,t,n,o[1]),jp(e,t,n,o[2]));default:const a=[];for(let r=0;r<i;r++)a.push(jp(e,t,n,o[r]));return new r(...a)}}const Np={};function jp(e,t,n,r,o=is.THROW_IF_NOT_FOUND){if(8&r.flags)return r.token;const i=e;2&r.flags&&(o=null);const a=r.tokenKey;a===Sp&&(n=!(!t||!t.element.componentView)),t&&1&r.flags&&(n=!1,t=t.parent);let s=e;for(;s;){if(t)switch(a){case vp:return Fp(s,t,n).renderer;case bp:return new bh(rm(s,t.nodeIndex).renderElement);case Cp:return rm(s,t.nodeIndex).viewContainer;case wp:if(t.element.template)return rm(s,t.nodeIndex).template;break;case Sp:return lp(Fp(s,t,n));case _p:case Ep:return mp(s,t);default:const e=(n?t.element.allProviders:t.element.publicProviders)[a];if(e){let t=om(s,e.nodeIndex);return t||(t={instance:Rp(s,e)},s.nodes[e.nodeIndex]=t),t.instance}}n=Em(s),t=Sm(s),s=s.parent,4&r.flags&&(s=null)}const c=i.root.injector.get(r.token,Np);return c!==Np||o===Np?c:i.root.ngModule.injector.get(r.token,o)}function Fp(e,t,n){let r;if(n)r=rm(e,t.nodeIndex).componentView;else for(r=e;r.parent&&!Em(r);)r=r.parent;return r}function Lp(e,t,n,r,o,i){if(32768&n.flags){const t=rm(e,n.parent.nodeIndex).componentView;2&t.def.flags&&(t.state|=8)}if(t.instance[n.bindings[r].name]=o,524288&n.flags){i=i||{};const t=Sc.unwrap(e.oldValues[n.bindingIndex+r]);i[n.bindings[r].nonMinifiedName]=new St(t,o,0!=(2&e.state))}return e.oldValues[n.bindingIndex+r]=o,i}function Vp(e,t){if(!(e.def.nodeFlags&t))return;const n=e.def.nodes;let r=0;for(let o=0;o<n.length;o++){const i=n[o];let a=i.parent;for(!a&&i.flags&t&&Up(e,o,i.flags&t,r++),0==(i.childFlags&t)&&(o+=i.childCount);a&&1&a.flags&&o===a.nodeIndex+a.childCount;)a.directChildFlags&t&&(r=Bp(e,a,t,r)),a=a.parent}}function Bp(e,t,n,r){for(let o=t.nodeIndex+1;o<=t.nodeIndex+t.childCount;o++){const t=e.def.nodes[o];t.flags&n&&Up(e,o,t.flags&n,r++),o+=t.childCount}return r}function Up(e,t,n,r){const o=om(e,t);if(!o)return;const i=o.instance;i&&(cm.setCurrentNode(e,t),1048576&n&&tm(e,512,r)&&i.ngAfterContentInit(),2097152&n&&i.ngAfterContentChecked(),4194304&n&&tm(e,768,r)&&i.ngAfterViewInit(),8388608&n&&i.ngAfterViewChecked(),131072&n&&i.ngOnDestroy())}
941/**
942 * @license
943 * Copyright Google LLC All Rights Reserved.
944 *
945 * Use of this source code is governed by an MIT-style license that can be
946 * found in the LICENSE file at https://angular.io/license
947 */class Hp extends gh{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){const t=nt(e);return new Kp(t,this.ngModule)}}function Gp(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}const qp=new de("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>gt});class Kp extends hh{constructor(e,t){super(),this.componentDef=e,this.ngModule=t,this.componentType=e.type,this.selector=e.selectors.map(Lo).join(","),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!t}get inputs(){return Gp(this.componentDef.inputs)}get outputs(){return Gp(this.componentDef.outputs)}create(e,t,n,r){const o=(r=r||this.ngModule)?function(e,t){return{get:(n,r,o)=>{const i=e.get(n,Np,o);return i!==Np||r===Np?i:t.get(n,r,o)}}}(e,r.injector):e,i=o.get(Sh,Dt),a=o.get(Ih,null),s=i.createRenderer(null,this.componentDef),c=this.componentDef.selectors[0][0]||"div",l=n?mi(s,n,this.componentDef.encapsulation):ti(c,i.createRenderer(null,this.componentDef),function(e){const t=e.toLowerCase();return"svg"===t?"http://www.w3.org/2000/svg":"math"===t?"http://www.w3.org/1998/MathML/":null}
947(c)),u=this.componentDef.onPush?576:528,d=sc(),h=hi(0,null,null,1,0,null,null,null,null,null),m=ni(null,h,d,u,null,null,i,s,a,o);let p,f;yn(m);try{const e=ic(l,this.componentDef,m,i,s);if(l)if(n)Fn(s,l,["ng-version",Th.full]);else{const{attrs:e,classes:t}=function(e){const t=[],n=[];let r=1,o=2;for(;r<e.length;){let i=e[r];if("string"==typeof i)2===o?""!==i&&t.push(i,e[++r]):8===o&&n.push(i);else{if(!Ro(o))break;o=i}r++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]);e&&Fn(s,l,e),t&&t.length>0&&ua(s,l,t.join(" "))}if(f=jt(h,0),void 0!==t){const e=f.projection=[];for(let n=0;n<this.ngContentSelectors.length;n++){const r=t[n];e.push(null!=r?Array.from(r):null)}}p=ac(e,this.componentDef,m,d,[cc]),oi(h,m,null)}finally{Sn()}return new zp(this.componentType,p,ga(bh,f,m),m,f)}}class zp extends dh{constructor(e,t,n,r,o){super(),this.location=n,this._rootLView=r,this._tNode=o,this.destroyCbs=[],this.instance=t,this.hostView=this.changeDetectorRef=new ha(r),this.componentType=e}get injector(){return new sr(this._tNode,this._rootLView)}destroy(){this.destroyCbs&&(this.destroyCbs.forEach(e=>e()),this.destroyCbs=null,!this.hostView.destroyed&&this.hostView.destroy())}onDestroy(e){this.destroyCbs&&this.destroyCbs.push(e)}}
948/**
949 * @license
950 * Copyright Google LLC All Rights Reserved.
951 *
952 * Use of this source code is governed by an MIT-style license that can be
953 * found in the LICENSE file at https://angular.io/license
954 */function Yp(e,t,n,r){return f(()=>{const o=e,i=o.prototype?Object.getPrototypeOf(o.prototype):null,a=i&&i.constructor;null!==t&&(void 0===o.decorators||a&&a.decorators===o.decorators?o.decorators=t:o.decorators.push(...t)),null!==n&&(o.ctorParameters=n),null!==r&&(o.propDecorators=void 0===o.propDecorators||a&&a.propDecorators===o.propDecorators?r:Object.assign(Object.assign({},o.propDecorators),r))})}
955/**
956 * @license
957 * Copyright Google LLC All Rights Reserved.
958 *
959 * Use of this source code is governed by an MIT-style license that can be
960 * found in the LICENSE file at https://angular.io/license
961 */const $p=new Map;function Wp(e,t){const n=$p.get(e);Zp(e,n&&n.moduleType,t.moduleType),$p.set(e,t)}function Zp(e,t,n){if(t&&t!==n)throw new Error(`Duplicate module registered for ${e} - ${K(t)} vs ${K(t.name)}`)}function Jp(e){const t=new Set;!function e(n){const r=at(n,!0),o=r.id;null!==o&&(Zp(o,$p.get(o),n),$p.set(o,n));const i=Ct(r.imports);for(const a of i)t.has(a)||(t.add(a),e(a))}(e)}function Qp(e){return $p.get(e)||Ze[e]}
962/**
963 * @license
964 * Copyright Google LLC All Rights Reserved.
965 *
966 * Use of this source code is governed by an MIT-style license that can be
967 * found in the LICENSE file at https://angular.io/license
968 */class Xp extends Oe{constructor(e,t){super(),this._parent=t,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new Hp(this);const n=at(e),r=e[ce]||null;r&&dd(r),this._bootstrapComponents=Ct(n.bootstrap),this._r3Injector=Za(e,t,[{provide:Oe,useValue:this},{provide:gh,useValue:this.componentFactoryResolver}],K(e)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(e)}get(e,t=is.THROW_IF_NOT_FOUND,n=P.Default){return e===is||e===Oe||e===he?this:this._r3Injector.get(e,t,n)}destroy(){const e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}}class ef extends Te{constructor(e){super(),this.moduleType=e,null!==at(e)&&Jp(e)}create(e){return new Xp(this.moduleType,e)}}
969/**
970 * @license
971 * Copyright Google LLC All Rights Reserved.
972 *
973 * Use of this source code is governed by an MIT-style license that can be
974 * found in the LICENSE file at https://angular.io/license
975 */function tf(e,t,n){const r=an()+e,o=Zt();return o[r]===Vo?kc(o,r,n?t.call(n):t()):xc(o,r)}function nf(e,t,n,r){return mf(Zt(),an(),e,t,n,r)}function rf(e,t,n,r,o){return pf(Zt(),an(),e,t,n,r,o)}function of(e,t,n,r,o,i){return ff(Zt(),an(),e,t,n,r,o,i)}function af(e,t,n,r,o,i,a){return gf(Zt(),an(),e,t,n,r,o,i,a)}function sf(e,t,n,r,o,i,a,s){const c=an()+e,l=Zt(),u=Ac(l,c,n,r,o,i);return Ic(l,c+4,a)||u?kc(l,c+5,s?t.call(s,n,r,o,i,a):t(n,r,o,i,a)):xc(l,c+5)}
975function cf(e,t,n,r,o,i,a,s,c){const l=an()+e,u=Zt(),d=Ac(u,l,n,r,o,i);return Oc(u,l+4,a,s)||d?kc(u,l+6,c?t.call(c,n,r,o,i,a,s):t(n,r,o,i,a,s)):xc(u,l+6)}function lf(e,t,n,r,o,i,a,s,c,l){const u=an()+e,d=Zt();let h=Ac(d,u,n,r,o,i);return Tc(d,u+4,a,s,c)||h?kc(d,u+7,l?t.call(l,n,r,o,i,a,s,c):t(n,r,o,i,a,s,c)):xc(d,u+7)}function uf(e,t,n,r,o,i,a,s,c,l,u){const d=an()+e,h=Zt(),m=Ac(h,d,n,r,o,i);return Ac(h,d+4,a,s,c,l)||m?kc(h,d+8,u?t.call(u,n,r,o,i,a,s,c,l):t(n,r,o,i,a,s,c,l)):xc(h,d+8)}function df(e,t,n,r){return yf(Zt(),an(),e,t,n,r)}function hf(e,t){const n=e[t];return n===Vo?void 0:n}function mf(e,t,n,r,o,i){const a=t+n;return Ic(e,a,o)?kc(e,a+1,i?r.call(i,o):r(o)):hf(e,a+1)}function pf(e,t,n,r,o,i,a){const s=t+n;return Oc(e,s,o,i)?kc(e,s+2,a?r.call(a,o,i):r(o,i)):hf(e,s+2)}function ff(e,t,n,r,o,i,a,s){const c=t+n;return Tc(e,c,o,i,a)?kc(e,c+3,s?r.call(s,o,i,a):r(o,i,a)):hf(e,c+3)}function gf(e,t,n,r,o,i,a,s,c){const l=t+n;return Ac(e,l,o,i,a,s)?kc(e,l+4,c?r.call(c,o,i,a,s):r(o,i,a,s)):hf(e,l+4)}function yf(e,t,n,r,o,i){let a=t+n,s=!1;for(let c=0;c<o.length;c++)Ic(e,a++,o[c])&&(s=!0);return s?kc(e,a,r.apply(i,o)):hf(e,a)}
976/**
977 * @license
978 * Copyright Google LLC All Rights Reserved.
979 *
980 * Use of this source code is governed by an MIT-style license that can be
981 * found in the LICENSE file at https://angular.io/license
982 */function vf(e,t){const n=Jt();let r;const o=e+20;n.firstCreatePass?(r=function(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}throw new Error(`The pipe '${e}' could not be found!`)}(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(o,r.onDestroy)):r=n.data[o];const i=r.factory||(r.factory=it(r.type)),a=be(Xc);try{const t=zn(!1),r=i();return zn(t),Jc(n,Zt(),e,r),r}finally{be(a)}}function bf(e,t,n){const r=Zt(),o=Ft(r,e);return kf(r,Ef(r,e)?mf(r,an(),t,o.transform,n,o):o.transform(n))}function Cf(e,t,n,r){const o=Zt(),i=Ft(o,e);return kf(o,Ef(o,e)?pf(o,an(),t,i.transform,n,r,i):i.transform(n,r))}function wf(e,t,n,r,o){const i=Zt(),a=Ft(i,e);return kf(i,Ef(i,e)?ff(i,an(),t,a.transform,n,r,o,a):a.transform(n,r,o))}function Sf(e,t,n,r,o,i){const a=Zt(),s=Ft(a,e);return kf(a,Ef(a,e)?gf(a,an(),t,s.transform,n,r,o,i,s):s.transform(n,r,o,i))}function _f(e,t,n){const r=Zt(),o=Ft(r,e);return kf(r,Ef(r,e)?yf(r,an(),t,o.transform,n,o):o.transform.apply(o,n))}function Ef(e,t){return e[1].data[t+20].pure}function kf(e,t){return Sc.isWrapped(t)&&(t=Sc.unwrap(t),e[sn()]=Vo),t}
983/**
984 * @license
985 * Copyright Google LLC All Rights Reserved.
986 *
987 * Use of this source code is governed by an MIT-style license that can be
988 * found in the LICENSE file at https://angular.io/license
989 */const xf=class extends r.a{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,t,n){let r,i=e=>null,a=()=>null;e&&"object"==typeof e?(r=this.__isAsync?t=>{setTimeout(()=>e.next(t))}:t=>{e.next(t)},e.error&&(i=this.__isAsync?t=>{setTimeout(()=>e.error(t))}:t=>{e.error(t)}),e.complete&&(a=this.__isAsync?()=>{setTimeout(()=>e.complete())}:()=>{e.complete()})):(r=this.__isAsync?t=>{setTimeout(()=>e(t))}:t=>{e(t)},t&&(i=this.__isAsync?e=>{setTimeout(()=>t(e))}:e=>{t(e)}),n&&(a=this.__isAsync?()=>{setTimeout(()=>n())}:()=>{n()}));const s=super.subscribe(r,i,a);return e instanceof o.a&&e.add(s),s}};
990/**
991 * @license
992 * Copyright Google LLC All Rights Reserved.
993 *
994 * Use of this source code is governed by an MIT-style license that can be
995 * found in the LICENSE file at https://angular.io/license
996 */function If(){return this._results[Cc()]()}class Of{constructor(){this.dirty=!0,this._results=[],this.changes=new xf,this.length=0;const e=Cc(),t=Of.prototype;t[e]||(t[e]=If)}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,t){return this._results.reduce(e,t)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e){this._results=Pe(e),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]}notifyOnChanges(){this.changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()
997/**
998 * @license
999 * Copyright Google LLC All Rights Reserved.
1000 *
1001 * Use of this source code is governed by an MIT-style license that can be
1002 * found in the LICENSE file at https://angular.io/license
1003 */}}class Tf{constructor(e){this.queryList=e,this.matches=null}clone(){return new Tf(this.queryList)}setDirty(){this.queryList.setDirty()}}class Af{constructor(e=[]){this.queries=e}createEmbeddedView(e){const t=e.queries;if(null!==t){const n=null!==e.contentQueries?e.contentQueries[0]:t.length,r=[];for(let e=0;e<n;e++){const n=t.getByIndex(e);r.push(this.queries[n.indexInDeclarationView].clone())}return new Af(r)}return null}insertView(e){this.dirtyQueriesWithMatches(e)}detachView(e){this.dirtyQueriesWithMatches(e)}dirtyQueriesWithMatches(e){for(let t=0;t<this.queries.length;t++)null!==Yf(e,t).matches&&this.queries[t].setDirty()}}class Pf{constructor(e,t,n,r=null){this.predicate=e,this.descendants=t,this.isStatic=n,this.read=r}}class Df{constructor(e=[]){this.queries=e}elementStart(e,t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(e,t)}elementEnd(e){for(let t=0;t<this.queries.length;t++)this.queries[t].elementEnd(e)}embeddedTView(e){let t=null;for(let n=0;n<this.length;n++){const r=null!==t?t.length:0,o=this.getByIndex(n).embeddedTView(e,r);o&&(o.indexInDeclarationView=n,null!==t?t.push(o):t=[o])}return null!==t?new Df(t):null}template(e,t){for(let n=0;n<this.queries.length;n++)this.queries[n].template(e,t)}getByIndex(e){return this.queries[e]}get length(){return this.queries.length}track(e){this.queries.push(e)}}class Rf{constructor(e,t=-1){this.metadata=e,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=t}elementStart(e,t){this.isApplyingToNode(t)&&this.matchTNode(e,t)}elementEnd(e){this._declarationNodeIndex===e.index&&(this._appliesToNextNode=!1)}template(e,t){this.elementStart(e,t)}embeddedTView(e,t){return this.isApplyingToNode(e)?(this.crossesNgTemplate=!0,this.addMatch(-e.index,t),new Rf(this.metadata)):null}isApplyingToNode(e){if(this._appliesToNextNode&&!1===this.metadata.descendants){const t=this._declarationNodeIndex;let n=e.parent;for(;null!==n&&3===n.type&&n.index!==t;)n=n.parent;return t===(null!==n?n.index:-1)}return this._appliesToNextNode}
1003matchTNode(e,t){const n=this.metadata.predicate;if(Array.isArray(n))for(let r=0;r<n.length;r++){const o=n[r];this.matchTNodeWithReadOption(e,t,Mf(t,o)),this.matchTNodeWithReadOption(e,t,rr(t,e,o,!1,!1))}else n===Kh?0===t.type&&this.matchTNodeWithReadOption(e,t,-1):this.matchTNodeWithReadOption(e,t,rr(t,e,n,!1,!1))}matchTNodeWithReadOption(e,t,n){if(null!==n){const r=this.metadata.read;if(null!==r)if(r===bh||r===$h||r===Kh&&0===t.type)this.addMatch(t.index,-2);else{const n=rr(t,e,r,!1,!1);null!==n&&this.addMatch(t.index,n)}else this.addMatch(t.index,n)}}addMatch(e,t){null===this.matches?this.matches=[e,t]:this.matches.push(e,t)}}function Mf(e,t){const n=e.localNames;if(null!==n)for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1];return null}function Nf(e,t,n,r){return-1===n?function(e,t){return 2===e.type||3===e.type?ga(bh,e,t):0===e.type?ya(Kh,bh,e,t):null}(t,e):-2===n?function(e,t,n){return n===bh?ga(bh,t,e):n===Kh?ya(Kh,bh,t,e):n===$h?va($h,bh,t,e):void 0}(e,t,r):or(e,e[1],n,t)}function jf(e,t,n,r){const o=t[19].queries[r];if(null===o.matches){const r=e.data,i=n.matches,a=[];for(let e=0;e<i.length;e+=2){const o=i[e];a.push(o<0?null:Nf(t,r[o],i[e+1],n.metadata.read))}o.matches=a}return o.matches}function Ff(e){const t=Zt(),n=Jt(),r=pn();fn(r+1);const o=Yf(n,r);if(e.dirty&&Ut(t)===o.metadata.isStatic){if(null===o.matches)e.reset([]);else{const i=o.crossesNgTemplate?function e(t,n,r,o){const i=t.queries.getByIndex(r),a=i.matches;if(null!==a){const s=jf(t,n,i,r);for(let t=0;t<a.length;t+=2){const r=a[t];if(r>0)o.push(s[t/2]);else{const i=a[t+1],s=n[-r];for(let t=10;t<s.length;t++){const n=s[t];n[17]===n[3]&&e(n[1],n,i,o)}if(null!==s[9]){const t=s[9];for(let n=0;n<t.length;n++){const r=t[n];e(r[1],r,i,o)}}}}}return o}(n,t,r,[]):jf(n,t,o,r);e.reset(i),e.notifyOnChanges()}return!0}return!1}function Lf(e,t,n){Bf(Jt(),Zt(),e,t,n,!0)}function Vf(e,t,n){Bf(Jt(),Zt(),e,t,n,!1)}function Bf(e,t,n,r,o,i){e.firstCreatePass&&(zf(e,new Pf(n,r,i,o),-1),i&&(e.staticViewQueries=!0)),Kf(e,t)}function Uf(e,t,n,r){Gf(Jt(),Zt(),t,n,r,!1,Xt(),e)}function Hf(e,t,n,r){Gf(Jt(),Zt(),t,n,r,!0,Xt(),e)}function Gf(e,t,n,r,o,i,a,s){e.firstCreatePass&&(zf(e,new Pf(n,r,i,o),a.index),function(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(e.contentQueries.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(e,s),i&&(e.staticContentQueries=!0)),Kf(e,t)}function qf(){return e=Zt(),t=pn(),e[19].queries[t].queryList;var e,t}function Kf(e,t){const n=new Of;pi(e,t,n,n.destroy),null===t[19]&&(t[19]=new Af),t[19].queries.push(new Tf(n))}function zf(e,t,n){null===e.queries&&(e.queries=new Df),e.queries.track(new Rf(t,n))}function Yf(e,t){return e.queries.getByIndex(t)}
1004/**
1005 * @license
1006 * Copyright Google LLC All Rights Reserved.
1007 *
1008 * Use of this source code is governed by an MIT-style license that can be
1009 * found in the LICENSE file at https://angular.io/license
1010 */function $f(e,t){return ya(Kh,bh,e,t)}function Wf(e=P.Default){const t=ba(!0);if(null!=t||e&P.Optional)return t;wt("ChangeDetectorRef")}
1011/**
1012 * @license
1013 * Copyright Google LLC All Rights Reserved.
1014 *
1015 * Use of this source code is governed by an MIT-style license that can be
1016 * found in the LICENSE file at https://angular.io/license
1017 */
1018/**
1019 * @license
1020 * Copyright Google LLC All Rights Reserved.
1021 *
1022 * Use of this source code is governed by an MIT-style license that can be
1023 * found in the LICENSE file at https://angular.io/license
1024 */const Zf=(()=>({\u0275\u0275attribute:Pc,\u0275\u0275attributeInterpolate1:Uc,\u0275\u0275attributeInterpolate2:Hc,\u0275\u0275attributeInterpolate3:Gc,\u0275\u0275attributeInterpolate4:qc,\u0275\u0275attributeInterpolate5:Kc,\u0275\u0275attributeInterpolate6:zc,\u0275\u0275attributeInterpolate7:Yc,\u0275\u0275attributeInterpolate8:$c,\u0275\u0275attributeInterpolateV:Wc,\u0275\u0275defineComponent:ze,\u0275\u0275defineDirective:et,\u0275\u0275defineInjectable:M,\u0275\u0275defineInjector:j,\u0275\u0275defineNgModule:Je,\u0275\u0275definePipe:tt,\u0275\u0275directiveInject:Xc,\u0275\u0275getFactoryOf:cr,\u0275\u0275getInheritedFactory:lr,\u0275\u0275inject:we,\u0275\u0275injectAttribute:el,\u0275\u0275invalidFactory:tl,\u0275\u0275invalidFactoryDep:Se,\u0275\u0275injectPipeChangeDetectorRef:Wf,\u0275\u0275templateRefExtractor:$f,\u0275\u0275NgOnChangesFeature:_t,\u0275\u0275ProvidersFeature:uh,\u0275\u0275CopyDefinitionFeature:vc,\u0275\u0275InheritDefinitionFeature:dc,\u0275\u0275nextContext:vl,\u0275\u0275namespaceHTML:Tn,\u0275\u0275namespaceMathML:On,\u0275\u0275namespaceSVG:In,\u0275\u0275enableBindings:$t,\u0275\u0275disableBindings:Wt,\u0275\u0275elementStart:ol,\u0275\u0275elementEnd:il,\u0275\u0275element:al,\u0275\u0275elementContainerStart:sl,\u0275\u0275elementContainerEnd:cl,\u0275\u0275elementContainer:ll,\u0275\u0275pureFunction0:tf,\u0275\u0275pureFunction1:nf,\u0275\u0275pureFunction2:rf,\u0275\u0275pureFunction3:of,\u0275\u0275pureFunction4:af,\u0275\u0275pureFunction5:sf,\u0275\u0275pureFunction6:cf,\u0275\u0275pureFunction7:lf,\u0275\u0275pureFunction8:uf,\u0275\u0275pureFunctionV:df,\u0275\u0275getCurrentView:ul,\u0275\u0275restoreView:Qt,\u0275\u0275listener:ml,\u0275\u0275projection:_l,\u0275\u0275syntheticHostProperty:$u,\u0275\u0275syntheticHostListener:pl,\u0275\u0275pipeBind1:bf,\u0275\u0275pipeBind2:Cf,\u0275\u0275pipeBind3:wf,\u0275\u0275pipeBind4:Sf,\u0275\u0275pipeBindV:_f,\u0275\u0275projectionDef:Cl,\u0275\u0275hostProperty:Yu,\u0275\u0275property:nl,\u0275\u0275propertyInterpolate:El,\u0275\u0275propertyInterpolate1:kl,\u0275\u0275propertyInterpolate2:xl,\u0275\u0275propertyInterpolate3:Il,\u0275\u0275propertyInterpolate4:Ol,\u0275\u0275propertyInterpolate5:Tl,\u0275\u0275propertyInterpolate6:Al,\u0275\u0275propertyInterpolate7:Pl,\u0275\u0275propertyInterpolate8:Dl,\u0275\u0275propertyInterpolateV:Rl,\u0275\u0275pipe:vf,\u0275\u0275queryRefresh:Ff,\u0275\u0275viewQuery:Vf,\u0275\u0275staticViewQuery:Lf,\u0275\u0275staticContentQuery:Hf,\u0275\u0275loadQuery:qf,\u0275\u0275contentQuery:Uf,\u0275\u0275reference:Qc,\u0275\u0275classMap:Zl,\u0275\u0275classMapInterpolate1:Cu,\u0275\u0275classMapInterpolate2:wu,\u0275\u0275classMapInterpolate3:Su,\u0275\u0275classMapInterpolate4:_u,\u0275\u0275classMapInterpolate5:Eu,\u0275\u0275classMapInterpolate6:ku,\u0275\u0275classMapInterpolate7:xu,\u0275\u0275classMapInterpolate8:Iu,\u0275\u0275classMapInterpolateV:Ou,\u0275\u0275styleMap:$l,\u0275\u0275styleMapInterpolate1:Tu,\u0275\u0275styleMapInterpolate2:Au,\u0275\u0275styleMapInterpolate3:Pu,\u0275\u0275styleMapInterpolate4:Du,\u0275\u0275styleMapInterpolate5:Ru,\u0275\u0275styleMapInterpolate6:Mu,\u0275\u0275styleMapInterpolate7:Nu,\u0275\u0275styleMapInterpolate8:ju,\u0275\u0275styleMapInterpolateV:Fu,\u0275\u0275styleProp:zl,\u0275\u0275stylePropInterpolate1:Lu,\u0275\u0275stylePropInterpolate2:Vu,\u0275\u0275stylePropInterpolate3:Bu,\u0275\u0275stylePropInterpolate4:Uu,\u0275\u0275stylePropInterpolate5:Hu,\u0275\u0275stylePropInterpolate6:Gu,\u0275\u0275stylePropInterpolate7:qu,\u0275\u0275stylePropInterpolate8:Ku,\u0275\u0275stylePropInterpolateV:zu,\u0275\u0275classProp:Yl,\u0275\u0275advance:Ko,\u0275\u0275template:Zc,\u0275\u0275text:lu,\u0275\u0275textInterpolate:uu,\u0275\u0275textInterpolate1:du,\u0275\u0275textInterpolate2:hu,\u0275\u0275textInterpolate3:mu,\u0275\u0275textInterpolate4:pu,\u0275\u0275textInterpolate5:fu,\u0275\u0275textInterpolate6:gu,\u0275\u0275textInterpolate7:yu,\u0275\u0275textInterpolate8:vu,\u0275\u0275textInterpolateV:bu,\u0275\u0275i18
1024n:Qd,\u0275\u0275i18nAttributes:Xd,\u0275\u0275i18nExp:eh,\u0275\u0275i18nStart:Zd,\u0275\u0275i18nEnd:Jd,\u0275\u0275i18nApply:th,\u0275\u0275i18nPostprocess:nh,\u0275\u0275resolveWindow:yt,\u0275\u0275resolveDocument:vt,\u0275\u0275resolveBody:bt,\u0275\u0275setComponentScope:Ye,\u0275\u0275setNgModuleScope:Qe,\u0275\u0275sanitizeHtml:ao,\u0275\u0275sanitizeStyle:so,\u0275\u0275sanitizeResourceUrl:lo,\u0275\u0275sanitizeScript:uo,\u0275\u0275sanitizeUrl:co,\u0275\u0275sanitizeUrlOrResourceUrl:mo}))();let Jf=null;function Qf(){Jf=null}
1025/**
1026 * @license
1027 * Copyright Google LLC All Rights Reserved.
1028 *
1029 * Use of this source code is governed by an MIT-style license that can be
1030 * found in the LICENSE file at https://angular.io/license
1031 */const Xf=[],eg=[];let tg=!1;function ng(){if(!tg){tg=!0;try{for(let e=eg.length-1;e>=0;e--){const{moduleType:t,ngModule:n}=eg[e];n.declarations&&n.declarations.every(rg)&&(eg.splice(e,1),lg(t,n))}}finally{tg=!1}}}function rg(e){return Array.isArray(e)?e.every(rg):!!W(e)}function og(e,t={}){ig(e,t),function(e,t){eg.push({moduleType:e,ngModule:t})}(e,t)}function ig(e,t,n=!1){const r=Pe(t.declarations||Xf);let o=null;Object.defineProperty(e,se,{configurable:!0,get:()=>(null===o&&(o=re().compileNgModule(Zf,`ng:///${e.name}/\u0275mod.js`,{type:e,bootstrap:Pe(t.bootstrap||Xf).map(W),declarations:r.map(W),imports:Pe(t.imports||Xf).map(W).map(hg),exports:Pe(t.exports||Xf).map(W).map(hg),schemas:t.schemas?Pe(t.schemas):null,id:t.id||null}),o.schemas||(o.schemas=[])),o)});let i=null;Object.defineProperty(e,U,{get:()=>{if(null===i){const n={name:e.name,type:e,deps:Ma(e),providers:t.providers||Xf,imports:[(t.imports||Xf).map(W),(t.exports||Xf).map(W)]};i=re().compileInjector(Zf,`ng:///${e.name}/\u0275inj.js`,n)}return i},configurable:!1})}let ag=new Map,sg=new Map;function cg(){ag=new Map,sg=new Map,eg.length=0}function lg(e,t){const n=Pe(t.declarations||Xf),r=dg(e);n.forEach(t=>{t.hasOwnProperty(oe)?ug(nt(t),r):t.hasOwnProperty(ie)||t.hasOwnProperty(ae)||(t.ngSelectorScope=e)})}function ug(e,t){e.directiveDefs=()=>Array.from(t.compilation.directives).map(e=>e.hasOwnProperty(oe)?nt(e):rt(e)).filter(e=>!!e),e.pipeDefs=()=>Array.from(t.compilation.pipes).map(e=>ot(e)),e.schemas=t.schemas,e.tView=null}function dg(e){if(!mg(e))throw new Error(e.name+" does not have a module def (\u0275mod property)");const t=at(e);if(null!==t.transitiveCompileScopes)return t.transitiveCompileScopes;const n={schemas:t.schemas||null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set,pipes:new Set}};return Ct(t.imports).forEach(e=>{const t=e;if(!mg(t))throw new Error(`Importing ${t.name} which does not have a \u0275mod property`);const r=dg(t);r.exported.directives.forEach(e=>n.compilation.directives.add(e)),r.exported.pipes.forEach(e=>n.compilation.pipes.add(e))}),Ct(t.declarations).forEach(e=>{ot(e)?n.compilation.pipes.add(e):n.compilation.directives.add(e)}),Ct(t.exports).forEach(e=>{const t=e;if(mg(t)){const e=dg(t);e.exported.directives.forEach(e=>{n.compilation.directives.add(e),n.exported.directives.add(e)}),e.exported.pipes.forEach(e=>{n.compilation.pipes.add(e),n.exported.pipes.add(e)})}else ot(t)?n.exported.pipes.add(t):n.exported.directives.add(t)}),t.transitiveCompileScopes=n,n}function hg(e){return function(e){return void 0!==e.ngModule}(e)?e.ngModule:e}function mg(e){return!!at(e)}
1032/**
1033 * @license
1034 * Copyright Google LLC All Rights Reserved.
1035 *
1036 * Use of this source code is governed by an MIT-style license that can be
1037 * found in the LICENSE file at https://angular.io/license
1038 */let pg=0;function fg(e,t){let n=null;!function(e,t){Fs(t)&&(Ns.set(e,t),js.add(e))}(e,t),vg(e,t),Object.defineProperty(e,oe,{get:()=>{if(null===n){const r=re();if(Fs(t)){const n=[`Component '${e.name}' is not resolved:`];throw t.templateUrl&&n.push(" - templateUrl: "+t.templateUrl),t.styleUrls&&t.styleUrls.length&&n.push(" - styleUrls: "+JSON.stringify(t.styleUrls)),n.push("Did you run and wait for 'resolveComponentResources()'?"),new Error(n.join("\n"))}const o=Jf;let i=t.preserveWhitespaces;
1038void 0===i&&(i=null!==o&&void 0!==o.preserveWhitespaces&&o.preserveWhitespaces);let a=t.encapsulation;void 0===a&&(a=null!==o&&void 0!==o.defaultEncapsulation?o.defaultEncapsulation:He.Emulated);const s=t.templateUrl||`ng:///${e.name}/template.html`,c=Object.assign(Object.assign({},Cg(e,t)),{typeSourceSpan:r.createParseSourceSpan("Component",e.name,s),template:t.template||"",preserveWhitespaces:i,styles:t.styles||qe,animations:t.animations,directives:[],changeDetection:t.changeDetection,pipes:new Map,encapsulation:a,interpolation:t.interpolation,viewProviders:t.viewProviders||null});pg++;try{c.usesInheritance&&wg(e),n=r.compileComponent(Zf,s,c)}finally{pg--}if(0===pg&&ng(),void 0!==e.ngSelectorScope){const t=dg(e.ngSelectorScope);ug(n,t)}}return n},configurable:!1})}function gg(e,t){let n=null;vg(e,t||{}),Object.defineProperty(e,ie,{get:()=>{if(null===n){const r=yg(e,t||{});n=re().compileDirective(Zf,r.sourceMapUrl,r.metadata)}return n},configurable:!1})}function yg(e,t){const n=e&&e.name,r=`ng:///${n}/\u0275dir.js`,o=re(),i=Cg(e,t);return i.typeSourceSpan=o.createParseSourceSpan("Directive",n,r),i.usesInheritance&&wg(e),{metadata:i,sourceMapUrl:r}}function vg(e,t){let n=null;Object.defineProperty(e,le,{get:()=>{if(null===n){const r=yg(e,t),o=re();n=o.compileFactory(Zf,`ng:///${e.name}/\u0275fac.js`,Object.assign(Object.assign({},r.metadata),{injectFn:"directiveInject",target:o.R3FactoryTarget.Directive}))}return n},configurable:!1})}function bg(e){return Object.getPrototypeOf(e.prototype)===Object.prototype}function Cg(e,t){const n=Ra(),r=n.ownPropMetadata(e);return{name:e.name,type:e,typeArgumentCount:0,selector:void 0!==t.selector?t.selector:null,deps:Ma(e),host:t.host||Ge,propMetadata:r,inputs:t.inputs||qe,outputs:t.outputs||qe,queries:_g(e,r,Eg),lifecycle:{usesOnChanges:n.hasLifecycleHook(e,"ngOnChanges")},typeSourceSpan:null,usesInheritance:!bg(e),exportAs:(o=t.exportAs,void 0===o?null:Ig(o)),providers:t.providers||null,viewQueries:_g(e,r,kg)};var o}function wg(e){const t=Object.prototype;let n=Object.getPrototypeOf(e.prototype).constructor;for(;n&&n!==t;)rt(n)||nt(n)||!Tg(n)||gg(n,null),n=Object.getPrototypeOf(n)}function Sg(e,t){return{propertyName:e,predicate:(n=t.selector,"string"==typeof n?Ig(n):W(n)),descendants:t.descendants,first:t.first,read:t.read?t.read:null,static:!!t.static};var n}function _g(e,t,n){const r=[];for(const o in t)if(t.hasOwnProperty(o)){const i=t[o];i.forEach(t=>{if(n(t)){if(!t.selector)throw new Error(`Can't construct a query for the property "${o}" of "${ft(e)}" since the query selector wasn't defined.`);if(i.some(xg))throw new Error("Cannot combine @Input decorators with query decorators");r.push(Sg(o,t))}})}return r}function Eg(e){const t=e.ngMetadataName;return"ContentChild"===t||"ContentChildren"===t}function kg(e){const t=e.ngMetadataName;return"ViewChild"===t||"ViewChildren"===t}function xg(e){return"Input"===e.ngMetadataName}function Ig(e){return e.split(",").map(e=>e.trim())}const Og=["ngOnChanges","ngOnInit","ngOnDestroy","ngDoCheck","ngAfterViewInit","ngAfterViewChecked","ngAfterContentInit","ngAfterContentChecked"];function Tg(e){const t=Ra();if(Og.some(n=>t.hasLifecycleHook(e,n)))return!0;const n=t.propMetadata(e);for(const r in n){const e=n[r];for(let t=0;t<e.length;t++){const n=e[t],r=n.ngMetadataName;if(xg(n)||Eg(n)||kg(n)||"Output"===r||"HostBinding"===r||"HostListener"===r)return!0}}return!1}
1039/**
1040 * @license
1041 * Copyright Google LLC All Rights Reserved.
1042 *
1043 * Use of this source code is governed by an MIT-style license that can be
1044 * found in the LICENSE file at https://angular.io/license
1045 */function Ag(e,t){let n=null,r=null;Object.defineProperty(e,le,{get:()=>{if(null===r){const n=Pg(e,t),o=re();r=o.compileFactory(Zf,`ng:///${n.name}/\u0275fac.js`,Object.assign(Object.assign({},n),{injectFn:"directiveInject",target:o.R3FactoryTarget.Pipe}))}return r},configurable:!1}),Object.defineProperty(e,ae,{get:()=>{if(null===n){const r=Pg(e,t);n=re().compilePipe(Zf,`ng:///${r.name}/\u0275pipe.js`,r)}return n},configurable:!1})}function Pg(e,t){return{type:e,typeArgumentCount:0,name:e.name,deps:Ma(e),pipeName:t.name,pure:void 0===t.pure||t.pure}}
1046/**
1047 * @license
1048 * Copyright Google LLC All Rights Reserved.
1049 *
1050 * Use of this source code is governed by an MIT-style license that can be
1051 * found in the LICENSE file at https://angular.io/license
1052 */const Dg=b("Directive",(e={})=>e,void 0,void 0,(e,t)=>Gg(e,t)),Rg=b("Component",(e={})=>Object.assign({changeDetection:Ve.Default},e),Dg,void 0,(e,t)=>Hg(e,t)),Mg=b("Pipe",e=>Object.assign({pure:!0},e),void 0,void 0,(e,t)=>qg(e,t)),Ng=S("Input",e=>({bindingPropertyName:e})),jg=S("Output",e=>({bindingPropertyName:e})),Fg=S("HostBinding",e=>({hostPropertyName:e})),Lg=S("HostListener",(e,t)=>({eventName:e,args:t})),Vg=fg,Bg=gg,Ug=Ag,Hg=Vg,Gg=Bg,qg=Ug,Kg=b("NgModule",e=>e,void 0,void 0,(e,t)=>
1052Yg(e,t)),zg=og,Yg=zg,$g=new de("Application Initializer");let Wg=(()=>{class e{constructor(e){this.appInits=e,this.initialized=!1,this.done=!1,this.donePromise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}runInitializers(){if(this.initialized)return;const e=[],t=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let n=0;n<this.appInits.length;n++){const t=this.appInits[n]();dl(t)&&e.push(t)}Promise.all(e).then(()=>{t()}).catch(e=>{this.reject(e)}),0===e.length&&t(),this.initialized=!0}}return e.\u0275fac=function(t){return new(t||e)(we($g,8))},e.\u0275prov=M({token:e,factory:e.\u0275fac}),e})();
1053/**
1054 * @license
1055 * Copyright Google LLC All Rights Reserved.
1056 *
1057 * Use of this source code is governed by an MIT-style license that can be
1058 * found in the LICENSE file at https://angular.io/license
1059 */const Zg=new de("AppId");function Jg(){return`${Xg()}${Xg()}${Xg()}`}const Qg={provide:Zg,useFactory:Jg,deps:[]};function Xg(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const ey=new de("Platform Initializer"),ty=new de("Platform ID"),ny=new de("appBootstrapListener"),ry=new de("Application Packages Root URL");let oy=(()=>{class e{log(e){console.log(e)}warn(e){console.warn(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=M({token:e,factory:e.\u0275fac}),e})();
1060/**
1061 * @license
1062 * Copyright Google LLC All Rights Reserved.
1063 *
1064 * Use of this source code is governed by an MIT-style license that can be
1065 * found in the LICENSE file at https://angular.io/license
1066 */const iy=new de("LocaleId"),ay=new de("DefaultCurrencyCode"),sy=new de("Translations"),cy=new de("TranslationsFormat");var ly=function(e){return e[e.Error=0]="Error",e[e.Warning=1]="Warning",e[e.Ignore=2]="Ignore",e}({});
1067/**
1068 * @license
1069 * Copyright Google LLC All Rights Reserved.
1070 *
1071 * Use of this source code is governed by an MIT-style license that can be
1072 * found in the LICENSE file at https://angular.io/license
1073 */const uy=!0,dy=uy;
1074/**
1075 * @license
1076 * Copyright Google LLC All Rights Reserved.
1077 *
1078 * Use of this source code is governed by an MIT-style license that can be
1079 * found in the LICENSE file at https://angular.io/license
1080 */class hy{constructor(e,t){this.ngModuleFactory=e,this.componentFactories=t}}const my=function(e){return new ef(e)},py=my,fy=function(e){return Promise.resolve(my(e))},gy=fy,yy=function(e){const t=my(e),n=Ct(at(e).declarations).reduce((e,t)=>{const n=nt(t);return n&&e.push(new Kp(n)),e},[]);return new hy(t,n)},vy=yy,by=function(e){return Promise.resolve(yy(e))},Cy=by;let wy=(()=>{class e{constructor(){this.compileModuleSync=py,this.compileModuleAsync=gy,this.compileModuleAndAllComponentsSync=vy,this.compileModuleAndAllComponentsAsync=Cy}clearCache(){}clearCacheFor(e){}getModuleId(e){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=M({token:e,factory:e.\u0275fac}),e})();const Sy=new de("compilerOptions");class _y{}
1081/**
1082 * @license
1083 * Copyright Google LLC All Rights Reserved.
1084 *
1085 * Use of this source code is governed by an MIT-style license that can be
1086 * found in the LICENSE file at https://angular.io/license
1087 */const Ey=(()=>Promise.resolve(0))();function ky(e){"undefined"==typeof Zone?Ey.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}
1088/**
1089 * @license
1090 * Copyright Google LLC All Rights Reserved.
1091 *
1092 * Use of this source code is governed by an MIT-style license that can be
1093 * found in the LICENSE file at https://angular.io/license
1094 */
1095/**
1096 * @license
1097 * Copyright Google LLC All Rights Reserved.
1098 *
1099 * Use of this source code is governed by an MIT-style license that can be
1100 * found in the LICENSE file at https://angular.io/license
1101 */class xy{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:t=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new xf(!1),this.onMicrotaskEmpty=new xf(!1),this.onStable=new xf(!1),this.onError=new xf(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched(),this._nesting=0,this._outer=this._inner=Zone.current,Zone.wtfZoneSpec&&(this._inner=this._inner.fork(Zone.wtfZoneSpec)),Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),this.shouldCoalesceEventChangeDetection=t,this.lastRequestAnimationFrameId=-1,this.nativeRequestAnimationFrame=function(){let e=te.requestAnimationFrame,t=te.cancelAnimationFrame;if("undefined"!=typeof Zone&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function(e){const t=!!e.shouldCoalesceEventChangeDetection&&e.nativeRequestAnimationFrame&&(()=>{!function(e){-1===e.lastRequestAnimationFrameId&&(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(te,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Ay(e),Ty(e)},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Ay(e))}(e)});e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0,maybeDelayChangeDetection:t},onInvokeTask:(n,r,o,i,a,s)=>{try{return Py(e),n.invokeTask(o,i,a,s)}
vendor: 4,545 bytes, line 1101
1101finally{t&&"eventTask"===i.type&&t(),Dy(e)}},onInvoke:(t,n,r,o,i,a,s)=>{try{return Py(e),t.invoke(r,o,i,a,s)}finally{Dy(e)}},onHasTask:(t,n,r,o)=>{t.hasTask(r,o),n===r&&("microTask"==o.change?(e._hasPendingMicrotasks=o.microTask,Ay(e),Ty(e)):"macroTask"==o.change&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:(t,n,r,o)=>(t.handleError(r,o),e.runOutsideAngular(()=>e.onError.emit(o)),!1)})}(this)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!xy.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(xy.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(e,t,n){return this._inner.run(e,t,n)}runTask(e,t,n,r){const o=this._inner,i=o.scheduleEventTask("NgZoneEvent: "+r,e,Oy,Iy,Iy);try{return o.runTask(i,t,n)}finally{o.cancelTask(i)}}runGuarded(e,t,n){return this._inner.runGuarded(e,t,n)}runOutsideAngular(e){return this._outer.run(e)}}function Iy(){}const Oy={};function Ty(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function Ay(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||e.shouldCoalesceEventChangeDetection&&-1!==e.lastRequestAnimationFrameId)}function Py(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Dy(e){e._nesting--,Ty(e)}class Ry{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new xf,this.onMicrotaskEmpty=new xf,this.onStable=new xf,this.onError=new xf}run(e,t,n){return e.apply(t,n)}runGuarded(e,t,n){return e.apply(t,n)}runOutsideAngular(e){return e()}runTask(e,t,n,r){return e.apply(t,n)}}let My=(()=>{class e{constructor(e){this._ngZone=e,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),e.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{xy.assertNotInAngularZone(),ky(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())ky(()=>{for(;0!==this._callbacks.length;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(this._didWork)}this._didWork=!1});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(t=>!t.updateCb||!t.updateCb(e)||(clearTimeout(t.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,t,n){let r=-1;t&&t>0&&(r=setTimeout(()=>{this._callbacks=this._callbacks.filter(e=>e.timeoutId!==r),e(this._didWork,this.getPendingTasks())},t)),this._callbacks.push({doneCb:e,timeoutId:r,updateCb:n})}whenStable(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()}getPendingRequestCount(){return this._pendingCount}findProviders(e,t,n){return[]}}return e.\u0275fac=function(t){return new(t||e)(we(xy))},e.\u0275prov=M({token:e,factory:e.\u0275fac}),e})(),Ny=(()=>{class e{constructor(){this._applications=new Map,Vy.addToWindow(this)}registerApplication(e,t){this._applications.set(e,t)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,t=!0){return Vy.findTestabilityInTree(this,e,t)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=M({token:e,factory:e.\u0275fac}),e})();
1101class jy{addToWindow(e){}findTestabilityInTree(e,t,n){return null}}function Fy(e){Vy=e}let Ly,Vy=new jy,By=Uy;
1102/**
1103 * @license
1104 * Copyright Google LLC All Rights Reserved.
1105 *
1106 * Use of this source code is governed by an MIT-style license that can be
1107 * found in the LICENSE file at https://angular.io/license
1108 */function Uy(e,t,n){const r=new ef(n);return Promise.resolve(r)}let Hy=Gy;function Gy(e){return e.isBoundToModule}const qy=new de("AllowMultipleToken");class Ky{constructor(e,t){this.name=e,this.token=t}}function zy(e){if(Ly&&!Ly.destroyed&&!Ly.injector.get(qy,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Ly=e.get(Jy);const t=e.get(ey,null);return t&&t.forEach(e=>e()),Ly}function Yy(e,t,n=[]){const r="Platform: "+t,o=new de(r);return(t=[])=>{let i=Zy();if(!i||i.injector.get(qy,!1))if(e)e(n.concat(t).concat({provide:o,useValue:!0}));else{const e=n.concat(t).concat({provide:o,useValue:!0},{provide:Ga,useValue:"platform"});zy(is.create({providers:e,name:r}))}return $y(o)}}function $y(e){const t=Zy();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 Wy(){Ly&&!Ly.destroyed&&Ly.destroy()}function Zy(){return Ly&&!Ly.destroyed?Ly:null}let Jy=(()=>{class e{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,t){const n=function(e,t){let n;return n="noop"===e?new Ry:("zone.js"===e?void 0:e)||new xy({enableLongStackTrace:Dr(),shouldCoalesceEventChangeDetection:t}),n}(t?t.ngZone:void 0,t&&t.ngZoneEventCoalescing||!1),r=[{provide:xy,useValue:n}];return n.run(()=>{const t=is.create({providers:r,parent:this.injector,name:e.moduleType.name}),o=e.create(t),i=o.injector.get(mr,null);if(!i)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return o.onDestroy(()=>ev(this._modules,o)),n.runOutsideAngular(()=>n.onError.subscribe({next:e=>{i.handleError(e)}})),function(e,t,n){try{const r=n();return dl(r)?r.catch(n=>{throw t.runOutsideAngular(()=>e.handleError(n)),n}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(i,n,()=>{const e=o.injector.get(Wg);return e.runInitializers(),e.donePromise.then(()=>(dy&&dd(o.injector.get(iy,ad)||ad),this._moduleDoBootstrap(o),o))})})}bootstrapModule(e,t=[]){const n=Qy({},t);return By(this.injector,n,e).then(e=>this.bootstrapModuleFactory(e,n))}_moduleDoBootstrap(e){const t=e.injector.get(Xy);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(e=>t.bootstrap(e));else{if(!e.instance.ngDoBootstrap)throw new Error(`The module ${K(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)}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(e=>e.destroy()),this._destroyListeners.forEach(e=>e()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(t){return new(t||e)(we(is))},e.\u0275prov=M({token:e,factory:e.\u0275fac}),e})();function Qy(e,t){return Array.isArray(t)?t.reduce(Qy,e):Object.assign(Object.assign({},e),t)}let Xy=(()=>{class e{constructor(e,t,n,r,o,s){this._zone=e,this._console=t,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=o,this._initStatus=s,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=Dr(),this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const l=new i.a(e=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{e.next(this._stable),e.complete()})}),u=new i.a(e=>{let t;this._zone.runOutsideAngular(()=>{t=this._zone.onStable.subscribe(()=>{xy.assertNotInAngularZone(),ky(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,e.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{xy.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{e.next(!1)}))});return()=>{t.unsubscribe(),n.unsubscribe()}});this.isStable=Object(a.a)(l,u.pipe(e=>{return c()((t=p,function(e){let n;n="function"==typeof t?t:function(){return t};const r=Object.create(e,h);return r.source=e,r.subjectFactory=n,r})(e));var t}))}bootstrap(e,t){if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializer
1108s running. Bootstrap components in the `ngDoBootstrap` method of the root module.");let n;n=e instanceof hh?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);const r=Hy(n)?void 0:this._injector.get(Oe),o=n.create(is.NULL,[],t||n.selector,r);o.onDestroy(()=>{this._unloadComponent(o)});const i=o.injector.get(My,null);return i&&o.injector.get(Ny).registerApplication(o.location.nativeElement,i),this._loadComponent(o),Dr()&&this._console.log("Angular is running in development mode. Call enableProdMode() to enable production mode."),o}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let e of this._views)e.detectChanges();if(this._enforceNoNewChanges)for(let e of this._views)e.checkNoChanges()}catch(e){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(e))}finally{this._runningTick=!1}}attachView(e){const t=e;this._views.push(t),t.attachToAppRef(this)}detachView(e){const t=e;ev(this._views,t),t.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(ny,[]).concat(this._bootstrapListeners).forEach(t=>t(e))}_unloadComponent(e){this.detachView(e.hostView),ev(this.components,e)}ngOnDestroy(){this._views.slice().forEach(e=>e.destroy())}get viewCount(){return this._views.length}}return e.\u0275fac=function(t){return new(t||e)(we(xy),we(oy),we(is),we(mr),we(gh),we(Wg))},e.\u0275prov=M({token:e,factory:e.\u0275fac}),e})();function ev(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}
1109/**
1110 * @license
1111 * Copyright Google LLC All Rights Reserved.
1112 *
1113 * Use of this source code is governed by an MIT-style license that can be
1114 * found in the LICENSE file at https://angular.io/license
1115 */
1116/**
1117 * @license
1118 * Copyright Google LLC All Rights Reserved.
1119 *
1120 * Use of this source code is governed by an MIT-style license that can be
1121 * found in the LICENSE file at https://angular.io/license
1122 */
1123/**
1124 * @license
1125 * Copyright Google LLC All Rights Reserved.
1126 *
1127 * Use of this source code is governed by an MIT-style license that can be
1128 * found in the LICENSE file at https://angular.io/license
1129 */class tv{}function nv(e){const t=Qp(e);if(!t)throw iv(e);return t}function rv(e){const t=Qp(e);if(!t)throw iv(e);return new ef(t)}const ov=rv;function iv(e){return new Error(`No module with ID ${e} loaded`)}
1130/**
1131 * @license
1132 * Copyright Google LLC All Rights Reserved.
1133 *
1134 * Use of this source code is governed by an MIT-style license that can be
1135 * found in the LICENSE file at https://angular.io/license
1136 */class av{}const sv={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};let cv=(()=>{class e{constructor(e,t){this._compiler=e,this._config=t||sv}load(e){return!dy&&this._compiler instanceof wy?this.loadFactory(e):this.loadAndCompile(e)}loadAndCompile(e){let[t,r]=e.split("#");return void 0===r&&(r="default"),n("crnd")(t).then(e=>e[r]).then(e=>lv(e,t,r)).then(e=>this._compiler.compileModuleAsync(e))}loadFactory(e){let[t,r]=e.split("#"),o="NgFactory";return void 0===r&&(r="default",o=""),n("crnd")(this._config.factoryPathPrefix+t+this._config.factoryPathSuffix).then(e=>e[r+o]).then(e=>lv(e,t,r))}}return e.\u0275fac=function(t){return new(t||e)(we(wy),we(av,8))},e.\u0275prov=M({token:e,factory:e.\u0275fac}),e})();function lv(e,t,n){if(!e)throw new Error(`Cannot find '${n}' in '${t}'`);return e}
1137/**
1138 * @license
1139 * Copyright Google LLC All Rights Reserved.
1140 *
1141 * Use of this source code is governed by an MIT-style license that can be
1142 * found in the LICENSE file at https://angular.io/license
1143 */class uv extends Ca{}class dv extends uv{}
1144/**
1145 * @license
1146 * Copyright Google LLC All Rights Reserved.
1147 *
1148 * Use of this source code is governed by an MIT-style license that can be
1149 * found in the LICENSE file at https://angular.io/license
1150 */
1151/**
1152 * @license
1153 * Copyright Google LLC All Rights Reserved.
1154 *
1155 * Use of this source code is governed by an MIT-style license that can be
1156 * found in the LICENSE file at https://angular.io/license
1157 */class hv{constructor(e,t){this.name=e,this.callback=t}}class mv{constructor(e,t,n){this.listeners=[],this.parent=null,this._debugContext=n,this.nativeNode=e,t&&t instanceof pv&&t.addChild(this)}
1157get injector(){return this._debugContext.injector}get componentInstance(){return this._debugContext.component}get context(){return this._debugContext.context}get references(){return this._debugContext.references}get providerTokens(){return this._debugContext.providerTokens}}class pv extends mv{constructor(e,t,n){super(e,t,n),this.properties={},this.attributes={},this.classes={},this.styles={},this.childNodes=[],this.nativeElement=e}addChild(e){e&&(this.childNodes.push(e),e.parent=this)}removeChild(e){const t=this.childNodes.indexOf(e);-1!==t&&(e.parent=null,this.childNodes.splice(t,1))}insertChildrenAfter(e,t){const n=this.childNodes.indexOf(e);-1!==n&&(this.childNodes.splice(n+1,0,...t),t.forEach(t=>{t.parent&&t.parent.removeChild(t),e.parent=this}))}insertBefore(e,t){const 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))}query(e){return this.queryAll(e)[0]||null}queryAll(e){const t=[];return function e(t,n,r){t.childNodes.forEach(t=>{t instanceof pv&&(n(t)&&r.push(t),e(t,n,r))})}(this,e,t),t}queryAllNodes(e){const t=[];return function e(t,n,r){t instanceof pv&&t.childNodes.forEach(t=>{n(t)&&r.push(t),t instanceof pv&&e(t,n,r)})}(this,e,t),t}get children(){return this.childNodes.filter(e=>e instanceof pv)}triggerEventHandler(e,t){this.listeners.forEach(n=>{n.name==e&&n.callback(t)})}}function fv(e){return e.map(e=>e.nativeElement)}class gv{constructor(e){this.nativeNode=e}get parent(){const e=this.nativeNode.parentNode;return e?new yv(e):null}get injector(){return Ys(this.nativeNode)}get componentInstance(){const e=this.nativeNode;return e&&(Gs(e)||Ks(e))}get context(){return Gs(this.nativeNode)||qs(this.nativeNode)}get listeners(){return Js(this.nativeNode).filter(e=>"dom"===e.type)}get references(){return function(e){const t=Ws(e,!1);return null===t?{}:(void 0===t.localRefs&&(t.localRefs=function(e,t){const n=e[1].data[t];if(n&&n.localNames){const t={};let r=n.index+1;for(let o=0;o<n.localNames.length;o+=2)t[n.localNames[o]]=e[r],r++;return t}return null}
1158/**
1159 * @license
1160 * Copyright Google LLC All Rights Reserved.
1161 *
1162 * Use of this source code is governed by an MIT-style license that can be
1163 * found in the LICENSE file at https://angular.io/license
1164 */(t.lView,t.nodeIndex)),t.localRefs||{})}(this.nativeNode)}get providerTokens(){return function(e){const t=Ws(e,!1);if(null===t)return[];const n=t.lView[1],r=n.data[t.nodeIndex],o=[],i=r.directiveEnd;for(let s=1048575&r.providerIndexes;s<i;s++){let e=n.data[s];void 0!==(a=e).type&&void 0!==a.template&&void 0!==a.declaredInputs&&(e=e.type),o.push(e)}var a;return o}(this.nativeNode)}}class yv extends gv{constructor(e){super(e)}get nativeElement(){return this.nativeNode.nodeType==Node.ELEMENT_NODE?this.nativeNode:null}get name(){try{const e=Ws(this.nativeNode);return e.lView[1].data[e.nodeIndex].tagName}catch(e){return this.nativeNode.nodeName}}get properties(){const e=Ws(this.nativeNode,!1);if(null==e)return{};const t=e.lView,n=t[1].data,r=n[e.nodeIndex],o={};return function(e,t){if(e){let n=Object.getPrototypeOf(e);const r=Node.prototype;for(;null!==n&&n!==r;){const r=Object.getOwnPropertyDescriptors(n);for(let n in r)if(!n.startsWith("__")&&!n.startsWith("on")){const r=e[n];vv(r)&&(t[n]=r)}n=Object.getPrototypeOf(n)}}}(this.nativeElement,o),function(e,t,n,r){let o=t.propertyBindings;if(null!==o)for(let i=0;i<o.length;i++){const t=o[i],a=r[t].split("\ufffd"),s=a[0];if(a.length>1){let r=a[1];for(let e=1;e<a.length-1;e++)r+=pt(n[t+e-1])+a[e+1];e[s]=r}else e[s]=n[t]}}
1164(o,r,t,n),o}get attributes(){const e={},t=this.nativeElement;if(!t)return e;const n=Ws(t,!1);if(null==n)return{};const r=n.lView[1].data[n.nodeIndex].attrs,o=[];if(r){let t=0;for(;t<r.length;){const n=r[t];if("string"!=typeof n)break;e[n]=r[t+1],o.push(n.toLowerCase()),t+=2}}const i=t.attributes;for(let a=0;a<i.length;a++){const t=i[a],n=t.name.toLowerCase();-1===o.indexOf(n)&&(e[n]=t.value)}return e}get styles(){return this.nativeElement&&this.nativeElement.style?this.nativeElement.style:{}}get classes(){const e={},t=this.nativeElement.className;return(t&&"string"!=typeof t?t.baseVal.split(" "):t.split(" ")).forEach(t=>e[t]=!0),e}get childNodes(){const e=this.nativeNode.childNodes,t=[];for(let n=0;n<e.length;n++)t.push(kv(e[n]));return t}get children(){const e=this.nativeElement;if(!e)return[];const t=e.children,n=[];for(let r=0;r<t.length;r++)n.push(kv(t[r]));return n}query(e){return this.queryAll(e)[0]||null}queryAll(e){const t=[];return bv(this,e,t,!0),t}queryAllNodes(e){const t=[];return bv(this,e,t,!1),t}triggerEventHandler(e,t){const n=this.nativeNode,r=[];this.listeners.forEach(o=>{if(o.name===e){const e=o.callback;e.call(n,t),r.push(e)}}),"function"==typeof n.eventListeners&&n.eventListeners(e).forEach(e=>{if(-1!==e.toString().indexOf("__ngUnwrap__")){const o=e("__ngUnwrap__");return-1===r.indexOf(o)&&o.call(n,t)}})}}function vv(e){return"string"==typeof e||"boolean"==typeof e||"number"==typeof e||null===e}function bv(e,t,n,r){const o=Ws(e.nativeNode,!1);null!==o?Cv(o.lView[1].data[o.nodeIndex],o.lView,t,n,r,e.nativeNode):_v(e.nativeNode,t,n,r)}function Cv(e,t,n,r,o,i){const a=function(e,t){const n=null===e?-1:e.index;return-1!==n?Rt(t[n]):null}(e,t);if(2===e.type||3===e.type){if(Sv(a,n,r,o,i),ut(e)){const a=Lt(e.index,t);a&&a[1].firstChild&&Cv(a[1].firstChild,a,n,r,o,i)}else e.child&&Cv(e.child,t,n,r,o,i),a&&_v(a,n,r,o);const s=t[e.index];ct(s)&&wv(s,n,r,o,i)}else if(0===e.type){const a=t[e.index];Sv(a[7],n,r,o,i),wv(a,n,r,o,i)}else if(1===e.type){const a=t[16],s=a[6].projection[e.projection];if(Array.isArray(s))for(let e of s)Sv(e,n,r,o,i);else if(s){const e=a[3];Cv(e[1].data[s.index],e,n,r,o,i)}}else e.child&&Cv(e.child,t,n,r,o,i);if(i!==a){const a=4&e.flags?e.projectionNext:e.next;a&&Cv(a,t,n,r,o,i)}}function wv(e,t,n,r,o){for(let i=10;i<e.length;i++){const a=e[i],s=a[1].firstChild;s&&Cv(s,a,t,n,r,o)}}function Sv(e,t,n,r,o){if(o!==e){const o=xv(e);if(!o)return;(r&&o instanceof yv&&t(o)&&-1===n.indexOf(o)||!r&&t(o)&&-1===n.indexOf(o))&&n.push(o)}}function _v(e,t,n,r){const o=e.childNodes,i=o.length;for(let a=0;a<i;a++){const e=o[a],i=xv(e);i&&((r&&i instanceof yv&&t(i)&&-1===n.indexOf(i)||!r&&t(i)&&-1===n.indexOf(i))&&n.push(i),_v(e,t,n,r))}}const Ev=new Map;function kv(e){return e instanceof Node?(e.hasOwnProperty("__ng_debug__")||(e.__ng_debug__=e.nodeType==Node.ELEMENT_NODE?new yv(e):new gv(e)),e.__ng_debug__):null}const xv=kv;function Iv(e){return function(e){return Ev.get(e)||null}(e)}const Ov=function(e){return null};function Tv(e){Ev.set(e.nativeNode,e)}const Av=gv,Pv=yv,Dv=Yy(null,"core",[{provide:ty,useValue:"unknown"},{provide:Jy,deps:[is]},{provide:Ny,deps:[]},{provide:oy,deps:[]}]);
1165/**
1166 * @license
1167 * Copyright Google LLC All Rights Reserved.
1168 *
1169 * Use of this source code is governed by an MIT-style license that can be
1170 * found in the LICENSE file at https://angular.io/license
1171 */function Rv(){return Gh}function Mv(){return qh}function Nv(e){return e=e||dy&&"undefined"!=typeof $localize&&$localize.locale||ad,dy&&dd(e),e}const jv=sd,Fv=[{provide:Xy,useClass:Xy,deps:[xy,oy,is,mr,gh,Wg]},{provide:qp,deps:[xy],useFactory:Lv},{provide:Wg,useClass:Wg,deps:[[new k,$g]]},{provide:wy,useClass:wy,deps:[]},Qg,{provide:Bh,useFactory:Rv,deps:[]},{provide:Uh,useFactory:Mv,deps:[]},{provide:iy,useFactory:Nv,deps:[[new E(iy),new k,new I]]},{provide:ay,useValue:jv}];function Lv(e){let t=[];return e.onStable.subscribe(()=>{for(;t.length;)t.pop()()}),function(e){t.push(e)}}let Vv=(()=>{class e{constructor(e){}}return e.\u0275mod=Je({type:e}),e.\u0275inj=j({factory:function(t){return new(t||e)(we(Xy))},providers:Fv}),e})();
1172/**
1173 * @license
1174 * Copyright Google LLC All Rights Reserved.
1175 *
1176 * Use of this source code is governed by an MIT-style license that can be
1177 * found in the LICENSE file at https://angular.io/license
1178 */function Bv(e,t,n,r,o,i){e|=1;const{matchedQueries:a,references:s,matchedQueryIds:c}=Im(t);return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,flags:e,checkIndex:-1,
vendor: 5,420 bytes, lines 1178-1185
1178childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:a,matchedQueryIds:c,references:s,ngContentIndex:n,childCount:r,bindings:[],bindingFlags:0,outputs:[],element:{ns:null,name:null,attrs:null,template:i?Pm(i):null,componentProvider:null,componentView:null,componentRendererType:null,publicProviders:null,allProviders:null,handleEvent:o||lm},provider:null,text:null,query:null,ngContent:null}}function Uv(e,t,n,r,o,i,a=[],s,c,l,u,d){l||(l=lm);const{matchedQueries:h,references:m,matchedQueryIds:p}=Im(n);let f=null,g=null;i&&([f,g]=Lm(i)),s=s||[];const y=[];for(let C=0;C<s.length;C++){const[e,t,n]=s[C],[r,o]=Lm(t);let i=void 0,a=void 0;switch(15&e){case 4:a=n;break;case 1:case 8:i=n}y[C]={flags:e,ns:r,name:o,nonMinifiedName:o,securityContext:i,suffix:a}}c=c||[];const v=[];for(let C=0;C<c.length;C++){const[e,t]=c[C];v[C]={type:0,target:e,eventName:t,propName:null}}const b=(a=a||[]).map(([e,t])=>{const[n,r]=Lm(e);return[n,r,t]});return d=function(e){if(e&&"$$undefined"===e.id){const t=null!=e.encapsulation&&e.encapsulation!==He.None||e.styles.length||Object.keys(e.data).length;e.id=t?"c"+pm++:"$$empty"}return e&&"$$empty"===e.id&&(e=null),e||null}(d),u&&(t|=33554432),{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:t|=1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:h,matchedQueryIds:p,references:m,ngContentIndex:r,childCount:o,bindings:y,bindingFlags:Vm(y),outputs:v,element:{ns:f,name:g,attrs:b,template:null,componentProvider:null,componentView:u||null,componentRendererType:d,publicProviders:null,allProviders:null,handleEvent:l||lm},provider:null,text:null,query:null,ngContent:null}}function Hv(e,t,n){const r=n.element,o=e.root.selectorOrNode,i=e.renderer;let a;if(e.parent||!o){a=r.name?i.createElement(r.name,r.ns):i.createComment("");const o=Tm(e,t,n);o&&i.appendChild(o,a)}else a=i.selectRootElement(o,!!r.componentRendererType&&r.componentRendererType.encapsulation===He.ShadowDom);if(r.attrs)for(let s=0;s<r.attrs.length;s++){const[e,t,n]=r.attrs[s];i.setAttribute(a,t,n,e)}return a}function Gv(e,t,n,r){for(let a=0;a<n.outputs.length;a++){const s=n.outputs[a],c=qv(e,n.nodeIndex,(i=s.eventName,(o=s.target)?`${o}:${i}`:i));let l=s.target,u=e;"component"===s.target&&(l=null,u=t);const d=u.renderer.listen(l||r,s.eventName,c);e.disposables[n.outputIndex+a]=d}var o,i}function qv(e,t,n){return r=>Cm(e,t,n,r)}function Kv(e,t,n,r){if(!gm(e,t,n,r))return!1;const o=t.bindings[n],i=rm(e,t.nodeIndex),a=i.renderElement,s=o.name;switch(15&o.flags){case 1:!function(e,t,n,r,o,i){const a=t.securityContext;let s=a?e.root.sanitizer.sanitize(a,i):i;s=null!=s?s.toString():null;const c=e.renderer;null!=i?c.setAttribute(n,o,s,r):c.removeAttribute(n,o,r)}(e,o,a,o.ns,s,r);break;case 2:!function(e,t,n,r){const o=e.renderer;r?o.addClass(t,n):o.removeClass(t,n)}(e,a,s,r);break;case 4:!function(e,t,n,r,o){let i=e.root.sanitizer.sanitize(io.STYLE,o);if(null!=i){i=i.toString();const e=t.suffix;null!=e&&(i+=e)}else i=null;const a=e.renderer;null!=i?a.setStyle(n,r,i):a.removeStyle(n,r)}(e,o,a,s,r);break;case 8:!function(e,t,n,r,o){const i=t.securityContext;let a=i?e.root.sanitizer.sanitize(i,o):o;e.renderer.setProperty(n,r,a)}
1179/**
1180 * @license
1181 * Copyright Google LLC All Rights Reserved.
1182 *
1183 * Use of this source code is governed by an MIT-style license that can be
1184 * found in the LICENSE file at https://angular.io/license
1185 */(33554432&t.flags&&32&o.flags?i.componentView:e,o,a,s,r)}return!0}function zv(e,t,n){let r=[];for(let o in n)r.push({propName:o,bindingType:n[o]});return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:-1,flags:e,childFlags:0,directChildFlags:0,childMatchedQueries:0,ngContentIndex:-1,matchedQueries:{},matchedQueryIds:0,references:{},childCount:0,bindings:[],bindingFlags:0,outputs:[],element:null,provider:null,text:null,query:{id:t,filterId:xm(t),bindings:r},ngContent:null}}function Yv(e){const t=e.def.nodeMatchedQueries;for(;e.parent&&km(e);){let n=e.parentNodeDef;e=e.parent;const r=n.nodeIndex+n.childCount;for(let o=0;o<=r;o++){const r=e.def.nodes[o];67108864&r.flags&&536870912&r.flags&&(r.query.filterId&t)===r.query.filterId&&am(e,o).setDirty(),!(1&r.flags&&o+r.childCount<n.nodeIndex)&&67108864&r.childFlags&&536870912&r.childFlags||(o+=r.childCount)}}if(134217728&e.def.nodeFlags)for(let n=0;n<e.def.nodes.length;n++){const t=e.def.nodes[n];134217728&t.flags&&536870912&t.flags&&am(e,n).setDirty(),n+=t.childCount}}function $v(e,t){const n=am(e,t.nodeIndex);if(!n.dirty)return;let r,o=void 0;if(67108864&t.flags){const n=t.parent.parent;o=Wv(e,n.nodeIndex,n.nodeIndex+n.childCount,t.query,[]),r=om(e,t.parent.nodeIndex).instance}else 134217728&t.flags&&(o=Wv(e,0,e.def.nodes.length-1,t.query,[]),r=e.component);n.reset(o);const i=t.query.bindings;let a=!1;for(let s=0;s<i.length;s++){const e=i[s];let t;switch(e.bindingType){case 0:t=n.first;break;case 1:t=n,a=!0}r[e.propName]=t}a&&n.notifyOnChanges()}function Wv(e,t,n,r,o){for(let i=t;i<=n;i++){const t=e.def.nodes[i],n=t.matchedQueries[r.id];if(null!=n&&o.push(Zv(e,t,n)),1&t.flags&&t.element.template&&(t.element.template.nodeMatchedQueries&r.filterId)===r.filterId){const n=rm(e,i);if((t.childMatchedQueries&r.filterId)===r.filterId&&(Wv(e,i+1,i+t.childCount,r,o),i+=t.childCount),16777216&t.flags){const e=n.viewContainer._embeddedViews;for(let t=0;t<e.length;t++){const i=e[t],a=wm(i);
1185a&&a===n&&Wv(i,0,i.def.nodes.length-1,r,o)}}const a=n.template._projectedViews;if(a)for(let e=0;e<a.length;e++){const t=a[e];Wv(t,0,t.def.nodes.length-1,r,o)}}(t.childMatchedQueries&r.filterId)!==r.filterId&&(i+=t.childCount)}return o}function Zv(e,t,n){if(null!=n)switch(n){case 1:return rm(e,t.nodeIndex).renderElement;case 0:return new bh(rm(e,t.nodeIndex).renderElement);case 2:return rm(e,t.nodeIndex).template;case 3:return rm(e,t.nodeIndex).viewContainer;case 4:return om(e,t.nodeIndex).instance}}
1186/**
1187 * @license
1188 * Copyright Google LLC All Rights Reserved.
1189 *
1190 * Use of this source code is governed by an MIT-style license that can be
1191 * found in the LICENSE file at https://angular.io/license
1192 */function Jv(e,t){return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:-1,flags:8,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:e,childCount:0,bindings:[],bindingFlags:0,outputs:[],element:null,provider:null,text:null,query:null,ngContent:{index:t}}}function Qv(e,t,n){const r=Tm(e,t,n);r&&Mm(e,n.ngContent.index,1,r,null,void 0)}
1193/**
1194 * @license
1195 * Copyright Google LLC All Rights Reserved.
1196 *
1197 * Use of this source code is governed by an MIT-style license that can be
1198 * found in the LICENSE file at https://angular.io/license
1199 */function Xv(e,t){return nb(128,e,Ne(t+1))}function eb(e,t){return nb(32,e,Ne(t))}function tb(e,t){const n=Object.keys(t),r=n.length,o=[];for(let i=0;i<r;i++)o.push(n[i]);return nb(64,e,o)}function nb(e,t,n){const r=[];for(let o=0;o<n.length;o++){const e=n[o];r.push({flags:8,name:e,ns:null,nonMinifiedName:e,securityContext:null,suffix:null})}return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:t,flags:e,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:-1,childCount:0,bindings:r,bindingFlags:Vm(r),outputs:[],element:null,provider:null,text:null,query:null,ngContent:null}}
1200/**
1201 * @license
1202 * Copyright Google LLC All Rights Reserved.
1203 *
1204 * Use of this source code is governed by an MIT-style license that can be
1205 * found in the LICENSE file at https://angular.io/license
1206 */function rb(e,t,n){const r=[];for(let o=1;o<n.length;o++)r[o-1]={flags:8,name:null,ns:null,nonMinifiedName:null,securityContext:null,suffix:n[o]};return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:2,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:t,childCount:0,bindings:r,bindingFlags:8,outputs:[],element:null,provider:null,text:{prefix:n[0]},query:null,ngContent:null}}function ob(e,t,n){let r;const o=e.renderer;r=o.createText(n.text.prefix);const i=Tm(e,t,n);return i&&o.appendChild(i,r),{renderText:r}}function ib(e,t){return(null!=e?e.toString():"")+t.suffix}
1207/**
1208 * @license
1209 * Copyright Google LLC All Rights Reserved.
1210 *
1211 * Use of this source code is governed by an MIT-style license that can be
1212 * found in the LICENSE file at https://angular.io/license
1213 */function ab(e,t,n,r){let o=0,i=0,a=0,s=0,c=0,l=null,u=null,d=!1,h=!1,m=null;for(let p=0;p<t.length;p++){const e=t[p];if(e.nodeIndex=p,e.parent=l,e.bindingIndex=o,e.outputIndex=i,e.renderParent=u,a|=e.flags,c|=e.matchedQueryIds,e.element){const t=e.element;t.publicProviders=l?l.element.publicProviders:Object.create(null),t.allProviders=t.publicProviders,d=!1,h=!1,e.element.template&&(c|=e.element.template.nodeMatchedQueries)}if(cb(l,e,t.length),o+=e.bindings.length,i+=e.outputs.length,!u&&3&e.flags&&(m=e),20224&e.flags){d||(d=!0,l.element.publicProviders=Object.create(l.element.publicProviders),l.element.allProviders=l.element.publicProviders);const t=0!=(32768&e.flags);0==(8192&e.flags)||t?l.element.publicProviders[dm(e.provider.token)]=e:(h||(h=!0,l.element.allProviders=Object.create(l.element.publicProviders)),l.element.allProviders[dm(e.provider.token)]=e),t&&(l.element.componentProvider=e)}if(l?(l.childFlags|=e.flags,l.directChildFlags|=e.flags,l.childMatchedQueries|=e.matchedQueryIds,e.element&&e.element.template&&(l.childMatchedQueries|=e.element.template.nodeMatchedQueries)):s|=e.flags,e.childCount>0)l=e,sb(e)||(u=e);else for(;l&&p===l.nodeIndex+l.childCount;){const e=l.parent;e&&(e.childFlags|=l.childFlags,e.childMatchedQueries|=l.childMatchedQueries),l=e,u=l&&sb(l)?l.renderParent:l}}return{factory:null,nodeFlags:a,rootNodeFlags:s,nodeMatchedQueries:c,flags:e,nodes:t,updateDirectives:n||lm,updateRenderer:r||lm,handleEvent:(e,n,r,o)=>t[n].element.handleEvent(e,r,o),bindingCount:o,outputCount:i,lastRenderRootNode:m}}
vendor: 17,284 bytes, lines 1213-1227
1213function sb(e){return 0!=(1&e.flags)&&null===e.element.name}function cb(e,t,n){const 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){const r=e?e.nodeIndex+e.childCount:n-1;if(t.nodeIndex<=r&&t.nodeIndex+t.childCount>r)throw new Error(`Illegal State: childCount of node leads outside of parent, at index ${t.nodeIndex}!`)}}function lb(e,t,n,r){const o=hb(e.root,e.renderer,e,t,n);return mb(o,e.component,r),pb(o),o}function ub(e,t,n){const r=hb(e,e.renderer,null,null,t);return mb(r,n,n),pb(r),r}function db(e,t,n,r){const o=t.element.componentRendererType;let i;return i=o?e.root.rendererFactory.createRenderer(r,o):e.root.renderer,hb(e.root,i,e,t.element.componentProvider,n)}function hb(e,t,n,r,o){const i=new Array(o.nodes.length),a=o.outputCount?new Array(o.outputCount):null;return{def:o,parent:n,viewContainerParent:null,parentNodeDef:r,context:null,component:null,nodes:i,state:13,root:e,renderer:t,oldValues:new Array(o.bindingCount),disposables:a,initIndex:-1}}function mb(e,t,n){e.component=t,e.context=n}function pb(e){let t;Em(e)&&(t=rm(e.parent,e.parentNodeDef.parent.nodeIndex).renderElement);const n=e.def,r=e.nodes;for(let o=0;o<n.nodes.length;o++){const i=n.nodes[o];let a;switch(cm.setCurrentNode(e,o),201347067&i.flags){case 1:const n=Hv(e,t,i);let s=void 0;if(33554432&i.flags){const t=Pm(i.element.componentView);s=cm.createComponentView(e,i,t,n)}Gv(e,s,i,n),a={renderElement:n,componentView:s,viewContainer:null,template:i.element.template?dp(e,i):void 0},16777216&i.flags&&(a.viewContainer=sp(e,i,a));break;case 2:a=ob(e,t,i);break;case 512:case 1024:case 2048:case 256:a=r[o],a||4096&i.flags||(a={instance:Tp(e,i)});break;case 16:a={instance:Ap(e,i)};break;case 16384:a=r[o],a||(a={instance:Pp(e,i)}),32768&i.flags&&mb(rm(e,i.parent.nodeIndex).componentView,a.instance,a.instance);break;case 32:case 64:case 128:a={value:void 0};break;case 67108864:case 134217728:a=new Of;break;case 8:Qv(e,t,i),a=void 0}r[o]=a}_b(e,Sb.CreateViewNodes),Ib(e,201326592,268435456,0)}function fb(e){vb(e),cm.updateDirectives(e,1),Eb(e,Sb.CheckNoChanges),cm.updateRenderer(e,1),_b(e,Sb.CheckNoChanges),e.state&=-97}function gb(e){1&e.state?(e.state&=-2,e.state|=2):e.state&=-3,em(e,0,256),vb(e),cm.updateDirectives(e,0),Eb(e,Sb.CheckAndUpdate),Ib(e,67108864,536870912,0);let t=em(e,256,512);Vp(e,2097152|(t?1048576:0)),cm.updateRenderer(e,0),_b(e,Sb.CheckAndUpdate),Ib(e,134217728,536870912,0),t=em(e,512,768),Vp(e,8388608|(t?4194304:0)),2&e.def.flags&&(e.state&=-9),e.state&=-97,em(e,768,1024)}function yb(e,t,n,r,o,i,a,s,c,l,u,d,h){return 0===n?function(e,t,n,r,o,i,a,s,c,l,u,d){switch(201347067&t.flags){case 1:return function(e,t,n,r,o,i,a,s,c,l,u,d){const h=t.bindings.length;let m=!1;return h>0&&Kv(e,t,0,n)&&(m=!0),h>1&&Kv(e,t,1,r)&&(m=!0),h>2&&Kv(e,t,2,o)&&(m=!0),h>3&&Kv(e,t,3,i)&&(m=!0),h>4&&Kv(e,t,4,a)&&(m=!0),h>5&&Kv(e,t,5,s)&&(m=!0),h>6&&Kv(e,t,6,c)&&(m=!0),h>7&&Kv(e,t,7,l)&&(m=!0),h>8&&Kv(e,t,8,u)&&(m=!0),h>9&&Kv(e,t,9,d)&&(m=!0),m}(e,t,n,r,o,i,a,s,c,l,u,d);case 2:return function(e,t,n,r,o,i,a,s,c,l,u,d){let h=!1;const m=t.bindings,p=m.length;if(p>0&&gm(e,t,0,n)&&(h=!0),p>1&&gm(e,t,1,r)&&(h=!0),p>2&&gm(e,t,2,o)&&(h=!0),p>3&&gm(e,t,3,i)&&(h=!0),p>4&&gm(e,t,4,a)&&(h=!0),p>5&&gm(e,t,5,s)&&(h=!0),p>6&&gm(e,t,6,c)&&(h=!0),p>7&&gm(e,t,7,l)&&(h=!0),p>8&&gm(e,t,8,u)&&(h=!0),p>9&&gm(e,t,9,d)&&(h=!0),h){let h=t.text.prefix;p>0&&(h+=ib(n,m[0])),p>1&&(h+=ib(r,m[1])),p>2&&(h+=ib(o,m[2])),p>3&&(h+=ib(i,m[3])),p>4&&(h+=ib(a,m[4])),p>5&&(h+=ib(s,m[5])),p>6&&(h+=ib(c,m[6])),p>7&&(h+=ib(l,m[7])),p>8&&(h+=ib(u,m[8])),p>9&&(h+=ib(d,m[9]));const f=nm(e,t.nodeIndex).renderText;e.renderer.setValue(f,h)}return h}(e,t,n,r,o,i,a,s,c,l,u,d);case 16384:return function(e,t,n,r,o,i,a,s,c,l,u,d){const h=om(e,t.nodeIndex),m=h.instance;let p=!1,f=void 0;const g=t.bindings.length;return g>0&&fm(e,t,0,n)&&(p=!0,f=Lp(e,h,t,0,n,f)),g>1&&fm(e,t,1,r)&&(p=!0,f=Lp(e,h,t,1,r,f)),g>2&&fm(e,t,2,o)&&(p=!0,f=Lp(e,h,t,2,o,f)),g>3&&fm(e,t,3,i)&&(p=!0,f=Lp(e,h,t,3,i,f)),g>4&&fm(e,t,4,a)&&(p=!0,f=Lp(e,h,t,4,a,f)),g>5&&fm(e,t,5,s)&&(p=!0,f=Lp(e,h,t,5,s,f)),g>6&&fm(e,t,6,c)&&(p=!0,f=Lp(e,h,t,6,c,f)),g>7&&fm(e,t,7,l)&&(p=!0,f=Lp(e,h,t,7,l,f)),g>8&&fm(e,t,8,u)&&(p=!0,f=Lp(e,h,t,8,u,f)),g>9&&fm(e,t,9,d)&&(p=!0,f=Lp(e,h,t,9,d,f)),f&&m.ngOnChanges(f),65536&t.flags&&tm(e,256,t.nodeIndex)&&m.ngOnInit(),262144&t.flags&&m.ngDoCheck(),p}(e,t,n,r,o,i,a,s,c,l,u,d);case 32:case 64:case 128:return function(e,t,n,r,o,i,a,s,c,l,u,d){const h=t.bindings;let m=!1;const p=h.length;if(p>0&&gm(e,t,0,n)&&(m=!0),p>1&&gm(e,t,1,r)&&(m=!0),p>2&&gm(e,t,2,o)&&(m=!0),p>3&&gm(e,t,3,i)&&(m=!0),p>4&&gm(e,t,4,a)&&(m=!0),p>5&&gm(e,t,5,s)&&(m=!0),p>6&&gm(e,t,6,c)&&(m=!0),p>7&&gm(e,t,7,l)&&(m=!0),p>8&&gm(e,t,8,u)&&(m=!0),p>9&&gm(e,t,9,d)&&(m=!0),m){const m=im(e,t.nodeIndex);let f;switch(201347067&t.flags){case 32:f=[],p>0&&f.push(n),p>1&&f.push(r),p>2&&f.push(o),p>3&&f.push(i),p>4&&f.push(a),p>5&&f.push(s),p>6&&f.push(c),p>7&&f.push(l),p>8&&f.push(u),p>9&&f.push(d);break;case 64:f={},p>0&&(f[h[0].name]=n),p>1&&(f[h[1].name]=r),p>2&&(f[h[2].name]=o),p>3&&(f[h[3].name]=i),p>4&&(f[h[4].name]=a),p>5&&(f[h[5].name]=s),p>6&&(f[h[6].name]=c),p>7&&(f[h[7].name]=l),p>8&&(f[h[8].name]=u),p>9&&(f[h[9].name]=d);break;case 128:const e=n;switch(p){case 1:f=e.transform(n);break;case 2:f=e.transform(r);break;case 3:f=e.transform(r,o);break;case 4:f=e.transform(r,o,i);break;case 5:f=e.transform(r,o,i,a);break;case 6:f=e.transform(r,o,i,a,s);break;case 7:f=e.transform(r,o,i,a,s,c);break;case 8:f=e.transform(r,o,i,a,s,c,l);break;case 9:f=e.transform(r,o,i,a,s,c,l,u);break;case 10:f=e.transform(r,o,i,a,s,c,l,u,d)}}m.value=f}return m}(e,t,n,r,o,i,a,s,c,l,u,d);default:throw"unreachable"}}(e,t,r,o,i,a,s,c,l,u,d,h):function(e,t,n){switch(201347067&t.flags){case 1:return function(e,t,n){let r=!1;for(let o=0;o<n.length;o++)Kv(e,t,o,n[o])&&(r=!0);return r}(e,t,n);case 2:return function(e,t,n){const r=t.bindings;let o=!1;for(let i=0;i<n.length;i++)gm(e,t,i,n[i])&&(o=!0);if(o){let o="";for(let e=0;e<n.length;e++)o+=ib(n[e],r[e]);o=t.text.prefix+o;const i=nm(e,t.nodeIndex).renderText;e.renderer.setValue(i,o)}return o}(e,t,n);case 16384:return function(e,t,n){const r=om(e,t.nodeIndex),o=r.instance;let i=!1,a=void 0;for(let s=0;s<n.length;s++)fm(e,t,s,n[s])&&(i=!0,a=Lp(e,r,t,s,n[s],a));return a&&o.ngOnChanges(a),65536&t.flags&&tm(e,256,t.nodeIndex)&&o.ngOnInit(),262144&t.flags&&o.ngDoCheck(),i}(e,t,n);case 32:case 64:case 128:return function(e,t,n){const r=t.bindings;let o=!1;for(let i=0;i<n.length;i++)gm(e,t,i,n[i])&&(o=!0);if(o){const o=im(e,t.nodeIndex);let i;switch(201347067&t.flags){case 32:i=n;break;case 64:i={};for(let o=0;o<n.length;o++)i[r[o].name]=n[o];break;case 128:const e=n[0],t=n.slice(1);i=e.transform(...t)}o.value=i}return o}(e,t,n);default:throw"unreachable"}}(e,t,r)}function vb(e){const t=e.def;if(4&t.nodeFlags)for(let n=0;n<t.nodes.length;n++){const r=t.nodes[n];if(4&r.flags){const t=rm(e,n).template._projectedViews;if(t)for(let n=0;n<t.length;n++){const r=t[n];r.state|=32,bm(r,e)}}else 0==(4&r.childFlags)&&(n+=r.childCount)}}function bb(e,t,n,r,o,i,a,s,c,l,u,d,h){return 0===n?function(e,t,n,r,o,i,a,s,c,l,u,d){const h=t.bindings.length;h>0&&ym(e,t,0,n),h>1&&ym(e,t,1,r),h>2&&ym(e,t,2,o),h>3&&ym(e,t,3,i),h>4&&ym(e,t,4,a),h>5&&ym(e,t,5,s),h>6&&ym(e,t,6,c),h>7&&ym(e,t,7,l),h>8&&ym(e,t,8,u),h>9&&ym(e,t,9,d)}(e,t,r,o,i,a,s,c,l,u,d,h):function(e,t,n){for(let r=0;r<n.length;r++)ym(e,t,r,n[r])}(e,t,r),!1}function Cb(e,t){if(am(e,t.nodeIndex).dirty)throw Jh(cm.createDebugContext(e,t.nodeIndex),`Query ${t.query.id} not dirty`,`Query ${t.query.id} dirty`,0!=(1&e.state))}function wb(e){if(!(128&e.state)){if(Eb(e,Sb.Destroy),_b(e,Sb.Destroy),Vp(e,131072),e.disposables)for(let t=0;t<e.disposables.length;t++)e.disposables[t]();!function(e){if(!(16&e.state))return;const t=wm(e);if(t){const n=t.template._projectedViews;n&&(Me(n,n.indexOf(e)),cm.dirtyParentQueries(e))}}(e),e.renderer.destroyNode&&function(e){const t=e.def.nodes.length;for(let n=0;n<t;n++){const t=e.def.nodes[n];1&t.flags?e.renderer.destroyNode(rm(e,n).renderElement):2&t.flags?e.renderer.destroyNode(nm(e,n).renderText):(67108864&t.flags||134217728&t.flags)&&am(e,n).destroy()}}(e),Em(e)&&e.renderer.destroy(),e.state|=128}}var Sb=function(e){return e[e.CreateViewNodes=0]="CreateViewNodes",e[e.CheckNoChanges=1]="CheckNoChanges",e[e.CheckNoChangesProjectedViews=2]="CheckNoChangesProjectedViews",e[e.CheckAndUpdate=3]="CheckAndUpdate",e[e.CheckAndUpdateProjectedViews=4]="CheckAndUpdateProjectedViews",e[e.Destroy=5]="Destroy",e}({});function _b(e,t){const n=e.def;if(33554432&n.nodeFlags)for(let r=0;r<n.nodes.length;r++){const o=n.nodes[r];33554432&o.flags?kb(rm(e,r).componentView,t):0==(33554432&o.childFlags)&&(r+=o.childCount)}}function Eb(e,t){const n=e.def;if(16777216&n.nodeFlags)for(let r=0;r<n.nodes.length;r++){const o=n.nodes[r];if(16777216&o.flags){const n=rm(e,r).viewContainer._embeddedViews;for(let e=0;e<n.length;e++)kb(n[e],t)}else 0==(16777216&o.childFlags)&&(r+=o.childCount)}}function kb(e,t){const n=e.state;switch(t){case Sb.CheckNoChanges:0==(128&n)&&(12==(12&n)?fb(e):64&n&&xb(e,Sb.CheckNoChangesProjectedViews));break;case Sb.CheckNoChangesProjectedViews:0==(128&n)&&(32&n?fb(e):64&n&&xb(e,t));break;case Sb.CheckAndUpdate:0==(128&n)&&(12==(12&n)?gb(e):64&n&&xb(e,Sb.CheckAndUpdateProjectedViews));break;case Sb.CheckAndUpdateProjectedViews:0==(128&n)&&(32&n?gb(e):64&n&&xb(e,t));break;case Sb.Destroy:wb(e);break;case Sb.CreateViewNodes:pb(e)}}function xb(e,t){Eb(e,t),_b(e,t)}function Ib(e,t,n,r){if(!(e.def.nodeFlags&t&&e.def.nodeFlags&n))return;const o=e.def.nodes.length;for(let i=0;i<o;i++){const o=e.def.nodes[i];if(o.flags&t&&o.flags&n)switch(cm.setCurrentNode(e,o.nodeIndex),r){case 0:$v(e,o);break;case 1:Cb(e,o)}o.childFlags&t&&o.childFlags&n||(i+=o.childCount)}}
1214/**
1215 * @license
1216 * Copyright Google LLC All Rights Reserved.
1217 *
1218 * Use of this source code is governed by an MIT-style license that can be
1219 * found in the LICENSE file at https://angular.io/license
1220 */let Ob=!1;function Tb(){if(Ob)return;Ob=!0;const e=Dr()?{setCurrentNode:Qb,createRootView:Pb,createEmbeddedView:Rb,createComponentView:Mb,createNgModuleRef:Nb,overrideProvider:Vb,overrideComponentView:Bb,clearOverrides:Ub,checkAndUpdateView:Kb,checkNoChangesView:zb,destroyView:Yb,createDebugContext:(e,t)=>new aC(e,t),handleEvent:Xb,updateDirectives:eC,updateRenderer:tC}:{setCurrentNode:()=>{},createRootView:Ab,createEmbeddedView:lb,createComponentView:db,createNgModuleRef:gp,overrideProvider:lm,overrideComponentView:lm,clearOverrides:lm,checkAndUpdateView:gb,checkNoChangesView:fb,destroyView:wb,createDebugContext:(e,t)=>new aC(e,t),handleEvent:(e,t,n,r)=>e.def.handleEvent(e,t,n,r),updateDirectives:(e,t)=>e.def.updateDirectives(0===t?Gb:qb,e),updateRenderer:(e,t)=>e.def.updateRenderer(0===t?Gb:qb,e)};cm.setCurrentNode=e.setCurrentNode,cm.createRootView=e.createRootView,cm.createEmbeddedView=e.createEmbeddedView,cm.createComponentView=e.createComponentView,cm.createNgModuleRef=e.createNgModuleRef,cm.overrideProvider=e.overrideProvider,cm.overrideComponentView=e.overrideComponentView,cm.clearOverrides=e.clearOverrides,cm.checkAndUpdateView=e.checkAndUpdateView,cm.checkNoChangesView=e.checkNoChangesView,cm.destroyView=e.destroyView,cm.resolveDep=jp,cm.createDebugContext=e.createDebugContext,cm.handleEvent=e.handleEvent,cm.updateDirectives=e.updateDirectives,cm.updateRenderer=e.updateRenderer,cm.dirtyParentQueries=Yv}function Ab(e,t,n,r,o,i){const a=o.injector.get(Sh);return ub(Db(e,o,a,t,n),r,i)}function Pb(e,t,n,r,o,i){const a=o.injector.get(Sh),s=Db(e,o,new uC(a),t,n),c=Hb(r);return cC($b.create,ub,null,[s,c,i])}function Db(e,t,n,r,o){const i=t.injector.get(Ih),a=t.injector.get(mr),s=n.createRenderer(null,null);return{ngModule:t,injector:e,projectableNodes:r,selectorOrNode:o,sanitizer:i,rendererFactory:n,renderer:s,errorHandler:a}}function Rb(e,t,n,r){const o=Hb(n);return cC($b.create,lb,null,[e,t,o,r])}function Mb(e,t,n,r){return n=Lb.get(t.element.componentProvider.provider.token)||Hb(n),cC($b.create,db,null,[e,t,n,r])}function Nb(e,t,n,r){return gp(e,t,n,function(e){const{hasOverrides:t,hasDeprecatedOverrides:n}=function(e){let t=!1,n=!1;return 0===jb.size||(e.providers.forEach(e=>{const r=jb.get(e.token);3840&e.flags&&r&&(t=!0,n=n||r.deprecatedBehavior)}),e.modules.forEach(e=>{Fb.forEach((r,o)=>{F(o).providedIn===e&&(t=!0,n=n||r.deprecatedBehavior)})})),{hasOverrides:t,hasDeprecatedOverrides:n}}(e);return t?(function(e){for(let t=0;t<e.providers.length;t++){const r=e.providers[t];n&&(r.flags|=4096);const o=jb.get(r.token);o&&(r.flags=-3841&r.flags|o.flags,r.deps=Om(o.deps),r.value=o.value)}if(Fb.size>0){let t=new Set(e.modules);Fb.forEach((r,o)=>{if(t.has(F(o).providedIn)){let t={token:o,flags:r.flags|(n?4096:0),deps:Om(r.deps),value:r.value,index:e.providers.length};e.providers.push(t),e.providersByKey[dm(o)]=t}})}}(e=e.factory(()=>lm)),e):e}(r))}const jb=new Map,Fb=new Map,Lb=new Map;function Vb(e){let t;jb.set(e.token,e),"function"==typeof e.token&&(t=F(e.token))&&"function"==typeof t.providedIn&&Fb.set(e.token,e)}function Bb(e,t){const n=Pm(op(t)),r=Pm(n.nodes[0].element.componentView);Lb.set(e,r)}function Ub(){jb.clear(),Fb.clear(),Lb.clear()}function Hb(e){if(0===jb.size)return e;const t=function(e){const t=[];let n=null;for(let r=0;r<e.nodes.length;r++){const o=e.nodes[r];1&o.flags&&(n=o),n&&3840&o.flags&&jb.has(o.provider.token)&&(t.push(n.nodeIndex),n=null)}return t}(e);if(0===t.length)return e;e=e.factory(()=>lm);for(let r=0;r<t.length;r++)n(e,t[r]);return e;function n(e,t){for(let n=t+1;n<e.nodes.length;n++){const t=e.nodes[n];if(1&t.flags)return;if(3840&t.flags){const e=t.provider,n=jb.get(e.token);n&&(t.flags=-3841&t.flags|n.flags,e.deps=Om(n.deps),e.value=n.value)}}}}function Gb(e,t,n,r,o,i,a,s,c,l,u,d,h){const m=e.def.nodes[t];return yb(e,m,n,r,o,i,a,s,c,l,u,d,h),224&m.flags?im(e,t).value:void 0}function qb(e,t,n,r,o,i,a,s,c,l,u,d,h){const m=e.def.nodes[t];return bb(e,m,n,r,o,i,a,s,c,l,u,d,h),224&m.flags?im(e,t).value:void 0}function Kb(e){return cC($b.detectChanges,gb,null,[e])}function zb(e){return cC($b.checkNoChanges,fb,null,[e])}function Yb(e){return cC($b.destroy,wb,null,[e])}var $b=function(e){return e[e.create=0]="create",e[e.detectChanges=1]="detectChanges",e[e.checkNoChanges=2]="checkNoChanges",e[e.destroy=3]="destroy",e[e.handleEvent=4]="handleEvent",e}({});let Wb,Zb,Jb;function Qb(e,t){Zb=e,Jb=t}function Xb(e,t,n,r){return Qb(e,t),cC($b.handleEvent,e.def.handleEvent,null,[e,t,n,r])}function eC(e,t){if(128&e.state)throw Xh($b[Wb]);return Qb(e,oC(e,0)),e.def.updateDirectives((function(e,n,r,...o){const i=e.def.nodes[n];return 0===t?nC(e,i,r,o):rC(e,i,r,o),16384&i.flags&&Qb(e,oC(e,n)),224&i.flags?im(e,i.nodeIndex).value:void 0}),e)}function tC(e,t){if(128&e.state)throw Xh($b[Wb]);return Qb(e,iC(e,0)),e.def.updateRenderer((function(e,n,r,...o){const i=e.def.nodes[n];return 0===t?nC(e,i,r,o):rC(e,i,r,o),3&i.flags&&Qb(e,iC(e,n)),224&i.flags?im(e,i.nodeIndex).value:void 0}),e)}function nC(e,t,n,r){if(yb(e,t,n,...r)){const i=1===n?r[0]:r;if(16384&t.flags){const n={};for(let e=0;e<t.bindings.length;e++){const r=t.bindings[e],a=i[e];8&r.flags&&(n[(o=r.nonMinifiedName,"ng-reflect-"+o.replace(/[$@]/g,"_").replace(vo,(...e)=>"-"+e[1].toLowerCase()))]=bo(a))}const r=t.parent,a=rm(e,r.nodeIndex).renderElement;if(r.element.name)for(let t in n){const r=n[t];null!=r?e.renderer.setAttribute(a,t,r):e.renderer.removeAttribute(a,t)}else e.renderer.setValue(a,yo("bindings="+JSON.stringify(n,null,2)))}}
1221/**
1222 * @license
1223 * Copyright Google LLC All Rights Reserved.
1224 *
1225 * Use of this source code is governed by an MIT-style license that can be
1226 * found in the LICENSE file at https://angular.io/license
1227 */var o}function rC(e,t,n,r){bb(e,t,n,...r)}function oC(e,t){for(let n=t;n<e.def.nodes.length;n++){const t=e.def.nodes[n];if(16384&t.flags&&t.bindings&&t.bindings.length)return n}return null}function iC(e,t){for(let n=t;n<e.def.nodes.length;n++){const t=e.def.nodes[n];if(3&t.flags&&t.bindings&&t.bindings.length)return n}return null}class aC{constructor(e,t){this.view=e,this.nodeIndex=t,null==t&&(this.nodeIndex=t=0),this.nodeDef=e.def.nodes[t];let n=this.nodeDef,r=e;for(;n&&0==(1&n.flags);)n=n.parent;if(!n)for(;!n&&r;)n=Sm(r),r=r.parent;this.elDef=n,this.elView=r}get elOrCompView(){return rm(this.elView,this.elDef.nodeIndex).componentView||this.view}get injector(){return mp(this.elView,this.elDef)}get component(){return this.elOrCompView.component}get context(){return this.elOrCompView.context}get providerTokens(){const e=[];
1227if(this.elDef)for(let t=this.elDef.nodeIndex+1;t<=this.elDef.nodeIndex+this.elDef.childCount;t++){const n=this.elView.def.nodes[t];20224&n.flags&&e.push(n.provider.token),t+=n.childCount}return e}get references(){const e={};if(this.elDef){sC(this.elView,this.elDef,e);for(let t=this.elDef.nodeIndex+1;t<=this.elDef.nodeIndex+this.elDef.childCount;t++){const n=this.elView.def.nodes[t];20224&n.flags&&sC(this.elView,n,e),t+=n.childCount}}return e}get componentRenderElement(){const e=function(e){for(;e&&!Em(e);)e=e.parent;return e.parent?rm(e.parent,Sm(e).nodeIndex):null}(this.elOrCompView);return e?e.renderElement:void 0}get renderNode(){return 2&this.nodeDef.flags?_m(this.view,this.nodeDef):_m(this.elView,this.elDef)}logError(e,...t){let n,r;2&this.nodeDef.flags?(n=this.view.def,r=this.nodeDef.nodeIndex):(n=this.elView.def,r=this.elDef.nodeIndex);const o=function(e,t){let n=-1;for(let r=0;r<=t;r++)3&e.nodes[r].flags&&n++;return n}(n,r);let i=-1;n.factory(()=>(i++,i===o?e.error.bind(e,...t):lm)),i<o&&(e.error("Illegal state: the ViewDefinitionFactory did not call the logger!"),e.error(...t))}}function sC(e,t,n){for(let r in t.references)n[r]=Zv(e,t,t.references[r])}function cC(e,t,n,r){const o=Wb,i=Zb,a=Jb;try{Wb=e;const s=t.apply(n,r);return Zb=i,Jb=a,Wb=o,s}catch(l){if(ur(l)||!Zb)throw l;throw s=l,c=lC(),s instanceof Error||(s=new Error(s.toString())),Qh(s,c),s}var s,c}function lC(){return Zb?new aC(Zb,Jb):null}class uC{constructor(e){this.delegate=e}createRenderer(e,t){return new dC(this.delegate.createRenderer(e,t))}begin(){this.delegate.begin&&this.delegate.begin()}end(){this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.delegate.whenRenderingDone?this.delegate.whenRenderingDone():Promise.resolve(null)}}class dC{constructor(e){this.delegate=e,this.debugContextFactory=lC,this.data=this.delegate.data}createDebugContext(e){return this.debugContextFactory(e)}destroyNode(e){const t=xv(e);!function(e){Ev.delete(e.nativeNode)}(t),t instanceof mv&&(t.listeners.length=0),this.delegate.destroyNode&&this.delegate.destroyNode(e)}destroy(){this.delegate.destroy()}createElement(e,t){const n=this.delegate.createElement(e,t),r=this.createDebugContext(n);if(r){const t=new pv(n,null,r);t.name=e,Tv(t)}return n}createComment(e){const t=this.delegate.createComment(yo(e)),n=this.createDebugContext(t);return n&&Tv(new mv(t,null,n)),t}createText(e){const t=this.delegate.createText(e),n=this.createDebugContext(t);return n&&Tv(new mv(t,null,n)),t}appendChild(e,t){const n=xv(e),r=xv(t);n&&r&&n instanceof pv&&n.addChild(r),this.delegate.appendChild(e,t)}insertBefore(e,t,n){const r=xv(e),o=xv(t),i=xv(n);r&&o&&r instanceof pv&&r.insertBefore(i,o),this.delegate.insertBefore(e,t,n)}removeChild(e,t){const n=xv(e),r=xv(t);n&&r&&n instanceof pv&&n.removeChild(r),this.delegate.removeChild(e,t)}selectRootElement(e,t){const n=this.delegate.selectRootElement(e,t),r=lC();return r&&Tv(new pv(n,null,r)),n}setAttribute(e,t,n,r){const o=xv(e);o&&o instanceof pv&&(o.attributes[r?r+":"+t:t]=n),this.delegate.setAttribute(e,t,n,r)}removeAttribute(e,t,n){const r=xv(e);r&&r instanceof pv&&(r.attributes[n?n+":"+t:t]=null),this.delegate.removeAttribute(e,t,n)}addClass(e,t){const n=xv(e);n&&n instanceof pv&&(n.classes[t]=!0),this.delegate.addClass(e,t)}removeClass(e,t){const n=xv(e);n&&n instanceof pv&&(n.classes[t]=!1),this.delegate.removeClass(e,t)}setStyle(e,t,n,r){const o=xv(e);o&&o instanceof pv&&(o.styles[t]=n),this.delegate.setStyle(e,t,n,r)}removeStyle(e,t,n){const r=xv(e);r&&r instanceof pv&&(r.styles[t]=null),this.delegate.removeStyle(e,t,n)}setProperty(e,t,n){const r=xv(e);r&&r instanceof pv&&(r.properties[t]=n),this.delegate.setProperty(e,t,n)}listen(e,t,n){if("string"!=typeof e){const r=xv(e);r&&r.listeners.push(new hv(t,n))}return this.delegate.listen(e,t,n)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setValue(e,t){return this.delegate.setValue(e,t)}}
1228/**
1229 * @license
1230 * Copyright Google LLC All Rights Reserved.
1231 *
1232 * Use of this source code is governed by an MIT-style license that can be
1233 * found in the LICENSE file at https://angular.io/license
1234 */function hC(e){return Tb(),cm.overrideProvider(e)}function mC(e,t){return Tb(),cm.overrideComponentView(e,t)}function pC(){return Tb(),cm.clearOverrides()}
1234function fC(e,t,n){return new gC(e,t,n)}class gC extends Te{constructor(e,t,n){super(),this.moduleType=e,this._bootstrapComponents=t,this._ngModuleDefFactory=n}create(e){Tb();const t=function(e){const t=Array.from(e.providers),n=Array.from(e.modules),r={};for(const o in e.providersByKey)r[o]=e.providersByKey[o];return{factory:e.factory,scope:e.scope,providers:t,modules:n,providersByKey:r}}(Pm(this._ngModuleDefFactory));return cm.createNgModuleRef(this.moduleType,e||is.NULL,this._bootstrapComponents,t)}}
1235/**
1236 * @license
1237 * Copyright Google LLC All Rights Reserved.
1238 *
1239 * Use of this source code is governed by an MIT-style license that can be
1240 * found in the LICENSE file at https://angular.io/license
1241 */
1242/**
1243 * @license
1244 * Copyright Google LLC All Rights Reserved.
1245 *
1246 * Use of this source code is governed by an MIT-style license that can be
1247 * found in the LICENSE file at https://angular.io/license
1248 */
1249/**
1250 * @license
1251 * Copyright Google LLC All Rights Reserved.
1252 *
1253 * Use of this source code is governed by an MIT-style license that can be
1254 * found in the LICENSE file at https://angular.io/license
1255 */
1256/**
1257 * @license
1258 * Copyright Google LLC All Rights Reserved.
1259 *
1260 * Use of this source code is governed by an MIT-style license that can be
1261 * found in the LICENSE file at https://angular.io/license
1262 */
1263/**
1264 * @license
1265 * Copyright Google LLC All Rights Reserved.
1266 *
1267 * Use of this source code is governed by an MIT-style license that can be
1268 * found in the LICENSE file at https://angular.io/license
1269 */},"9WSG":function(e,t,n){var r=n("6WtA");e.exports=function(e,t){var n=r(e),o=r(t);return n.getTime()===o.getTime()}},"9WoD":function(e,t,n){var r=n("yNUO");e.exports=function(e,t,n){var o=r(e).getTime(),i=r(t).getTime(),a=r(n).getTime();if(i>a)throw new Error("The start of the range cannot be after the end of the range");return o>=i&&o<=a}},"9d03":function(e,t,n){var r=n("ZmXw");e.exports=function(e,t){var n=Number(t);return r(e,3*n)}},"9m1m":function(e,t,n){var r=n("JtXv");e.exports=function(e){return r(new Date,e)}},"9ppp":function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));const r=(()=>{function e(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return e.prototype=Object.create(Error.prototype),e})()},AVfB:function(e,t,n){var r=n("Zipn");e.exports=function(e){return r(new Date,e)}},CXhC:function(e,t,n){var r=n("yNUO");e.exports=function(e){var t=r(e);return t.setHours(0,0,0,0),t}},Cfvw:function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var r=n("HDdC"),o=n("SeVD"),i=n("quSY"),a=n("kJWO"),s=n("jZKg"),c=n("Lhse"),l=n("c2HN"),u=n("I55L");function d(e,t){return t?function(e,t){if(null!=e){if(function(e){return e&&"function"==typeof e[a.a]}(e))return function(e,t){return new r.a(n=>{const r=new i.a;return r.add(t.schedule(()=>{const o=e[a.a]();r.add(o.subscribe({next(e){r.add(t.schedule(()=>n.next(e)))},error(e){r.add(t.schedule(()=>n.error(e)))},complete(){r.add(t.schedule(()=>n.complete()))}}))})),r})}(e,t);if(Object(l.a)(e))return function(e,t){return new r.a(n=>{const r=new i.a;return r.add(t.schedule(()=>e.then(e=>{r.add(t.schedule(()=>{n.next(e),r.add(t.schedule(()=>n.complete()))}))},e=>{r.add(t.schedule(()=>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[c.a]}(e)||"string"==typeof e)return function(e,t){if(!e)throw new Error("Iterable cannot be null");return new r.a(n=>{const r=new i.a;let o;return r.add(()=>{o&&"function"==typeof o.return&&o.return()}),r.add(t.schedule(()=>{o=e[c.a](),r.add(t.schedule((function(){if(n.closed)return;let e,t;try{const n=o.next();e=n.value,t=n.done}catch(r){return void n.error(r)}t?n.complete():(n.next(e),this.schedule())})))})),r})}(e,t)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}(e,t):e instanceof r.a?e:new r.a(Object(o.a)(e))}},DH7j:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));const r=(()=>Array.isArray||(e=>e&&"number"==typeof e.length))()},DT56:function(e,t,n){var r=n("yNUO");e.exports=function(e,t){var n=r(e).getTime(),o=r(t).getTime();return n<o?-1:n>o?1:0}},EMgV:function(e,t,n){var r=n("yNUO");e.exports=function(e){return r(e).getFullYear()}},Ev1t:function(e,t,n){var r=n("ZmXw");e.exports=function(e,t){var n=Number(t);return r(e,-n)}},F809:function(e,t,n){var r=n("yNUO"),o=n("sunR"),i=n("DT56");e.exports=function(e,t){var n=r(e),a=r(t),s=i(n,a),c=Math.abs(o(n,a));return n.setMonth(n.getMonth()-s*c),s*(c-(i(n,a)===-s))}},FF6D:function(e,t,n){var r=n("yNUO");e.exports=function(e){var t=r(e);return t.setMilliseconds(999),t}},FGiv:function(e,t){var n=1e3,r=60*n,o=60*r,i=24*o;function a(e,t,n){if(!(e<t))return e<1.5*t?Math.floor(e/t)+" "+n:Math.ceil(e/t)+" "+n+"s"}e.exports=function(e,t){t=t||{};var s,c=typeof e;if("string"===c&&e.length>0)return function(e){if(!((e=String(e)).length>100)){var t=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(e);if(t){var a=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*a;case"days":case"day":case"d":return a*i;case"hours":case"hour":case"hrs":case"hr":case"h":return a*o;case"minutes":case"minute":case"mins":case"min":case"m":return a*r;case"seconds":case"second":case"secs":case"sec":case"s":return a*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return a;default:return}}}}(e);if("number"===c&&!1===isNaN(e))return t.long?a(s=e,i,"day")||a(s,o,"hour")||a(s,r,"minute")||a(s,n,"second")||s+" ms":function(e){return e>=i?Math.round(e/i)+"d":e>=o?Math.round(e/o)+"h":e>=r?Math.round(e/r)+"m":e>=n?Math.round(e/n)+"s":e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},FYuM:function(e,t,n){var r=n("yNUO"),o=n("OBTA");e.exports=function(e,t){var n=r(e),i=Number(t)-(Math.floor(n.getMonth()/3)+1);return o(n,n.getMonth()+3*i)}},FpO7:function(e,t,n){e.exports=function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";
vendor: 4,104 bytes, line 1269
1269function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(3);Object.defineProperty(t,"conformToMask",{enumerable:!0,get:function(){return r(o).default}});var i=n(2);Object.defineProperty(t,"adjustCaretPosition",{enumerable:!0,get:function(){return r(i).default}});var a=n(5);Object.defineProperty(t,"createTextMaskInputElement",{enumerable:!0,get:function(){return r(a).default}})},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.placeholderChar="_",t.strFunction="function"},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.previousConformedValue,o=void 0===t?r:t,i=e.previousPlaceholder,a=void 0===i?r:i,s=e.currentCaretPosition,c=void 0===s?0:s,l=e.conformedValue,u=e.rawValue,d=e.placeholderChar,h=e.placeholder,m=e.indexesOfPipedChars,p=void 0===m?n:m,f=e.caretTrapIndexes,g=void 0===f?n:f;if(0===c||!u.length)return 0;var y=o.length,v=h.length,b=l.length,C=u.length-y,w=C>0;if(C>1&&!w&&0!==y)return c;var S=0,_=void 0,E=void 0;if(!w||o!==l&&l!==h){var k=l.toLowerCase(),x=u.toLowerCase().substr(0,c).split(r).filter((function(e){return-1!==k.indexOf(e)}));E=x[x.length-1];var I=a.substr(0,x.length).split(r).filter((function(e){return e!==d})).length,O=h.substr(0,x.length).split(r).filter((function(e){return e!==d})).length;!w&&(O!==I||void 0!==a[x.length-1]&&void 0!==h[x.length-2]&&a[x.length-1]!==d&&a[x.length-1]!==h[x.length-1]&&a[x.length-1]===h[x.length-2])&&I>0&&h.indexOf(E)>-1&&void 0!==u[c]&&(_=!0,E=u[c]);for(var T=p.map((function(e){return k[e]})).filter((function(e){return e===E})).length,A=x.filter((function(e){return e===E})).length,P=h.substr(0,h.indexOf(d)).split(r).filter((function(e,t){return e===E&&u[t]!==e})).length+A+T+(_?1:0),D=0,R=0;R<b&&(S=R+1,k[R]===E&&D++,!(D>=P));R++);}else S=c-C;if(w){for(var M=S,N=S;N<=v;N++)if(h[N]===d&&(M=N),h[N]===d||-1!==g.indexOf(N)||N===v)return M}else if(_){for(var j=S-1;j>=0;j--)if(l[j]===E||-1!==g.indexOf(j)||0===j)return j}else for(var F=S;F>=0;F--)if(h[F-1]===d||-1!==g.indexOf(F)||0===F)return F};var n=[],r=""},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!(0,o.isArray)(t)){if((void 0===t?"undefined":r(t))!==i.strFunction)throw new Error("Text-mask:conformToMask; The mask property must be an array.");t=t(e,n),t=(0,o.processCaretTraps)(t).maskWithoutCaretTraps}var c=n.guide,l=void 0===c||c,u=n.previousConformedValue,d=void 0===u?s:u,h=n.placeholderChar,m=void 0===h?i.placeholderChar:h,p=n.placeholder,f=void 0===p?(0,o.convertMaskToPlaceholder)(t,m):p,g=n.keepCharPositions,y=!1===l&&void 0!==d,v=e.length,b=d.length,C=f.length,w=t.length,S=v-b,_=S>0,E=n.currentCaretPosition+(_?-S:0),k=E+Math.abs(S);if(!0===g&&!_){for(var x=s,I=E;I<k;I++)f[I]===m&&(x+=m);e=e.slice(0,E)+x+e.slice(E,v)}for(var O=e.split(s).map((function(e,t){return{char:e,isNew:t>=E&&t<k}})),T=v-1;T>=0;T--){var A=O[T].char;A!==m&&A===f[T>=E&&b===w?T-S:T]&&O.splice(T,1)}var P=s,D=!1;e:for(var R=0;R<C;R++){var M=f[R];if(M===m){if(O.length>0)for(;O.length>0;){var N=O.shift(),j=N.char,F=N.isNew;if(j===m&&!0!==y){P+=m;continue e}if(t[R].test(j)){if(!0===g&&!1!==F&&d!==s&&!1!==l&&_){for(var L=O.length,V=null,B=0;B<L;B++){var U=O[B];if(U.char!==m&&!1===U.isNew)break;if(U.char===m){V=B;break}}null!==V?(P+=j,O.splice(V,1)):R--}else P+=j;continue e}D=!0}!1===y&&(P+=f.substr(R,C));break}P+=M}if(y&&!1===_){for(var H=null,G=0;G<P.length;G++)f[G]===m&&(H=G);P=null!==H?P.substr(0,H+1):s}return{conformedValue:P,meta:{someCharsRejected:D}}};var o=n(4),i=n(1),a=[],s=""},function(e,t,n){"use strict";function r(e){return Array.isArray&&Array.isArray(e)||e instanceof Array}
1269Object.defineProperty(t,"__esModule",{value:!0}),t.convertMaskToPlaceholder=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o.placeholderChar;if(!r(e))throw new Error("Text-mask:convertMaskToPlaceholder; The mask property must be an array.");if(-1!==e.indexOf(t))throw new Error("Placeholder character must not be used as part of the mask. Please specify a character that is not present in your mask as your placeholder character.\n\nThe placeholder character that was received is: "+JSON.stringify(t)+"\n\nThe mask that was received is: "+JSON.stringify(e));return e.map((function(e){return e instanceof RegExp?t:e})).join("")},t.isArray=r,t.isString=function(e){return"string"==typeof e||e instanceof String},t.isNumber=function(e){return"number"==typeof e&&void 0===e.length&&!isNaN(e)},t.isNil=function(e){return null==e},t.processCaretTraps=function(e){for(var t=[],n=void 0;-1!==(n=e.indexOf(a));)t.push(n),e.splice(n,1);return{maskWithoutCaretTraps:e,indexes:t}};var o=n(1),i=[],a="[]"},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){document.activeElement===e&&(f?g((function(){return e.setSelectionRange(t,t,m)}),0):e.setSelectionRange(t,t,m))}function i(e){if((0,u.isString)(e))return e;if((0,u.isNumber)(e))return String(e);if(null==e)return h;throw new Error("The 'value' provided to Text Mask needs to be a string or a number. The value received was:\n\n "+JSON.stringify(e))}Object.defineProperty(t,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=function(e){var t={previousConformedValue:void 0,previousPlaceholder:void 0};return{state:t,update:function(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,m=r.inputElement,f=r.mask,g=r.guide,y=r.pipe,v=r.placeholderChar,b=void 0===v?d.placeholderChar:v,C=r.keepCharPositions,w=void 0!==C&&C,S=r.showMask,_=void 0!==S&&S;if(void 0===n&&(n=m.value),n!==t.previousConformedValue){(void 0===f?"undefined":s(f))===p&&void 0!==f.pipe&&void 0!==f.mask&&(y=f.pipe,f=f.mask);var E=void 0,k=void 0;if(f instanceof Array&&(E=(0,u.convertMaskToPlaceholder)(f,b)),!1!==f){var x=i(n),I=m.selectionEnd,O=t.previousConformedValue,T=t.previousPlaceholder,A=void 0;if((void 0===f?"undefined":s(f))===d.strFunction){if(!1===(k=f(x,{currentCaretPosition:I,previousConformedValue:O,placeholderChar:b})))return;var P=(0,u.processCaretTraps)(k);A=P.indexes,E=(0,u.convertMaskToPlaceholder)(k=P.maskWithoutCaretTraps,b)}else k=f;var D={previousConformedValue:O,guide:g,placeholderChar:b,pipe:y,placeholder:E,currentCaretPosition:I,keepCharPositions:w},R=(0,l.default)(x,k,D).conformedValue,M=(void 0===y?"undefined":s(y))===d.strFunction,N={};M&&(!1===(N=y(R,a({rawValue:x},D)))?N={value:O,rejected:!0}:(0,u.isString)(N)&&(N={value:N}));var j=M?N.value:R,F=(0,c.default)({previousConformedValue:O,previousPlaceholder:T,conformedValue:j,placeholder:E,rawValue:x,currentCaretPosition:I,placeholderChar:b,indexesOfPipedChars:N.indexesOfPipedChars,caretTrapIndexes:A}),L=j===E&&0===F?_?E:h:j;t.previousConformedValue=L,t.previousPlaceholder=E,m.value!==L&&(m.value=L,o(m,F))}}}}};var c=r(n(2)),l=r(n(3)),u=n(4),d=n(1),h="",m="none",p="object",f="undefined"!=typeof navigator&&/Android/i.test(navigator.userAgent),g="undefined"!=typeof requestAnimationFrame?requestAnimationFrame:setTimeout}])},"G6+r":function(e,t,n){var r=n("x84W");e.exports=function(e,t,n){var o=r(e,n),i=r(t,n);return o.getTime()===i.getTime()}},GLf8:function(e,t,n){var r=n("crfB");e.exports=function(e,t){var n=Number(t);return r(e,-n)}},GoQk:function(e,t,n){var r=n("yNUO");e.exports=function(){var e=Array.prototype.slice.call(arguments),t=e.map((function(e){return r(e)})),n=Math.min.apply(null,t);return new Date(n)}},HDdC:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n("7o/Q"),o=n("2QA8"),i=n("gRHU"),a=n("kJWO"),s=n("SpAZ"),c=n("2fFW");let l=(()=>{class e{constructor(e){this._isScalar=!1,e&&(this._subscribe=e)}lift(t){const n=new e;return n.source=this,n.operator=t,n}subscribe(e,t,n){const{operator:a}=this,s=function(e,t,n){if(e){if(e instanceof r.a)return e;if(e[o.a])return e[o.a]()}return e||t||n?new r.a(e,t,n):new r.a(i.a)}
1269(e,t,n);if(s.add(a?a.call(s,this.source):this.source||c.a.useDeprecatedSynchronousErrorHandling&&!s.syncErrorThrowable?this._subscribe(s):this._trySubscribe(s)),c.a.useDeprecatedSynchronousErrorHandling&&s.syncErrorThrowable&&(s.syncErrorThrowable=!1,s.syncErrorThrown))throw s.syncErrorValue;return s}_trySubscribe(e){try{return this._subscribe(e)}catch(t){c.a.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),function(e){for(;e;){const{closed:t,destination:n,isStopped:o}=e;if(t||o)return!1;e=n&&n instanceof r.a?n:null}return!0}(e)?e.error(t):console.warn(t)}}forEach(e,t){return new(t=u(t))((t,n)=>{let r;r=this.subscribe(t=>{try{e(t)}catch(o){n(o),r&&r.unsubscribe()}},n,t)})}_subscribe(e){const{source:t}=this;return t&&t.subscribe(e)}[a.a](){return this}pipe(...e){return 0===e.length?this:(0===(t=e).length?s.a:1===t.length?t[0]:function(e){return t.reduce((e,t)=>t(e),e)})(this);var t}toPromise(e){return new(e=u(e))((e,t)=>{let n;this.subscribe(e=>n=e,e=>t(e),()=>e(n))})}}return e.create=t=>new e(t),e})();function u(e){if(e||(e=c.a.Promise||Promise),!e)throw new Error("no Promise impl found");return e}},HMbd:function(e,t,n){var r=n("7B8A");e.exports=function(e,t){var n=Number(t);return r(e,36e5*n)}},I55L:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));const r=e=>e&&"number"==typeof e.length&&"function"!=typeof e},ILER:function(e,t,n){var r=n("CXhC");e.exports=function(e){var t=new Date;return t.setDate(t.getDate()+1),r(e).getTime()===r(t).getTime()}},IpkJ:function(e,t,n){var r=n("yNUO");e.exports=function(e){var t=r(e);return t.setMilliseconds(0),t}},IxzM:function(e,t,n){var r=n("yNUO");e.exports=function(e){return r(e).getSeconds()}},J6Hf:function(e,t,n){var r=n("iWRJ"),o=n("lwZq");e.exports=function(e,t){var n=Number(t);return o(e,r(e)+n)}},JQcg:function(e,t,n){var r=n("yNUO");e.exports=function(e){return 1===r(e).getDay()}},JtXv:function(e,t,n){var r=n("yNUO");e.exports=function(e,t){var n=r(e),o=r(t);return n.getFullYear()===o.getFullYear()}},JxoX:function(e,t,n){var r=n("yNUO");e.exports=function(e){var t=r(e);return t.setMinutes(59,59,999),t}},K1fy:function(e,t,n){var r=n("yNUO");e.exports=function(e){return 0===r(e).getDay()}},K2dx:function(e,t,n){var r=n("yNUO");e.exports=function(e){return r(e).getTime()>(new Date).getTime()}},KoBQ:function(e,t,n){var r=n("mqoM");e.exports=function(e){return r(new Date,e)}},Kpyc:function(e,t,n){var r=n("yNUO");e.exports=function(e,t){var n=r(e),o=r(t);return n.getFullYear()-o.getFullYear()}},"L/99":function(e,t,n){var r=n("RJeW");e.exports=function(e,t){var n=r(e),o=r(t);return n.getTime()===o.getTime()}},L486:function(e,t,n){var r=n("yNUO");e.exports=function(e,t){var n=r(e),o=Number(t);return n.setFullYear(o),n}},LSME:function(e,t,n){var r=n("G6+r");e.exports=function(e,t){return r(new Date,e,t)}},LZbM:function(e,t){e.exports=function(){var e={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};return{localize:function(t,n,r){var o;return r=r||{},o="string"==typeof e[t]?e[t]:1===n?e[t].one:e[t].other.replace("{{count}}",n),r.addSuffix?r.comparison>0?"in "+o:o+" ago":o}}}},Lhse:function(e,t,n){"use strict";function r(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}n.d(t,"a",(function(){return o}));const o=r()},LxoM:function(e,t,n){var r=n("x84W");e.exports=function(e,t,n){var o=r(e,n),i=r(t,n),a=o.getTime()-6e4*o.getTimezoneOffset(),s=i.getTime()-6e4*i.getTimezoneOffset();return Math.round((a-s)/6048e5)}},MNHD:function(e,t,n){var r=n("CXhC");e.exports=function(e){return r(e).getTime()===r(new Date).getTime()}},NAv5:function(e,t,n){e.exports={addDays:n("iUbB"),addHours:n("HMbd"),addISOYears:n("J6Hf"),addMilliseconds:n("7B8A"),addMinutes:n("crfB"),addMonths:n("ZmXw"),addQuarters:n("9d03"),addSeconds:n("rxuJ"),addWeeks:n("eoPS"),addYears:n("/LN1"),areRangesOverlapping:n("6qX0"),closestIndexTo:n("f9gI"),closestTo:n("T2d4"),compareAsc:n("DT56"),compareDesc:n("yHON"),differenceInCalendarDays:n("1CCG"),differenceInCalendarISOWeeks:n("gtzP"),differenceInCalendarISOYears:n("+f+M"),differenceInCalendarMonths:n("sunR"),differenceInCalendarQuarters:n("+zZ+"),differenceInCalendarWeeks:n("LxoM"),differenceInCalendarYears:n("Kpyc"),differenceInDays:n("O8cK"),differenceInHours:n("0u2M"),differenceInISOYears:n("s/X6"),differenceInMilliseconds:n("54Wo"),differenceInMinutes:n("ZXDK"),differenceInMonths:n("F809"),differenceInQuarters:n("gwEV"),differenceInSeconds:n("4Toj"),differenceInWeeks:n("7pFD"),differenceInYears:n("b8ws"),distanceInWords:n("NmtT"),distanceInWordsStrict:n("u3z5"),distanceInWordsToNow:n("YlT8"),eachDay:n("xMJQ"),endOfDay:n("l0SJ"),endOfHour:n("JxoX"),endOfISOWeek:n("QXXb"),endOfISOYear:n("hh1I"),endOfMinute:n("OsOA"),endOfMonth:n("1vin"),endOfQuarter:n("NpEG"),endOfSecond:n("FF6D"),endOfToday:n("dEPG"),endOfTomorrow:n("b056"),endOfWeek:n("dJQg"),endOfYear:n("2XXS"),endOfYesterday:n("5R0t"),format:n("cPJV"),getDate:n("tg+8"),getDay:n("wrXb"),getDayOfYear:n("WA8B"),getDaysInMonth:n("VBar"),getDaysInYear:n("3d+l"),getHours:n("XZVX"),getISODay:n("hLnY"),getISOWeek:n("gfz1"),getISOWeeksInYear:n("O3uf"),getISOYear:n("iWRJ"),getMilliseconds:n("jIFe"),getMinutes:n("xYlI"),getMonth:n("czgO"),getOverlappingDaysInRanges:n("Yzd8"),getQuarter:n("uPm0"),getSeconds:n("IxzM"),getTime:n("kC7l"),getYear:n("EMgV"),isAfter:n("pDEI"),isBefore:n("a4+5"),isDate:n("pzWd"),isEqual:n("q9S1"),isFirstDayOfMonth:n("NT44"),isFriday:n("qFJL"),isFuture:n("K2dx"),isLastDayOfMonth:n("Pu5f"),isLeapYear:n("rMQs"),isMonday:n("JQcg"),isPast:n("qTUo"),isSameDay:n("/Tkk"),isSameHour:n("Zipn"),isSameISOWeek:n("zM65"),isSameISOYear:n("L/99"),isSameMinute:n("9WSG"),isSameMonth:n("WmBB"),isSameQuarter:n("mqoM"),isSameSecond:n("xq5I"),isSameWeek:n("G6+r"),isSameYear:n("JtXv"),isSaturday:n("SKYL"),isSunday:n("K1fy"),isThisHour:n("AVfB"),isThisISOWeek:n("zGRt"),isThisISOYear:n("l6+5"),isThisMinute:n("PvkQ"),isThisMonth:n("m7nI"),isThisQuarter:n("KoBQ"),isThisSecond:n("5iAy"),isThisWeek:n("LSME"),isThisYear:n("9m1m"),isThursday:n("Wjgk"),isToday:n("MNHD"),isTomorrow:n("ILER"),isTuesday:n("dgaN"),isValid:n("fupu"),isWednesday:n("yYDL"),isWeekend:n("mthE"),isWithinRange:n("9WoD"),isYesterday:n("xPkr"),lastDayOfISOWeek:n("UpIE"),lastDayOfISOYear:n("3hPP"),lastDayOfMonth:n("7KIa"),lastDayOfQuarter:n("zj0I"),lastDayOfWeek:n("y5a+"),lastDayOfYear:n("uKeJ"),max:n("leoV"),min:n("GoQk"),parse:n("yNUO"),setDate:n("lX9Q"),setDay:n("t4rR"),setDayOfYear:n("lTB2"),setHours:n("bwD0"),setISODay:n("+nbD"),setISOWeek:n("5z3u"),setISOYear:n("lwZq"),setMilliseconds:n("1HMO"),setMinutes:n("iu1C"),setMonth:n("OBTA"),setQuarter:n("FYuM"),setSeconds:n("kRN8"),setYear:n("L486"),startOfDay:n("CXhC"),startOfHour:n("+6+2"),startOfISOWeek:n("tMf1"),startOfISOYear:n("RJeW"),startOfMinute:n("6WtA"),startOfMonth:n("lCuP"),startOfQuarter:n("Q5nM"),startOfSecond:n("IpkJ"),startOfToday:n("PK5m"),startOfTomorrow:n("gUhM"),startOfWeek:n("x84W"),startOfYear:n("pLeS"),startOfYesterday:n("aTp7"),subDays:n("4v8u"),subHours:n("+5jU"),subISOYears:n("3zVU"),subMilliseconds:n("uttN"),subMinutes:n("GLf8"),subMonths:n("Ev1t"),subQuarters:n("1K6H"),subSeconds:n("g/AU"),subWeeks:n("4coB"),subYears:n("iQJf")}},NJ4a:function(e,t,n){"use strict";function r(e){setTimeout(()=>{throw e},0)}n.d(t,"a",(function(){return r}))},NT44:function(e,t,n){var r=n("yNUO");e.exports=function(e){return 1===r(e).getDate()}},NmtT:function(e,t,n){var r=n("yHON"),o=n("yNUO"),i=n("4Toj"),a=n("F809"),s=n("Us+F");e.exports=function(e,t,n){var c=n||{},l=r(e,t),u=c.locale,d=s.distanceInWords.localize;u&&u.distanceInWords&&u.distanceInWords.localize&&(d=u.distanceInWords.localize);var h,m,p={addSuffix:Boolean(c.addSuffix),comparison:l};l>0?(h=o(e),m=o(t)):(h=o(t),m=o(e));var f,g=i(m,h),y=m.getTimezoneOffset()-h.getTimezoneOffset(),v=Math.round(g/60)-y;if(v<2)return c.includeSeconds?g<5?d("lessThanXSeconds",5,p):g<10?d("lessThanXSeconds",10,p):g<20?d("lessThanXSeconds",20,p):g<40?d("halfAMinute",null,p):d(g<60?"lessThanXMinutes":"xMinutes",1,p):0===v?d("lessThanXMinutes",1,p):d("xMinutes",v,p);if(v<45)return d("xMinutes",v,p);if(v<90)return d("aboutXHours",1,p);if(v<1440)return d("aboutXHours",Math.round(v/60),p);if(v<2520)return d("xDays",1,p);if(v<43200)return d("xDays",Math.round(v/1440),p);if(v<86400)return d("aboutXMonths",f=Math.round(v/43200),p);if((f=a(m,h))<12)return d("xMonths",Math.round(v/43200),p);var b=f%12,C=Math.floor(f/12);return b<3?d("aboutXYears",C,p):b<9?d("overXYears",C,p):d("almostXYears",C+1,p)}},NpEG:function(e,t,n){var r=n("yNUO");e.exports=function(e){var t=r(e),n=t.getMonth();return t.setMonth(n-n%3+3,0),t.setHours(23,59,59,999),t}},O3uf:function(e,t,n){var r=n("RJeW"),o=n("eoPS");e.exports=function(e){var t=r(e),n=r(o(t,60)).valueOf()-t.valueOf();return Math.round(n/6048e5)}},O8cK:function(e,t,n){var r=n("yNUO"),o=n("1CCG"),i=n("DT56");e.exports=function(e,t){var n=r(e),a=r(t),s=i(n,a),c=Math.abs(o(n,a));return n.setDate(n.getDate()-s*c),s*(c-(i(n,a)===-s))}},OBTA:function(e,t,n){var r=n("yNUO"),o=n("VBar");e.exports=function(e,t){var n=r(e),i=Number(t),a=n.getFullYear(),s=n.getDate(),c=new Date(0);c.setFullYear(a,i,15),c.setHours(0,0,0,0);var l=o(c);return n.setMonth(i,Math.min(s,l)),n}},OsOA:function(e,t,n){var r=n("yNUO");e.exports=function(e){var t=r(e);return t.setSeconds(59,999),t}},PK5m:function(e,t,n){var r=n("CXhC");e.exports=function(){return r(new Date)}},Pu5f:function(e,t,n){var r=n("yNUO"),o=n("l0SJ"),i=n("1vin");e.exports=function(e){var t=r(e);return o(t).getTime()===i(t).getTime()}},PvkQ:function(e,t,n){var r=n("9WSG");e.exports=function(e){return r(new Date,e)}},Q5nM:function(e,t,n){var r=n("yNUO");e.exports=function(e){var t=r(e),n=t.getMonth();return t.setMonth(n-n%3,1),t.setHours(0,0,0,0),t}},QXXb:function(e,t,n){var r=n("dJQg");e.exports=function(e){return r(e,{weekStartsOn:1}
1269)}},RJeW:function(e,t,n){var r=n("iWRJ"),o=n("tMf1");e.exports=function(e){var t=r(e),n=new Date(0);return n.setFullYear(t,0,4),n.setHours(0,0,0,0),o(n)}},SKYL:function(e,t,n){var r=n("yNUO");e.exports=function(e){return 6===r(e).getDay()}},SVse:function(e,t,n){"use strict";n.d(t,"a",(function(){return C})),n.d(t,"b",(function(){return Oe})),n.d(t,"c",(function(){return je})),n.d(t,"d",(function(){return De})),n.d(t,"e",(function(){return c})),n.d(t,"f",(function(){return Ae})),n.d(t,"g",(function(){return S})),n.d(t,"h",(function(){return d})),n.d(t,"i",(function(){return _})),n.d(t,"j",(function(){return v})),n.d(t,"k",(function(){return ue})),n.d(t,"l",(function(){return he})),n.d(t,"m",(function(){return pe})),n.d(t,"n",(function(){return we})),n.d(t,"o",(function(){return ve})),n.d(t,"p",(function(){return be})),n.d(t,"q",(function(){return Ce})),n.d(t,"r",(function(){return Se})),n.d(t,"s",(function(){return w})),n.d(t,"t",(function(){return Pe})),n.d(t,"u",(function(){return l})),n.d(t,"v",(function(){return Ne})),n.d(t,"w",(function(){return Te})),n.d(t,"x",(function(){return Be})),n.d(t,"y",(function(){return Le})),n.d(t,"z",(function(){return Ve})),n.d(t,"A",(function(){return s})),n.d(t,"B",(function(){return Fe})),n.d(t,"C",(function(){return i})),n.d(t,"D",(function(){return le})),n.d(t,"E",(function(){return a}));var r=n("8Y7J");
1270/**
1271 * @license Angular v10.2.5
1272 * (c) 2010-2020 Google LLC. https://angular.io/
1273 * License: MIT
1274 */
1275/**
1276 * @license
1277 * Copyright Google LLC All Rights Reserved.
1278 *
1279 * Use of this source code is governed by an MIT-style license that can be
1280 * found in the LICENSE file at https://angular.io/license
1281 */let o=null;function i(){return o}function a(e){o||(o=e)}class s{}
1282/**
1283 * @license
1284 * Copyright Google LLC All Rights Reserved.
1285 *
1286 * Use of this source code is governed by an MIT-style license that can be
1287 * found in the LICENSE file at https://angular.io/license
1288 */const c=new r.InjectionToken("DocumentToken");let l=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(r["\u0275\u0275defineInjectable"])({factory:u,token:e,providedIn:"platform"}),e})();function u(){return Object(r["\u0275\u0275inject"])(h)}const d=new r.InjectionToken("Location Initialized");let h=(()=>{class e extends l{constructor(e){super(),this._doc=e,this._init()}_init(){this.location=i().getLocation(),this._history=i().getHistory()}getBaseHrefFromDOM(){return i().getBaseHref(this._doc)}onPopState(e){i().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",e,!1)}onHashChange(e){i().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",e,!1)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(e){this.location.pathname=e}pushState(e,t,n){m()?this._history.pushState(e,t,n):this.location.hash=n}replaceState(e,t,n){m()?this._history.replaceState(e,t,n):this.location.hash=n}forward(){this._history.forward()}back(){this._history.back()}getState(){return this._history.state}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275inject"](c))},e.\u0275prov=Object(r["\u0275\u0275defineInjectable"])({factory:p,token:e,providedIn:"platform"}),e})();function m(){return!!window.history.pushState}function p(){return new h(Object(r["\u0275\u0275inject"])(c))}
1289/**
1290 * @license
1291 * Copyright Google LLC All Rights Reserved.
1292 *
1293 * Use of this source code is governed by an MIT-style license that can be
1294 * found in the LICENSE file at https://angular.io/license
1295 */
1296/**
1297 * @license
1298 * Copyright Google LLC All Rights Reserved.
1299 *
1300 * Use of this source code is governed by an MIT-style license that can be
1301 * found in the LICENSE file at https://angular.io/license
1302 */function f(e,t){if(0==e.length)return t;if(0==t.length)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,2==n?e+t.substring(1):1==n?e+t:e+"/"+t}function g(e){const t=e.match(/#|\?|$/),n=t&&t.index||e.length;return e.slice(0,n-("/"===e[n-1]?1:0))+e.slice(n)}function y(e){return e&&"?"!==e[0]?"?"+e:e}let v=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(r["\u0275\u0275defineInjectable"])({factory:b,token:e,providedIn:"root"}),e})();function b(e){const t=Object(r["\u0275\u0275inject"])(c).location;return new w(Object(r["\u0275\u0275inject"])(l),t&&t.origin||"")}const C=new r.InjectionToken("appBaseHref");let w=(()=>{class e extends v{constructor(e,t){if(super(),this._platformLocation=e,null==t&&(t=this._platformLocation.getBaseHrefFromDOM()),null==t)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=t}onPopState(e){this._platformLocation.onPopState(e),this._platformLocation.on
1302HashChange(e)}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return f(this._baseHref,e)}path(e=!1){const t=this._platformLocation.pathname+y(this._platformLocation.search),n=this._platformLocation.hash;return n&&e?`${t}${n}`:t}pushState(e,t,n,r){const o=this.prepareExternalUrl(n+y(r));this._platformLocation.pushState(e,t,o)}replaceState(e,t,n,r){const o=this.prepareExternalUrl(n+y(r));this._platformLocation.replaceState(e,t,o)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275inject"](l),r["\u0275\u0275inject"](C,8))},e.\u0275prov=r["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})(),S=(()=>{class e extends v{constructor(e,t){super(),this._platformLocation=e,this._baseHref="",null!=t&&(this._baseHref=t)}onPopState(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)}getBaseHref(){return this._baseHref}path(e=!1){let t=this._platformLocation.hash;return null==t&&(t="#"),t.length>0?t.substring(1):t}prepareExternalUrl(e){const t=f(this._baseHref,e);return t.length>0?"#"+t:t}pushState(e,t,n,r){let o=this.prepareExternalUrl(n+y(r));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.pushState(e,t,o)}replaceState(e,t,n,r){let o=this.prepareExternalUrl(n+y(r));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.replaceState(e,t,o)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275inject"](l),r["\u0275\u0275inject"](C,8))},e.\u0275prov=r["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})(),_=(()=>{class e{constructor(e,t){this._subject=new r.EventEmitter,this._urlChangeListeners=[],this._platformStrategy=e;const n=this._platformStrategy.getBaseHref();this._platformLocation=t,this._baseHref=g(k(n)),this._platformStrategy.onPopState(e=>{this._subject.emit({url:this.path(!0),pop:!0,state:e.state,type:e.type})})}path(e=!1){return this.normalize(this._platformStrategy.path(e))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(e,t=""){return this.path()==this.normalize(e+y(t))}normalize(t){return e.stripTrailingSlash(function(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,k(t)))}prepareExternalUrl(e){return e&&"/"!==e[0]&&(e="/"+e),this._platformStrategy.prepareExternalUrl(e)}go(e,t="",n=null){this._platformStrategy.pushState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+y(t)),n)}replaceState(e,t="",n=null){this._platformStrategy.replaceState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+y(t)),n)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}onUrlChange(e){this._urlChangeListeners.push(e),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(e=>{this._notifyUrlChangeListeners(e.url,e.state)}))}_notifyUrlChangeListeners(e="",t){this._urlChangeListeners.forEach(n=>n(e,t))}subscribe(e,t,n){return this._subject.subscribe({next:e,error:t,complete:n})}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275inject"](v),r["\u0275\u0275inject"](l))},e.normalizeQueryParams=y,e.joinWithSlash=f,e.stripTrailingSlash=g,e.\u0275prov=Object(r["\u0275\u0275defineInjectable"])({factory:E,token:e,providedIn:"root"}),e})();function E(){return new _(Object(r["\u0275\u0275inject"])(v),Object(r["\u0275\u0275inject"])(l))}function k(e){return e.replace(/\/index.html$/,"")}
1303/**
1304 * @license
1305 * Copyright Google LLC All Rights Reserved.
1306 *
1307 * Use of this source code is governed by an MIT-style license that can be
1308 * found in the LICENSE file at https://angular.io/license
1309 */
1310/**
1311 * @license
1312 * Copyright Google LLC All Rights Reserved.
1313 *
1314 * Use of this source code is governed by an MIT-style license that can be
1315 * found in the LICENSE file at https://angular.io/license
1316 */const x={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,"\u09f3"],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,"\u0440.",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\xa5","\xa5"],COP:[void 0,"$",2],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GIP:[void 0,"\xa3"],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:["\u20aa"],INR:["\u20b9"],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:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",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,"\u20ae",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:[void 0,"\u20b1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RUR:[void 0,"\u0440."],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],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,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20b4"],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:["\u20ab",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:["\xa4"],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]};
1317/**
1318 * @license
1319 * Copyright Google LLC All Rights Reserved.
1320 *
1321 * Use of this source code is governed by an MIT-style license that can be
1322 * found in the LICENSE file at https://angular.io/license
1323 */var I=function(e){return e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific",e}({}),O=function(e){return 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",e}({}),T=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}({}),A=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}({}),P=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}({}),D=function(e){return 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",e}({});function R(e,t){return B(Object(r["\u0275findLocaleData"])(e)[r["\u0275LocaleDataIndex"].DateFormat],t)}function M(e,t){return B(Object(r["\u0275findLocaleData"])(e)[r["\u0275LocaleDataIndex"].TimeFormat],t)}function N(e,t){return B(Object(r["\u0275findLocaleData"])(e)[r["\u0275LocaleDataIndex"].DateTimeFormat],t)}function j(e,t){const n=Object(r["\u0275findLocaleData"])(e),o=n[r["\u0275LocaleDataIndex"].NumberSymbols][t];if(void 0===o){if(t===D.CurrencyDecimal)return n[r["\u0275LocaleDataIndex"].NumberSymbols][D.Decimal];if(t===D.CurrencyGroup)return n[r["\u0275LocaleDataIndex"].NumberSymbols][D.Group]}return o}function F(e,t){return Object(r["\u0275findLocaleData"])(e)[r["\u0275LocaleDataIndex"].NumberFormats][t]}const L=r["\u0275getLocalePluralCase"];function V(e){if(!e[r["\u0275LocaleDataIndex"].ExtraData])throw new Error(`Missing extra locale data for the locale "${e[r["\u0275LocaleDataIndex"].LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function B(e,t){for(let n=t;n>-1;n--)if(void 0!==e[n])return e[n];throw new Error("Locale data API: locale data undefined")}function U(e){const[t,n]=e.split(":");return{hours:+t,minutes:+n}}
1324/**
1325 * @license
1326 * Copyright Google LLC All Rights Reserved.
1327 *
1328 * Use of this source code is governed by an MIT-style license that can be
1329 * found in the LICENSE file at https://angular.io/license
1330 */const H=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,G={},q=/((?:[^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]*)/;var K=function(e){return e[e.Short=0]="Short",e[e.ShortGMT=1]="ShortGMT",e[e.Long=2]="Long",e[e.Extended=3]="Extended",e}({}),z=function(e){return 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",e}({}),Y=function(e){return e[e.DayPeriods=0]="DayPeriods",e[e.Days=1]="Days",e[e.Months=2]="Months",e[e.Eras=3]="Eras",e}({});function $(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,(function(e,n){return null!=t&&n in t?t[n]:e}))),e}function W(e,t,n="-",r,o){let i="";(e<0||o&&e<=0)&&(o?e=1-e:(e=-e,i=n));let a=String(e);for(;a.length<t;
1330)a="0"+a;return r&&(a=a.substr(a.length-t)),i+a}function Z(e,t,n=0,r=!1,o=!1){return function(i,a){let s=function(e,t){switch(e){case z.FullYear:return t.getFullYear();case z.Month:return t.getMonth();case z.Date:return t.getDate();case z.Hours:return t.getHours();case z.Minutes:return t.getMinutes();case z.Seconds:return t.getSeconds();case z.FractionalSeconds:return t.getMilliseconds();case z.Day:return t.getDay();default:throw new Error(`Unknown DateType value "${e}".`)}}(e,i);if((n>0||s>-n)&&(s+=n),e===z.Hours)0===s&&-12===n&&(s=12);else if(e===z.FractionalSeconds)return c=t,W(s,3).substr(0,c);var c;const l=j(a,D.MinusSign);return W(s,t,l,r,o)}}function J(e,t,n=T.Format,o=!1){return function(i,a){return function(e,t,n,o,i,a){switch(n){case Y.Months:return function(e,t,n){const o=Object(r["\u0275findLocaleData"])(e),i=B([o[r["\u0275LocaleDataIndex"].MonthsFormat],o[r["\u0275LocaleDataIndex"].MonthsStandalone]],t);return B(i,n)}(t,i,o)[e.getMonth()];case Y.Days:return function(e,t,n){const o=Object(r["\u0275findLocaleData"])(e),i=B([o[r["\u0275LocaleDataIndex"].DaysFormat],o[r["\u0275LocaleDataIndex"].DaysStandalone]],t);return B(i,n)}(t,i,o)[e.getDay()];case Y.DayPeriods:const s=e.getHours(),c=e.getMinutes();if(a){const e=function(e){const t=Object(r["\u0275findLocaleData"])(e);return V(t),(t[r["\u0275LocaleDataIndex"].ExtraData][2]||[]).map(e=>"string"==typeof e?U(e):[U(e[0]),U(e[1])])}(t),n=function(e,t,n){const o=Object(r["\u0275findLocaleData"])(e);V(o);const i=B([o[r["\u0275LocaleDataIndex"].ExtraData][0],o[r["\u0275LocaleDataIndex"].ExtraData][1]],t)||[];return B(i,n)||[]}(t,i,o),a=e.findIndex(e=>{if(Array.isArray(e)){const[t,n]=e,r=s>=t.hours&&c>=t.minutes,o=s<n.hours||s===n.hours&&c<n.minutes;if(t.hours<n.hours){if(r&&o)return!0}else if(r||o)return!0}else if(e.hours===s&&e.minutes===c)return!0;return!1});if(-1!==a)return n[a]}return function(e,t,n){const o=Object(r["\u0275findLocaleData"])(e),i=B([o[r["\u0275LocaleDataIndex"].DayPeriodsFormat],o[r["\u0275LocaleDataIndex"].DayPeriodsStandalone]],t);return B(i,n)}(t,i,o)[s<12?0:1];case Y.Eras:return function(e,t){return B(Object(r["\u0275findLocaleData"])(e)[r["\u0275LocaleDataIndex"].Eras],t)}(t,o)[e.getFullYear()<=0?0:1];default:throw new Error("unexpected translation type "+n)}}(i,a,e,t,n,o)}}function Q(e){return function(t,n,r){const o=-1*r,i=j(n,D.MinusSign),a=o>0?Math.floor(o/60):Math.ceil(o/60);switch(e){case K.Short:return(o>=0?"+":"")+W(a,2,i)+W(Math.abs(o%60),2,i);case K.ShortGMT:return"GMT"+(o>=0?"+":"")+W(a,1,i);case K.Long:return"GMT"+(o>=0?"+":"")+W(a,2,i)+":"+W(Math.abs(o%60),2,i);case K.Extended:return 0===r?"Z":(o>=0?"+":"")+W(a,2,i)+":"+W(Math.abs(o%60),2,i);default:throw new Error(`Unknown zone width "${e}"`)}}}function X(e,t=!1){return function(n,r){let o;if(t){const e=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,t=n.getDate();o=1+Math.floor((t+e)/7)}else{const e=(i=n,new Date(i.getFullYear(),i.getMonth(),i.getDate()+(4-i.getDay()))),t=function(e){const t=new Date(e,0,1).getDay();return new Date(e,0,1+(t<=4?4:11)-t)}(e.getFullYear()),r=e.getTime()-t.getTime();o=1+Math.round(r/6048e5)}var i;return W(o,e,j(r,D.MinusSign))}}const ee={};function te(e,t){e=e.replace(/:/g,"");const n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function ne(e){return e instanceof Date&&!isNaN(e.valueOf())}
1331/**
1332 * @license
1333 * Copyright Google LLC All Rights Reserved.
1334 *
1335 * Use of this source code is governed by an MIT-style license that can be
1336 * found in the LICENSE file at https://angular.io/license
1337 */const re=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function oe(e,t,n,r,o,i,a=!1){let s="",c=!1;if(isFinite(e)){let l=function(e){let t,n,r,o,i,a=Math.abs(e)+"",s=0;for((n=a.indexOf("."))>-1&&(a=a.replace(".","")),(r=a.search(/e/i))>0?(n<0&&(n=r),n+=+a.slice(r+1),a=a.substring(0,r)):n<0&&(n=a.length),r=0;"0"===a.charAt(r);r++);if(r===(i=a.length))t=[0],n=1;else{for(i--;"0"===a.charAt(i);)i--;for(n-=r,t=[],o=0;r<=i;r++,o++)t[o]=Number(a.charAt(r))}return n>22&&(t=t.splice(0,21),s=n-1,n=1),{digits:t,exponent:s,integerLen:n}}(e);a&&(l=function(e){if(0===e.digits[0])return e;const t=e.digits.length-e.integerLen;return e.exponent?e.exponent+=2:(0===t?e.digits.push(0,0):1===t&&e.digits.push(0),e.integerLen+=2),e}(l));let u=t.minInt,d=t.minFrac,h=t.maxFrac;if(i){const e=i.match(re);if(null===e)throw new Error(i+" is not a valid digit info");const t=e[1],n=e[3],r=e[5];null!=t&&(u=ae(t)),null!=n&&(d=ae(n)),null!=r?h=ae(r):null!=n&&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}).`);let r=e.digits,o=r.length-e.integerLen;const i=Math.min(Math.max(t,o),n);let a=i+e.integerLen,s=r[a];if(a>0){r.splice(Math.max(e.integerLen,a));for(let e=a;
vendor: 4,663 bytes, lines 1337-1358
1337e<r.length;e++)r[e]=0}else{o=Math.max(0,o),e.integerLen=1,r.length=Math.max(1,a=i+1),r[0]=0;for(let e=1;e<a;e++)r[e]=0}if(s>=5)if(a-1<0){for(let t=0;t>a;t--)r.unshift(0),e.integerLen++;r.unshift(1),e.integerLen++}else r[a-1]++;for(;o<Math.max(0,i);o++)r.push(0);let c=0!==i;const l=t+e.integerLen,u=r.reduceRight((function(e,t,n,r){return r[n]=(t+=e)<10?t:t-10,c&&(0===r[n]&&n>=l?r.pop():c=!1),t>=10?1:0}),0);u&&(r.unshift(u),e.integerLen++)}(l,d,h);let m=l.digits,p=l.integerLen;const f=l.exponent;let g=[];for(c=m.every(e=>!e);p<u;p++)m.unshift(0);for(;p<0;p++)m.unshift(0);p>0?g=m.splice(p,m.length):(g=m,m=[0]);const y=[];for(m.length>=t.lgSize&&y.unshift(m.splice(-t.lgSize,m.length).join(""));m.length>t.gSize;)y.unshift(m.splice(-t.gSize,m.length).join(""));m.length&&y.unshift(m.join("")),s=y.join(j(n,r)),g.length&&(s+=j(n,o)+g.join("")),f&&(s+=j(n,D.Exponential)+"+"+f)}else s=j(n,D.Infinity);return s=e<0&&!c?t.negPre+s+t.negSuf:t.posPre+s+t.posSuf,s}function ie(e,t="-"){const n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=e.split(";"),o=r[0],i=r[1],a=-1!==o.indexOf(".")?o.split("."):[o.substring(0,o.lastIndexOf("0")+1),o.substring(o.lastIndexOf("0")+1)],s=a[0],c=a[1]||"";n.posPre=s.substr(0,s.indexOf("#"));for(let u=0;u<c.length;u++){const e=c.charAt(u);"0"===e?n.minFrac=n.maxFrac=u+1:"#"===e?n.maxFrac=u+1:n.posSuf+=e}const l=s.split(",");if(n.gSize=l[1]?l[1].length:0,n.lgSize=l[2]||l[1]?(l[2]||l[1]).length:0,i){const e=o.length-n.posPre.length-n.posSuf.length,t=i.indexOf("#");n.negPre=i.substr(0,t).replace(/'/g,""),n.negSuf=i.substr(t+e).replace(/'/g,"")}else n.negPre=t+n.posPre,n.negSuf=n.posSuf;return n}function ae(e){const t=parseInt(e);if(isNaN(t))throw new Error("Invalid integer literal when parsing "+e);return t}
1338/**
1339 * @license
1340 * Copyright Google LLC All Rights Reserved.
1341 *
1342 * Use of this source code is governed by an MIT-style license that can be
1343 * found in the LICENSE file at https://angular.io/license
1344 */class se{}let ce=(()=>{class e extends se{constructor(e){super(),this.locale=e}getPluralCategory(e,t){switch(L(t||this.locale)(e)){case O.Zero:return"zero";case O.One:return"one";case O.Two:return"two";case O.Few:return"few";case O.Many:return"many";default:return"other"}}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275inject"](r.LOCALE_ID))},e.\u0275prov=r["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})();
1345/**
1346 * @license
1347 * Copyright Google LLC All Rights Reserved.
1348 *
1349 * Use of this source code is governed by an MIT-style license that can be
1350 * found in the LICENSE file at https://angular.io/license
1351 */
1352/**
1353 * @license
1354 * Copyright Google LLC All Rights Reserved.
1355 *
1356 * Use of this source code is governed by an MIT-style license that can be
1357 * found in the LICENSE file at https://angular.io/license
1358 */function le(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const e=n.indexOf("="),[r,o]=-1==e?[n,""]:[n.slice(0,e),n.slice(e+1)];if(r.trim()===t)return decodeURIComponent(o)}return null}let ue=(()=>{class e{constructor(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}set klass(e){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof e?e.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(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(r["\u0275isListLikeIterable"])(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const e=this._iterableDiffer.diff(this._rawClass);e&&this._applyIterableChanges(e)}else if(this._keyValueDiffer){const e=this._keyValueDiffer.diff(this._rawClass);e&&this._applyKeyValueChanges(e)}}_applyKeyValueChanges(e){e.forEachAddedItem(e=>this._toggleClass(e.key,e.currentValue)),e.forEachChangedItem(e=>this._toggleClass(e.key,e.currentValue)),e.forEachRemovedItem(e=>{e.previousValue&&this._toggleClass(e.key,!1)})}_applyIterableChanges(e){e.forEachAddedItem(e=>{if("string"!=typeof e.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got "+Object(r["\u0275stringify"])(e.item));this._toggleClass(e.item,!0)}),e.forEachRemovedItem(e=>this._toggleClass(e.item,!1))}_applyClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(e
1358=>this._toggleClass(e,!0)):Object.keys(e).forEach(t=>this._toggleClass(t,!!e[t])))}_removeClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(e=>this._toggleClass(e,!1)):Object.keys(e).forEach(e=>this._toggleClass(e,!1)))}_toggleClass(e,t){(e=e.trim())&&e.split(/\s+/g).forEach(e=>{t?this._renderer.addClass(this._ngEl.nativeElement,e):this._renderer.removeClass(this._ngEl.nativeElement,e)})}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](r.IterableDiffers),r["\u0275\u0275directiveInject"](r.KeyValueDiffers),r["\u0275\u0275directiveInject"](r.ElementRef),r["\u0275\u0275directiveInject"](r.Renderer2))},e.\u0275dir=r["\u0275\u0275defineDirective"]({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),e})();
1359/**
1360 * @license
1361 * Copyright Google LLC All Rights Reserved.
1362 *
1363 * Use of this source code is governed by an MIT-style license that can be
1364 * found in the LICENSE file at https://angular.io/license
1365 */class de{constructor(e,t,n,r){this.$implicit=e,this.ngForOf=t,this.index=n,this.count=r}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let he=(()=>{class e{constructor(e,t,n){this._viewContainer=e,this._template=t,this._differs=n,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){Object(r.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}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;if(!this._differ&&n)try{this._differ=this._differs.find(n).create(this.ngForTrackBy)}catch(t){throw new Error(`Cannot find a differ supporting object '${n}' of type '${e=n,e.name||typeof e}'. NgFor only supports binding to Iterables such as Arrays.`)}}var e;if(this._differ){const e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){const t=[];e.forEachOperation((e,n,r)=>{if(null==e.previousIndex){const n=this._viewContainer.createEmbeddedView(this._template,new de(null,this._ngForOf,-1,-1),null===r?void 0:r),o=new me(e,n);t.push(o)}else if(null==r)this._viewContainer.remove(null===n?void 0:n);else if(null!==n){const o=this._viewContainer.get(n);this._viewContainer.move(o,r);const i=new me(e,o);t.push(i)}});for(let n=0;n<t.length;n++)this._perViewChange(t[n].view,t[n].record);for(let n=0,r=this._viewContainer.length;n<r;n++){const e=this._viewContainer.get(n);e.context.index=n,e.context.count=r,e.context.ngForOf=this._ngForOf}e.forEachIdentityChange(e=>{this._viewContainer.get(e.currentIndex).context.$implicit=e.item})}_perViewChange(e,t){e.context.$implicit=t.item}static ngTemplateContextGuard(e,t){return!0}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](r.ViewContainerRef),r["\u0275\u0275directiveInject"](r.TemplateRef),r["\u0275\u0275directiveInject"](r.IterableDiffers))},e.\u0275dir=r["\u0275\u0275defineDirective"]({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),e})();class me{constructor(e,t){this.record=e,this.view=t}}let pe=(()=>{class e{constructor(e,t){this._viewContainer=e,this._context=new fe,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=t}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){ge("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){ge("ngIfElse",e),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenView
vendor: 5,978 bytes, lines 1365-1386
1365Ref=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(e,t){return!0}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](r.ViewContainerRef),r["\u0275\u0275directiveInject"](r.TemplateRef))},e.\u0275dir=r["\u0275\u0275defineDirective"]({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),e})();class fe{constructor(){this.$implicit=null,this.ngIf=null}}function ge(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${Object(r["\u0275stringify"])(t)}'.`)}
1366/**
1367 * @license
1368 * Copyright Google LLC All Rights Reserved.
1369 *
1370 * Use of this source code is governed by an MIT-style license that can be
1371 * found in the LICENSE file at https://angular.io/license
1372 */class ye{constructor(e,t){this._viewContainerRef=e,this._templateRef=t,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(e){e&&!this._created?this.create():!e&&this._created&&this.destroy()}}let ve=(()=>{class e{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(e){this._ngSwitch=e,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(e){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(e)}_matchCase(e){const t=e==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||t,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),t}_updateDefaultCases(e){if(this._defaultViews&&e!==this._defaultUsed){this._defaultUsed=e;for(let t=0;t<this._defaultViews.length;t++)this._defaultViews[t].enforceState(e)}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=r["\u0275\u0275defineDirective"]({type:e,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}}),e})(),be=(()=>{class e{constructor(e,t,n){this.ngSwitch=n,n._addCase(),this._view=new ye(e,t)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](r.ViewContainerRef),r["\u0275\u0275directiveInject"](r.TemplateRef),r["\u0275\u0275directiveInject"](ve,1))},e.\u0275dir=r["\u0275\u0275defineDirective"]({type:e,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),e})(),Ce=(()=>{class e{constructor(e,t,n){n._addDefault(new ye(e,t))}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](r.ViewContainerRef),r["\u0275\u0275directiveInject"](r.TemplateRef),r["\u0275\u0275directiveInject"](ve,1))},e.\u0275dir=r["\u0275\u0275defineDirective"]({type:e,selectors:[["","ngSwitchDefault",""]]}),e})(),we=(()=>{class e{constructor(e,t,n){this._ngEl=e,this._differs=t,this._renderer=n,this._ngStyle=null,this._differ=null}set ngStyle(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}ngDoCheck(){if(this._differ){const e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}_setStyle(e,t){const[n,r]=e.split(".");null!=(t=null!=t&&r?`${t}${r}`:t)?this._renderer.setStyle(this._ngEl.nativeElement,n,t):this._renderer.removeStyle(this._ngEl.nativeElement,n)}_applyChanges(e){e.forEachRemovedItem(e=>this._setStyle(e.key,null)),e.forEachAddedItem(e=>this._setStyle(e.key,e.currentValue)),e.forEachChangedItem(e=>this._setStyle(e.key,e.currentValue))}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](r.ElementRef),r["\u0275\u0275directiveInject"](r.KeyValueDiffers),r["\u0275\u0275directiveInject"](r.Renderer2))},e.\u0275dir=r["\u0275\u0275defineDirective"]({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),e})(),Se=(()=>{class e{constructor(e){this._viewContainerRef=e,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(e){if(this._shouldRecreateView(e)){const e=this._viewContainerRef;this._viewRef&&e.remove(e.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?e.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&this.ngTemplateOutletContext&&this._updateExistingContext(this.ngTemplateOutletContext)}_shouldRecreateView(e){const t=e.ngTemplateOutletContext;return!!e.ngTemplateOutlet||t&&this._hasContextShapeChanged(t)}_hasContextShapeChanged(e){const t=Object.keys(e.previousValue||{}),n=Object.keys(e.currentValue||{});if(t.length===n.length){for(let e of n)if(-1===t.indexOf(e))return!0;return!1}return!0}_updateExistingContext(e){for(let t of Object.keys(e))this._viewRef.context[t]=this.ngTemplateOutletContext[t]}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](r.ViewContainerRef))},e.\u0275dir=r["\u0275\u0275defineDirective"]({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[r["\u0275\u0275NgOnChangesFeature"]]}),e})();
1373/**
1374 * @license
1375 * Copyright Google LLC All Rights Reserved.
1376 *
1377 * Use of this source code is governed by an MIT-style license that can be
1378 * found in the LICENSE file at https://angular.io/license
1379 */function _e(e,t){return Error(`InvalidPipeArgument: '${t}' for pipe '${Object(r["\u0275stringify"])(e)}'`)}
1380/**
1381 * @license
1382 * Copyright Google LLC All Rights Reserved.
1383 *
1384 * Use of this source code is governed by an MIT-style license that can be
1385 * found in the LICENSE file at https://angular.io/license
1386 */class Ee{createSubscription(e,t){return e.subscribe({next:t,error:e=>{throw e}})}dispose(e){e.unsubscribe()}onDestroy(e){e.unsubscribe()}}class ke{createSubscription(e,t){return e.then(t,e=>{throw e})}dispose(e){}onDestroy(e){}}
1386const xe=new ke,Ie=new Ee;let Oe=(()=>{class e{constructor(e){this._ref=e,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(e){return this._obj?e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue:(e&&this._subscribe(e),this._latestValue)}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,t=>this._updateLatestValue(e,t))}_selectStrategy(t){if(Object(r["\u0275isPromise"])(t))return xe;if(Object(r["\u0275isObservable"])(t))return Ie;throw _e(e,t)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,t){e===this._obj&&(this._latestValue=t,this._ref.markForCheck())}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275injectPipeChangeDetectorRef"]())},e.\u0275pipe=r["\u0275\u0275definePipe"]({name:"async",type:e,pure:!1}),e})(),Te=(()=>{class e{transform(t){if(!t)return t;if("string"!=typeof t)throw _e(e,t);return t.toUpperCase()}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=r["\u0275\u0275definePipe"]({name:"uppercase",type:e,pure:!0}),e})(),Ae=(()=>{class e{constructor(e){this.locale=e}transform(t,n="mediumDate",o,i){if(null==t||""===t||t!=t)return null;try{return function(e,t,n,o){let i=function(e){if(ne(e))return e;if("number"==typeof e&&!isNaN(e))return new Date(e);if("string"==typeof e){e=e.trim();const t=parseFloat(e);if(!isNaN(e-t))return new Date(t);if(/^(\d{4}-\d{1,2}-\d{1,2})$/.test(e)){const[t,n,r]=e.split("-").map(e=>+e);return new Date(t,n-1,r)}let n;if(n=e.match(H))return function(e){const t=new Date(0);let n=0,r=0;const o=e[8]?t.setUTCFullYear:t.setFullYear,i=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),r=Number(e[9]+e[11])),o.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));const a=Number(e[4]||0)-n,s=Number(e[5]||0)-r,c=Number(e[6]||0),l=Math.round(1e3*parseFloat("0."+(e[7]||0)));return i.call(t,a,s,c,l),t}(n)}const t=new Date(e);if(!ne(t))throw new Error(`Unable to convert "${e}" into a date`);return t}(e);t=function e(t,n){const o=function(e){return Object(r["\u0275findLocaleData"])(e)[r["\u0275LocaleDataIndex"].LocaleId]}(t);if(G[o]=G[o]||{},G[o][n])return G[o][n];let i="";switch(n){case"shortDate":i=R(t,P.Short);break;case"mediumDate":i=R(t,P.Medium);break;case"longDate":i=R(t,P.Long);break;case"fullDate":i=R(t,P.Full);break;case"shortTime":i=M(t,P.Short);break;case"mediumTime":i=M(t,P.Medium);break;case"longTime":i=M(t,P.Long);break;case"fullTime":i=M(t,P.Full);break;case"short":const n=e(t,"shortTime"),r=e(t,"shortDate");i=$(N(t,P.Short),[n,r]);break;case"medium":const o=e(t,"mediumTime"),a=e(t,"mediumDate");i=$(N(t,P.Medium),[o,a]);break;case"long":const s=e(t,"longTime"),c=e(t,"longDate");i=$(N(t,P.Long),[s,c]);break;case"full":const l=e(t,"fullTime"),u=e(t,"fullDate");i=$(N(t,P.Full),[l,u])}return i&&(G[o][n]=i),i}(n,t)||t;let a,s=[];for(;t;){if(a=q.exec(t),!a){s.push(t);break}{s=s.concat(a.slice(1));const e=s.pop();if(!e)break;t=e}}let c=i.getTimezoneOffset();o&&(c=te(o,c),i=function(e,t,n){const r=e.getTimezoneOffset();return function(e,t){return(e=new Date(e.getTime())).setMinutes(e.getMinutes()+t),e}(e,-1*(te(t,r)-r))}(i,o));let l="";return s.forEach(e=>{const t=function(e){if(ee[e])return ee[e];let t;switch(e){case"G":case"GG":case"GGG":t=J(Y.Eras,A.Abbreviated);break;case"GGGG":t=J(Y.Eras,A.Wide);break;case"GGGGG":t=J(Y.Eras,A.Narrow);break;case"y":t=Z(z.FullYear,1,0,!1,!0);break;case"yy":t=Z(z.FullYear,2,0,!0,!0);break;case"yyy":t=Z(z.FullYear,3,0,!1,!0);break;case"yyyy":t=Z(z.FullYear,4,0,!1,!0);break;case"M":case"L":t=Z(z.Month,1,1);break;case"MM":case"LL":t=Z(z.Month,2,1);break;case"MMM":t=J(Y.Months,A.Abbreviated);break;case"MMMM":t=J(Y.Months,A.Wide);break;case"MMMMM":t=J(Y.Months,A.Narrow);break;case"LLL":t=J(Y.Months,A.Abbreviated,T.Standalone);break;case"LLLL":t=J(Y.Months,A.Wide,T.Standalone);break;case"LLLLL":t=J(Y.Months,A.Narrow,T.Standalone);break;case"w":t=X(1);break;case"ww":t=X(2);break;case"W":t=X(1,!0);break;case"d":t=Z(z.Date,1);break;case"dd":t=Z(z.Date,2);break;case"E":case"EE":case"EEE":t=J(Y.Days,A.Abbreviated);break;case"EEEE":t=J(Y.Days,A.Wide);break;case"EEEEE":t=J(Y.Days,A.Narrow);break;case"EEEEEE":t=J(Y.Days,A.Short);break;case"a":case"aa":case"aaa":t=J(Y.DayPeriods,A.Abbreviated);break;case"aaaa":t=J(Y.DayPeriods,A.Wide);break;case"aaaaa":t=J(Y.DayPeriods,A.Narrow);break;
1386case"b":case"bb":case"bbb":t=J(Y.DayPeriods,A.Abbreviated,T.Standalone,!0);break;case"bbbb":t=J(Y.DayPeriods,A.Wide,T.Standalone,!0);break;case"bbbbb":t=J(Y.DayPeriods,A.Narrow,T.Standalone,!0);break;case"B":case"BB":case"BBB":t=J(Y.DayPeriods,A.Abbreviated,T.Format,!0);break;case"BBBB":t=J(Y.DayPeriods,A.Wide,T.Format,!0);break;case"BBBBB":t=J(Y.DayPeriods,A.Narrow,T.Format,!0);break;case"h":t=Z(z.Hours,1,-12);break;case"hh":t=Z(z.Hours,2,-12);break;case"H":t=Z(z.Hours,1);break;case"HH":t=Z(z.Hours,2);break;case"m":t=Z(z.Minutes,1);break;case"mm":t=Z(z.Minutes,2);break;case"s":t=Z(z.Seconds,1);break;case"ss":t=Z(z.Seconds,2);break;case"S":t=Z(z.FractionalSeconds,1);break;case"SS":t=Z(z.FractionalSeconds,2);break;case"SSS":t=Z(z.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":t=Q(K.Short);break;case"ZZZZZ":t=Q(K.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=Q(K.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":t=Q(K.Long);break;default:return null}return ee[e]=t,t}(e);l+=t?t(i,n,c):"''"===e?"'":e.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),l}(t,n,i||this.locale,o)}catch(a){throw _e(e,a.message)}}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](r.LOCALE_ID))},e.\u0275pipe=r["\u0275\u0275definePipe"]({name:"date",type:e,pure:!0}),e})(),Pe=(()=>{class e{constructor(e){this._locale=e}transform(t,n,r){if(Re(t))return null;r=r||this._locale;try{return function(e,t,n){return oe(e,ie(F(t,I.Percent),j(t,D.MinusSign)),t,D.Group,D.Decimal,n,!0).replace(new RegExp("%","g"),j(t,D.PercentSign))}(Me(t),r,n)}catch(o){throw _e(e,o.message)}}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](r.LOCALE_ID))},e.\u0275pipe=r["\u0275\u0275definePipe"]({name:"percent",type:e,pure:!0}),e})(),De=(()=>{class e{constructor(e,t="USD"){this._locale=e,this._defaultCurrencyCode=t}transform(t,n,o="symbol",i,a){if(Re(t))return null;a=a||this._locale,"boolean"==typeof o&&(console&&console.warn&&console.warn('Warning: the currency pipe has been changed in Angular v5. The symbolDisplay option (third parameter) is now a string instead of a boolean. The accepted values are "code", "symbol" or "symbol-narrow".'),o=o?"symbol":"code");let s=n||this._defaultCurrencyCode;"code"!==o&&(s="symbol"===o||"symbol-narrow"===o?function(e,t,n="en"){const o=function(e){return Object(r["\u0275findLocaleData"])(e)[r["\u0275LocaleDataIndex"].Currencies]}(n)[e]||x[e]||[],i=o[1];return"narrow"===t&&"string"==typeof i?i:o[0]||e}(s,"symbol"===o?"wide":"narrow",a):o);try{return function(e,t,n,r,o){const i=ie(F(t,I.Currency),j(t,D.MinusSign));return i.minFrac=function(e){let t;const n=x[e];return n&&(t=n[2]),"number"==typeof t?t:2}(r),i.maxFrac=i.minFrac,oe(e,i,t,D.CurrencyGroup,D.CurrencyDecimal,o).replace("\xa4",n).replace("\xa4","").trim()}(Me(t),a,s,n,i)}catch(c){throw _e(e,c.message)}}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](r.LOCALE_ID),r["\u0275\u0275directiveInject"](r.DEFAULT_CURRENCY_CODE))},e.\u0275pipe=r["\u0275\u0275definePipe"]({name:"currency",type:e,pure:!0}),e})();function Re(e){return null==e||""===e||e!=e}function Me(e){if("string"==typeof e&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if("number"!=typeof e)throw new Error(e+" is not a number");return e}let Ne=(()=>{class e{transform(t,n,r){if(null==t)return t;if(!this.supports(t))throw _e(e,t);return t.slice(n,r)}supports(e){return"string"==typeof e||Array.isArray(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=r["\u0275\u0275definePipe"]({name:"slice",type:e,pure:!1}),e})(),je=(()=>{class e{}return e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},providers:[{provide:se,useClass:ce}]}),e})();
1387/**
1388 * @license
1389 * Copyright Google LLC All Rights Reserved.
1390 *
1391 * Use of this source code is governed by an MIT-style license that can be
1392 * found in the LICENSE file at https://angular.io/license
1393 */
1394/**
1395 * @license
1396 * Copyright Google LLC All Rights Reserved.
1397 *
1398 * Use of this source code is governed by an MIT-style license that can be
1399 * found in the LICENSE file at https://angular.io/license
1400 */const Fe="browser";function Le(e){return e===Fe}function Ve(e){return"server"===e}let Be=(()=>{class e{}return e.\u0275prov=Object(r["\u0275\u0275defineInjectable"])({token:e,providedIn:"root",factory:()=>new Ue(Object(r["\u0275\u0275inject"])(c),window,Object(r["\u0275\u0275inject"])(r.ErrorHandler))}),e})();
1400class Ue{constructor(e,t,n){this.document=e,this.window=t,this.errorHandler=n,this.offset=()=>[0,0]}setOffset(e){this.offset=Array.isArray(e)?()=>e:e}getScrollPosition(){return this.supportsScrolling()?[this.window.scrollX,this.window.scrollY]:[0,0]}scrollToPosition(e){this.supportsScrolling()&&this.window.scrollTo(e[0],e[1])}scrollToAnchor(e){if(this.supportsScrolling()){const t=this.document.getElementById(e)||this.document.getElementsByName(e)[0];t&&this.scrollToElement(t)}}setHistoryScrollRestoration(e){if(this.supportScrollRestoration()){const t=this.window.history;t&&t.scrollRestoration&&(t.scrollRestoration=e)}}scrollToElement(e){const t=e.getBoundingClientRect(),n=t.left+this.window.pageXOffset,r=t.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(n-o[0],r-o[1])}supportScrollRestoration(){try{if(!this.window||!this.window.scrollTo)return!1;const e=He(this.window.history)||He(Object.getPrototypeOf(this.window.history));return!(!e||!e.writable&&!e.set)}catch(e){return!1}}supportsScrolling(){try{return!!this.window.scrollTo}catch(e){return!1}}}function He(e){return Object.getOwnPropertyDescriptor(e,"scrollRestoration")}},SeVD:function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n("ngJS"),o=n("NJ4a"),i=n("Lhse"),a=n("kJWO"),s=n("I55L"),c=n("c2HN"),l=n("XoHu");const u=e=>{if(e&&"function"==typeof e[a.a])return u=e,e=>{const t=u[a.a]();if("function"!=typeof t.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return t.subscribe(e)};if(Object(s.a)(e))return Object(r.a)(e);if(Object(c.a)(e))return n=e,e=>(n.then(t=>{e.closed||(e.next(t),e.complete())},t=>e.error(t)).then(null,o.a),e);if(e&&"function"==typeof e[i.a])return t=e,e=>{const n=t[i.a]();for(;;){let t;try{t=n.next()}catch(r){return e.error(r),e}if(t.done){e.complete();break}if(e.next(t.value),e.closed)break}return"function"==typeof n.return&&e.add(()=>{n.return&&n.return()}),e};{const t=Object(l.a)(e)?"an invalid object":`'${e}'`;throw new TypeError(`You provided ${t} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`)}var t,n,u}},SpAZ:function(e,t,n){"use strict";function r(e){return e}n.d(t,"a",(function(){return r}))},T2d4:function(e,t,n){var r=n("yNUO");e.exports=function(e,t){if(!(t instanceof Array))throw new TypeError(toString.call(t)+" is not an instance of Array");var n,o,i=r(e).getTime();return t.forEach((function(e){var t=r(e),a=Math.abs(i-t.getTime());(void 0===n||a<o)&&(n=t,o=a)})),n}},UVXo:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("8Y7J"),o=n("s7LF"),i=n("cUpR"),a=n("FpO7"),s=n("8Y7J");t.TextMaskConfig=function(){return function(){}}(),t.MASKEDINPUT_VALUE_ACCESSOR={provide:o.NG_VALUE_ACCESSOR,useExisting:r.forwardRef((function(){return c})),multi:!0};var c=function(){function e(e,t,n){var r;this._renderer=e,this._elementRef=t,this._compositionMode=n,this.textMaskConfig={mask:[],guide:!0,placeholderChar:"_",pipe:void 0,keepCharPositions:!1},this.onChange=function(e){},this.onTouched=function(){},this._composing=!1,null==this._compositionMode&&(this._compositionMode=(r=i.\u0275getDOM()?i.\u0275getDOM().getUserAgent():"",!/android (\d+)/.test(r.toLowerCase())))}return e.prototype.ngOnChanges=function(e){this._setupMask(!0),void 0!==this.textMaskInputElement&&this.textMaskInputElement.update(this.inputElement.value)},e.prototype.writeValue=function(e){this._setupMask(),this._renderer.setProperty(this.inputElement,"value",null==e?"":e),void 0!==this.textMaskInputElement&&this.textMaskInputElement.update(e)},e.prototype.registerOnChange=function(e){this.onChange=e},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},e.prototype._handleInput=function(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&(this._setupMask(),void 0!==this.textMaskInputElement&&(this.textMaskInputElement.update(e),this.onChange(e=this.inputElement.value)))},e.prototype._setupMask=function(e){void 0===e&&(e=!1),this.inputElement||(this.inputElement="INPUT"===this._elementRef.nativeElement.tagName.toUpperCase()?this._elementRef.nativeElement:this._elementRef.nativeElement.getElementsByTagName("INPUT")[0]),this.inputElement&&e&&(this.textMaskInputElement=a.createTextMaskInputElement(Object.assign({inputElement:this.inputElement},this.textMaskConfig)))},e.prototype._compositionStart=function(){this._composing=!0},e.prototype._compositionEnd=function(e){this._composing=!1,this._compositionMode&&this._handleInput(e)},e.propDecorators={textMaskConfig:[{type:r.Input,args:["textMask"]}]},e.\u0275fac=function(t){return new(t||e)(s.\u0275\u0275directiveInject(s.Ren
1400derer2),s.\u0275\u0275directiveInject(s.ElementRef),s.\u0275\u0275directiveInject(o.COMPOSITION_BUFFER_MODE,8))},e.\u0275dir=s.\u0275\u0275defineDirective({type:e,selectors:[["","textMask",""]],hostBindings:function(e,t){1&e&&s.\u0275\u0275listener("input",(function(e){return t._handleInput(e.target.value)}))("blur",(function(){return t.onTouched()}))("compositionstart",(function(){return t._compositionStart()}))("compositionend",(function(e){return t._compositionEnd(e.target.value)}))},inputs:{textMaskConfig:["textMask","textMaskConfig"]},exportAs:["textMask"],features:[s.\u0275\u0275ProvidersFeature([t.MASKEDINPUT_VALUE_ACCESSOR]),s.\u0275\u0275NgOnChangesFeature]}),e}();t.MaskedInputDirective=c,t.TextMaskModule=function(){function e(){}return e.\u0275mod=s.\u0275\u0275defineNgModule({type:e}),e.\u0275inj=s.\u0275\u0275defineInjector({factory:function(t){return new(t||e)}}),e}();var l=n("FpO7");t.conformToMask=l.conformToMask},UpIE:function(e,t,n){var r=n("y5a+");e.exports=function(e){return r(e,{weekStartsOn:1})}},"Us+F":function(e,t,n){var r=n("LZbM"),o=n("6DAA");e.exports={distanceInWords:r(),format:o()}},VBar:function(e,t,n){var r=n("yNUO");e.exports=function(e){var t=r(e),n=t.getFullYear(),o=t.getMonth(),i=new Date(0);return i.setFullYear(n,o+1,0),i.setHours(0,0,0,0),i.getDate()}},VGX7:function(e,t){e.exports=function(e){var t=new Date(e.getTime()),n=t.getTimezoneOffset();return t.setSeconds(0,0),6e4*n+t.getTime()%6e4}},VRyK:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n("HDdC"),o=n("z+Ro"),i=n("bHdf"),a=n("yCtX");function s(...e){let t=Number.POSITIVE_INFINITY,n=null,s=e[e.length-1];return Object(o.a)(s)?(n=e.pop(),e.length>1&&"number"==typeof e[e.length-1]&&(t=e.pop())):"number"==typeof s&&(t=e.pop()),null===n&&1===e.length&&e[0]instanceof r.a?e[0]:Object(i.a)(t)(Object(a.a)(e,n))}},WA8B:function(e,t,n){var r=n("yNUO"),o=n("pLeS"),i=n("1CCG");e.exports=function(e){var t=r(e);return i(t,o(t))+1}},Wjgk:function(e,t,n){var r=n("yNUO");e.exports=function(e){return 4===r(e).getDay()}},WmBB:function(e,t,n){var r=n("yNUO");e.exports=function(e,t){var n=r(e),o=r(t);return n.getFullYear()===o.getFullYear()&&n.getMonth()===o.getMonth()}},XNiG:function(e,t,n){"use strict";n.d(t,"b",(function(){return l})),n.d(t,"a",(function(){return u}));var r=n("HDdC"),o=n("7o/Q"),i=n("quSY"),a=n("9ppp"),s=n("Ylt2"),c=n("2QA8");class l extends o.a{constructor(e){super(e),this.destination=e}}let u=(()=>{class e extends r.a{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[c.a](){return new l(this)}lift(e){const t=new d(this,this);return t.operator=e,t}next(e){if(this.closed)throw new a.a;if(!this.isStopped){const{observers:t}=this,n=t.length,r=t.slice();for(let o=0;o<n;o++)r[o].next(e)}}error(e){if(this.closed)throw new a.a;this.hasError=!0,this.thrownError=e,this.isStopped=!0;const{observers:t}=this,n=t.length,r=t.slice();for(let o=0;o<n;o++)r[o].error(e);this.observers.length=0}complete(){if(this.closed)throw new a.a;this.isStopped=!0;const{observers:e}=this,t=e.length,n=e.slice();for(let r=0;r<t;r++)n[r].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(e){if(this.closed)throw new a.a;return super._trySubscribe(e)}_subscribe(e){if(this.closed)throw new a.a;return this.hasError?(e.error(this.thrownError),i.a.EMPTY):this.isStopped?(e.complete(),i.a.EMPTY):(this.observers.push(e),new s.a(this,e))}asObservable(){const e=new r.a;return e.source=this,e}}return e.create=(e,t)=>new d(e,t),e})();class d extends u{constructor(e,t){super(),this.destination=e,this.source=t}next(e){const{destination:t}=this;t&&t.next&&t.next(e)}error(e){const{destination:t}=this;t&&t.error&&this.destination.error(e)}complete(){const{destination:e}=this;e&&e.complete&&this.destination.complete()}_subscribe(e){const{source:t}=this;return t?this.source.subscribe(e):i.a.EMPTY}}},XZVX:function(e,t,n){var r=n("yNUO");e.exports=function(e){return r(e).getHours()}},XoHu:function(e,t,n){"use strict";function r(e){return null!==e&&"object"==typeof e}n.d(t,"a",(function(){return r}))},YlT8:function(e,t,n){var r=n("NmtT");e.exports=function(e,t){return r(Date.now(),e,t)}},Ylt2:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}
1400));var r=n("quSY");class o extends r.a{constructor(e,t){super(),this.subject=e,this.subscriber=t,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const e=this.subject,t=e.observers;if(this.subject=null,!t||0===t.length||e.isStopped||e.closed)return;const n=t.indexOf(this.subscriber);-1!==n&&t.splice(n,1)}}},YuTi:function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},Yzd8:function(e,t,n){var r=n("yNUO");e.exports=function(e,t,n,o){var i=r(e).getTime(),a=r(t).getTime(),s=r(n).getTime(),c=r(o).getTime();if(i>a||s>c)throw new Error("The start of the range cannot be after the end of the range");return i<c&&s<a?Math.ceil(((c>a?a:c)-(s<i?i:s))/864e5):0}},ZXDK:function(e,t,n){var r=n("54Wo");e.exports=function(e,t){var n=r(e,t)/6e4;return n>0?Math.floor(n):Math.ceil(n)}},Zipn:function(e,t,n){var r=n("+6+2");e.exports=function(e,t){var n=r(e),o=r(t);return n.getTime()===o.getTime()}},ZmXw:function(e,t,n){var r=n("yNUO"),o=n("VBar");e.exports=function(e,t){var n=r(e),i=Number(t),a=n.getMonth()+i,s=new Date(0);s.setFullYear(n.getFullYear(),a,1),s.setHours(0,0,0,0);var c=o(s);return n.setMonth(a,Math.min(c,n.getDate())),n}},"a4+5":function(e,t,n){var r=n("yNUO");e.exports=function(e,t){var n=r(e),o=r(t);return n.getTime()<o.getTime()}},aTp7:function(e,t){e.exports=function(){var e=new Date,t=e.getFullYear(),n=e.getMonth(),r=e.getDate(),o=new Date(0);return o.setFullYear(t,n,r-1),o.setHours(0,0,0,0),o}},b056:function(e,t){e.exports=function(){var e=new Date,t=e.getFullYear(),n=e.getMonth(),r=e.getDate(),o=new Date(0);return o.setFullYear(t,n,r+1),o.setHours(23,59,59,999),o}},b8ws:function(e,t,n){var r=n("yNUO"),o=n("Kpyc"),i=n("DT56");e.exports=function(e,t){var n=r(e),a=r(t),s=i(n,a),c=Math.abs(o(n,a));return n.setFullYear(n.getFullYear()-s*c),s*(c-(i(n,a)===-s))}},bHdf:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("5+tZ"),o=n("SpAZ");function i(e=Number.POSITIVE_INFINITY){return Object(r.a)(o.a,e)}},bwD0:function(e,t,n){var r=n("yNUO");e.exports=function(e,t){var n=r(e),o=Number(t);return n.setHours(o),n}},c2HN:function(e,t,n){"use strict";function r(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}n.d(t,"a",(function(){return r}))},cPJV:function(e,t,n){var r=n("WA8B"),o=n("gfz1"),i=n("iWRJ"),a=n("yNUO"),s=n("fupu"),c=n("Us+F"),l={M:function(e){return e.getMonth()+1},MM:function(e){return d(e.getMonth()+1,2)},Q:function(e){return Math.ceil((e.getMonth()+1)/3)},D:function(e){return e.getDate()},DD:function(e){return d(e.getDate(),2)},DDD:function(e){return r(e)},DDDD:function(e){return d(r(e),3)},d:function(e){return e.getDay()},E:function(e){return e.getDay()||7},W:function(e){return o(e)},WW:function(e){return d(o(e),2)},YY:function(e){return d(e.getFullYear(),4).substr(2)},YYYY:function(e){return d(e.getFullYear(),4)},GG:function(e){return String(i(e)).substr(2)},GGGG:function(e){return i(e)},H:function(e){return e.getHours()},HH:function(e){return d(e.getHours(),2)},h:function(e){var t=e.getHours();return 0===t?12:t>12?t%12:t},hh:function(e){return d(l.h(e),2)},m:function(e){return e.getMinutes()},mm:function(e){return d(e.getMinutes(),2)},s:function(e){return e.getSeconds()},ss:function(e){return d(e.getSeconds(),2)},S:function(e){return Math.floor(e.getMilliseconds()/100)},SS:function(e){return d(Math.floor(e.getMilliseconds()/10),2)},SSS:function(e){return d(e.getMilliseconds(),3)},Z:function(e){return u(e.getTimezoneOffset(),":")},ZZ:function(e){return u(e.getTimezoneOffset())},X:function(e){return Math.floor(e.getTime()/1e3)},x:function(e){return e.getTime()}};function u(e,t){t=t||"";var n=e>0?"-":"+",r=Math.abs(e),o=r%60;return n+d(Math.floor(r/60),2)+t+d(o,2)}function d(e,t){for(var n=Math.abs(e).toString();n.length<t;)n="0"+n;return n}e.exports=function(e,t,n){var r=t?String(t):"YYYY-MM-DDTHH:mm:ss.SSSZ",o=(n||{}).locale,i=c.format.formatters,u=c.format.formattingTokensRegExp;o&&o.format&&o.format.formatters&&(i=o.format.formatters,o.format.formattingTokensRegExp&&(u=o.format.formattingTokensRegExp));var d=a(e);return s(d)?function(e,t,n){var r,o,i=e.match(n),a=i.length;for(r=0;r<a;r++)i[r]=t[i[r]]||l[i[r]]||((o=i[r]).match(/\[[\s\S]/)?o.replace(/^\[|]$/g,""):o.replace(/\\/g,""));return function(e){for(var t="",n=0;n<a;n++)t+=i[n]instanceof Function?i[n](e,l):i[n];return t}}(r,i,u)(d):"Invalid Date"}},cUpR:function(e,t,n){"use strict";n.r(t),n.d(t,"BrowserModule",(function(){return se})),n.d(t,"BrowserTransferStateModule",(function(){return we})),n.d(t,"By",(function(){return Se})),n.d(t,"DomSanitizer",(function(){return Z})),n.d(t,"EVENT_MANAGER_PLUGINS",(function(){return C})),n.d(t,"EventManager",(function(){return w})),n.d(t,"HAMMER_GESTURE_CONFIG",(function(){return F})),n.d(t,"HAMMER_LOADER",(function(){return L})),n.d(t,"HammerGestureConfig",(function(){return V})),n.d(t,"HammerModule",(function(){return q})),n.d(t,"Meta",(function(){return le})),n.d(t,"Title",(function(){return de})),n.d(t,"TransferState",(function(){return be})),n.d(t,"VERSION",(function(){return _e})),n.d(t,"disableDebugTools",(function(){return ge})),n.d(t,"enableDebugTools",(function(){return fe})),n.d(t,"makeStateKey",(function(){return ve})),n.d(t,"platformBrowser",(function(){return ie})),n.d(t,"\u0275BROWSER_SANITIZATION_PROVIDERS",(function(){return oe})),n.d(t,"\u0275BROWSER_SANITIZATION_PROVIDERS__POST_R3__",(function(){return re})),n.d(t,"\u0275BrowserDomAdapter",(function(){return a})),n.d(t,"\u0275BrowserGetTestability",(function(){return h})),n.d(t,"\u0275DomEventsPlugin",(function(){return N})),n.d(t,"\u0275DomRendererFactory2",(function(){return P}
1400)),n.d(t,"\u0275DomSanitizerImpl",(function(){return Q})),n.d(t,"\u0275DomSharedStylesHost",(function(){return E})),n.d(t,"\u0275ELEMENT_PROBE_PROVIDERS",(function(){return b})),n.d(t,"\u0275ELEMENT_PROBE_PROVIDERS__POST_R3__",(function(){return y})),n.d(t,"\u0275HAMMER_PROVIDERS__POST_R3__",(function(){return U})),n.d(t,"\u0275HammerGesturesPlugin",(function(){return B})),n.d(t,"\u0275INTERNAL_BROWSER_PLATFORM_PROVIDERS",(function(){return ne})),n.d(t,"\u0275KeyEventsPlugin",(function(){return W})),n.d(t,"\u0275NAMESPACE_URIS",(function(){return k})),n.d(t,"\u0275SharedStylesHost",(function(){return _})),n.d(t,"\u0275TRANSITION_ID",(function(){return l})),n.d(t,"\u0275angular_packages_platform_browser_platform_browser_a",(function(){return ee})),n.d(t,"\u0275angular_packages_platform_browser_platform_browser_b",(function(){return te})),n.d(t,"\u0275angular_packages_platform_browser_platform_browser_c",(function(){return ae})),n.d(t,"\u0275angular_packages_platform_browser_platform_browser_d",(function(){return ce})),n.d(t,"\u0275angular_packages_platform_browser_platform_browser_e",(function(){return ue})),n.d(t,"\u0275angular_packages_platform_browser_platform_browser_f",(function(){return Ce})),n.d(t,"\u0275angular_packages_platform_browser_platform_browser_g",(function(){return S})),n.d(t,"\u0275angular_packages_platform_browser_platform_browser_h",(function(){return H})),n.d(t,"\u0275angular_packages_platform_browser_platform_browser_i",(function(){return G})),n.d(t,"\u0275angular_packages_platform_browser_platform_browser_j",(function(){return J})),n.d(t,"\u0275angular_packages_platform_browser_platform_browser_k",(function(){return u})),n.d(t,"\u0275angular_packages_platform_browser_platform_browser_l",(function(){return d})),n.d(t,"\u0275angular_packages_platform_browser_platform_browser_m",(function(){return g})),n.d(t,"\u0275angular_packages_platform_browser_platform_browser_n",(function(){return v})),n.d(t,"\u0275angular_packages_platform_browser_platform_browser_o",(function(){return i})),n.d(t,"\u0275escapeHtml",(function(){return ye})),n.d(t,"\u0275flattenStyles",(function(){return T})),n.d(t,"\u0275initDomAdapter",(function(){return X})),n.d(t,"\u0275shimContentAttribute",(function(){return I})),n.d(t,"\u0275shimHostAttribute",(function(){return O}));var r=n("SVse"),o=n("8Y7J");n.d(t,"\u0275getDOM",(function(){return r.C}));
1401/**
1402 * @license Angular v10.2.5
1403 * (c) 2010-2020 Google LLC. https://angular.io/
1404 * License: MIT
1405 */
1406/**
1407 * @license
1408 * Copyright Google LLC All Rights Reserved.
1409 *
1410 * Use of this source code is governed by an MIT-style license that can be
1411 * found in the LICENSE file at https://angular.io/license
1412 */class i extends r.A{constructor(){super()}supportsDOMEvents(){return!0}}
1413/**
1414 * @license
1415 * Copyright Google LLC All Rights Reserved.
1416 *
1417 * Use of this source code is governed by an MIT-style license that can be
1418 * found in the LICENSE file at https://angular.io/license
1419 */class a extends i{static makeCurrent(){Object(r.E)(new a)}getProperty(e,t){return e[t]}log(e){window.console&&window.console.log&&window.console.log(e)}logGroup(e){window.console&&window.console.group&&window.console.group(e)}logGroupEnd(){window.console&&window.console.groupEnd&&window.console.groupEnd()}onAndCancel(e,t,n){return e.addEventListener(t,n,!1),()=>{e.removeEventListener(t,n,!1)}}dispatchEvent(e,t){e.dispatchEvent(t)}remove(e){return e.parentNode&&e.parentNode.removeChild(e),e}getValue(e){return e.value}createElement(e,t){return(t=t||this.getDefaultDocument()).createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null}getHistory(){return window.history}getLocation(){return window.location}getBaseHref(e){const t=c||(c=document.querySelector("base"),c)?c.getAttribute("href"):null;return null==t?null:(n=t,s||(s=document.createElement("a")),s.setAttribute("href",n),"/"===s.pathname.charAt(0)?s.pathname:"/"+s.pathname);var n;
1420/**
1421 * @license
1422 * Copyright Google LLC All Rights Reserved.
1423 *
1424 * Use of this source code is governed by an MIT-style license that can be
1425 * found in the LICENSE file at https://angular.io/license
1426 */}resetBaseElement(){c=null}getUserAgent(){return window.navigator.userAgent}performanceNow(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}supportsCookies(){return!0}getCookie(e){return Object(r.D)(document.cookie,e)}}let s,c=null;const l=new o.InjectionToken("TRANSITION_ID");function u(e,t,n){return()=>{n.get(o.ApplicationInitStatus).donePromise.then(()=>{const n=Object(r.C)();Array.prototype.slice.apply(t.querySelectorAll("style[ng-transition]")).filter(t=>
1426t.getAttribute("ng-transition")===e).forEach(e=>n.remove(e))})}}const d=[{provide:o.APP_INITIALIZER,useFactory:u,deps:[l,r.e,o.Injector],multi:!0}];
1427/**
1428 * @license
1429 * Copyright Google LLC All Rights Reserved.
1430 *
1431 * Use of this source code is governed by an MIT-style license that can be
1432 * found in the LICENSE file at https://angular.io/license
1433 */class h{static init(){Object(o.setTestabilityGetter)(new h)}addToWindow(e){o["\u0275global"].getAngularTestability=(t,n=!0)=>{const r=e.findTestabilityInTree(t,n);if(null==r)throw new Error("Could not find testability for element.");return r},o["\u0275global"].getAllAngularTestabilities=()=>e.getAllTestabilities(),o["\u0275global"].getAllAngularRootElements=()=>e.getAllRootElements(),o["\u0275global"].frameworkStabilizers||(o["\u0275global"].frameworkStabilizers=[]),o["\u0275global"].frameworkStabilizers.push(e=>{const t=o["\u0275global"].getAllAngularTestabilities();let n=t.length,r=!1;const i=function(t){r=r||t,n--,0==n&&e(r)};t.forEach((function(e){e.whenStable(i)}))})}findTestabilityInTree(e,t,n){if(null==t)return null;const o=e.getTestability(t);return null!=o?o:n?Object(r.C)().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null}}
1434/**
1435 * @license
1436 * Copyright Google LLC All Rights Reserved.
1437 *
1438 * Use of this source code is governed by an MIT-style license that can be
1439 * found in the LICENSE file at https://angular.io/license
1440 */function m(e,t){"undefined"!=typeof COMPILED&&COMPILED||((o["\u0275global"].ng=o["\u0275global"].ng||{})[e]=t)}
1441/**
1442 * @license
1443 * Copyright Google LLC All Rights Reserved.
1444 *
1445 * Use of this source code is governed by an MIT-style license that can be
1446 * found in the LICENSE file at https://angular.io/license
1447 */const p=(()=>({ApplicationRef:o.ApplicationRef,NgZone:o.NgZone}))();function f(e){return Object(o["\u0275getDebugNodeR2"])(e)}function g(e){return m("probe",f),m("coreTokens",Object.assign(Object.assign({},p),(e||[]).reduce((e,t)=>(e[t.name]=t.token,e),{}))),()=>f}const y=[],v=[{provide:o.APP_INITIALIZER,useFactory:g,deps:[[o.NgProbeToken,new o.Optional]],multi:!0}],b=y,C=new o.InjectionToken("EventManagerPlugins");let w=(()=>{class e{constructor(e,t){this._zone=t,this._eventNameToPlugin=new Map,e.forEach(e=>e.manager=this),this._plugins=e.slice().reverse()}addEventListener(e,t,n){return this._findPluginFor(t).addEventListener(e,t,n)}addGlobalEventListener(e,t,n){return this._findPluginFor(t).addGlobalEventListener(e,t,n)}getZone(){return this._zone}_findPluginFor(e){const t=this._eventNameToPlugin.get(e);if(t)return t;const n=this._plugins;for(let r=0;r<n.length;r++){const t=n[r];if(t.supports(e))return this._eventNameToPlugin.set(e,t),t}throw new Error("No event manager plugin found for event "+e)}}return e.\u0275fac=function(t){return new(t||e)(o["\u0275\u0275inject"](C),o["\u0275\u0275inject"](o.NgZone))},e.\u0275prov=o["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})();class S{constructor(e){this._doc=e}addGlobalEventListener(e,t,n){const o=Object(r.C)().getGlobalEventTarget(this._doc,e);if(!o)throw new Error(`Unsupported event target ${o} for event ${t}`);return this.addEventListener(o,t,n)}}let _=(()=>{class e{constructor(){this._stylesSet=new Set}addStyles(e){const t=new Set;e.forEach(e=>{this._stylesSet.has(e)||(this._stylesSet.add(e),t.add(e))}),this.onStylesAdded(t)}onStylesAdded(e){}getAllStyles(){return Array.from(this._stylesSet)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=o["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})(),E=(()=>{class e extends _{constructor(e){super(),this._doc=e,this._hostNodes=new Set,this._styleNodes=new Set,this._hostNodes.add(e.head)}_addStylesToHost(e,t){e.forEach(e=>{const n=this._doc.createElement("style");n.textContent=e,this._styleNodes.add(t.appendChild(n))})}addHost(e){this._addStylesToHost(this._stylesSet,e),this._hostNodes.add(e)}removeHost(e){this._hostNodes.delete(e)}onStylesAdded(e){this._hostNodes.forEach(t=>this._addStylesToHost(e,t))}ngOnDestroy(){this._styleNodes.forEach(e=>Object(r.C)().remove(e))}}return e.\u0275fac=function(t){return new(t||e)(o["\u0275\u0275inject"](r.e))},e.\u0275prov=o["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})();
1448/**
1449 * @license
1450 * Copyright Google LLC All Rights Reserved.
1451 *
1452 * Use of this source code is governed by an MIT-style license that can be
1453 * found in the LICENSE file at https://angular.io/license
1454 */const k={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},x=/%COMP%/g;function I(e){return"_ngcontent-%COMP%".replace(x,e)}function O(e){return"_nghost-%COMP%".replace(x,e)}function T(e,t,n){for(let r=0;r<t.length;r++){let o=t[r];Array.isArray(o)?T(e,o,n):(o=o.replace(x,e),n.push(o))}return n}function A(e){return t=>{if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}let P=(()=>{class e{constructor(e,t,n){this.eventManager=e,this.sharedStylesHost=t,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new D(e)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case o.ViewEncapsulation.Emulated:{let n=this.rendererByCompId.get(t.id);return n||(n=new R(this.eventManager,this.sharedStylesHost,t,this.appId),this.rendererByCompId.set(t.id,n)),n.applyTo
1454Host(e),n}case o.ViewEncapsulation.Native:case o.ViewEncapsulation.ShadowDom:return new M(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){const e=T(t.id,t.styles,[]);this.sharedStylesHost.addStyles(e),this.rendererByCompId.set(t.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return e.\u0275fac=function(t){return new(t||e)(o["\u0275\u0275inject"](w),o["\u0275\u0275inject"](E),o["\u0275\u0275inject"](o.APP_ID))},e.\u0275prov=o["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})();class D{constructor(e){this.eventManager=e,this.data=Object.create(null)}destroy(){}createElement(e,t){return t?document.createElementNS(k[t]||t,e):document.createElement(e)}createComment(e){return document.createComment(e)}createText(e){return document.createTextNode(e)}appendChild(e,t){e.appendChild(t)}insertBefore(e,t,n){e&&e.insertBefore(t,n)}removeChild(e,t){e&&e.removeChild(t)}selectRootElement(e,t){let n="string"==typeof e?document.querySelector(e):e;if(!n)throw new Error(`The selector "${e}" did not match any elements`);return t||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,n,r){if(r){t=r+":"+t;const o=k[r];o?e.setAttributeNS(o,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)}removeAttribute(e,t,n){if(n){const r=k[n];r?e.removeAttributeNS(r,t):e.removeAttribute(`${n}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,n,r){r&o.RendererStyleFlags2.DashCase?e.style.setProperty(t,n,r&o.RendererStyleFlags2.Important?"important":""):e.style[t]=n}removeStyle(e,t,n){n&o.RendererStyleFlags2.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,n){e[t]=n}setValue(e,t){e.nodeValue=t}listen(e,t,n){return"string"==typeof e?this.eventManager.addGlobalEventListener(e,t,A(n)):this.eventManager.addEventListener(e,t,A(n))}}class R extends D{constructor(e,t,n,r){super(e),this.component=n;const o=T(r+"-"+n.id,n.styles,[]);t.addStyles(o),this.contentAttr=I(r+"-"+n.id),this.hostAttr=O(r+"-"+n.id)}applyToHost(e){super.setAttribute(e,this.hostAttr,"")}createElement(e,t){const n=super.createElement(e,t);return super.setAttribute(n,this.contentAttr,""),n}}class M extends D{constructor(e,t,n,r){super(e),this.sharedStylesHost=t,this.hostEl=n,this.component=r,this.shadowRoot=r.encapsulation===o.ViewEncapsulation.ShadowDom?n.attachShadow({mode:"open"}):n.createShadowRoot(),this.sharedStylesHost.addHost(this.shadowRoot);const i=T(r.id,r.styles,[]);for(let o=0;o<i.length;o++){const e=document.createElement("style");e.textContent=i[o],this.shadowRoot.appendChild(e)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(e,t){return super.appendChild(this.nodeOrShadowRoot(e),t)}insertBefore(e,t,n){return super.insertBefore(this.nodeOrShadowRoot(e),t,n)}removeChild(e,t){return super.removeChild(this.nodeOrShadowRoot(e),t)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}}let N=(()=>{class e extends S{constructor(e){super(e)}supports(e){return!0}addEventListener(e,t,n){return e.addEventListener(t,n,!1),()=>this.removeEventListener(e,t,n)}removeEventListener(e,t,n){return e.removeEventListener(t,n)}}return e.\u0275fac=function(t){return new(t||e)(o["\u0275\u0275inject"](r.e))},e.\u0275prov=o["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})();
1455/**
1456 * @license
1457 * Copyright Google LLC All Rights Reserved.
1458 *
1459 * Use of this source code is governed by an MIT-style license that can be
1460 * found in the LICENSE file at https://angular.io/license
1461 */const j={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0},F=new o.InjectionToken("HammerGestureConfig"),L=new o.InjectionToken("HammerLoa
1461der");let V=(()=>{class e{constructor(){this.events=[],this.overrides={}}buildHammer(e){const t=new Hammer(e,this.options);t.get("pinch").set({enable:!0}),t.get("rotate").set({enable:!0});for(const n in this.overrides)t.get(n).set(this.overrides[n]);return t}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=o["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})(),B=(()=>{class e extends S{constructor(e,t,n,r){super(e),this._config=t,this.console=n,this.loader=r}supports(e){return!(!j.hasOwnProperty(e.toLowerCase())&&!this.isCustomEvent(e)||!window.Hammer&&!this.loader&&(this.console.warn(`The "${e}" event cannot be bound because Hammer.JS is not loaded and no custom loader has been specified.`),1))}addEventListener(e,t,n){const r=this.manager.getZone();if(t=t.toLowerCase(),!window.Hammer&&this.loader){let r=!1,o=()=>{r=!0};return this.loader().then(()=>{if(!window.Hammer)return this.console.warn("The custom HAMMER_LOADER completed, but Hammer.JS is not present."),void(o=()=>{});r||(o=this.addEventListener(e,t,n))}).catch(()=>{this.console.warn(`The "${t}" event cannot be bound because the custom Hammer.JS loader failed.`),o=()=>{}}),()=>{o()}}return r.runOutsideAngular(()=>{const o=this._config.buildHammer(e),i=function(e){r.runGuarded((function(){n(e)}))};return o.on(t,i),()=>{o.off(t,i),"function"==typeof o.destroy&&o.destroy()}})}isCustomEvent(e){return this._config.events.indexOf(e)>-1}}return e.\u0275fac=function(t){return new(t||e)(o["\u0275\u0275inject"](r.e),o["\u0275\u0275inject"](F),o["\u0275\u0275inject"](o["\u0275Console"]),o["\u0275\u0275inject"](L,8))},e.\u0275prov=o["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})();const U=[],H=[{provide:C,useClass:B,multi:!0,deps:[r.e,F,o["\u0275Console"],[new o.Optional,L]]},{provide:F,useClass:V,deps:[]}],G=U;let q=(()=>{class e{}return e.\u0275mod=o["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=o["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},providers:H}),e})();
1462/**
1463 * @license
1464 * Copyright Google LLC All Rights Reserved.
1465 *
1466 * Use of this source code is governed by an MIT-style license that can be
1467 * found in the LICENSE file at https://angular.io/license
1468 */const K=["alt","control","meta","shift"],z={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Y={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},$={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let W=(()=>{class e extends S{constructor(e){super(e)}supports(t){return null!=e.parseEventName(t)}addEventListener(t,n,o){const i=e.parseEventName(n),a=e.eventCallback(i.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Object(r.C)().onAndCancel(t,i.domEventName,a))}static parseEventName(t){const n=t.toLowerCase().split("."),r=n.shift();if(0===n.length||"keydown"!==r&&"keyup"!==r)return null;const o=e._normalizeKey(n.pop());let i="";if(K.forEach(e=>{const t=n.indexOf(e);t>-1&&(n.splice(t,1),i+=e+".")}),i+=o,0!=n.length||0===o.length)return null;const a={};return a.domEventName=r,a.fullKey=i,a}static getEventFullKey(e){let t="",n=function(e){let t=e.key;if(null==t){if(t=e.keyIdentifier,null==t)return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),3===e.location&&Y.hasOwnProperty(t)&&(t=Y[t]))}return z[t]||t}(e);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),K.forEac
1468h(r=>{r!=n&&(0,$[r])(e)&&(t+=r+".")}),t+=n,t}static eventCallback(t,n,r){return o=>{e.getEventFullKey(o)===t&&r.runGuarded(()=>n(o))}}static _normalizeKey(e){switch(e){case"esc":return"escape";default:return e}}}return e.\u0275fac=function(t){return new(t||e)(o["\u0275\u0275inject"](r.e))},e.\u0275prov=o["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})(),Z=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(o["\u0275\u0275defineInjectable"])({factory:function(){return Object(o["\u0275\u0275inject"])(Q)},token:e,providedIn:"root"}),e})();function J(e){return new Q(e.get(r.e))}let Q=(()=>{class e extends Z{constructor(e){super(),this._doc=e}sanitize(e,t){if(null==t)return null;switch(e){case o.SecurityContext.NONE:return t;case o.SecurityContext.HTML:return Object(o["\u0275allowSanitizationBypassAndThrow"])(t,"HTML")?Object(o["\u0275unwrapSafeValue"])(t):Object(o["\u0275_sanitizeHtml"])(this._doc,String(t));case o.SecurityContext.STYLE:return Object(o["\u0275allowSanitizationBypassAndThrow"])(t,"Style")?Object(o["\u0275unwrapSafeValue"])(t):t;case o.SecurityContext.SCRIPT:if(Object(o["\u0275allowSanitizationBypassAndThrow"])(t,"Script"))return Object(o["\u0275unwrapSafeValue"])(t);throw new Error("unsafe value used in a script context");case o.SecurityContext.URL:return Object(o["\u0275getSanitizationBypassType"])(t),Object(o["\u0275allowSanitizationBypassAndThrow"])(t,"URL")?Object(o["\u0275unwrapSafeValue"])(t):Object(o["\u0275_sanitizeUrl"])(String(t));case o.SecurityContext.RESOURCE_URL:if(Object(o["\u0275allowSanitizationBypassAndThrow"])(t,"ResourceURL"))return Object(o["\u0275unwrapSafeValue"])(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)`)}}bypassSecurityTrustHtml(e){return Object(o["\u0275bypassSanitizationTrustHtml"])(e)}bypassSecurityTrustStyle(e){return Object(o["\u0275bypassSanitizationTrustStyle"])(e)}bypassSecurityTrustScript(e){return Object(o["\u0275bypassSanitizationTrustScript"])(e)}bypassSecurityTrustUrl(e){return Object(o["\u0275bypassSanitizationTrustUrl"])(e)}bypassSecurityTrustResourceUrl(e){return Object(o["\u0275bypassSanitizationTrustResourceUrl"])(e)}}return e.\u0275fac=function(t){return new(t||e)(o["\u0275\u0275inject"](r.e))},e.\u0275prov=Object(o["\u0275\u0275defineInjectable"])({factory:function(){return J(Object(o["\u0275\u0275inject"])(o.INJECTOR))},token:e,providedIn:"root"}),e})();
1469/**
1470 * @license
1471 * Copyright Google LLC All Rights Reserved.
1472 *
1473 * Use of this source code is governed by an MIT-style license that can be
1474 * found in the LICENSE file at https://angular.io/license
1475 */function X(){a.makeCurrent(),h.init()}function ee(){return new o.ErrorHandler}function te(){return Object(o["\u0275setDocument"])(document),document}const ne=[{provide:o.PLATFORM_ID,useValue:r.B},{provide:o.PLATFORM_INITIALIZER,useValue:X,multi:!0},{provide:r.e,useFactory:te,deps:[]}],re=[],oe=re,ie=Object(o.createPlatformFactory)(o.platformCore,"browser",ne),ae=[oe,{provide:o["\u0275INJECTOR_SCOPE"],useValue:"root"},{provide:o.ErrorHandler,useFactory:ee,deps:[]},{provide:C,useClass:N,multi:!0,deps:[r.e,o.NgZone,o.PLATFORM_ID]},{provide:C,useClass:W,multi:!0,deps:[r.e]},G,{provide:P,useClass:P,deps:[w,E,o.APP_ID]},{provide:o.RendererFactory2,useExisting:P},{provide:_,useExisting:E},{provide:E,useClass:E,deps:[r.e]},{provide:o.Testability,useClass:o.Testability,deps:[o.NgZone]},{provide:w,useClass:w,deps:[C,o.NgZone]},b];let se=(()=>{class e{constructor(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.")}static withServerTransition(t){return{ngModule:e,providers:[{provide:o.APP_ID,useValue:t.appId},{provide:l,useExisting:o.APP_ID},d]}}}return e.\u0275mod=o["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=o["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)(o["\u0275\u0275inject"](e,12))},providers:ae,imports:[r.c,o.ApplicationModule]}),e})();
1476/**
1477 * @license
1478 * Copyright Google LLC All Rights Reserved.
1479 *
1480 * Use of this source code is governed by an MIT-style license that can be
1481 * found in the LICENSE file at https://angular.io/license
1482 */function ce(){return new le(Object(o["\u0275\u0275inject"])(r.e))}let le=(()=>{class e{constructor(e){this._doc=e,this._dom=Object(r.C)()}addTag(e,t=!1){return e?this._getOrCreateElement(e,t):null}addTags(e,t=!1){return e?e.reduce((e,n)=>(n&&e.push(this._getOrCreateElement(n,t)),e),[]):[]}getTag(e){return e&&this._doc.querySelector(`meta[${e}]`)||null}getTags(e){if(!e)return[];const t=this._doc.querySelectorAll(`meta[${e}]`);return t?[].slice.call(t):[]}updateTag(e,t){if(!e)return null;t=t||this._parseSelector(e);const n=this.getTag(t);return n?this._setMetaElementAttributes(e,n):this._getOrCreateElement(e,!0)}removeTag(e){this.removeTagElement(this.getTag(e))}removeTagElement(e){e&&this._dom.remove(e)}
1482_getOrCreateElement(e,t=!1){if(!t){const t=this._parseSelector(e),n=this.getTag(t);if(n&&this._containsAttributes(e,n))return n}const n=this._dom.createElement("meta");return this._setMetaElementAttributes(e,n),this._doc.getElementsByTagName("head")[0].appendChild(n),n}_setMetaElementAttributes(e,t){return Object.keys(e).forEach(n=>t.setAttribute(n,e[n])),t}_parseSelector(e){const t=e.name?"name":"property";return`${t}="${e[t]}"`}_containsAttributes(e,t){return Object.keys(e).every(n=>t.getAttribute(n)===e[n])}}return e.\u0275fac=function(t){return new(t||e)(o["\u0275\u0275inject"](r.e))},e.\u0275prov=Object(o["\u0275\u0275defineInjectable"])({factory:ce,token:e,providedIn:"root"}),e})();
1483/**
1484 * @license
1485 * Copyright Google LLC All Rights Reserved.
1486 *
1487 * Use of this source code is governed by an MIT-style license that can be
1488 * found in the LICENSE file at https://angular.io/license
1489 */function ue(){return new de(Object(o["\u0275\u0275inject"])(r.e))}let de=(()=>{class e{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}}return e.\u0275fac=function(t){return new(t||e)(o["\u0275\u0275inject"](r.e))},e.\u0275prov=Object(o["\u0275\u0275defineInjectable"])({factory:ue,token:e,providedIn:"root"}),e})();
1490/**
1491 * @license
1492 * Copyright Google LLC All Rights Reserved.
1493 *
1494 * Use of this source code is governed by an MIT-style license that can be
1495 * found in the LICENSE file at https://angular.io/license
1496 */const he="undefined"!=typeof window&&window||{};
1497/**
1498 * @license
1499 * Copyright Google LLC All Rights Reserved.
1500 *
1501 * Use of this source code is governed by an MIT-style license that can be
1502 * found in the LICENSE file at https://angular.io/license
1503 */class me{constructor(e,t){this.msPerTick=e,this.numTicks=t}}class pe{constructor(e){this.appRef=e.injector.get(o.ApplicationRef)}timeChangeDetection(e){const t=e&&e.record,n=null!=he.console.profile;t&&n&&he.console.profile("Change Detection");const o=Object(r.C)().performanceNow();let i=0;for(;i<5||Object(r.C)().performanceNow()-o<500;)this.appRef.tick(),i++;const a=Object(r.C)().performanceNow();t&&n&&he.console.profileEnd("Change Detection");const s=(a-o)/i;return he.console.log(`ran ${i} change detection cycles`),he.console.log(s.toFixed(2)+" ms per check"),new me(s,i)
1504/**
1505 * @license
1506 * Copyright Google LLC All Rights Reserved.
1507 *
1508 * Use of this source code is governed by an MIT-style license that can be
1509 * found in the LICENSE file at https://angular.io/license
1510 */}}function fe(e){return m("profiler",new pe(e)),e}function ge(){m("profiler",null)}
1511/**
1512 * @license
1513 * Copyright Google LLC All Rights Reserved.
1514 *
1515 * Use of this source code is governed by an MIT-style license that can be
1516 * found in the LICENSE file at https://angular.io/license
1517 */function ye(e){const t={"&":"&a;",'"':"&q;","'":"&s;","<":"&l;",">":"&g;"};return e.replace(/[&"'<>]/g,e=>t[e])}function ve(e){return e}let be=(()=>{class e{constructor(){this.store={},this.onSerializeCallbacks={}}static init(t){const n=new e;return n.store=t,n}get(e,t){return void 0!==this.store[e]?this.store[e]:t}set(e,t){this.store[e]=t}remove(e){delete this.store[e]}hasKey(e){return this.store.hasOwnProperty(e)}onSerialize(e,t){this.onSerializeCallbacks[e]=t}toJson(){for(const t in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(t))try{this.store[t]=this.onSerializeCallbacks[t]()}catch(e){console.warn("Exception in onSerialize callback: ",e)}return JSON.stringify(this.store)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=o["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})();function Ce(e,t){const n=e.getElementById(t+"-state");let r={};if(n&&n.textContent)try{r=JSON.parse(function(e){const t={"&a;":"&","&q;":'"',"&s;":"'","&l;":"<","&g;":">"};return e.replace(/&[^;]+;/g,e=>t[e])}(n.textContent))}catch(o){console.warn("Exception while restoring TransferState for app "+t,o)}return be.init(r)}let we=(()=>{class e{}return e.\u0275mod=o["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=o["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},providers:[{provide:be,useFactory:Ce,deps:[r.e,o.APP_ID]}]}),e})();
1518/**
1519 * @license
1520 * Copyright Google LLC All Rights Reserved.
1521 *
1522 * Use of this source code is governed by an MIT-style license that can be
1523 * found in the LICENSE file at https://angular.io/license
1524 */class Se{static all(){return()=>!0}static css(e){return t=>null!=t.nativeElement&&function(e,t){return!!Object(r.C)().isElementNode(e)&&(e.matches&&e.matches(t)||e.msMatchesSelector&&e.msMatchesSelector(t)||e.webkitMatchesSelector&&e.webkitMatchesSelector(t))}
1525/**
1526 * @license
1527 * Copyright Google LLC All Rights Reserved.
1528 *
1529 * Use of this source code is governed by an MIT-style license that can be
1530 * found in the LICENSE file at https://angular.io/license
1531 */
1532/**
1533 * @license
1534 * Copyright Google LLC All Rights Reserved.
1535 *
1536 * Use of this source code is governed by an MIT-style license that can be
1537 * found in the LICENSE file at https://angular.io/license
1538 */(t.nativeElement,e)}static directive(e){return t=>-1!==t.providerTokens.indexOf(e)}}const _e=new o.Version("10.2.5");
1539/**
1540 * @license
1541 * Copyright Google LLC All Rights Reserved.
1542 *
1543 * Use of this source code is governed by an MIT-style license that can be
1544 * found in the LICENSE file at https://angular.io/license
1545 */
1546/**
1547 * @license
1548 * Copyright Google LLC All Rights Reserved.
1549 *
1550 * Use of this source code is governed by an MIT-style license that can be
1551 * found in the LICENSE file at https://angular.io/license
1552 */
1553/**
1554 * @license
1555 * Copyright Google LLC All Rights Reserved.
1556 *
1557 * Use of this source code is governed by an MIT-style license that can be
1558 * found in the LICENSE file at https://angular.io/license
1559 */},cp0P:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n("HDdC"),o=n("DH7j"),i=n("lJxs"),a=n("XoHu"),s=n("Cfvw");function c(...e){if(1===e.length){const t=e[0];if(Object(o.a)(t))return l(t,null);if(Object(a.a)(t)&&Object.getPrototypeOf(t)===Object.prototype){const e=Object.keys(t);return l(e.map(e=>t[e]),e)}}if("function"==typeof e[e.length-1]){const t=e.pop();return l(e=1===e.length&&Object(o.a)(e[0])?e[0]:e,null).pipe(Object(i.a)(e=>t(...e)))}return l(e,null)}function l(e,t){return new r.a(n=>{const r=e.length;if(0===r)return void n.complete();const o=new Array(r);let i=0,a=0;for(let c=0;c<r;c++){const l=Object(s.a)(e[c]);let u=!1;n.add(l.subscribe({next:e=>{u||(u=!0,a++),o[c]=e},error:e=>n.error(e),complete:()=>
1559{i++,i!==r&&u||(a===r&&n.next(t?t.reduce((e,t,n)=>(e[t]=o[n],e),{}):o),n.complete())}}))}})}},crfB:function(e,t,n){var r=n("7B8A");e.exports=function(e,t){var n=Number(t);return r(e,6e4*n)}},crnd:function(e,t){function n(e){return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}))}n.keys=function(){return[]},n.resolve=n,e.exports=n,n.id="crnd"},czgO:function(e,t,n){var r=n("yNUO");e.exports=function(e){return r(e).getMonth()}},dEPG:function(e,t,n){var r=n("l0SJ");e.exports=function(){return r(new Date)}},dJQg:function(e,t,n){var r=n("yNUO");e.exports=function(e,t){var n=t&&Number(t.weekStartsOn)||0,o=r(e),i=o.getDay(),a=6+(i<n?-7:0)-(i-n);return o.setDate(o.getDate()+a),o.setHours(23,59,59,999),o}},dgaN:function(e,t,n){var r=n("yNUO");e.exports=function(e){return 2===r(e).getDay()}},eoPS:function(e,t,n){var r=n("iUbB");e.exports=function(e,t){var n=Number(t);return r(e,7*n)}},f9gI:function(e,t,n){var r=n("yNUO");e.exports=function(e,t){if(!(t instanceof Array))throw new TypeError(toString.call(t)+" is not an instance of Array");var n,o,i=r(e).getTime();return t.forEach((function(e,t){var a=r(e),s=Math.abs(i-a.getTime());(void 0===n||s<o)&&(n=t,o=s)})),n}},fupu:function(e,t,n){var r=n("pzWd");e.exports=function(e){if(r(e))return!isNaN(e);throw new TypeError(toString.call(e)+" is not an instance of Date")}},"g/AU":function(e,t,n){var r=n("rxuJ");e.exports=function(e,t){var n=Number(t);return r(e,-n)}},gRHU:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("2fFW"),o=n("NJ4a");const i={closed:!0,next(e){},error(e){if(r.a.useDeprecatedSynchronousErrorHandling)throw e;Object(o.a)(e)},complete(){}}},gUhM:function(e,t){e.exports=function(){var e=new Date,t=e.getFullYear(),n=e.getMonth(),r=e.getDate(),o=new Date(0);return o.setFullYear(t,n,r+1),o.setHours(0,0,0,0),o}},gfz1:function(e,t,n){var r=n("yNUO"),o=n("tMf1"),i=n("RJeW");e.exports=function(e){var t=r(e),n=o(t).getTime()-i(t).getTime();return Math.round(n/6048e5)+1}},gtzP:function(e,t,n){var r=n("tMf1");e.exports=function(e,t){var n=r(e),o=r(t),i=n.getTime()-6e4*n.getTimezoneOffset(),a=o.getTime()-6e4*o.getTimezoneOffset();return Math.round((i-a)/6048e5)}},gwEV:function(e,t,n){var r=n("F809");e.exports=function(e,t){var n=r(e,t)/3;return n>0?Math.floor(n):Math.ceil(n)}},hLnY:function(e,t,n){var r=n("yNUO");e.exports=function(e){var t=r(e).getDay();return 0===t&&(t=7),t}},hh1I:function(e,t,n){var r=n("iWRJ"),o=n("tMf1");e.exports=function(e){var t=r(e),n=new Date(0);n.setFullYear(t+1,0,4),n.setHours(0,0,0,0);var i=o(n);return i.setMilliseconds(i.getMilliseconds()-1),i}},iQJf:function(e,t,n){var r=n("/LN1");e.exports=function(e,t){var n=Number(t);return r(e,-n)}},iUbB:function(e,t,n){var r=n("yNUO");e.exports=function(e,t){var n=r(e),o=Number(t);return n.setDate(n.getDate()+o),n}},iWRJ:function(e,t,n){var r=n("yNUO"),o=n("tMf1");e.exports=function(e){var t=r(e),n=t.getFullYear(),i=new Date(0);i.setFullYear(n+1,0,4),i.setHours(0,0,0,0);var a=o(i),s=new Date(0);s.setFullYear(n,0,4),s.setHours(0,0,0,0);var c=o(s);return t.getTime()>=a.getTime()?n+1:t.getTime()>=c.getTime()?n:n-1}},iu1C:function(e,t,n){var r=n("yNUO");e.exports=function(e,t){var n=r(e),o=Number(t);return n.setMinutes(o),n}},jIFe:function(e,t,n){var r=n("yNUO");e.exports=function(e){return r(e).getMilliseconds()}},jZKg:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("HDdC"),o=n("quSY");function i(e,t){return new r.a(n=>{const r=new o.a;let i=0;return r.add(t.schedule((function(){i!==e.length?(n.next(e[i++]),n.closed||r.add(this.schedule())):n.complete()}))),r})}},kC7l:function(e,t,n){var r=n("yNUO");e.exports=function(e){return r(e).getTime()}},kJWO:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));const r=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")()},kOWh:function(e,t){var n=["M","MM","Q","D","DD","DDD","DDDD","d","E","W","WW","YY","YYYY","GG","GGGG","H","HH","h","hh","m","mm","s","ss","S","SS","SSS","Z","ZZ","X","x"];e.exports=function(e){var t=[];for(var r in e)e.hasOwnProperty(r)&&t.push(r);var o=n.concat(t).sort().reverse();return new RegExp("(\\[[^\\[]*\\])|(\\\\)?("+o.join("|")+"|.)","g")}},kRN8:function(e,t,n){var r=n("yNUO");e.exports=function(e,t){var n=r(e),o=Number(t);return n.setSeconds(o),n}},ktc5:function(e,t,n){(function(e){var r;/*! https://mths.be/he v1.2.0 by @mathias | MIT license */!function(o){"object"==typeof global&&global;var i=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,a=/[\x01-\x7F]/g,s=/[\x01-\t\x0B\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,c=/<\u20D2|=\u20E5|>
1559\u20D2|\u205F\u200A|\u219D\u0338|\u2202\u0338|\u2220\u20D2|\u2229\uFE00|\u222A\uFE00|\u223C\u20D2|\u223D\u0331|\u223E\u0333|\u2242\u0338|\u224B\u0338|\u224D\u20D2|\u224E\u0338|\u224F\u0338|\u2250\u0338|\u2261\u20E5|\u2264\u20D2|\u2265\u20D2|\u2266\u0338|\u2267\u0338|\u2268\uFE00|\u2269\uFE00|\u226A\u0338|\u226A\u20D2|\u226B\u0338|\u226B\u20D2|\u227F\u0338|\u2282\u20D2|\u2283\u20D2|\u228A\uFE00|\u228B\uFE00|\u228F\u0338|\u2290\u0338|\u2293\uFE00|\u2294\uFE00|\u22B4\u20D2|\u22B5\u20D2|\u22D8\u0338|\u22D9\u0338|\u22DA\uFE00|\u22DB\uFE00|\u22F5\u0338|\u22F9\u0338|\u2933\u0338|\u29CF\u0338|\u29D0\u0338|\u2A6D\u0338|\u2A70\u0338|\u2A7D\u0338|\u2A7E\u0338|\u2AA1\u0338|\u2AA2\u0338|\u2AAC\uFE00|\u2AAD\uFE00|\u2AAF\u0338|\u2AB0\u0338|\u2AC5\u0338|\u2AC6\u0338|\u2ACB\uFE00|\u2ACC\uFE00|\u2AFD\u20E5|[\xA0-\u0113\u0116-\u0122\u0124-\u012B\u012E-\u014D\u0150-\u017E\u0192\u01B5\u01F5\u0237\u02C6\u02C7\u02D8-\u02DD\u0311\u0391-\u03A1\u03A3-\u03A9\u03B1-\u03C9\u03D1\u03D2\u03D5\u03D6\u03DC\u03DD\u03F0\u03F1\u03F5\u03F6\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E\u045F\u2002-\u2005\u2007-\u2010\u2013-\u2016\u2018-\u201A\u201C-\u201E\u2020-\u2022\u2025\u2026\u2030-\u2035\u2039\u203A\u203E\u2041\u2043\u2044\u204F\u2057\u205F-\u2063\u20AC\u20DB\u20DC\u2102\u2105\u210A-\u2113\u2115-\u211E\u2122\u2124\u2127-\u2129\u212C\u212D\u212F-\u2131\u2133-\u2138\u2145-\u2148\u2153-\u215E\u2190-\u219B\u219D-\u21A7\u21A9-\u21AE\u21B0-\u21B3\u21B5-\u21B7\u21BA-\u21DB\u21DD\u21E4\u21E5\u21F5\u21FD-\u2205\u2207-\u2209\u220B\u220C\u220F-\u2214\u2216-\u2218\u221A\u221D-\u2238\u223A-\u2257\u2259\u225A\u225C\u225F-\u2262\u2264-\u228B\u228D-\u229B\u229D-\u22A5\u22A7-\u22B0\u22B2-\u22BB\u22BD-\u22DB\u22DE-\u22E3\u22E6-\u22F7\u22F9-\u22FE\u2305\u2306\u2308-\u2310\u2312\u2313\u2315\u2316\u231C-\u231F\u2322\u2323\u232D\u232E\u2336\u233D\u233F\u237C\u23B0\u23B1\u23B4-\u23B6\u23DC-\u23DF\u23E2\u23E7\u2423\u24C8\u2500\u2502\u250C\u2510\u2514\u2518\u251C\u2524\u252C\u2534\u253C\u2550-\u256C\u2580\u2584\u2588\u2591-\u2593\u25A1\u25AA\u25AB\u25AD\u25AE\u25B1\u25B3-\u25B5\u25B8\u25B9\u25BD-\u25BF\u25C2\u25C3\u25CA\u25CB\u25EC\u25EF\u25F8-\u25FC\u2605\u2606\u260E\u2640\u2642\u2660\u2663\u2665\u2666\u266A\u266D-\u266F\u2713\u2717\u2720\u2736\u2758\u2772\u2773\u27C8\u27C9\u27E6-\u27ED\u27F5-\u27FA\u27FC\u27FF\u2902-\u2905\u290C-\u2913\u2916\u2919-\u2920\u2923-\u292A\u2933\u2935-\u2939\u293C\u293D\u2945\u2948-\u294B\u294E-\u2976\u2978\u2979\u297B-\u297F\u2985\u2986\u298B-\u2996\u299A\u299C\u299D\u29A4-\u29B7\u29B9\u29BB\u29BC\u29BE-\u29C5\u29C9\u29CD-\u29D0\u29DC-\u29DE\u29E3-\u29E5\u29EB\u29F4\u29F6\u2A00-\u2A02\u2A04\u2A06\u2A0C\u2A0D\u2A10-\u2A17\u2A22-\u2A27\u2A29\u2A2A\u2A2D-\u2A31\u2A33-\u2A3C\u2A3F\u2A40\u2A42-\u2A4D\u2A50\u2A53-\u2A58\u2A5A-\u2A5D\u2A5F\u2A66\u2A6A\u2A6D-\u2A75\u2A77-\u2A9A\u2A9D-\u2AA2\u2AA4-\u2AB0\u2AB3-\u2AC8\u2ACB\u2ACC\u2ACF-\u2ADB\u2AE4\u2AE6-\u2AE9\u2AEB-\u2AF3\u2AFD\uFB00-\uFB04]|\uD835[\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDD6B]/g,l={"\xad":"shy","\u200c":"zwnj","\u200d":"zwj","\u200e":"lrm","\u2063":"ic","\u2062":"it","\u2061":"af","\u200f":"rlm","\u200b":"ZeroWidthSpace","\u2060":"NoBreak","\u0311":"DownBreve","\u20db":"tdot","\u20dc":"DotDot","\t":"Tab","\n":"NewLine","\u2008":"puncsp","\u205f":"MediumSpace","\u2009":"thinsp","\u200a":"hairsp","\u2004":"emsp13","\u2002":"ensp","\u2005":"emsp14","\u2003":"emsp","\u2007":"numsp","\xa0":"nbsp","\u205f\u200a":"ThickSpace","\u203e":"oline",_:"lowbar","\u2010":"dash","\u2013":"ndash","\u2014":"mdash","\u2015":"horbar",",":"comma",";":"semi","\u204f":"bsemi",":":"colon","\u2a74":"Colone","!":"excl","\xa1":"iexcl","?":"quest","\xbf":"iquest",".":"period","\u2025":"nldr","\u2026":"mldr","\xb7":"middot","'":"apos","\u2018":"lsquo","\u2019":"rsquo","\u201a":"sbquo","\u2039":"lsaquo","\u203a":"rsaquo",'"':"quot","\u201c":"ldquo","\u201d":"rdquo","\u201e":"bdquo","\xab":"laquo","\xbb":"raquo","(":"lpar",")":"rpar","[":"lsqb","]":"rsqb","{":"lcub","}":"rcub","\u2308":"lceil","\u2309":"rceil","\u230a":"lfloor","\u230b":"rfloor","\u2985":"lopar","\u2986":"ropar","\u298b":"lbrke","\u298c":"rbrke","\u298d":"lbrkslu","\u298e":"rbrksld","\u298f":"lbrksld","\u2990":"rbrkslu","\u2991":"langd","\u2992":"rangd","\u2993":"lparlt","\u2994":"rpargt","\u2995":"gtlPar","\u2996":"ltrPar","\u27e6":"lobrk","\u27e7":"robrk","\u27e8":"lang","\u27e9":"rang","\u27ea":"Lang","\u27eb":"Rang","\u27ec":"loang","\u27ed":"roang","\u2772":"lbbrk","\u2773":"rbbrk","\u2016":"Vert","\xa7":"sect","\xb6":"para","@":"commat","*":"ast","/":"sol",undefined:null,"&":"amp","#":"num","%":"percnt","\u2030":"permil","\u2031":"pertenk","\u2020":"dagger","\u2021":"Dagger","\u2022":"bull","\u2043":"hybull","\u2032":"prime","\u2033":"Prime","\u2034":"tprime","\u2057":"qprime","\u2035":"bprime","\u2041":"caret","`":"grave","\xb4":"acute","\u02dc":"tilde","^":"Hat","\xaf":"macr","\u02d8":"breve","\u02d9":"dot","\xa8":"die","\u02da":"ring","\u02dd":"dblac","\xb8":"cedil","\u02db":"ogon",\u02c6:"circ",\u02c7:"caron","\xb0":"deg","\xa9":"copy","\xae":"reg","\u2117":"copysr",\u2118:"wp","\u211e":"rx","\u2127":"mho","\u2129":"iiota","\u2190":"larr","\u219a":"nlarr","\u2192":"rarr","\u219b":"nrarr","\u2191":"uarr","\u2193":"darr","\u2194":"harr","\u21ae":"nharr","\u2195":"varr","\u2196":"nwarr","\u2197":"nearr","\u2198":"searr","\u2199":"swarr","\u219d":"rarr
1559w","\u219d\u0338":"nrarrw","\u219e":"Larr","\u219f":"Uarr","\u21a0":"Rarr","\u21a1":"Darr","\u21a2":"larrtl","\u21a3":"rarrtl","\u21a4":"mapstoleft","\u21a5":"mapstoup","\u21a6":"map","\u21a7":"mapstodown","\u21a9":"larrhk","\u21aa":"rarrhk","\u21ab":"larrlp","\u21ac":"rarrlp","\u21ad":"harrw","\u21b0":"lsh","\u21b1":"rsh","\u21b2":"ldsh","\u21b3":"rdsh","\u21b5":"crarr","\u21b6":"cularr","\u21b7":"curarr","\u21ba":"olarr","\u21bb":"orarr","\u21bc":"lharu","\u21bd":"lhard","\u21be":"uharr","\u21bf":"uharl","\u21c0":"rharu","\u21c1":"rhard","\u21c2":"dharr","\u21c3":"dharl","\u21c4":"rlarr","\u21c5":"udarr","\u21c6":"lrarr","\u21c7":"llarr","\u21c8":"uuarr","\u21c9":"rrarr","\u21ca":"ddarr","\u21cb":"lrhar","\u21cc":"rlhar","\u21d0":"lArr","\u21cd":"nlArr","\u21d1":"uArr","\u21d2":"rArr","\u21cf":"nrArr","\u21d3":"dArr","\u21d4":"iff","\u21ce":"nhArr","\u21d5":"vArr","\u21d6":"nwArr","\u21d7":"neArr","\u21d8":"seArr","\u21d9":"swArr","\u21da":"lAarr","\u21db":"rAarr","\u21dd":"zigrarr","\u21e4":"larrb","\u21e5":"rarrb","\u21f5":"duarr","\u21fd":"loarr","\u21fe":"roarr","\u21ff":"hoarr","\u2200":"forall","\u2201":"comp","\u2202":"part","\u2202\u0338":"npart","\u2203":"exist","\u2204":"nexist","\u2205":"empty","\u2207":"Del","\u2208":"in","\u2209":"notin","\u220b":"ni","\u220c":"notni","\u03f6":"bepsi","\u220f":"prod","\u2210":"coprod","\u2211":"sum","+":"plus","\xb1":"pm","\xf7":"div","\xd7":"times","<":"lt","\u226e":"nlt","<\u20d2":"nvlt","=":"equals","\u2260":"ne","=\u20e5":"bne","\u2a75":"Equal",">":"gt","\u226f":"ngt",">\u20d2":"nvgt","\xac":"not","|":"vert","\xa6":"brvbar","\u2212":"minus","\u2213":"mp","\u2214":"plusdo","\u2044":"frasl","\u2216":"setmn","\u2217":"lowast","\u2218":"compfn","\u221a":"Sqrt","\u221d":"prop","\u221e":"infin","\u221f":"angrt","\u2220":"ang","\u2220\u20d2":"nang","\u2221":"angmsd","\u2222":"angsph","\u2223":"mid","\u2224":"nmid","\u2225":"par","\u2226":"npar","\u2227":"and","\u2228":"or","\u2229":"cap","\u2229\ufe00":"caps","\u222a":"cup","\u222a\ufe00":"cups","\u222b":"int","\u222c":"Int","\u222d":"tint","\u2a0c":"qint","\u222e":"oint","\u222f":"Conint","\u2230":"Cconint","\u2231":"cwint","\u2232":"cwconint","\u2233":"awconint","\u2234":"there4","\u2235":"becaus","\u2236":"ratio","\u2237":"Colon","\u2238":"minusd","\u223a":"mDDot","\u223b":"homtht","\u223c":"sim","\u2241":"nsim","\u223c\u20d2":"nvsim","\u223d":"bsim","\u223d\u0331":"race","\u223e":"ac","\u223e\u0333":"acE","\u223f":"acd","\u2240":"wr","\u2242":"esim","\u2242\u0338":"nesim","\u2243":"sime","\u2244":"nsime","\u2245":"cong","\u2247":"ncong","\u2246":"simne","\u2248":"ap","\u2249":"nap","\u224a":"ape","\u224b":"apid","\u224b\u0338":"napid","\u224c":"bcong","\u224d":"CupCap","\u226d":"NotCupCap","\u224d\u20d2":"nvap","\u224e":"bump","\u224e\u0338":"nbump","\u224f":"bumpe","\u224f\u0338":"nbumpe","\u2250":"doteq","\u2250\u0338":"nedot","\u2251":"eDot","\u2252":"efDot","\u2253":"erDot","\u2254":"colone","\u2255":"ecolon","\u2256":"ecir","\u2257":"cire","\u2259":"wedgeq","\u225a":"veeeq","\u225c":"trie","\u225f":"equest","\u2261":"equiv","\u2262":"nequiv","\u2261\u20e5":"bnequiv","\u2264":"le","\u2270":"nle","\u2264\u20d2":"nvle","\u2265":"ge","\u2271":"nge","\u2265\u20d2":"nvge","\u2266":"lE","\u2266\u0338":"nlE","\u2267":"gE","\u2267\u0338":"ngE","\u2268\ufe00":"lvnE","\u2268":"lnE","\u2269":"gnE","\u2269\ufe00":"gvnE","\u226a":"ll","\u226a\u0338":"nLtv","\u226a\u20d2":"nLt","\u226b":"gg","\u226b\u0338":"nGtv","\u226b\u20d2":"nGt","\u226c":"twixt","\u2272":"lsim","\u2274":"nlsim","\u2273":"gsim","\u2275":"ngsim","\u2276":"lg","\u2278":"ntlg","\u2277":"gl","\u2279":"ntgl","\u227a":"pr","\u2280":"npr","\u227b":"sc","\u2281":"nsc","\u227c":"prcue","\u22e0":"nprcue","\u227d":"sccue","\u22e1":"nsccue","\u227e":"prsim","\u227f":"scsim","\u227f\u0338":"NotSucceedsTilde","\u2282":"sub","\u2284":"nsub","\u2282\u20d2":"vnsub","\u2283":"sup","\u2285":"nsup","\u2283\u20d2":"vnsup","\u2286":"sube","\u2288":"nsube","\u2287":"supe","\u2289":"nsupe","\u228a\ufe00":"vsubne","\u228a":"subne","\u228b\ufe00":"vsupne","\u228b":"supne","\u228d":"cupdot","\u228e":"uplus","\u228f":"sqsub","\u228f\u0338":"NotSquareSubset","\u2290":"sqsup","\u2290\u0338":"NotSquareSuperset","\u2291":"sqsube","\u22e2":"nsqsube","\u2292":"sqsupe","\u22e3":"nsqsupe","\u2293":"sqcap","\u2293\ufe00":"sqcaps","\u2294":"sqcup","\u2294\ufe00":"sqcups","\u2295":"oplus","\u2296":"ominus","\u2297":"otimes","\u2298":"osol","\u2299":"odot","\u229a":"ocir","\u229b":"oast","\u229d":"odash","\u229e":"plusb","\u229f":"minusb","\u22a0":"timesb","\u22a1":"sdotb","\u22a2":"vdash","\u22ac":"nvdash","\u22a3"
1559:"dashv","\u22a4":"top","\u22a5":"bot","\u22a7":"models","\u22a8":"vDash","\u22ad":"nvDash","\u22a9":"Vdash","\u22ae":"nVdash","\u22aa":"Vvdash","\u22ab":"VDash","\u22af":"nVDash","\u22b0":"prurel","\u22b2":"vltri","\u22ea":"nltri","\u22b3":"vrtri","\u22eb":"nrtri","\u22b4":"ltrie","\u22ec":"nltrie","\u22b4\u20d2":"nvltrie","\u22b5":"rtrie","\u22ed":"nrtrie","\u22b5\u20d2":"nvrtrie","\u22b6":"origof","\u22b7":"imof","\u22b8":"mumap","\u22b9":"hercon","\u22ba":"intcal","\u22bb":"veebar","\u22bd":"barvee","\u22be":"angrtvb","\u22bf":"lrtri","\u22c0":"Wedge","\u22c1":"Vee","\u22c2":"xcap","\u22c3":"xcup","\u22c4":"diam","\u22c5":"sdot","\u22c6":"Star","\u22c7":"divonx","\u22c8":"bowtie","\u22c9":"ltimes","\u22ca":"rtimes","\u22cb":"lthree","\u22cc":"rthree","\u22cd":"bsime","\u22ce":"cuvee","\u22cf":"cuwed","\u22d0":"Sub","\u22d1":"Sup","\u22d2":"Cap","\u22d3":"Cup","\u22d4":"fork","\u22d5":"epar","\u22d6":"ltdot","\u22d7":"gtdot","\u22d8":"Ll","\u22d8\u0338":"nLl","\u22d9":"Gg","\u22d9\u0338":"nGg","\u22da\ufe00":"lesg","\u22da":"leg","\u22db":"gel","\u22db\ufe00":"gesl","\u22de":"cuepr","\u22df":"cuesc","\u22e6":"lnsim","\u22e7":"gnsim","\u22e8":"prnsim","\u22e9":"scnsim","\u22ee":"vellip","\u22ef":"ctdot","\u22f0":"utdot","\u22f1":"dtdot","\u22f2":"disin","\u22f3":"isinsv","\u22f4":"isins","\u22f5":"isindot","\u22f5\u0338":"notindot","\u22f6":"notinvc","\u22f7":"notinvb","\u22f9":"isinE","\u22f9\u0338":"notinE","\u22fa":"nisd","\u22fb":"xnis","\u22fc":"nis","\u22fd":"notnivc","\u22fe":"notnivb","\u2305":"barwed","\u2306":"Barwed","\u230c":"drcrop","\u230d":"dlcrop","\u230e":"urcrop","\u230f":"ulcrop","\u2310":"bnot","\u2312":"profline","\u2313":"profsurf","\u2315":"telrec","\u2316":"target","\u231c":"ulcorn","\u231d":"urcorn","\u231e":"dlcorn","\u231f":"drcorn","\u2322":"frown","\u2323":"smile","\u232d":"cylcty","\u232e":"profalar","\u2336":"topbot","\u233d":"ovbar","\u233f":"solbar","\u237c":"angzarr","\u23b0":"lmoust","\u23b1":"rmoust","\u23b4":"tbrk","\u23b5":"bbrk","\u23b6":"bbrktbrk","\u23dc":"OverParenthesis","\u23dd":"UnderParenthesis","\u23de":"OverBrace","\u23df":"UnderBrace","\u23e2":"trpezium","\u23e7":"elinters","\u2423":"blank","\u2500":"boxh","\u2502":"boxv","\u250c":"boxdr","\u2510":"boxdl","\u2514":"boxur","\u2518":"boxul","\u251c":"boxvr","\u2524":"boxvl","\u252c":"boxhd","\u2534":"boxhu","\u253c":"boxvh","\u2550":"boxH","\u2551":"boxV","\u2552":"boxdR","\u2553":"boxDr","\u2554":"boxDR","\u2555":"boxdL","\u2556":"boxDl","\u2557":"boxDL","\u2558":"boxuR","\u2559":"boxUr","\u255a":"boxUR","\u255b":"boxuL","\u255c":"boxUl","\u255d":"boxUL","\u255e":"boxvR","\u255f":"boxVr","\u2560":"boxVR","\u2561":"boxvL","\u2562":"boxVl","\u2563":"boxVL","\u2564":"boxHd","\u2565":"boxhD","\u2566":"boxHD","\u2567":"boxHu","\u2568":"boxhU","\u2569":"boxHU","\u256a":"boxvH","\u256b":"boxVh","\u256c":"boxVH","\u2580":"uhblk","\u2584":"lhblk","\u2588":"block","\u2591":"blk14","\u2592":"blk12","\u2593":"blk34","\u25a1":"squ","\u25aa":"squf","\u25ab":"EmptyVerySmallSquare","\u25ad":"rect","\u25ae":"marker","\u25b1":"fltns","\u25b3":"xutri","\u25b4":"utrif","\u25b5":"utri","\u25b8":"rtrif","\u25b9":"rtri","\u25bd":"xdtri","\u25be":"dtrif","\u25bf":"dtri","\u25c2":"ltrif","\u25c3":"ltri","\u25ca":"loz","\u25cb":"cir","\u25ec":"tridot","\u25ef":"xcirc","\u25f8":"ultri","\u25f9":"urtri","\u25fa":"lltri","\u25fb":"EmptySmallSquare","\u25fc":"FilledSmallSquare","\u2605":"starf","\u2606":"star","\u260e":"phone","\u2640":"female","\u2642":"male","\u2660":"spades","\u2663":"clubs","\u2665":"hearts","\u2666":"diams","\u266a":"sung","\u2713":"check","\u2717":"cross","\u2720":"malt","\u2736":"sext","\u2758":"VerticalSeparator","\u27c8":"bsolhsub","\u27c9":"suphsol","\u27f5":"xlarr","\u27f6":"xrarr","\u27f7":"xharr","\u27f8":"xlArr","\u27f9":"xrArr","\u27fa":"xhArr","\u27fc":"xmap","\u27ff":"dzigrarr","\u2902":"nvlArr","\u2903":"nvrArr","\u2904":"nvHarr","\u2905":"Map","\u290c":"lbarr","\u290d":"rbarr","\u290e":"lBarr","\u290f":"rBarr","\u2910":"RBarr","\u2911":"DDotrahd","\u2912":"UpArrowBar","\u2913":"DownArrowBar","\u2916":"Rarrtl","\u2919":"latail","\u291a":"ratail","\u291b":"lAtail","\u291c":"rAtail","\u291d":"larrfs","\u291e":"rarrfs","\u291f":"larrbfs","\u2920":"rarrbfs","\u2923":"nwarhk","\u2924":"nearhk","\u2925":"searhk","\u2926":"swarhk","\u2927":"nwnear","\u2928":"toea","\u2929":"tosa","\u292a":"swnwar","\u2933":"rarrc","\u2933\u0338":"nrarrc","\u2935":"cudarrr","\u2936":"ldca","\u2937":"rdca","\u2938":"cudarrl","\u2939":"larrpl","\u293c":"curarrm","\u293d":"cularrp","\u2945":"rarrpl","\u2948":"harrcir","\u2949":"Uarrocir","\u294a":"lurdshar","\u294b":"ldrushar","\u294e":"LeftRightVector","\u294f":"RightUpDownVector","\u2950":"DownLeftRightVector","\u2951":"LeftUpDownVector","\u2952":"LeftVectorBar","\u2953":"RightVectorBar","\u2954":"RightUpVectorBar","\u2955":"RightDownVectorBar","\u2956":"DownLeftVectorBar","\u2957":"DownRightVectorBar","\u2958":"LeftUpVectorBar","\u2959":"LeftDownVectorBar","\u295a":"LeftTeeVector","\u295b":"RightTeeVector","\u295c":"RightUpTeeVector","\u295d":"RightDownTeeVector","\u295e":"DownLeftTeeVector","\u295f":"DownRightTeeVector","\u2960":"LeftUpTeeVector","\u2961":"LeftDownTeeVector","\u2962":"lHar","\u2963":"uHar","\u2964":"rHar","\u2965":"dHar","\u2966":"luruhar","\u2967":"ldrdh
1559ar","\u2968":"ruluhar","\u2969":"rdldhar","\u296a":"lharul","\u296b":"llhard","\u296c":"rharul","\u296d":"lrhard","\u296e":"udhar","\u296f":"duhar","\u2970":"RoundImplies","\u2971":"erarr","\u2972":"simrarr","\u2973":"larrsim","\u2974":"rarrsim","\u2975":"rarrap","\u2976":"ltlarr","\u2978":"gtrarr","\u2979":"subrarr","\u297b":"suplarr","\u297c":"lfisht","\u297d":"rfisht","\u297e":"ufisht","\u297f":"dfisht","\u299a":"vzigzag","\u299c":"vangrt","\u299d":"angrtvbd","\u29a4":"ange","\u29a5":"range","\u29a6":"dwangle","\u29a7":"uwangle","\u29a8":"angmsdaa","\u29a9":"angmsdab","\u29aa":"angmsdac","\u29ab":"angmsdad","\u29ac":"angmsdae","\u29ad":"angmsdaf","\u29ae":"angmsdag","\u29af":"angmsdah","\u29b0":"bemptyv","\u29b1":"demptyv","\u29b2":"cemptyv","\u29b3":"raemptyv","\u29b4":"laemptyv","\u29b5":"ohbar","\u29b6":"omid","\u29b7":"opar","\u29b9":"operp","\u29bb":"olcross","\u29bc":"odsold","\u29be":"olcir","\u29bf":"ofcir","\u29c0":"olt","\u29c1":"ogt","\u29c2":"cirscir","\u29c3":"cirE","\u29c4":"solb","\u29c5":"bsolb","\u29c9":"boxbox","\u29cd":"trisb","\u29ce":"rtriltri","\u29cf":"LeftTriangleBar","\u29cf\u0338":"NotLeftTriangleBar","\u29d0":"RightTriangleBar","\u29d0\u0338":"NotRightTriangleBar","\u29dc":"iinfin","\u29dd":"infintie","\u29de":"nvinfin","\u29e3":"eparsl","\u29e4":"smeparsl","\u29e5":"eqvparsl","\u29eb":"lozf","\u29f4":"RuleDelayed","\u29f6":"dsol","\u2a00":"xodot","\u2a01":"xoplus","\u2a02":"xotime","\u2a04":"xuplus","\u2a06":"xsqcup","\u2a0d":"fpartint","\u2a10":"cirfnint","\u2a11":"awint","\u2a12":"rppolint","\u2a13":"scpolint","\u2a14":"npolint","\u2a15":"pointint","\u2a16":"quatint","\u2a17":"intlarhk","\u2a22":"pluscir","\u2a23":"plusacir","\u2a24":"simplus","\u2a25":"plusdu","\u2a26":"plussim","\u2a27":"plustwo","\u2a29":"mcomma","\u2a2a":"minusdu","\u2a2d":"loplus","\u2a2e":"roplus","\u2a2f":"Cross","\u2a30":"timesd","\u2a31":"timesbar","\u2a33":"smashp","\u2a34":"lotimes","\u2a35":"rotimes","\u2a36":"otimesas","\u2a37":"Otimes","\u2a38":"odiv","\u2a39":"triplus","\u2a3a":"triminus","\u2a3b":"tritime","\u2a3c":"iprod","\u2a3f":"amalg","\u2a40":"capdot","\u2a42":"ncup","\u2a43":"ncap","\u2a44":"capand","\u2a45":"cupor","\u2a46":"cupcap","\u2a47":"capcup","\u2a48":"cupbrcap","\u2a49":"capbrcup","\u2a4a":"cupcup","\u2a4b":"capcap","\u2a4c":"ccups","\u2a4d":"ccaps","\u2a50":"ccupssm","\u2a53":"And","\u2a54":"Or","\u2a55":"andand","\u2a56":"oror","\u2a57":"orslope","\u2a58":"andslope","\u2a5a":"andv","\u2a5b":"orv","\u2a5c":"andd","\u2a5d":"ord","\u2a5f":"wedbar","\u2a66":"sdote","\u2a6a":"simdot","\u2a6d":"congdot","\u2a6d\u0338":"ncongdot","\u2a6e":"easter","\u2a6f":"apacir","\u2a70":"apE","\u2a70\u0338":"napE","\u2a71":"eplus","\u2a72":"pluse","\u2a73":"Esim","\u2a77":"eDDot","\u2a78":"equivDD","\u2a79":"ltcir","\u2a7a":"gtcir","\u2a7b":"ltquest","\u2a7c":"gtquest","\u2a7d":"les","\u2a7d\u0338":"nles","\u2a7e":"ges","\u2a7e\u0338":"nges","\u2a7f":"lesdot","\u2a80":"gesdot","\u2a81":"lesdoto","\u2a82":"gesdoto","\u2a83":"lesdotor","\u2a84":"gesdotol","\u2a85":"lap","\u2a86":"gap","\u2a87":"lne","\u2a88":"gne","\u2a89":"lnap","\u2a8a":"gnap","\u2a8b":"lEg","\u2a8c":"gEl","\u2a8d":"lsime","\u2a8e":"gsime","\u2a8f":"lsimg","\u2a90":"gsiml","\u2a91":"lgE","\u2a92":"glE","\u2a93":"lesges","\u2a94":"gesles","\u2a95":"els","\u2a96":"egs","\u2a97":"elsdot","\u2a98":"egsdot","\u2a99":"el","\u2a9a":"eg","\u2a9d":"siml","\u2a9e":"simg","\u2a9f":"simlE","\u2aa0":"simgE","\u2aa1":"LessLess","\u2aa1\u0338":"NotNestedLessLess","\u2aa2":"GreaterGreater","\u2aa2\u0338":"NotNestedGreaterGreater","\u2aa4":"glj","\u2aa5":"gla","\u2aa6":"ltcc","\u2aa7":"gtcc","\u2aa8":"lescc","\u2aa9":"gescc","\u2aaa":"smt","\u2aab":"lat","\u2aac":"smte","\u2aac\ufe00":"smtes","\u2aad":"late","\u2aad\ufe00":"lates","\u2aae":"bumpE","\u2aaf":"pre","\u2aaf\u0338":"npre","\u2ab0":"sce","\u2ab0\u0338":"nsce","\u2ab3":"prE","\u2ab4":"scE","\u2ab5":"prnE","\u2ab6":"scnE","\u2ab7":"prap","\u2ab8":"scap","\u2ab9":"prnap","\u2aba":"scnap","\u2abb":"Pr","\u2abc":"Sc","\u2abd":"subdot","\u2abe":"supdot","\u2abf":"subplus","\u2ac0":"supplus","\u2ac1":"submult","\u2ac2":"supmult","\u2ac3":"subedot","\u2ac4":"supedot","\u2ac5":"subE","\u2ac
15595\u0338":"nsubE","\u2ac6":"supE","\u2ac6\u0338":"nsupE","\u2ac7":"subsim","\u2ac8":"supsim","\u2acb\ufe00":"vsubnE","\u2acb":"subnE","\u2acc\ufe00":"vsupnE","\u2acc":"supnE","\u2acf":"csub","\u2ad0":"csup","\u2ad1":"csube","\u2ad2":"csupe","\u2ad3":"subsup","\u2ad4":"supsub","\u2ad5":"subsub","\u2ad6":"supsup","\u2ad7":"suphsub","\u2ad8":"supdsub","\u2ad9":"forkv","\u2ada":"topfork","\u2adb":"mlcp","\u2ae4":"Dashv","\u2ae6":"Vdashl","\u2ae7":"Barv","\u2ae8":"vBar","\u2ae9":"vBarv","\u2aeb":"Vbar","\u2aec":"Not","\u2aed":"bNot","\u2aee":"rnmid","\u2aef":"cirmid","\u2af0":"midcir","\u2af1":"topcir","\u2af2":"nhpar","\u2af3":"parsim","\u2afd":"parsl","\u2afd\u20e5":"nparsl","\u266d":"flat","\u266e":"natur","\u266f":"sharp","\xa4":"curren","\xa2":"cent",$:"dollar","\xa3":"pound","\xa5":"yen","\u20ac":"euro","\xb9":"sup1","\xbd":"half","\u2153":"frac13","\xbc":"frac14","\u2155":"frac15","\u2159":"frac16","\u215b":"frac18","\xb2":"sup2","\u2154":"frac23","\u2156":"frac25","\xb3":"sup3","\xbe":"frac34","\u2157":"frac35","\u215c":"frac38","\u2158":"frac45","\u215a":"frac56","\u215d":"frac58","\u215e":"frac78",\u{1d4b6}:"ascr",\u{1d552}:"aopf",\u{1d51e}:"afr",\u{1d538}:"Aopf",\u{1d504}:"Afr",\u{1d49c}:"Ascr",\u00aa:"ordf",\u00e1:"aacute",\u00c1:"Aacute",\u00e0:"agrave",\u00c0:"Agrave",\u0103:"abreve",\u0102:"Abreve",\u00e2:"acirc",\u00c2:"Acirc",\u00e5:"aring",\u00c5:"angst",\u00e4:"auml",\u00c4:"Auml",\u00e3:"atilde",\u00c3:"Atilde",\u0105:"aogon",\u0104:"Aogon",\u0101:"amacr",\u0100:"Amacr",\u00e6:"aelig",\u00c6:"AElig",\u{1d4b7}:"bscr",\u{1d553}:"bopf",\u{1d51f}:"bfr",\u{1d539}:"Bopf",\u212c:"Bscr",\u{1d505}:"Bfr",\u{1d520}:"cfr",\u{1d4b8}:"cscr",\u{1d554}:"copf",\u212d:"Cfr",\u{1d49e}:"Cscr",\u2102:"Copf",\u0107:"cacute",\u0106:"Cacute",\u0109:"ccirc",\u0108:"Ccirc",\u010d:"ccaron",\u010c:"Ccaron",\u010b:"cdot",\u010a:"Cdot",\u00e7:"ccedil",\u00c7:"Ccedil","\u2105":"incare",\u{1d521}:"dfr",\u2146:"dd",\u{1d555}:"dopf",\u{1d4b9}:"dscr",\u{1d49f}:"Dscr",\u{1d507}:"Dfr",\u2145:"DD",\u{1d53b}:"Dopf",\u010f:"dcaron",\u010e:"Dcaron",\u0111:"dstrok",\u0110:"Dstrok",\u00f0:"eth",\u00d0:"ETH",\u2147:"ee",\u212f:"escr",\u{1d522}:"efr",\u{1d556}:"eopf",\u2130:"Escr",\u{1d508}:"Efr",\u{1d53c}:"Eopf",\u00e9:"eacute",\u00c9:"Eacute",\u00e8:"egrave",\u00c8:"Egrave",\u00ea:"ecirc",\u00ca:"Ecirc",\u011b:"ecaron",\u011a:"Ecaron",\u00eb:"euml",\u00cb:"Euml",\u0117:"edot",\u0116:"Edot",\u0119:"eogon",\u0118:"Eogon",\u0113:"emacr",\u0112:"Emacr",\u{1d523}:"ffr",\u{1d557}:"fopf",\u{1d4bb}:"fscr",\u{1d509}:"Ffr",\u{1d53d}:"Fopf",\u2131:"Fscr",\ufb00:"fflig",\ufb03:"ffilig",\ufb04:"ffllig",\ufb01:"filig",fj:"fjlig",\ufb02:"fllig",\u0192:"fnof",\u210a:"gscr",\u{1d558}:"gopf",\u{1d524}:"gfr",\u{1d4a2}:"Gscr",\u{1d53e}:"Gopf",\u{1d50a}:"Gfr",\u01f5:"gacute",\u011f:"gbreve",\u011e:"Gbreve",\u011d:"gcirc",\u011c:"Gcirc",\u0121:"gdot",\u0120:"Gdot",\u0122:"Gcedil",\u{1d525}:"hfr",\u210e:"planckh",\u{1d4bd}:"hscr",\u{1d559}:"hopf",\u210b:"Hscr",\u210c:"Hfr",\u210d:"Hopf",\u0125:"hcirc",\u0124:"Hcirc",\u210f:"hbar",\u0127:"hstrok",\u0126:"Hstrok",\u{1d55a}:"iopf",\u{1d526}:"ifr",\u{1d4be}:"iscr",\u2148:"ii",\u{1d540}:"Iopf",\u2110:"Iscr",\u2111:"Im",\u00ed:"iacute",\u00cd:"Iacute",\u00ec:"igrave",\u00cc:"Igrave",\u00ee:"icirc",\u00ce:"Icirc",\u00ef:"iuml",\u00cf:"Iuml",\u0129:"itilde",\u0128:"Itilde",\u0130:"Idot",\u012f:"iogon",\u012e:"Iogon",\u012b:"imacr",\u012a:"Imacr",\u0133:"ijlig",\u0132:"IJlig",\u0131:"imath",\u{1d4bf}:"jscr",\u{1d55b}:"jopf",\u{1d527}:"jfr",\u{1d4a5}:"Jscr",\u{1d50d}:"Jfr",\u{1d541}:"Jopf",\u0135:"jcirc",\u0134:"Jcirc",\u0237:"jmath",\u{1d55c}:"kopf",\u{1d4c0}:"kscr",\u{1d528}:"kfr",\u{1d4a6}:"Kscr",\u{1d542}:"Kopf",\u{1d50e}:"Kfr",\u0137:"kcedil",\u0136:"Kcedil",\u{1d529}:"lfr",\u{1d4c1}:"lscr",\u2113:"ell",\u{1d55d}:"lopf",\u2112:"Lscr",\u{1d50f}:"Lfr",\u{1d543}:"Lopf",\u013a:"lacute",\u0139:"Lacute",\u013e:"lcaron",\u013d:"Lcaron",\u013c:"lcedil",\u013b:"Lcedil",\u0142:"lstrok",\u0141:"Lstrok",\u0140:"lmidot",\u013f:"Lmidot",\u{1d52a}:"mfr",\u{1d55e}:"mopf",\u{1d4c2}:"mscr",\u{1d510}:"Mfr",\u{1d544}:"Mopf",\u2133:"Mscr",\u{1d52b}:"nfr",\u{1d55f}:"nopf",\u{1d4c3}:"nscr",\u2115:"Nopf",\u{1d4a9}:"Nscr",\u{1d511}
1559:"Nfr",\u0144:"nacute",\u0143:"Nacute",\u0148:"ncaron",\u0147:"Ncaron",\u00f1:"ntilde",\u00d1:"Ntilde",\u0146:"ncedil",\u0145:"Ncedil","\u2116":"numero",\u014b:"eng",\u014a:"ENG",\u{1d560}:"oopf",\u{1d52c}:"ofr",\u2134:"oscr",\u{1d4aa}:"Oscr",\u{1d512}:"Ofr",\u{1d546}:"Oopf",\u00ba:"ordm",\u00f3:"oacute",\u00d3:"Oacute",\u00f2:"ograve",\u00d2:"Ograve",\u00f4:"ocirc",\u00d4:"Ocirc",\u00f6:"ouml",\u00d6:"Ouml",\u0151:"odblac",\u0150:"Odblac",\u00f5:"otilde",\u00d5:"Otilde",\u00f8:"oslash",\u00d8:"Oslash",\u014d:"omacr",\u014c:"Omacr",\u0153:"oelig",\u0152:"OElig",\u{1d52d}:"pfr",\u{1d4c5}:"pscr",\u{1d561}:"popf",\u2119:"Popf",\u{1d513}:"Pfr",\u{1d4ab}:"Pscr",\u{1d562}:"qopf",\u{1d52e}:"qfr",\u{1d4c6}:"qscr",\u{1d4ac}:"Qscr",\u{1d514}:"Qfr",\u211a:"Qopf",\u0138:"kgreen",\u{1d52f}:"rfr",\u{1d563}:"ropf",\u{1d4c7}:"rscr",\u211b:"Rscr",\u211c:"Re",\u211d:"Ropf",\u0155:"racute",\u0154:"Racute",\u0159:"rcaron",\u0158:"Rcaron",\u0157:"rcedil",\u0156:"Rcedil",\u{1d564}:"sopf",\u{1d4c8}:"sscr",\u{1d530}:"sfr",\u{1d54a}:"Sopf",\u{1d516}:"Sfr",\u{1d4ae}:"Sscr","\u24c8":"oS",\u015b:"sacute",\u015a:"Sacute",\u015d:"scirc",\u015c:"Scirc",\u0161:"scaron",\u0160:"Scaron",\u015f:"scedil",\u015e:"Scedil",\u00df:"szlig",\u{1d531}:"tfr",\u{1d4c9}:"tscr",\u{1d565}:"topf",\u{1d4af}:"Tscr",\u{1d517}:"Tfr",\u{1d54b}:"Topf",\u0165:"tcaron",\u0164:"Tcaron",\u0163:"tcedil",\u0162:"Tcedil","\u2122":"trade",\u0167:"tstrok",\u0166:"Tstrok",\u{1d4ca}:"uscr",\u{1d566}:"uopf",\u{1d532}:"ufr",\u{1d54c}:"Uopf",\u{1d518}:"Ufr",\u{1d4b0}:"Uscr",\u00fa:"uacute",\u00da:"Uacute",\u00f9:"ugrave",\u00d9:"Ugrave",\u016d:"ubreve",\u016c:"Ubreve",\u00fb:"ucirc",\u00db:"Ucirc",\u016f:"uring",\u016e:"Uring",\u00fc:"uuml",\u00dc:"Uuml",\u0171:"udblac",\u0170:"Udblac",\u0169:"utilde",\u0168:"Utilde",\u0173:"uogon",\u0172:"Uogon",\u016b:"umacr",\u016a:"Umacr",\u{1d533}:"vfr",\u{1d567}:"vopf",\u{1d4cb}:"vscr",\u{1d519}:"Vfr",\u{1d54d}:"Vopf",\u{1d4b1}:"Vscr",\u{1d568}:"wopf",\u{1d4cc}:"wscr",\u{1d534}:"wfr",\u{1d4b2}:"Wscr",\u{1d54e}:"Wopf",\u{1d51a}:"Wfr",\u0175:"wcirc",\u0174:"Wcirc",\u{1d535}:"xfr",\u{1d4cd}:"xscr",\u{1d569}:"xopf",\u{1d54f}:"Xopf",\u{1d51b}:"Xfr",\u{1d4b3}:"Xscr",\u{1d536}:"yfr",\u{1d4ce}:"yscr",\u{1d56a}:"yopf",\u{1d4b4}:"Yscr",\u{1d51c}:"Yfr",\u{1d550}:"Yopf",\u00fd:"yacute",\u00dd:"Yacute",\u0177:"ycirc",\u0176:"Ycirc",\u00ff:"yuml",\u0178:"Yuml",\u{1d4cf}:"zscr",\u{1d537}:"zfr",\u{1d56b}:"zopf",\u2128:"Zfr",\u2124:"Zopf",\u{1d4b5}:"Zscr",\u017a:"zacute",\u0179:"Zacute",\u017e:"zcaron",\u017d:"Zcaron",\u017c:"zdot",\u017b:"Zdot",\u01b5:"imped",\u00fe:"thorn",\u00de:"THORN",\u0149:"napos",\u03b1:"alpha",\u0391:"Alpha",\u03b2:"beta",\u0392:"Beta",\u03b3:"gamma",\u0393:"Gamma",\u03b4:"delta",\u0394:"Delta",\u03b5:"epsi",\u03f5:"epsiv",\u0395:"Epsilon",\u03dd:"gammad",\u03dc:"Gammad",\u03b6:"zeta",\u0396:"Zeta",\u03b7:"eta",\u0397:"Eta",\u03b8:"theta",\u03d1:"thetav",\u0398:"Theta",\u03b9:"iota",\u0399:"Iota",\u03ba:"kappa",\u03f0:"kappav",\u039a:"Kappa",\u03bb:"lambda",\u039b:"Lambda",\u03bc:"mu",\u00b5:"micro",\u039c:"Mu",\u03bd:"nu",\u039d:"Nu",\u03be:"xi",\u039e:"Xi",\u03bf:"omicron",\u039f:"Omicron",\u03c0:"pi",\u03d6:"piv",\u03a0:"Pi",\u03c1:"rho",\u03f1:"rhov",\u03a1:"Rho",\u03c3:"sigma",\u03a3:"Sigma",\u03c2:"sigmaf",\u03c4:"tau",\u03a4:"Tau",\u03c5:"upsi",\u03a5:"Upsilon",\u03d2:"Upsi",\u03c6:"phi",\u03d5:"phiv",\u03a6:"Phi",\u03c7:"chi",\u03a7:"Chi",\u03c8:"psi",\u03a8:"Psi",\u03c9:"omega",\u03a9:"ohm",\u0430:"acy",\u0410:"Acy",\u0431:"bcy",\u0411:"Bcy",\u0432:"vcy",\u0412:"Vcy",\u0433:"gcy",\u0413:"Gcy",\u0453:"gjcy",\u0403:"GJcy",\u0434:"dcy",\u0414:"Dcy",\u0452:"djcy",\u0402:"DJcy",\u0435:"iecy",\u0415:"IEcy",\u0451:"iocy",\u0401:"IOcy",\u0454:"jukcy",\u0404:"Jukcy",\u0436:"zhcy",\u0416:"ZHcy",\u0437:"zcy",\u0417:"Zcy",\u0455:"dscy",\u0405:"DScy",\u0438:"icy",\u0418:"Icy",\u0456:"iukcy",\u0406:"Iukcy",\u0457:"yicy",\u0407:"YIcy",\u0439:"jcy",\u0419:"Jcy",\u0458:"jsercy",\u0408:"Jsercy",\u043a:"kcy",\u041a:"Kcy",\u045c:"kjcy",\u040c:"KJcy",\u043b:"lcy",\u041b:"Lcy",\u0459:"ljcy",\u0409:"LJcy",\u043c:"mcy",\u041c:"Mcy",\u043d:"ncy",\u041d:"Ncy",\u045a:"njcy",\u040a:"NJcy",\u043e:"ocy",\u041e:"Ocy",\u043f:"pcy",\u041f:"Pcy",\u0440:"rcy",\u0420:"Rcy",\u0441:"scy",\u0421:"Scy",\u0442:"tcy",\u0422:"Tcy",\u045b:"tshcy",\u040b:"TSHcy",\u0443:"ucy",\u0423:"Ucy",\u045e:"ubrcy",\u040e:"Ubrcy",\u0444:"fcy",\u0424:"Fcy",\u0445:"khcy",\u0425:"KHcy",\u0446:"tscy",\u0426:"TScy",\u0447:"chcy",\u0427:"CHcy",\u045f:"dzcy",\u040f:"DZcy",\u0448:"shcy",\u0428:"SHcy",\u0449:"shchcy",\u0429:"SHCHcy",\u044a:"hardcy",\u042a:"HARDcy",\u044b:"ycy",\u042b:"Ycy",\u044c:"softcy",\u042c:"SOFTcy",\u044d:"ecy",\u042d:"Ecy",\u044e:"yucy",\u042e:"YUcy",\u044f:"yacy",\u042f:"YAcy",\u2135:"aleph",\u2136:"beth",\u2137:"gimel",\u2138:"daleth"},u=/["&'<>`]/g,d={'"':"&quot;","&":"&amp;","'":"&#x27;","<":"&lt;",">":"&gt;","`":"&#x60;"},h=/&#(?:[xX][^a-fA-F0-9]|[^0-9xX])/,m=/[\0-\x08\x0B\x0E-\x1F\x7F-\x9F\uFDD0-\uFDEF\uFFFE\uFFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7
1559F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDFFE\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,p
vendor: 16,834 bytes, line 1559
1559=/&(CounterClockwiseContourIntegral|DoubleLongLeftRightArrow|ClockwiseContourIntegral|NotNestedGreaterGreater|NotSquareSupersetEqual|DiacriticalDoubleAcute|NotRightTriangleEqual|NotSucceedsSlantEqual|NotPrecedesSlantEqual|CloseCurlyDoubleQuote|NegativeVeryThinSpace|DoubleContourIntegral|FilledVerySmallSquare|CapitalDifferentialD|OpenCurlyDoubleQuote|EmptyVerySmallSquare|NestedGreaterGreater|DoubleLongRightArrow|NotLeftTriangleEqual|NotGreaterSlantEqual|ReverseUpEquilibrium|DoubleLeftRightArrow|NotSquareSubsetEqual|NotDoubleVerticalBar|RightArrowLeftArrow|NotGreaterFullEqual|NotRightTriangleBar|SquareSupersetEqual|DownLeftRightVector|DoubleLongLeftArrow|leftrightsquigarrow|LeftArrowRightArrow|NegativeMediumSpace|blacktriangleright|RightDownVectorBar|PrecedesSlantEqual|RightDoubleBracket|SucceedsSlantEqual|NotLeftTriangleBar|RightTriangleEqual|SquareIntersection|RightDownTeeVector|ReverseEquilibrium|NegativeThickSpace|longleftrightarrow|Longleftrightarrow|LongLeftRightArrow|DownRightTeeVector|DownRightVectorBar|GreaterSlantEqual|SquareSubsetEqual|LeftDownVectorBar|LeftDoubleBracket|VerticalSeparator|rightleftharpoons|NotGreaterGreater|NotSquareSuperset|blacktriangleleft|blacktriangledown|NegativeThinSpace|LeftDownTeeVector|NotLessSlantEqual|leftrightharpoons|DoubleUpDownArrow|DoubleVerticalBar|LeftTriangleEqual|FilledSmallSquare|twoheadrightarrow|NotNestedLessLess|DownLeftTeeVector|DownLeftVectorBar|RightAngleBracket|NotTildeFullEqual|NotReverseElement|RightUpDownVector|DiacriticalTilde|NotSucceedsTilde|circlearrowright|NotPrecedesEqual|rightharpoondown|DoubleRightArrow|NotSucceedsEqual|NonBreakingSpace|NotRightTriangle|LessEqualGreater|RightUpTeeVector|LeftAngleBracket|GreaterFullEqual|DownArrowUpArrow|RightUpVectorBar|twoheadleftarrow|GreaterEqualLess|downharpoonright|RightTriangleBar|ntrianglerighteq|NotSupersetEqual|LeftUpDownVector|DiacriticalAcute|rightrightarrows|vartriangleright|UpArrowDownArrow|DiacriticalGrave|UnderParenthesis|EmptySmallSquare|LeftUpVectorBar|leftrightarrows|DownRightVector|downharpoonleft|trianglerighteq|ShortRightArrow|OverParenthesis|DoubleLeftArrow|DoubleDownArrow|NotSquareSubset|bigtriangledown|ntrianglelefteq|UpperRightArrow|curvearrowright|vartriangleleft|NotLeftTriangle|nleftrightarrow|LowerRightArrow|NotHumpDownHump|NotGreaterTilde|rightthreetimes|LeftUpTeeVector|NotGreaterEqual|straightepsilon|LeftTriangleBar|rightsquigarrow|ContourIntegral|rightleftarrows|CloseCurlyQuote|RightDownVector|LeftRightVector|nLeftrightarrow|leftharpoondown|circlearrowleft|SquareSuperset|OpenCurlyQuote|hookrightarrow|HorizontalLine|DiacriticalDot|NotLessGreater|ntriangleright|DoubleRightTee|InvisibleComma|InvisibleTimes|LowerLeftArrow|DownLeftVector|NotSubsetEqual|curvearrowleft|trianglelefteq|NotVerticalBar|TildeFullEqual|downdownarrows|NotGreaterLess|RightTeeVector|ZeroWidthSpace|looparrowright|LongRightArrow|doublebarwedge|ShortLeftArrow|ShortDownArrow|RightVectorBar|GreaterGreater|ReverseElement|rightharpoonup|LessSlantEqual|leftthreetimes|upharpoonright|rightarrowtail|LeftDownVector|Longrightarrow|NestedLessLess|UpperLeftArrow|nshortparallel|leftleftarrows|leftrightarrow|Leftrightarrow|LeftRightArrow|longrightarrow|upharpoonleft|RightArrowBar|ApplyFunction|LeftTeeVector|leftarrowtail|NotEqualTilde|varsubsetneqq|varsupsetneqq|RightTeeArrow|SucceedsEqual|SucceedsTilde|LeftVectorBar|SupersetEqual|hookleftarrow|DifferentialD|VerticalTilde|VeryThinSpace|blacktriangle|bigtriangleup|LessFullEqual|divideontimes|leftharpoonup|UpEquilibrium|ntriangleleft|RightTriangle|measuredangle|shortparallel|longleftarrow|Longleftarrow|LongLeftArrow|DoubleLeftTee|Poincareplane|PrecedesEqual|triangleright|DoubleUpArrow|RightUpVector|fallingdotseq|looparrowleft|PrecedesTilde|NotTildeEqual|NotTildeTilde|smallsetminus|Proportional|triangleleft|triangledown|UnderBracket|NotHumpEqual|exponentiale|ExponentialE|NotLessTilde|HilbertSpace|RightCeiling|blacklozenge|varsupsetneq|HumpDownHump|GreaterEqual|VerticalLine|LeftTeeArrow|NotLessEqual|DownTeeArrow|LeftTriangle|varsubsetneq|Intersection|NotCongruent|DownArrowBar|LeftUpVector|LeftArrowBar|risingdotseq|GreaterTilde|RoundImplies|SquareSubset|ShortUpArrow|NotSuperset|quaternions|precnapprox|backepsilon|preccurlyeq|OverBracket|blacksquare|MediumSpace|VerticalBar|circledcirc|circleddash|CircleMinus|CircleTimes|LessGreater|curlyeqprec|curlyeqsucc|diamondsuit|UpDownArrow|Updownarrow|RuleDelayed|Rrightarrow|updownarrow|RightVector|nRightarrow|nrightarrow|eqslantless|LeftCeiling|Equilibrium|SmallCircle|expectation|NotSucceeds|thickapprox|GreaterLess|SquareUnion|NotPrecedes|NotLessLess|straightphi|succnapprox|succcurlyeq|SubsetEqual|sqsupseteq|Proportion|Laplacetrf|ImaginaryI|supsetneqq|NotGreater|gtreqqless|NotElement|ThickSpace|TildeEqual|TildeTilde|Fouriertrf|rmoustache|EqualTilde|eqslantgtr|UnderBrace|LeftVector|UpArrowBar|nLeftarrow|nsubseteqq|subsetneqq|nsupseteqq|nleftarrow|succapprox|lessapprox|UpTeeArrow|upuparrows|curlywedge|lesseqqgtr|varepsilon|varnothing|RightFloor|complement|CirclePlus|sqsubseteq|Lleftarrow|circledast|RightArrow|Rightarrow|rightarrow|lmoustache|Bernoullis|precapprox|mapstoleft|mapstodown|longmapsto|dotsquare|downarrow|DoubleDot|nsubseteq|supsetneq|leftarrow|nsupseteq|subsetneq|ThinSpace|ngeqslant|subseteqq|HumpEqual|NotSubset|triangleq|NotCupCap|lesseqgtr|heartsuit|TripleDot|Leftarrow|Coproduct|Congruent|varpropto|complexes|gvertneqq|LeftArrow|LessTilde|supseteqq|MinusPlus|CircleDot|nleqslant|NotExists|gtreqless|nparallel|UnionPlus|LeftFloor|checkmark|CenterDot|centerdot|Mellintrf|gtrapprox|bigotimes|OverBrace|spadesuit|therefore|pitchfork|rationals|PlusMinus|Backslash|Therefore|DownBreve|backsimeq|backprime|DownArrow|nshortmid|Downarrow|lvertneqq|eqvparsl|imagline|imagpart|infintie|integers|Integral|intercal|LessLess|Uarrocir|intlarhk|sqsupset|angmsdaf|sqsubset|llcorner|vartheta|cupbrcap|lnapprox|Superset|SuchThat|succnsim|succneqq|angmsdag|biguplus|curlyvee|trpezium|Succeeds|NotTilde|bigwedge|angmsdah|angrtvbd|triminus|cwconint|fpartint|lrcorner|smeparsl|subseteq|urcorner|lurdshar|laemptyv|DDotrahd|approxeq|ldrushar|awconint|mapstoup|backcong|shortmid|triangle|geqslant|gesdotol|timesbar|circledR|circledS|setminus|multimap|naturals|scpolint|ncongdot|RightTee|boxminus|gnapprox|boxtimes|andslope|thicksim|angmsdaa|varsigma|cirfnint|rtriltri|angmsdab|rppolint|angmsdac|barwedge|drbkarow|clubsuit|thetasym|bsolhsub|capbrcup|dzigrarr|doteqdot|DotEqual|dotminus|UnderBar|NotEqual|realpart|otimesas|ulcorner|hksearow|hkswarow|parallel|PartialD|elinters|emptyset|plusacir|bbrktbrk|angmsdad|pointint|bigoplus|angmsdae|Precedes|bigsqcup|varkappa|notindot|supseteq|precneqq|precnsim|profalar|profline|profsurf|leqslant|lesdotor|raemptyv|subplus|notnivb|notnivc|subrarr|zigrarr|vzigzag|submult|subedot|Element|between|cirscir|larrbfs|larrsim|lotimes|lbrksld|lbrkslu|lozenge|ldrdhar|dbkarow|bigcirc|epsilon|simrarr|simplus|ltquest|Epsilon|luruhar|gtquest|maltese|npolint|eqcolon|npreceq|bigodot|ddagger|gtrless|bnequiv|harrcir|ddotseq|equivDD|backsim|demptyv|nsqsube|nsqsupe|Upsilon|nsubset|upsilon|minusdu|nsucceq|swarrow|nsupset|coloneq|searrow|boxplus|napprox|natural|asympeq|alefsym|congdot|nearrow|bigstar|diamond|supplus|tritime|LeftTee|nvinfin|triplus|NewLine|nvltrie|nvrtrie|nwarrow|nexists|Diamond|ruluhar|Implies|supmult|angzarr|suplarr|suphsub|questeq|because|digamma|Because|olcross|bemptyv|omicron|Omicron|rotimes|NoBreak|intprod|angrtvb|orderof|uwangle|suphsol|lesdoto|orslope|DownTee|realine|cudarrl|rdldhar|OverBar|supedot|lessdot|supdsub|topfork|succsim|rbrkslu|rbrksld|pertenk|cudarrr|isindot|planckh|lessgtr|pluscir|gesdoto|plussim|plustwo|lesssim|cularrp|rarrsim|Cayleys|notinva|notinvb|notinvc|UpArrow|Uparrow|uparrow|NotLess|dwangle|precsim|Product|curarrm|Cconint|dotplus|rarrbfs|ccupssm|Cedilla|cemptyv|notniva|quatint|frac35|frac38|frac45|frac56|frac58|frac78|tridot|xoplus|gacute|gammad|Gammad|lfisht|lfloor|bigcup|sqsupe|gbreve|Gbreve|lharul|sqsube|sqcups|Gcedil|apacir|llhard|lmidot|Lmidot|lmoust|andand|sqcaps|approx|Abreve|spades|circeq|tprime|divide|topcir|Assign|topbot|gesdot|divonx|xuplus|timesd|gesles|atilde|solbar|SOFTcy|loplus|timesb|lowast|lowbar|dlcorn|dlcrop|softcy|dollar|lparlt|thksim|lrhard|Atilde|lsaquo|smashp|bigvee|thinsp|wreath|bkarow|lsquor|lstrok|Lstrok|lthree|ltimes|ltlarr|DotDot|simdot|ltrPar|weierp|xsqcup|angmsd|sigmav|sigmaf|zeetrf|Zcaron|zcaron|mapsto|vsupne|thetav|cirmid|marker|mcomma|Zacute|vsubnE|there4|gtlPar|vsubne|bottom|gtrarr|SHCHcy|shchcy|midast|midcir|middot|minusb|minusd|gtrdot|bowtie|sfrown|mnplus|models|colone|seswar|Colone|mstpos|searhk|gtrsim|nacute|Nacute|boxbox|telrec|hairsp|Tcedil|nbumpe|scnsim|ncaron|Ncaron|ncedil|Ncedil|hamilt|Scedil|nearhk|hardcy|HARDcy|tcedil|Tcaron|commat|nequiv|nesear|tcaron|target|hearts|nexist|varrho|scedil|Scaron|scaron|hellip|Sacute|sacute|hercon|swnwar|compfn|rtimes|rthree|rsquor|rsaquo|zacute|wedgeq|homtht|barvee|barwed|Barwed|rpargt|horbar|conint|swarhk|roplus|nltrie|hslash|hstrok|Hstrok|rmoust|Conint|bprime|hybull|hyphen|iacute|Iacute|supsup|supsub|supsim|varphi|coprod|brvbar|agrave|Supset|supset|igrave|Igrave|notinE|Agrave|iiiint|iinfin|copysr|wedbar|Verbar|vangrt|becaus|incare|verbar|inodot|bullet|drcorn|intcal|drcrop|cularr|vellip|Utilde|bumpeq|cupcap|dstrok|Dstrok|CupCap|cupcup|cupdot|eacute|Eacute|supdot|iquest|easter|ecaron|Ecaron|ecolon|isinsv|utilde|itilde|Itilde|curarr|succeq|Bumpeq|cacute|ulcrop|nparsl|Cacute|nprcue|egrave|Egrave|nrarrc|nrarrw|subsup|subsub|nrtrie|jsercy|nsccue|Jsercy|kappav|kcedil|Kcedil|subsim|ulcorn|nsimeq|egsdot|veebar|kgreen|capand|elsdot|Subset|subset|curren|aacute|lacute|Lacute|emptyv|ntilde|Ntilde|lagran|lambda|Lambda|capcap|Ugrave|langle|subdot|emsp13|numero|emsp14|nvdash|nvDash|nVdash|nVDash|ugrave|ufisht|nvHarr|larrfs|nvlArr|larrhk|larrlp|larrpl|nvrArr|Udblac|nwarhk|larrtl|nwnear|oacute|Oacute|latail|lAtail|sstarf|lbrace|odblac|Odblac|lbrack|udblac|odsold|eparsl|lcaron|Lcaron|ograve|Ograve|lcedil|Lcedil|Aacute|ssmile|ssetmn|squarf|ldquor|capcup|ominus|cylcty|rharul|eqcirc|dagger|rfloor|rfisht|Dagger|daleth|equals|origof|capdot|equest|dcaron|Dcaron|rdquor|oslash|Oslash|otilde|Otilde|otimes|Otimes|urcrop|Ubreve|ubreve|Yacute|Uacute|uacute|Rcedil|rcedil|urcorn|parsim|Rcaron|Vdashl|rcaron|Tstrok|percnt|period|permil|Exists|yacute|rbrack|rbrace|phmmat|ccaron|Ccaron|planck|ccedil|plankv|tstrok|female|plusdo|plusdu|ffilig|plusmn|ffllig|Ccedil|rAtail|dfisht|bernou|ratail|Rarrtl|rarrtl|angsph|rarrpl|rarrlp|rarrhk|xwedge|xotime|forall|ForAll|Vvdash|vsupnE|preceq|bigcap|frac12|frac13|frac14|primes|rarrfs|prnsim|frac15|Square|frac16|square|lesdot|frac18|frac23|propto|prurel|rarrap|rangle|puncsp|frac25|Racute|qprime|racute|lesges|frac34|abreve|AElig|eqsim|utdot|setmn|urtri|Equal|Uring|seArr|uring|searr|dashv|Dashv|mumap|nabla|iogon|Iogon|sdote|sdotb|scsim|napid|napos|equiv|natur|Acirc|dblac|erarr|nbump|iprod|erDot|ucirc|awint|esdot|angrt|ncong|isinE|scnap|Scirc|scirc|ndash|isins|Ubrcy|nearr|neArr|isinv|nedot|ubrcy|acute|Ycirc|iukcy|Iukcy|xutri|nesim|caret|jcirc|Jcirc|caron|twixt|ddarr|sccue|exist|jmath|sbquo|ngeqq|angst|ccaps|lceil|ngsim|UpTee|delta|Delta|rtrif|nharr|nhArr|nhpar|rtrie|jukcy|Jukcy|kappa|rsquo|Kappa|nlarr|nlArr|TSHcy|rrarr|aogon|Aogon|fflig|xrarr|tshcy|ccirc|nleqq|filig|upsih|nless|dharl|nlsim|fjlig|ropar|nltri|dharr|robrk|roarr|fllig|fltns|roang|rnmid|subnE|subne|lAarr|trisb|Ccirc|acirc|ccups|blank|VDash|forkv|Vdash|langd|cedil|blk12|blk14|laquo|strns|diams|notin|vDash|larrb|blk34|block|disin|uplus|vdash|vBarv|aelig|starf|Wedge|check|xrArr|lates|lbarr|lBarr|notni|lbbrk|bcong|frasl|lbrke|frown|vrtri|vprop|vnsup|gamma|Gamma|wedge|xodot|bdquo|srarr|doteq|ldquo|boxdl|boxdL|gcirc|Gcirc|boxDl|boxDL|boxdr|boxdR|boxDr|TRADE|trade|rlhar|boxDR|vnsub|npart|vltri|rlarr|boxhd|boxhD|nprec|gescc|nrarr|nrArr|boxHd|boxHD|boxhu|boxhU|nrtri|boxHu|clubs|boxHU|times|colon|Colon|gimel|xlArr|Tilde|nsime|tilde|nsmid|nspar|THORN|thorn|xlarr|nsube|nsubE|thkap|xhArr|comma|nsucc|boxul|boxuL|nsupe|nsupE|gneqq|gnsim|boxUl|boxUL|grave|boxur|boxuR|boxUr|boxUR|lescc|angle|bepsi|boxvh|varpi|boxvH|numsp|Theta|gsime|gsiml|theta|boxVh|boxVH|boxvl|gtcir|gtdot|boxvL|boxVl|boxVL|crarr|cross|Cross|nvsim|boxvr|nwarr|nwArr|sqsup|dtdot|Uogon|lhard|lharu|dtrif|ocirc|Ocirc|lhblk|duarr|odash|sqsub|Hacek|sqcup|llarr|duhar|oelig|OElig|ofcir|boxvR|uogon|lltri|boxVr|csube|uuarr|ohbar|csupe|ctdot|olarr|olcir|harrw|oline|sqcap|omacr|Omacr|omega|Omega|boxVR|aleph|lneqq|lnsim|loang|loarr|rharu|lobrk|hcirc|operp|oplus|rhard|Hcirc|orarr|Union|order|ecirc|Ecirc|cuepr|szlig|cuesc|breve|reals|eDDot|Breve|hoarr|lopar|utrif|rdquo|Umacr|umacr|efDot|swArr|ultri|alpha|rceil|ovbar|swarr|Wcirc|wcirc|smtes|smile|bsemi|lrarr|aring|parsl|lrhar|bsime|uhblk|lrtri|cupor|Aring|uharr|uharl|slarr|rbrke|bsolb|lsime|rbbrk|RBarr|lsimg|phone|rBarr|rbarr|icirc|lsquo|Icirc|emacr|Emacr|ratio|simne|plusb|simlE|simgE|simeq|pluse|ltcir|ltdot|empty|xharr|xdtri|iexcl|Alpha|ltrie|rarrw|pound|ltrif|xcirc|bumpe|prcue|bumpE|asymp|amacr|cuvee|Sigma|sigma|iiint|udhar|iiota|ijlig|IJlig|supnE|imacr|Imacr|prime|Prime|image|prnap|eogon|Eogon|rarrc|mdash|mDDot|cuwed|imath|supne|imped|Amacr|udarr|prsim|micro|rarrb|cwint|raquo|infin|eplus|range|rangd|Ucirc|radic|minus|amalg|veeeq|rAarr|epsiv|ycirc|quest|sharp|quot|zwnj|Qscr|race|qscr|Qopf|qopf|qint|rang|Rang|Zscr|zscr|Zopf|zopf|rarr|rArr|Rarr|Pscr|pscr|prop|prod|prnE|prec|ZHcy|zhcy|prap|Zeta|zeta|Popf|popf|Zdot|plus|zdot|Yuml|yuml|phiv|YUcy|yucy|Yscr|yscr|perp|Yopf|yopf|part|para|YIcy|Ouml|rcub|yicy|YAcy|rdca|ouml|osol|Oscr|rdsh|yacy|real|oscr|xvee|andd|rect|andv|Xscr|oror|ordm|ordf|xscr|ange|aopf|Aopf|rHar|Xopf|opar|Oopf|xopf|xnis|rhov|oopf|omid|xmap|oint|apid|apos|ogon|ascr|Ascr|odot|odiv|xcup|xcap|ocir|oast|nvlt|nvle|nvgt|nvge|nvap|Wscr|wscr|auml|ntlg|ntgl|nsup|nsub|nsim|Nscr|nscr|nsce|Wopf|ring|npre|wopf|npar|Auml|Barv|bbrk|Nopf|nopf|nmid|nLtv|beta|ropf|Ropf|Beta|beth|nles|rpar|nleq|bnot|bNot|nldr|NJcy|rscr|Rscr|Vscr|vscr|rsqb|njcy|bopf|nisd|Bopf|rtri|Vopf|nGtv|ngtr|vopf|boxh|boxH|boxv|nges|ngeq|boxV|bscr|scap|Bscr|bsim|Vert|vert|bsol|bull|bump|caps|cdot|ncup|scnE|ncap|nbsp|napE|Cdot|cent|sdot|Vbar|nang|vBar|chcy|Mscr|mscr|sect|semi|CHcy|Mopf|mopf|sext|circ|cire|mldr|mlcp|cirE|comp|shcy|SHcy|vArr|varr|cong|copf|Copf|copy|COPY|malt|male|macr|lvnE|cscr|ltri|sime|ltcc|simg|Cscr|siml|csub|Uuml|lsqb|lsim|uuml|csup|Lscr|lscr|utri|smid|lpar|cups|smte|lozf|darr|Lopf|Uscr|solb|lopf|sopf|Sopf|lneq|uscr|spar|dArr|lnap|Darr|dash|Sqrt|LJcy|ljcy|lHar|dHar|Upsi|upsi|diam|lesg|djcy|DJcy|leqq|dopf|Dopf|dscr|Dscr|dscy|ldsh|ldca|squf|DScy|sscr|Sscr|dsol|lcub|late|star|Star|Uopf|Larr|lArr|larr|uopf|dtri|dzcy|sube|subE|Lang|lang|Kscr|kscr|Kopf|kopf|KJcy|kjcy|KHcy|khcy|DZcy|ecir|edot|eDot|Jscr|jscr|succ|Jopf|jopf|Edot|uHar|emsp|ensp|Iuml|iuml|eopf|isin|Iscr|iscr|Eopf|epar|sung|epsi|escr|sup1|sup2|sup3|Iota|iota|supe|supE|Iopf|iopf|IOcy|iocy|Escr|esim|Esim|imof|Uarr|QUOT|uArr|uarr|euml|IEcy|iecy|Idot|Euml|euro|excl|Hscr|hscr|Hopf|hopf|TScy|tscy|Tscr|hbar|tscr|flat|tbrk|fnof|hArr|harr|half|fopf|Fopf|tdot|gvnE|fork|trie|gtcc|fscr|Fscr|gdot|gsim|Gscr|gscr|Gopf|gopf|gneq|Gdot|tosa|gnap|Topf|topf|geqq|toea|GJcy|gjcy|tint|gesl|mid|Sfr|ggg|top|ges|gla|glE|glj|geq|gne|gEl|gel|gnE|Gcy|gcy|gap|Tfr|tfr|Tcy|tcy|Hat|Tau|Ffr|tau|Tab|hfr|Hfr|ffr|Fcy|fcy|icy|Icy|iff|ETH|eth|ifr|Ifr|Eta|eta|int|Int|Sup|sup|ucy|Ucy|Sum|sum|jcy|ENG|ufr|Ufr|eng|Jcy|jfr|els|ell|egs|Efr|efr|Jfr|uml|kcy|Kcy|Ecy|ecy|kfr|Kfr|lap|Sub|sub|lat|lcy|Lcy|leg|Dot|dot|lEg|leq|les|squ|div|die|lfr|Lfr|lgE|Dfr|dfr|Del|deg|Dcy|dcy|lne|lnE|sol|loz|smt|Cup|lrm|cup|lsh|Lsh|sim|shy|map|Map|mcy|Mcy|mfr|Mfr|mho|gfr|Gfr|sfr|cir|Chi|chi|nap|Cfr|vcy|Vcy|cfr|Scy|scy|ncy|Ncy|vee|Vee|Cap|cap|nfr|scE|sce|Nfr|nge|ngE|nGg|vfr|Vfr|ngt|bot|nGt|nis|niv|Rsh|rsh|nle|nlE|bne|Bfr|bfr|nLl|nlt|nLt|Bcy|bcy|not|Not|rlm|wfr|Wfr|npr|nsc|num|ocy|ast|Ocy|ofr|xfr|Xfr|Ofr|ogt|ohm|apE|olt|Rho|ape|rho|Rfr|rfr|ord|REG|ang|reg|orv|And|and|AMP|Rcy|amp|Afr|ycy|Ycy|yen|yfr|Yfr|rcy|par|pcy|Pcy|pfr|Pfr|phi|Phi|afr|Acy|acy|zcy|Zcy|piv|acE|acd|zfr|Zfr|pre|prE|psi|Psi|qfr|Qfr|zwj|Or|ge|Gg|gt|gg|el|oS|lt|Lt|LT|Re|lg|gl|eg|ne|Im|it|le|DD|wp|wr|nu|Nu|dd|lE|Sc|sc|pi|Pi|ee|af|ll|Ll|rx|gE|xi|pm|Xi|ic|pr|Pr|in|ni|mp|mu|ac|Mu|or|ap|Gt|GT|ii);|&(Aacute|Agrave|Atilde|Ccedil|Eacute|Egrave|Iacute|Igrave|Ntilde|Oacute|Ograve|Oslash|Otilde|Uacute|Ugrave|Yacute|aacute|agrave|atilde|brvbar|ccedil|curren|divide|eacute|egrave|frac12|frac14|frac34|iacute|igrave|iquest|middot|ntilde|oacute|ograve|oslash|otilde|plusmn|uacute|ugrave|yacute|AElig|Acirc|Aring|Ecirc|Icirc|Ocirc|THORN|Ucirc|acirc|acute|aelig|aring|cedil|ecirc|icirc|iexcl|laquo|micro|ocirc|pound|raquo|szlig|thorn|times|ucirc|Auml|COPY|Euml|Iuml|Ouml|QUOT|Uuml|auml|cent|copy|euml|iuml|macr|nbsp|ordf|ordm|ouml|para|quot|sect|sup1|sup2|sup3|uuml|yuml|AMP|ETH|REG|amp|deg|eth|not|reg|shy|uml|yen|GT|LT|gt|lt)(?!;)([=a-zA-Z0-9]?)|&#([0-9]+)(;?)|&#[xX]([a-fA-F0-9]+)(;?)|&([0-9a-zA-Z]+)/g,
1559f={aacute:"\xe1",Aacute:"\xc1",abreve:"\u0103",Abreve:"\u0102",ac:"\u223e",acd:"\u223f",acE:"\u223e\u0333",acirc:"\xe2",Acirc:"\xc2",acute:"\xb4",acy:"\u0430",Acy:"\u0410",aelig:"\xe6",AElig:"\xc6",af:"\u2061",afr:"\u{1d51e}",Afr:"\u{1d504}",agrave:"\xe0",Agrave:"\xc0",alefsym:"\u2135",aleph:"\u2135",alpha:"\u03b1",Alpha:"\u0391",amacr:"\u0101",Amacr:"\u0100",amalg:"\u2a3f",amp:"&",AMP:"&",and:"\u2227",And:"\u2a53",andand:"\u2a55",andd:"\u2a5c",andslope:"\u2a58",andv:"\u2a5a",ang:"\u2220",ange:"\u29a4",angle:"\u2220",angmsd:"\u2221",angmsdaa:"\u29a8",angmsdab:"\u29a9",angmsdac:"\u29aa",angmsdad:"\u29ab",angmsdae:"\u29ac",angmsdaf:"\u29ad",angmsdag:"\u29ae",angmsdah:"\u29af",angrt:"\u221f",angrtvb:"\u22be",angrtvbd:"\u299d",angsph:"\u2222",angst:"\xc5",angzarr:"\u237c",aogon:"\u0105",Aogon:"\u0104",aopf:"\u{1d552}",Aopf:"\u{1d538}",ap:"\u2248",apacir:"\u2a6f",ape:"\u224a",apE:"\u2a70",apid:"\u224b",apos:"'",ApplyFunction:"\u2061",approx:"\u2248",approxeq:"\u224a",aring:"\xe5",Aring:"\xc5",ascr:"\u{1d4b6}",Ascr:"\u{1d49c}",Assign:"\u2254",ast:"*",asymp:"\u2248",asympeq:"\u224d",atilde:"\xe3",Atilde:"\xc3",auml:"\xe4",Auml:"\xc4",awconint:"\u2233",awint:"\u2a11",backcong:"\u224c",backepsilon:"\u03f6",backprime:"\u2035",backsim:"\u223d",backsimeq:"\u22cd",Backslash:"\u2216",Barv:"\u2ae7",barvee:"\u22bd",barwed:"\u2305",Barwed:"\u2306",barwedge:"\u2305",bbrk:"\u23b5",bbrktbrk:"\u23b6",bcong:"\u224c",bcy:"\u0431",Bcy:"\u0411",bdquo:"\u201e",becaus:"\u2235",because:"\u2235",Because:"\u2235",bemptyv:"\u29b0",bepsi:"\u03f6",bernou:"\u212c",Bernoullis:"\u212c",beta:"\u03b2",Beta:"\u0392",beth:"\u2136",between:"\u226c",bfr:"\u{1d51f}",Bfr:"\u{1d505}",bigcap:"\u22c2",bigcirc:"\u25ef",bigcup:"\u22c3",bigodot:"\u2a00",bigoplus:"\u2a01",bigotimes:"\u2a02",bigsqcup:"\u2a06",bigstar:"\u2605",bigtriangledown:"\u25bd",bigtriangleup:"\u25b3",biguplus:"\u2a04",bigvee:"\u22c1",bigwedge:"\u22c0",bkarow:"\u290d",blacklozenge:"\u29eb",blacksquare:"\u25aa",blacktriangle:"\u25b4",blacktriangledown:"\u25be",blacktriangleleft:"\u25c2",blacktriangleright:"\u25b8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20e5",bnequiv:"\u2261\u20e5",bnot:"\u2310",bNot:"\u2aed",bopf:"\u{1d553}",Bopf:"\u{1d539}",bot:"\u22a5",bottom:"\u22a5",bowtie:"\u22c8",boxbox:"\u29c9",boxdl:"\u2510",boxdL:"\u2555",boxDl:"\u2556",boxDL:"\u2557",boxdr:"\u250c",boxdR:"\u2552",boxDr:"\u2553",boxDR:"\u2554",boxh:"\u2500",boxH:"\u2550",boxhd:"\u252c",boxhD:"\u2565",boxHd:"\u2564",boxHD:"\u2566",boxhu:"\u2534",boxhU:"\u2568",boxHu:"\u2567",boxHU:"\u2569",boxminus:"\u229f",boxplus:"\u229e",boxtimes:"\u22a0",boxul:"\u2518",boxuL:"\u255b",boxUl:"\u255c",boxUL:"\u255d",boxur:"\u2514",boxuR:"\u2558",boxUr:"\u2559",boxUR:"\u255a",boxv:"\u2502",boxV:"\u2551",boxvh:"\u253c",boxvH:"\u256a",boxVh:"\u256b",boxVH:"\u256c",boxvl:"\u2524",boxvL:"\u2561",boxVl:"\u2562",boxVL:"\u2563",boxvr:"\u251c",boxvR:"\u255e",boxVr:"\u255f",boxVR:"\u2560",bprime:"\u2035",breve:"\u02d8",Breve:"\u02d8",brvbar:"\xa6",bscr:"\u{1d4b7}",Bscr:"\u212c",bsemi:"\u204f",bsim:"\u223d",bsime:"\u22cd",bsol:"\\",bsolb:"\u29c5",bsolhsub:"\u27c8",bull:"\u2022",bullet:"\u2022",bump:"\u224e",bumpe:"\u224f",bumpE:"\u2aae",bumpeq:"\u224f",Bumpeq:"\u224e",cacute:"\u0107",Cacute:"\u0106",cap:"\u2229",Cap:"\u22d2",capand:"\u2a44",capbrcup:"\u2a49",capcap:"\u2a4b",capcup:"\u2a47",capdot:"\u2a40",CapitalDifferentialD:"\u2145",caps:"\u2229\ufe00",caret:"\u2041",caron:"\u02c7",Cayleys:"\u212d",ccaps:"\u2a4d",ccaron:"\u010d",Ccaron:"\u010c",ccedil:"\xe7",Ccedil:"\xc7",ccirc:"\u0109",Ccirc:"\u0108",Cconint:"\u2230",ccups:"\u2a4c",ccupssm:"\u2a50",cdot:"\u010b",Cdot:"\u010a",cedil:"\xb8",Cedilla:"\xb8",cemptyv:"\u29b2",cent:"\xa2",centerdot:"\xb7",CenterDot:"\xb7",cfr:"\u{1d520}",Cfr:"\u212d",chcy:"\u0447",CHcy:"\u0427",check:"\u2713",checkmark:"\u2713",chi:"\u03c7",Chi:"\u03a7",cir:"\u25cb",circ:"\u02c6",circeq:"\u2257",circlearrowleft:"\u21ba",circlearrowright:"\u21bb",circledast:"\u229b",circledcirc:"\u229a",circleddash:"\u229d",CircleDot:"\u2299",circledR:"\xae",circledS:"\u24c8",CircleMinus:"\u2296",CirclePlus:"\u2295",CircleTimes:"\u2297",cire:"\u2257",cirE:"\u29c3",cirfnint:"\u2a10",cirmid:"\u2aef",cirscir:"\u29c2",ClockwiseContourIntegral:"\u2232",CloseCurlyDoubleQuote:"\u201d",CloseCurlyQuote:"\u2019",clubs:"\u2663",clubsuit:"\u2663",colon:":",Colon:"\u2237",colone:"\u2254",Colone:"\u2a74",coloneq:"\u2254",comma:",",commat:"@",comp:"\u2201",compfn:"\u2218",complement:"\u2201",complexes:"\u2102",cong:"\u2245",congdot:"\u2a6d",Congruent:"\u2261",conint:"\u222e",Conint:"\u222f",ContourIntegral:"\u222e",copf:"\u{1d554}",Copf:"\u2102",coprod:"\u2210",Coproduct:"\u2210",copy:"\xa9",COPY:"\xa9",copysr:"\u2117",CounterClockwiseContourIntegral:"\u2233",crarr:"\u21b5",cross:"\u2717",Cross:"\u2a2f",cscr:"\u{1d4b8}",Cscr:"\u{1d49e}",csub:"\u2acf",csube:"\u2ad1",csup:"\u2ad0",csupe:"\u2ad2",ctdot:"\u22ef",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22de",cuesc:"\u22df",cularr:"\u21b6",cularrp:"\u293d",cup:"\u222a",Cup:"\u22d3",cupbrcap:"\u2a48",cupcap:"\u2a46",CupCap:"\u224d",cupcup:"\u2a4a",cupdot:"\u228d",cupor:"\u2a45",cups:"\u222a\ufe00",curarr:"\u21b7",curarrm:"\u293c",curlyeqprec:"\u22de",curlyeqsucc:"\u22df",curlyvee:"\u22ce",curlywedge:"\u22cf",curren:"\xa4",curvearrowleft:"\u21b6",curvearrowright:"\u21b7",cuvee:"\u22ce",cuwed:"\u22cf",cwconint:"\u2232",cwint:"\u2231",cylcty:"\u232d",dagger:"\u2020",Dagger:"\u2021",daleth:"\u2138",darr:"\u2193",dArr:"\u21d3",Darr:"\u21a1",dash:"\u2010",dashv:"\u22a3",Dashv:"\u2ae4",dbkarow:"\u290f",dblac:"\u02dd",dcaron:"\u010f",Dcaron:"\u010e",dcy:"\u0434",Dcy:"\u0414",dd:"\u2146",DD:"\u2145",ddagger:"\u2021",ddarr:"\u21ca",DDotrahd:"\u2911",ddotseq:"\u2a77",deg:"\xb0",Del:"\u2207",delta:"\u03b4",Delta:"\u0394",demptyv:"\u29b1",dfisht:"\u297f",dfr:"\u{1d521}",Dfr:"\u{1d507}",dHar:"\u2965",dharl:"\u21c3",dharr:"\u21c2",DiacriticalAcute:"\xb4",DiacriticalDot:"\u02d9",DiacriticalDoubleAcute:"\u02dd",DiacriticalGrave:"`",DiacriticalTilde:"\u02dc",diam:"\u22c4",diamond:"\u22c4",Diamond:"\u22c4",diamondsuit:"\u2666",diams:"\u2666",die:"\xa8",DifferentialD:"\u2146",digamma:"\u03dd",disin:"\u22f2",div:"\xf7",divide:"\xf7",divideontimes:"\u22c7",divonx:"\u22c7",djcy:"\u0452",DJcy:"\u0402",dlcorn:"\u231e",dlcrop:"\u230d",dollar:"$",dopf:"\u{1d555}",Dopf:"\u{1d53b}",dot:"\u02d9",Dot:"\xa8",DotDot:"\u20dc",doteq:"\u2250",doteqdot:"\u2251",DotEqual:"\u2250",dotminus:"\u2238",dotplus:"\u2214",dotsquare:"\u22a1",doublebarwedge:"\u2306",DoubleContourIntegral:"\u222f",DoubleDot:"\xa8",DoubleDownArrow:"\u21d3",DoubleLeftArrow:"\u21d0",DoubleLeftRightArrow:"\u21d4",DoubleLeftTee:"\u2ae4",DoubleLongLeftArrow:"\u27f8",DoubleLongLeftRightArrow:"\u27fa",DoubleLongRightArrow:"\u27f9",DoubleRightArrow:"\u21d2",DoubleRightTee:"\u22a8",DoubleUpArrow:"\u21d1",DoubleUpDownArrow:"\u21d5",DoubleVerticalBar:"\u2225",downarrow:"\u2193",Downarrow:"\u21d3",DownArrow:"\u2193",DownArrowBar:"\u2913",DownArrowUpArrow:"\u21f5",DownBreve:"\u0311",downdownarrows:"\u21ca",downharpoonleft:"\u21c3",downharpoonright:"\u21c2",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295e",DownLeftVector:"\u21bd",DownLeftVectorBar:"\u2956",DownRightTeeVector:"\u295f",DownRightVector:"\u21c1",DownRightVectorBar:"\u2957",DownTee:"\u22a4",DownTeeArrow:"\u21a7",drbkarow:"\u2910",drcorn:"\u231f",drcrop:"\u230c",dscr:"\u{1d4b9}",Dscr:"\u{1d49f}",dscy:"\u0455",DScy:"\u0405",dsol:"\u29f6",dstrok:"\u0111",Dstrok:"\u0110",dtdot:"\u22f1",dtri:"\u25bf",dtrif:"\u25be",duarr:"\u21f5",duhar:"\u296f",dwangle:"\u29a6",dzcy:"\u045f",DZcy:"\u040f",dzigrarr:"\u27ff",eacute:"\xe9",Eacute:"\xc9",easter:"\u2a6e",ecaron:"\u011b",Ecaron:"\u011a",ecir:"\u2256",ecirc:"\xea",Ecirc:"\xca",ecolon:"\u2255",ecy:"\u044d",Ecy:"\u042d",eDDot:"\u2a77",edot:"\u0117",eDot:"\u2251",Edot:"\u0116",ee:"\u2147",efDot:"\u2252",efr:"\u{1d522}",Efr:"\u{1d508}",eg:"\u2a9a",egrave:"\xe8",Egrave:"\xc8",egs:"\u2a96",egsdot:"\u2a98",el:"\u2a99",Element:"\u2208",elinters:"\u23e7",ell:"\u2113",els:"\u2a95",elsdot:"\u2a97",emacr:"\u0113",Emacr:"\u0112",empty:"\u2205",emptyset:"\u2205",EmptySmallSquare:"\u25fb",emptyv:"\u2205",EmptyVerySmallSquare:"\u25ab",emsp:"\u2003",emsp13:"\u2004",emsp14:"\u2005",eng:"\u014b",ENG:"\u014a",ensp:"\u2002",eogon:"\u0119",Eogon:"\u0118",eopf:"\u{1d556}",Eopf:"\u{1d53c}",epar:"\u22d5",eparsl:"\u29e3",eplus:"\u2a71",epsi:"\u03b5",epsilon:"\u03b5",Epsilon:"\u0395",epsiv:"\u03f5",eqcirc:"\u2256",eqcolon:"\u2255",eqsim:"\u2242",eqslantgtr:"\u2a96",eqslantless:"\u2a95",Equal:"\u2a75",equals:"=",EqualTilde:"\u2242",equest:"\u225f",Equilibrium:"\u21cc",equiv:"\u2261",equivDD:"\u2a78",eqvparsl:"\u29e5",erarr:"\u2971",erDot:"\u2253",escr:"\u212f",Escr:"\u2130",esdot:"\u2250",esim:"\u2242",Esim:"\u2a73",eta:"\u03b7",Eta:"\u0397",eth:"\xf0",ETH:"\xd0",euml:"\xeb",Euml:"\xcb",euro:"\u20ac",excl:"!",exist:"\u2203",Exists:"\u2203",expectation:"\u2130",exponentiale:"\u2147",ExponentialE:"\u2147",fallingdotseq:"\u2252",fcy:"\u0444",Fcy:"\u0424",female:"\u2640",ffilig:"\ufb03",fflig:"\ufb00",ffllig:"\ufb04",ffr:"\u{1d523}",Ffr:"\u{1d509}",filig:"\ufb01",FilledSmallSquare:"\u25fc",FilledVerySmallSquare:"\u25aa",fjlig:"fj",flat:"\u266d",fllig:"\ufb02",fltns:"\u25b1",fnof:"\u0192",fopf:"\u{1d557}",Fopf:"\u{1d53d}",forall:"\u2200",ForAll:"\u2200",fork:"\u22d4",forkv:"\u2ad9",Fouriertrf:"\u2131",fpartint:"\u2a0d",frac12:"\xbd",frac13:"\u2153",frac14:"\xbc",frac15:"\u2155",frac16:"\u2159",frac18:"\u215b",frac23:"\u2154",frac25:"\u2156",frac34:"\xbe",frac35:"\u2157",frac38:"\u215c",frac45:"\u2158",frac56:"\u215a",frac58:"\u215d",frac78:"\u215e",frasl:"\u2044",frown:"\u2322",fscr:"\u{1d4bb}",Fscr:"\u2131",gacute:"\u01f5",gamma:"\u03b3",Gamma:"\u0393",gammad:"\u03dd",Gammad:"\u03dc",gap:"\u2a86",gbreve:"\u011f",Gbreve:"\u011e",Gcedil:"\u0122",gcirc:"\u011d",Gcirc:"\u011c",gcy:"\u0433",Gcy:"\u0413",gdot:"\u0121",Gdot:"\u0120",ge:"\u2265",gE:"\u2267",gel:"\u22db",gEl:"\u2a8c",geq:"\u2265",geqq:"\u2267",geqslant:"\u2a7e",ges:"\u2a7e",gescc:"\u2aa9",gesdot:"\u2a80",gesdoto:"\u2a82",gesdotol:"\u2a84",gesl:"\u22db\ufe00",gesles:"\u2a94",gfr:"\u{1d524}",Gfr:"\u{1d50a}",gg:"\u226b",Gg:"\u22d9",ggg:"\u22d9",gimel:"\u2137",gjcy:"\u0453",GJcy:"\u0403",gl:"\u2277",gla:"\u2aa5",glE:"\u2a92",glj:"\u2aa4",gnap:"\u2a8a",gnapprox:"\u2a8a",gne:"\u2a88",gnE:"\u2269",gneq:"\u2a88",gneqq:"\u2269",gnsim:"\u22e7",gopf:"\u{1d558}",Gopf:"\u{1d53e}",grave:"`",GreaterEqual:"\u2265",GreaterEqualLess:"\u22db",GreaterFullEqual:"\u2267",GreaterGreater:"\u2aa2",GreaterLess:"\u2277",GreaterSlantEqual:"\u2a7e",GreaterTilde:"\u2273",gscr:"\u210a",Gscr:"\u{1d4a2}",gsim:"\u2273",gsime:"\u2a8e",gsiml:"\u2a90",gt:">",Gt:"\u226b",GT:">",gtcc:"\u2aa7",gtcir:"\u2a7a",gtdot:"\u22d7",gtlPar:"\u2995",gtquest:"\u2a7c",gtrapprox:"\u2a86",gtrarr:"\u2978",gtrdot:"\u22d7",gtreqless:"\u22db",gtreqqless:"\u2a8c",gtrless:"\u2277",gtrsim:"\u2273",gvertneqq:"\u2269\ufe00",gvnE:"\u2269\ufe00",Hacek:"\u02c7",hairsp:"\u200a",half:"\xbd",hamilt:"\u210b",hardcy:"\u044a",HARDcy:"\u042a",harr:"\u2194",hArr:"\u21d4",harrcir:"\u2948",harrw:"\u21ad",Hat:"^",hbar:"\u210f",hcirc:"\u0125",Hcirc:"\u0124",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",hercon:"\u22b9",hfr:"\u{1d525}",Hfr:"\u210c",HilbertSpace:"\u210b",hksearow:"\u2925",hkswarow:"\u2926",hoarr:"\u21ff",homtht:"\u223b",hookleftarrow:"\u21a9",hookrightarrow:"\u21aa",hopf:"\u{1d559}",Hopf:"\u210d",horbar:"\u2015",HorizontalLine:"\u2500",hscr:"\u{1d4bd}",Hscr:"\u210b",hslash:"\u210f",hstrok:"\u0127",Hstrok:"\u0126",HumpDownHump:"\u224e",HumpEqual:"\u224f",hybull:"\u2043",hy
1559phen:"\u2010",iacute:"\xed",Iacute:"\xcd",ic:"\u2063",icirc:"\xee",Icirc:"\xce",icy:"\u0438",Icy:"\u0418",Idot:"\u0130",iecy:"\u0435",IEcy:"\u0415",iexcl:"\xa1",iff:"\u21d4",ifr:"\u{1d526}",Ifr:"\u2111",igrave:"\xec",Igrave:"\xcc",ii:"\u2148",iiiint:"\u2a0c",iiint:"\u222d",iinfin:"\u29dc",iiota:"\u2129",ijlig:"\u0133",IJlig:"\u0132",Im:"\u2111",imacr:"\u012b",Imacr:"\u012a",image:"\u2111",ImaginaryI:"\u2148",imagline:"\u2110",imagpart:"\u2111",imath:"\u0131",imof:"\u22b7",imped:"\u01b5",Implies:"\u21d2",in:"\u2208",incare:"\u2105",infin:"\u221e",infintie:"\u29dd",inodot:"\u0131",int:"\u222b",Int:"\u222c",intcal:"\u22ba",integers:"\u2124",Integral:"\u222b",intercal:"\u22ba",Intersection:"\u22c2",intlarhk:"\u2a17",intprod:"\u2a3c",InvisibleComma:"\u2063",InvisibleTimes:"\u2062",iocy:"\u0451",IOcy:"\u0401",iogon:"\u012f",Iogon:"\u012e",iopf:"\u{1d55a}",Iopf:"\u{1d540}",iota:"\u03b9",Iota:"\u0399",iprod:"\u2a3c",iquest:"\xbf",iscr:"\u{1d4be}",Iscr:"\u2110",isin:"\u2208",isindot:"\u22f5",isinE:"\u22f9",isins:"\u22f4",isinsv:"\u22f3",isinv:"\u2208",it:"\u2062",itilde:"\u0129",Itilde:"\u0128",iukcy:"\u0456",Iukcy:"\u0406",iuml:"\xef",Iuml:"\xcf",jcirc:"\u0135",Jcirc:"\u0134",jcy:"\u0439",Jcy:"\u0419",jfr:"\u{1d527}",Jfr:"\u{1d50d}",jmath:"\u0237",jopf:"\u{1d55b}",Jopf:"\u{1d541}",jscr:"\u{1d4bf}",Jscr:"\u{1d4a5}",jsercy:"\u0458",Jsercy:"\u0408",jukcy:"\u0454",Jukcy:"\u0404",kappa:"\u03ba",Kappa:"\u039a",kappav:"\u03f0",kcedil:"\u0137",Kcedil:"\u0136",kcy:"\u043a",Kcy:"\u041a",kfr:"\u{1d528}",Kfr:"\u{1d50e}",kgreen:"\u0138",khcy:"\u0445",KHcy:"\u0425",kjcy:"\u045c",KJcy:"\u040c",kopf:"\u{1d55c}",Kopf:"\u{1d542}",kscr:"\u{1d4c0}",Kscr:"\u{1d4a6}",lAarr:"\u21da",lacute:"\u013a",Lacute:"\u0139",laemptyv:"\u29b4",lagran:"\u2112",lambda:"\u03bb",Lambda:"\u039b",lang:"\u27e8",Lang:"\u27ea",langd:"\u2991",langle:"\u27e8",lap:"\u2a85",Laplacetrf:"\u2112",laquo:"\xab",larr:"\u2190",lArr:"\u21d0",Larr:"\u219e",larrb:"\u21e4",larrbfs:"\u291f",larrfs:"\u291d",larrhk:"\u21a9",larrlp:"\u21ab",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21a2",lat:"\u2aab",latail:"\u2919",lAtail:"\u291b",late:"\u2aad",lates:"\u2aad\ufe00",lbarr:"\u290c",lBarr:"\u290e",lbbrk:"\u2772",lbrace:"{",lbrack:"[",lbrke:"\u298b",lbrksld:"\u298f",lbrkslu:"\u298d",lcaron:"\u013e",Lcaron:"\u013d",lcedil:"\u013c",Lcedil:"\u013b",lceil:"\u2308",lcub:"{",lcy:"\u043b",Lcy:"\u041b",ldca:"\u2936",ldquo:"\u201c",ldquor:"\u201e",ldrdhar:"\u2967",ldrushar:"\u294b",ldsh:"\u21b2",le:"\u2264",lE:"\u2266",LeftAngleBracket:"\u27e8",leftarrow:"\u2190",Leftarrow:"\u21d0",LeftArrow:"\u2190",LeftArrowBar:"\u21e4",LeftArrowRightArrow:"\u21c6",leftarrowtail:"\u21a2",LeftCeiling:"\u2308",LeftDoubleBracket:"\u27e6",LeftDownTeeVector:"\u2961",LeftDownVector:"\u21c3",LeftDownVectorBar:"\u2959",LeftFloor:"\u230a",leftharpoondown:"\u21bd",leftharpoonup:"\u21bc",leftleftarrows:"\u21c7",leftrightarrow:"\u2194",Leftrightarrow:"\u21d4",LeftRightArrow:"\u2194",leftrightarrows:"\u21c6",leftrightharpoons:"\u21cb",leftrightsquigarrow:"\u21ad",LeftRightVector:"\u294e",LeftTee:"\u22a3",LeftTeeArrow:"\u21a4",LeftTeeVector:"\u295a",leftthreetimes:"\u22cb",LeftTriangle:"\u22b2",LeftTriangleBar:"\u29cf",LeftTriangleEqual:"\u22b4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVector:"\u21bf",LeftUpVectorBar:"\u2958",LeftVector:"\u21bc",LeftVectorBar:"\u2952",leg:"\u22da",lEg:"\u2a8b",leq:"\u2264",leqq:"\u2266",leqslant:"\u2a7d",les:"\u2a7d",lescc:"\u2aa8",lesdot:"\u2a7f",lesdoto:"\u2a81",lesdotor:"\u2a83",lesg:"\u22da\ufe00",lesges:"\u2a93",lessapprox:"\u2a85",lessdot:"\u22d6",lesseqgtr:"\u22da",lesseqqgtr:"\u2a8b",LessEqualGreater:"\u22da",LessFullEqual:"\u2266",LessGreater:"\u2276",lessgtr:"\u2276",LessLess:"\u2aa1",lesssim:"\u2272",LessSlantEqual:"\u2a7d",LessTilde:"\u2272",lfisht:"\u297c",lfloor:"\u230a",lfr:"\u{1d529}",Lfr:"\u{1d50f}",lg:"\u2276",lgE:"\u2a91",lHar:"\u2962",lhard:"\u21bd",lharu:"\u21bc",lharul:"\u296a",lhblk:"\u2584",ljcy:"\u0459",LJcy:"\u0409",ll:"\u226a",Ll:"\u22d8",llarr:"\u21c7",llc
1559orner:"\u231e",Lleftarrow:"\u21da",llhard:"\u296b",lltri:"\u25fa",lmidot:"\u0140",Lmidot:"\u013f",lmoust:"\u23b0",lmoustache:"\u23b0",lnap:"\u2a89",lnapprox:"\u2a89",lne:"\u2a87",lnE:"\u2268",lneq:"\u2a87",lneqq:"\u2268",lnsim:"\u22e6",loang:"\u27ec",loarr:"\u21fd",lobrk:"\u27e6",longleftarrow:"\u27f5",Longleftarrow:"\u27f8",LongLeftArrow:"\u27f5",longleftrightarrow:"\u27f7",Longleftrightarrow:"\u27fa",LongLeftRightArrow:"\u27f7",longmapsto:"\u27fc",longrightarrow:"\u27f6",Longrightarrow:"\u27f9",LongRightArrow:"\u27f6",looparrowleft:"\u21ab",looparrowright:"\u21ac",lopar:"\u2985",lopf:"\u{1d55d}",Lopf:"\u{1d543}",loplus:"\u2a2d",lotimes:"\u2a34",lowast:"\u2217",lowbar:"_",LowerLeftArrow:"\u2199",LowerRightArrow:"\u2198",loz:"\u25ca",lozenge:"\u25ca",lozf:"\u29eb",lpar:"(",lparlt:"\u2993",lrarr:"\u21c6",lrcorner:"\u231f",lrhar:"\u21cb",lrhard:"\u296d",lrm:"\u200e",lrtri:"\u22bf",lsaquo:"\u2039",lscr:"\u{1d4c1}",Lscr:"\u2112",lsh:"\u21b0",Lsh:"\u21b0",lsim:"\u2272",lsime:"\u2a8d",lsimg:"\u2a8f",lsqb:"[",lsquo:"\u2018",lsquor:"\u201a",lstrok:"\u0142",Lstrok:"\u0141",lt:"<",Lt:"\u226a",LT:"<",ltcc:"\u2aa6",ltcir:"\u2a79",ltdot:"\u22d6",lthree:"\u22cb",ltimes:"\u22c9",ltlarr:"\u2976",ltquest:"\u2a7b",ltri:"\u25c3",ltrie:"\u22b4",ltrif:"\u25c2",ltrPar:"\u2996",lurdshar:"\u294a",luruhar:"\u2966",lvertneqq:"\u2268\ufe00",lvnE:"\u2268\ufe00",macr:"\xaf",male:"\u2642",malt:"\u2720",maltese:"\u2720",map:"\u21a6",Map:"\u2905",mapsto:"\u21a6",mapstodown:"\u21a7",mapstoleft:"\u21a4",mapstoup:"\u21a5",marker:"\u25ae",mcomma:"\u2a29",mcy:"\u043c",Mcy:"\u041c",mdash:"\u2014",mDDot:"\u223a",measuredangle:"\u2221",MediumSpace:"\u205f",Mellintrf:"\u2133",mfr:"\u{1d52a}",Mfr:"\u{1d510}",mho:"\u2127",micro:"\xb5",mid:"\u2223",midast:"*",midcir:"\u2af0",middot:"\xb7",minus:"\u2212",minusb:"\u229f",minusd:"\u2238",minusdu:"\u2a2a",MinusPlus:"\u2213",mlcp:"\u2adb",mldr:"\u2026",mnplus:"\u2213",models:"\u22a7",mopf:"\u{1d55e}",Mopf:"\u{1d544}",mp:"\u2213",mscr:"\u{1d4c2}",Mscr:"\u2133",mstpos:"\u223e",mu:"\u03bc",Mu:"\u039c",multimap:"\u22b8",mumap:"\u22b8",nabla:"\u2207",nacute:"\u0144",Nacute:"\u0143",nang:"\u2220\u20d2",nap:"\u2249",napE:"\u2a70\u0338",napid:"\u224b\u0338",napos:"\u0149",napprox:"\u2249",natur:"\u266e",natural:"\u266e",naturals:"\u2115",nbsp:"\xa0",nbump:"\u224e\u0338",nbumpe:"\u224f\u0338",ncap:"\u2a43",ncaron:"\u0148",Ncaron:"\u0147",ncedil:"\u0146",Ncedil:"\u0145",ncong:"\u2247",ncongdot:"\u2a6d\u0338",ncup:"\u2a42",ncy:"\u043d",Ncy:"\u041d",ndash:"\u2013",ne:"\u2260",nearhk:"\u2924",nearr:"\u2197",neArr:"\u21d7",nearrow:"\u2197",nedot:"\u2250\u0338",NegativeMediumSpace:"\u200b",NegativeThickSpace:"\u200b",NegativeThinSpace:"\u200b",NegativeVeryThinSpace:"\u200b",nequiv:"\u2262",nesear:"\u2928",nesim:"\u2242\u0338",NestedGreaterGreater:"\u226b",NestedLessLess:"\u226a",NewLine:"\n",nexist:"\u2204",nexists:"\u2204",nfr:"\u{1d52b}",Nfr:"\u{1d511}",nge:"\u2271",ngE:"\u2267\u0338",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2a7e\u0338",nges:"\u2a7e\u0338",nGg:"\u22d9\u0338",ngsim:"\u2275",ngt:"\u226f",nGt:"\u226b\u20d2",ngtr:"\u226f",nGtv:"\u226b\u0338",nharr:"\u21ae",nhArr:"\u21ce",nhpar:"\u2af2",ni:"\u220b",nis:"\u22fc",nisd:"\u22fa",niv:"\u220b",njcy:"\u045a",NJcy:"\u040a",nlarr:"\u219a",nlArr:"\u21cd",nldr:"\u2025",nle:"\u2270",nlE:"\u2266\u0338",nleftarrow:"\u219a",nLeftarrow:"\u21cd",nleftrightarrow:"\u21ae",nLeftrightarrow:"\u21ce",nleq:"\u2270",nleqq:"\u2266\u0338",nleqslant:"\u2a7d\u0338",nles:"\u2a7d\u0338",nless:"\u226e",nLl:"\u22d8\u0338",nlsim:"\u2274",nlt:"\u226e",nLt:"\u226a\u20d2",nltri:"\u22ea",nltrie:"\u22ec",nLtv:"\u226a\u0338",nmid:"\u2224",NoBreak:"\u2060",NonBreakingSpace:"\xa0",nopf:"\u{1d55f}",Nopf:"\u2115",not:"\xac",Not:"\u2aec",NotCongruent:"\u2262",NotCupCap:"\u226d",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotEqualTilde:"\u2242\u0338",NotExists:"\u2204",NotGreater:"\u226f",NotGreaterEqual:"\u2271",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226b\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2a7e\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224e\u0338",NotHumpEqual:"\u224f\u0338",notin:"\u2209",notindot:"\u22f5\u0338",notinE:"\u22f9\u0338",notinva:"\u2209",notinvb:"\u22f7",notinvc:"\u22f6",NotLeftTriangle:"\u22ea",NotLeftTriangleBar:"\u29cf\u
15590338",NotLeftTriangleEqual:"\u22ec",NotLess:"\u226e",NotLessEqual:"\u2270",NotLessGreater:"\u2278",NotLessLess:"\u226a\u0338",NotLessSlantEqual:"\u2a7d\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2aa2\u0338",NotNestedLessLess:"\u2aa1\u0338",notni:"\u220c",notniva:"\u220c",notnivb:"\u22fe",notnivc:"\u22fd",NotPrecedes:"\u2280",NotPrecedesEqual:"\u2aaf\u0338",NotPrecedesSlantEqual:"\u22e0",NotReverseElement:"\u220c",NotRightTriangle:"\u22eb",NotRightTriangleBar:"\u29d0\u0338",NotRightTriangleEqual:"\u22ed",NotSquareSubset:"\u228f\u0338",NotSquareSubsetEqual:"\u22e2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22e3",NotSubset:"\u2282\u20d2",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsEqual:"\u2ab0\u0338",NotSucceedsSlantEqual:"\u22e1",NotSucceedsTilde:"\u227f\u0338",NotSuperset:"\u2283\u20d2",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",NotVerticalBar:"\u2224",npar:"\u2226",nparallel:"\u2226",nparsl:"\u2afd\u20e5",npart:"\u2202\u0338",npolint:"\u2a14",npr:"\u2280",nprcue:"\u22e0",npre:"\u2aaf\u0338",nprec:"\u2280",npreceq:"\u2aaf\u0338",nrarr:"\u219b",nrArr:"\u21cf",nrarrc:"\u2933\u0338",nrarrw:"\u219d\u0338",nrightarrow:"\u219b",nRightarrow:"\u21cf",nrtri:"\u22eb",nrtrie:"\u22ed",nsc:"\u2281",nsccue:"\u22e1",nsce:"\u2ab0\u0338",nscr:"\u{1d4c3}",Nscr:"\u{1d4a9}",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22e2",nsqsupe:"\u22e3",nsub:"\u2284",nsube:"\u2288",nsubE:"\u2ac5\u0338",nsubset:"\u2282\u20d2",nsubseteq:"\u2288",nsubseteqq:"\u2ac5\u0338",nsucc:"\u2281",nsucceq:"\u2ab0\u0338",nsup:"\u2285",nsupe:"\u2289",nsupE:"\u2ac6\u0338",nsupset:"\u2283\u20d2",nsupseteq:"\u2289",nsupseteqq:"\u2ac6\u0338",ntgl:"\u2279",ntilde:"\xf1",Ntilde:"\xd1",ntlg:"\u2278",ntriangleleft:"\u22ea",ntrianglelefteq:"\u22ec",ntriangleright:"\u22eb",ntrianglerighteq:"\u22ed",nu:"\u03bd",Nu:"\u039d",num:"#",numero:"\u2116",numsp:"\u2007",nvap:"\u224d\u20d2",nvdash:"\u22ac",nvDash:"\u22ad",nVdash:"\u22ae",nVDash:"\u22af",nvge:"\u2265\u20d2",nvgt:">\u20d2",nvHarr:"\u2904",nvinfin:"\u29de",nvlArr:"\u2902",nvle:"\u2264\u20d2",nvlt:"<\u20d2",nvltrie:"\u22b4\u20d2",nvrArr:"\u2903",nvrtrie:"\u22b5\u20d2",nvsim:"\u223c\u20d2",nwarhk:"\u2923",nwarr:"\u2196",nwArr:"\u21d6",nwarrow:"\u2196",nwnear:"\u2927",oacute:"\xf3",Oacute:"\xd3",oast:"\u229b",ocir:"\u229a",ocirc:"\xf4",Ocirc:"\xd4",ocy:"\u043e",Ocy:"\u041e",odash:"\u229d",odblac:"\u0151",Odblac:"\u0150",odiv:"\u2a38",odot:"\u2299",odsold:"\u29bc",oelig:"\u0153",OElig:"\u0152",ofcir:"\u29bf",ofr:"\u{1d52c}",Ofr:"\u{1d512}",ogon:"\u02db",ograve:"\xf2",Ograve:"\xd2",ogt:"\u29c1",ohbar:"\u29b5",ohm:"\u03a9",oint:"\u222e",olarr:"\u21ba",olcir:"\u29be",olcross:"\u29bb",oline:"\u203e",olt:"\u29c0",omacr:"\u014d",Omacr:"\u014c",omega:"\u03c9",Omega:"\u03a9",omicron:"\u03bf",Omicron:"\u039f",omid:"\u29b6",ominus:"\u2296",oopf:"\u{1d560}",Oopf:"\u{1d546}",opar:"\u29b7",OpenCurlyDoubleQuote:"\u201c",OpenCurlyQuote:"\u2018",operp:"\u29b9",oplus:"\u2295",or:"\u2228",Or:"\u2a54",orarr:"\u21bb",ord:"\u2a5d",order:"\u2134",orderof:"\u2134",ordf:"\xaa",ordm:"\xba",origof:"\u22b6",oror:"\u2a56",orslope:"\u2a57",orv:"\u2a5b",oS:"\u24c8",oscr:"\u2134",Oscr:"\u{1d4aa}",oslash:"\xf8",Oslash:"\xd8",osol:"\u2298",otilde:"\xf5",Otilde:"\xd5",otimes:"\u2297",Otimes:"\u2a37",otimesas:"\u2a36",ouml:"\xf6",Ouml:"\xd6",ovbar:"\u233d",OverBar:"\u203e",OverBrace:"\u23de",OverBracket:"\u23b4",OverParenthesis:"\u23dc",par:"\u2225",para:"\xb6",parallel:"\u2225",parsim:"\u2af3",parsl:"\u2afd",part:"\u2202",PartialD:"\u2202",pcy:"\u043f",Pcy:"\u041f",percnt:"%",period:".",permil:"\u2030",perp:"\u22a5",pertenk:"\u2031",pfr:"\u{1d52d}",Pfr:"\u{1d513}",phi:"\u03c6",Phi:"\u03a6",phiv:"\u03d5",phmmat:"\u2133",phone:"\u260e",pi:"\u03c0",Pi:"\u03a0",pitchfork:"\u22d4",piv:"\u03d6",planck:"\u210f",planckh:"\u210e",plankv:"\u210f",plus:"+",plusacir:"\u2a23",plusb:"\u229e",pluscir:"\u2a22",plusdo:"\u2214",plusdu:"\u2a25",pluse:"\u2a72",PlusMinus:"\xb1",plusmn:"\xb1",plussim:"\u2a26",plustwo:"\u2a27",pm:"\xb1",Poincareplane
1559:"\u210c",pointint:"\u2a15",popf:"\u{1d561}",Popf:"\u2119",pound:"\xa3",pr:"\u227a",Pr:"\u2abb",prap:"\u2ab7",prcue:"\u227c",pre:"\u2aaf",prE:"\u2ab3",prec:"\u227a",precapprox:"\u2ab7",preccurlyeq:"\u227c",Precedes:"\u227a",PrecedesEqual:"\u2aaf",PrecedesSlantEqual:"\u227c",PrecedesTilde:"\u227e",preceq:"\u2aaf",precnapprox:"\u2ab9",precneqq:"\u2ab5",precnsim:"\u22e8",precsim:"\u227e",prime:"\u2032",Prime:"\u2033",primes:"\u2119",prnap:"\u2ab9",prnE:"\u2ab5",prnsim:"\u22e8",prod:"\u220f",Product:"\u220f",profalar:"\u232e",profline:"\u2312",profsurf:"\u2313",prop:"\u221d",Proportion:"\u2237",Proportional:"\u221d",propto:"\u221d",prsim:"\u227e",prurel:"\u22b0",pscr:"\u{1d4c5}",Pscr:"\u{1d4ab}",psi:"\u03c8",Psi:"\u03a8",puncsp:"\u2008",qfr:"\u{1d52e}",Qfr:"\u{1d514}",qint:"\u2a0c",qopf:"\u{1d562}",Qopf:"\u211a",qprime:"\u2057",qscr:"\u{1d4c6}",Qscr:"\u{1d4ac}",quaternions:"\u210d",quatint:"\u2a16",quest:"?",questeq:"\u225f",quot:'"',QUOT:'"',rAarr:"\u21db",race:"\u223d\u0331",racute:"\u0155",Racute:"\u0154",radic:"\u221a",raemptyv:"\u29b3",rang:"\u27e9",Rang:"\u27eb",rangd:"\u2992",range:"\u29a5",rangle:"\u27e9",raquo:"\xbb",rarr:"\u2192",rArr:"\u21d2",Rarr:"\u21a0",rarrap:"\u2975",rarrb:"\u21e5",rarrbfs:"\u2920",rarrc:"\u2933",rarrfs:"\u291e",rarrhk:"\u21aa",rarrlp:"\u21ac",rarrpl:"\u2945",rarrsim:"\u2974",rarrtl:"\u21a3",Rarrtl:"\u2916",rarrw:"\u219d",ratail:"\u291a",rAtail:"\u291c",ratio:"\u2236",rationals:"\u211a",rbarr:"\u290d",rBarr:"\u290f",RBarr:"\u2910",rbbrk:"\u2773",rbrace:"}",rbrack:"]",rbrke:"\u298c",rbrksld:"\u298e",rbrkslu:"\u2990",rcaron:"\u0159",Rcaron:"\u0158",rcedil:"\u0157",Rcedil:"\u0156",rceil:"\u2309",rcub:"}",rcy:"\u0440",Rcy:"\u0420",rdca:"\u2937",rdldhar:"\u2969",rdquo:"\u201d",rdquor:"\u201d",rdsh:"\u21b3",Re:"\u211c",real:"\u211c",realine:"\u211b",realpart:"\u211c",reals:"\u211d",rect:"\u25ad",reg:"\xae",REG:"\xae",ReverseElement:"\u220b",ReverseEquilibrium:"\u21cb",ReverseUpEquilibrium:"\u296f",rfisht:"\u297d",rfloor:"\u230b",rfr:"\u{1d52f}",Rfr:"\u211c",rHar:"\u2964",rhard:"\u21c1",rharu:"\u21c0",rharul:"\u296c",rho:"\u03c1",Rho:"\u03a1",rhov:"\u03f1",RightAngleBracket:"\u27e9",rightarrow:"\u2192",Rightarrow:"\u21d2",RightArrow:"\u2192",RightArrowBar:"\u21e5",RightArrowLeftArrow:"\u21c4",rightarrowtail:"\u21a3",RightCeiling:"\u2309",RightDoubleBracket:"\u27e7",RightDownTeeVector:"\u295d",RightDownVector:"\u21c2",RightDownVectorBar:"\u2955",RightFloor:"\u230b",rightharpoondown:"\u21c1",rightharpoonup:"\u21c0",rightleftarrows:"\u21c4",rightleftharpoons:"\u21cc",rightrightarrows:"\u21c9",rightsquigarrow:"\u219d",RightTee:"\u22a2",RightTeeArrow:"\u21a6",RightTeeVector:"\u295b",rightthreetimes:"\u22cc",RightTriangle:"\u22b3",RightTriangleBar:"\u29d0",RightTriangleEqual:"\u22b5",RightUpDownVector:"\u294f",RightUpTeeVector:"\u295c",RightUpVector:"\u21be",RightUpVectorBar:"\u2954",RightVector:"\u21c0",RightVectorBar:"\u2953",ring:"\u02da",risingdotseq:"\u2253",rlarr:"\u21c4",rlhar:"\u21cc",rlm:"\u200f",rmoust:"\u23b1",rmoustache:"\u23b1",rnmid:"\u2aee",roang:"\u27ed",roarr:"\u21fe",robrk:"\u27e7",ropar:"\u2986",ropf:"\u{1d563}",Ropf:"\u211d",roplus:"\u2a2e",rotimes:"\u2a35",RoundImplies:"\u2970",rpar:")",rpargt:"\u2994",rppolint:"\u2a12",rrarr:"\u21c9",Rrightarrow:"\u21db",rsaquo:"\u203a",rscr:"\u{1d4c7}",Rscr:"\u211b",rsh:"\u21b1",Rsh:"\u21b1",rsqb:"]",rsquo:"\u2019",rsquor:"\u2019",rthree:"\u22cc",rtimes:"\u22ca",rtri:"\u25b9",rtrie:"\u22b5",rtrif:"\u25b8",rtriltri:"\u29ce",RuleDelayed:"\u29f4",ruluhar:"\u2968",rx:"\u211e",sacute:"\u015b",Sacute:"\u015a",sbquo:"\u201a",sc:"\u227b",Sc:"\u2abc",scap:"\u2ab8",scaron:"\u0161",Scaron:"\u0160",sccue:"\u227d",sce:"\u2ab0",scE:"\u2ab4",scedil:"\u015f",Scedil:"\u015e",scirc:"\u015d",Scirc:"\u015c",scnap:"\u2aba",scnE:"\u2ab6",scnsim:"\u22e9",scpolint:"\u2a13",scsim:"\u227f",scy:"\u0441",Scy:"\u0421",sdot:"\u22c5",sdotb:"\u22a1",sdote:"\u2a66",searhk:"\u2925",searr:"\u2198",seArr:"\u21d8",searrow:"\u2198",sect:"\xa7",semi:";",seswar:"\u2929",setminus:"\u2216",setmn:"\u2216",sext:"\u2736",sfr:"\u{1d530}",Sfr:"\u{1d516}",sfrown:"\u2322",sharp:"\u266f",shchcy:"\u0449",SHCHcy:"\u0429",shcy:"\u0448",SHcy:"\u0428",ShortDownArrow:"\u2193",ShortLeftArrow:"\u2190",shortmid:"\u2223",shortparallel:"\u2225",ShortRightArrow:"\u2192",ShortUpArrow:"\u2191",shy:"\xad",sigma:"\u03c3",Sigma:"\u03a3",sigmaf:"\u03c2",sigmav:"\u03c2",sim:"\u223c",simdot:"\u2a6a",sime:"\u2243",simeq:"\u2243",simg:"\u2a9e",simgE:"\u2aa0",siml:"\u2a9d",simlE:"\u2a9f",simne:"\u2246",simplus:"\u2a24",simrarr:"\u2972",slarr:"\u2190",SmallCircle:"\u2218",smallsetminus:"\u2216",smashp:"\u2a33",smeparsl:"\u29e4",smid:"\u2223",smile:"\u2323",smt:"\u2aaa",smte:"\u2aac",smtes:"\u2aac\ufe00",softcy:"\u044c",SOFTcy:"\u042c",sol:"/",
1559solb:"\u29c4",solbar:"\u233f",sopf:"\u{1d564}",Sopf:"\u{1d54a}",spades:"\u2660",spadesuit:"\u2660",spar:"\u2225",sqcap:"\u2293",sqcaps:"\u2293\ufe00",sqcup:"\u2294",sqcups:"\u2294\ufe00",Sqrt:"\u221a",sqsub:"\u228f",sqsube:"\u2291",sqsubset:"\u228f",sqsubseteq:"\u2291",sqsup:"\u2290",sqsupe:"\u2292",sqsupset:"\u2290",sqsupseteq:"\u2292",squ:"\u25a1",square:"\u25a1",Square:"\u25a1",SquareIntersection:"\u2293",SquareSubset:"\u228f",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",squarf:"\u25aa",squf:"\u25aa",srarr:"\u2192",sscr:"\u{1d4c8}",Sscr:"\u{1d4ae}",ssetmn:"\u2216",ssmile:"\u2323",sstarf:"\u22c6",star:"\u2606",Star:"\u22c6",starf:"\u2605",straightepsilon:"\u03f5",straightphi:"\u03d5",strns:"\xaf",sub:"\u2282",Sub:"\u22d0",subdot:"\u2abd",sube:"\u2286",subE:"\u2ac5",subedot:"\u2ac3",submult:"\u2ac1",subne:"\u228a",subnE:"\u2acb",subplus:"\u2abf",subrarr:"\u2979",subset:"\u2282",Subset:"\u22d0",subseteq:"\u2286",subseteqq:"\u2ac5",SubsetEqual:"\u2286",subsetneq:"\u228a",subsetneqq:"\u2acb",subsim:"\u2ac7",subsub:"\u2ad5",subsup:"\u2ad3",succ:"\u227b",succapprox:"\u2ab8",succcurlyeq:"\u227d",Succeeds:"\u227b",SucceedsEqual:"\u2ab0",SucceedsSlantEqual:"\u227d",SucceedsTilde:"\u227f",succeq:"\u2ab0",succnapprox:"\u2aba",succneqq:"\u2ab6",succnsim:"\u22e9",succsim:"\u227f",SuchThat:"\u220b",sum:"\u2211",Sum:"\u2211",sung:"\u266a",sup:"\u2283",Sup:"\u22d1",sup1:"\xb9",sup2:"\xb2",sup3:"\xb3",supdot:"\u2abe",supdsub:"\u2ad8",supe:"\u2287",supE:"\u2ac6",supedot:"\u2ac4",Superset:"\u2283",SupersetEqual:"\u2287",suphsol:"\u27c9",suphsub:"\u2ad7",suplarr:"\u297b",supmult:"\u2ac2",supne:"\u228b",supnE:"\u2acc",supplus:"\u2ac0",supset:"\u2283",Supset:"\u22d1",supseteq:"\u2287",supseteqq:"\u2ac6",supsetneq:"\u228b",supsetneqq:"\u2acc",supsim:"\u2ac8",supsub:"\u2ad4",supsup:"\u2ad6",swarhk:"\u2926",swarr:"\u2199",swArr:"\u21d9",swarrow:"\u2199",swnwar:"\u292a",szlig:"\xdf",Tab:"\t",target:"\u2316",tau:"\u03c4",Tau:"\u03a4",tbrk:"\u23b4",tcaron:"\u0165",Tcaron:"\u0164",tcedil:"\u0163",Tcedil:"\u0162",tcy:"\u0442",Tcy:"\u0422",tdot:"\u20db",telrec:"\u2315",tfr:"\u{1d531}",Tfr:"\u{1d517}",there4:"\u2234",therefore:"\u2234",Therefore:"\u2234",theta:"\u03b8",Theta:"\u0398",thetasym:"\u03d1",thetav:"\u03d1",thickapprox:"\u2248",thicksim:"\u223c",ThickSpace:"\u205f\u200a",thinsp:"\u2009",ThinSpace:"\u2009",thkap:"\u2248",thksim:"\u223c",thorn:"\xfe",THORN:"\xde",tilde:"\u02dc",Tilde:"\u223c",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",times:"\xd7",timesb:"\u22a0",timesbar:"\u2a31",timesd:"\u2a30",tint:"\u222d",toea:"\u2928",top:"\u22a4",topbot:"\u2336",topcir:"\u2af1",topf:"\u{1d565}",Topf:"\u{1d54b}",topfork:"\u2ada",tosa:"\u2929",tprime:"\u2034",trade:"\u2122",TRADE:"\u2122",triangle:"\u25b5",triangledown:"\u25bf",triangleleft:"\u25c3",trianglelefteq:"\u22b4",triangleq:"\u225c",triangleright:"\u25b9",trianglerighteq:"\u22b5",tridot:"\u25ec",trie:"\u225c",triminus:"\u2a3a",TripleDot:"\u20db",triplus:"\u2a39",trisb:"\u29cd",tritime:"\u2a3b",trpezium:"\u23e2",tscr:"\u{1d4c9}",Tscr:"\u{1d4af}",tscy:"\u0446",TScy:"\u0426",tshcy:"\u045b",TSHcy:"\u040b",tstrok:"\u0167",Tstrok:"\u0166",twixt:"\u226c",twoheadleftarrow:"\u219e",twoheadrightarrow:"\u21a0",uacute:"\xfa",Uacute:"\xda",uarr:"\u2191",uArr:"\u21d1",Uarr:"\u219f",Uarrocir:"\u2949",ubrcy:"\u045e",Ubrcy:"\u040e",ubreve:"\u016d",Ubreve:"\u016c",ucirc:"\xfb",Ucirc:"\xdb",ucy:"\u0443",Ucy:"\u0423",udarr:"\u21c5",udblac:"\u0171",Udblac:"\u0170",udhar:"\u296e",ufisht:"\u297e",ufr:"\u{1d532}",Ufr:"\u{1d518}",ugrave:"\xf9",Ugrave:"\xd9",uHar:"\u2963",uharl:"\u21bf",uharr:"\u21be",uhblk:"\u2580",ulcorn:"\u231c",ulcorner:"\u231c",ulcrop:"\u230f",ultri:"\u25f8",umacr:"\u016b",Umacr:"\u016a",uml:"\xa8",UnderBar:"_",UnderBrace:"\u23df",UnderBracket:"\u23b5",UnderParenthesis:"\u23dd",Union:"\u22c3",UnionPlus:"\u228e",uogon:"\u0173",Uogon:"\u0172",uopf:"\u{1d566}",Uopf:"\u{1d54c}",uparrow:"\u2191",Uparrow:"\u21d1",UpArrow:"\u2191",UpArrowBar:"\u2912",UpArrowDownArrow:"\u21c5",updownarrow:"\u2195",Updownarrow:"\u21d5",UpDownArrow:"\u2195",UpEquilibrium:"\u296e",upharpoonleft:"\u21bf",upharpoonright:"\u21be",uplus:"\u228e",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",upsi:"\u03c5",Upsi:"\u03d2",upsih:"\u03d2",upsilon:"\u03c5",Upsilon:"\u03a5",UpTee:"\u22a5",UpTeeArrow:"\u21a5",upuparrows:"\u21c8",urcorn:"\u231d",urcorner:"\u231d",urcrop:"\u230e",uring:"\u016f",Uring:"\u016e",urtri:"\u25f9",uscr:"\u{1d4ca}",Uscr:"\u{1d4b0}
1559",utdot:"\u22f0",utilde:"\u0169",Utilde:"\u0168",utri:"\u25b5",utrif:"\u25b4",uuarr:"\u21c8",uuml:"\xfc",Uuml:"\xdc",uwangle:"\u29a7",vangrt:"\u299c",varepsilon:"\u03f5",varkappa:"\u03f0",varnothing:"\u2205",varphi:"\u03d5",varpi:"\u03d6",varpropto:"\u221d",varr:"\u2195",vArr:"\u21d5",varrho:"\u03f1",varsigma:"\u03c2",varsubsetneq:"\u228a\ufe00",varsubsetneqq:"\u2acb\ufe00",varsupsetneq:"\u228b\ufe00",varsupsetneqq:"\u2acc\ufe00",vartheta:"\u03d1",vartriangleleft:"\u22b2",vartriangleright:"\u22b3",vBar:"\u2ae8",Vbar:"\u2aeb",vBarv:"\u2ae9",vcy:"\u0432",Vcy:"\u0412",vdash:"\u22a2",vDash:"\u22a8",Vdash:"\u22a9",VDash:"\u22ab",Vdashl:"\u2ae6",vee:"\u2228",Vee:"\u22c1",veebar:"\u22bb",veeeq:"\u225a",vellip:"\u22ee",verbar:"|",Verbar:"\u2016",vert:"|",Vert:"\u2016",VerticalBar:"\u2223",VerticalLine:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",VeryThinSpace:"\u200a",vfr:"\u{1d533}",Vfr:"\u{1d519}",vltri:"\u22b2",vnsub:"\u2282\u20d2",vnsup:"\u2283\u20d2",vopf:"\u{1d567}",Vopf:"\u{1d54d}",vprop:"\u221d",vrtri:"\u22b3",vscr:"\u{1d4cb}",Vscr:"\u{1d4b1}",vsubne:"\u228a\ufe00",vsubnE:"\u2acb\ufe00",vsupne:"\u228b\ufe00",vsupnE:"\u2acc\ufe00",Vvdash:"\u22aa",vzigzag:"\u299a",wcirc:"\u0175",Wcirc:"\u0174",wedbar:"\u2a5f",wedge:"\u2227",Wedge:"\u22c0",wedgeq:"\u2259",weierp:"\u2118",wfr:"\u{1d534}",Wfr:"\u{1d51a}",wopf:"\u{1d568}",Wopf:"\u{1d54e}",wp:"\u2118",wr:"\u2240",wreath:"\u2240",wscr:"\u{1d4cc}",Wscr:"\u{1d4b2}",xcap:"\u22c2",xcirc:"\u25ef",xcup:"\u22c3",xdtri:"\u25bd",xfr:"\u{1d535}",Xfr:"\u{1d51b}",xharr:"\u27f7",xhArr:"\u27fa",xi:"\u03be",Xi:"\u039e",xlarr:"\u27f5",xlArr:"\u27f8",xmap:"\u27fc",xnis:"\u22fb",xodot:"\u2a00",xopf:"\u{1d569}",Xopf:"\u{1d54f}",xoplus:"\u2a01",xotime:"\u2a02",xrarr:"\u27f6",xrArr:"\u27f9",xscr:"\u{1d4cd}",Xscr:"\u{1d4b3}",xsqcup:"\u2a06",xuplus:"\u2a04",xutri:"\u25b3",xvee:"\u22c1",xwedge:"\u22c0",yacute:"\xfd",Yacute:"\xdd",yacy:"\u044f",YAcy:"\u042f",ycirc:"\u0177",Ycirc:"\u0176",ycy:"\u044b",Ycy:"\u042b",yen:"\xa5",yfr:"\u{1d536}",Yfr:"\u{1d51c}",yicy:"\u0457",YIcy:"\u0407",yopf:"\u{1d56a}",Yopf:"\u{1d550}",yscr:"\u{1d4ce}",Yscr:"\u{1d4b4}",yucy:"\u044e",YUcy:"\u042e",yuml:"\xff",Yuml:"\u0178",zacute:"\u017a",Zacute:"\u0179",zcaron:"\u017e",Zcaron:"\u017d",zcy:"\u0437",Zcy:"\u0417",zdot:"\u017c",Zdot:"\u017b",zeetrf:"\u2128",ZeroWidthSpace:"\u200b",zeta:"\u03b6",Zeta:"\u0396",zfr:"\u{1d537}",Zfr:"\u2128",zhcy:"\u0436",ZHcy:"\u0416",zigrarr:"\u21dd",zopf:"\u{1d56b}",Zopf:"\u2124",zscr:"\u{1d4cf}",Zscr:"\u{1d4b5}",zwj:"\u200d",zwnj:"\u200c"},g={aacute:"\xe1",Aacute:"\xc1",acirc:"\xe2",Acirc:"\xc2",acute:"\xb4",aelig:"\xe6",AElig:"\xc6",agrave:"\xe0",Agrave:"\xc0",amp:"&",AMP:"&",aring:"\xe5",Aring:"\xc5",atilde:"\xe3",Atilde:"\xc3",auml:"\xe4",Auml:"\xc4",brvbar:"\xa6",ccedil:"\xe7",Ccedil:"\xc7",cedil:"\xb8",cent:"\xa2",copy:"\xa9",COPY:"\xa9",curren:"\xa4",deg:"\xb0",divide:"\xf7",eacute:"\xe9",Eacute:"\xc9",ecirc:"\xea",Ecirc:"\xca",egrave:"\xe8",Egrave:"\xc8",eth:"\xf0",ETH:"\xd0",euml:"\xeb",Euml:"\xcb",frac12:"\xbd",frac14:"\xbc",frac34:"\xbe",gt:">",GT:">",iacute:"\xed",Iacute:"\xcd",icirc:"\xee",Icirc:"\xce",iexcl:"\xa1",igrave:"\xec",Igrave:"\xcc",iquest:"\xbf",iuml:"\xef",Iuml:"\xcf",laquo:"\xab",lt:"<",LT:"<",macr:"\xaf",micro:"\xb5",middot:"\xb7",nbsp:"\xa0",not:"\xac",ntilde:"\xf1",Ntilde:"\xd1",oacute:"\xf3",Oacute:"\xd3",ocirc:"\xf4",Ocirc:"\xd4",ograve:"\xf2",Ograve:"\xd2",ordf:"\xaa",ordm:"\xba",oslash:"\xf8",Oslash:"\xd8",otilde:"\xf5",Otilde:"\xd5",ouml:"\xf6",Ouml:"\xd6",para:"\xb6",plusmn:"\xb1",pound:"\xa3",quot:'"',QUOT:'"',raquo:"\xbb",reg:"\xae",REG:"\xae",sect:"\xa7",shy:"\xad",sup1:"\xb9",sup2:"\xb2",sup3:"\xb3",szlig:"\xdf",thorn:"\xfe",THORN:"\xde",times:"\xd7",uacute:"\xfa",Uacute:"\xda",ucirc:"\xfb",Ucirc:"\xdb",ugrave:"\xf9",Ugrave:"\xd9",uml:"\xa8",uuml:"\xfc",Uuml:"\xdc",yacute:"\xfd",Yacute:"\xdd",yen:"\xa5",yuml:"\xff"},y={0:"\ufffd",128:"\u20ac",130:"\u201a",131:"\u0192",132:"\u201e",133:"\u2026",134:"\u2020",135:"\u2021",136:"\u02c6",137:"\u2030",138:"\u0160",139:"\u2039",140:"\u0152",142:"\u017d",145:"\u2018",146:"\u2019",147:"\u201c",148:"\u201d",149:"\u2022",150:"\u2013",151:"\u2014",152:"\u02dc",153:"\u2122",154:"\u0161",155:"\u203a",156:"\u0153",158:"\u017e",159:"\u0178"},v=[1,2,3,4,5,6,7,8,11,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,64976,64977,64978,64979,64980,64981,64982,64983,64984,64985,64986,64987,64988,64989,64990,64991,64992,64993,64994,64995,64996,64997,64998,64999,65e3,65001,65002,65003,65004,65005,65006,65007,65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111],b=String.fromCharCode,C={}.hasOwnProperty,w=function(e,t){return C.call(e,t)},S=function(e,t){if(!e)return t;var n,r={};for(n in t)r[n]=w(e,n)?e[n]:t[n];return r},_=function(e,t){var n="";return e>=55296&&e<=57343||e>1114111?(t&&x("character reference outside the permissible Unicode range"),"\ufffd"):w(y,e)?(t&&x("disallowed character reference"),y[e]):(t&&function(e,t){for(var n=-1,r=e.length;++n<r;)if(e[n]==t)return!0;return!1}(v,e)&&x("disallowed character reference"),e>65535&&(n+=b((e-=65536)>>>10&1023|55296),e=56320|1023&e),n+=b(e))},E=function(e){return"&#x"+e.toString(16).toUpperCase()+";"},k=function(e){return"&#"+e+";"},x=function(e){throw Error("Parse error: "+e)},I=function(e,t){(t=S(t,I.options)).strict&&m.test(e)&&x("forbidden code point");var n=t.useNamedReferences,r=t.allowUnsafeSymbols,o=t.decimal?k:E,d=function(e){return o(e.charCodeAt(0))};return t.encodeEverything?(e=e.replace(a,(function(e){return n&&w(l,e)?"&"+l[e]+";":d(e)})),n&&(e=e.replace(/&gt;\u20D2/g,"&nvgt;").replace(/&lt;\u20D2/g,"&nvlt;").replace(/&#x66;&#x6A;/g,"&fjlig;")),n&&(e=e.replace(c,(function(e){return"&"+l[e]+";"})))):n?(r||(e=e.replace(u,(function(e){return"&"+l[e]+";"}))),e=(e=e.replace(/&gt;\u20D2/g,"&nvgt;").replace(/&lt;\u20D2/g,"&nvlt;")).replace(c,(function(e){return"&"+l[e]+";"}))):r||(e=e.replace(u,d)),e.replace(i,(function(e){var t=e.charCodeAt(0),n=e.charCodeAt(1);return o(1024*(t-55296)+n-56320+65536)})).replace(s,d)};I.options={allowUnsafeSymbols:!1,encodeEverything:!1,strict:!1,useNamedReferences:!1,decimal
1559:!1};var O=function(e,t){var n=(t=S(t,O.options)).strict;return n&&h.test(e)&&x("malformed character reference"),e.replace(p,(function(e,r,o,i,a,s,c,l,u){var d,h,m,p,y,v;return r?f[y=r]:o?(y=o,(v=i)&&t.isAttributeValue?(n&&"="==v&&x("`&` did not start a character reference"),e):(n&&x("named character reference was not terminated by a semicolon"),g[y]+(v||""))):a?(m=a,h=s,n&&!h&&x("character reference was not terminated by a semicolon"),d=parseInt(m,10),_(d,n)):c?(p=c,h=l,n&&!h&&x("character reference was not terminated by a semicolon"),d=parseInt(p,16),_(d,n)):(n&&x("named character reference was not terminated by a semicolon"),e)}))};O.options={isAttributeValue:!1,strict:!1};var T={version:"1.2.0",encode:I,decode:O,escape:function(e){return e.replace(u,(function(e){return d[e]}))},unescape:O};void 0===(r=(function(){return T}).call(t,n,t,e))||(e.exports=r)}()}).call(this,n("YuTi")(e))},l0SJ:function(e,t,n){var r=n("yNUO");e.exports=function(e){var t=r(e);return t.setHours(23,59,59,999),t}},"l6+5":function(e,t,n){var r=n("L/99");e.exports=function(e){return r(new Date,e)}},lCuP:function(e,t,n){var r=n("yNUO");e.exports=function(e){var t=r(e);return t.setDate(1),t.setHours(0,0,0,0),t}},lJxs:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("7o/Q");function o(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 i(e,t))}}class i{constructor(e,t){this.project=e,this.thisArg=t}call(e,t){return t.subscribe(new a(e,this.project,this.thisArg))}}class a extends r.a{constructor(e,t,n){super(e),this.project=t,this.count=0,this.thisArg=n||this}_next(e){let t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}},lTB2:function(e,t,n){var r=n("yNUO");e.exports=function(e,t){var n=r(e),o=Number(t);return n.setMonth(0),n.setDate(o),n}},lX9Q:function(e,t,n){var r=n("yNUO");e.exports=function(e,t){var n=r(e),o=Number(t);return n.setDate(o),n}},leoV:function(e,t,n){var r=n("yNUO");e.exports=function(){var e=Array.prototype.slice.call(arguments),t=e.map((function(e){return r(e)})),n=Math.max.apply(null,t);return new Date(n)}},lwZq:function(e,t,n){var r=n("yNUO"),o=n("RJeW"),i=n("1CCG");e.exports=function(e,t){var n=r(e),a=Number(t),s=i(n,o(n)),c=new Date(0);return c.setFullYear(a,0,4),c.setHours(0,0,0,0),(n=o(c)).setDate(n.getDate()+s),n}},m7nI:function(e,t,n){var r=n("WmBB");e.exports=function(e){return r(new Date,e)}},mqoM:function(e,t,n){var r=n("Q5nM");e.exports=function(e,t){var n=r(e),o=r(t);return n.getTime()===o.getTime()}},mthE:function(e,t,n){var r=n("yNUO");e.exports=function(e){var t=r(e).getDay();return 0===t||6===t}},n6bG:function(e,t,n){"use strict";function r(e){return"function"==typeof e}n.d(t,"a",(function(){return r}))},ngJS:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));const r=e=>t=>{for(let n=0,r=e.length;n<r&&!t.closed;n++)t.next(e[n]);t.complete()}},pDEI:function(e,t,n){var r=n("yNUO");e.exports=function(e,t){var n=r(e),o=r(t);return n.getTime()>o.getTime()}},pLeS:function(e,t,n){var r=n("yNUO");e.exports=function(e){var t=r(e),n=new Date(0);return n.setFullYear(t.getFullYear(),0,1),n.setHours(0,0,0,0),n}},pzWd:function(e,t){e.exports=function(e){return e instanceof Date}},q9S1:function(e,t,n){var r=n("yNUO");e.exports=function(e,t){var n=r(e),o=r(t);return n.getTime()===o.getTime()}},qFJL:function(e,t,n){var r=n("yNUO");e.exports=function(e){return 5===r(e).getDay()}},qTUo:function(e,t,n){var r=n("yNUO");e.exports=function(e){return r(e).getTime()<(new Date).getTime()}},quSY:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n("DH7j"),o=n("XoHu"),i=n("n6bG");const a=(()=>{function e(e){return Error.call(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((e,t)=>`${t+1}) ${e.toString()}`).join("\n  ")}`:"",this.name="UnsubscriptionError",this.errors=e,this}return e.prototype=Object.create(Error.prototype),e})();let s=(()=>{class e{constructor(e){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,e&&(this._ctorUnsubscribe=!0,this._unsubscribe=e)}unsubscribe(){let t;if(this.closed)return;let{_parentOrParents:n,_ctorUnsubscribe:s,_unsubscribe:l,_subscriptions:u}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof e)n.remove(this);else if(null!==n)for(let e=0;e<n.length;++e)n[e].remove(this);if(Object(i.a)(l)){s&&(this._unsubscribe=void 0);try{l.call(this)}catch(d){t=d instanceof a?c(d.errors):[d]}}if(Object(r.a)(u)){let e=-1,n=u.length;for(;++e<n;){const n=u[e];
1559if(Object(o.a)(n))try{n.unsubscribe()}catch(d){t=t||[],d instanceof a?t=t.concat(c(d.errors)):t.push(d)}}}if(t)throw new a(t)}add(t){let n=t;if(!t)return e.EMPTY;switch(typeof t){case"function":n=new e(t);case"object":if(n===this||n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if(!(n instanceof e)){const t=n;n=new e,n._subscriptions=[t]}break;default:throw new Error("unrecognized teardown "+t+" added to Subscription.")}let{_parentOrParents:r}=n;if(null===r)n._parentOrParents=this;else if(r instanceof e){if(r===this)return n;n._parentOrParents=[r,this]}else{if(-1!==r.indexOf(this))return n;r.push(this)}const o=this._subscriptions;return null===o?this._subscriptions=[n]:o.push(n),n}remove(e){const t=this._subscriptions;if(t){const n=t.indexOf(e);-1!==n&&t.splice(n,1)}}}var t;return e.EMPTY=((t=new e).closed=!0,t),e})();function c(e){return e.reduce((e,t)=>e.concat(t instanceof a?t.errors:t),[])}},rMQs:function(e,t,n){var r=n("yNUO");e.exports=function(e){var t=r(e).getFullYear();return t%400==0||t%4==0&&t%100!=0}},rxuJ:function(e,t,n){var r=n("7B8A");e.exports=function(e,t){var n=Number(t);return r(e,1e3*n)}},"s/X6":function(e,t,n){var r=n("yNUO"),o=n("+f+M"),i=n("DT56"),a=n("3zVU");e.exports=function(e,t){var n=r(e),s=r(t),c=i(n,s),l=Math.abs(o(n,s));return n=a(n,c*l),c*(l-(i(n,s)===-c))}},s7LF:function(e,t,n){"use strict";n.r(t),n.d(t,"AbstractControl",(function(){return de})),n.d(t,"AbstractControlDirective",(function(){return p})),n.d(t,"AbstractFormGroupDirective",(function(){return ve})),n.d(t,"COMPOSITION_BUFFER_MODE",(function(){return h})),n.d(t,"CheckboxControlValueAccessor",(function(){return u})),n.d(t,"CheckboxRequiredValidator",(function(){return Ue})),n.d(t,"ControlContainer",(function(){return f})),n.d(t,"DefaultValueAccessor",(function(){return m})),n.d(t,"EmailValidator",(function(){return qe})),n.d(t,"FormArray",(function(){return pe})),n.d(t,"FormArrayName",(function(){return Me})),n.d(t,"FormBuilder",(function(){return tt})),n.d(t,"FormControl",(function(){return he})),n.d(t,"FormControlDirective",(function(){return Oe})),n.d(t,"FormControlName",(function(){return Fe})),n.d(t,"FormGroup",(function(){return me})),n.d(t,"FormGroupDirective",(function(){return Ae})),n.d(t,"FormGroupName",(function(){return De})),n.d(t,"FormsModule",(function(){return rt})),n.d(t,"MaxLengthValidator",(function(){return $e})),n.d(t,"MinLengthValidator",(function(){return ze})),n.d(t,"NG_ASYNC_VALIDATORS",(function(){return k})),n.d(t,"NG_VALIDATORS",(function(){return E})),n.d(t,"NG_VALUE_ACCESSOR",(function(){return c})),n.d(t,"NgControl",(function(){return y})),n.d(t,"NgControlStatus",(function(){return C})),n.d(t,"NgControlStatusGroup",(function(){return w})),n.d(t,"NgForm",(function(){return ye})),n.d(t,"NgModel",(function(){return Ee})),n.d(t,"NgModelGroup",(function(){return we})),n.d(t,"NgSelectOption",(function(){return G})),n.d(t,"NumberValueAccessor",(function(){return M})),n.d(t,"PatternValidator",(function(){return Ze})),n.d(t,"RadioControlValueAccessor",(function(){return F})),n.d(t,"RangeValueAccessor",(function(){return V})),n.d(t,"ReactiveFormsModule",(function(){return ot})),n.d(t,"RequiredValidator",(function(){return Be})),n.d(t,"SelectControlValueAccessor",(function(){return H})),n.d(t,"SelectMultipleControlValueAccessor",(function(){return z})),n.d(t,"VERSION",(function(){return nt})),n.d(t,"Validators",(function(){return I})),n.d(t,"\u0275InternalFormsSharedModule",(function(){return et})),n.d(t,"\u0275NgNoValidate",(function(){return ke})),n.d(t,"\u0275NgSelectMultipleOption",(function(){return Y})),n.d(t,"\u0275angular_packages_forms_forms_a",(function(){return Je})),n.d(t,"\u0275angular_packages_forms_forms_b",(function(){return Qe})),n.d(t,"\u0275angular_packages_forms_forms_ba",(function(){return Ve})),n.d(t,"\u0275angular_packages_forms_forms_bb",(function(){return Ge})),n.d(t,"\u0275angular_packages_forms_forms_bc",(function(){return Ke})),n.d(t,"\u0275angular_packages_forms_forms_bd",(function(){return Ye})),n.d(t,"\u0275angular_packages_forms_forms_be",(function(){return We})),n.d(t,"\u0275angular_packages_forms_forms_c",(function(){return Xe})),n.d(t,"\u0275angular_packages_forms_forms_d",(function(){return et})),n.d(t,"\u0275angular_packages_forms_forms_e",(function(){return l})),n.d(t,"\u0275angular_packages_forms_forms_f",(function(){return d})),n.d(t,"\u0275angular_packages_forms_forms_g",(function(){return v})),n.d(t,"\u0275angular_packages_forms_forms_h",(function(){return b})),n.d(t,"\u0275angular_packages_forms_forms_i",(function(){return fe})),n.d(t,"\u0275angular_packages_forms_forms_j",(function(){return Se})),n.d(t,"\u0275angular_packages_forms_forms_k",(function(){return Ce})),n.d(t,"\u0275angular_packages_forms_forms_l",(function(){return R})),n.d(t,"\u0275angular_packages_forms_forms_m",(function(){return N})),n.d(t,"\u0275angular_packages_forms_forms_n",(function(){return j})),n.d(t,"\u0275angular_packages_forms_forms_o",(function(){return L})),n.d(t,"\u0275angular_packages_forms_forms_p",(function(){return xe})),n.d(t,"\u0275angular_packages_forms_forms_q",(function(){return Ie})),n.d(t,"\u0275angular_packages_forms_forms_r",(function(){return je})),n.d(t,"\u0275angular_packages_forms_forms_s",(function(){return Te})),n.d(t,"\u0275angular_packages_forms_forms_t",(function(){return Pe})),n.d(t,"\u0275angular_packages_forms_forms_u",(function(){return Re})),n.d(t,"\u0275angular_packages_forms_forms_v",(function(){return B})),n.d(t,"\u0275angular_packages_forms_forms_w",(function(){return q})),n.d(t,"\u0275angular_packages_forms_forms_x",(function(){return Y})),n.d(t,"\u0275angular_packages_forms_forms_y",(function(){return ke})),n.d(t,"\u0275angular_packages_forms_forms_z",(function(){return Le}));var r=n("8Y7J"),o=n("SVse"),i=n("cp0P"),a=n("Cfvw"),s=n("lJxs");
1560/**
1561 * @license Angular v10.2.5
1562 * (c) 2010-2020 Google LLC. https://angular.io/
1563 * License: MIT
1564 */
1565/**
1566 * @license
1567 * Copyright Google LLC All Rights Reserved.
1568 *
1569 * Use of this source code is governed by an MIT-style license that can be
1570 * found in the LICENSE file at https://angular.io/license
1571 */const c=new r.InjectionToken("NgValueAccessor"),l={provide:c,useExisting:Object(r.forwardRef)(()=>u),multi:!0};
1572/**
1573 * @license
1574 * Copyright Google LLC All Rights Reserved.
1575 *
1576 * Use of this source code is governed by an MIT-style license that can be
1577 * found in the LICENSE file at https://angular.io/license
1578 */let u=(()=>{class e{constructor(e,t){this._renderer=e,this._elementRef=t,this.onChange=e=>{},this.onTouched=()=>{}}writeValue(e){this._renderer.setProperty(this._elementRef.nativeElement,"checked",e)}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](r.Renderer2),r["\u0275\u0275directiveInject"](r.ElementRef))},e.\u0275dir=r["\u0275\u0275defineDirective"]({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(e,t){1&e&&r["\u0275\u0275listener"]("change",(function(e){return t.onChange(e.target.checked)}))("blur",(function(){return t.onTouched()}))},features:[r["\u0275\u0275ProvidersFeature"]([l])]}),e})();
1579/**
1580 * @license
1581 * Copyright Google LLC All Rights Reserved.
1582 *
1583 * Use of this source code is governed by an MIT-style license that can be
1584 * found in the LICENSE file at https://angular.io/license
1585 */const d={provide:c,useExisting:Object(r.forwardRef)(()=>m),multi:!0},h=new r.InjectionToken("CompositionEventMode");let m=(()=>{class e{constructor(e,t,n){this._renderer=e,this._elementRef=t,this._compositionMode=n,this.onChange=e=>{},this.onTouched=()=>{},this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){const e=Object(o.C)()?Object(o.C)().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==e?"":e)}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](r.Renderer2),r["\u0275\u0275directiveInject"](r.ElementRef),r["\u0275\u0275directiveInject"](h,8))},e.\u0275dir=r["\u0275\u0275defineDirective"]({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(e,t){1&e&&r["\u0275\u0275listener"]("input",(function(e){return t._handleInput(e.target.value)}))("blur",(function(){return t.onTouched()}))("compositionstart",(function(){return t._compositionStart()}))("compositionend",(function(e){return t._compositionEnd(e.target.value)}))},features:[r["\u0275\u0275ProvidersFeature"]([d])]}),e})(),p=(()=>{class e{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}reset(e){this.control&&this.control.reset(e)}hasError(e,t){return!!this.control&&this.control.hasError(e,t)}getError(e,t){return this.control?this.control.getError(e,t):null}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=r["\u0275\u0275defineDirective"]({type:e}),e})(),f=(()=>{class e extends p{get formDirective(){return null}get path(){return null}}return e.\u0275fac=function(t){return g(t||e)},e.\u0275dir=r["\u0275\u0275defineDirective"]({type:e,features:[r["\u0275\u0275InheritDefinitionFeature"]]}),e})();
1585const g=r["\u0275\u0275getInheritedFactory"](f);
1586/**
1587 * @license
1588 * Copyright Google LLC All Rights Reserved.
1589 *
1590 * Use of this source code is governed by an MIT-style license that can be
1591 * found in the LICENSE file at https://angular.io/license
1592 */class y extends p{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null,this._rawValidators=[],this._rawAsyncValidators=[]}get validator(){}get asyncValidator(){}}
1593/**
1594 * @license
1595 * Copyright Google LLC All Rights Reserved.
1596 *
1597 * Use of this source code is governed by an MIT-style license that can be
1598 * found in the LICENSE file at https://angular.io/license
1599 */class v{constructor(e){this._cd=e}get ngClassUntouched(){return!!this._cd.control&&this._cd.control.untouched}get ngClassTouched(){return!!this._cd.control&&this._cd.control.touched}get ngClassPristine(){return!!this._cd.control&&this._cd.control.pristine}get ngClassDirty(){return!!this._cd.control&&this._cd.control.dirty}get ngClassValid(){return!!this._cd.control&&this._cd.control.valid}get ngClassInvalid(){return!!this._cd.control&&this._cd.control.invalid}get ngClassPending(){return!!this._cd.control&&this._cd.control.pending}}const b={"[class.ng-untouched]":"ngClassUntouched","[class.ng-touched]":"ngClassTouched","[class.ng-pristine]":"ngClassPristine","[class.ng-dirty]":"ngClassDirty","[class.ng-valid]":"ngClassValid","[class.ng-invalid]":"ngClassInvalid","[class.ng-pending]":"ngClassPending"};let C=(()=>{class e extends v{constructor(e){super(e)}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](y,2))},e.\u0275dir=r["\u0275\u0275defineDirective"]({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,t){2&e&&r["\u0275\u0275classProp"]("ng-untouched",t.ngClassUntouched)("ng-touched",t.ngClassTouched)("ng-pristine",t.ngClassPristine)("ng-dirty",t.ngClassDirty)("ng-valid",t.ngClassValid)("ng-invalid",t.ngClassInvalid)("ng-pending",t.ngClassPending)},features:[r["\u0275\u0275InheritDefinitionFeature"]]}),e})(),w=(()=>{class e extends v{constructor(e){super(e)}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](f,2))},e.\u0275dir=r["\u0275\u0275defineDirective"]({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:14,hostBindings:function(e,t){2&e&&r["\u0275\u0275classProp"]("ng-untouched",t.ngClassUntouched)("ng-touched",t.ngClassTouched)("ng-pristine",t.ngClassPristine)("ng-dirty",t.ngClassDirty)("ng-valid",t.ngClassValid)("ng-invalid",t.ngClassInvalid)("ng-pending",t.ngClassPending)},features:[r["\u0275\u0275InheritDefinitionFeature"]]}),e})();
1600/**
1601 * @license
1602 * Copyright Google LLC All Rights Reserved.
1603 *
1604 * Use of this source code is governed by an MIT-style license that can be
1605 * found in the LICENSE file at https://angular.io/license
1606 */function S(e){return null==e||0===e.length}function _(e){return null!=e&&"number"==typeof e.length}const E=new r.InjectionToken("NgValidators"),k=new r.InjectionToken("NgAsyncValidators"),x=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class I{static min(e){return t=>{if(S(t.value)||S(e))return null;const n=parseFloat(t.value);return!isNaN(n)&&n<e?{min:{min:e,actual:t.value}}:null}}static max(e){return t=>{if(S(t.value)||S(e))return null;const n=parseFloat(t.value);return!isNaN(n)&&n>e?{max:{max:e,actual:t.value}}:null}}static required(e){return S(e.value)?{required:!0}:null}static requiredTrue(e){return!0===e.value?null:{required:!0}}static email(e){return S(e.value)||x.test(e.value)?null:{email:!0}}static minLength(e){return t=>S(t.value)||!_(t.value)?null:t.value.length<e?{minlength:{requiredLength:e,actualLength:t.value.length}}:null}static maxLength(e){return t=>_(t.value)&&t.value.length>e?{maxlength:{requiredLength:e,actualLength:t.value.length}}:null}
1606static pattern(e){if(!e)return I.nullValidator;let t,n;return"string"==typeof e?(n="","^"!==e.charAt(0)&&(n+="^"),n+=e,"$"!==e.charAt(e.length-1)&&(n+="$"),t=new RegExp(n)):(n=e.toString(),t=e),e=>{if(S(e.value))return null;const r=e.value;return t.test(r)?null:{pattern:{requiredPattern:n,actualValue:r}}}}static nullValidator(e){return null}static compose(e){if(!e)return null;const t=e.filter(O);return 0==t.length?null:function(e){return A(P(e,t))}}static composeAsync(e){if(!e)return null;const t=e.filter(O);return 0==t.length?null:function(e){const n=P(e,t).map(T);return Object(i.a)(n).pipe(Object(s.a)(A))}}}function O(e){return null!=e}function T(e){const t=Object(r["\u0275isPromise"])(e)?Object(a.a)(e):e;return Object(r["\u0275isObservable"])(t),t}function A(e){let t={};return e.forEach(e=>{t=null!=e?Object.assign(Object.assign({},t),e):t}),0===Object.keys(t).length?null:t}function P(e,t){return t.map(t=>t(e))}function D(e){return e.map(e=>function(e){return!e.validate}(e)?e:t=>e.validate(t))}
1607/**
1608 * @license
1609 * Copyright Google LLC All Rights Reserved.
1610 *
1611 * Use of this source code is governed by an MIT-style license that can be
1612 * found in the LICENSE file at https://angular.io/license
1613 */const R={provide:c,useExisting:Object(r.forwardRef)(()=>M),multi:!0};let M=(()=>{class e{constructor(e,t){this._renderer=e,this._elementRef=t,this.onChange=e=>{},this.onTouched=()=>{}}writeValue(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==e?"":e)}registerOnChange(e){this.onChange=t=>{e(""==t?null:parseFloat(t))}}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](r.Renderer2),r["\u0275\u0275directiveInject"](r.ElementRef))},e.\u0275dir=r["\u0275\u0275defineDirective"]({type:e,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(e,t){1&e&&r["\u0275\u0275listener"]("input",(function(e){return t.onChange(e.target.value)}))("blur",(function(){return t.onTouched()}))},features:[r["\u0275\u0275ProvidersFeature"]([R])]}),e})();
1614/**
1615 * @license
1616 * Copyright Google LLC All Rights Reserved.
1617 *
1618 * Use of this source code is governed by an MIT-style license that can be
1619 * found in the LICENSE file at https://angular.io/license
1620 */const N={provide:c,useExisting:Object(r.forwardRef)(()=>F),multi:!0};let j=(()=>{class e{constructor(){this._accessors=[]}add(e,t){this._accessors.push([e,t])}remove(e){for(let t=this._accessors.length-1;t>=0;--t)if(this._accessors[t][1]===e)return void this._accessors.splice(t,1)}select(e){this._accessors.forEach(t=>{this._isSameGroup(t,e)&&t[1]!==e&&t[1].fireUncheck(e.value)})}_isSameGroup(e,t){return!!e[0].control&&e[0]._parent===t._control._parent&&e[1].name===t.name}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=r["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})(),F=(()=>{class e{constructor(e,t,n,r){this._renderer=e,this._elementRef=t,this._registry=n,this._injector=r,this.onChange=()=>{},this.onTouched=()=>{}}ngOnInit(){this._control=this._injector.get(y),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(e){this._state=e===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)}registerOnChange(e){this._fn=e,this.onChange=()=>{e(this.value),this._registry.select(this)}}fireUncheck(e){this.writeValue(e)}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](r.Renderer2),r["\u0275\u0275directiveInject"](r.ElementRef),r["\u0275\u0275directiveInject"](j),r["\u0275\u0275directiveInject"](r.Injector))},e.\u0275dir=r["\u0275\u0275defineDirective"]({type:e,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(e,t){1&e&&r["\u0275\u0275listener"]("change",(function(){return t.onChange()}))("blur",(function(){return t.onTouched()}))},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[r["\u0275\u0275ProvidersFeature"]([N])]}),e})();
1621/**
1622 * @license
1623 * Copyright Google LLC All Rights Reserved.
1624 *
1625 * Use of this source code is governed by an MIT-style license that can be
1626 * found in the LICENSE file at https://angular.io/license
1627 */const L={provide:c,useExisting:Object(r.forwardRef)(()=>V),multi:!0};let V=(()=>{class e{constructor(e,t){this._renderer=e,this._elementRef=t,this.onChange=e=>{},this.onTouched=()=>{}}writeValue(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(e))}registerOnChange(e){this.onChange=t=>{e(""==t?null:parseFloat(t))}}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](r.Renderer2),r["\u0275\u0275directiveInject"](r.ElementRef))},e.\u0275dir=r["\u0275\u0275defineDirective"]({type:e,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(e,t){1&e&&r["\u0275\u0275listener"]("change",(function(e){return t.onChange(e.target.value)}))("input",(function(e){return t.onChange(e.target.value)}))("blur",(function(){return t.onTouched()}))},features:[r["\u0275\u0275ProvidersFeature"]([L])]}),e})();
1628/**
1629 * @license
1630 * Copyright Google LLC All Rights Reserved.
1631 *
1632 * Use of this source code is governed by an MIT-style license that can be
1633 * found in the LICENSE file at https://angular.io/license
1634 */
1635/**
1636 * @license
1637 * Copyright Google LLC All Rights Reserved.
1638 *
1639 * Use of this source code is governed by an MIT-style license that can be
1640 * found in the LICENSE file at https://angular.io/license
1641 */const B={provide:c,useExisting:Object(r.forwardRef)(()=>H),multi:!0};function U(e,t){return null==e?""+t:(t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}let H=(()=>{class e{constructor(e,t){this._renderer=e,this._elementRef=t,this._optionMap=new Map,this._idCounter=0,this.onChange=e=>{},this.onTouched=()=>{},this._compareWith=Object.is}set compareWith(e){this._compareWith=e}writeValue(e){this.value=e;const t=this._getOptionId(e);null==t&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);const n=U(t,e);this._renderer.setProperty(this._elementRef.nativeElement,"value",n)}registerOnChange(e){this.onChange=t=>{this.value=this._getOptionValue(t),e(this.value)}}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}_registerOption(){return(this._idCounter++).toString()}_getOptionId(e){for(const t of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(t),e))return t;return null}_getOptionValue(e){const t=function(e){return e.split(":")[0]}(e);return this._optionMap.has(t)?this._optionMap.get(t):e}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](r.Renderer2),r["\u0275\u0275directiveInject"](r.ElementRef))},e.\u0275dir=r["\u0275\u0275defineDirective"]({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(e,t){1&e&&r["\u0275\u0275listener"]("change",(function(e){return t.onChange(e.target.value)}))("blur",(function(){return t.onTouched()}))},inputs:{compareWith:"compareWith"},features:[r["\u0275\u0275ProvidersFeature"]([B])]}),e})(),G=(()=>{class e{constructor(e,t,n){this._element=e,this._renderer=t,this._select=n,this._select&&(this.id=this._select._registerOption())}set ngValue(e){null!=this._select&&(this._select._optionMap.set(this.id,e),this._setElementValue(U(this.id,e)),this._select.writeValue(this._select.value))}set value(e){this._setElementValue(e),this._select&&this._select.writeValue(this._select.value)}_setElementValue(e){this._renderer.setProperty(this._element.nativeElement,"value",e)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id
1641),this._select.writeValue(this._select.value))}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](r.ElementRef),r["\u0275\u0275directiveInject"](r.Renderer2),r["\u0275\u0275directiveInject"](H,9))},e.\u0275dir=r["\u0275\u0275defineDirective"]({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),e})();
1642/**
1643 * @license
1644 * Copyright Google LLC All Rights Reserved.
1645 *
1646 * Use of this source code is governed by an MIT-style license that can be
1647 * found in the LICENSE file at https://angular.io/license
1648 */const q={provide:c,useExisting:Object(r.forwardRef)(()=>z),multi:!0};function K(e,t){return null==e?""+t:("string"==typeof t&&(t=`'${t}'`),t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}let z=(()=>{class e{constructor(e,t){this._renderer=e,this._elementRef=t,this._optionMap=new Map,this._idCounter=0,this.onChange=e=>{},this.onTouched=()=>{},this._compareWith=Object.is}set compareWith(e){this._compareWith=e}writeValue(e){let t;if(this.value=e,Array.isArray(e)){const n=e.map(e=>this._getOptionId(e));t=(e,t)=>{e._setSelected(n.indexOf(t.toString())>-1)}}else t=(e,t)=>{e._setSelected(!1)};this._optionMap.forEach(t)}registerOnChange(e){this.onChange=t=>{const n=[];if(void 0!==t.selectedOptions){const e=t.selectedOptions;for(let t=0;t<e.length;t++){const r=e.item(t),o=this._getOptionValue(r.value);n.push(o)}}else{const e=t.options;for(let t=0;t<e.length;t++){const r=e.item(t);if(r.selected){const e=this._getOptionValue(r.value);n.push(e)}}}this.value=n,e(n)}}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}_registerOption(e){const t=(this._idCounter++).toString();return this._optionMap.set(t,e),t}_getOptionId(e){for(const t of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(t)._value,e))return t;return null}_getOptionValue(e){const t=function(e){return e.split(":")[0]}(e);return this._optionMap.has(t)?this._optionMap.get(t)._value:e}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](r.Renderer2),r["\u0275\u0275directiveInject"](r.ElementRef))},e.\u0275dir=r["\u0275\u0275defineDirective"]({type:e,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(e,t){1&e&&r["\u0275\u0275listener"]("change",(function(e){return t.onChange(e.target)}))("blur",(function(){return t.onTouched()}))},inputs:{compareWith:"compareWith"},features:[r["\u0275\u0275ProvidersFeature"]([q])]}),e})(),Y=(()=>{class e{constructor(e,t,n){this._element=e,this._renderer=t,this._select=n,this._select&&(this.id=this._select._registerOption(this))}set ngValue(e){null!=this._select&&(this._value=e,this._setElementValue(K(this.id,e)),this._select.writeValue(this._select.value))}set value(e){this._select?(this._value=e,this._setElementValue(K(this.id,e)),this._select.writeValue(this._select.value)):this._setElementValue(e)}_setElementValue(e){this._renderer.setProperty(this._element.nativeElement,"value",e)}_setSelected(e){this._renderer.setProperty(this._element.nativeElement,"selected",e)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](r.ElementRef),r["\u0275\u0275directiveInject"](r.Renderer2),r["\u0275\u0275directiveInject"](z,9))},e.\u0275dir=r["\u0275\u0275defineDirective"]({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),e})();
1649/**
1650 * @license
1651 * Copyright Google LLC All Rights Reserved.
1652 *
1653 * Use of this source code is governed by an MIT-style license that can be
1654 * found in the LICENSE file at https://angular.io/license
1655 */function $(e,t){return[...t.path,e]}function W(e,t){e.validator=I.compose([e.validator,t.validator]),e.asyncValidator=I.composeAsync([e.asyncValidator,t.asyncValidator]),t.valueAccessor.writeValue(e.value),function(e,t){t.valueAccessor.registerOnChange(n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&Z(e,t)})}(e,t),function(e,t){e.registerOnChange((e,n)=>{t.valueAccessor.writeValue(e),n&&t.viewToModelUpdate(e)})}(e,t),function(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&Z(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),t.valueAccessor.setDisabledState&&e.registerOnDisabledChange(e=>{t.valueAccessor.setDisabledState(e)}
1655),t._rawValidators.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(()=>e.updateValueAndValidity())}),t._rawAsyncValidators.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(()=>e.updateValueAndValidity())})}function Z(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function J(e,t){e.validator=I.compose([e.validator,t.validator]),e.asyncValidator=I.composeAsync([e.asyncValidator,t.asyncValidator])}function Q(e){return null!=e?I.compose(D(e)):null}function X(e){return null!=e?I.composeAsync(D(e)):null}function ee(e,t){if(!e.hasOwnProperty("model"))return!1;const n=e.model;return!!n.isFirstChange()||!Object.is(t,n.currentValue)}const te=[u,V,M,H,z,F];function ne(e,t){e._syncPendingControls(),t.forEach(e=>{const t=e.control;"submit"===t.updateOn&&t._pendingChange&&(e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)})}function re(e,t){if(!t)return null;Array.isArray(t);let n=void 0,r=void 0,o=void 0;return t.forEach(e=>{var t;e.constructor===m?n=e:(t=e,te.some(e=>t.constructor===e)?r=e:o=e)}),o||r||n||null}function oe(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function ie(e,t,n,o){Object(r.isDevMode)()&&"never"!==o&&((null!==o&&"once"!==o||t._ngModelWarningSentOnce)&&("always"!==o||n._ngModelWarningSent)||(t._ngModelWarningSentOnce=!0,n._ngModelWarningSent=!0))}
1656/**
1657 * @license
1658 * Copyright Google LLC All Rights Reserved.
1659 *
1660 * Use of this source code is governed by an MIT-style license that can be
1661 * found in the LICENSE file at https://angular.io/license
1662 */function ae(e){return(ue(e)?e.validators:e)||null}function se(e){return Array.isArray(e)?Q(e):e||null}function ce(e,t){return(ue(t)?t.asyncValidators:e)||null}function le(e){return Array.isArray(e)?X(e):e||null}function ue(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class de{constructor(e,t){this._hasOwnPendingAsyncValidator=!1,this._onCollectionChange=()=>{},this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=e,this._rawAsyncValidators=t,this._composedValidatorFn=se(this._rawValidators),this._composedAsyncValidatorFn=le(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get valid(){return"VALID"===this.status}get invalid(){return"INVALID"===this.status}get pending(){return"PENDING"==this.status}get disabled(){return"DISABLED"===this.status}get enabled(){return"DISABLED"!==this.status}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._rawValidators=e,this._composedValidatorFn=se(e)}setAsyncValidators(e){this._rawAsyncValidators=e,this._composedAsyncValidatorFn=le(e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(e=>e.markAllAsTouched())}markAsUntouched(e={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(e=>{e.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}
vendor: 8,620 bytes, line 1662
1662markAsDirty(e={}){this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}markAsPristine(e={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(e=>{e.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}markAsPending(e={}){this.status="PENDING",!1!==e.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}disable(e={}){const t=this._parentMarkedDirty(e.onlySelf);this.status="DISABLED",this.errors=null,this._forEachChild(t=>{t.disable(Object.assign(Object.assign({},e),{onlySelf:!0}))}),this._updateValue(),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach(e=>e(!0))}enable(e={}){const t=this._parentMarkedDirty(e.onlySelf);this.status="VALID",this._forEachChild(t=>{t.enable(Object.assign(Object.assign({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach(e=>e(!1))}_updateAncestors(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(e){this._parent=e}updateValueAndValidity(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)}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e){if(this.asyncValidator){this.status="PENDING",this._hasOwnPendingAsyncValidator=!0;const t=T(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(t=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(t,{emitEvent:e})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(e,t={}){this.errors=e,this._updateControlsErrors(!1!==t.emitEvent)}get(e){return function(e,t,n){if(null==t)return null;if(Array.isArray(t)||(t=t.split(".")),Array.isArray(t)&&0===t.length)return null;let r=e;return t.forEach(e=>{r=r instanceof me?r.controls.hasOwnProperty(e)?r.controls[e]:null:r instanceof pe&&r.at(e)||null}),r}(this,e)}getError(e,t){const n=t?this.get(t):this;return n&&n.errors?n.errors[e]:null}hasError(e,t){return!!this.getError(e,t)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}_initObservables(){this.valueChanges=new r.EventEmitter,this.statusChanges=new r.EventEmitter}_calculateStatus(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"}_anyControlsHaveStatus(e){return this._anyControls(t=>t.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e={}){this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}_updateTouched(e={}){this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}_isBoxedValue(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){ue(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){return!e&&this._parent&&this._parent.dirty&&!this._parent._anyControlsDirty()}}class he extends de{constructor(e=null,t,n){super(ae(t),ce(n,t)),this._onChange=[],this._applyFormState(e),this._setUpdateStrategy(t),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),this._initObservables()}setValue(e,t={}){this.value=this._pendingValue=e,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach(e=>e(this.value,!1!==t.emitViewToModelChange)),this.updateValueAndValidity(t)}patchValue(e,t={}){this.setValue(e,t)}reset(e=null,t={}){this._applyFormState(e),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_clearChangeFns(){this._onChange=[],this._onDisabledChange=[],this._onCollectionChange=()=>{}}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_forEachChild(e){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(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}}class me extends de{constructor(e,t,n){super(ae(t),ce(n,t)),this.controls=e,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1})}registerControl(e,t){return this.controls[e]?this.controls[e]:(this.controls[e]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}addControl(e,t){this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()}removeControl(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity(),this._onCollectionChange()}setControl(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],t&&this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,t={}){this._checkAllValuesPresent(e),Object.keys(e).forEach(n=>{this._throwIfControlMissing(n),this.controls[n].setValue(e[n],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(e,t={}){Object.keys(e).forEach(n=>{this.controls[n]&&this.controls[n].patchValue(e[n],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}reset(e={},t={}){this._forEachChild((n,r)=>{n.reset(e[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this._reduceChildren({},(e,t,n)=>(e[n]=t instanceof he?t.value:t.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(e,t)=>!!t._syncPendingControls()||e);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_throwIfControlMissing(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}.`)}_forEachChild(e){Object.keys(this.controls).forEach(t=>e(this.controls[t],t))}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(const t of Object.keys(this.controls)){const n=this.controls[t];if(this.contains(t)&&e(n))return!0}return!1}_reduceValue(){return this._reduceChildren({},(e,t,n)=>((t.enabled||this.disabled)&&(e[n]=t.value),e))}_reduceChildren(e,t){let n=e;return this._forEachChild((e,r)=>{n=t(n,e,r)}),n}_allControlsDisabled(){for(const e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_checkAllValuesPresent(e){this._forEachChild((t,n)=>{if(void 0===e[n])throw new Error(`Must supply a value for form control with name: '${n}'.`)})}}class pe extends de{constructor(e,t,n){super(ae(t),ce(n,t)),this.controls=e,this._initOb
1662servables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1})}at(e){return this.controls[e]}push(e){this.controls.push(e),this._registerControl(e),this.updateValueAndValidity(),this._onCollectionChange()}insert(e,t){this.controls.splice(e,0,t),this._registerControl(t),this.updateValueAndValidity()}removeAt(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),this.controls.splice(e,1),this.updateValueAndValidity()}setControl(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),this.controls.splice(e,1),t&&(this.controls.splice(e,0,t),this._registerControl(t)),this.updateValueAndValidity(),this._onCollectionChange()}get length(){return this.controls.length}setValue(e,t={}){this._checkAllValuesPresent(e),e.forEach((e,n)=>{this._throwIfControlMissing(n),this.at(n).setValue(e,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(e,t={}){e.forEach((e,n)=>{this.at(n)&&this.at(n).patchValue(e,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}reset(e=[],t={}){this._forEachChild((n,r)=>{n.reset(e[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this.controls.map(e=>e instanceof he?e.value:e.getRawValue())}clear(){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity())}_syncPendingControls(){let e=this.controls.reduce((e,t)=>!!t._syncPendingControls()||e,!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_throwIfControlMissing(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)}_forEachChild(e){this.controls.forEach((t,n)=>{e(t,n)})}_updateValue(){this.value=this.controls.filter(e=>e.enabled||this.disabled).map(e=>e.value)}_anyControls(e){return this.controls.some(t=>t.enabled&&e(t))}_setUpControls(){this._forEachChild(e=>this._registerControl(e))}_checkAllValuesPresent(e){this._forEachChild((t,n)=>{if(void 0===e[n])throw new Error(`Must supply a value for form control at index: ${n}.`)})}_allControlsDisabled(){for(const e of this.controls)if(e.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(e){e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)
1663/**
1664 * @license
1665 * Copyright Google LLC All Rights Reserved.
1666 *
1667 * Use of this source code is governed by an MIT-style license that can be
1668 * found in the LICENSE file at https://angular.io/license
1669 */}}const fe={provide:f,useExisting:Object(r.forwardRef)(()=>ye)},ge=(()=>Promise.resolve(null))();let ye=(()=>{class e extends f{constructor(e,t){super(),this.submitted=!1,this._directives=[],this.ngSubmit=new r.EventEmitter,this.form=new me({},Q(e),X(t))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){ge.then(()=>{const t=this._findContainer(e.path);e.control=t.registerControl(e.name,e.control),W(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.push(e)})}getControl(e){return this.form.get(e.path)}
1669removeControl(e){ge.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name),oe(this._directives,e)})}addFormGroup(e){ge.then(()=>{const t=this._findContainer(e.path),n=new me({});J(n,e),t.registerControl(e.name,n),n.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){ge.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,t){ge.then(()=>{this.form.get(e.path).setValue(t)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,ne(this.form,this._directives),this.ngSubmit.emit(e),!1}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](E,10),r["\u0275\u0275directiveInject"](k,10))},e.\u0275dir=r["\u0275\u0275defineDirective"]({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,t){1&e&&r["\u0275\u0275listener"]("submit",(function(e){return t.onSubmit(e)}))("reset",(function(){return t.onReset()}))},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[r["\u0275\u0275ProvidersFeature"]([fe]),r["\u0275\u0275InheritDefinitionFeature"]]}),e})(),ve=(()=>{class e extends f{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return $(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}get validator(){return Q(this._validators)}get asyncValidator(){return X(this._asyncValidators)}_checkParentType(){}}return e.\u0275fac=function(t){return be(t||e)},e.\u0275dir=r["\u0275\u0275defineDirective"]({type:e,features:[r["\u0275\u0275InheritDefinitionFeature"]]}),e})();const be=r["\u0275\u0275getInheritedFactory"](ve),Ce={provide:f,useExisting:Object(r.forwardRef)(()=>we)};
1670/**
1671 * @license
1672 * Copyright Google LLC All Rights Reserved.
1673 *
1674 * Use of this source code is governed by an MIT-style license that can be
1675 * found in the LICENSE file at https://angular.io/license
1676 */let we=(()=>{class e extends ve{constructor(e,t,n){super(),this._parent=e,this._validators=t,this._asyncValidators=n}_checkParentType(){}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](f,5),r["\u0275\u0275directiveInject"](E,10),r["\u0275\u0275directiveInject"](k,10))},e.\u0275dir=r["\u0275\u0275defineDirective"]({type:e,selectors:[["","ngModelGroup",""]],inputs:{name:["ngModelGroup","name"]},exportAs:["ngModelGroup"],features:[r["\u0275\u0275ProvidersFeature"]([Ce]),r["\u0275\u0275InheritDefinitionFeature"]]}),e})();
1677/**
1678 * @license
1679 * Copyright Google LLC All Rights Reserved.
1680 *
1681 * Use of this source code is governed by an MIT-style license that can be
1682 * found in the LICENSE file at https://angular.io/license
1683 */const Se={provide:y,useExisting:Object(r.forwardRef)(()=>Ee)},_e=(()=>Promise.resolve(null))();let Ee=(()=>{class e extends y{constructor(e,t,n,o){super(),this.control=new he,this._registered=!1,this.update=new r.EventEmitter,this._parent=e,this._rawValidators=t||[],this._rawAsyncValidators=n||[],this.valueAccessor=re(0,o)}ngOnChanges(e){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in e&&this._updateDisabled(e),ee(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._parent?$(this.name,this._parent):[this.name]}get formDirective(){return this._parent?this._parent.formDirective:null}get validator(){return Q(this._rawValidators)}get asyncValidator(){return X(this._rawAsyncValidators)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){W(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(e){_e.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1})})}_updateDisabled(e){const t=e.isDisabled.currentValue,n=""===t||t&&"false"!==t;_e.then(()=>{n&&!this.control.disabled?this.control.disable():!n&&this.control.disabled&&this.control.enable()})}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](f,9),r["\u0275\u0275directiveInject"](E,10),r["\u0275\u0275directiveInject"](k,10),r["\u0275\u0275directiveInject"](c,10))},e.\u0275dir=r["\u0275\u0275defineDirective"]({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[r["\u0275\u0275ProvidersFeature"]([Se]),r["\u0275\u0275InheritDefinitionFeature"],r["\u0275\u0275NgOnChangesFeature"]]}),e})(),ke=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=r["\u0275\u0275defineDirective"]({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),e})();
1684/**
1685 * @license
1686 * Copyright Google LLC All Rights Reserved.
1687 *
1688 * Use of this source code is governed by an MIT-style license that can be
1689 * found in the LICENSE file at https://angular.io/license
1690 */const xe=new r.InjectionToken("NgModelWithFormControlWarning"),Ie={provide:y,useExisting:Object(r.forwardRef)(()=>Oe)};let Oe=(()=>{class e extends y{constructor(e,t,n,o){super(),this._ngModelWarningConfig=o,this.update=new r.EventEmitter,this._ngModelWarningSent=!1,this._rawValidators=e||[],this._rawAsyncValidators=t||[],this.valueAccessor=re(0,n)}set isDisabled(e){}ngOnChanges(t){this._isControlChanged(t)&&(W(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})),ee(t,this.viewModel)&&(ie(0,e,this,this._ngModelWarningConfig),this.form.setValue(this.model),this.viewModel=this.model)}get path(){return[]}get validator(){return Q(this._rawValidators)}get asyncValidator(){return X(this._rawAsyncValidators)}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_isControlChanged(e){return e.hasOwnProperty("form")}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](E,10),r["\u0275\u0275directiveInject"](k,10),r["\u0275\u0275directiveInject"](c,10),r["\u0275\u0275directiveInject"](xe,8))},e.\u0275dir=r["\u0275\u0275defineDirective"]({type:e,selectors:[["","formControl",""]],inputs:{isDisabled:["disabled","isDisabled"],form:["formControl","form"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[r["\u0275\u0275ProvidersFeature"]([Ie]),r["\u0275\u0275InheritDefinitionFeature"],r["\u0275\u0275NgOnChangesFeature"]]}),e._ngModelWarningSentOnce=!1,e})();
1691/**
1692 * @license
1693 * Copyright Google LLC All Rights Reserved.
1694 *
1695 * Use of this source code is governed by an MIT-style license that can be
1696 * found in the LICENSE file at https://angular.io/license
1697 */const Te={provide:f,useExisting:Object(r.forwardRef)(()=>Ae)};let Ae=(()=>
1697{class e extends f{constructor(e,t){super(),this._validators=e,this._asyncValidators=t,this.submitted=!1,this.directives=[],this.form=null,this.ngSubmit=new r.EventEmitter}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations())}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){const t=this.form.get(e.path);return W(t,e),t.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),t}getControl(e){return this.form.get(e.path)}removeControl(e){oe(this.directives,e)}addFormGroup(e){const t=this.form.get(e.path);J(t,e),t.updateValueAndValidity({emitEvent:!1})}removeFormGroup(e){}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){const t=this.form.get(e.path);J(t,e),t.updateValueAndValidity({emitEvent:!1})}removeFormArray(e){}getFormArray(e){return this.form.get(e.path)}updateModel(e,t){this.form.get(e.path).setValue(t)}onSubmit(e){return this.submitted=!0,ne(this.form,this.directives),this.ngSubmit.emit(e),!1}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_updateDomValue(){this.directives.forEach(e=>{const t=this.form.get(e.path);e.control!==t&&(function(e,t){const n=()=>{};t.valueAccessor.registerOnChange(n),t.valueAccessor.registerOnTouched(n),t._rawValidators.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(null)}),t._rawAsyncValidators.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(null)}),e&&e._clearChangeFns()}(e.control,e),t&&W(t,e),e.control=t)}),this.form._updateTreeValidity({emitEvent:!1})}_updateRegistrations(){this.form._registerOnCollectionChange(()=>this._updateDomValue()),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{}),this._oldForm=this.form}_updateValidators(){const e=Q(this._validators);this.form.validator=I.compose([this.form.validator,e]);const t=X(this._asyncValidators);this.form.asyncValidator=I.composeAsync([this.form.asyncValidator,t])}_checkFormPresent(){}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](E,10),r["\u0275\u0275directiveInject"](k,10))},e.\u0275dir=r["\u0275\u0275defineDirective"]({type:e,selectors:[["","formGroup",""]],hostBindings:function(e,t){1&e&&r["\u0275\u0275listener"]("submit",(function(e){return t.onSubmit(e)}))("reset",(function(){return t.onReset()}))},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[r["\u0275\u0275ProvidersFeature"]([Te]),r["\u0275\u0275InheritDefinitionFeature"],r["\u0275\u0275NgOnChangesFeature"]]}),e})();
1698/**
1699 * @license
1700 * Copyright Google LLC All Rights Reserved.
1701 *
1702 * Use of this source code is governed by an MIT-style license that can be
1703 * found in the LICENSE file at https://angular.io/license
1704 */const Pe={provide:f,useExisting:Object(r.forwardRef)(()=>De)};let De=(()=>{class e extends ve{constructor(e,t,n){super(),this._parent=e,this._validators=t,this._asyncValidators=n}_checkParentType(){Ne(this._parent)}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](f,13),r["\u0275\u0275directiveInject"](E,10),r["\u0275\u0275directiveInject"](k,10))},e.\u0275dir=r["\u0275\u0275defineDirective"]({type:e,selectors:[["","formGroupName",""]],inputs:{name:["formGroupName","name"]},features:[r["\u0275\u0275ProvidersFeature"]([Pe]),r["\u0275\u0275InheritDefinitionFeature"]]}),e})();const Re={provide:f,useExisting:Object(r.forwardRef)(()=>Me)};let Me=(()=>{class e extends f{constructor(e,t,n){super(),this._parent=e,this._validators=t,this._asyncValidators=n}ngOnInit(){this._checkParentType(),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return $(null==this.name?this.name:this.name.toString(),this._parent)}get validator(){return Q(this._validators)}get asyncValidator(){return X(this._asyncValidators)}_checkParentType(){Ne(this._parent)}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](f,13),r["\u0275\u0275directiveInject"](E,10),r["\u0275\u0275directiveInject"](k,10))},e.\u0275dir=r["\u0275\u0275defineDirective"]({type:e,selectors:[["","formArrayName",""]],inputs:{name:["formArrayName","name"]},features:[r["\u0275\u0275ProvidersFeature"]([Re]),r["\u0275\u0275InheritDefinitionFeature"]]}),e})();function Ne(e){return!(e instanceof De||e instanceof Ae||e instanceof Me)}
1705/**
1706 * @license
1707 * Copyright Google LLC All Rights Reserved.
1708 *
1709 * Use of this source code is governed by an MIT-style license that can be
1710 * found in the LICENSE file at https://angular.io/license
1711 */const je={provide:y,useExisting:Object(r.forwardRef)(()=>Fe)};let Fe=(()=>{class e extends y{constructor(e,t,n,o,i){super(),this._ngModelWarningConfig=i,this._added=!1,this.update=new r.EventEmitter,this._ngModelWarningSent=!1,this._parent=e,this._rawValidators=t||[],this._rawAsyncValidators=n||[],this.valueAccessor=re(0,o)}set isDisabled(e){}ngOnChanges(t){this._added||this._setUpControl(),ee(t,this.viewModel)&&(ie(0,e,this,this._ngModelWarningConfig),this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return $(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}get validator(){return Q(this._rawValidators)}get asyncValidator(){return X(this._rawAsyncValidators)}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](f,13),r["\u0275\u0275directiveInject"](E,10),r["\u0275\u0275directiveInject"](k,10),r["\u0275\u0275directiveInject"](c,10),r["\u0275\u0275directiveInject"](xe,8))},e.\u0275dir=r["\u0275\u0275defineDirective"]({type:e,selectors:[["","formControlName",""]],inputs:{isDisabled:["disabled","isDisabled"],name:["formControlName","name"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[r["\u0275\u0275ProvidersFeature"]([je]),r["\u0275\u0275InheritDefinitionFeature"],r["\u0275\u0275NgOnChangesFeature"]]}),e._ngModelWarningSentOnce=!1,e})();
1712/**
1713 * @license
1714 * Copyright Google LLC All Rights Reserved.
1715 *
1716 * Use of this source code is governed by an MIT-style license that can be
1717 * found in the LICENSE file at https://angular.io/license
1718 */const Le={provide:E,useExisting:Object(r.forwardRef)(()=>Be),multi:!0},Ve={provide:E,useExisting:Object(r.forwardRef)(()=>Ue),multi:!0};let Be=(()=>{class e{constructor(){this._required=!1}get required(){return this._required}set required(e){this._required=null!=e&&!1!==e&&""+e!="false",this._onChange&&this._onChange()}validate(e){return this.required?I.required(e):null}registerOnValidatorChange(e){this._onChange=e}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=r["\u0275\u0275defineDirective"]({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&&r["\u0275\u0275attribute"]("required",t.required?"":null)},inputs:{required:"required"},features:[r["\u0275\u0275ProvidersFeature"]([Le])]}),e})(),Ue=(()=>{class e extends Be{validate(e){return this.required?I.requiredTrue(e):null}}return e.\u0275fac=function(t){return He(t||e)},e.\u0275dir=r["\u0275\u0275defineDirective"]({type:e,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(e,t){2&e&&r["\u0275\u0275attribute"]("required",t.required?"":null)},features:[r["\u0275\u0275ProvidersFeature"]([Ve]),r["\u0275\u0275InheritDefinitionFeature"]]}),e})();
1718const He=r["\u0275\u0275getInheritedFactory"](Ue),Ge={provide:E,useExisting:Object(r.forwardRef)(()=>qe),multi:!0};let qe=(()=>{class e{constructor(){this._enabled=!1}set email(e){this._enabled=""===e||!0===e||"true"===e,this._onChange&&this._onChange()}validate(e){return this._enabled?I.email(e):null}registerOnValidatorChange(e){this._onChange=e}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=r["\u0275\u0275defineDirective"]({type:e,selectors:[["","email","","formControlName",""],["","email","","formControl",""],["","email","","ngModel",""]],inputs:{email:"email"},features:[r["\u0275\u0275ProvidersFeature"]([Ge])]}),e})();const Ke={provide:E,useExisting:Object(r.forwardRef)(()=>ze),multi:!0};let ze=(()=>{class e{constructor(){this._validator=I.nullValidator}ngOnChanges(e){"minlength"in e&&(this._createValidator(),this._onChange&&this._onChange())}validate(e){return null==this.minlength?null:this._validator(e)}registerOnValidatorChange(e){this._onChange=e}_createValidator(){this._validator=I.minLength("number"==typeof this.minlength?this.minlength:parseInt(this.minlength,10))}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=r["\u0275\u0275defineDirective"]({type:e,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(e,t){2&e&&r["\u0275\u0275attribute"]("minlength",t.minlength?t.minlength:null)},inputs:{minlength:"minlength"},features:[r["\u0275\u0275ProvidersFeature"]([Ke]),r["\u0275\u0275NgOnChangesFeature"]]}),e})();const Ye={provide:E,useExisting:Object(r.forwardRef)(()=>$e),multi:!0};let $e=(()=>{class e{constructor(){this._validator=I.nullValidator}ngOnChanges(e){"maxlength"in e&&(this._createValidator(),this._onChange&&this._onChange())}validate(e){return null!=this.maxlength?this._validator(e):null}registerOnValidatorChange(e){this._onChange=e}_createValidator(){this._validator=I.maxLength("number"==typeof this.maxlength?this.maxlength:parseInt(this.maxlength,10))}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=r["\u0275\u0275defineDirective"]({type:e,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(e,t){2&e&&r["\u0275\u0275attribute"]("maxlength",t.maxlength?t.maxlength:null)},inputs:{maxlength:"maxlength"},features:[r["\u0275\u0275ProvidersFeature"]([Ye]),r["\u0275\u0275NgOnChangesFeature"]]}),e})();const We={provide:E,useExisting:Object(r.forwardRef)(()=>Ze),multi:!0};let Ze=(()=>{class e{constructor(){this._validator=I.nullValidator}ngOnChanges(e){"pattern"in e&&(this._createValidator(),this._onChange&&this._onChange())}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}_createValidator(){this._validator=I.pattern(this.pattern)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=r["\u0275\u0275defineDirective"]({type:e,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(e,t){2&e&&r["\u0275\u0275attribute"]("pattern",t.pattern?t.pattern:null)},inputs:{pattern:"pattern"},features:[r["\u0275\u0275ProvidersFeature"]([We]),r["\u0275\u0275NgOnChangesFeature"]]}),e})();
1719/**
1720 * @license
1721 * Copyright Google LLC All Rights Reserved.
1722 *
1723 * Use of this source code is governed by an MIT-style license that can be
1724 * found in the LICENSE file at https://angular.io/license
1725 */const Je=[ke,G,Y,m,M,V,u,H,z,F,C,w,Be,ze,$e,Ze,Ue,qe],Qe=[Ee,we,ye],Xe=[Oe,Ae,Fe,De,Me];let et=(()=>{class e{}return e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)}}),e})(),tt=(()=>{class e{group(e,t=null){const n=this._reduceControls(e);let r=null,o=null,i=void 0;return null!=t&&(
1726/**
1727 * @license
1728 * Copyright Google LLC All Rights Reserved.
1729 *
1730 * Use of this source code is governed by an MIT-style license that can be
1731 * found in the LICENSE file at https://angular.io/license
1732 */function(e){return void 0!==e.asyncValidators||void 0!==e.validators||void 0!==e.updateOn}(t)?(r=null!=t.validators?t.validators:null,o=null!=t.asyncValidators?t.asyncValidators:null,i=null!=t.updateOn?t.updateOn:void 0):(r=null!=t.validator?t.validator:null,o=null!=t.asyncValidator?t.asyncValidator:null)),new me(n,{asyncValidators:o,updateOn:i,validators:r})}control(e,t,n){return new he(e,t,n)}array(e,t,n){const r=e.map(e=>this._createControl(e));return new pe(r,t,n)}_reduceControls(e){const t={};return Object.keys(e).forEach(n=>{t[n]=this._createControl(e[n])}),t}_createControl(e){return e instanceof he||e instanceof me||e instanceof pe?e:Array.isArray(e)?this.control(e[0],e.length>1?e[1]:null,e.length>2?e[2]:null):this.control(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=r["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})();
1733/**
1734 * @license
1735 * Copyright Google LLC All Rights Reserved.
1736 *
1737 * Use of this source code is governed by an MIT-style license that can be
1738 * found in the LICENSE file at https://angular.io/license
1739 */const nt=new r.Version("10.2.5");let rt=(()=>{class e{}return e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},providers:[j],imports:[et]}),e})(),ot=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:xe,useValue:t.warnOnNgModelWithFormControl}]}}}return e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},providers:[tt,j],imports:[et]}),e})()},sunR:function(e,t,n){var r=n("yNUO");e.exports=function(e,t){var n=r(e),o=r(t);return 12*(n.getFullYear()-o.getFullYear())+(n.getMonth()-o.getMonth())}},t4rR:function(e,t,n){var r=n("yNUO"),o=n("iUbB");e.exports=function(e,t,n){var i=n&&Number(n.weekStartsOn)||0,a=r(e),s=Number(t),c=a.getDay();return o(a,((s%7+7)%7<i?7:0)+s-c)}},tMf1:function(e,t,n){var r=n("x84W");e.exports=function(e){return r(e,{weekStartsOn:1}
1739)}},"tg+8":function(e,t,n){var r=n("yNUO");e.exports=function(e){return r(e).getDate()}},u3z5:function(e,t,n){var r=n("yHON"),o=n("yNUO"),i=n("4Toj"),a=n("Us+F");e.exports=function(e,t,n){var s=n||{},c=r(e,t),l=s.locale,u=a.distanceInWords.localize;l&&l.distanceInWords&&l.distanceInWords.localize&&(u=l.distanceInWords.localize);var d,h,m,p={addSuffix:Boolean(s.addSuffix),comparison:c};c>0?(d=o(e),h=o(t)):(d=o(t),h=o(e));var f=Math[s.partialMethod?String(s.partialMethod):"floor"],g=i(h,d),y=h.getTimezoneOffset()-d.getTimezoneOffset(),v=f(g/60)-y;if("s"===(m=s.unit?String(s.unit):v<1?"s":v<60?"m":v<1440?"h":v<43200?"d":v<525600?"M":"Y"))return u("xSeconds",g,p);if("m"===m)return u("xMinutes",v,p);if("h"===m)return u("xHours",f(v/60),p);if("d"===m)return u("xDays",f(v/1440),p);if("M"===m)return u("xMonths",f(v/43200),p);if("Y"===m)return u("xYears",f(v/525600),p);throw new Error("Unknown unit: "+m)}},uKeJ:function(e,t,n){var r=n("yNUO");e.exports=function(e){var t=r(e),n=t.getFullYear();return t.setFullYear(n+1,0,0),t.setHours(0,0,0,0),t}},uPm0:function(e,t,n){var r=n("yNUO");e.exports=function(e){var t=r(e);return Math.floor(t.getMonth()/3)+1}},uttN:function(e,t,n){var r=n("7B8A");e.exports=function(e,t){var n=Number(t);return r(e,-n)}},wrXb:function(e,t,n){var r=n("yNUO");e.exports=function(e){return r(e).getDay()}},x84W:function(e,t,n){var r=n("yNUO");e.exports=function(e,t){var n=t&&Number(t.weekStartsOn)||0,o=r(e),i=o.getDay(),a=(i<n?7:0)+i-n;return o.setDate(o.getDate()-a),o.setHours(0,0,0,0),o}},xMJQ:function(e,t,n){var r=n("yNUO");e.exports=function(e,t,n){var o=r(e),i=void 0!==n?n:1,a=r(t).getTime();if(o.getTime()>a)throw new Error("The first date cannot be after the second date");var s=[],c=o;for(c.setHours(0,0,0,0);c.getTime()<=a;)s.push(r(c)),c.setDate(c.getDate()+i);return s}},xPkr:function(e,t,n){var r=n("CXhC");e.exports=function(e){var t=new Date;return t.setDate(t.getDate()-1),r(e).getTime()===r(t).getTime()}},xYlI:function(e,t,n){var r=n("yNUO");e.exports=function(e){return r(e).getMinutes()}},xq5I:function(e,t,n){var r=n("IpkJ");e.exports=function(e,t){var n=r(e),o=r(t);return n.getTime()===o.getTime()}},"y5a+":function(e,t,n){var r=n("yNUO");e.exports=function(e,t){var n=t&&Number(t.weekStartsOn)||0,o=r(e),i=o.getDay(),a=6+(i<n?-7:0)-(i-n);return o.setHours(0,0,0,0),o.setDate(o.getDate()+a),o}},yCtX:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n("HDdC"),o=n("ngJS"),i=n("jZKg");function a(e,t){return t?Object(i.a)(e,t):new r.a(Object(o.a)(e))}},yHON:function(e,t,n){var r=n("yNUO");e.exports=function(e,t){var n=r(e).getTime(),o=r(t).getTime();return n>o?-1:n<o?1:0}},yNUO:function(e,t,n){var r=n("VGX7"),o=n("pzWd"),i=/[T ]/,a=/:/,s=/^(\d{2})$/,c=[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],l=/^(\d{4})/,u=[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],d=/^-(\d{2})$/,h=/^-?(\d{3})$/,m=/^-?(\d{2})-?(\d{2})$/,p=/^-?W(\d{2})$/,f=/^-?W(\d{2})-?(\d{1})$/,g=/^(\d{2}([.,]\d*)?)$/,y=/^(\d{2}):?(\d{2}([.,]\d*)?)$/,v=/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,b=/([Z+-].*)$/,C=/^(Z)$/,w=/^([+-])(\d{2})$/,S=/^([+-])(\d{2}):?(\d{2})$/;function _(e,t,n){t=t||0,n=n||0;var r=new Date(0);r.setUTCFullYear(e,0,4);var o=7*t+n+1-(r.getUTCDay()||7);return r.setUTCDate(r.getUTCDate()+o),r}e.exports=function(e,t){if(o(e))return new Date(e.getTime());if("string"!=typeof e)return new Date(e);var n=(t||{}).additionalDigits;n=null==n?2:Number(n);var E,k,x=function(e){var t,n={},r=e.split(i);if(a.test(r[0])?(n.date=null,t=r[0]):(n.date=r[0],t=r[1]),t){var o=b.exec(t);
1739o?(n.time=t.replace(o[1],""),n.timezone=o[1]):n.time=t}return n}(e),I=function(e,t){var n,r=c[t],o=u[t];if(n=l.exec(e)||o.exec(e)){var i=n[1];return{year:parseInt(i,10),restDateString:e.slice(i.length)}}if(n=s.exec(e)||r.exec(e)){var a=n[1];return{year:100*parseInt(a,10),restDateString:e.slice(a.length)}}return{year:null}}(x.date,n),O=function(e,t){if(null===t)return null;var n,r,o;if(0===e.length)return(r=new Date(0)).setUTCFullYear(t),r;if(n=d.exec(e))return r=new Date(0),o=parseInt(n[1],10)-1,r.setUTCFullYear(t,o),r;if(n=h.exec(e)){r=new Date(0);var i=parseInt(n[1],10);return r.setUTCFullYear(t,0,i),r}if(n=m.exec(e)){r=new Date(0),o=parseInt(n[1],10)-1;var a=parseInt(n[2],10);return r.setUTCFullYear(t,o,a),r}return(n=p.exec(e))?_(t,parseInt(n[1],10)-1):(n=f.exec(e))?_(t,parseInt(n[1],10)-1,parseInt(n[2],10)-1):null}(I.restDateString,I.year);if(O){var T,A=O.getTime(),P=0;if(x.time&&(P=(k=g.exec(E=x.time))?parseFloat(k[1].replace(",","."))%24*36e5:(k=y.exec(E))?parseInt(k[1],10)%24*36e5+6e4*parseFloat(k[2].replace(",",".")):(k=v.exec(E))?parseInt(k[1],10)%24*36e5+6e4*parseInt(k[2],10)+1e3*parseFloat(k[3].replace(",",".")):null),x.timezone)T=6e4*function(e){var t,n;return(t=C.exec(e))?0:(t=w.exec(e))?(n=60*parseInt(t[2],10),"+"===t[1]?-n:n):(t=S.exec(e))?(n=60*parseInt(t[2],10)+parseInt(t[3],10),"+"===t[1]?-n:n):0}(x.timezone);else{var D=A+P,R=new Date(D);T=r(R);var M=new Date(D);M.setDate(R.getDate()+1);var N=r(M)-r(R);N>0&&(T+=N)}return new Date(A+P+T)}return new Date(e)}},yYDL:function(e,t,n){var r=n("yNUO");e.exports=function(e){return 3===r(e).getDay()}},"z+Ro":function(e,t,n){"use strict";function r(e){return e&&"function"==typeof e.schedule}n.d(t,"a",(function(){return r}))},zGRt:function(e,t,n){var r=n("zM65");e.exports=function(e){return r(new Date,e)}},zM65:function(e,t,n){var r=n("G6+r");e.exports=function(e,t){return r(e,t,{weekStartsOn:1})}},zUnb:function(e,t,n){"use strict";n.r(t);var r=n("8Y7J"),o=n("cUpR"),i=n("SVse"),a=n("z+Ro"),s=n("yCtX"),c=n("jZKg");function l(...e){let t=e[e.length-1];return Object(a.a)(t)?(e.pop(),Object(c.a)(e,t)):Object(s.a)(e)}var u=n("Cfvw"),d=n("XNiG"),h=n("9ppp");class m extends d.a{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){const t=super._subscribe(e);return t&&!t.closed&&e.next(this._value),t}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new h.a;return this._value}next(e){super.next(this._value=e)}}var p=n("DH7j"),f=n("7o/Q");class g extends f.a{notifyNext(e,t,n,r,o){this.destination.next(t)}notifyError(e,t){this.destination.error(e)}notifyComplete(e){this.destination.complete()}}class y extends f.a{constructor(e,t,n){super(),this.parent=e,this.outerValue=t,this.outerIndex=n,this.index=0}_next(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)}_error(e){this.parent.notifyError(e,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}var v=n("SeVD"),b=n("HDdC");function C(e,t,n,r,o=new y(e,n,r)){if(!o.closed)return t instanceof b.a?t.subscribe(o):Object(v.a)(t)(o)}const w={};class S{constructor(e){this.resultSelector=e}call(e,t){return t.subscribe(new _(e,this.resultSelector))}}class _ extends g{constructor(e,t){super(e),this.resultSelector=t,this.active=0,this.values=[],this.observables=[]}_next(e){this.values.push(w),this.observables.push(e)}_complete(){const e=this.observables,t=e.length;if(0===t)this.destination.complete();else{this.active=t,this.toRespond=t;for(let n=0;n<t;n++)this.add(C(this,e[n],void 0,n))}}notifyComplete(e){0==(this.active-=1)&&this.destination.complete()}notifyNext(e,t,n){const r=this.values,o=this.toRespond?r[n]===w?--this.toRespond:this.toRespond:0;r[n]=t,0===o&&(this.resultSelector?this._tryResultSelector(r):this.destination.next(r.slice()))}_tryResultSelector(e){let t;try{t=this.resultSelector.apply(this,e)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}const E=(()=>{function e(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return e.prototype=Object.create(Error.prototype),e})(),k=new b.a(e=>e.complete());function x(e){return e?function(e){return new b.a(t=>e.schedule(()=>t.complete()))}(e):k}function I(e){return new b.a(t=>{let n;try{n=e()}catch(r){return void t.error(r)}return(n?Object(u.a)(n):x()).subscribe(t)})}var O=n("lJxs"),T=n("bHdf");function A(){return Object(T.a)(1)}function P(e,t){return function(n){return n.lift(new D(e,t))}}class D{constructor(e,t){this.predicate=e,this.thisArg=t}call(e,t){return t.subscribe(new R(e,this.predicate,this.thisArg))}}class R extends f.a{constructor(e,t,n){super(e),this.predicate=t,this.thisArg=n,this.count=0}_next(e){let t;try{t=this.predicate.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}t&&this.destination.next(e)}}const M=(()=>{function e(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return e.prototype=Object.create(Error.prototype),e})();function N(e){return function(t){return 0===e?x():t.lift(new j(e))}}class j{constructor(e){if(this.total=e,this.total<0)throw new M}call(e,t){return t.subscribe(new F(e,this.total))}}class F extends f.a{constructor(e,t){super(e),this.total=t,this.ring=new Array,this.count=0}_next(e){const t=this.ring,n=this.total,r=this.count++;t.length<n?t.push(e):t[r%n]=e}_complete(){const e=this.destination;let t=this.count;if(t>0){const n=this.count>=this.total?this.total:this.count,r=this.ring;for(let o=0;o<n;o++){const o=t++%n;e.next(r[o])}}e.complete()}}function L(e=U){return t=>t.lift(new V(e))}class V{constructor(e){this.errorFactory=e}
1739call(e,t){return t.subscribe(new B(e,this.errorFactory))}}class B extends f.a{constructor(e,t){super(e),this.errorFactory=t,this.hasValue=!1}_next(e){this.hasValue=!0,this.destination.next(e)}_complete(){if(this.hasValue)return this.destination.complete();{let t;try{t=this.errorFactory()}catch(e){t=e}this.destination.error(t)}}}function U(){return new E}function H(e=null){return t=>t.lift(new G(e))}class G{constructor(e){this.defaultValue=e}call(e,t){return t.subscribe(new q(e,this.defaultValue))}}class q extends f.a{constructor(e,t){super(e),this.defaultValue=t,this.isEmpty=!0}_next(e){this.isEmpty=!1,this.destination.next(e)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}var K=n("SpAZ"),z=n("zx2A");function Y(e,t){return"function"==typeof t?n=>n.pipe(Y((n,r)=>Object(u.a)(e(n,r)).pipe(Object(O.a)((e,o)=>t(n,e,r,o))))):t=>t.lift(new $(e))}class ${constructor(e){this.project=e}call(e,t){return t.subscribe(new W(e,this.project))}}class W extends z.b{constructor(e,t){super(e),this.project=t,this.index=0}_next(e){let t;const n=this.index++;try{t=this.project(e,n)}catch(r){return void this.destination.error(r)}this._innerSub(t)}_innerSub(e){const t=this.innerSubscription;t&&t.unsubscribe();const n=new z.a(this),r=this.destination;r.add(n),this.innerSubscription=Object(z.c)(e,n),this.innerSubscription!==n&&r.add(this.innerSubscription)}_complete(){const{innerSubscription:e}=this;e&&!e.closed||super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(e){this.destination.next(e)}}function Z(e){return t=>0===e?x():t.lift(new J(e))}class J{constructor(e){if(this.total=e,this.total<0)throw new M}call(e,t){return t.subscribe(new Q(e,this.total))}}class Q extends f.a{constructor(e,t){super(e),this.total=t,this.count=0}_next(e){const t=this.total,n=++this.count;n<=t&&(this.destination.next(e),n===t&&(this.destination.complete(),this.unsubscribe()))}}function X(...e){return A()(l(...e))}class ee{constructor(e,t,n=!1){this.accumulator=e,this.seed=t,this.hasSeed=n}call(e,t){return t.subscribe(new te(e,this.accumulator,this.seed,this.hasSeed))}}class te extends f.a{constructor(e,t,n,r){super(e),this.accumulator=t,this._seed=n,this.hasSeed=r,this.index=0}get seed(){return this._seed}set seed(e){this.hasSeed=!0,this._seed=e}_next(e){if(this.hasSeed)return this._tryNext(e);this.seed=e,this.destination.next(e)}_tryNext(e){const t=this.index++;let n;try{n=this.accumulator(this.seed,e,t)}catch(r){this.destination.error(r)}this.seed=n,this.destination.next(n)}}function ne(e){return function(t){const n=new re(e),r=t.lift(n);return n.caught=r}}class re{constructor(e){this.selector=e}call(e,t){return t.subscribe(new oe(e,this.selector,this.caught))}}class oe extends z.b{constructor(e,t,n){super(e),this.selector=t,this.caught=n}error(e){if(!this.isStopped){let n;try{n=this.selector(e,this.caught)}catch(t){return void super.error(t)}this._unsubscribeAndRecycle();const r=new z.a(this);this.add(r);const o=Object(z.c)(n,r);o!==r&&this.add(o)}}}var ie=n("5+tZ");function ae(e,t){return Object(ie.a)(e,t,1)}function se(e,t){const n=arguments.length>=2;return r=>r.pipe(e?P((t,n)=>e(t,n,r)):K.a,Z(1),n?H(t):L(()=>new E))}function ce(){}var le=n("n6bG");function ue(e,t,n){return function(r){return r.lift(new de(e,t,n))}}class de{constructor(e,t,n){this.nextOrObserver=e,this.error=t,this.complete=n}call(e,t){return t.subscribe(new he(e,this.nextOrObserver,this.error,this.complete))}}class he extends f.a{constructor(e,t,n,r){super(e),this._tapNext=ce,this._tapError=ce,this._tapComplete=ce,this._tapError=n||ce,this._tapComplete=r||ce,Object(le.a)(t)?(this._context=this,this._tapNext=t):t&&(this._context=t,this._tapNext=t.next||ce,this._tapError=t.error||ce,this._tapComplete=t.complete||ce)}_next(e){try{this._tapNext.call(this._context,e)}catch(t){return void this.destination.error(t)}this.destination.next(e)}_error(e){try{this._tapError.call(this._context,e)}catch(e){return void this.destination.error(e)}this.destination.error(e)}_complete(){try{this._tapComplete.call(this._context)}catch(e){return void this.destination.error(e)}return this.destination.complete()}}var me=n("quSY");class pe{constructor(e){this.callback=e}call(e,t){return t.subscribe(new fe(e,this.callback))}}class fe extends f.a{constructor(e,t){super(e),this.add(new me.a(t))
1740/**
1741 * @license Angular v10.2.5
1742 * (c) 2010-2020 Google LLC. https://angular.io/
1743 * License: MIT
1744 */
1745/**
1746 * @license
1747 * Copyright Google LLC All Rights Reserved.
1748 *
1749 * Use of this source code is governed by an MIT-style license that can be
1750 * found in the LICENSE file at https://angular.io/license
1751 */}}class ge{constructor(e,t){this.id=e,this.url=t}}class ye extends ge{constructor(e,t,n="imperative",r=null){super(e,t),this.navigationTrigger=n,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class ve extends ge{constructor(e,t,n){super(e,t),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class be extends ge{constructor(e,t,n){super(e,t),this.reason=n}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Ce extends ge{constructor(e,t,n){super(e,t),this.error=n}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class we extends ge{constructor(e,t,n,r){super(e,t),this.urlAfterRedirects=n,this.state=r}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Se extends ge{constructor(e,t,n,r){super(e,t),this.urlAfterRedirects=n,this.state=r}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class _e extends ge{constructor(e,t,n,r,o){super(e,t),this.urlAfterRedirects=n,this.state=r,this.shouldActivate=o}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Ee extends ge{constructor(e,t,n,r){super(e,t),this.urlAfterRedirects=n,this.state=r}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ke extends ge{constructor(e,t,n,r){super(e,t),this.urlAfterRedirects=n,this.state=r}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class xe{constructor(e){this.route=e}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Ie{constructor(e){this.route=e}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Oe{constructor(e){this.snapshot=e}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Te{constructor(e){this.snapshot=e}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ae{constructor(e){this.snapshot=e}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Pe{constructor(e){this.snapshot=e}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class De{constructor(e,t,n){this.routerEvent=e,this.position=t,this.anchor=n}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}
1752/**
1753 * @license
1754 * Copyright Google LLC All Rights Reserved.
1755 *
1756 * Use of this source code is governed by an MIT-style license that can be
1757 * found in the LICENSE file at https://angular.io/license
1758 */class Re{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){const t=this.params[e];return Array.isArray(t)?t[0]:t}return null}getAll(e){if(this.has(e)){const t=this.params[e];return Array.isArray(t)?t:[t]}return[]}get keys(){return Object.keys(this.params)}}function Me(e){return new Re(e)}function Ne(e){const t=Error("NavigationCancelingError: "+e);return t.ngNavigationCancelingError=!0,t}function je(e,t,n){const r=n.path.split("/");if(r.length>e.length)return null;if("full"===n.pathMatch&&(t.hasChildren()||r.length<e.length))return null;const o={};for(let i=0;i<r.length;i++){const t=r[i],n=e[i];if(t.startsWith(":"))o[t.substring(1)]=n;else if(t!==n.path)return null}return{consumed:e.slice(0,r.length),posParams:o}}
1759/**
1760 * @license
1761 * Copyright Google LLC All Rights Reserved.
1762 *
1763 * Use of this source code is governed by an MIT-style license that can be
1764 * found in the LICENSE file at https://angular.io/license
1765 */function Fe(e,t){const n=Object.keys(e),r=Object.keys(t);if(!n||!r||n.length!=r.length)return!1;let o;for(let i=0;i<n.length;i++)if(o=n[i],!Le(e[o],t[o]))return!1;return!0}function Le(e,t){if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;const n=[...e].sort(),r=[...t].sort();return n.every((e,t)=>r[t]===e)}return e===t}function Ve(e){return Array.prototype.concat.apply([],e)}function Be(e){return e.length>0?e[e.length-1]:null}function Ue(e,t){for(const n in e)e.hasOwnProperty(n)&&t(e[n],n)}function He(e){return Object(r["\u0275isObservable"])(e)?e:Object(r["\u0275isProm
1765ise"])(e)?Object(u.a)(Promise.resolve(e)):l(e)}
1766/**
1767 * @license
1768 * Copyright Google LLC All Rights Reserved.
1769 *
1770 * Use of this source code is governed by an MIT-style license that can be
1771 * found in the LICENSE file at https://angular.io/license
1772 */function Ge(e,t,n){return n?function(e,t){return Fe(e,t)}(e.queryParams,t.queryParams)&&function e(t,n){if(!Ye(t.segments,n.segments))return!1;if(t.numberOfChildren!==n.numberOfChildren)return!1;for(const 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(n=>Le(e[n],t[n]))}(e.queryParams,t.queryParams)&&function e(t,n){return function t(n,r,o){if(n.segments.length>o.length)return!!Ye(n.segments.slice(0,o.length),o)&&!r.hasChildren();if(n.segments.length===o.length){if(!Ye(n.segments,o))return!1;for(const t in r.children){if(!n.children[t])return!1;if(!e(n.children[t],r.children[t]))return!1}return!0}{const e=o.slice(0,n.segments.length),i=o.slice(n.segments.length);return!!Ye(n.segments,e)&&!!n.children.primary&&t(n.children.primary,r,i)}}(t,n,n.segments)}(e.root,t.root)}class qe{constructor(e,t,n){this.root=e,this.queryParams=t,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Me(this.queryParams)),this._queryParamMap}toString(){return Je.serialize(this)}}class Ke{constructor(e,t){this.segments=e,this.children=t,this.parent=null,Ue(t,(e,t)=>e.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Qe(this)}}class ze{constructor(e,t){this.path=e,this.parameters=t}get parameterMap(){return this._parameterMap||(this._parameterMap=Me(this.parameters)),this._parameterMap}toString(){return ot(this)}}function Ye(e,t){return e.length===t.length&&e.every((e,n)=>e.path===t[n].path)}function $e(e,t){let n=[];return Ue(e.children,(e,r)=>{"primary"===r&&(n=n.concat(t(e,r)))}),Ue(e.children,(e,r)=>{"primary"!==r&&(n=n.concat(t(e,r)))}),n}class We{}class Ze{parse(e){const t=new lt(e);return new qe(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(e){return`${"/"+function e(t,n){if(!t.hasChildren())return Qe(t);if(n){const n=t.children.primary?e(t.children.primary,!1):"",r=[];return Ue(t.children,(t,n)=>{"primary"!==n&&r.push(`${n}:${e(t,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}{const n=$e(t,(n,r)=>"primary"===r?[e(t.children.primary,!1)]:[`${r}:${e(n,!1)}`]);return 1===Object.keys(t.children).length&&null!=t.children.primary?`${Qe(t)}/${n[0]}`:`${Qe(t)}/(${n.join("//")})`}}(e.root,!0)}${function(e){const t=Object.keys(e).map(t=>{const n=e[t];return Array.isArray(n)?n.map(e=>`${et(t)}=${et(e)}`).join("&"):`${et(t)}=${et(n)}`});return t.length?"?"+t.join("&"):""}(e.queryParams)}${"string"==typeof e.fragment?"#"+encodeURI(e.fragment):""}`}}const Je=new Ze;function Qe(e){return e.segments.map(e=>ot(e)).join("/")}function Xe(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function et(e){return Xe(e).replace(/%3B/gi,";")}function tt(e){return Xe(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function nt(e){return decodeURIComponent(e)}function rt(e){return nt(e.replace(/\+/g,"%20"))}function ot(e){return`${tt(e.path)}${t=e.parameters,Object.keys(t).map(e=>`;${tt(e)}=${tt(t[e])}`).join("")}`;var t}const it=/^[^\/()?;=#]+/;function at(e){const t=e.match(it);return t?t[0]:""}const st=/^[^=?&#]+/,ct=/^[^?&#]+/;class lt{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Ke([],{}):new Ke([],this.parseChildren())}parseQueryParams(){const e={};if(this.consumeOptional("?"))do{this.parseQueryParam(e)}while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(t).length>0)&&(n.primary=new Ke(e,t)),n}parseSegment(){const e=at(this.remaining);if(""===e&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(e),new ze(nt(e),this.parseMatrixParams())}parseMatrixParams(){const e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){const t=at(this.remaining);if(!t)return;this.capture(t);let n="";if(this.consumeOptional("=")){const e=at(this.remaining);e&&(n=e,this.capture(n))}e[nt(t)]=nt(n)}parseQueryParam(e){const t=function(e){const t=e.match(st);return t?t[0]:""}(this.remaining);if(!t)return;this.capture(t);let n="";if(this.consumeOptional("=")){const e=function(e){const t=e.match(ct);return t?t[0]:""}(this.remaining);e&&(n=e,this.capture(n))}const r=rt(t),o=rt(n);if(e.hasOwnProperty(r)){let t=e[r];Array.isArray(t)||(t=[t],e[r]=t),t.push(o)}else e[r]=o}parseParens(e){const t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=at(this.remaining),r=this.remaining[n.length];if("/"!==r&&")"!==r&&";"!==r)throw new Error(`Cannot parse url '${this.url}'`);let o=void 0;n.indexOf(":")>-1?(o=n.substr(0,n.indexOf(":")),this.capture(o),this.capture(":")):e&&(
vendor: 8,389 bytes, lines 1772-1800
1772o="primary");const i=this.parseChildren();t[o]=1===Object.keys(i).length?i.primary:new Ke([],i),this.consumeOptional("//")}return t}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return!!this.peekStartsWith(e)&&(this.remaining=this.remaining.substring(e.length),!0)}capture(e){if(!this.consumeOptional(e))throw new Error(`Expected "${e}".`)}}
1773/**
1774 * @license
1775 * Copyright Google LLC All Rights Reserved.
1776 *
1777 * Use of this source code is governed by an MIT-style license that can be
1778 * found in the LICENSE file at https://angular.io/license
1779 */class ut{constructor(e){this._root=e}get root(){return this._root.value}parent(e){const t=this.pathFromRoot(e);return t.length>1?t[t.length-2]:null}children(e){const t=dt(e,this._root);return t?t.children.map(e=>e.value):[]}firstChild(e){const t=dt(e,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(e){const t=ht(e,this._root);return t.length<2?[]:t[t.length-2].children.map(e=>e.value).filter(t=>t!==e)}pathFromRoot(e){return ht(e,this._root).map(e=>e.value)}}function dt(e,t){if(e===t.value)return t;for(const n of t.children){const t=dt(e,n);if(t)return t}return null}function ht(e,t){if(e===t.value)return[t];for(const n of t.children){const r=ht(e,n);if(r.length)return r.unshift(t),r}return[]}class mt{constructor(e,t){this.value=e,this.children=t}toString(){return`TreeNode(${this.value})`}}function pt(e){const t={};return e&&e.children.forEach(e=>t[e.value.outlet]=e),t}
1780/**
1781 * @license
1782 * Copyright Google LLC All Rights Reserved.
1783 *
1784 * Use of this source code is governed by an MIT-style license that can be
1785 * found in the LICENSE file at https://angular.io/license
1786 */class ft extends ut{constructor(e,t){super(e),this.snapshot=t,wt(this,e)}toString(){return this.snapshot.toString()}}function gt(e,t){const n=function(e,t){const n=new bt([],{},{},"",{},"primary",t,null,e.root,-1,{});return new Ct("",new mt(n,[]))}(e,t),r=new m([new ze("",{})]),o=new m({}),i=new m({}),a=new m({}),s=new m(""),c=new yt(r,o,a,s,i,"primary",t,n.root);return c.snapshot=n.root,new ft(new mt(c,[]),n)}class yt{constructor(e,t,n,r,o,i,a,s){this.url=e,this.params=t,this.queryParams=n,this.fragment=r,this.data=o,this.outlet=i,this.component=a,this._futureSnapshot=s}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(Object(O.a)(e=>Me(e)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Object(O.a)(e=>Me(e)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function vt(e,t="emptyOnly"){const n=e.pathFromRoot;let r=0;if("always"!==t)for(r=n.length-1;r>=1;){const e=n[r],t=n[r-1];if(e.routeConfig&&""===e.routeConfig.path)r--;else{if(t.component)break;r--}}return function(e){return e.reduce((e,t)=>({params:Object.assign(Object.assign({},e.params),t.params),data:Object.assign(Object.assign({},e.data),t.data),resolve:Object.assign(Object.assign({},e.resolve),t._resolvedData)}),{params:{},data:{},resolve:{}})}(n.slice(r))}class bt{constructor(e,t,n,r,o,i,a,s,c,l,u){this.url=e,this.params=t,this.queryParams=n,this.fragment=r,this.data=o,this.outlet=i,this.component=a,this.routeConfig=s,this._urlSegment=c,this._lastPathIndex=l,this._resolve=u}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=Me(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Me(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(e=>e.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Ct extends ut{constructor(e,t){super(t),this.url=e,wt(this,t)}toString(){return St(this._root)}}function wt(e,t){t.value._routerState=e,t.children.forEach(t=>wt(e,t))}function St(e){const t=e.children.length>0?` { ${e.children.map(St).join(", ")} } `:"";return`${e.value}${t}`}function _t(e){if(e.snapshot){const t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,Fe(t.queryParams,n.queryParams)||e.queryParams.next(n.queryParams),t.fragment!==n.fragment&&e.fragment.next(n.fragment),Fe(t.params,n.params)||e.params.next(n.params),function(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;++n)if(!Fe(e[n],t[n]))return!1;return!0}(t.url,n.url)||e.url.next(n.url),Fe(t.data,n.data)||e.data.next(n.data)}else e.snapshot=e._futureSnapshot,e.data.next(e._futureSnapshot.data)}function Et(e,t){var n,r;return Fe(e.params,t.params)&&Ye(n=e.url,r=t.url)&&n.every((e,t)=>Fe(e.parameters,r[t].parameters))&&!(!e.parent!=!t.parent)&&(!e.parent||Et(e.parent,t.parent))}
1787/**
1788 * @license
1789 * Copyright Google LLC All Rights Reserved.
1790 *
1791 * Use of this source code is governed by an MIT-style license that can be
1792 * found in the LICENSE file at https://angular.io/license
1793 */function kt(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function xt(e){return"object"==typeof e&&null!=e&&e.outlets}function It(e,t,n,r,o){let i={};return r&&Ue(r,(e,t)=>{i[t]=Array.isArray(e)?e.map(e=>""+e):""+e}),new qe(n.root===e?t:function e(t,n,r){const o={};return Ue(t.children,(t,i)=>{o[i]=t===n?r:e(t,n,r)}),new Ke(t.segments,o)}(n.root,e,t),i,o)}class Ot{constructor(e,t,n){if(this.isAbsolute=e,this.numberOfDoubleDots=t,this.commands=n,e&&n.length>0&&kt(n[0]))throw new Error("Root segment cannot have matrix parameters");const r=n.find(xt);if(r&&r!==Be(n))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Tt{constructor(e,t,n){this.segmentGroup=e,this.processChildren=t,this.index=n}}function At(e,t,n){if(e||(e=new Ke([],{})),0===e.segments.length&&e.hasChildren())return Pt(e,t,n);const r=function(e,t,n){let r=0,o=t;const i={match:!1,pathIndex:0,commandIndex:0};for(;o<e.segments.length;){if(r>=n.length)return i;const t=e.segments[o],a=n[r];if(xt(a))break;const s=""+a,c=r<n.length-1?n[r+1]:null;if(o>0&&void 0===s)break;if(s&&c&&"object"==typeof c&&void 0===c.outlets){if(!Nt(s,c,t))return i;r+=2}else{if(!Nt(s,{},t))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}(e,t,n),o=n.slice(r.commandIndex);if(r.match&&r.pathIndex<e.segments.length){const t=new Ke(e.segments.slice(0,r.pathIndex),{});return t.children.primary=new Ke(e.segments.slice(r.pathIndex),e.children),Pt(t,0,o)}return r.match&&0===o.length?new Ke(e.segments,{}):r.match&&!e.hasChildren()?Dt(e,t,n):r.match?Pt(e,0,o):Dt(e,t,n)}function Pt(e,t,n){if(0===n.length)return new Ke(e.segments,{});{const r=function(e){return xt(e[0])?e[0].outlets:{primary:e}}(n),o={};return Ue(r,(n,r)=>{null!==n&&(o[r]=At(e.children[r],t,n))}),Ue(e.children,(e,t)=>{void 0===r[t]&&(o[t]=e)}),new Ke(e.segments,o)}}function Dt(e,t,n){const r=e.segments.slice(0,t);let o=0;for(;o<n.length;){const i=n[o];if(xt(i)){const e=Rt(i.outlets);return new Ke(r,e)}if(0===o&&kt(n[0])){r.push(new ze(e.segments[t].path,n[0])),o++;continue}const a=xt(i)?i.outlets.primary:""+i,s=o<n.length-1?n[o+1]:null;a&&s&&kt(s)?(r.push(new ze(a,Mt(s))),o+=2):(r.push(new ze(a,{})),o++)}return new Ke(r,{})}function Rt(e){const t={};return Ue(e,(e,n)=>{null!==e&&(t[n]=Dt(new Ke([],{}),0,e))}),t}function Mt(e){const t={};return Ue(e,(e,n)=>t[n]=""+e),t}function Nt(e,t,n){return e==n.path&&Fe(t,n.parameters)}
1794/**
1795 * @license
1796 * Copyright Google LLC All Rights Reserved.
1797 *
1798 * Use of this source code is governed by an MIT-style license that can be
1799 * found in the LICENSE file at https://angular.io/license
1800 */class jt{constructor(e,t,n,r){this.routeReuseStrategy=e,this.futureState=t,this.currState=n,this.forwardEvent=r}activate(e){const t=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,n,e),_t(this.futureState.root),this.activateChildRoutes(t,n,e)}deactivateChildRoutes(e,t,n){const r=pt(t);
1800e.children.forEach(e=>{const t=e.value.outlet;this.deactivateRoutes(e,r[t],n),delete r[t]}),Ue(r,(e,t)=>{this.deactivateRouteAndItsChildren(e,n)})}deactivateRoutes(e,t,n){const r=e.value,o=t?t.value:null;if(r===o)if(r.component){const o=n.getContext(r.outlet);o&&this.deactivateChildRoutes(e,t,o.children)}else this.deactivateChildRoutes(e,t,n);else o&&this.deactivateRouteAndItsChildren(t,n)}deactivateRouteAndItsChildren(e,t){this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,t):this.deactivateRouteAndOutlet(e,t)}detachAndStoreRouteSubtree(e,t){const n=t.getContext(e.value.outlet);if(n&&n.outlet){const t=n.outlet.detach(),r=n.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:t,route:e,contexts:r})}}deactivateRouteAndOutlet(e,t){const n=t.getContext(e.value.outlet);if(n){const r=pt(e),o=e.value.component?n.children:t;Ue(r,(e,t)=>this.deactivateRouteAndItsChildren(e,o)),n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated())}}activateChildRoutes(e,t,n){const r=pt(t);e.children.forEach(e=>{this.activateRoutes(e,r[e.value.outlet],n),this.forwardEvent(new Pe(e.value.snapshot))}),e.children.length&&this.forwardEvent(new Te(e.value.snapshot))}activateRoutes(e,t,n){const r=e.value,o=t?t.value:null;if(_t(r),r===o)if(r.component){const o=n.getOrCreateContext(r.outlet);this.activateChildRoutes(e,t,o.children)}else this.activateChildRoutes(e,t,n);else if(r.component){const t=n.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){const e=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),t.children.onOutletReAttached(e.contexts),t.attachRef=e.componentRef,t.route=e.route.value,t.outlet&&t.outlet.attach(e.componentRef,e.route.value),Ft(e.route)}else{const n=function(e){for(let t=e.parent;t;t=t.parent){const e=t.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig;if(e&&e.component)return null}return null}
1801/**
1802 * @license
1803 * Copyright Google LLC All Rights Reserved.
1804 *
1805 * Use of this source code is governed by an MIT-style license that can be
1806 * found in the LICENSE file at https://angular.io/license
1807 */(r.snapshot),o=n?n.module.componentFactoryResolver:null;t.attachRef=null,t.route=r,t.resolver=o,t.outlet&&t.outlet.activateWith(r,o),this.activateChildRoutes(e,null,t.children)}}else this.activateChildRoutes(e,null,n)}}function Ft(e){_t(e.value),e.children.forEach(Ft)}class Lt{constructor(e,t){this.routes=e,this.module=t
1808/**
1809 * @license
1810 * Copyright Google LLC All Rights Reserved.
1811 *
1812 * Use of this source code is governed by an MIT-style license that can be
1813 * found in the LICENSE file at https://angular.io/license
1814 */}}function Vt(e){return"function"==typeof e}function Bt(e){return e instanceof qe}
1815/**
1816 * @license
1817 * Copyright Google LLC All Rights Reserved.
1818 *
1819 * Use of this source code is governed by an MIT-style license that can be
1820 * found in the LICENSE file at https://angular.io/license
1821 */const Ut=Symbol("INITIAL_VALUE");function Ht(){return Y(e=>function(...e){let t=void 0,n=void 0;return Object(a.a)(e[e.length-1])&&(n=e.pop()),"function"==typeof e[e.length-1]&&(t=e.pop()),1===e.length&&Object(p.a)(e[0])&&(e=e[0]),Object(s.a)(e,n).lift(new S(t))}(...e.map(e=>e.pipe(Z(1),function(...e){const t=e[e.length-1];return Object(a.a)(t)?(e.pop(),n=>X(e,n,t)):t=>X(e,t)}(Ut)))).pipe(function(e,t){let n=!1;return arguments.length>=2&&(n=!0),function(r){return r.lift(new ee(e,t,n))}}((e,t)=>{let n=!1;return t.reduce((e,r,o)=>{if(e!==Ut)return e;if(r===Ut&&(n=!0),!n){if(!1===r)return r;if(o===t.length-1||Bt(r))return r}return e},e)},Ut),P(e=>e!==Ut),Object(O.a)(e=>Bt(e)?e:!0===e),Z(1)))}
1822/**
1823 * @license
1824 * Copyright Google LLC All Rights Reserved.
1825 *
1826 * Use of this source code is governed by an MIT-style license that can be
1827 * found in the LICENSE file at https://angular.io/license
1828 */class Gt{constructor(e){this.segmentGroup=e||null}}class qt{constructor(e){this.urlTree=e}}function Kt(e){return new b.a(t=>t.error(new Gt(e)))}function zt(e){return new b.a(t=>t.error(new qt(e)))}function Yt(e){return new b.a(t=>t.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${e}'`)))}class $t{constructor(e,t,n,o,i){this.configLoader=t,this.urlSerializer
1828=n,this.urlTree=o,this.config=i,this.allowRedirects=!0,this.ngModule=e.get(r.NgModuleRef)}apply(){return this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,"primary").pipe(Object(O.a)(e=>this.createUrlTree(e,this.urlTree.queryParams,this.urlTree.fragment))).pipe(ne(e=>{if(e instanceof qt)return this.allowRedirects=!1,this.match(e.urlTree);if(e instanceof Gt)throw this.noMatchError(e);throw e}))}match(e){return this.expandSegmentGroup(this.ngModule,this.config,e.root,"primary").pipe(Object(O.a)(t=>this.createUrlTree(t,e.queryParams,e.fragment))).pipe(ne(e=>{if(e instanceof Gt)throw this.noMatchError(e);throw e}))}noMatchError(e){return new Error(`Cannot match any routes. URL Segment: '${e.segmentGroup}'`)}createUrlTree(e,t,n){const r=e.segments.length>0?new Ke([],{primary:e}):e;return new qe(r,t,n)}expandSegmentGroup(e,t,n,r){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(e,t,n).pipe(Object(O.a)(e=>new Ke([],e))):this.expandSegment(e,n,t,n.segments,r,!0)}expandChildren(e,t,n){return function(e,t){if(0===Object.keys(e).length)return l({});const n=[],r=[],o={};return Ue(e,(e,i)=>{const a=t(i,e).pipe(Object(O.a)(e=>o[i]=e));"primary"===i?n.push(a):r.push(a)}),l.apply(null,n.concat(r)).pipe(A(),function(e,t){const n=arguments.length>=2;return r=>r.pipe(e?P((t,n)=>e(t,n,r)):K.a,N(1),n?H(t):L(()=>new E))}(),Object(O.a)(()=>o))}(n.children,(n,r)=>this.expandSegmentGroup(e,t,r,n))}expandSegment(e,t,n,r,o,i){return l(...n).pipe(ae(a=>this.expandSegmentAgainstRoute(e,t,n,a,r,o,i).pipe(ne(e=>{if(e instanceof Gt)return l(null);throw e}))),se(e=>!!e),ne((e,n)=>{if(e instanceof E||"EmptyError"===e.name){if(this.noLeftoversInUrl(t,r,o))return l(new Ke([],{}));throw new Gt(t)}throw e}))}noLeftoversInUrl(e,t,n){return 0===t.length&&!e.children[n]}expandSegmentAgainstRoute(e,t,n,r,o,i,a){return Qt(r)!==i?Kt(t):void 0===r.redirectTo?this.matchSegmentAgainstRoute(e,t,r,o):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(e,t,n,r,o,i):Kt(t)}expandSegmentAgainstRouteUsingRedirect(e,t,n,r,o,i){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(e,n,r,i):this.expandRegularSegmentAgainstRouteUsingRedirect(e,t,n,r,o,i)}expandWildCardWithParamsAgainstRouteUsingRedirect(e,t,n,r){const o=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?zt(o):this.lineralizeSegments(n,o).pipe(Object(ie.a)(n=>{const o=new Ke(n,{});return this.expandSegment(e,o,t,n,r,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(e,t,n,r,o,i){const{matched:a,consumedSegments:s,lastChild:c,positionalParamSegments:l}=Wt(t,r,o);if(!a)return Kt(t);const u=this.applyRedirectCommands(s,r.redirectTo,l);return r.redirectTo.startsWith("/")?zt(u):this.lineralizeSegments(r,u).pipe(Object(ie.a)(r=>this.expandSegment(e,t,n,r.concat(o.slice(c)),i,!1)))}matchSegmentAgainstRoute(e,t,n,r){if("**"===n.path)return n.loadChildren?this.configLoader.load(e.injector,n).pipe(Object(O.a)(e=>(n._loadedConfig=e,new Ke(r,{})))):l(new Ke(r,{}));const{matched:o,consumedSegments:i,lastChild:a}=Wt(t,n,r);if(!o)return Kt(t);const s=r.slice(a);return this.getChildConfig(e,n,r).pipe(Object(ie.a)(e=>{const n=e.module,r=e.routes,{segmentGroup:o,slicedSegments:a}=function(e,t,n,r){return n.length>0&&function(e,t,n){return n.some(n=>Jt(e,t,n)&&"primary"!==Qt(n))}(e,n,r)?{segmentGroup:Zt(new Ke(t,function(e,t){const n={};n.primary=t;for(const r of e)""===r.path&&"primary"!==Qt(r)&&(n[Qt(r)]=new Ke([],{}));return n}(r,new Ke(n,e.children)))),slicedSegments:[]}:0===n.length&&function(e,t,n){return n.some(n=>Jt(e,t,n))}(e,n,r)?{segmentGroup:Zt(new Ke(e.segments,function(e,t,n,r){const o={};for(const i of n)Jt(e,t,i)&&!r[Qt(i)]&&(o[Qt(i)]=new Ke([],{}));return Object.assign(Object.assign({},r),o)}(e,n,r,e.children))),slicedSegments:n}:{segmentGroup:e,slicedSegments:n}}(t,i,s,r);return 0===a.length&&o.hasChildren()?this.expandChildren(n,r,o).pipe(Object(O.a)(e=>new Ke(i,e))):0===r.length&&0===a.length?l(new Ke(i,{})):this.expandSegment(n,o,r,a,"primary",!0).pipe(Object(O.a)(e=>new Ke(i.concat(e.segments),e.children)))}))}getChildConfig(e,t,n){return t.children?l(new Lt(t.children,e)):t.loadChildren?void 0!==t._loadedConfig?l(t._loadedConfig):this.runCanLoadGuards(e.injector,t,n).pipe(Object(ie.a)(n=>n?this.configLoader.load(e.injector,t).pipe(Object(O.a)(e=>(t._loadedConfig=e,e))):function(e){return new b.a(t=>t.error(Ne(`Cannot load children because the guard of the route "path: '${e.path}'" returned false`)))}(t))):l(new Lt([],e))}runCanLoadGuards(e,t,n){const r=t.canLoad;return r&&0!==r.length?l(r.map(r=>{const o=e.get(r);let i;if(function(e){return e&&Vt(e.canLoad)}(o))i=o.canLoad(t,n);else{if(!Vt(o))throw new Error("Invalid CanLoad guard");i=o(t,n)}return He(i)})).pipe(Ht(),ue(e=>{if(!Bt(e))return;const t=Ne(`Redirecting to "${this.urlSerializer.serialize(e)}"`);throw t.url=e,t}),Object(O.a)(e=>!0===e)):l(!0)}lineralizeSegments(e,t){let n=[],r=t.root;for(;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return l(n);if(r.numberOfChildren>1||!r.children.primary)return Yt(e.redirectTo);r=r.children.primary}}applyRedirectCommands(e,t,n){return this.applyRedirectCreatreUrlTree(t,this.urlSerializer.parse(t),e,n)}applyRedirectCreatreUrlTree(e,t,n,r){const o=this.createSegmentGroup(e,t.root,n,r);return new qe(o,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}createQueryParams(e,t){const n={};return Ue(e,(e,r)=>{if("string"==typeof e&&e.startsWith(":")){const o=e.substring(1);n[r]=t[o]}else n[r]=e}),n}createSegmentGroup(e,t,n,r){const o=this.createSegments(e,t.segments,n,r);let i={};return Ue(t.children,(t,o)=>{i[o]=this.createSegmentGroup(e,t,n,r)}),new Ke(o,i)}createSegments(e,t,n,r){return t.map(t=>t.path.startsWith(":")?this.findPosParam(e,t,r):this.findOrReturn(t,n))}findPosParam(e,t,n){const r=n[t.path.substring(1)];if(!r)throw new Error(`Cannot redirect to '${e}'. Cannot find '${t.path}'.`);return r}findOrReturn(e,t){let n=0;for(const r of t){if(r.path===e.path)return t.splice(n),r;n++}return e}}function Wt(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:{}};const r=(t.matcher||je)(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.primary){const t=e.children.primary;return new Ke(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 Qt(e){return e.outlet||"primary"}
1829/**
1830 * @license
1831 * Copyright Google LLC All Rights Reserved.
1832 *
1833 * Use of this source code is governed by an MIT-style license that can be
1834 * found in the LICENSE file at https://angular.io/license
1835 */
1836/**
1837 * @license
1838 * Copyright Google LLC All Rights Reserved.
1839 *
1840 * Use of this source code is governed by an MIT-style license that can be
1841 * found in the LICENSE file at https://angular.io/license
1842 */class Xt{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}}class en{constructor(e,t){this.component=e,this.route=t}}function tn(e,t,n){const r=e._root;return function e(t,n,r,o,i={canDeactivateChecks:[],canActivateChecks:[]}){const a=pt(n);
vendor: 4,172 bytes, lines 1842-1856
1842return t.children.forEach(t=>{!function(t,n,r,o,i={canDeactivateChecks:[],canActivateChecks:[]}){const a=t.value,s=n?n.value:null,c=r?r.getContext(t.value.outlet):null;if(s&&a.routeConfig===s.routeConfig){const l=function(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!Ye(e.url,t.url);case"pathParamsOrQueryParamsChange":return!Ye(e.url,t.url)||!Fe(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Et(e,t)||!Fe(e.queryParams,t.queryParams);case"paramsChange":default:return!Et(e,t)}}(s,a,a.routeConfig.runGuardsAndResolvers);l?i.canActivateChecks.push(new Xt(o)):(a.data=s.data,a._resolvedData=s._resolvedData),e(t,n,a.component?c?c.children:null:r,o,i),l&&c&&c.outlet&&c.outlet.isActivated&&i.canDeactivateChecks.push(new en(c.outlet.component,s))}else s&&rn(n,c,i),i.canActivateChecks.push(new Xt(o)),e(t,null,a.component?c?c.children:null:r,o,i)}(t,a[t.value.outlet],r,o.concat([t.value]),i),delete a[t.value.outlet]}),Ue(a,(e,t)=>rn(e,r.getContext(t),i)),i}(r,t?t._root:null,n,[r.value])}function nn(e,t,n){const r=function(e){if(!e)return null;for(let t=e.parent;t;t=t.parent){const e=t.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig}return null}(t);return(r?r.module.injector:n).get(e)}function rn(e,t,n){const r=pt(e),o=e.value;Ue(r,(e,r)=>{rn(e,o.component?t?t.children.getContext(r):null:t,n)}),n.canDeactivateChecks.push(new en(o.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,o))}
1843/**
1844 * @license
1845 * Copyright Google LLC All Rights Reserved.
1846 *
1847 * Use of this source code is governed by an MIT-style license that can be
1848 * found in the LICENSE file at https://angular.io/license
1849 */function on(e,t){return null!==e&&t&&t(new Ae(e)),l(!0)}function an(e,t){return null!==e&&t&&t(new Oe(e)),l(!0)}function sn(e,t,n){const r=t.routeConfig?t.routeConfig.canActivate:null;return r&&0!==r.length?l(r.map(r=>I(()=>{const o=nn(r,t,n);let i;if(function(e){return e&&Vt(e.canActivate)}(o))i=He(o.canActivate(t,e));else{if(!Vt(o))throw new Error("Invalid CanActivate guard");i=He(o(t,e))}return i.pipe(se())}))).pipe(Ht()):l(!0)}function cn(e,t,n){const r=t[t.length-1],o=t.slice(0,t.length-1).reverse().map(e=>function(e){const t=e.routeConfig?e.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:e,guards:t}:null}(e)).filter(e=>null!==e).map(t=>I(()=>l(t.guards.map(o=>{const i=nn(o,t.node,n);let a;if(function(e){return e&&Vt(e.canActivateChild)}(i))a=He(i.canActivateChild(r,e));else{if(!Vt(i))throw new Error("Invalid CanActivateChild guard");a=He(i(r,e))}return a.pipe(se())})).pipe(Ht())));return l(o).pipe(Ht())}
1850/**
1851 * @license
1852 * Copyright Google LLC All Rights Reserved.
1853 *
1854 * Use of this source code is governed by an MIT-style license that can be
1855 * found in the LICENSE file at https://angular.io/license
1856 */class ln{}class un{constructor(e,t,n,r,o,i){this.rootComponentType=e,this.config=t,this.urlTree=n,this.url=r,this.paramsInheritanceStrategy=o,this.relativeLinkResolution=i}recognize(){try{const e=mn(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,t=this.processSegmentGroup(this.config,e,"primary"),n=new bt([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},"primary",this.rootComponentType,null,this.urlTree.root,-1,{}),r=new mt(n,t),o=new Ct(this.url,r);return this.inheritParamsAndData(o._root),l(o)}catch(e){return new b.a(t=>t.error(e))}}inheritParamsAndData(e){const t=e.value,n=vt(t,this.paramsInheritanceStrategy);t.params=Object.freeze(n.params),t.data=Object.freeze(n.data),e.children.forEach(e=>this.inheritParamsAndData(e))}processSegmentGroup(e,t,n){return 0===t.segments.length&&t.hasChildren()?this.processChildren(e,t):this.processSegment(e,t,t.segments,n)}processChildren(e,t){const n=$e(t,(t,n)=>this.processSegmentGroup(e,t,n));return function(e){const t={};e.forEach(e=>{const n=t[e.value.outlet];if(n){const t=n.url.map(e=>e.toString()).join("/"),r=e.value.url.map(e=>e.toString()).join("/");throw new Error(`Two segments cannot have the same outlet name: '${t}' and '${r}'.`)}t[e.value.outlet]=e.value})}(n),n.sort((e,t)=>
1856"primary"===e.value.outlet?-1:"primary"===t.value.outlet?1:e.value.outlet.localeCompare(t.value.outlet)),n}processSegment(e,t,n,r){for(const i of e)try{return this.processSegmentAgainstRoute(i,t,n,r)}catch(o){if(!(o instanceof ln))throw o}if(this.noLeftoversInUrl(t,n,r))return[];throw new ln}noLeftoversInUrl(e,t,n){return 0===t.length&&!e.children[n]}processSegmentAgainstRoute(e,t,n,r){if(e.redirectTo)throw new ln;if((e.outlet||"primary")!==r)throw new ln;let o,i=[],a=[];if("**"===e.path){const i=n.length>0?Be(n).parameters:{};o=new bt(n,i,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,gn(e),r,e.component,e,dn(t),hn(t)+n.length,yn(e))}else{const s=function(e,t,n){if(""===t.path){if("full"===t.pathMatch&&(e.hasChildren()||n.length>0))throw new ln;return{consumedSegments:[],lastChild:0,parameters:{}}}const r=(t.matcher||je)(n,e,t);if(!r)throw new ln;const o={};Ue(r.posParams,(e,t)=>{o[t]=e.path});const i=r.consumed.length>0?Object.assign(Object.assign({},o),r.consumed[r.consumed.length-1].parameters):o;return{consumedSegments:r.consumed,lastChild:r.consumed.length,parameters:i}}(t,e,n);i=s.consumedSegments,a=n.slice(s.lastChild),o=new bt(i,s.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,gn(e),r,e.component,e,dn(t),hn(t)+i.length,yn(e))}const s=function(e){return e.children?e.children:e.loadChildren?e._loadedConfig.routes:[]}(e),{segmentGroup:c,slicedSegments:l}=mn(t,i,a,s,this.relativeLinkResolution);if(0===l.length&&c.hasChildren()){const e=this.processChildren(s,c);return[new mt(o,e)]}if(0===s.length&&0===l.length)return[new mt(o,[])];const u=this.processSegment(s,c,l,"primary");return[new mt(o,u)]}}function dn(e){let t=e;for(;t._sourceSegment;)t=t._sourceSegment;return t}function hn(e){let t=e,n=t._segmentIndexShift?t._segmentIndexShift:0;for(;t._sourceSegment;)t=t._sourceSegment,n+=t._segmentIndexShift?t._segmentIndexShift:0;return n-1}function mn(e,t,n,r,o){if(n.length>0&&function(e,t,n){return n.some(n=>pn(e,t,n)&&"primary"!==fn(n))}(e,n,r)){const o=new Ke(t,function(e,t,n,r){const o={};o.primary=r,r._sourceSegment=e,r._segmentIndexShift=t.length;for(const i of n)if(""===i.path&&"primary"!==fn(i)){const n=new Ke([],{});n._sourceSegment=e,n._segmentIndexShift=t.length,o[fn(i)]=n}return o}(e,t,r,new Ke(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(n=>pn(e,t,n))}(e,n,r)){const i=new Ke(e.segments,function(e,t,n,r,o,i){const a={};for(const s of r)if(pn(e,n,s)&&!o[fn(s)]){const n=new Ke([],{});n._sourceSegment=e,n._segmentIndexShift="legacy"===i?e.segments.length:t.length,a[fn(s)]=n}return Object.assign(Object.assign({},o),a)}(e,t,n,r,e.children,o));return i._sourceSegment=e,i._segmentIndexShift=t.length,{segmentGroup:i,slicedSegments:n}}const i=new Ke(e.segments,e.children);return i._sourceSegment=e,i._segmentIndexShift=t.length,{segmentGroup:i,slicedSegments:n}}function pn(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0===n.redirectTo}function fn(e){return e.outlet||"primary"}function gn(e){return e.data||{}}function yn(e){return e.resolve||{}}
1857/**
1858 * @license
1859 * Copyright Google LLC All Rights Reserved.
1860 *
1861 * Use of this source code is governed by an MIT-style license that can be
1862 * found in the LICENSE file at https://angular.io/license
1863 */
1864/**
1865 * @license
1866 * Copyright Google LLC All Rights Reserved.
1867 *
1868 * Use of this source code is governed by an MIT-style license that can be
1869 * found in the LICENSE file at https://angular.io/license
1870 */function vn(e){return function(t){return t.pipe(Y(t=>{const n=e(t);return n?Object(u.a)(n).pipe(Object(O.a)(()=>t)):Object(u.a)([t])}))}}
1871/**
1872 * @license
1873 * Copyright Google LLC All Rights Reserved.
1874 *
1875 * Use of this source code is governed by an MIT-style license that can be
1876 * found in the LICENSE file at https://angular.io/license
1877 */class bn extends class{shouldDetach(e){return!1}store(e,t){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,t){return e.routeConfig===t.routeConfig}}{}let Cn=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=r["\u0275\u0275defineComponent"]({type:e,selectors:[["ng-component"]],decls:1,vars:0,template:function(e,t){1&e&&r["\u0275\u0275element"](0,"router-outlet")},directives:function(){return[Fn]},encapsulation:2}),e})();
1878/**
1879 * @license
1880 * Copyright Google LLC All Rights Reserved.
1881 *
1882 * Use of this source code is governed by an MIT-style license that can be
1883 * found in the LICENSE file at https://angular.io/license
1884 */function wn(e,t=""){for(let n=0;n<e.length;n++){const r=e[n];Sn(r,_n(t,r))}}function Sn(e,t){if(!e)throw new Error(`\n      Invalid configuration of route '${t}': Encountered undefined route.\n      The reason might be an extra comma.\n\n      Example:\n      const routes: Routes = [\n        { path: '', redirectTo: '/dashboard', pathMatch: 'full' },\n        { path: 'dashboard',  component: DashboardComponent },, << two commas\n        { path: 'detail/:id', component: HeroDetailComponent }\n      ];\n    `);if(Array.isArray(e))throw new Error(`Invalid configuration of route '${t}': Array cannot be specified`);if(!e.component&&!e.children&&!e.loadChildren&&e.outlet&&"primary"!==e.outlet)throw new Error(`Invalid configuration of route '${t}': a componentless route without children or loadChildren cannot have a named outlet set`);if(e.redirectTo&&e.children)throw new Error(`Invalid configuration of route '${t}': redirectTo and children cannot be used together`);if(e.redirectTo&&e.loadChildren)throw new Error(`Invalid configuration of route '${t}': redirectTo and loadChildren cannot be used together`);if(e.children&&e.loadChildren)throw new Error(`Invalid configuration of route '${t}': children and loadChildren cannot be used together`);if(e.redirectTo&&e.component)throw new Error(`Invalid configuration of route '${t}': redirectTo and component cannot be used together`);if(e.path&&e.matcher)throw new Error(`Invalid configuration of route '${t}': path and matcher cannot be used together`);if(void 0===e.redirectTo&&!e.component&&!e.children&&!e.loadChildren)throw new Error(`Invalid configuration of route '${t}'. One of the following must be provided: component, redirectTo, children or loadChildren`);if(void 0===e.path&&void 0===e.matcher)throw new Error(`Invalid configuration of route '${t}': routes must have either a path or a matcher specified`);if("string"==typeof e.path&&"/"===e.path.charAt(0))throw new Error(`Invalid configuration of route '${t}': path cannot start with a slash`);if(""===e.path&&void 0!==e.redirectTo&&void 0===e.pathMatch)throw new Error(`Invalid configuration of route '{path: "${t}", redirectTo: "${e.redirectTo}"}': please provide 'pathMatch'. The default value of 'pathMatch' is 'prefix', but often the intent is to use 'full'.`);if(void 0!==e.pathMatch&&"full"!==e.pathMatch&&"prefix"!==e.pathMatch)throw new Error(`Invalid configuration of route '${t}': pathMatch can only be set to 'prefix' or 'full'`);e.children&&wn(e.children,t)}function _n(e,t){return t?e||t.path?e&&!t.path?e+"/":!e&&t.path?t.path:`${e}/${t.path}`:"":e}function En(e){const t=e.children&&e.children.map(En),n=t?Object.assign(Object.assign({},e),{children:t}):Object.assign({},e);return!n.component&&(t||n.loadChildren)&&n.outlet&&"primary"!==n.outlet&&(n.component=Cn),n}
1885/**
1886 * @license
1887 * Copyright Google LLC All Rights Reserved.
1888 *
1889 * Use of this source code is governed by an MIT-style license that can be
1890 * found in the LICENSE file at https://angular.io/license
1891 */const kn=new r.InjectionToken("ROUTES");class xn{constructor(e,t,n,r){this.loader=e,this.compiler=t,this.onLoadStartListener=n,this.onLoadEndListener=r}load(e,t){return this.onLoadStartListener&&this.onLoadStartListener(t),this.loadModuleFactory(t.loadChildren).pipe(Object(O.a)(n=>{this.onLoadEndListener&&this.onLoadEndListener(t);const r=n.create(e);return new Lt(Ve(r.injector.get(kn)).map(En),r)}))}loadModuleFactory(e){return"string"==typeof e?Object(u.a)(this.loader.load(e)):He(e()).pipe(Object(ie.a)(e=>e instanceof r.NgModuleFactory?l(e):Object(u.a)(this.compiler.compileModuleAsync(e))))}}
1892/**
1893 * @license
1894 * Copyright Google LLC All Rights Reserved.
1895 *
1896 * Use of this source code is governed by an MIT-style license that can be
1897 * found in the LICENSE file at https://angular.io/license
1898 */class In{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new On,this.attachRef=null}}class On{constructor(){this.contexts=new Map}onChildOutletCreated(e,t){const n=this.getOrCreateContext(e);n.outlet=t,this.contexts.set(e,n)}onChildOutletDestroyed(e){const t=this.getContext(e);t&&(t.outlet=null)}onOutletDeactivated(){const e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let t=this.getContext(e);return t||(t=new In,this.contexts.set(e,t)),t}getContext(e){return this.contexts.get(e)||null}}
1899/**
1900 * @license
1901 * Copyright Google LLC All Rights Reserved.
1902 *
1903 * Use of this source code is governed by an MIT-style license that can be
1904 * found in the LICENSE file at https://angular.io/license
1905 */class Tn{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,t){return e}}
1906/**
1907 * @license
1908 * Copyright Google LLC All Rights Reserved.
1909 *
1910 * Use of this source code is governed by an MIT-style license that can be
1911 * found in the LICENSE file at https://angular.io/license
1912 */function An(e){throw e}function Pn(e,t,n){return t.parse("/")}function Dn(e,t){return l(null)}let Rn=(()=>
1912{class e{constructor(e,t,n,o,i,a,s,c){this.rootComponentType=e,this.urlSerializer=t,this.rootContexts=n,this.location=o,this.config=c,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.lastLocationChangeInfo=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new d.a,this.errorHandler=An,this.malformedUriErrorHandler=Pn,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Dn,afterPreactivation:Dn},this.urlHandlingStrategy=new Tn,this.routeReuseStrategy=new bn,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=i.get(r.NgModuleRef),this.console=i.get(r["\u0275Console"]);const l=i.get(r.NgZone);this.isNgZoneEnabled=l instanceof r.NgZone,this.resetConfig(c),this.currentUrlTree=new qe(new Ke([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new xn(a,s,e=>this.triggerEvent(new xe(e)),e=>this.triggerEvent(new Ie(e))),this.routerState=gt(this.currentUrlTree,this.rootComponentType),this.transitions=new m({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()}setupNavigations(e){const t=this.events;return e.pipe(P(e=>0!==e.id),Object(O.a)(e=>Object.assign(Object.assign({},e),{extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl)})),Y(e=>{let n=!1,r=!1;return l(e).pipe(ue(e=>{this.currentNavigation={id:e.id,initialUrl:e.currentRawUrl,extractedUrl:e.extractedUrl,trigger:e.source,extras:e.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),Y(e=>{const n=!this.navigated||e.extractedUrl.toString()!==this.browserUrlTree.toString();if(("reload"===this.onSameUrlNavigation||n)&&this.urlHandlingStrategy.shouldProcessUrl(e.rawUrl))return l(e).pipe(Y(e=>{const n=this.transitions.getValue();return t.next(new ye(e.id,this.serializeUrl(e.extractedUrl),e.source,e.restoredState)),n!==this.transitions.getValue()?k:[e]}),Y(e=>Promise.resolve(e)),(r=this.ngModule.injector,o=this.configLoader,i=this.urlSerializer,a=this.config,function(e){return e.pipe(Y(e=>function(e,t,n,r,o){return new $t(e,t,n,r,o).apply()}(r,o,i,e.extractedUrl,a).pipe(Object(O.a)(t=>Object.assign(Object.assign({},e),{urlAfterRedirects:t})))))}),ue(e=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:e.urlAfterRedirects})}),function(e,t,n,r,o){return function(i){return i.pipe(Object(ie.a)(i=>function(e,t,n,r,o="emptyOnly",i="legacy"){return new un(e,t,n,r,o,i).recognize()}(e,t,i.urlAfterRedirects,n(i.urlAfterRedirects),r,o).pipe(Object(O.a)(e=>Object.assign(Object.assign({},i),{targetSnapshot:e})))))}}
1913/**
1914 * @license
1915 * Copyright Google LLC All Rights Reserved.
1916 *
1917 * Use of this source code is governed by an MIT-style license that can be
1918 * found in the LICENSE file at https://angular.io/license
1919 */(this.rootComponentType,this.config,e=>this.serializeUrl(e),this.paramsInheritanceStrategy,this.relativeLinkResolution),ue(e=>{"eager"===this.urlUpdateStrategy&&(e.extras.skipLocationChange||this.setBrowserUrl(e.urlAfterRedirects,!!e.extras.replaceUrl,e.id,e.extras.state),this.browserUrlTree=e.urlAfterRedirects)}),ue(e=>{const n=new we(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.next(n)}));var r,o,i,a;if(n&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:n,extractedUrl:r,source:o,restoredState:i,extras:a}=e,s=new ye(n,this.serializeUrl(r),o,i);t.next(s);const c=gt(r,this.rootComponentType).snapshot;return l(Object.assign(Object.assign({},e),{targetSnapshot:c,urlAfterRedirects:r,extras:Object.assign(Object.assign({},a),{skipLocationChange:!1,replaceUrl:!1})}
1919))}return this.rawUrlTree=e.rawUrl,this.browserUrlTree=e.urlAfterRedirects,e.resolve(null),k}),vn(e=>{const{targetSnapshot:t,id:n,extractedUrl:r,rawUrl:o,extras:{skipLocationChange:i,replaceUrl:a}}=e;return this.hooks.beforePreactivation(t,{navigationId:n,appliedUrlTree:r,rawUrlTree:o,skipLocationChange:!!i,replaceUrl:!!a})}),ue(e=>{const t=new Se(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)}),Object(O.a)(e=>Object.assign(Object.assign({},e),{guards:tn(e.targetSnapshot,e.currentSnapshot,this.rootContexts)})),function(e,t){return function(n){return n.pipe(Object(ie.a)(n=>{const{targetSnapshot:r,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:a}}=n;return 0===a.length&&0===i.length?l(Object.assign(Object.assign({},n),{guardsResult:!0})):function(e,t,n,r){return Object(u.a)(e).pipe(Object(ie.a)(e=>function(e,t,n,r,o){const i=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return i&&0!==i.length?l(i.map(i=>{const a=nn(i,t,o);let s;if(function(e){return e&&Vt(e.canDeactivate)}(a))s=He(a.canDeactivate(e,t,n,r));else{if(!Vt(a))throw new Error("Invalid CanDeactivate guard");s=He(a(e,t,n,r))}return s.pipe(se())})).pipe(Ht()):l(!0)}(e.component,e.route,n,t,r)),se(e=>!0!==e,!0))}(a,r,o,e).pipe(Object(ie.a)(n=>n&&"boolean"==typeof n?function(e,t,n,r){return Object(u.a)(t).pipe(ae(t=>Object(u.a)([an(t.route.parent,r),on(t.route,r),cn(e,t.path,n),sn(e,t.route,n)]).pipe(A(),se(e=>!0!==e,!0))),se(e=>!0!==e,!0))}(r,i,e,t):l(n)),Object(O.a)(e=>Object.assign(Object.assign({},n),{guardsResult:e})))}))}}(this.ngModule.injector,e=>this.triggerEvent(e)),ue(e=>{if(Bt(e.guardsResult)){const t=Ne(`Redirecting to "${this.serializeUrl(e.guardsResult)}"`);throw t.url=e.guardsResult,t}}),ue(e=>{const t=new _e(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot,!!e.guardsResult);this.triggerEvent(t)}),P(e=>{if(!e.guardsResult){this.resetUrlToCurrentUrlTree();const n=new be(e.id,this.serializeUrl(e.extractedUrl),"");return t.next(n),e.resolve(!1),!1}return!0}),vn(e=>{if(e.guards.canActivateChecks.length)return l(e).pipe(ue(e=>{const t=new Ee(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)}),Y(e=>{let n=!1;return l(e).pipe((r=this.paramsInheritanceStrategy,o=this.ngModule.injector,function(e){return e.pipe(Object(ie.a)(e=>{const{targetSnapshot:t,guards:{canActivateChecks:n}}=e;if(!n.length)return l(e);let i=0;return Object(u.a)(n).pipe(ae(e=>function(e,t,n,r){return function(e,t,n,r){const o=Object.keys(e);if(0===o.length)return l({});const i={};return Object(u.a)(o).pipe(Object(ie.a)(o=>function(e,t,n,r){const o=nn(e,t,r);return He(o.resolve?o.resolve(t,n):o(t,n))}(e[o],t,n,r).pipe(ue(e=>{i[o]=e}))),N(1),Object(ie.a)(()=>Object.keys(i).length===o.length?l(i):k))}(e._resolve,e,t,r).pipe(Object(O.a)(t=>(e._resolvedData=t,e.data=Object.assign(Object.assign({},e.data),vt(e,n).resolve),null)))}(e.route,t,r,o)),ue(()=>i++),N(1),Object(ie.a)(t=>i===n.length?l(e):k))}))}),ue({next:()=>n=!0,complete:()=>{if(!n){const n=new be(e.id,this.serializeUrl(e.extractedUrl),"At least one route resolver didn't emit any value.");t.next(n),e.resolve(!1)}}}));var r,o}),ue(e=>{const t=new ke(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)}))}),vn(e=>{const{targetSnapshot:t,id:n,extractedUrl:r,rawUrl:o,extras:{skipLocationChange:i,replaceUrl:a}}=e;return this.hooks.afterPreactivation(t,{navigationId:n,appliedUrlTree:r,rawUrlTree:o,skipLocationChange:!!i,replaceUrl:!!a})}),Object(O.a)(e=>{const t=function(e,t,n){const r=function e(t,n,r){if(r&&t.shouldReuseRoute(n.value,r.value.snapshot)){const o=r.value;o._futureSnapshot=n.value;const i=function(t,n,r){return n.children.map(n=>{for(const o of r.children)if(t.shouldReuseRoute(o.value.snapshot,n.value))return e(t,n,o);return e(t,n)})}(t,n,r);return new mt(o,i)}{const r=t.retrieve(n.value);if(r){const e=r.route;return function e(t,n){if(t.value.routeConfig!==n.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");
1919if(t.children.length!==n.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");n.value._futureSnapshot=t.value;for(let r=0;r<t.children.length;++r)e(t.children[r],n.children[r])}(n,e),e}{const r=new yt(new m((o=n.value).url),new m(o.params),new m(o.queryParams),new m(o.fragment),new m(o.data),o.outlet,o.component,o),i=n.children.map(n=>e(t,n));return new mt(r,i)}}var o;
1920/**
1921 * @license
1922 * Copyright Google LLC All Rights Reserved.
1923 *
1924 * Use of this source code is governed by an MIT-style license that can be
1925 * found in the LICENSE file at https://angular.io/license
1926 */}(e,t._root,n?n._root:void 0);return new ft(r,t)}(this.routeReuseStrategy,e.targetSnapshot,e.currentRouterState);return Object.assign(Object.assign({},e),{targetRouterState:t})}),ue(e=>{this.currentUrlTree=e.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.rawUrl),this.routerState=e.targetRouterState,"deferred"===this.urlUpdateStrategy&&(e.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,!!e.extras.replaceUrl,e.id,e.extras.state),this.browserUrlTree=e.urlAfterRedirects)}),(i=this.rootContexts,a=this.routeReuseStrategy,s=e=>this.triggerEvent(e),Object(O.a)(e=>(new jt(a,e.targetRouterState,e.currentRouterState,s).activate(i),e))),ue({next(){n=!0},complete(){n=!0}}),(o=()=>{if(!n&&!r){this.resetUrlToCurrentUrlTree();const n=new be(e.id,this.serializeUrl(e.extractedUrl),`Navigation ID ${e.id} is not equal to the current navigation id ${this.navigationId}`);t.next(n),e.resolve(!1)}this.currentNavigation=null},e=>e.lift(new pe(o))),ne(n=>{if(r=!0,(o=n)&&o.ngNavigationCancelingError){const r=Bt(n.url);r||(this.navigated=!0,this.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl));const o=new be(e.id,this.serializeUrl(e.extractedUrl),n.message);t.next(o),r?setTimeout(()=>{const t=this.urlHandlingStrategy.merge(n.url,this.rawUrlTree);return this.scheduleNavigation(t,"imperative",null,{skipLocationChange:e.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy},{resolve:e.resolve,reject:e.reject,promise:e.promise})},0):e.resolve(!1)}else{this.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl);const r=new Ce(e.id,this.serializeUrl(e.extractedUrl),n);t.next(r);try{e.resolve(this.errorHandler(n))}catch(i){e.reject(i)}}var o;return k}));var o,i,a,s}))}resetRootComponentType(e){this.rootComponentType=e,this.routerState.root.component=this.rootComponentType}getTransition(){const e=this.transitions.value;return e.urlAfterRedirects=this.browserUrlTree,e}setTransition(e){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),e))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(e=>{const t=this.extractLocationChangeInfoFromEvent(e);this.shouldScheduleNavigation(this.lastLocationChangeInfo,t)&&setTimeout(()=>{const{source:e,state:n,urlTree:r}=t,o={replaceUrl:!0};if(n){const e=Object.assign({},n);delete e.navigationId,0!==Object.keys(e).length&&(o.state=e)}this.scheduleNavigation(r,e,n,o)},0),this.lastLocationChangeInfo=t}))}extractLocationChangeInfoFromEvent(e){var t;return{source:"popstate"===e.type?"popstate":"hashchange",urlTree:this.parseUrl(e.url),state:(null===(t=e.state)||void 0===t?void 0:t.navigationId)?e.state:null,transitionId:this.getTransition().id}}shouldScheduleNavigation(e,t){if(!e)return!0;const n=t.urlTree.toString()===e.urlTree.toString();return!(t.transitionId===e.transitionId&&n&&("hashchange"===t.source&&"popstate"===e.source||"popstate"===t.source&&"hashchange"===e.source))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(e){this.events.next(e)}resetConfig(e){wn(e),this.config=e.map(En),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0)}createUrlTree(e,t={}){const{relativeTo:n,queryParams:o,fragment:i,preserveQueryParams:a,queryParamsHandling:s,preserveFragment:c}=t;Object(r.isDevMode)()&&a&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");const l=n||this.routerState.root,u=c?this.currentUrlTree.fragment:i;let d=null;if(s)switch(s){case"merge":d=Object.assign(Object.assign({},this.currentUrlTree.queryParams),o);break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=o||null}else d=a?this.currentUrlTree.queryParams:o||null;return null!==d&&(d=this.removeEmptyProps(d)),function(e,t,n,r,o){if(0===n.length)return It(t.root,t.root,t,r,o);const i=function(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new Ot(!0,0,e);let t=0,n=!1;const r=e.reduce((e,r,o)=>{if("object"==typeof r&&null!=r){if(r.outlets){const t={};return Ue(r.outlets,(e,n)=>{t[n]="string"==typeof e?e.split("/"):e}),[...e,{outlets:t}]}if(r.segmentPath)return[...e,r.segmentPath]}return"string"!=typeof r?[...e,r]:0===o?(r.split("/").forEach((r,o)=>{0==o&&"."===r||(0==o&&""===r?n=!0:".."===r?t++:""!=r&&e.push(r))}),e):[...e,r]},[]);return new Ot(n,t,r)}(n);if(i.toRoot())return It(t.root,new Ke([],{}),t,r,o);const a=function(e,t,n){if(e.isAbsolute)return new Tt(t.root,!0,0);if(-1===n.snapshot._lastPathIndex){const e=n.snapshot._urlSegment;return new Tt(e,e===t.root,0)}const r=kt(e.commands[0])?0:1;return function(e,t,n){let r=e,o=t,i=n;for(;i>o;){if(i-=o,r=r.parent,!r)throw new Error("Invalid number of '../'");o=r.segments.length}return new Tt(r,!1,o-i)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+r,e.numberOfDoubleDots)}(i,t,e),s=a.processChildren?Pt(a.segmentGroup,a.index,i.commands):At(a.segmentGroup,a.index,i.commands);return It(a.segmentGroup,s,t,r,o)}(l,this.currentUrlTree,e,d,u)}navigateByUrl(e,t={skipLocationChange:!1}){Object(r.isDevMode)()&&this.isNgZoneEnabled&&!r.NgZone.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did 
1926you forget to call 'ngZone.run()'?");const n=Bt(e)?e:this.parseUrl(e),o=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(o,"imperative",null,t)}navigate(e,t={skipLocationChange:!1}){return function(e){for(let t=0;t<e.length;t++){const n=e[t];if(null==n)throw new Error(`The requested path contains ${n} segment at index ${t}`)}}(e),this.navigateByUrl(this.createUrlTree(e,t),t)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){let t;try{t=this.urlSerializer.parse(e)}catch(n){t=this.malformedUriErrorHandler(n,this.urlSerializer,e)}return t}isActive(e,t){if(Bt(e))return Ge(this.currentUrlTree,e,t);const n=this.parseUrl(e);return Ge(this.currentUrlTree,n,t)}removeEmptyProps(e){return Object.keys(e).reduce((t,n)=>{const r=e[n];return null!=r&&(t[n]=r),t},{})}processNavigations(){this.navigations.subscribe(e=>{this.navigated=!0,this.lastSuccessfulId=e.id,this.events.next(new ve(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,this.currentNavigation=null,e.resolve(!0)},e=>{this.console.warn("Unhandled Navigation Error: ")})}scheduleNavigation(e,t,n,r,o){const i=this.getTransition(),a="imperative"!==t&&"imperative"===(null==i?void 0:i.source),s=(this.lastSuccessfulId===i.id||this.currentNavigation?i.rawUrl:i.urlAfterRedirects).toString()===e.toString();if(a&&s)return Promise.resolve(!0);let c,l,u;o?(c=o.resolve,l=o.reject,u=o.promise):u=new Promise((e,t)=>{c=e,l=t});const d=++this.navigationId;return this.setTransition({id:d,source:t,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:e,extras:r,resolve:c,reject:l,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(e=>Promise.reject(e))}setBrowserUrl(e,t,n,r){const o=this.urlSerializer.serialize(e);r=r||{},this.location.isCurrentPathEqualTo(o)||t?this.location.replaceState(o,"",Object.assign(Object.assign({},r),{navigationId:n})):this.location.go(o,"",Object.assign(Object.assign({},r),{navigationId:n}))}resetStateAndUrl(e,t,n){this.routerState=e,this.currentUrlTree=t,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n),this.resetUrlToCurrentUrlTree()}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",{navigationId:this.lastSuccessfulId})}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275inject"](r.Type),r["\u0275\u0275inject"](We),r["\u0275\u0275inject"](On),r["\u0275\u0275inject"](i.i),r["\u0275\u0275inject"](r.Injector),r["\u0275\u0275inject"](r.NgModuleFactoryLoader),r["\u0275\u0275inject"](r.Compiler),r["\u0275\u0275inject"](void 0))},e.\u0275prov=r["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})(),Mn=(()=>{class e{constructor(e,t,n,r,o){this.router=e,this.route=t,this.commands=[],this.onChanges=new d.a,null==n&&r.setAttribute(o.nativeElement,"tabindex","0")}ngOnChanges(e){this.onChanges.next(this)}set routerLink(e){this.commands=null!=e?Array.isArray(e)?e:[e]:[]}set preserveQueryParams(e){Object(r.isDevMode)()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated!, use queryParamsHandling instead."),this.preserve=e}onClick(){const e={skipLocationChange:jn(this.skipLocationChange),replaceUrl:jn(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,e),!0}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:jn(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:jn(this.preserveFragment)})}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](Rn),r["\u0275\u0275directiveInject"](yt),r["\u0275\u0275injectAttribute"]("tabindex"),r["\u0275\u0275directiveInject"](r.Renderer2),r["\u0275\u0275directiveInject"](r.ElementRef))},e.\u0275dir=r["\u0275\u0275defineDirective"]({type:e,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(e,t){1&e&&r["\u0275\u0275listener"]("click",(function(){return t.onClick()}))},inputs:{routerLink:"routerLink",preserveQueryParams:"preserveQueryParams",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state"},features:[r["\u0275\u0275NgOnChangesFeature"]]}),e})(),Nn=(()=>{class e{constructor(e,t,n){this.router=e,this.route=t,this.locationStrategy=n,this.commands=[],this.onChanges=new d.a,this.subscription=e.events.subscribe(e=>{e instanceof ve&&this.updateTargetUrlAndHref()})}set routerLink(e){this.commands=null!=e?Array.isArray(e)?e:[e]:[]}set preserveQueryParams(e){Object(r.isDevMode)()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead."),this.preserve=e}ngOnChanges(e){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(e,t,n,r,o){if(0!==e||t||n||r||o)return!0;
1926if("string"==typeof this.target&&"_self"!=this.target)return!0;const i={skipLocationChange:jn(this.skipLocationChange),replaceUrl:jn(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,i),!1}updateTargetUrlAndHref(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:jn(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:jn(this.preserveFragment)})}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](Rn),r["\u0275\u0275directiveInject"](yt),r["\u0275\u0275directiveInject"](i.j))},e.\u0275dir=r["\u0275\u0275defineDirective"]({type:e,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(e,t){1&e&&r["\u0275\u0275listener"]("click",(function(e){return t.onClick(e.button,e.ctrlKey,e.shiftKey,e.altKey,e.metaKey)})),2&e&&(r["\u0275\u0275hostProperty"]("href",t.href,r["\u0275\u0275sanitizeUrl"]),r["\u0275\u0275attribute"]("target",t.target))},inputs:{routerLink:"routerLink",preserveQueryParams:"preserveQueryParams",target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state"},features:[r["\u0275\u0275NgOnChangesFeature"]]}),e})();function jn(e){return""===e||!!e}let Fn=(()=>{class e{constructor(e,t,n,o,i){this.parentContexts=e,this.location=t,this.resolver=n,this.changeDetector=i,this.activated=null,this._activatedRoute=null,this.activateEvents=new r.EventEmitter,this.deactivateEvents=new r.EventEmitter,this.name=o||"primary",e.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const e=this.parentContexts.getContext(this.name);e&&e.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const e=this.activated;return this.activated=null,this._activatedRoute=null,e}attach(e,t){this.activated=e,this._activatedRoute=t,this.location.insert(e.hostView)}deactivate(){if(this.activated){const e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,t){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=e;const n=(t=t||this.resolver).resolveComponentFactory(e._futureSnapshot.routeConfig.component),r=this.parentContexts.getOrCreateContext(this.name).children,o=new Ln(e,r,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,o),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](On),r["\u0275\u0275directiveInject"](r.ViewContainerRef),r["\u0275\u0275directiveInject"](r.ComponentFactoryResolver),r["\u0275\u0275injectAttribute"]("name"),r["\u0275\u0275directiveInject"](r.ChangeDetectorRef))},e.\u0275dir=r["\u0275\u0275defineDirective"]({type:e,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),e})();class Ln{constructor(e,t,n){this.route=e,this.childContexts=t,this.parent=n}get(e,t){return e===yt?this.route:e===On?this.childContexts:this.parent.get(e,t)}}
1927/**
1928 * @license
1929 * Copyright Google LLC All Rights Reserved.
1930 *
1931 * Use of this source code is governed by an MIT-style license that can be
1932 * found in the LICENSE file at https://angular.io/license
1933 */class Vn{}class Bn{preload(e,t){return l(null)}}let Un=(()=>{class e{constructor(e,t,n,r,o){this.router=e,this.injector=r,this.preloadingStrategy=o,this.loader=new xn(t,n,t=>e.triggerEvent(new xe(t)),t=>e.triggerEvent(new Ie(t)))}setUpPreloading(){this.subscription=this.router.events.pipe(P(e=>e instanceof ve),ae(()=>this.preload())).subscribe(()=>{})}preload(){const e=this.injector.get(r.NgModuleRef);return this.processRoutes(e,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,t){const n=[];for(const r of t)if(r.loadChildren&&!r.canLoad&&r._loadedConfig){const e=r._loadedConfig;n.push(this.processRoutes(e.module,e.routes))}else r.loadChildren&&!r.canLoad?n.push(this.preloadConfig(e,r)):r.children&&n.push(this.processRoutes(e,r.children));return Object(u.a)(n).pipe(Object(T.a)(),Object(O.a)(e=>{}))}preloadConfig(e,t){return this.preloadingStrategy.preload(t,()=>this.loader.load(e.injector,t).pipe(Object(ie.a)(e=>(t._loadedConfig=e,this.processRoutes(e.module,e.routes)))))}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275inject"](Rn),r["\u0275\u0275inject"](r.NgModuleFactoryLoader),r["\u0275\u0275inject"](r.Compiler),r["\u0275\u0275inject"](r.Injector),r["\u0275\u0275inject"](Vn))},e.\u0275prov=r["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})(),Hn=(()=>{class e{constructor(e,t,n={}){this.router=e,this.viewportScroller=t,this.options=n,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},n.scrollPositionRestoration=n.scrollPositionRestoration||"disabled",n.anchorScrolling=n.anch
1933orScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(e=>{e instanceof ye?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof ve&&(this.lastId=e.id,this.scheduleScrollEvent(e,this.router.parseUrl(e.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(e=>{e instanceof De&&(e.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,t){this.router.triggerEvent(new De(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,t))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275inject"](Rn),r["\u0275\u0275inject"](i.x),r["\u0275\u0275inject"](void 0))},e.\u0275prov=r["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})();
1934/**
1935 * @license
1936 * Copyright Google LLC All Rights Reserved.
1937 *
1938 * Use of this source code is governed by an MIT-style license that can be
1939 * found in the LICENSE file at https://angular.io/license
1940 */const Gn=new r.InjectionToken("ROUTER_CONFIGURATION"),qn=new r.InjectionToken("ROUTER_FORROOT_GUARD"),Kn=[i.i,{provide:We,useClass:Ze},{provide:Rn,useFactory:function(e,t,n,r,o,a,s,c={},l,u){const d=new Rn(null,e,t,n,r,o,a,Ve(s));if(l&&(d.urlHandlingStrategy=l),u&&(d.routeReuseStrategy=u),c.errorHandler&&(d.errorHandler=c.errorHandler),c.malformedUriErrorHandler&&(d.malformedUriErrorHandler=c.malformedUriErrorHandler),c.enableTracing){const e=Object(i.C)();d.events.subscribe(t=>{e.logGroup("Router Event: "+t.constructor.name),e.log(t.toString()),e.log(t),e.logGroupEnd()})}return c.onSameUrlNavigation&&(d.onSameUrlNavigation=c.onSameUrlNavigation),c.paramsInheritanceStrategy&&(d.paramsInheritanceStrategy=c.paramsInheritanceStrategy),c.urlUpdateStrategy&&(d.urlUpdateStrategy=c.urlUpdateStrategy),c.relativeLinkResolution&&(d.relativeLinkResolution=c.relativeLinkResolution),d},deps:[We,On,i.i,r.Injector,r.NgModuleFactoryLoader,r.Compiler,kn,Gn,[class{},new r.Optional],[class{},new r.Optional]]},On,{provide:yt,useFactory:function(e){return e.routerState.root},deps:[Rn]},{provide:r.NgModuleFactoryLoader,useClass:r.SystemJsNgModuleLoader},Un,Bn,class{preload(e,t){return t().pipe(ne(()=>l(null)))}},{provide:Gn,useValue:{enableTracing:!1}}];function zn(){return new r.NgProbeToken("Router",Rn)}let Yn=(()=>{class e{constructor(e,t){}static forRoot(t,n){return{ngModule:e,providers:[Kn,Jn(t),{provide:qn,useFactory:Zn,deps:[[Rn,new r.Optional,new r.SkipSelf]]},{provide:Gn,useValue:n||{}},{provide:i.j,useFactory:Wn,deps:[i.u,[new r.Inject(i.a),new r.Optional],Gn]},{provide:Hn,useFactory:$n,deps:[Rn,i.x,Gn]},{provide:Vn,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:Bn},{provide:r.NgProbeToken,multi:!0,useFactory:zn},[Qn,{provide:r.APP_INITIALIZER,multi:!0,useFactory:Xn,deps:[Qn]},{provide:tr,useFactory:er,deps:[Qn]},{provide:r.APP_BOOTSTRAP_LISTENER,multi:!0,useExisting:tr}]]}}static forChild(t){return{ngModule:e,providers:[Jn(t)]}}}return e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)(r["\u0275\u0275inject"](qn,8),r["\u0275\u0275inject"](Rn,8))}}),e})();function $n(e,t,n){return n.scrollOffset&&t.setOffset(n.scrollOffset),new Hn(e,t,n)}function Wn(e,t,n={}){return n.useHash?new i.g(e,t):new i.s(e,t)}function Zn(e){if(e)throw new Error("RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function Jn(e){return[{provide:r.ANALYZE_FOR_ENTRY_COMPONENTS,multi:!0,useValue:e},{provide:kn,multi:!0,useValue:e}]}let Qn=(()=>{class e{constructor(e){this.injector=e,this.initNavigation=!1,this.resultOfPreactivationDone=new d.a}appInitializer(){return this.injector.get(i.h,Promise.resolve(null)).then(()=>{let e=null;const t=new Promise(t=>e=t),n=this.injector.get(Rn),r=this.injector.get(Gn);if(this.isLegacyDisabled(r)||this.isLegacyEnabled(r))e(!0);else if("disabled"===r.initialNavigation)n.setUpLocationChangeListener(),e(!0);else{if("enabled"!==r.initialNavigation)throw new Error(`Invalid initialNavigation options: '${r.initialNavigation}'`);n.hooks.afterPreactivation=()=>this.initNavigation?l(null):(this.initNavigation=!0,e(!0),this.resultOfPreactivationDone),n.initialNavigation()}return t})}bootstrapListener(e){const t=this.injector.get(Gn),n=this.injector.get(Un),o=this.injector.get(Hn),i=this.injector.get(Rn),a=this.injector.get(r.ApplicationRef);e===a.components[0]&&(this.isLegacyEnabled(t)?i.initialNavigation():this.isLegacyDisabled(t)&&i.setUpLocationChangeListener(),n.setUpPreloading(),o.init(),i.resetRootComponentType(a.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}isLegacyEnabled(e){return"legacy_enabled"===e.initialNavigation||!0===e.initialNavigation||void 0===e.initialNavigation}isLegacyDisabled(e){return"legacy_disabled"===e.initialNavigation||!1===e.initialNavigation}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275inject"](r.Injector))},e.\u0275prov=r["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})();function Xn(e){return e.appInitializer.bind(e)}function er(e){return e.bootstrapListener.bind(e)}const tr=new r.InjectionToken("Router Initializer"),nr=new r.InjectionToken("REQUEST"),rr=new r.InjectionToken("RESPONSE");
1941/**
1942 * @license
1943 * Copyright Google LLC All Rights Reserved.
1944 *
1945 * Use of this source code is governed by an MIT-style license that can be
1946 * found in the LICENSE file at https://angular.io/license
1947 */
1948/**
1949 * @license
1950 * Copyright Google LLC All Rights Reserved.
1951 *
1952 * Use of this source code is governed by an MIT-style license that can be
1953 * found in the LICENSE file at https://angular.io/license
1954 */var or=n(1),ir=n(2);
1955/**
1956 * @license Angular v10.2.5
1957 * (c) 2010-2020 Google LLC. https://angular.io/
1958 * License: MIT
1959 */
1960/**
1961 * @license
1962 * Copyright Google LLC All Rights Reserved.
1963 *
1964 * Use of this source code is governed by an MIT-style license that can be
1965 * found in the LICENSE file at https://angular.io/license
1966 */class ar{}class sr{}
1967/**
1968 * @license
1969 * Copyright Google LLC All Rights Reserved.
1970 *
1971 * Use of this source code is governed by an MIT-style license that can be
1972 * found in the LICENSE file at https://angular.io/license
1973 */class cr{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?this.lazyInit="string"==typeof e?()=>
vendor: 12,330 bytes, lines 1973-2022
1973{this.headers=new Map,e.split("\n").forEach(e=>{const t=e.indexOf(":");if(t>0){const n=e.slice(0,t),r=n.toLowerCase(),o=e.slice(t+1).trim();this.maybeSetNormalizedName(n,r),this.headers.has(r)?this.headers.get(r).push(o):this.headers.set(r,[o])}})}:()=>{this.headers=new Map,Object.keys(e).forEach(t=>{let n=e[t];const r=t.toLowerCase();"string"==typeof n&&(n=[n]),n.length>0&&(this.headers.set(r,n),this.maybeSetNormalizedName(t,r))})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();const t=this.headers.get(e.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,t){return this.clone({name:e,value:t,op:"a"})}set(e,t){return this.clone({name:e,value:t,op:"s"})}delete(e,t){return this.clone({name:e,value:t,op:"d"})}maybeSetNormalizedName(e,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,e)}init(){this.lazyInit&&(this.lazyInit instanceof cr?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(t=>{this.headers.set(t,e.headers.get(t)),this.normalizedNames.set(t,e.normalizedNames.get(t))})}clone(e){const t=new cr;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof cr?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([e]),t}applyUpdate(e){const t=e.name.toLowerCase();switch(e.op){case"a":case"s":let n=e.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(e.name,t);const r=("a"===e.op?this.headers.get(t):void 0)||[];r.push(...n),this.headers.set(t,r);break;case"d":const o=e.value;if(o){let e=this.headers.get(t);if(!e)return;e=e.filter(e=>-1===o.indexOf(e)),0===e.length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,e)}else this.headers.delete(t),this.normalizedNames.delete(t)}}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>e(this.normalizedNames.get(t),this.headers.get(t)))
1974/**
1975 * @license
1976 * Copyright Google LLC All Rights Reserved.
1977 *
1978 * Use of this source code is governed by an MIT-style license that can be
1979 * found in the LICENSE file at https://angular.io/license
1980 */}}class lr{encodeKey(e){return ur(e)}encodeValue(e){return ur(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}}function ur(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}class dr{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new lr,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(e,t){const n=new Map;return e.length>0&&e.split("&").forEach(e=>{const r=e.indexOf("="),[o,i]=-1==r?[t.decodeKey(e),""]:[t.decodeKey(e.slice(0,r)),t.decodeValue(e.slice(r+1))],a=n.get(o)||[];a.push(i),n.set(o,a)}),n}(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(t=>{const n=e.fromObject[t];this.map.set(t,Array.isArray(n)?n:[n])})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();const t=this.map.get(e);return t?t[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,t){return this.clone({param:e,value:t,op:"a"})}set(e,t){return this.clone({param:e,value:t,op:"s"})}delete(e,t){return this.clone({param:e,value:t,op:"d"})}toString(){return this.init(),this.keys().map(e=>{const t=this.encoder.encodeKey(e);return this.map.get(e).map(e=>t+"="+this.encoder.encodeValue(e)).join("&")}).filter(e=>""!==e).join("&")}clone(e){const t=new dr({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat([e]),t}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":const t=("a"===e.op?this.map.get(e.param):void 0)||[];t.push(e.value),this.map.set(e.param,t);break;case"d":if(void 0===e.value){this.map.delete(e.param);break}{let t=this.map.get(e.param)||[];const n=t.indexOf(e.value);-1!==n&&t.splice(n,1),t.length>0?this.map.set(e.param,t):this.map.delete(e.param)}}}),this.cloneFrom=this.updates=null)
1981/**
1982 * @license
1983 * Copyright Google LLC All Rights Reserved.
1984 *
1985 * Use of this source code is governed by an MIT-style license that can be
1986 * found in the LICENSE file at https://angular.io/license
1987 */}}function hr(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function mr(e){return"undefined"!=typeof Blob&&e instanceof Blob}function pr(e){return"undefined"!=typeof FormData&&e instanceof FormData}class fr{constructor(e,t,n,r){let o;if(this.url=t,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase(),function(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==n?n:null,o=r):o=n,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.params&&(this.params=o.params)),this.headers||(this.headers=new cr),this.params){const e=this.params.toString();if(0===e.length)this.urlWithParams=t;else{const n=t.indexOf("?");this.urlWithParams=t+(-1===n?"?":n<t.length-1?"&":"")+e}}else this.params=new dr,this.urlWithParams=t}serializeBody(){return null===this.body?null:hr(this.body)||mr(this.body)||pr(this.body)||"string"==typeof this.body?this.body:this.body instanceof dr?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||pr(this.body)?null:mr(this.body)?this.body.type||null:hr(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof dr?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||Array.isArray(this.body)?"application/json":null}clone(e={}){const t=e.method||this.method,n=e.url||this.url,r=e.responseType||this.responseType,o=void 0!==e.body?e.body:this.body,i=void 0!==e.withCredentials?e.withCredentials:this.withCredentials,a=void 0!==e.reportProgress?e.reportProgress:this.reportProgress;let s=e.headers||this.headers,c=e.params||this.params;return void 0!==e.setHeaders&&(s=Object.keys(e.setHeaders).reduce((t,n)=>t.set(n,e.setHeaders[n]),s)),e.setParams&&(c=Object.keys(e.setParams).reduce((t,n)=>t.set(n,e.setParams[n]),c)),new fr(t,n,o,{params:c,headers:s,reportProgress:a,responseType:r,withCredentials:i})
1988/**
1989 * @license
1990 * Copyright Google LLC All Rights Reserved.
1991 *
1992 * Use of this source code is governed by an MIT-style license that can be
1993 * found in the LICENSE file at https://angular.io/license
1994 */}}var gr=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}({});class yr{constructor(e,t=200,n="OK"){this.headers=e.headers||new cr,this.status=void 0!==e.status?e.status:t,this.statusText=e.statusText||n,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}}class vr extends yr{constructor(e={}){super(e),this.type=gr.ResponseHeader}clone(e={}){return new vr({headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}class br extends yr{constructor(e={}){super(e),this.type=gr.Response,this.body=void 0!==e.body?e.body:null}clone(e={}){return new br({body:void 0!==e.body?e.body:this.body,headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}class Cr extends yr{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?"Http failure during parsing for "+(e.url||"(unknown url)"):`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null
1995/**
1996 * @license
1997 * Copyright Google LLC All Rights Reserved.
1998 *
1999 * Use of this source code is governed by an MIT-style license that can be
2000 * found in the LICENSE file at https://angular.io/license
2001 */}}function wr(e,t){return{body:t,headers:e.headers,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}let Sr=(()=>{class e{constructor(e){this.handler=e}request(e,t,n={}){let r;if(e instanceof fr)r=e;else{let o=void 0;o=n.headers instanceof cr?n.headers:new cr(n.headers);let i=void 0;n.params&&(i=n.params instanceof dr?n.params:new dr({fromObject:n.params})),r=new fr(e,t,void 0!==n.body?n.body:null,{headers:o,params:i,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}const o=l(r).pipe(ae(e=>this.handler.handle(e)));if(e instanceof fr||"events"===n.observe)return o;const i=o.pipe(P(e=>e instanceof br));switch(n.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return i.pipe(Object(O.a)(e=>{if(null!==e.body&&!(e.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return e.body}));case"blob":return i.pipe(Object(O.a)(e=>{if(null!==e.body&&!(e.body instanceof Blob))throw new Error("Response is not a Blob.");return e.body}));case"text":return i.pipe(Object(O.a)(e=>{if(null!==e.body&&"string"!=typeof e.body)throw new Error("Response is not a string.");return e.body}));case"json":default:return i.pipe(Object(O.a)(e=>e.body))}case"response":return i;default:throw new Error(`Unreachable: unhandled observe type ${n.observe}}`)}}delete(e,t={}){return this.request("DELETE",e,t)}get(e,t={}){return this.request("GET",e,t)}head(e,t={}){return this.request("HEAD",e,t)}jsonp(e,t){return this.request("JSONP",e,{params:(new dr).append(t,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,t={}){return this.request("OPTIONS",e,t)}patch(e,t,n={}){return this.request("PATCH",e,wr(n,t))}post(e,t,n={}){return this.request("POST",e,wr(n,t))}put(e,t,n={}){return this.request("PUT",e,wr(n,t))}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275inject"](ar))},e.\u0275prov=r["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})();
2002/**
2003 * @license
2004 * Copyright Google LLC All Rights Reserved.
2005 *
2006 * Use of this source code is governed by an MIT-style license that can be
2007 * found in the LICENSE file at https://angular.io/license
2008 */class _r{constructor(e,t){this.next=e,this.interceptor=t}handle(e){return this.interceptor.intercept(e,this.next)}}const Er=new r.InjectionToken("HTTP_INTERCEPTORS");let kr=(()=>{class e{intercept(e,t){return t.handle(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=r["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})();
2009/**
2010 * @license
2011 * Copyright Google LLC All Rights Reserved.
2012 *
2013 * Use of this source code is governed by an MIT-style license that can be
2014 * found in the LICENSE file at https://angular.io/license
2015 */
2016/**
2017 * @license
2018 * Copyright Google LLC All Rights Reserved.
2019 *
2020 * Use of this source code is governed by an MIT-style license that can be
2021 * found in the LICENSE file at https://angular.io/license
2022 */const xr=/^\)\]\}',?\n/;class Ir{}let Or=(()=>{class e{constructor(){}build(){return new XMLHttpRequest}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=r["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})(),Tr=(()=>{class e{constructor(e){this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new b.a(t=>{const n=this.xhrFactory.build();if(n.open(e.method,e.urlWithParams),e.withCredentials&&(n.withCredentials=!0),e.headers.forEac
2022h((e,t)=>n.setRequestHeader(e,t.join(","))),e.headers.has("Accept")||n.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){const t=e.detectContentTypeHeader();null!==t&&n.setRequestHeader("Content-Type",t)}if(e.responseType){const t=e.responseType.toLowerCase();n.responseType="json"!==t?t:"text"}const r=e.serializeBody();let o=null;const i=()=>{if(null!==o)return o;const t=1223===n.status?204:n.status,r=n.statusText||"OK",i=new cr(n.getAllResponseHeaders()),a=function(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(n)||e.url;return o=new vr({headers:i,status:t,statusText:r,url:a}),o},a=()=>{let{headers:r,status:o,statusText:a,url:s}=i(),c=null;204!==o&&(c=void 0===n.response?n.responseText:n.response),0===o&&(o=c?200:0);let l=o>=200&&o<300;if("json"===e.responseType&&"string"==typeof c){const e=c;c=c.replace(xr,"");try{c=""!==c?JSON.parse(c):null}catch(u){c=e,l&&(l=!1,c={error:u,text:c})}}l?(t.next(new br({body:c,headers:r,status:o,statusText:a,url:s||void 0})),t.complete()):t.error(new Cr({error:c,headers:r,status:o,statusText:a,url:s||void 0}))},s=e=>{const{url:r}=i(),o=new Cr({error:e,status:n.status||0,statusText:n.statusText||"Unknown Error",url:r||void 0});t.error(o)};let c=!1;const l=r=>{c||(t.next(i()),c=!0);let o={type:gr.DownloadProgress,loaded:r.loaded};r.lengthComputable&&(o.total=r.total),"text"===e.responseType&&n.responseText&&(o.partialText=n.responseText),t.next(o)},u=e=>{let n={type:gr.UploadProgress,loaded:e.loaded};e.lengthComputable&&(n.total=e.total),t.next(n)};return n.addEventListener("load",a),n.addEventListener("error",s),e.reportProgress&&(n.addEventListener("progress",l),null!==r&&n.upload&&n.upload.addEventListener("progress",u)),n.send(r),t.next({type:gr.Sent}),()=>{n.removeEventListener("error",s),n.removeEventListener("load",a),e.reportProgress&&(n.removeEventListener("progress",l),null!==r&&n.upload&&n.upload.removeEventListener("progress",u)),n.readyState!==n.DONE&&n.abort()}})}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275inject"](Ir))},e.\u0275prov=r["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})();
2023/**
2024 * @license
2025 * Copyright Google LLC All Rights Reserved.
2026 *
2027 * Use of this source code is governed by an MIT-style license that can be
2028 * found in the LICENSE file at https://angular.io/license
2029 */const Ar=new r.InjectionToken("XSRF_COOKIE_NAME"),Pr=new r.InjectionToken("XSRF_HEADER_NAME");class Dr{}let Rr=(()=>{class e{constructor(e,t,n){this.doc=e,this.platform=t,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=Object(i.D)(e,this.cookieName),this.lastCookieString=e),this.lastToken}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275inject"](i.e),r["\u0275\u0275inject"](r.PLATFORM_ID),r["\u0275\u0275inject"](Ar))},e.\u0275prov=r["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})(),Mr=(()=>{class e{constructor(e,t){this.tokenService=e,this.headerName=t}intercept(e,t){const n=e.url.toLowerCase();if("GET"===e.method||"HEAD"===e.method||n.startsWith("http://")||n.startsWith("https://"))return t.handle(e);const r=this.tokenService.getToken();return null===r||e.headers.has(this.headerName)||(e=e.clone({headers:e.headers.set(this.headerName,r)})),t.handle(e)}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275inject"](Dr),r["\u0275\u0275inject"](Pr))},e.\u0275prov=r["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})(),Nr=(()=>{class e{constructor(e,t){this.backend=e,this.injector=t,this.chain=null}handle(e){if(null===this.chain){const e=this.injector.get(Er,[]);this.chain=e.reduceRight((e,t)=>new _r(e,t),this.backend)}return this.chain.handle(e)}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275inject"](sr),r["\u0275\u0275inject"](r.Injector))},e.\u0275prov=r["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})(),jr=(()=>{class e{static disable(){return{ngModule:e,providers:[{provide:Mr,useClass:kr}]}}static withOptions(t={}){return{ngModule:e,providers:[t.cookieName?{provide:Ar,useValue:t.cookieName}:[],t.headerName?{provide:Pr,useValue:t.headerName}:[]]}}}return e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},providers:[Mr,{provide:Er,useExisting:Mr,multi:!0},{provide:Dr,useClass:Rr},{provide:Ar,useValue:"XSRF-TOKEN"},{provide:Pr,useValue:"X-XSRF-TOKEN"}
2029]}),e})(),Fr=(()=>{class e{}return e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},providers:[Sr,{provide:ar,useClass:Nr},Tr,{provide:sr,useExisting:Tr},Or,{provide:Ir,useExisting:Or}],imports:[[jr.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),e})();
2030/**
2031 * @license
2032 * Copyright Google LLC All Rights Reserved.
2033 *
2034 * Use of this source code is governed by an MIT-style license that can be
2035 * found in the LICENSE file at https://angular.io/license
2036 */
2037/**
2038 * @license
2039 * Copyright Google LLC All Rights Reserved.
2040 *
2041 * Use of this source code is governed by an MIT-style license that can be
2042 * found in the LICENSE file at https://angular.io/license
2043 */function Lr(e){return!!e&&(e instanceof b.a||"function"==typeof e.lift&&"function"==typeof e.subscribe)}var Vr=n("cp0P");class Br extends me.a{constructor(e,t){super()}schedule(e,t=0){return this}}class Ur extends Br{constructor(e,t){super(e,t),this.scheduler=e,this.work=t,this.pending=!1}schedule(e,t=0){if(this.closed)return this;this.state=e;const 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}requestAsyncId(e,t,n=0){return setInterval(e.flush.bind(e,this),n)}recycleAsyncId(e,t,n=0){if(null!==n&&this.delay===n&&!1===this.pending)return t;clearInterval(t)}execute(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const n=this._execute(e,t);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,t){let n=!1,r=void 0;try{this.work(e)}catch(o){n=!0,r=!!o&&o||new Error(o)}if(n)return this.unsubscribe(),r}_unsubscribe(){const 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}}class Hr extends Ur{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}schedule(e,t=0){return t>0?super.schedule(e,t):(this.delay=t,this.state=e,this.scheduler.flush(this),this)}execute(e,t){return t>0||this.closed?super.execute(e,t):this._execute(e,t)}requestAsyncId(e,t,n=0){return null!==n&&n>0||null===n&&this.delay>0?super.requestAsyncId(e,t,n):e.flush(this)}}let Gr=(()=>{class e{constructor(t,n=e.now){this.SchedulerAction=t,this.now=n}schedule(e,t=0,n){return new this.SchedulerAction(this,e).schedule(n,t)}}return e.now=()=>Date.now(),e})();class qr extends Gr{constructor(e,t=Gr.now){super(e,()=>qr.delegate&&qr.delegate!==this?qr.delegate.now():t()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(e,t=0,n){return qr.delegate&&qr.delegate!==this?qr.delegate.schedule(e,t,n):super.schedule(e,t,n)}flush(e){const{actions:t}=this;if(this.active)return void t.push(e);let 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}}}class Kr extends qr{}const zr=new Kr(Hr);let Yr=(()=>{class e{constructor(e,t,n){this.kind=e,this.value=t,this.error=n,this.hasValue="N"===e}observe(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()}}do(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()}}accept(e,t,n){return e&&"function"==typeof e.next?this.observe(e):this.do(e,t,n)}toObservable(){switch(this.kind){case"N":return l(this.value);case"E":return e=this.error,new b.a(t=>t.error(e));case"C":return x()}var e;throw new Error("unexpected notification kind value")}static createNext(t){return void 0!==t?new e("N",t):e.undefinedValueNotification}static createError(t){return new e("E",void 0,t)}static createComplete(){return e.completeNotification}}return e.completeNotification=new e("C"),e.undefinedValueNotification=new e("N",void 0),e})();class $r extends f.a{constructor(e,t,n=0){super(e),this.scheduler=t,this.delay=n}static dispatch(e){const{notification:t,destination:n}=e;t.observe(n),this.unsubscribe()}scheduleMessage(e){this.destination.add(this.scheduler.schedule($r.dispatch,this.delay,new Wr(e,this.destination)))}_next(e){this.scheduleMessage(Yr.createNext(e))}_error(e){this.scheduleMessage(Yr.createError(e)),this.unsubscribe()}_complete(){this.scheduleMessage(Yr.createComplete()),this.unsubscribe()}}
2043class Wr{constructor(e,t){this.notification=e,this.destination=t}}var Zr=n("Ylt2");class Jr extends d.a{constructor(e=Number.POSITIVE_INFINITY,t=Number.POSITIVE_INFINITY,n){super(),this.scheduler=n,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=e<1?1:e,this._windowTime=t<1?1:t,t===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(e){if(!this.isStopped){const t=this._events;t.push(e),t.length>this._bufferSize&&t.shift()}super.next(e)}nextTimeWindow(e){this.isStopped||(this._events.push(new Qr(this._getNow(),e)),this._trimBufferThenGetEvents()),super.next(e)}_subscribe(e){const t=this._infiniteTimeWindow,n=t?this._events:this._trimBufferThenGetEvents(),r=this.scheduler,o=n.length;let i;if(this.closed)throw new h.a;if(this.isStopped||this.hasError?i=me.a.EMPTY:(this.observers.push(e),i=new Zr.a(this,e)),r&&e.add(e=new $r(e,r)),t)for(let a=0;a<o&&!e.closed;a++)e.next(n[a]);else for(let a=0;a<o&&!e.closed;a++)e.next(n[a].value);return this.hasError?e.error(this.thrownError):this.isStopped&&e.complete(),i}_getNow(){return(this.scheduler||zr).now()}_trimBufferThenGetEvents(){const e=this._getNow(),t=this._bufferSize,n=this._windowTime,r=this._events,o=r.length;let i=0;for(;i<o&&!(e-r[i].time<n);)i++;return o>t&&(i=Math.max(i,o-t)),i>0&&r.splice(0,i),r}}class Qr{constructor(e,t){this.time=e,this.value=t}}function Xr(e,t,n){let r;return r=e&&"object"==typeof e?e:{bufferSize:e,windowTime:t,refCount:!1,scheduler:n},e=>e.lift(function({bufferSize:e=Number.POSITIVE_INFINITY,windowTime:t=Number.POSITIVE_INFINITY,refCount:n,scheduler:r}){let o,i,a=0,s=!1,c=!1;return function(l){let u;a++,!o||s?(s=!1,o=new Jr(e,t,r),u=o.subscribe(this),i=l.subscribe({next(e){o.next(e)},error(e){s=!0,o.error(e)},complete(){c=!0,i=void 0,o.complete()}}),c&&(i=void 0)):u=o.subscribe(this),this.add(()=>{a--,u.unsubscribe(),u=void 0,i&&!c&&n&&0===a&&(i.unsubscribe(),i=void 0,o=void 0)})}}(r))}class eo{}let to=(()=>{class e extends eo{getTranslation(e){return l({})}}return e.\u0275fac=function(t){return no(t||e)},e.\u0275prov=r["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})();const no=r["\u0275\u0275getInheritedFactory"](to);class ro{}let oo=(()=>{class e{handle(e){return e.key}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=r["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})();function io(e,t){if(e===t)return!0;if(null===e||null===t)return!1;if(e!=e&&t!=t)return!0;let n,r,o,i=typeof e;if(i==typeof t&&"object"==i){if(!Array.isArray(e)){if(Array.isArray(t))return!1;for(r in o=Object.create(null),e){if(!io(e[r],t[r]))return!1;o[r]=!0}for(r in t)if(!(r in o)&&void 0!==t[r])return!1;return!0}if(!Array.isArray(t))return!1;if((n=e.length)==t.length){for(r=0;r<n;r++)if(!io(e[r],t[r]))return!1;return!0}}return!1}function ao(e){return null!=e}function so(e){return e&&"object"==typeof e&&!Array.isArray(e)}class co{}let lo=(()=>{class e extends co{constructor(){super(...arguments),this.templateMatcher=/{{\s?([^{}\s]*)\s?}}/g}interpolate(e,t){let n;return n="string"==typeof e?this.interpolateString(e,t):"function"==typeof e?this.interpolateFunction(e,t):e,n}getValue(e,t){let n="string"==typeof t?t.split("."):[t];t="";do{t+=n.shift(),!ao(e)||!ao(e[t])||"object"!=typeof e[t]&&n.length?n.length?t+=".":e=void 0:(e=e[t],t="")}while(n.length);return e}interpolateFunction(e,t){return e(t)}interpolateString(e,t){return t?e.replace(this.templateMatcher,(e,n)=>{let r=this.getValue(t,n);return ao(r)?r:e}):e}}return e.\u0275fac=function(t){return uo(t||e)},e.\u0275prov=r["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})();const uo=r["\u0275\u0275getInheritedFactory"](lo);class ho{}let mo=(()=>{class e extends ho{compile(e,t){return e}compileTranslations(e,t){return e}}return e.\u0275fac=function(t){return po(t||e)},e.\u0275prov=r["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})();const po=r["\u0275\u0275getInheritedFactory"](mo);class fo{constructor(){this.currentLang=this.defaultLang,this.translations={},this.langs=[],this.onTranslationChange=new r.EventEmitter,this.onLangChange=new r.EventEmitter,this.onDefaultLangChange=new r.EventEmitter}}const go=new r.InjectionToken("USE_STORE"),yo=new r.InjectionToken("USE_DEFAULT_LANG"),vo=new r.InjectionToken("DEFAULT_LANGUAGE"),bo=new r.InjectionToken("USE_EXTEND");let Co=(()=>{class e{constructor(e,t,n,o,i,a=!0,s=!1,c=!1,l){this.store=e,this.currentLoader=t,this.compiler=n,this.parser=o,this.missingTranslationHandler=i,this.useDefaultLang=a,this.isolate=s,this.extend=c,this.pending=!1,this._onTranslationChange=new r.EventEmitter,this._onLangChange=new r.EventEmitter,this._onDefaultLangChange=new r.EventEmitter,this._langs=[],this._translations={},this._translationRequests={},l&&this.setDefaultLang(l)}get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(e){this.isolate?this._defaultLang=e:this.store.defaultLang=e}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(e){this.isolate?this._currentLang=e:this.store.currentLang=e}get langs(){return this.isolate?this._langs:this.store.langs}set langs(e){this.isolate?this._langs=e:this.store.langs=e}get translations(){return this.isolate?this._translations:this.store.translations}set translations(e){this.isolate?this._translations=e:this.store.translations=e}setDefaultLang(e){if(e===this.defaultLang)return;let t=this.retrieveTranslations(e);void 0!==t?(null==this.defaultLang&&(this.defaultLang=e),t.pipe(Z(1)).subscribe(t=>{this.changeDefaultLang(e)})):this.changeDefaultLang(e)}getDefaultLang(){return this.defaultLang}use(e){if(e===this.currentLang)return l(this.translations[e]);let t=this.retrieveTranslations(e);return void 0!==t?(this.currentLang||(this.currentLang=e),t.pipe(Z(1)).subscribe(t=>{this.changeLang(e)}),t):(this.changeLang(e),l(this.translations[e]))}retrieveTranslations(e){let t;return(void 0===this.translations[e]||this.extend)&&(this._translationRequests[e]=this._translationRequests[e]||this.getTranslation(e),t=this._translationRequests[e]),t}getTranslation(e){this.pending=!0;const t=this.currentLoader.getTranslation(e).pipe(Xr(1),Z(1));return this.loadingTranslations=t.pipe(Object(O.a)(t=>this.compiler.compileTranslations(t,e)),Xr(1),Z(1)),this.loadingTranslations.subscribe({next:t=>{this.translations[e]=this.extend&&this.translations[e]?Object.assign(Object.assign({},t),this.translations[e]):t,this.updateLangs(),this.pending=!1},error:e=>{this.pending=!1}}),t}setTranslation(e,t,n=!1){t=this.compiler.compileTranslations(t,e),this.translations[e]=(n||this.extend)&&this.translations[e]?function e(t,n){let r=Object.assign({},t);
2043return so(t)&&so(n)&&Object.keys(n).forEach(o=>{so(n[o])?o in t?r[o]=e(t[o],n[o]):Object.assign(r,{[o]:n[o]}):Object.assign(r,{[o]:n[o]})}),r}(this.translations[e],t):t,this.updateLangs(),this.onTranslationChange.emit({lang:e,translations:this.translations[e]})}getLangs(){return this.langs}addLangs(e){e.forEach(e=>{-1===this.langs.indexOf(e)&&this.langs.push(e)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(e,t,n){let r;if(t instanceof Array){let r={},o=!1;for(let i of t)r[i]=this.getParsedResult(e,i,n),Lr(r[i])&&(o=!0);if(o){const e=t.map(e=>Lr(r[e])?r[e]:l(r[e]));return Object(Vr.a)(e).pipe(Object(O.a)(e=>{let n={};return e.forEach((e,r)=>{n[t[r]]=e}),n}))}return r}if(e&&(r=this.parser.interpolate(this.parser.getValue(e,t),n)),void 0===r&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(r=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],t),n)),void 0===r){let e={key:t,translateService:this};void 0!==n&&(e.interpolateParams=n),r=this.missingTranslationHandler.handle(e)}return void 0!==r?r:t}get(e,t){if(!ao(e)||!e.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe(ae(n=>Lr(n=this.getParsedResult(n,e,t))?n:l(n)));{let n=this.getParsedResult(this.translations[this.currentLang],e,t);return Lr(n)?n:l(n)}}getStreamOnTranslationChange(e,t){if(!ao(e)||!e.length)throw new Error('Parameter "key" required');return X(I(()=>this.get(e,t)),this.onTranslationChange.pipe(Y(n=>{const r=this.getParsedResult(n.translations,e,t);return"function"==typeof r.subscribe?r:l(r)})))}stream(e,t){if(!ao(e)||!e.length)throw new Error('Parameter "key" required');return X(I(()=>this.get(e,t)),this.onLangChange.pipe(Y(n=>{const r=this.getParsedResult(n.translations,e,t);return Lr(r)?r:l(r)})))}instant(e,t){if(!ao(e)||!e.length)throw new Error('Parameter "key" required');let n=this.getParsedResult(this.translations[this.currentLang],e,t);if(Lr(n)){if(e instanceof Array){let t={};return e.forEach((n,r)=>{t[e[r]]=e[r]}),t}return e}return n}set(e,t,n=this.currentLang){this.translations[n][e]=this.compiler.compile(t,n),this.updateLangs(),this.onTranslationChange.emit({lang:n,translations:this.translations[n]})}changeLang(e){this.currentLang=e,this.onLangChange.emit({lang:e,translations:this.translations[e]}),null==this.defaultLang&&this.changeDefaultLang(e)}changeDefaultLang(e){this.defaultLang=e,this.onDefaultLangChange.emit({lang:e,translations:this.translations[e]})}reloadLang(e){return this.resetLang(e),this.getTranslation(e)}resetLang(e){this._translationRequests[e]=void 0,this.translations[e]=void 0}getBrowserLang(){if("undefined"==typeof window||void 0===window.navigator)return;let e=window.navigator.languages?window.navigator.languages[0]:null;return e=e||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,void 0!==e?(-1!==e.indexOf("-")&&(e=e.split("-")[0]),-1!==e.indexOf("_")&&(e=e.split("_")[0]),e):void 0}getBrowserCultureLang(){if("undefined"==typeof window||void 0===window.navigator)return;let e=window.navigator.languages?window.navigator.languages[0]:null;return e=e||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,e}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275inject"](fo),r["\u0275\u0275inject"](eo),r["\u0275\u0275inject"](ho),r["\u0275\u0275inject"](co),r["\u0275\u0275inject"](ro),r["\u0275\u0275inject"](yo),r["\u0275\u0275inject"](go),r["\u0275\u0275inject"](bo),r["\u0275\u0275inject"](vo))},e.\u0275prov=r["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})(),wo=(()=>{class e{constructor(e,t){this.translate=e,this._ref=t,this.value=""}updateValue(e,t,n){let r=t=>{this.value=void 0!==t?t:e,this.lastKey=e,this._ref.markForCheck()};if(n){let o=this.translate.getParsedResult(n,e,t);Lr(o.subscribe)?o.subscribe(r):r(o)}this.translate.get(e,t).subscribe(r)}transform(e,...t){if(!e||!e.length)return e;if(io(e,this.lastKey)&&io(t,this.lastParams))return this.value;let n;if(ao(t[0])&&t.length)if("string"==typeof t[0]&&t[0].length){let e=t[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{n=JSON.parse(e)}catch(r){throw new SyntaxError("Wrong parameter in TranslatePipe. Expected a valid Object, received: "+t[0])}}else"object"!=typeof t[0]||Array.isArray(t[0])||(n=t[0]);
2043return this.lastKey=e,this.lastParams=t,this.updateValue(e,n),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(t=>{this.lastKey&&t.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(e,n,t.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(t=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,n,t.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,n))})),this.value}_dispose(){void 0!==this.onTranslationChange&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),void 0!==this.onLangChange&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),void 0!==this.onDefaultLangChange&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](Co),r["\u0275\u0275injectPipeChangeDetectorRef"]())},e.\u0275pipe=r["\u0275\u0275definePipe"]({name:"translate",type:e,pure:!1}),e.\u0275prov=r["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})(),So=(()=>{class e{static forRoot(t={}){return{ngModule:e,providers:[t.loader||{provide:eo,useClass:to},t.compiler||{provide:ho,useClass:mo},t.parser||{provide:co,useClass:lo},t.missingTranslationHandler||{provide:ro,useClass:oo},fo,{provide:go,useValue:t.isolate},{provide:yo,useValue:t.useDefaultLang},{provide:bo,useValue:t.extend},{provide:vo,useValue:t.defaultLanguage},Co]}}static forChild(t={}){return{ngModule:e,providers:[t.loader||{provide:eo,useClass:to},t.compiler||{provide:ho,useClass:mo},t.parser||{provide:co,useClass:lo},t.missingTranslationHandler||{provide:ro,useClass:oo},{provide:go,useValue:t.isolate},{provide:yo,useValue:t.useDefaultLang},{provide:bo,useValue:t.extend},{provide:vo,useValue:t.defaultLanguage},Co]}}}return e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)}}),e})();var _o=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{c(r.next(e))}catch(t){i(t)}}function s(e){try{c(r.throw(e))}catch(t){i(t)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))};const Eo=Object(o.makeStateKey)("language");let ko=(()=>{class e{constructor(t,n,r,o,a){this.http=t,this.request=r,this.transferState=o,this.translate=a,e.isServer=Object(i.z)(n)}load(){return _o(this,void 0,void 0,(function*(){let t;const n=Object(o.makeStateKey)("app-config");if(e.isServer){const e=Object(ir.join)(process.cwd(),"dist","career-portal","browser");t=JSON.parse(or.readFileSync(Object(ir.join)(e,"app.json"),"utf8")),this.transferState.set(n,t)}else t=this.transferState.get(n,null),t||(t=yield this.http.get("./app.json").toPromise()),this.http.get("./app.json").toPromise();yield this.setConfig(t),e.loaded=!0}))}setConfig(t){return _o(this,void 0,void 0,(function*(){if(e.settings=t,["service","additionalJobCriteria","integrations","eeoc","privacyConsent"].forEach(t=>{e.settings[t]||(e.settings[t]={})}),e.settings.service.fields&&0!==e.settings.service.fields.length||(e.settings.service.fields=["id","title","publishedCategory(id,name)","address(city,state,countryName)","employmentType","dateLastPublished","publicDescription","isOpen","isPublic","isDeleted","publishedZip","salary","salaryUnit"]),e.settings.service.jobInfoChips||(e.settings.service.jobInfoChips=["employmentType",{type:"mediumDate",field:"dateLastPublished"}]),e.settings.service.keywordSearchFields&&0!==e.settings.service.keywordSearchFields.length||(e.settings.service.keywordSearchFields=["publicDescription","title"]),!e.settings.service.corpToken||/[^A-Za-z0-9]/.test(e.settings.service.corpToken))throw new Error("Invalid Corp Token");if(!e.settings.service.swimlane)throw new Error("Invalid Swimlane");yield this.translate.use(this.getPreferredLanguage()).toPromise(),e.isServer||(e.isIos=!!navigator.userAgent&&/iPad|iPhone|iPod/.test(navigator.userAgent))}))}getPreferredLanguage(){let t=e.settings.defaultLocale;return e.isServer?(t=this.request.acceptsLanguages(e.settings.supportedLocales||[]),t||(t=e.settings.defaultLocale),this.transferState.set(Eo,t)):(t=localStorage.getItem("preferredLanguage")||this.transferState.get(Eo,void 0),t||(t=e.settings.supportedLocales.filter(e=>navigator.language===e)[0]),t||(t=e.settings.defaultLocale)),t}}return e.loaded=!1,e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275inject"](Sr),r["\u0275\u0275inject"](r.PLATFORM_ID),r["\u0275\u0275inject"](nr,8),r["\u0275\u0275inject"](o.TransferState),r["\u0275\u0275inject"](Co))},e.\u0275prov=r["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})();
2044/**
2045 * @license
2046 * Copyright Google LLC All Rights Reserved.
2047 *
2048 * Use of this source code is governed by an MIT-style license that can be
2049 * found in the LICENSE file at https://angular.io/license
2050 */function xo(e){return null!=e&&""+e!="false"}
2051/**
2052 * @license
2053 * Copyright Google LLC All Rights Reserved.
2054 *
2055 * Use of this source code is governed by an MIT-style license that can be
2056 * found in the LICENSE file at https://angular.io/license
2057 */
2058/**
2059 * @license
2060 * Copyright Google LLC All Rights Reserved.
2061 *
2062 * Use of this source code is governed by an MIT-style license that can be
2063 * found in the LICENSE file at https://angular.io/license
2064 */function Io(e){return Array.isArray(e)?e:[e]}
2065/**
2066 * @license
2067 * Copyright Google LLC All Rights Reserved.
2068 *
2069 * Use of this source code is governed by an MIT-style license that can be
2070 * found in the LICENSE file at https://angular.io/license
2071 */function Oo(e){return null==e?"":"string"==typeof e?e:e+"px"}
2072/**
2073 * @license
2074 * Copyright Google LLC All Rights Reserved.
2075 *
2076 * Use of this source code is governed by an MIT-style license that can be
2077 * found in the LICENSE file at https://angular.io/license
2078 */function To(e){return e instanceof r.ElementRef?e.nativeElement:e}
2079/**
2080 * @license
2081 * Copyright Google LLC All Rights Reserved.
2082 *
2083 * Use of this source code is governed by an MIT-style license that can be
2084 * found in the LICENSE file at https://angular.io/license
2085 */
2086/**
2087 * @license
2088 * Copyright Google LLC All Rights Reserved.
2089 *
2090 * Use of this source code is governed by an MIT-style license that can be
2091 * found in the LICENSE file at https://angular.io/license
2092 */function Ao(e,t,n,r){return Object(le.a)(n)&&(r=n,n=void 0),r?Ao(e,t,n).pipe(Object(O.a)(e=>
2092Object(p.a)(e)?r(...e):r(e))):new b.a(r=>{!function e(t,n,r,o,i){let a;if(function(e){return e&&"function"==typeof e.addEventListener&&"function"==typeof e.removeEventListener}(t)){const e=t;t.addEventListener(n,r,i),a=()=>e.removeEventListener(n,r,i)}else if(function(e){return e&&"function"==typeof e.on&&"function"==typeof e.off}(t)){const e=t;t.on(n,r),a=()=>e.off(n,r)}else if(function(e){return e&&"function"==typeof e.addListener&&"function"==typeof e.removeListener}(t)){const e=t;t.addListener(n,r),a=()=>e.removeListener(n,r)}else{if(!t||!t.length)throw new TypeError("Invalid event target");for(let a=0,s=t.length;a<s;a++)e(t[a],n,r,o,i)}o.add(a)}(e,t,(function(e){r.next(arguments.length>1?Array.prototype.slice.call(arguments):e)}),r,n)})}function Po(e,t){return n=>n.lift(new Do(e,t))}class Do{constructor(e,t){this.compare=e,this.keySelector=t}call(e,t){return t.subscribe(new Ro(e,this.compare,this.keySelector))}}class Ro extends f.a{constructor(e,t,n){super(e),this.keySelector=n,this.hasKey=!1,"function"==typeof t&&(this.compare=t)}compare(e,t){return e===t}_next(e){let t;try{const{keySelector:n}=this;t=n?n(e):e}catch(r){return this.destination.error(r)}let n=!1;if(this.hasKey)try{const{compare:e}=this;n=e(this.key,t)}catch(r){return this.destination.error(r)}else this.hasKey=!0;n||(this.key=t,this.destination.next(e))}}const Mo=new qr(Ur);class No{constructor(e){this.durationSelector=e}call(e,t){return t.subscribe(new jo(e,this.durationSelector))}}class jo extends z.b{constructor(e,t){super(e),this.durationSelector=t,this.hasValue=!1}_next(e){if(this.value=e,this.hasValue=!0,!this.throttled){let n;try{const{durationSelector:t}=this;n=t(e)}catch(t){return this.destination.error(t)}const r=Object(z.c)(n,new z.a(this));!r||r.closed?this.clearThrottle():this.add(this.throttled=r)}}clearThrottle(){const{value:e,hasValue:t,throttled:n}=this;n&&(this.remove(n),this.throttled=void 0,n.unsubscribe()),t&&(this.value=void 0,this.hasValue=!1,this.destination.next(e))}notifyNext(){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}function Fo(e){return!Object(p.a)(e)&&e-parseFloat(e)+1>=0}function Lo(e){const{index:t,period:n,subscriber:r}=e;if(r.next(t),!r.closed){if(-1===n)return r.complete();e.index=t+1,this.schedule(e,n)}}function Vo(e,t=Mo){return n=()=>function(e=0,t,n){let r=-1;return Fo(t)?r=Number(t)<1?1:Number(t):Object(a.a)(t)&&(n=t),Object(a.a)(n)||(n=Mo),new b.a(t=>{const o=Fo(e)?e:+e-n.now();return n.schedule(Lo,o,{index:0,period:r,subscriber:t})})}(e,t),function(e){return e.lift(new No(n))};var n}class Bo{constructor(e){this.notifier=e}call(e,t){const n=new Uo(e),r=Object(z.c)(this.notifier,new z.a(n));return r&&!n.seenValue?(n.add(r),t.subscribe(n)):n}}class Uo extends z.b{constructor(e){super(e),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}
2093/**
2094 * @license
2095 * Copyright Google LLC All Rights Reserved.
2096 *
2097 * Use of this source code is governed by an MIT-style license that can be
2098 * found in the LICENSE file at https://angular.io/license
2099 */let Ho;try{Ho="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(tf){Ho=!1}let Go,qo,Ko=(()=>{class e{constructor(e){this._platformId=e,this.isBrowser=this._platformId?Object(i.y)(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&&!Ho)&&"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.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275inject"](r.PLATFORM_ID))},e.\u0275prov=Object(r["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(r["\u0275\u0275inject"])(r.PLATFORM_ID))},token:e,providedIn:"root"}),e})(),zo=(()=>{class e{}return e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)}}),e})();function Yo(e){return function(){if(null==Go&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Go=!0}))}finally{Go=Go||!1}return Go}()?e:!!e.capture}
2100/**
2101 * @license
2102 * Copyright Google LLC All Rights Reserved.
2103 *
2104 * Use of this source code is governed by an MIT-style license that can be
2105 * found in the LICENSE file at https://angular.io/license
2106 */
2107/**
2108 * @license
2109 * Copyright Google LLC All Rights Reserved.
2110 *
2111 * Use of this source code is governed by an MIT-style license that can be
2112 * found in the LICENSE file at https://angular.io/license
2113 */
2114/**
2115 * @license
2116 * Copyright Google LLC All Rights Reserved.
2117 *
2118 * Use of this source code is governed by an MIT-style license that can be
2119 * found in the LICENSE file at https://angular.io/license
2120 */const $o=new r.InjectionToken("cdk-dir-doc",{providedIn:"root",factory:function(){return Object(r.inject)(i.e)}});let Wo=(()=>{class e{constructor(e){if(this.value="ltr",this.change=new r.EventEmitter,e){const t=e.documentElement?e.documentElement.dir:null,n=(e.body?e.body.dir:null)||t;this.value="ltr"===n||"rtl"===n?n:"ltr"}}ngOnDestroy(){this.change.complete()}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275inject"]($o,8))},e.\u0275prov=Object(r["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(r["\u0275\u0275inject"])($o,8))},token:e,providedIn:"root"}),e})(),Zo=(()=>{class e{}return e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)}}),e})(),Jo=(()=>{class e{constructor(e,t,n){this._ngZone=e,this._platform=t,this._scrolled=new d.a,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=n}register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){const t=this.scrollContainers.get(e);t&&(t.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=20){return this._platform.isBrowser?new b.a(t=>{this._globalSubscription||this._addGlobalListener();const n=e>0?this._scrolled.pipe(Vo(e)).subscribe(t):this._scrolled.subscribe(t);return this._scrolledCount++,()=>{n.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):l()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEac
2120h((e,t)=>this.deregister(t)),this._scrolled.complete()}ancestorScrolled(e,t){const n=this.getAncestorScrollContainers(e);return this.scrolled(t).pipe(P(e=>!e||n.indexOf(e)>-1))}getAncestorScrollContainers(e){const t=[];return this.scrollContainers.forEach((n,r)=>{this._scrollableContainsElement(r,e)&&t.push(r)}),t}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_scrollableContainsElement(e,t){let n=t.nativeElement,r=e.getElementRef().nativeElement;do{if(n==r)return!0}while(n=n.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>Ao(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275inject"](r.NgZone),r["\u0275\u0275inject"](Ko),r["\u0275\u0275inject"](i.e,8))},e.\u0275prov=Object(r["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(r["\u0275\u0275inject"])(r.NgZone),Object(r["\u0275\u0275inject"])(Ko),Object(r["\u0275\u0275inject"])(i.e,8))},token:e,providedIn:"root"}),e})(),Qo=(()=>{class e{constructor(e,t,n){this._platform=e,this._change=new d.a,this._changeListener=e=>{this._change.next(e)},this._document=n,t.runOutsideAngular(()=>{if(e.isBrowser){const e=this._getWindow();e.addEventListener("resize",this._changeListener),e.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._updateViewportSize())})}ngOnDestroy(){if(this._platform.isBrowser){const e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){const e=this.getViewportScrollPosition(),{width:t,height:n}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+n,right:e.left+t,height:n,width:t}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const 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}}change(e=20){return e>0?this._change.pipe(Vo(e)):this._change}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_updateViewportSize(){const e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275inject"](Ko),r["\u0275\u0275inject"](r.NgZone),r["\u0275\u0275inject"](i.e,8))},e.\u0275prov=Object(r["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(r["\u0275\u0275inject"])(Ko),Object(r["\u0275\u0275inject"])(r.NgZone),Object(r["\u0275\u0275inject"])(i.e,8))},token:e,providedIn:"root"}),e})(),Xo=(()=>{class e{}return e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)}}),e})(),ei=(()=>{class e{}return e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},imports:[[Zo,zo,Xo],Zo,Xo]}),e})();
2121/**
2122 * @license
2123 * Copyright Google LLC All Rights Reserved.
2124 *
2125 * Use of this source code is governed by an MIT-style license that can be
2126 * found in the LICENSE file at https://angular.io/license
2127 */class ti{attach(e){return this._attachedHost=e,e.attach(this)}detach(){let e=this._attachedHost;null!=e&&(this._attachedHost=null,e.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(e){this._attachedHost=e}}class ni extends ti{constructor(e,t,n,r){super(),this.component=e,this.viewContainerRef=t,this.injector=n,this.componentFactoryResolver=r}}class ri extends ti{constructor(e,t,n){super(),this.templateRef=e,this.viewContainerRef
2127=t,this.context=n}get origin(){return this.templateRef.elementRef}attach(e,t=this.context){return this.context=t,super.attach(e)}detach(){return this.context=void 0,super.detach()}}class oi extends ti{constructor(e){super(),this.element=e instanceof r.ElementRef?e.nativeElement:e
2128/**
2129 * @license
2130 * Copyright Google LLC All Rights Reserved.
2131 *
2132 * Use of this source code is governed by an MIT-style license that can be
2133 * found in the LICENSE file at https://angular.io/license
2134 */}}class ii extends class{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(e){return e instanceof ni?(this._attachedPortal=e,this.attachComponentPortal(e)):e instanceof ri?(this._attachedPortal=e,this.attachTemplatePortal(e)):this.attachDomPortal&&e instanceof oi?(this._attachedPortal=e,this.attachDomPortal(e)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(e){this._disposeFn=e}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}{constructor(e,t,n,r,o){super(),this.outletElement=e,this._componentFactoryResolver=t,this._appRef=n,this._defaultInjector=r,this.attachDomPortal=e=>{const t=e.element,n=this._document.createComment("dom-portal");t.parentNode.insertBefore(n,t),this.outletElement.appendChild(t),super.setDisposeFn(()=>{n.parentNode&&n.parentNode.replaceChild(t,n)})},this._document=o}attachComponentPortal(e){const t=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component);let n;return e.viewContainerRef?(n=e.viewContainerRef.createComponent(t,e.viewContainerRef.length,e.injector||e.viewContainerRef.injector),this.setDisposeFn(()=>n.destroy())):(n=t.create(e.injector||this._defaultInjector),this._appRef.attachView(n.hostView),this.setDisposeFn(()=>{this._appRef.detachView(n.hostView),n.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(n)),n}attachTemplatePortal(e){let t=e.viewContainerRef,n=t.createEmbeddedView(e.templateRef,e.context);return n.rootNodes.forEach(e=>this.outletElement.appendChild(e)),n.detectChanges(),this.setDisposeFn(()=>{let e=t.indexOf(n);-1!==e&&t.remove(e)}),n}dispose(){super.dispose(),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)}_getComponentRootNode(e){return e.hostView.rootNodes[0]}}let ai=(()=>{class e{}return e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)}}),e})();
2135/**
2136 * @license
2137 * Copyright Google LLC All Rights Reserved.
2138 *
2139 * Use of this source code is governed by an MIT-style license that can be
2140 * found in the LICENSE file at https://angular.io/license
2141 */var si=n("VRyK");
2142/**
2143 * @license
2144 * Copyright Google LLC All Rights Reserved.
2145 *
2146 * Use of this source code is governed by an MIT-style license that can be
2147 * found in the LICENSE file at https://angular.io/license
2148 */
2149/**
2150 * @license
2151 * Copyright Google LLC All Rights Reserved.
2152 *
2153 * Use of this source code is governed by an MIT-style license that can be
2154 * found in the LICENSE file at https://angular.io/license
2155 */class ci{constructor(e,t){this._viewportRuler=e,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=t}attach(){}enable(){if(this._canBeEnabled()){const e=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=e.style.left||"",this._previousHTMLStyles.top=e.style.top||"",e.style.left=Oo(-this._previousScrollPosition.left),e.style.top=Oo(-this._previousScrollPosition.top),e.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const e=this._document.documentElement,t=e.style,n=this._document.body.style,r=t.scrollBehavior||"",o=n.scrollBehavior||"";this._isEnabled=!1,t.left=this._previousHTMLStyles.left,t.top=this._previousHTMLStyles.top,e.classList.remove("cdk-global-scrollblock"),t.scrollBehavior=n.scrollBehavior="auto",window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),t.scrollBehavior=r,n.scrollBehavior=o}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const e=this._document.body,t=this._viewportRuler.getViewportSize();return e.scrollHeight>t.height||e.scrollWidth>t.width}}
2156/**
2157 * @license
2158 * Copyright Google LLC All Rights Reserved.
2159 *
2160 * Use of this source code is governed by an MIT-style license that can be
2161 * found in the LICENSE file at https://angular.io/license
2162 */class li{constructor(e,t,n,r){this._scrollDispatcher=e,this._ngZone=t,this._viewportRuler
2162=n,this._config=r,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(e){this._overlayRef=e}enable(){if(this._scrollSubscription)return;const e=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=e.subscribe(()=>{const e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=e.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null
2163/**
2164 * @license
2165 * Copyright Google LLC All Rights Reserved.
2166 *
2167 * Use of this source code is governed by an MIT-style license that can be
2168 * found in the LICENSE file at https://angular.io/license
2169 */}}class ui{enable(){}disable(){}attach(){}}
2170/**
2171 * @license
2172 * Copyright Google LLC All Rights Reserved.
2173 *
2174 * Use of this source code is governed by an MIT-style license that can be
2175 * found in the LICENSE file at https://angular.io/license
2176 */function di(e,t){return t.some(t=>e.bottom<t.top||e.top>t.bottom||e.right<t.left||e.left>t.right)}function hi(e,t){return t.some(t=>e.top<t.top||e.bottom>t.bottom||e.left<t.left||e.right>t.right)}
2177/**
2178 * @license
2179 * Copyright Google LLC All Rights Reserved.
2180 *
2181 * Use of this source code is governed by an MIT-style license that can be
2182 * found in the LICENSE file at https://angular.io/license
2183 */class mi{constructor(e,t,n,r){this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=n,this._config=r,this._scrollSubscription=null}attach(e){this._overlayRef=e}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:t,height:n}=this._viewportRuler.getViewportSize();di(e,[{width:t,height:n,bottom:n,right:t,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let pi=(()=>{class e{constructor(e,t,n,r){this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=n,this.noop=()=>new ui,this.close=e=>new li(this._scrollDispatcher,this._ngZone,this._viewportRuler,e),this.block=()=>new ci(this._viewportRuler,this._document),this.reposition=e=>new mi(this._scrollDispatcher,this._viewportRuler,this._ngZone,e),this._document=r}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275inject"](Jo),r["\u0275\u0275inject"](Qo),r["\u0275\u0275inject"](r.NgZone),r["\u0275\u0275inject"](i.e))},e.\u0275prov=Object(r["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(r["\u0275\u0275inject"])(Jo),Object(r["\u0275\u0275inject"])(Qo),Object(r["\u0275\u0275inject"])(r.NgZone),Object(r["\u0275\u0275inject"])(i.e))},token:e,providedIn:"root"}),e})();
2184/**
2185 * @license
2186 * Copyright Google LLC All Rights Reserved.
2187 *
2188 * Use of this source code is governed by an MIT-style license that can be
2189 * found in the LICENSE file at https://angular.io/license
2190 */
2191/**
2192 * @license
2193 * Copyright Google LLC All Rights Reserved.
2194 *
2195 * Use of this source code is governed by an MIT-style license that can be
2196 * found in the LICENSE file at https://angular.io/license
2197 */class fi{constructor(e){if(this.scrollStrategy=new ui,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,e){const t=Object.keys(e);for(const n of t)void 0!==e[n]&&(this[n]=e[n])}}}
2198/**
2199 * @license
2200 * Copyright Google LLC All Rights Reserved.
2201 *
2202 * Use of this source code is governed by an MIT-style license that can be
2203 * found in the LICENSE file at https://angular.io/license
2204 */class gi{constructor(e,t,n,r,o){this.offsetX=n,this.offsetY=r,this.panelClass=o,this.originX=e.originX,this.originY=e.originY,this.overlayX=t.overlayX,this.overlayY=t.overlayY}}class yi{constructor(e,t){this.connectionPair=e,this.scrollableViewProperties=t}}let vi=(()=>{class e{constructor(e){this._attachedOverlays=[],this._document=e}
2204ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){const t=this._attachedOverlays.indexOf(e);t>-1&&this._attachedOverlays.splice(t,1),0===this._attachedOverlays.length&&this.detach()}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275inject"](i.e))},e.\u0275prov=Object(r["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(r["\u0275\u0275inject"])(i.e))},token:e,providedIn:"root"}),e})(),bi=(()=>{class e extends vi{constructor(e){super(e),this._keydownListener=e=>{const t=this._attachedOverlays;for(let n=t.length-1;n>-1;n--)if(t[n]._keydownEvents.observers.length>0){t[n]._keydownEvents.next(e);break}}}add(e){super.add(e),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275inject"](i.e))},e.\u0275prov=Object(r["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(r["\u0275\u0275inject"])(i.e))},token:e,providedIn:"root"}),e})(),Ci=(()=>{class e extends vi{constructor(e,t){super(e),this._platform=t,this._cursorStyleIsSet=!1,this._clickListener=e=>{const t=e.composedPath?e.composedPath()[0]:e.target,n=this._attachedOverlays.slice();for(let r=n.length-1;r>-1;r--){const o=n[r];if(!(o._outsidePointerEvents.observers.length<1)&&o.hasAttached()){if(o.overlayElement.contains(t))break;o._outsidePointerEvents.next(e)}}}}add(e){super.add(e),this._isAttached||(this._document.body.addEventListener("click",this._clickListener,!0),this._document.body.addEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=this._document.body.style.cursor,this._document.body.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("click",this._clickListener,!0),this._document.body.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275inject"](i.e),r["\u0275\u0275inject"](Ko))},e.\u0275prov=Object(r["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(r["\u0275\u0275inject"])(i.e),Object(r["\u0275\u0275inject"])(Ko))},token:e,providedIn:"root"}),e})();
2205/**
2206 * @license
2207 * Copyright Google LLC All Rights Reserved.
2208 *
2209 * Use of this source code is governed by an MIT-style license that can be
2210 * found in the LICENSE file at https://angular.io/license
2211 */const wi=!("undefined"==typeof window||!window||!window.__karma__&&!window.jasmine);let Si=(()=>{class e{constructor(e,t){this._platform=t,this._document=e}ngOnDestroy(){const e=this._containerElement;e&&e.parentNode&&e.parentNode.removeChild(e)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const e=this._platform?this._platform.isBrowser:"undefined"!=typeof window;if(e||wi){const e=this._document.querySelectorAll('.cdk-overlay-container[platform="server"], .cdk-overlay-container[platform="test"]');for(let t=0;t<e.length;t++)e[t].parentNode.removeChild(e[t])}const t=this._document.createElement("div");t.classList.add("cdk-overlay-container"),wi?t.setAttribute("platform","test"):e||t.setAttribute("platform","server"),this._document.body.appendChild(t),this._containerElement=t}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275inject"](i.e),r["\u0275\u0275inject"](Ko))},e.\u0275prov=Object(r["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(r["\u0275\u0275inject"])(i.e),Object(r["\u0275\u0275inject"])(Ko))},token:e,providedIn:"root"}),e})();
2212/**
2213 * @license
2214 * Copyright Google LLC All Rights Reserved.
2215 *
2216 * Use of this source code is governed by an MIT-style license that can be
2217 * found in the LICENSE file at https://angular.io/license
2218 */class _i{constructor(e,t,n,r,o,i,a,s,c){this._portalOutlet=e,this._host=t,this._pane=n,this._config=r,this._ngZone=o,this._keyboardDispatcher=i,this._document=a,this._location=s,this._outsideClickDispatcher=c,this._backdropElement=null,this._backdropClick=new d.a,this._attachments=new d.a,this._detachments=new d.a,this._locationChanges=me.a.EMPTY,this._backdropClickHandler=e=>this._backdropClick.next(e),this._keydownEvents=new d.a,this._outsidePointerEvents=new d.a,r.scrollStrategy&&(this._scrollStrategy=r.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=r.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(e){let t=this._portalOutlet.attach(e);return!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(Z(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&this._location&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher&&this._outsideClickDispatcher.add(this),t}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const e=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher&&this._outsideClickDispatcher.remove(this),e}dispose(){const e=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this.detachBackdrop(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher&&this._outsideClickDispatcher.remove(this),this._host&&this._host.parentNode&&(this._host.parentNode.removeChild(this._host),this._host=null),this._previousHostParent=this._pane=null,e&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(e){e!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=e,this.hasAttached()&&(e.attach(this),this.updatePosition()))}updateSize(e){this._config=Object.assign(Object.assign({},this._config),e),this._updateElementSize()}setDirection(e){this._config=Object.assign(Object.assign({},this._config),{direction:e}),this._updateElementDirection()}addPanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!0)}removePanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!1)}getDirection(){const e=this._config.direction;return e?"string"==typeof e?e:e.value:"ltr"}updateScrollStrategy(e){e!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=e,this.hasAttached()&&(e.attach(this),e.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const e=this._pane.style;e.width=Oo(this._config.width),e.height=Oo(this._config.height),e.minWidth=Oo(this._config.minWidth),e.minHeight=Oo(this._config.minHeight),e.maxWidth=Oo(this._config.maxWidth),e.maxHeight=Oo(this._config.maxHeight)}_togglePointerEvents(e){this._pane.style.pointerEvents=e?"auto":"none"}_attachBackdrop(){this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add("cdk-overlay-backdrop-showing")})}):this._backdropElement.classList.add("cdk-overlay-backdrop-showing")}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let e,t=this._backdropElement;if(!t)return;let n=()=>{t&&(t.removeEventListener("click",this._backdropClickHandler),t.removeEventListener("transitionend",n),t.parentNode&&t.parentNode.removeChild(t)),this._backdropElement==t&&(this._backdropElement=null),this._config.backdropClass&&this._toggleClasses(t,this._config.backdropClass,!1),clearTimeout(e)};t.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{t.addEventListener("transitionend",n)}),t.style.pointerEvents="none",e=this._ngZone.runOutsideAngular(()=>setTimeout(n,500))}_toggleClasses(e,t,n){const r=e.classList;
2218Io(t).forEach(e=>{e&&(n?r.add(e):r.remove(e))})}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const e=this._ngZone.onStable.pipe((t=Object(si.a)(this._attachments,this._detachments),e=>e.lift(new Bo(t)))).subscribe(()=>{this._pane&&this._host&&0!==this._pane.children.length||(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._previousHostParent.removeChild(this._host)),e.unsubscribe())});var t})}_disposeScrollStrategy(){const e=this._scrollStrategy;e&&(e.disable(),e.detach&&e.detach())}}
2219/**
2220 * @license
2221 * Copyright Google LLC All Rights Reserved.
2222 *
2223 * Use of this source code is governed by an MIT-style license that can be
2224 * found in the LICENSE file at https://angular.io/license
2225 */const Ei=/([A-Za-z%]+)$/;class ki{constructor(e,t,n,r,o){this._viewportRuler=t,this._document=n,this._platform=r,this._overlayContainer=o,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new d.a,this._resizeSubscription=me.a.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(e)}get positions(){return this._preferredPositions}attach(e){this._validatePositions(),e.hostElement.classList.add("cdk-overlay-connected-position-bounding-box"),this._overlayRef=e,this._boundingBox=e.hostElement,this._pane=e.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect();const e=this._originRect,t=this._overlayRect,n=this._viewportRect,r=[];let o;for(let i of this._preferredPositions){let a=this._getOriginPoint(e,i),s=this._getOverlayPoint(a,t,i),c=this._getOverlayFit(s,t,n,i);if(c.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(i,a);this._canFitWithFlexibleDimensions(c,s,n)?r.push({position:i,origin:a,overlayRect:t,boundingBoxRect:this._calculateBoundingBoxRect(a,i)}):(!o||o.overlayFit.visibleArea<c.visibleArea)&&(o={overlayFit:c,overlayPoint:s,originPoint:a,position:i,overlayRect:t})}if(r.length){let e=null,t=-1;for(const n of r){const r=n.boundingBoxRect.width*n.boundingBoxRect.height*(n.position.weight||1);r>t&&(t=r,e=n)}return this._isPushed=!1,void this._applyPosition(e.position,e.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(o.position,o.originPoint);this._applyPosition(o.position,o.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&xi(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove("cdk-overlay-connected-position-bounding-box"),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();const e=this._lastPosition||this._preferredPositions[0],t=this._getOriginPoint(this._originRect,e);this._applyPosition(e,t)}}withScrollableContainers(e){return this._scrollables=e,this}withPositions(e){return this._preferredPositions=e,-1===e.indexOf(this._lastPosition)&&(this._lastPosition=null),this._val
2225idatePositions(),this}withViewportMargin(e){return this._viewportMargin=e,this}withFlexibleDimensions(e=!0){return this._hasFlexibleDimensions=e,this}withGrowAfterOpen(e=!0){return this._growAfterOpen=e,this}withPush(e=!0){return this._canPush=e,this}withLockedPosition(e=!0){return this._positionLocked=e,this}setOrigin(e){return this._origin=e,this}withDefaultOffsetX(e){return this._offsetX=e,this}withDefaultOffsetY(e){return this._offsetY=e,this}withTransformOriginOn(e){return this._transformOriginSelector=e,this}_getOriginPoint(e,t){let n,r;if("center"==t.originX)n=e.left+e.width/2;else{const r=this._isRtl()?e.right:e.left,o=this._isRtl()?e.left:e.right;n="start"==t.originX?r:o}return r="center"==t.originY?e.top+e.height/2:"top"==t.originY?e.top:e.bottom,{x:n,y:r}}_getOverlayPoint(e,t,n){let r,o;return r="center"==n.overlayX?-t.width/2:"start"===n.overlayX?this._isRtl()?-t.width:0:this._isRtl()?0:-t.width,o="center"==n.overlayY?-t.height/2:"top"==n.overlayY?0:-t.height,{x:e.x+r,y:e.y+o}}_getOverlayFit(e,t,n,r){let{x:o,y:i}=e,a=this._getOffset(r,"x"),s=this._getOffset(r,"y");a&&(o+=a),s&&(i+=s);let c=0-i,l=i+t.height-n.height,u=this._subtractOverflows(t.width,0-o,o+t.width-n.width),d=this._subtractOverflows(t.height,c,l),h=u*d;return{visibleArea:h,isCompletelyWithinViewport:t.width*t.height===h,fitsInViewportVertically:d===t.height,fitsInViewportHorizontally:u==t.width}}_canFitWithFlexibleDimensions(e,t,n){if(this._hasFlexibleDimensions){const r=n.bottom-t.y,o=n.right-t.x,i=Ii(this._overlayRef.getConfig().minHeight),a=Ii(this._overlayRef.getConfig().minWidth),s=e.fitsInViewportHorizontally||null!=a&&a<=o;return(e.fitsInViewportVertically||null!=i&&i<=r)&&s}return!1}_pushOverlayOnScreen(e,t,n){if(this._previousPushAmount&&this._positionLocked)return{x:e.x+this._previousPushAmount.x,y:e.y+this._previousPushAmount.y};const r=this._viewportRect,o=Math.max(e.x+t.width-r.width,0),i=Math.max(e.y+t.height-r.height,0),a=Math.max(r.top-n.top-e.y,0),s=Math.max(r.left-n.left-e.x,0);let c=0,l=0;return c=t.width<=r.width?s||-o:e.x<this._viewportMargin?r.left-n.left-e.x:0,l=t.height<=r.height?a||-i:e.y<this._viewportMargin?r.top-n.top-e.y:0,this._previousPushAmount={x:c,y:l},{x:e.x+c,y:e.y+l}}_applyPosition(e,t){if(this._setTransformOrigin(e),this._setOverlayElementStyles(t,e),this._setBoundingBoxStyles(t,e),e.panelClass&&this._addPanelClasses(e.panelClass),this._lastPosition=e,this._positionChanges.observers.length){const t=this._getScrollVisibility(),n=new yi(e,t);this._positionChanges.next(n)}this._isInitialRender=!1}_setTransformOrigin(e){if(!this._transformOriginSelector)return;const t=this._boundingBox.querySelectorAll(this._transformOriginSelector);let n,r=e.overlayY;n="center"===e.overlayX?"center":this._isRtl()?"start"===e.overlayX?"right":"left":"start"===e.overlayX?"left":"right";for(let o=0;o<t.length;o++)t[o].style.transformOrigin=`${n} ${r}`}_calculateBoundingBoxRect(e,t){const n=this._viewportRect,r=this._isRtl();let o,i,a,s,c,l;if("top"===t.overlayY)i=e.y,o=n.height-i+this._viewportMargin;else if("bottom"===t.overlayY)a=n.height-e.y+2*this._viewportMargin,o=n.height-a+this._viewportMargin;else{const t=Math.min(n.bottom-e.y+n.top,e.y),r=this._lastBoundingBoxSize.height;o=2*t,i=e.y-t,o>r&&!this._isInitialRender&&!this._growAfterOpen&&(i=e.y-r/2)}if("end"===t.overlayX&&!r||"start"===t.overlayX&&r)l=n.width-e.x+this._viewportMargin,s=e.x-this._viewportMargin;else if("start"===t.overlayX&&!r||"end"===t.overlayX&&r)c=e.x,s=n.right-e.x;else{const t=Math.min(n.right-e.x+n.left,e.x),r=this._lastBoundingBoxSize.width;s=2*t,c=e.x-t,s>r&&!this._isInitialRender&&!this._growAfterOpen&&(c=e.x-r/2)}return{top:i,left:c,bottom:a,right:l,width:s,height:o}}_setBoundingBoxStyles(e,t){const n=this._calculateBoundingBoxRect(e,t);this._isInitialRender||this._growAfterOpen||(n.height=Math.min(n.height,this._lastBoundingBoxSize.height),n.width=Math.min(n.width,this._lastBoundingBoxSize.width));const r={};if(this._hasExactPosition())r.top=r.left="0",r.bottom=r.right=r.maxHeight=r.maxWidth="",r.width=r.height="100%";else{const e=this._overlayRef.getConfig().maxHeight,o=this._overlayRef.getConfig().maxWidth;r.height=Oo(n.height),r.top=Oo(n.top),r.bottom=Oo(n.bottom),r.width=Oo(n.width),r.left=Oo(n.left),r.right=Oo(n.right),r.alignItems="center"===t.overlayX?"center":"end"===t.overlayX?"flex-end":"flex-start",r.justifyContent="center"===t.overlayY?"center":"bottom"===t.overlayY?"flex-end":"flex-start",e&&(r.maxHeight=Oo(e)),o&&(r.maxWidth=Oo(o))}this._lastBoundingBoxSize=n,xi(this._boundingBox.style,r)}_resetBoundingBoxStyles(){xi(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){xi(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(e,t){const n={},r=this._hasExactPosition(),o=this._hasFlexibleDimensions,i=this._overlayRef.getConfig();if(r){const r=this._viewportRuler.getViewportScrollPosition();xi(n,this._getExactOverlayY(t,e,r)),xi(n,this._getExactOverlayX(t,e,r))}else n.position="static";let a="",s=this._getOffset(t,"x"),c=this._getOffset(t,"y");s&&(a+=`translateX(${s}px) `),c&&(a+=`translateY(${c}px)`),n.transform=a.trim(),i.maxHeight&&(r?n.maxHeight=Oo(i.maxHeight):o&&(n.maxHeight="")),i.maxWidth&&(r?n.maxWidth=Oo(i.maxWidth):o&&(n.maxWidth="")),xi(this._pane.style,n)}_getExactOverlayY(e,t,n){let r={top:"",bottom:""},o=this._getOverlayPoint(t,this._overlayRect,e);this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,n));let i=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return o.y-=i,"bottom"===e.overlayY?r.bottom=this._document.documentElement.clientHeight-(o.y+this._overlayRect.height)+"px":r.top=Oo(o.y),r}_getExactOverlayX(e,t,n){let r,o={left:"",right:""},i=this._getOverlayPoint(t,this._overlayRect,e);return this._isPushed&&(i=this._pushOverlayOnScreen(i,this._overlayRect,n)),r=this._isRtl()?"end"===e.overlayX?"left":"right":"end"===e.overlayX?"right":"left","right"===r?o.right=this._document.documentElement.clientWidth-(i.x+this._overlayRect.width)+"px":o.left=Oo(i.x),o}_getScrollVisibility(){const e=this._getOriginRect(),t=this._pane.getBoundingClientRect(),n=this._scrollables.map(e=>e.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:hi(e,n),isOriginOutsideView:di(e,n),isOverlayClipped:hi(t,n),isOverlayOutsideView:di(t,n)}}_subtractOverflows(e,...t){return t.reduce((e,t)=>
2225e-Math.max(t,0),e)}_getNarrowedViewportRect(){const e=this._document.documentElement.clientWidth,t=this._document.documentElement.clientHeight,n=this._viewportRuler.getViewportScrollPosition();return{top:n.top+this._viewportMargin,left:n.left+this._viewportMargin,right:n.left+e-this._viewportMargin,bottom:n.top+t-this._viewportMargin,width:e-2*this._viewportMargin,height:t-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(e,t){return"x"===t?null==e.offsetX?this._offsetX:e.offsetX:null==e.offsetY?this._offsetY:e.offsetY}_validatePositions(){}_addPanelClasses(e){this._pane&&Io(e).forEach(e=>{""!==e&&-1===this._appliedPanelClasses.indexOf(e)&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(e=>{this._pane.classList.remove(e)}),this._appliedPanelClasses=[])}_getOriginRect(){const e=this._origin;if(e instanceof r.ElementRef)return e.nativeElement.getBoundingClientRect();if(e instanceof Element)return e.getBoundingClientRect();const t=e.width||0,n=e.height||0;return{top:e.y,bottom:e.y+n,left:e.x,right:e.x+t,height:n,width:t}}}function xi(e,t){for(let n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function Ii(e){if("number"!=typeof e&&null!=e){const[t,n]=e.split(Ei);return n&&"px"!==n?null:parseFloat(t)}return e||null}
2226/**
2227 * @license
2228 * Copyright Google LLC All Rights Reserved.
2229 *
2230 * Use of this source code is governed by an MIT-style license that can be
2231 * found in the LICENSE file at https://angular.io/license
2232 */class Oi{constructor(e,t,n,r,o,i,a){this._preferredPositions=[],this._positionStrategy=new ki(n,r,o,i,a).withFlexibleDimensions(!1).withPush(!1).withViewportMargin(0),this.withFallbackPosition(e,t),this.onPositionChange=this._positionStrategy.positionChanges}get positions(){return this._preferredPositions}attach(e){this._overlayRef=e,this._positionStrategy.attach(e),this._direction&&(e.setDirection(this._direction),this._direction=null)}dispose(){this._positionStrategy.dispose()}detach(){this._positionStrategy.detach()}apply(){this._positionStrategy.apply()}recalculateLastPosition(){this._positionStrategy.reapplyLastPosition()}withScrollableContainers(e){this._positionStrategy.withScrollableContainers(e)}withFallbackPosition(e,t,n,r){const o=new gi(e,t,n,r);return this._preferredPositions.push(o),this._positionStrategy.withPositions(this._preferredPositions),this}withDirection(e){return this._overlayRef?this._overlayRef.setDirection(e):this._direction=e,this}withOffsetX(e){return this._positionStrategy.withDefaultOffsetX(e),this}withOffsetY(e){return this._positionStrategy.withDefaultOffsetY(e),this}withLockedPosition(e){return this._positionStrategy.withLockedPosition(e),this}withPositions(e){return this._preferredPositions=e.slice(),this._positionStrategy.withPositions(this._preferredPositions),this}setOrigin(e){return this._positionStrategy.setOrigin(e),this
2233/**
2234 * @license
2235 * Copyright Google LLC All Rights Reserved.
2236 *
2237 * Use of this source code is governed by an MIT-style license that can be
2238 * found in the LICENSE file at https://angular.io/license
2239 */}}class Ti{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}attach(e){const t=e.getConfig();this._overlayRef=e,this._width&&!t.width&&e.updateSize({width:this._width}),this._height&&!t.height&&e.updateSize({height:this._height}),e.hostElement.classList.add("cdk-global-overlay-wrapper"),this._isDisposed=!1}top(e=""){return this._bottomOffset="",this._topOffset=e,this._alignItems="flex-start",this}left(e=""){return this._rightOffset="",this._leftOffset=e,this._justifyContent="flex-start",this}bottom(e=""){return this._topOffset="",this._bottomOffset=e,this._alignItems="flex-end",this}right(e=""){return this._leftOffset="",this._rightOffset=e,this._justifyContent="flex-end",this}width(e=""){return this._overlayRef?this._overlayRef.updateSize({width:e}):this._width=e,this}height(e=""){return this._overlayRef?this._overlayRef.updateSize({height:e}):this._height=e,this}centerHorizontally(e=""){return this.left(e),this._justifyContent="center",this}centerVertically(e=""){return this.top(e),this._alignItems="center",this}
2239apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement.style,n=this._overlayRef.getConfig(),{width:r,height:o,maxWidth:i,maxHeight:a}=n,s=!("100%"!==r&&"100vw"!==r||i&&"100%"!==i&&"100vw"!==i),c=!("100%"!==o&&"100vh"!==o||a&&"100%"!==a&&"100vh"!==a);e.position=this._cssPosition,e.marginLeft=s?"0":this._leftOffset,e.marginTop=c?"0":this._topOffset,e.marginBottom=this._bottomOffset,e.marginRight=this._rightOffset,s?t.justifyContent="flex-start":"center"===this._justifyContent?t.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?t.justifyContent="flex-end":"flex-end"===this._justifyContent&&(t.justifyContent="flex-start"):t.justifyContent=this._justifyContent,t.alignItems=c?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement,n=t.style;t.classList.remove("cdk-global-overlay-wrapper"),n.justifyContent=n.alignItems=e.marginTop=e.marginBottom=e.marginLeft=e.marginRight=e.position="",this._overlayRef=null,this._isDisposed=!0}}let Ai=(()=>{class e{constructor(e,t,n,r){this._viewportRuler=e,this._document=t,this._platform=n,this._overlayContainer=r}global(){return new Ti}connectedTo(e,t,n){return new Oi(t,n,e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}flexibleConnectedTo(e){return new ki(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275inject"](Qo),r["\u0275\u0275inject"](i.e),r["\u0275\u0275inject"](Ko),r["\u0275\u0275inject"](Si))},e.\u0275prov=Object(r["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(r["\u0275\u0275inject"])(Qo),Object(r["\u0275\u0275inject"])(i.e),Object(r["\u0275\u0275inject"])(Ko),Object(r["\u0275\u0275inject"])(Si))},token:e,providedIn:"root"}),e})(),Pi=0,Di=(()=>{class e{constructor(e,t,n,r,o,i,a,s,c,l,u){this.scrollStrategies=e,this._overlayContainer=t,this._componentFactoryResolver=n,this._positionBuilder=r,this._keyboardDispatcher=o,this._injector=i,this._ngZone=a,this._document=s,this._directionality=c,this._location=l,this._outsideClickDispatcher=u}create(e){const t=this._createHostElement(),n=this._createPaneElement(t),r=this._createPortalOutlet(n),o=new fi(e);return o.direction=o.direction||this._directionality.value,new _i(r,t,n,o,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}position(){return this._positionBuilder}_createPaneElement(e){const t=this._document.createElement("div");return t.id="cdk-overlay-"+Pi++,t.classList.add("cdk-overlay-pane"),e.appendChild(t),t}_createHostElement(){const e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(r.ApplicationRef)),new ii(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275inject"](pi),r["\u0275\u0275inject"](Si),r["\u0275\u0275inject"](r.ComponentFactoryResolver),r["\u0275\u0275inject"](Ai),r["\u0275\u0275inject"](bi),r["\u0275\u0275inject"](r.Injector),r["\u0275\u0275inject"](r.NgZone),r["\u0275\u0275inject"](i.e),r["\u0275\u0275inject"](Wo),r["\u0275\u0275inject"](i.i),r["\u0275\u0275inject"](Ci))},e.\u0275prov=r["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})();
2240/**
2241 * @license
2242 * Copyright Google LLC All Rights Reserved.
2243 *
2244 * Use of this source code is governed by an MIT-style license that can be
2245 * found in the LICENSE file at https://angular.io/license
2246 */
2247/**
2248 * @license
2249 * Copyright Google LLC All Rights Reserved.
2250 *
2251 * Use of this source code is governed by an MIT-style license that can be
2252 * found in the LICENSE file at https://angular.io/license
2253 */const Ri={provide:new r.InjectionToken("cdk-connected-overlay-scroll-strategy"),deps:[Di],useFactory:function(e){return()=>e.scrollStrategies.reposition()}};let Mi=(()=>{class e{}return e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},providers:[Di,Ri],imports:[[Zo,ai,ei],ei]}),e})();function Ni(e,t){return{type:7,name:e,definitions:t,options:{}}}function ji(e,t=null){return{type:4,styles:t,timings:e}}function Fi(e){return{type:6,styles:e,offset:null}}function Li(e,t,n){return{type:0,name:e,styles:t,options:n}}function Vi(e,t,n=null){return{type:1,expr:e,animation:t,options:n}}
2254/**
2255 * @license
2256 * Copyright Google LLC All Rights Reserved.
2257 *
2258 * Use of this source code is governed by an MIT-style license that can be
2259 * found in the LICENSE file at https://angular.io/license
2260 */
2261/**
2262 * @license
2263 * Copyright Google LLC All Rights Reserved.
2264 *
2265 * Use of this source code is governed by an MIT-style license that can be
2266 * found in the LICENSE file at https://angular.io/license
2267 */
2268/**
2269 * @license
2270 * Copyright Google LLC All Rights Reserved.
2271 *
2272 * Use of this source code is governed by an MIT-style license that can be
2273 * found in the LICENSE file at https://angular.io/license
2274 */var Bi=n("NAv5"),Ui=n("s7LF");function Hi(e,t=Mo){return n=>n.lift(new Gi(e,t))}
2274class Gi{constructor(e,t){this.dueTime=e,this.scheduler=t}call(e,t){return t.subscribe(new qi(e,this.dueTime,this.scheduler))}}class qi extends f.a{constructor(e,t,n){super(e),this.dueTime=t,this.scheduler=n,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(e){this.clearDebounce(),this.lastValue=e,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(Ki,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:e}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(e)}}clearDebounce(){const e=this.debouncedSubscription;null!==e&&(this.remove(e),e.unsubscribe(),this.debouncedSubscription=null)}}function Ki(e){e.debouncedNext()}let zi=(()=>{class e{}return e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},imports:[[ei]]}),e})(),Yi=(()=>{class e{create(e){return"undefined"==typeof MutationObserver?null:new MutationObserver(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(r["\u0275\u0275defineInjectable"])({factory:function(){return new e},token:e,providedIn:"root"}),e})(),$i=(()=>{class e{}return e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},providers:[Yi]}),e})();"undefined"!=typeof Element&&Element;
2275/**
2276 * @license
2277 * Copyright Google LLC All Rights Reserved.
2278 *
2279 * Use of this source code is governed by an MIT-style license that can be
2280 * found in the LICENSE file at https://angular.io/license
2281 */const Wi=new r.InjectionToken("cdk-focus-monitor-default-options"),Zi=Yo({passive:!0,capture:!0});let Ji=(()=>{class e{constructor(e,t,n,r){this._ngZone=e,this._platform=t,this._origin=null,this._windowFocused=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._documentKeydownListener=()=>{this._lastTouchTarget=null,this._setOriginForCurrentEventQueue("keyboard")},this._documentMousedownListener=e=>{if(!this._lastTouchTarget){const t=
2282/**
2283 * @license
2284 * Copyright Google LLC All Rights Reserved.
2285 *
2286 * Use of this source code is governed by an MIT-style license that can be
2287 * found in the LICENSE file at https://angular.io/license
2288 */
2289function(e){return 0===e.buttons}(e)?"keyboard":"mouse";this._setOriginForCurrentEventQueue(t)}},this._documentTouchstartListener=e=>{null!=this._touchTimeoutId&&clearTimeout(this._touchTimeoutId),this._lastTouchTarget=Qi(e),this._touchTimeoutId=setTimeout(()=>this._lastTouchTarget=null,650)},this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)},this._rootNodeFocusAndBlurListener=e=>{const t=Qi(e),n="focus"===e.type?this._onFocus:this._onBlur;for(let r=t;r;r=r.parentElement)n.call(this,e,r)},this._document=n,this._detectionMode=(null==r?void 0:r.detectionMode)||0}monitor(e,t=!1){const n=To(e);if(!this._platform.isBrowser||1!==n.nodeType)return l(null);const r=function(e){if(function(){if(null==qo){const e="undefined"!=typeof document?document.head:null;qo=!(!e||!e.createShadowRoot&&!e.attachShadow)}return qo}()){const t=e.getRootNode?e.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}(n)||this._getDocument(),o=this._elementInfo.get(n);if(o)return t&&(o.checkChildren=!0),o.subject;const i={checkChildren:t,subject:new d.a,rootNode:r};return this._elementInfo.set(n,i),this._registerGlobalListeners(i),i.subject}stopMonitoring(e){const t=To(e),n=this._elementInfo.get(t);n&&(n.subject.complete(),this._setClasses(t),this._elementInfo.delete(t),this._removeGlobalListeners(n))}focusVia(e,t,n){const r=To(e);this._setOriginForCurrentEventQueue(t),"function"==typeof r.focus&&r.focus(n)}ngOnDestroy(){this._elementInfo.forEach((e,t)=>this.stopMonitoring(t))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_toggleClass(e,t,n){n?e.classList.add(t):e.classList.remove(t)}_getFocusOrigin(e){return this._origin?this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:this._wasCausedByTouch(e)?"touch":"program"}_setClasses(e,t){this._toggleClass(e,"cdk-focused",!!t),this._toggleClass(e,"cdk-touch-focused","touch"===t),this._toggleClass(e,"cdk-keyboard-focused","keyboard"===t),this._toggleClass(e,"cdk-mouse-focused","mouse"===t),this._toggleClass(e,"cdk-program-focused","program"===t)}_setOriginForCurrentEventQueue(e){this._ngZone.runOutsideAngular(()=>{this._origin=e,0===this._detectionMode&&(this._originTimeoutId=setTimeout(()=>this._origin=null,1))})}_wasCausedByTouch(e){const t=Qi(e);return this._lastTouchTarget instanceof Node&&t instanceof Node&&(t===this._lastTouchTarget||t.contains(this._lastTouchTarget))}_onFocus(e,t){const n=this._elementInfo.get(t);if(!n||!n.checkChildren&&t!==Qi(e))return;const r=this._getFocusOrigin(e);this._setClasses(t,r),this._emitOrigin(n.subject,r),this._lastFocusOrigin=r}_onBlur(e,t){const n=this._elementInfo.get(t);!n||n.checkChildren&&e.relatedTarget instanceof Node&&t.contains(e.relatedTarget)||(this._setClasses(t),this._emitOrigin(n.subject,null))}_emitOrigin(e,t){this._ngZone.run(()=>e.next(t))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;const t=e.rootNode,n=this._rootNodeFocusListenerCount.get(t)||0;n||this._ngZone.runOutsideAngular(()=>{t.addEventListener("focus",this._rootNodeFocusAndBlurListener,Zi),t.addEventListener("blur",this._rootNodeFocusAndBlurListener,Zi)}),this._rootNodeFocusListenerCount.set(t,n+1),1==++this._monitoredElementCount&&this._ngZone.runOutsideAngular(()=>{const e=this._getDocument(),t=this._getWindow();e.addEventListener("keydown",this._documentKeydownListener,Zi),e.addEventListener("mousedown",this._documentMousedownListener,Zi),e.addEventListener("touchstart",this._documentTouchstartListener,Zi),t.addEventListener("focus",this._windowFocusListener)})}_removeGlobalListeners(e){const t=e.rootNode;if(this._rootNodeFocusListenerCount.has(t)){const e=this._rootNodeFocusListenerCount.get(t);e>1?this._rootNodeFocusListenerCount.set(t,e-1):(t.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Zi),t.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Zi),this._rootNodeFocusListenerCount.delete(t))}if(!--this._monitoredElementCount){const e=this._getDocument(),t=this._getWindow();e.removeEventListener("keydown",this._documentKeydownListener,Zi),e.removeEventListener("mousedown",this._documentMousedownListener,Zi),e.removeEventListener("touchstart",this._documentTouchstartListener,Zi),t.removeEventListener("focus",this._windowFocusListener),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._touchTimeoutId),clearTimeout(this._originTimeoutId)}}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275inject"](r.NgZone),r["\u0275\u0275inject"](Ko),r["\u0275\u0275inject"](i.e,8),r["\u0275\u0275inject"](Wi,8))},e.\u0275prov=Object(r["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(r["\u0275\u0275inject"])(r.NgZone),Object(r["\u0275\u0275inject"])(Ko),Object(r["\u0275\u0275inject"])(i.e,8),Object(r["\u0275\u0275inject"])(Wi,8))},token:e,providedIn:"root"}),e})();function Qi(e){return e.composedPath?e.composedPath()[0]:e.target}let Xi=(()=>{class e{constructor(e,t){this._platform=e,this._document=t}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);const t=this._document.defaultView||window,n=t&&t.getComputedStyle?t.getComputedStyle(e):null,r=(n&&n.backgroundColor||"").replace(/ /g,"");switch(this._document.body.removeChild(e),r){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}
2289_applyBodyHighContrastModeCssClasses(){if(this._platform.isBrowser&&this._document.body){const e=this._document.body.classList;e.remove("cdk-high-contrast-active"),e.remove("cdk-high-contrast-black-on-white"),e.remove("cdk-high-contrast-white-on-black");const t=this.getHighContrastMode();1===t?(e.add("cdk-high-contrast-active"),e.add("cdk-high-contrast-black-on-white")):2===t&&(e.add("cdk-high-contrast-active"),e.add("cdk-high-contrast-white-on-black"))}}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275inject"](Ko),r["\u0275\u0275inject"](i.e))},e.\u0275prov=Object(r["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(r["\u0275\u0275inject"])(Ko),Object(r["\u0275\u0275inject"])(i.e))},token:e,providedIn:"root"}),e})(),ea=(()=>{class e{constructor(e){e._applyBodyHighContrastModeCssClasses()}}return e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)(r["\u0275\u0275inject"](Xi))},imports:[[zo,$i]]}),e})();
2290/**
2291 * @license
2292 * Copyright Google LLC All Rights Reserved.
2293 *
2294 * Use of this source code is governed by an MIT-style license that can be
2295 * found in the LICENSE file at https://angular.io/license
2296 */var ta=n("UVXo"),na=n("//w5"),ra=n.n(na);let oa=(()=>{class e{}return e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)}}),e})(),ia=(()=>{class e{}return e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},imports:[[Zo]]}),e})();
2297/**
2298 * @license
2299 * Copyright Google LLC All Rights Reserved.
2300 *
2301 * Use of this source code is governed by an MIT-style license that can be
2302 * found in the LICENSE file at https://angular.io/license
2303 */const aa=["theme",""];function sa(e,t){if(1&e&&r["\u0275\u0275element"](0,"i",3),2&e){const e=r["\u0275\u0275nextContext"]();r["\u0275\u0275property"]("ngClass",e.icon)}}function ca(e,t){if(1&e&&r["\u0275\u0275element"](0,"i",3),2&e){const e=r["\u0275\u0275nextContext"]();r["\u0275\u0275property"]("ngClass",e.icon)}}function la(e,t){1&e&&(r["\u0275\u0275elementStart"](0,"i",4),r["\u0275\u0275namespaceSVG"](),r["\u0275\u0275elementStart"](1,"svg",5),r["\u0275\u0275elementStart"](2,"style",6),r["\u0275\u0275text"](3," .spinner { fill: #ffffff; } "),r["\u0275\u0275elementEnd"](),r["\u0275\u0275element"](4,"path",7),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"]())}const ua=["*"],da=function(e,t,n,r,o){return[e,t,n,r,o]};function ha(e,t){if(1&e&&r["\u0275\u0275element"](0,"div",2),2&e){const e=r["\u0275\u0275nextContext"]();r["\u0275\u0275property"]("@state",e.noAnimate?"no-animation":"visible")("ngClass",r["\u0275\u0275pureFunction5"](3,da,e.tooltipType,e.rounded?"rounded":"",e.size?e.size:"",e.preline?"preline":"",e.position))("innerHTML",e.message,r["\u0275\u0275sanitizeHtml"])}}function ma(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"div",3),r["\u0275\u0275text"](1),r["\u0275\u0275elementEnd"]()),2&e){const e=r["\u0275\u0275nextContext"]();r["\u0275\u0275property"]("@state",e.noAnimate?"no-animation":"visible")("ngClass",r["\u0275\u0275pureFunction5"](3,da,e.tooltipType,e.rounded?"rounded":"",e.size?e.size:"",e.preline?"preline":"",e.position)),r["\u0275\u0275advance"](1),r["\u0275\u0275textInterpolate"](e.message)}}const pa=[[["item-header"]],[["item-content"]],"*",[["item-end"]]],fa=function(e){return{avatar:e}},ga=["item-header","item-content","*","item-end"];function ya(e,t){if(1&e&&r["\u0275\u0275element"](0,"i",1),2&e){const e=r["\u0275\u0275nextContext"]();r["\u0275\u0275property"]("ngClass",e.classMap)}}const va=[[["item-avatar"]],[["item-title"]],[["item-header-end"]]],ba=["item-avatar","item-title","item-header-end"];function Ca(e,t){1&e&&r["\u0275\u0275element"](0,"i",3)}function wa(e,t){if(1&e){const e=r["\u0275\u0275getCurrentView"]();r["\u0275\u0275elementStart"](0,"i",4),r["\u0275\u0275listener"]("click",(function(t){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"]().onRemove(t)})),r["\u0275\u0275elementEnd"]()}}const Sa=["preview"];function _a(e,t){if(1&e){const e=r["\u0275\u0275getCurrentView"]();r["\u0275\u0275elementStart"](0,"novo-chip",7),r["\u0275\u0275listener"]("remove",(function(n){r["\u0275\u0275restoreView"](e);const o=t.$implicit;return r["\u0275\u0275nextContext"]().remove(n,o)}))("select",(function(n){r["\u0275\u0275restoreView"](e);const o=t.$implicit;return r["\u0275\u0275nextContext"]().select(n,o)}))("deselect",(function(n){r["\u0275\u0275restoreView"](e);const o=t.$implicit;return r["\u0275\u0275nextContext"]().deselect(n,o)})),r["\u0275\u0275text"](1),r["\u0275\u0275elementEnd"]()}if(2&e){const e=t.$implicit,n=r["\u0275\u0275nextContext"]();r["\u0275\u0275classProp"]("selected",e==n.selected),r["\u0275\u0275property"]("type",n.type||(null==e||null==e.value?null:e.value.searchEntity))("disabled",n.disablePickerInput),r["\u0275\u0275advance"](1),r["\u0275\u0275textInterpolate1"](" ",e.label," ")}}function Ea(e,t){if(1&e){const e=r["\u0275\u0275getCurrentView"]();r["\u0275\u0275elementStart"](0,"div",8),r["\u0275\u0275elementStart"](1,"novo-picker",9),r["\u0275\u0275listener"]("ngModelChange",(function(t){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"]().itemToAdd=t}))("select",(function(t){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"]().add(t)}))("keydown",(function(t){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"]().onKeyDown(t)}))("focus",(function(t){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"]().onFocus(t)}))("typing",(function(t){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"]().onTyping(t)}))("blur",(function(t){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"]().onTouched(t)})),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"]()}if(2&e){const e=r["\u0275\u0275nextContext"]();r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("closeOnSelect",e.closeOnSelect)("config",e.source)("disablePickerInput",e.disablePickerInput)("placeholder",e.placeholder)("ngModel",e.itemToAdd)("selected",e.items)("overrideElement",e.element)}}function ka(e,t){if(1&e&&r["\u0275\u0275element"](0,"i",10),2&e){const e=r["\u0275\u0275nextContext"]();r["\u0275\u0275classProp"]("has-value",e.items.length)}}function xa(e,t){if(1&e){const e=r["\u0275\u0275getCurrentView"]();r["\u0275\u0275elementStart"](0,"label",11),r["\u0275\u0275listener"]("click",(function(){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"]().clearValue()})),r["\u0275\u0275text"](1),r["\u0275\u0275element"](2,"i",12),r["\u0275\u0275elementEnd"]()}if(2&e){const e=r["\u0275\u0275nextContext"]();r["\u0275\u0275advance"](1),r["\u0275\u0275textInterpolate1"]("",e.labels.clearAll," ")}}const Ia=["panel"];function Oa(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"div",0,1),r["\u0275\u0275projection"](2),r["\u0275\u0275elementEnd"]()),2&e){const e=r["\u0275\u0275nextContext"]();r["\u0275\u0275property"]("id",e.id)}}function Ta(e,t){if(1&e){const e=r["\u0275\u0275getCurrentView"]();r["\u0275\u0275elementStart"](0,"novo-list-item",7),r["\u0275\u0275listener"]("click",(function(t){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"](2).selectMatch(t)}))("mouseenter",(function(){r["\u0275\u0275restoreView"](e);
2303const n=t.$implicit;return r["\u0275\u0275nextContext"](2).selectActive(n)})),r["\u0275\u0275elementStart"](1,"item-content"),r["\u0275\u0275element"](2,"span",8),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"]()}if(2&e){const e=t.$implicit,n=r["\u0275\u0275nextContext"](2);r["\u0275\u0275classProp"]("active",e===n.activeMatch)("disabled",n.preselected(e)),r["\u0275\u0275advance"](2),r["\u0275\u0275property"]("innerHtml",n.highlight(e.label,n.term),r["\u0275\u0275sanitizeHtml"])}}function Aa(e,t){1&e&&r["\u0275\u0275element"](0,"novo-loading",9)}function Pa(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"novo-list",4),r["\u0275\u0275template"](1,Ta,3,5,"novo-list-item",5),r["\u0275\u0275template"](2,Aa,1,0,"novo-loading",6),r["\u0275\u0275elementEnd"]()),2&e){const e=r["\u0275\u0275nextContext"]();r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngForOf",e.matches),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",e.isLoading&&e.matches.length>0)}}function Da(e,t){1&e&&(r["\u0275\u0275elementStart"](0,"div",10),r["\u0275\u0275element"](1,"novo-loading",9),r["\u0275\u0275elementEnd"]())}function Ra(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"p",11),r["\u0275\u0275text"](1),r["\u0275\u0275elementEnd"]()),2&e){const e=r["\u0275\u0275nextContext"]();r["\u0275\u0275advance"](1),r["\u0275\u0275textInterpolate"](e.labels.pickerError)}}function Ma(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"p",12),r["\u0275\u0275text"](1),r["\u0275\u0275elementEnd"]()),2&e){const e=r["\u0275\u0275nextContext"]();r["\u0275\u0275advance"](1),r["\u0275\u0275textInterpolate"](e.getEmptyMessage())}}const Na=["results"],ja=["input"];function Fa(e,t){1&e&&r["\u0275\u0275element"](0,"i",8)}function La(e,t){if(1&e&&r["\u0275\u0275element"](0,"i"),2&e){const e=r["\u0275\u0275nextContext"]();r["\u0275\u0275classMapInterpolate2"]("bhi-",null==e.config?null:e.config.entityIcon," entity-icon ",null==e.config?null:e.config.entityIcon,"")}}function Va(e,t){1&e&&r["\u0275\u0275element"](0,"i",9)}function Ba(e,t){if(1&e){const e=r["\u0275\u0275getCurrentView"]();r["\u0275\u0275elementStart"](0,"i",10),r["\u0275\u0275listener"]("click",(function(){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"]().clearValue(!0)})),r["\u0275\u0275elementEnd"]()}if(2&e){const e=r["\u0275\u0275nextContext"]();r["\u0275\u0275classProp"]("entity-selected",(null==e.config?null:e.config.entityIcon)&&e._value)}}function Ua(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"p",18),r["\u0275\u0275element"](1,"i",19),r["\u0275\u0275element"](2,"span",2),r["\u0275\u0275elementEnd"]()),2&e){const e=r["\u0275\u0275nextContext"](2);r["\u0275\u0275advance"](2),r["\u0275\u0275property"]("innerHtml",e.highlight(e.match.data.companyName||(null==e.match.data||null==e.match.data.clientCorporation?null:e.match.data.clientCorporation.name),e.term),r["\u0275\u0275sanitizeHtml"])}}function Ha(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"p",20),r["\u0275\u0275element"](1,"i",21),r["\u0275\u0275element"](2,"span",2),r["\u0275\u0275elementEnd"]()),2&e){const e=r["\u0275\u0275nextContext"](2);r["\u0275\u0275advance"](2),r["\u0275\u0275property"]("innerHtml",e.highlight(e.match.data.clientContact.firstName+" "+e.match.data.clientContact.lastName,e.term),r["\u0275\u0275sanitizeHtml"])}}function Ga(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"p",22),r["\u0275\u0275element"](1,"i",23),r["\u0275\u0275element"](2,"span",2),r["\u0275\u0275elementEnd"]()),2&e){const e=r["\u0275\u0275nextContext"](2);r["\u0275\u0275advance"](2),r["\u0275\u0275property"]("innerHtml",e.highlight(e.match.data.candidate.firstName+" "+e.match.data.candidate.lastName,e.term),r["\u0275\u0275sanitizeHtml"])}}function qa(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"p",24),r["\u0275\u0275element"](1,"i",25),r["\u0275\u0275element"](2,"span",2),r["\u0275\u0275elementEnd"]()),2&e){const e=r["\u0275\u0275nextContext"](2);r["\u0275\u0275advance"](2),r["\u0275\u0275property"]("innerHtml",e.renderTimestamp(e.match.data.dateBegin)+" - "+e.renderTimestamp(e.match.data.dateEnd),r["\u0275\u0275sanitizeHtml"])}}function Ka(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"p",24),r["\u0275\u0275element"](1,"i",25),r["\u0275\u0275element"](2,"span",2),r["\u0275\u0275elementEnd"]()),2&e){const e=r["\u0275\u0275nextContext"](2);r["\u0275\u0275advance"](2),r["\u0275\u0275property"]("innerHtml",e.renderTimestamp(e.match.data.startTime),r["\u0275\u0275sanitizeHtml"])}}function za(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"p",26),r["\u0275\u0275element"](1,"i",27),r["\u0275\u0275element"](2,"span",2),r["\u0275\u0275elementEnd"]()),2&e){const e=r["\u0275\u0275nextContext"](2);r["\u0275\u0275advance"](2),r["\u0275\u0275property"]("innerHtml",e.renderTimeNoOffset(e.match.data.startTime)+" - "+e.renderTimeNoOffset(e.match.data.endTime),r["\u0275\u0275sanitizeHtml"])}}function Ya(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"p",28),r["\u0275\u0275element"](1,"i",29),r["\u0275\u0275element"](2,"span",2),r["\u0275\u0275elementEnd"]()),2&e){const e=r["\u0275\u0275nextContext"](2);r["\u0275\u0275advance"](2),r["\u0275\u0275property"]("innerHtml",e.highlight(e.match.data.jobOrder.title,e.term),r["\u0275\u0275sanitizeHtml"])}}function $a(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"p",30),r["\u0275\u0275element"](1,"i",23),r["\u0275\u0275elementStart"](2,"span"),r["\u0275\u0275text"](3),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"]()),2&e){const e=r["\u0275\u0275nextContext"](2);r["\u0275\u0275advance"](3),r["\u0275\u0275textInterpolate2"]("",e.match.data.numAssigned," / ",e.match.data.openings,"")}}function Wa(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"p",31),r["\u0275\u0275element"](1,"i",32),r["\u0275\u0275element"](2,"span",2),r["\u0275\u0275elementEnd"]()),2&e){const e=r["\u0275\u0275nextContext"](2);r["\u0275\u0275advance"](2),r["\u0275\u0275property"]("innerHtml",e.highlight(e.match.data.email,e.term),r["\u0275\u0275sanitizeHtml"])}}function Za(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"p",33),r["\u0275\u0275element"](1,"i",34),r["\u0275\u0275element"](2,"span",2),r["\u0275\u0275elementEnd"]()),2&e){const e=r["\u0275\u0275nextContext"](2);r["\u0275\u0275advance"](2),r["\u0275\u0275property"]("innerHtml",e.highlight(e.match.data.phone,e.term),r["\u0275\u0275sanitizeHtml"])}}function Ja(e,t){if(1&e&&r["\u0275\u0275element"](0,"span",2),2&e){const e=r["\u0275\u0275nextContext"](3);r["\u0275\u0275property"]("innerHtml",e.highlight(e.match.data.address.city,e.term),r["\u0275\u0275sanitizeHtml"])}}function Qa(e,t){1&e&&(r["\u0275\u0275elementStart"](0,"span"),r["\u0275\u0275text"](1,", "),r["\u0275\u0275elementEnd"]())}function Xa(e,t){if(1&e&&r["\u0275\u0275element"](0,"span",2),2&e){const e=r["\u0275\u0275nextContext"](3);r["\u0275\u0275property"]("innerHtml",e.highlight(e.match.data.address.state,e.term),r["\u0275\u0275sanitizeHtml"])}}function es(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"p",35),r["\u0275\u0275element"](1,"i",36),r["\u0275\u0275template"](2,Ja,1,1,"span",37),r["\u0275\u0275template"](3,Qa,2,0,"span",0),r["\u0275\u0275template"](4,Xa,1,1,"span",37),r["\u0275\u0275elementEnd"]()),2&e){const e=r["\u0275\u0275nextContext"](2);r["\u0275\u0275advance"](2),r["\u0275\u0275property"]("ngIf",e.match.data.address.city),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",e.match.data.address.city&&e.match.data.address.state),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",e.match.data.address.state)}}function ts(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"p",38),r["\u0275\u0275element"](1,"i",39),r["\u0275\u0275element"](2,"span",2),r["\u0275\u0275elementEnd"]()),2&e){const e=r["\u0275\u0275nextContext"](2);r["\u0275\u0275advance"](2),r["\u0275\u0275property"]("innerHtml",e.highlight(e.match.data.status,e.term),r["\u0275\u0275sanitizeHtml"])}}function ns(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"p",40),r["\u0275\u0275element"](1,"i",41),r["\u0275\u0275element"](2,"span",2),r["\u0275\u0275elementEnd"]()),2&e){const e=r["\u0275\u0275nextContext"](2);r["\u0275\u0275advance"](2),r["\u0275\u0275property"]("innerHtml",e.highlight(e.match.data.owner.name,e.term),r["\u0275\u0275sanitizeHtml"])}}function rs(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"p",42),r["\u0275\u0275element"](1,"i",43),r["\u0275\u0275element"](2,"span",2),r["\u0275\u0275elementEnd"]()),2&e){const e=r["\u0275\u0275nextContext"](2);r["\u0275\u0275advance"](2),r["\u0275\u0275property"]("innerHtml",e.highlight(e.match.data.primaryDepartment.name,e.term),r["\u0275\u0275sanitizeHtml"])}}function os(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"p",44),r["\u0275\u0275element"](1,"i",45),r["\u0275\u0275element"](2,"span",2),r["\u0275\u0275elementEnd"]()),2&e){const e=r["\u0275\u0275nextContext"](2);r["\u0275\u0275advance"](2),r["\u0275\u0275property"]("innerHtml",e.highlight(e.match.data.occupation,e.term),r["\u0275\u0275sanitizeHtml"])}}function is(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"novo-list-item"),r["\u0275\u0275elementStart"](1,"item-header"),r["\u0275\u0275element"](2,"item-avatar",1),r["\u0275\u0275elementStart"](3,"item-title"),r["\u0275\u0275element"](4,"span",2),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementStart"](5,"item-content",3),r["\u0275\u0275template"](6,Ua,3,1,"p",4),r["\u0275\u0275template"](7,Ha,3,1,"p",5),r["\u0275\u0275template"](8,Ga,3,1,"p",6),r["\u0275\u0275template"](9,qa,3,1,"p",7),r["\u0275\u0275template"](10,Ka,3,1,"p",7),r["\u0275\u0275template"](11,za,3,1,"p",8),r["\u0275\u0275template"](12,Ya,3,1,"p",9),r["\u0275\u0275template"](13,$a,4,2,"p",10),r["\u0275\u0275template"](14,Wa,3,1,"p",11),r["\u0275\u0275template"](15,Za,3,1,"p",12),r["\u0275\u0275template"](16,es,5,3,"p",13),r["\u0275\u0275template"](17,ts,3,1,"p",14),r["\u0275\u0275template"](18,ns,3,1,"p",15),r["\u0275\u0275template"](19,rs,3,1,"p",16),r["\u0275\u0275template"](20,os,3,1,"p",17),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"]()),2&e){const e=r["\u0275\u0275nextContext"]();r["\u0275\u0275advance"](2),r["\u0275\u0275property"]("icon",e.getIconForResult(e.match.data)),r["\u0275\u0275advance"](2),r["\u0275\u0275property"]("innerHtml",e.highlight(e.getNameForResult(e.match.data),e.term),r["\u0275\u0275sanitizeHtml"]),r["\u0275\u0275advance"](2),r["\u0275\u0275property"]("ngIf",e.match.data.companyName||(null==e.match.data||null==e.match.data.clientCorporation?null:e.match.data.clientCorporation.name)),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",null==e.match.data||null==e.match.data.clientContact?null:e.match.data.clientContact.firstName),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",e.match.data.candidate&&"Placement"===e.match.data.searchEntity),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",e.match.data.dateBegin&&"Placement"===e.match.data.searchEntity),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",e.match.data.startTime&&"JobShift"===e.match.data.searchEntity),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",e.match.data.startTime&&"JobShift"===e.match.data.searchEntity),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",e.match.data.jobOrder&&"JobShift"===e.match.data.searchEntity),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",e.match.data.openings&&"JobShift"===e.match.data.searchEntity),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",e.match.data.email),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",e.match.data.phone),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",e.match.data.address&&(e.match.data.address.city||e.match.data.address.state)),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",e.match.data.status),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",e.match.data.owner&&e.match.data.owner.name&&"Candidate"===e.match.data.searchEntity),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",e.match.data.primaryDepartment&&e.match.data.primaryDepartment.name&&"CorporateUser"===e.match.data.searchEntity),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",e.match.data.occupation&&"CorporateUser"===e.match.data.searchEntity)}}const as=function(e){return{active:e}};function ss(e,t){if(1&e){const e=r["\u0275\u0275getCurrentView"]();r["\u0275\u0275elementStart"](0,"entity-picker-result",6),r["\u0275\u0275listener"]("click",(function(n){r["\u0275\u0275restoreView"](e);const o=t.$implicit;return r["\u0275\u0275nextContext"](2).selectMatch(n,o)}))("mouseenter",(function(){r["\u0275\u0275restoreView"](e);
2303const n=t.$implicit;return r["\u0275\u0275nextContext"](2).selectActive(n)})),r["\u0275\u0275elementEnd"]()}if(2&e){const e=t.$implicit,n=r["\u0275\u0275nextContext"](2);r["\u0275\u0275classProp"]("disabled",n.preselected(e)),r["\u0275\u0275property"]("match",e)("term",n.term)("ngClass",r["\u0275\u0275pureFunction1"](5,as,n.isActive(e)))}}function cs(e,t){1&e&&r["\u0275\u0275element"](0,"novo-loading",7)}function ls(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"novo-list",3),r["\u0275\u0275template"](1,ss,1,7,"entity-picker-result",4),r["\u0275\u0275template"](2,cs,1,0,"novo-loading",5),r["\u0275\u0275elementEnd"]()),2&e){const e=r["\u0275\u0275nextContext"]();r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngForOf",e.matches),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",e.isLoading&&e.matches.length>0)}}function us(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"p",8),r["\u0275\u0275text"](1),r["\u0275\u0275elementEnd"]()),2&e){const e=r["\u0275\u0275nextContext"]();r["\u0275\u0275advance"](1),r["\u0275\u0275textInterpolate"](e.labels.pickerError)}}function ds(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"p",9),r["\u0275\u0275text"](1),r["\u0275\u0275elementEnd"]()),2&e){const e=r["\u0275\u0275nextContext"]();r["\u0275\u0275advance"](1),r["\u0275\u0275textInterpolate"](e.labels.pickerEmpty)}}function hs(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"p",9),r["\u0275\u0275text"](1),r["\u0275\u0275elementEnd"]()),2&e){const e=r["\u0275\u0275nextContext"]();r["\u0275\u0275advance"](1),r["\u0275\u0275textInterpolate"](e.labels.pickerTextFieldEmpty)}}const ms=function(e){return{checked:e}};function ps(e,t){if(1&e){const e=r["\u0275\u0275getCurrentView"]();r["\u0275\u0275elementStart"](0,"i",2),r["\u0275\u0275listener"]("click",(function(t){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"]().onRemove(t)})),r["\u0275\u0275elementEnd"]()}}function fs(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"div",8),r["\u0275\u0275text"](1),r["\u0275\u0275elementEnd"]()),2&e){const e=t.$implicit;r["\u0275\u0275advance"](1),r["\u0275\u0275textInterpolate"](e.label)}}function gs(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"div",6),r["\u0275\u0275template"](1,fs,2,1,"div",7),r["\u0275\u0275elementEnd"]()),2&e){const e=r["\u0275\u0275nextContext"]();r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngForOf",e.source.columns)}}function ys(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"div",9),r["\u0275\u0275text"](1),r["\u0275\u0275elementEnd"]()),2&e){const e=r["\u0275\u0275nextContext"]();r["\u0275\u0275advance"](1),r["\u0275\u0275textInterpolate"](e.source.emptyReadOnlyMessage)}}function vs(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"div",12),r["\u0275\u0275elementStart"](1,"span"),r["\u0275\u0275text"](2),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"]()),2&e){const e=t.$implicit,n=r["\u0275\u0275nextContext"]().$implicit;r["\u0275\u0275advance"](2),r["\u0275\u0275textInterpolate"](e.data(n))}}function bs(e,t){if(1&e){const e=r["\u0275\u0275getCurrentView"]();r["\u0275\u0275elementStart"](0,"novo-row-chip",10),r["\u0275\u0275listener"]("remove",(function(n){r["\u0275\u0275restoreView"](e);const o=t.$implicit;return r["\u0275\u0275nextContext"]().remove(n,o)}))("select",(function(n){r["\u0275\u0275restoreView"](e);const o=t.$implicit;return r["\u0275\u0275nextContext"]().select(n,o)})),r["\u0275\u0275template"](1,vs,3,1,"div",11),r["\u0275\u0275elementEnd"]()}if(2&e){const e=t.$implicit,n=r["\u0275\u0275nextContext"]();r["\u0275\u0275classProp"]("selected",e==n.selected),r["\u0275\u0275property"]("type",n.type||(null==e||null==e.value?null:e.value.searchEntity))("disabled",n.disablePickerInput),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngForOf",n.source.columns)}}function Cs(e,t){if(1&e){const e=r["\u0275\u0275getCurrentView"]();r["\u0275\u0275elementStart"](0,"novo-picker",13),r["\u0275\u0275listener"]("ngModelChange",(function(t){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"]().itemToAdd=t}))("select",(function(t){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"]().add(t)}))("keydown",(function(t){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"]().onKeyDown(t)}))("focus",(function(t){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"]().onFocus(t)}))("typing",(function(t){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"]().onTyping(t)}))("blur",(function(t){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"]().onTouched(t)})),r["\u0275\u0275elementEnd"]()}if(2&e){const e=r["\u0275\u0275nextContext"]();r["\u0275\u0275property"]("closeOnSelect",e.closeOnSelect)("config",e.source)("disablePickerInput",e.disablePickerInput)("hidden",e.disablePickerInput)("placeholder",e.placeholder)("ngModel",e.itemToAdd)("selected",e.items)("overrideElement",e.element)}}const ws=["host"],Ss=[[["button"]],"*"],_s=["button","*"],Es=["dropdownElement"];function ks(e,t){if(1&e){const e=r["\u0275\u0275getCurrentView"]();r["\u0275\u0275elementStart"](0,"button",10),r["\u0275\u0275listener"]("click",(function(t){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"](2).toggleHeader(t),!1})),r["\u0275\u0275element"](1,"i",11),r["\u0275\u0275text"](2),r["\u0275\u0275elementEnd"]()}if(2&e){const e=r["\u0275\u0275nextContext"](2);r["\u0275\u0275advance"](2),r["\u0275\u0275textInterpolate1"]("\xa0",e.headerConfig.label," ")}}
2303const xs=function(e){return{invalid:e}};function Is(e,t){if(1&e){const e=r["\u0275\u0275getCurrentView"]();r["\u0275\u0275elementStart"](0,"div",12),r["\u0275\u0275elementStart"](1,"input",13),r["\u0275\u0275listener"]("ngModelChange",(function(t){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"](2).header.value=t})),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementStart"](2,"footer"),r["\u0275\u0275elementStart"](3,"button",14),r["\u0275\u0275listener"]("click",(function(t){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"](2).toggleHeader(t,!1)})),r["\u0275\u0275text"](4),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementStart"](5,"button",15),r["\u0275\u0275listener"]("click",(function(){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"](2).saveHeader()})),r["\u0275\u0275text"](6),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"]()}if(2&e){const e=r["\u0275\u0275nextContext"](2);r["\u0275\u0275property"]("ngClass",r["\u0275\u0275pureFunction1"](7,as,e.header.open)),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("placeholder",e.headerConfig.placeholder)("ngModel",e.header.value)("ngClass",r["\u0275\u0275pureFunction1"](9,xs,!e.header.valid)),r["\u0275\u0275attribute"]("id",e.name),r["\u0275\u0275advance"](3),r["\u0275\u0275textInterpolate"](e.labels.cancel),r["\u0275\u0275advance"](2),r["\u0275\u0275textInterpolate"](e.labels.save)}}function Os(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"li",7),r["\u0275\u0275template"](1,ks,3,1,"button",8),r["\u0275\u0275template"](2,Is,7,11,"div",9),r["\u0275\u0275elementEnd"]()),2&e){const e=r["\u0275\u0275nextContext"]();r["\u0275\u0275classProp"]("open",e.header.open),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",!e.header.open),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",e.header.open)}}function Ts(e,t){1&e&&r["\u0275\u0275element"](0,"i",19)}const As=function(e,t){return{active:e,disabled:t}};function Ps(e,t){if(1&e){const e=r["\u0275\u0275getCurrentView"]();r["\u0275\u0275elementStart"](0,"li",16),r["\u0275\u0275listener"]("click",(function(){r["\u0275\u0275restoreView"](e);const n=t.$implicit,o=t.index;return r["\u0275\u0275nextContext"]().setValueAndClose({value:n,index:o})})),r["\u0275\u0275element"](1,"span",17),r["\u0275\u0275template"](2,Ts,1,0,"i",18),r["\u0275\u0275elementEnd"]()}if(2&e){const e=t.$implicit,n=r["\u0275\u0275nextContext"]();r["\u0275\u0275property"]("ngClass",r["\u0275\u0275pureFunction2"](6,As,e.active,e.disabled))("tooltip",e.tooltip)("tooltipPosition",e.tooltipPosition||"right"),r["\u0275\u0275attribute"]("data-automation-value",e.label),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("innerHtml",n.highlight(e.label,n.filterTerm),r["\u0275\u0275sanitizeHtml"]),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",e.active)}}const Ds=function(e,t){return{"bhi-circle":e,"bhi-check":t}};function Rs(e,t){if(1&e&&r["\u0275\u0275element"](0,"i",9),2&e){const e=r["\u0275\u0275nextContext"](2);r["\u0275\u0275property"]("ngClass",r["\u0275\u0275pureFunction2"](1,Ds,!e.valid.address1,e.valid.address1))}}function Ms(e,t){if(1&e){const e=r["\u0275\u0275getCurrentView"]();r["\u0275\u0275elementStart"](0,"span",6),r["\u0275\u0275template"](1,Rs,1,4,"i",7),r["\u0275\u0275elementStart"](2,"input",8),r["\u0275\u0275listener"]("ngModelChange",(function(t){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"]().model.address1=t}))("ngModelChange",(function(){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"]().updateControl()}))("focus",(function(t){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"]().isFocused(t,"address1")}))("blur",(function(t){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"]().isBlurred(t,"address1")}))("input",(function(t){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"]().onInput(t,"address1")})),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"]()}if(2&e){const e=r["\u0275\u0275nextContext"]();
2303r["\u0275\u0275classProp"]("invalid",e.invalid.address1)("focus",e.focused.address1)("disabled",e.disabled.address1),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",e.config.address1.required),r["\u0275\u0275advance"](1),r["\u0275\u0275classProp"]("maxlength-error",e.invalidMaxlength.address1),r["\u0275\u0275property"]("placeholder",e.config.address1.label)("maxlength",null==e.config||null==e.config.address1?null:e.config.address1.maxlength)("ngModel",e.model.address1)}}function Ns(e,t){if(1&e&&r["\u0275\u0275element"](0,"i",13),2&e){const e=r["\u0275\u0275nextContext"](2);r["\u0275\u0275property"]("ngClass",r["\u0275\u0275pureFunction2"](1,Ds,!e.valid.address2,e.valid.address2))}}function js(e,t){if(1&e){const e=r["\u0275\u0275getCurrentView"]();r["\u0275\u0275elementStart"](0,"span",10),r["\u0275\u0275template"](1,Ns,1,4,"i",11),r["\u0275\u0275elementStart"](2,"input",12),r["\u0275\u0275listener"]("ngModelChange",(function(t){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"]().model.address2=t}))("ngModelChange",(function(){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"]().updateControl()}))("focus",(function(t){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"]().isFocused(t,"address2")}))("blur",(function(t){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"]().isBlurred(t,"address2")}))("input",(function(t){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"]().onInput(t,"address2")})),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"]()}if(2&e){const e=r["\u0275\u0275nextContext"]();r["\u0275\u0275classProp"]("invalid",e.invalid.address2)("focus",e.focused.address2)("disabled",e.disabled.address2),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",e.config.address2.required),r["\u0275\u0275advance"](1),r["\u0275\u0275classProp"]("maxlength-error",e.invalidMaxlength.address2),r["\u0275\u0275property"]("placeholder",e.config.address2.label)("maxlength",null==e.config||null==e.config.address2?null:e.config.address2.maxlength)("ngModel",e.model.address2)}}function Fs(e,t){if(1&e&&r["\u0275\u0275element"](0,"i",17),2&e){const e=r["\u0275\u0275nextContext"](2);r["\u0275\u0275property"]("ngClass",r["\u0275\u0275pureFunction2"](1,Ds,!e.valid.city,e.valid.city))}}function Ls(e,t){if(1&e){const e=r["\u0275\u0275getCurrentView"]();r["\u0275\u0275elementStart"](0,"span",14),r["\u0275\u0275template"](1,Fs,1,4,"i",15),r["\u0275\u0275elementStart"](2,"input",16),r["\u0275\u0275listener"]("ngModelChange",(function(t){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"]().model.city=t}))("ngModelChange",(function(){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"]().updateControl()}))("focus",(function(t){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"]().isFocused(t,"city")}))("blur",(function(t){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"]().isBlurred(t,"city")}))("input",(function(t){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"]().onInput(t,"city")})),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"]()}if(2&e){const e=r["\u0275\u0275nextContext"]();r["\u0275\u0275classProp"]("invalid",e.invalid.city)("focus",e.focused.city)("disabled",e.disabled.city),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",e.config.city.required),r["\u0275\u0275advance"](1),r["\u0275\u0275classProp"]("maxlength-error",e.invalidMaxlength.city),r["\u0275\u0275property"]("placeholder",e.config.city.label)("maxlength",null==e.config||null==e.config.city?null:e.config.city.maxlength)("ngModel",e.model.city)}}function Vs(e,t){if(1&e&&r["\u0275\u0275element"](0,"i",17),2&e){const e=r["\u0275\u0275nextContext"](2);r["\u0275\u0275property"]("ngClass",r["\u0275\u0275pureFunction2"](1,Ds,!e.valid.state,e.valid.state))}}function Bs(e,t){if(1&e){const e=r["\u0275\u0275getCurrentView"]();r["\u0275\u0275elementStart"](0,"span",18),r["\u0275\u0275template"](1,Vs,1,4,"i",15),r["\u0275\u0275elementStart"](2,"novo-picker",19),r["\u0275\u0275listener"]("changed",(function(t){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"]().onStateChange(t)}
2303))("ngModelChange",(function(t){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"]().model.state=t})),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"]()}if(2&e){const e=r["\u0275\u0275nextContext"]();r["\u0275\u0275classProp"]("invalid",e.invalid.state)("focus",e.focused.state)("disabled",e.disabled.state),r["\u0275\u0275property"]("tooltip",e.tooltip.state),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",e.config.state.required),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("config",null==e.config||null==e.config.state?null:e.config.state.pickerConfig)("placeholder",null==e.config||null==e.config.state?null:e.config.state.label)("ngModel",e.model.state)("disablePickerInput",e.disabled.state)}}function Us(e,t){if(1&e&&r["\u0275\u0275element"](0,"i",17),2&e){const e=r["\u0275\u0275nextContext"](2);r["\u0275\u0275property"]("ngClass",r["\u0275\u0275pureFunction2"](1,Ds,!e.valid.zip,e.valid.zip))}}function Hs(e,t){if(1&e){const e=r["\u0275\u0275getCurrentView"]();r["\u0275\u0275elementStart"](0,"span",20),r["\u0275\u0275template"](1,Us,1,4,"i",15),r["\u0275\u0275elementStart"](2,"input",21),r["\u0275\u0275listener"]("ngModelChange",(function(t){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"]().model.zip=t}))("ngModelChange",(function(){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"]().updateControl()}))("focus",(function(t){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"]().isFocused(t,"zip")}))("blur",(function(t){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"]().isBlurred(t,"zip")}))("input",(function(t){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"]().onInput(t,"zip")})),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"]()}if(2&e){const e=r["\u0275\u0275nextContext"]();r["\u0275\u0275classProp"]("invalid",e.invalid.zip)("focus",e.focused.zip)("disabled",e.disabled.zip),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",e.config.zip.required),r["\u0275\u0275advance"](1),r["\u0275\u0275classProp"]("maxlength-error",e.invalidMaxlength.zip),r["\u0275\u0275property"]("placeholder",e.config.zip.label)("maxlength",null==e.config||null==e.config.zip?null:e.config.zip.maxlength)("ngModel",e.model.zip)}}function Gs(e,t){if(1&e&&r["\u0275\u0275element"](0,"i",17),2&e){const e=r["\u0275\u0275nextContext"](2);r["\u0275\u0275property"]("ngClass",r["\u0275\u0275pureFunction2"](1,Ds,!e.valid.countryID,e.valid.countryID))}}function qs(e,t){if(1&e){const e=r["\u0275\u0275getCurrentView"]();r["\u0275\u0275elementStart"](0,"span",22),r["\u0275\u0275template"](1,Gs,1,4,"i",15),r["\u0275\u0275elementStart"](2,"novo-picker",23),r["\u0275\u0275listener"]("changed",(function(t){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"]().onCountryChange(t)}
2303))("ngModelChange",(function(t){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"]().model.countryID=t})),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"]()}if(2&e){const e=r["\u0275\u0275nextContext"]();r["\u0275\u0275classProp"]("invalid",e.invalid.countryID)("focus",e.focused.countryID)("disabled",e.disabled.countryID),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",e.config.countryID.required),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("config",null==e.config||null==e.config.countryID?null:e.config.countryID.pickerConfig)("placeholder",e.config.countryID.label)("ngModel",e.model.countryID)("disablePickerInput",e.disabled.countryID)}}function Ks(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"span"),r["\u0275\u0275text"](1),r["\u0275\u0275elementEnd"]()),2&e){const e=r["\u0275\u0275nextContext"]();r["\u0275\u0275advance"](1),r["\u0275\u0275textInterpolate"](e.label)}}const zs=function(e,t){return{"bhi-checkbox-empty":e,"bhi-checkbox-filled":t}};function Ys(e,t){if(1&e){const e=r["\u0275\u0275getCurrentView"]();r["\u0275\u0275elementStart"](0,"div",1),r["\u0275\u0275elementStart"](1,"input",2),r["\u0275\u0275listener"]("change",(function(n){r["\u0275\u0275restoreView"](e);const o=t.$implicit;return r["\u0275\u0275nextContext"]().select(n,o)})),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementStart"](2,"label",3),r["\u0275\u0275listener"]("click",(function(n){r["\u0275\u0275restoreView"](e);const o=t.$implicit;return r["\u0275\u0275nextContext"]().select(n,o)})),r["\u0275\u0275element"](3,"i",4),r["\u0275\u0275elementStart"](4,"span"),r["\u0275\u0275text"](5),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"]()}if(2&e){const e=t.$implicit,n=t.index,o=r["\u0275\u0275nextContext"]();r["\u0275\u0275classProp"]("disabled",o.disabled),r["\u0275\u0275property"]("ngClass",r["\u0275\u0275pureFunction1"](12,ms,e.checked)),r["\u0275\u0275attribute"]("data-automation-id",e.label),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("name",o.name)("ngModel",e.checked)("value",e.checked)("disabled",o.disabled),r["\u0275\u0275attribute"]("id",o.name+n),r["\u0275\u0275advance"](1),r["\u0275\u0275attribute"]("for",o.name+n),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngClass",r["\u0275\u0275pureFunction2"](14,zs,!e.checked,e.checked)),r["\u0275\u0275advance"](2),r["\u0275\u0275textInterpolate"](e.label)}}const $s=["fileInput"],Ws=["fileOutput"],Zs=["container"];function Js(e,t){if(1&e){const e=r["\u0275\u0275getCurrentView"]();r["\u0275\u0275elementStart"](0,"input",8),r["\u0275\u0275listener"]("change",(function(t){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"](2).check(t)})),r["\u0275\u0275elementEnd"]()}if(2&e){const e=r["\u0275\u0275nextContext"](2);r["\u0275\u0275property"]("name",e.name),r["\u0275\u0275attribute"]("id",e.name)("multiple",e.multiple)("data-feature-id",e.dataFeatureId)}}function Qs(e,t){if(1&e){const e=r["\u0275\u0275getCurrentView"]();r["\u0275\u0275elementStart"](0,"input",8),r["\u0275\u0275listener"]("change",(function(t){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"](2).customCheck(t)})),r["\u0275\u0275elementEnd"]()}if(2&e){const e=r["\u0275\u0275nextContext"](2);r["\u0275\u0275property"]("name",e.name),r["\u0275\u0275attribute"]("id",e.name)("multiple",e.multiple)("data-feature-id",e.dataFeatureId)}}function Xs(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"label",9),r["\u0275\u0275elementStart"](1,"div"),r["\u0275\u0275element"](2,"i",10),r["\u0275\u0275text"](3),r["\u0275\u0275elementStart"](4,"strong",11),r["\u0275\u0275text"](5),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"]()),2&e){const e=r["\u0275\u0275nextContext"](2);r["\u0275\u0275attribute"]("for",e.name),r["\u0275\u0275advance"](3),r["\u0275\u0275textInterpolate2"]("",e.placeholder||e.labels.chooseAFile," ",e.labels.or," "),r["\u0275\u0275advance"](2),r["\u0275\u0275textInterpolate"](e.labels.clickToBrowse)}}function ec(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"label",12),r["\u0275\u0275elementStart"](1,"span"),r["\u0275\u0275text"](2),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementStart"](3,"small"),r["\u0275\u0275text"](4),r["\u0275\u0275elementStart"](5,"strong",11),r["\u0275\u0275text"](6),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"]()),2&e){const e=r["\u0275\u0275nextContext"](2);r["\u0275\u0275attribute"]("for",e.name),r["\u0275\u0275advance"](2),r["\u0275\u0275textInterpolate"](e.placeholder||e.labels.chooseAFile),r["\u0275\u0275advance"](2),r["\u0275\u0275textInterpolate1"]("",e.labels.or," "),r["\u0275\u0275advance"](2),r["\u0275\u0275textInterpolate"](e.labels.clickToBrowse)}}function tc(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"div",3),r["\u0275\u0275template"](1,Js,1,4,"input",4),r["\u0275\u0275template"](2,Qs,1,4,"input",4),r["\u0275\u0275elementStart"](3,"section",5),r["\u0275\u0275template"](4,Xs,6,4,"label",6),r["\u0275\u0275template"](5,ec,7,4,"label",7),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"]()),2&e){const e=r["\u0275\u0275nextContext"]();r["\u0275\u0275classProp"]("disabled",e.disabled)("active",e.active),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",!e.layoutOptions.customActions),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",e.layoutOptions.customActions),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngSwitch",e.layoutOptions.labelStyle),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngSwitchCase","no-box")}}function nc(e,t){1&e&&r["\u0275\u0275element"](0,"i",19)}function rc(e,t){1&e&&(r["\u0275\u0275elementStart"](0,"span"),r["\u0275\u0275text"](1,"||"),r["\u0275\u0275elementEnd"]())}function oc(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"label"),r["\u0275\u0275elementStart"](1,"span"),r["\u0275\u0275elementStart"](2,"a",20),r["\u0275\u0275text"](3),r["\u0275\u0275pipe"](4,"decode
2303URI"),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"](),r["\u0275\u0275template"](5,rc,2,0,"span",17),r["\u0275\u0275elementStart"](6,"span"),r["\u0275\u0275text"](7),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"]()),2&e){const e=r["\u0275\u0275nextContext"]().$implicit;r["\u0275\u0275advance"](2),r["\u0275\u0275propertyInterpolate"]("href",e.link,r["\u0275\u0275sanitizeUrl"]),r["\u0275\u0275advance"](1),r["\u0275\u0275textInterpolate"](r["\u0275\u0275pipeBind1"](4,4,e.name)),r["\u0275\u0275advance"](2),r["\u0275\u0275property"]("ngIf",e.description),r["\u0275\u0275advance"](2),r["\u0275\u0275textInterpolate"](e.description)}}function ic(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"label"),r["\u0275\u0275text"](1),r["\u0275\u0275pipe"](2,"decodeURI"),r["\u0275\u0275elementEnd"]()),2&e){const e=r["\u0275\u0275nextContext"]().$implicit;r["\u0275\u0275advance"](1),r["\u0275\u0275textInterpolate"](r["\u0275\u0275pipeBind1"](2,1,e.name))}}function ac(e,t){if(1&e){const e=r["\u0275\u0275getCurrentView"]();r["\u0275\u0275elementStart"](0,"button",24),r["\u0275\u0275listener"]("click",(function(){r["\u0275\u0275restoreView"](e);const t=r["\u0275\u0275nextContext"](3).$implicit;return r["\u0275\u0275nextContext"](2).download(t)})),r["\u0275\u0275elementEnd"]()}2&e&&r["\u0275\u0275attribute"]("data-automation-id","file-download")}function sc(e,t){if(1&e){const e=r["\u0275\u0275getCurrentView"]();r["\u0275\u0275elementStart"](0,"button",25),r["\u0275\u0275listener"]("click",(function(){r["\u0275\u0275restoreView"](e);const t=r["\u0275\u0275nextContext"](3).$implicit;return r["\u0275\u0275nextContext"](2).remove(t)})),r["\u0275\u0275elementEnd"]()}2&e&&r["\u0275\u0275attribute"]("data-automation-id","file-remove")}function cc(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"div"),r["\u0275\u0275template"](1,ac,1,1,"button",22),r["\u0275\u0275template"](2,sc,1,1,"button",23),r["\u0275\u0275elementEnd"]()),2&e){const e=r["\u0275\u0275nextContext"](2).$implicit,t=r["\u0275\u0275nextContext"](2);r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",t.layoutOptions.download),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",!t.disabled&&(t.layoutOptions.removable||!t.layoutOptions.removable&&t.layoutOptions.removableWhenNew&&!e.link))}}function lc(e,t){if(1&e){const e=r["\u0275\u0275getCurrentView"]();r["\u0275\u0275elementStart"](0,"button",27),r["\u0275\u0275listener"]("click",(function(){r["\u0275\u0275restoreView"](e);const t=r["\u0275\u0275nextContext"](3).$implicit;return r["\u0275\u0275nextContext"](2).customEdit(t)})),r["\u0275\u0275elementEnd"]()}2&e&&r["\u0275\u0275attribute"]("data-automation-id","file-edit")}function uc(e,t){if(1&e){const e=r["\u0275\u0275getCurrentView"]();r["\u0275\u0275elementStart"](0,"button",24),r["\u0275\u0275listener"]("click",(function(){r["\u0275\u0275restoreView"](e);const t=r["\u0275\u0275nextContext"](3).$implicit;return r["\u0275\u0275nextContext"](2).customSave(t)})),r["\u0275\u0275elementEnd"]()}2&e&&r["\u0275\u0275attribute"]("data-automation-id","file-download")}function dc(e,t){if(1&e){const e=r["\u0275\u0275getCurrentView"]();r["\u0275\u0275elementStart"](0,"button",25),r["\u0275\u0275listener"]("click",(function(){r["\u0275\u0275restoreView"](e);const t=r["\u0275\u0275nextContext"](3).$implicit;return r["\u0275\u0275nextContext"](2).customDelete(t)})),r["\u0275\u0275elementEnd"]()}2&e&&r["\u0275\u0275attribute"]("data-automation-id","file-remove")}function hc(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"div"),r["\u0275\u0275template"](1,lc,1,1,"button",26),r["\u0275\u0275template"](2,uc,1,1,"button",22),r["\u0275\u0275template"](3,dc,1,1,"button",23),r["\u0275\u0275elementEnd"]()),2&e){const e=r["\u0275\u0275nextContext"](4);r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",e.layoutOptions.edit&&!e.disabled),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",e.layoutOptions.download),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",!e.disabled)}}function mc(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"div",21),r["\u0275\u0275template"](1,cc,3,2,"div",17),r["\u0275\u0275template"](2,hc,4,3,"div",17),r["\u0275\u0275elementEnd"]()),2&e){const e=r["\u0275\u0275nextContext"](3);r["\u0275\u0275attribute"]("data-automation-id","file-actions"),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",!e.layoutOptions.customActions),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",e.layoutOptions.customActions)}}function pc(e,t){1&e&&r["\u0275\u0275element"](0,"novo-loading")}function fc(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"div",15),r["\u0275\u0275template"](1,nc,1,0,"i",16),r["\u0275\u0275template"](2,oc,8,6,"label",17),r["\u0275\u0275template"](3,ic,3,3,"label",17),r["\u0275\u0275template"](4,mc,3,3,"div",18),r["\u0275\u0275template"](5,pc,
23031,0,"novo-loading",17),r["\u0275\u0275elementEnd"]()),2&e){const e=t.$implicit,n=r["\u0275\u0275nextContext"](2);r["\u0275\u0275classProp"]("disabled",n.disabled),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",n.layoutOptions.draggable),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",e.link),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",!e.link),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",e.loaded),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",!e.loaded)}}function gc(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"div",13),r["\u0275\u0275template"](1,fc,6,7,"div",14),r["\u0275\u0275elementEnd"]()),2&e){const e=r["\u0275\u0275nextContext"]();r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngForOf",e.files)}}function yc(e,t){if(1&e){const e=r["\u0275\u0275getCurrentView"]();r["\u0275\u0275elementStart"](0,"div",2),r["\u0275\u0275listener"]("click",(function(n){r["\u0275\u0275restoreView"](e);const o=t.$implicit;return r["\u0275\u0275nextContext"]().select(n,o)})),r["\u0275\u0275elementStart"](1,"input",3),r["\u0275\u0275listener"]("change",(function(n){r["\u0275\u0275restoreView"](e);const o=t.$implicit;return r["\u0275\u0275nextContext"]().select(n,o)}))("focus",(function(){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"]().setFocus(!0)}))("blur",(function(){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"]().setFocus(!1)})),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementStart"](2,"label"),r["\u0275\u0275text"](3),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"]()}if(2&e){const e=t.$implicit,n=t.index,o=r["\u0275\u0275nextContext"]();r["\u0275\u0275property"]("ngClass",r["\u0275\u0275pureFunction2"](9,As,e.checked,e.disabled)),r["\u0275\u0275attribute"]("data-automation-id",e.label||e),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("name",o.name)("value",e.checked||e.value||e)("disabled",o.disabled),r["\u0275\u0275attribute"]("id",o.name+n),r["\u0275\u0275advance"](1),r["\u0275\u0275attribute"]("for",o.name+n)("data-automation-id",e.label||e),r["\u0275\u0275advance"](1),r["\u0275\u0275textInterpolate1"](" ",e.label||e," ")}}function vc(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"div",17),r["\u0275\u0275elementStart"](1,"h4",18),r["\u0275\u0275text"](2),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementStart"](3,"h2",19),r["\u0275\u0275text"](4),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementStart"](5,"h1",20),r["\u0275\u0275text"](6),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementStart"](7,"h3",21),r["\u0275\u0275text"](8),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"]()),2&e){const e=r["\u0275\u0275nextContext"]();r["\u0275\u0275advance"](1),r["\u0275\u0275attribute"]("data-automation-id",null==e.heading?null:e.heading.day),r["\u0275\u0275advance"](1),r["\u0275\u0275textInterpolate"](null==e.heading?null:e.heading.day),r["\u0275\u0275advance"](1),r["\u0275\u0275attribute"]("data-automation-id",null==e.heading?null:e.heading.month),r["\u0275\u0275advance"](1),r["\u0275\u0275textInterpolate"](null==e.heading?null:e.heading.month),r["\u0275\u0275advance"](1),r["\u0275\u0275attribute"]("data-automation-id",null==e.heading?null:e.heading.date),r["\u0275\u0275advance"](1),r["\u0275\u0275textInterpolate"](null==e.heading?null:e.heading.date),r["\u0275\u0275advance"](1),r["\u0275\u0275attribute"]("data-automation-id",null==e.heading?null:e.heading.year),r["\u0275\u0275advance"](1),r["\u0275\u0275textInterpolate"](null==e.heading?null:e.heading.year)}}function bc(e,t){if(1&e){const e=r["\u0275\u0275getCurrentView"]();r["\u0275\u0275elementStart"](0,"div",22),r["\u0275\u0275elementStart"](1,"span",23),r["\u0275\u0275listener"]("click",(function(){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"]().toggleRangeSelect("startDate")})),r["\u0275\u0275text"](2),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementStart"](3,"span",24),r["\u0275\u0275listener"]("click",(function(){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"]().toggleRangeSelect("endDate")})),r["\u0275\u0275text"](4),r["\u0275\u0275elementEnd"](),r["\u0275\u0275element"](5,"i",25),r["\u0275\u0275elementEnd"]()}if(2&e){const e=r["\u0275\u0275nextContext"]();r["\u0275\u0275classProp"]("week-select-mode",e.weekRangeSelect),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("@startDateTextState",e.rangeSelectMode),r["\u0275\u0275advance"](1),r["\u0275\u0275textInterpolate"](e.selectedLabel),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("@endDateTextState",e.rangeSelectMode),r["\u0275\u0275advance"](1),r["\u0275\u0275textInterpolate"](e.selected2Label),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("@indicatorState",e.rangeSelectMode)}}function Cc(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"th",26),r["\u0275\u0275text"](1),r["\u0275\u0275elementEnd"]()),2&e){const e=t.$implicit;r["\u0275\u0275propertyInterpolate"]("title",e),r["\u0275\u0275attribute"]("data-automation-id",e.substr(0,2)),r["\u0275\u0275advance"](1),r["\u0275\u0275textInterpolate"](e.substr(0,2))}}
2303const wc=function(e,t,n,r,o,i,a){return{today:e,notinmonth:t,selected:n,filler:r,startfill:o,endfill:i,"selecting-range":a}};function Sc(e,t){if(1&e){const e=r["\u0275\u0275getCurrentView"]();r["\u0275\u0275elementStart"](0,"td",28),r["\u0275\u0275listener"]("mouseover",(function(n){r["\u0275\u0275restoreView"](e);const o=t.$implicit;return r["\u0275\u0275nextContext"](2).rangeHover(n,o)})),r["\u0275\u0275elementStart"](1,"button",29),r["\u0275\u0275listener"]("click",(function(n){r["\u0275\u0275restoreView"](e);const o=t.$implicit;return r["\u0275\u0275nextContext"](2).select(n,o,!0)})),r["\u0275\u0275text"](2),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"]()}if(2&e){const e=t.$implicit,n=r["\u0275\u0275nextContext"](2);r["\u0275\u0275property"]("ngClass",r["\u0275\u0275pureFunction7"](5,wc,e.isToday,e.date.getMonth()!==n.month.getMonth(),n.isSelected(n.range,e.date,n.selected,n.selected2),n.isFiller(n.range,e.date,n.selected,n.selected2),n.isStartFill(n.range,e.date,n.selected,n.selected2),n.isEndFill(n.range,e.date,n.selected,n.selected2),n.isSelectingRange(n.range,e.date,n.selected,n.selected2,n.hoverDay,n.rangeSelectMode,n.weekRangeSelect))),r["\u0275\u0275attribute"]("data-automation-id",e.number),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("disabled",n.isDisabled(e.date,n.start,n.end)),r["\u0275\u0275attribute"]("data-automation-id",e.number),r["\u0275\u0275advance"](1),r["\u0275\u0275textInterpolate"](e.number)}}function _c(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"tr"),r["\u0275\u0275template"](1,Sc,3,13,"td",27),r["\u0275\u0275elementEnd"]()),2&e){const e=t.$implicit;r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngForOf",e.days)}}const Ec=function(e){return{selected:e}};function kc(e,t){if(1&e){const e=r["\u0275\u0275getCurrentView"]();r["\u0275\u0275elementStart"](0,"div",30),r["\u0275\u0275listener"]("click",(function(){r["\u0275\u0275restoreView"](e);const n=t.index;return r["\u0275\u0275nextContext"]().setMonth(n)})),r["\u0275\u0275elementStart"](1,"div",31),r["\u0275\u0275text"](2),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"]()}if(2&e){const e=t.$implicit,n=t.index,o=r["\u0275\u0275nextContext"]();r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngClass",r["\u0275\u0275pureFunction1"](3,Ec,n===(null==o.selected?null:o.selected.getMonth()))),r["\u0275\u0275attribute"]("data-automation-id",e),r["\u0275\u0275advance"](1),r["\u0275\u0275textInterpolate"](e)}}function xc(e,t){if(1&e){const e=r["\u0275\u0275getCurrentView"]();r["\u0275\u0275elementStart"](0,"div",30),r["\u0275\u0275listener"]("click",(function(){r["\u0275\u0275restoreView"](e);const n=t.$implicit;return r["\u0275\u0275nextContext"]().setYear(n)})),r["\u0275\u0275elementStart"](1,"div",32),r["\u0275\u0275text"](2),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"]()}if(2&e){const e=t.$implicit,n=r["\u0275\u0275nextContext"]();r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngClass",r["\u0275\u0275pureFunction1"](3,Ec,e==(null==n.selected?null:n.selected.getFullYear()))),r["\u0275\u0275attribute"]("data-automation-id",e),r["\u0275\u0275advance"](1),r["\u0275\u0275textInterpolate"](e)}}function Ic(e,t){if(1&e){const e=r["\u0275\u0275getCurrentView"]();r["\u0275\u0275elementStart"](0,"i",6),r["\u0275\u0275listener"]("click",(function(){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"]().openPanel()})),r["\u0275\u0275elementEnd"]()}}function Oc(e,t){if(1&e){const e=r["\u0275\u0275getCurrentView"]();r["\u0275\u0275elementStart"](0,"i",7),r["\u0275\u0275listener"]("click",(function(){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"]().clearValue()})),r["\u0275\u0275elementEnd"]()}}function Tc(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"h5"),r["\u0275\u0275text"](1),r["\u0275\u0275elementEnd"]()),2&e){const e=r["\u0275\u0275nextContext"]();r["\u0275\u0275advance"](1),r["\u0275\u0275textInterpolate"](e.title)}}function Ac(e,t){if(1&e&&r["\u0275\u0275element"](0,"p",8),2&e){const e=r["\u0275\u0275nextContext"]();r["\u0275\u0275classProp"]("message-only",!e.title),r["\u0275\u0275property"]("innerHtml",e._message,r["\u0275\u0275sanitizeHtml"])}}function Pc(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"div",9),r["\u0275\u0275element"](1,"input",10),r["\u0275\u0275elementEnd"]()),2&e){const e=r["\u0275\u0275nextContext"]();r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("value",e.link)}}function Dc(e,t){if(1&e){const e=r["\u0275\u0275getCurrentView"]();r["\u0275\u0275elementStart"](0,"div",11),r["\u0275\u0275listener"]("click",(function(t){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"]().close(t)})),r["\u0275\u0275element"](1,"i",12),r["\u0275\u0275elementEnd"]()}}function Rc(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"span",6),r["\u0275\u0275elementStart"](1,"span",7),r["\u0275\u0275text"](2),r["\u0275\u0275elementEnd"](),r["\u0275\u0275text"](3,":"),r["\u0275\u0275elementStart"](4,"span",8),r["\u0275\u0275text"](5),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"]()),2&e){const e=r["\u0275\u0275nextContext"]();r["\u0275\u0275advance"](2),r["\u0275\u0275textInterpolate"](e.hours),r["\u0275\u0275advance"](3),r["\u0275\u0275textInterpolate"](e.minutes)}}function Mc(e,t){if(1&e){const e=r["\u0275\u0275getCurrentView"]();r["\u0275\u0275elementStart"](0,"span",11),r["\u0275\u0275listener"]("click",(function(n){r["\u0275\u0275restoreView"](e);const o=t.$implicit;return r["\u0275\u0275nextContext"](2).setPeriod(n,o,!0)})),r["\u0275\u0275text"](1),r["\u0275\u0275elementEnd"]()}if(2&e){const e=t.$implicit,n=r["\u0275\u0275nextContext"](2);r["\u0275\u0275classProp"]("active",n.meridian==e),r["\u0275\u0275attribute"]("data-automation-id",e),r["\u0275\u0275advance"](1),r["\u0275\u0275textInterpolate"](e)}}function Nc(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"div",9),r["\u0275\u0275template"](1,Mc,2,4,"span",10),r["\u0275\u0275elementEnd"]()),2&e){const e=r["\u0275\u0275nextContext"]();r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngForOf",e.MERIDIANS)}}function jc(e,t){1&e&&r["\u0275\u0275element"](0,"i",17)}function Fc(e,t){if(1&e){const e=r["\u0275\u0275getCurrentView"]();r["\u0275\u0275elementStart"](0,"novo-list-item",15),r["\u0275\u0275listener"]("click",(function(n){r["\u0275\u0275restoreView"](e);const o=t.$implicit;return r["\u0275\u0275nextContext"](2).setValue(n,o)})),r["\u0275\u0275elementStart"](1,"item-content"),r["\u0275\u0275text"](2),r["\u0275\u0275elementEnd"](),r["\u0275\u0275template"](3,jc,1,0,"i",16),r["\u0275\u0275elementEnd"]()}if(2&e){const e=t.$implicit,n=r["\u0275\u0275nextContext"](2);r["\u0275\u0275classProp"]("active",e==n.selected),r["\u0275\u0275attribute"]("data-automation-id",e),r["\u0275\u0275advance"](2),r["\u0275\u0275textInterpolate"](e),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",e==n.selected)}}function Lc(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"div",12),r["\u0275\u0275elementStart"](1,"novo-list",13),r["\u0275\u0275template"](2,Fc,4,5,"novo-list-item",14),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"]()),2&e){const e=r["\u0275\u0275nextContext"]();r["\u0275\u0275advance"](2),r["\u0275\u0275property"]("ngForOf",e.increments)}}function Vc(e,t){if(1&e){const e=r["\u0275\u0275getCurrentView"]();r["\u0275\u0275elementStart"](0,"span",30),r["\u0275\u0275listener"]("click",(function(n){r["\u0275\u0275restoreView"](e);const o=t.$implicit;return r["\u0275\u0275nextContext"](2).setHours(n,o,!0)})),r["\u0275\u0275text"](1),r["\u0275\u0275elementEnd"]()}if(2&e){const e=t.$implicit,n=r["\u0275\u0275nextContext"](2);r["\u0275\u0275property"]("ngClass",r["\u0275\u0275pureFunction1"](3,as,n.activeHour==e)),r["\u0275\u0275attribute"]("data-automation-id",e),r["\u0275\u0275advance"](1),r["\u0275\u0275textInterpolate"](e)}}function Bc(e,t){if(1&e){const e=r["\u0275\u0275getCurrentView"]();r["\u0275\u0275elementStart"](0,"span",31),r["\u0275\u0275listener"]("click",(function(n){r["\u0275\u0275restoreView"](e);const o=t.$implicit;return r["\u0275\u0275nextContext"](2).setMinutes(n,o,!0)})),r["\u0275\u0275text"](1),r["\u0275\u0275elementEnd"]()}if(2&e){const e=t.$implicit,n=r["\u0275\u0275nextContext"](2);r["\u0275\u0275property"]("ngClass",r["\u0275\u0275pureFunction1"](3,as,n.activeMinute==e)),r["\u0275\u0275attribute"]("data-automation-id",e),r["\u0275\u0275advance"](1),r["\u0275\u0275textInterpolate"](e)}}const Uc=function(e){return{between:e}};function Hc(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"div",18),r["\u0275\u0275elementStart"](1,"div",19),r["\u0275\u0275elementStart"](2,"div",20),r["\u0275\u0275element"](3,"span",21),r["\u0275\u0275elementStart"](4,"span",22),r["\u0275\u0275element"](5,"span",23),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementStart"](6,"span",24),r["\u0275\u0275element"](7,"span",25),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementStart"](8,"div",26),r["\u0275\u0275template"](9,Vc,2,5,"span",27),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementStart"](10,"div",28),r["\u0275\u0275template"](11,Bc,2,5,"span",29),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"]()),2&e){const e=r["\u0275\u0275nextContext"]();r["\u0275\u0275advance"](4),r["\u0275\u0275property"]("ngClass",e.hoursClass),r["\u0275\u0275advance"](2),r["\u0275\u0275property"]("ngClass",e.minutesClass),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngClass",r["\u0275\u0275pureFunction1"](5,Uc,e.inBetween)),r["\u0275\u0275advance"](2),r["\u0275\u0275property"]("ngForOf",e.HOURS),r["\u0275\u0275advance"](2),r["\u0275\u0275property"]("ngForOf",e.MINUTES)}}function Gc(e,t){if(1&e){const e=r["\u0275\u0275getCurrentView"]();r["\u0275\u0275elementStart"](0,"i",6),r["\u0275\u0275listener"]("click",(function(){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"]().openPanel
2303()})),r["\u0275\u0275elementEnd"]()}}function qc(e,t){if(1&e){const e=r["\u0275\u0275getCurrentView"]();r["\u0275\u0275elementStart"](0,"i",7),r["\u0275\u0275listener"]("click",(function(){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"]().clearValue()})),r["\u0275\u0275elementEnd"]()}}const Kc=[[["header"]],[["section"]],[["button"]]],zc=["header","section","button"];function Yc(e,t){if(1&e&&r["\u0275\u0275element"](0,"i",3),2&e){const e=r["\u0275\u0275nextContext"]();r["\u0275\u0275property"]("ngClass",e.iconType)}}const $c=[[["label"]],[["h1"]],[["h2"]],[["p"]],[["button"]]],Wc=["label","h1","h2","p","button"];function Zc(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"h2"),r["\u0275\u0275elementStart"](1,"label"),r["\u0275\u0275text"](2),r["\u0275\u0275elementEnd"](),r["\u0275\u0275text"](3),r["\u0275\u0275element"](4,"i",4),r["\u0275\u0275text"](5),r["\u0275\u0275elementEnd"]()),2&e){const e=r["\u0275\u0275nextContext"]();r["\u0275\u0275advance"](2),r["\u0275\u0275textInterpolate1"]("",e.params.label,":"),r["\u0275\u0275advance"](1),r["\u0275\u0275textInterpolate1"](" ",e.params.oldValue," "),r["\u0275\u0275advance"](2),r["\u0275\u0275textInterpolate1"](" ",e.params.newValue,"")}}function Jc(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"h2"),r["\u0275\u0275text"](1),r["\u0275\u0275elementEnd"]()),2&e){const e=r["\u0275\u0275nextContext"]();r["\u0275\u0275advance"](1),r["\u0275\u0275textInterpolate"](e.params.message)}}function Qc(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"p"),r["\u0275\u0275text"](1),r["\u0275\u0275elementEnd"]()),2&e){const e=t.$implicit;r["\u0275\u0275advance"](1),r["\u0275\u0275textInterpolate"](e)}}const Xc=function(e){return{encrypted:e}};function el(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"label",13),r["\u0275\u0275text"](1),r["\u0275\u0275elementEnd"]()),2&e){const e=r["\u0275\u0275nextContext"]();r["\u0275\u0275property"]("ngClass",r["\u0275\u0275pureFunction1"](3,Xc,e.form.controls[e.control.key].encrypted)),r["\u0275\u0275attribute"]("for",e.control.key),r["\u0275\u0275advance"](1),r["\u0275\u0275textInterpolate1"](" ",e.form.controls[e.control.key].label," ")}}function tl(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"label",14),r["\u0275\u0275text"](1),r["\u0275\u0275elementEnd"]()),2&e){const e=r["\u0275\u0275nextContext"]();r["\u0275\u0275classProp"]("novo-control-empty",!e.hasValue)("novo-control-focused",e.focused)("novo-control-filled",e.hasValue)("novo-control-always-active",e.alwaysActive||e.form.controls[e.control.key].placeholder)("novo-control-extra-spacing",e.requiresExtraSpacing),r["\u0275\u0275attribute"]("for",e.control.key),r["\u0275\u0275advance"](1),r["\u0275\u0275textInterpolate1"](" ",e.form.controls[e.control.key].label," ")}}function nl(e,t){if(1&e&&r["\u0275\u0275element"](0,"i",15),2&e){const e=r["\u0275\u0275nextContext"]();r["\u0275\u0275classMapInterpolate1"]("required-indicator ",e.form.controls[e.control.key].controlType,""),r["\u0275\u0275property"]("hidden",!e.form.controls[e.control.key].required||e.form.controls[e.control.key].readOnly)("ngClass",r["\u0275\u0275pureFunction2"](5,Ds,!e.isValid,e.isValid))}}function rl(e,t){1&e&&r["\u0275\u0275elementContainer"](0)}function ol(e,t){if(1&e&&(r["\u0275\u0275elementContainerStart"](0),r["\u0275\u0275template"](1,rl,1,0,"ng-container",16),r["\u0275\u0275elementContainerEnd"]()),2&e){const e=r["\u0275\u0275nextContext"]();r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngTemplateOutlet",e.templates[e.form.controls[e.control.key].controlType])("ngTemplateOutletContext",e.templateContext)}}function il(e,t){1&e&&(r["\u0275\u0275elementContainerStart"](0),r["\u0275\u0275elementStart"](1,"div",17),r["\u0275\u0275element"](2,"input",18),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementContainerEnd"]())}function al(e,t){1&e&&r["\u0275\u0275element"](0,"span",25)}function sl(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"span",25),r["\u0275\u0275text"](1),r["\u0275\u0275pipe"](2,"uppercase"),r["\u0275\u0275elementEnd"]()),2&e){const e=r["\u0275\u0275nextContext"](2);r["\u0275\u0275advance"](1),r["\u0275\u0275textInterpolate2"]("",r["\u0275\u0275pipeBind1"](2,2,e.form.controls[e.control.ke
2303y].label)," ",e.labels.isRequired,"")}}function cl(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"span",25),r["\u0275\u0275text"](1),r["\u0275\u0275pipe"](2,"uppercase"),r["\u0275\u0275elementEnd"]()),2&e){const e=r["\u0275\u0275nextContext"](2);r["\u0275\u0275advance"](1),r["\u0275\u0275textInterpolate3"]("",r["\u0275\u0275pipeBind1"](2,3,e.form.controls[e.control.key].label)," ",e.labels.minLength," ",e.form.controls[e.control.key].minlength,"")}}function ll(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"span",25),r["\u0275\u0275text"](1),r["\u0275\u0275elementEnd"]()),2&e){const e=r["\u0275\u0275nextContext"](2);r["\u0275\u0275advance"](1),r["\u0275\u0275textInterpolate"](e.labels.maxlengthMet(e.form.controls[e.control.key].maxlength))}}function ul(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"span",25),r["\u0275\u0275text"](1),r["\u0275\u0275elementEnd"]()),2&e){const e=r["\u0275\u0275nextContext"](2);r["\u0275\u0275advance"](1),r["\u0275\u0275textInterpolate"](e.labels.invalidMaxlength(e.form.controls[e.control.key].maxlength))}}function dl(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"span",25),r["\u0275\u0275text"](1),r["\u0275\u0275elementEnd"]()),2&e){const e=r["\u0275\u0275nextContext"](2);r["\u0275\u0275advance"](1),r["\u0275\u0275textInterpolate"](e.labels.maxRecordsReached)}}function hl(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"span",25),r["\u0275\u0275text"](1),r["\u0275\u0275pipe"](2,"uppercase"),r["\u0275\u0275elementEnd"]()),2&e){const e=r["\u0275\u0275nextContext"](2);r["\u0275\u0275advance"](1),r["\u0275\u0275textInterpolate2"]("",r["\u0275\u0275pipeBind1"](2,2,e.form.controls[e.control.key].label)," ",e.labels.invalidEmail,"")}}function ml(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"span",25),r["\u0275\u0275text"](1),r["\u0275\u0275pipe"](2,"uppercase"),r["\u0275\u0275elementEnd"]()),2&e){const e=r["\u0275\u0275nextContext"](2);r["\u0275\u0275advance"](1),r["\u0275\u0275textInterpolate2"]("",r["\u0275\u0275pipeBind1"](2,2,e.form.controls[e.control.key].label)," ",e.labels.isTooLarge,"")}}function pl(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"span"),r["\u0275\u0275text"](1),r["\u0275\u0275pipe"](2,"uppercase"),r["\u0275\u0275elementEnd"]()),2&e){const e=r["\u0275\u0275nextContext"](2);r["\u0275\u0275advance"](1),r["\u0275\u0275textInterpolate2"]("",r["\u0275\u0275pipeBind1"](2,2,e.form.controls[e.control.key].label)," ",e.labels.notValidYear,"")}}function fl(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"span",25),r["\u0275\u0275text"](1),r["\u0275\u0275elementEnd"]()),2&e){const e=r["\u0275\u0275nextContext"](2);r["\u0275\u0275advance"](1),r["\u0275\u0275textInterpolate"](e.errors.custom)}}function gl(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"span",25),r["\u0275\u0275text"](1),r["\u0275\u0275elementEnd"]()),2&e){const e=r["\u0275\u0275nextContext"](2);r["\u0275\u0275advance"](1),r["\u0275\u0275textInterpolate1"](" ",e.labels.invalidMaxlengthWithField(null==e.control.config[e.maxlengthErrorField]?null:e.control.config[e.maxlengthErrorField].label,null==e.control.config[e.maxlengthErrorField]?null:e.control.config[e.maxlengthErrorField].maxlength)," ")}}function yl(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"span",25),r["\u0275\u0275text"](1),r["\u0275\u0275elementEnd"]()),2&e){const e=r["\u0275\u0275nextContext"](2);r["\u0275\u0275advance"](1),r["\u0275\u0275textInterpolate1"](" ",e.labels.maxlengthMetWithField(null==e.control.config[e.maxlengthMetField]?null:e.control.config[e.maxlengthMetField].label,null==e.control.config[e.maxlengthMetField]?null:e.control.config[e.maxlengthMetField].maxlength)," ")}}function vl(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"span",25),r["\u0275\u0275text"](1),r["\u0275\u0275pipe"](2,"uppercase"),r["\u0275\u0275elementEnd"]()),2&e){const e=t.$implicit,n=r["\u0275\u0275nextContext"](3);r["\u0275\u0275advance"](1),r["\u0275\u0275textInterpolate2"]("",r["\u0275\u0275pipeBind1"](2,2,e)," ",n.labels.isRequired," ")}}function bl(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"span"),r["\u0275\u0275template"](1,vl,3,4,"span",26),r["\u0275\u0275elementEnd"]()),2&e){const e=r["\u0275\u0275nextContext"](2);r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngForOf",null==e.errors?null:e.errors.invalidAddressFields)}}function Cl(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"span",27),r["\u0275\u0275text"](1),r["\u0275\u0275elementEnd"]()),2&e){const e=r["\u0275\u0275nextContext"](2);r["\u0275\u0275advance"](1),r["\u0275\u0275textInterpolate1"](" ",e.form.controls[e.control.ke
2303y].description," ")}}function wl(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"span",28),r["\u0275\u0275text"](1),r["\u0275\u0275elementEnd"]()),2&e){const e=r["\u0275\u0275nextContext"](2);r["\u0275\u0275advance"](1),r["\u0275\u0275textInterpolate"](e.form.controls[e.control.key].warning)}}function Sl(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"span",29),r["\u0275\u0275text"](1),r["\u0275\u0275elementEnd"]()),2&e){const e=r["\u0275\u0275nextContext"](2);r["\u0275\u0275classProp"]("error",(null==e.errors?null:e.errors.maxlength)&&!(null!=e.errors&&e.errors.maxlengthFields)||(null==e.errors?null:e.errors.maxlength)&&(null==e.errors?null:e.errors.maxlengthFields)&&e.errors.maxlengthFields.includes(e.focusedField)),r["\u0275\u0275advance"](1),r["\u0275\u0275textInterpolate2"]("",e.itemCount,"/",e.maxLength||e.form.controls[e.control.key].maxlength,"")}}function _l(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"span",30),r["\u0275\u0275text"](1),r["\u0275\u0275elementEnd"]()),2&e){const e=r["\u0275\u0275nextContext"](2);r["\u0275\u0275classProp"]("zero-count",0===e.itemCount)("row-picker",e.form.controls[e.control.key].config.columns),r["\u0275\u0275advance"](1),r["\u0275\u0275textInterpolate2"]("",e.itemCount,"/",e.maxLength||e.form.controls[e.control.key].maxlength,"")}}function El(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"div",13),r["\u0275\u0275elementStart"](1,"div",19),r["\u0275\u0275template"](2,al,1,0,"span",20),r["\u0275\u0275template"](3,sl,3,4,"span",20),r["\u0275\u0275template"](4,cl,3,5,"span",20),r["\u0275\u0275template"](5,ll,2,1,"span",20),r["\u0275\u0275template"](6,ul,2,1,"span",20),r["\u0275\u0275template"](7,dl,2,1,"span",20),r["\u0275\u0275template"](8,hl,3,4,"span",20),r["\u0275\u0275template"](9,ml,3,4,"span",20),r["\u0275\u0275template"](10,pl,3,4,"span",9),r["\u0275\u0275template"](11,fl,2,1,"span",20),r["\u0275\u0275template"](12,gl,2,1,"span",20),r["\u0275\u0275template"](13,yl,2,1,"span",20),r["\u0275\u0275template"](14,bl,2,1,"span",9),r["\u0275\u0275template"](15,Cl,2,1,"span",21),r["\u0275\u0275template"](16,wl,2,1,"span",22),r["\u0275\u0275elementEnd"](),r["\u0275\u0275template"](17,Sl,2,4,"span",23),r["\u0275\u0275template"](18,_l,2,6,"span",24),r["\u0275\u0275elementEnd"]()),2&e){const e=r["\u0275\u0275nextContext"]();r["\u0275\u0275classMapInterpolate1"]("field-message ",e.form.controls[e.control.key].controlType,""),r["\u0275\u0275classProp"]("has-tip",e.form.controls[e.control.key].tipWell),r["\u0275\u0275property"]("ngClass",e.showErrorState||e.showMaxLengthMetMessage?"error-shown":"error-hidden"),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngClass",e.showMessages?"count-shown messages-shown":"count-hidden messages-hidden"),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",e.showFieldMessage),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",e.isDirty&&(null==e.errors?null:e.errors.required)&&"address"!==e.form.controls[e.control.key].controlType),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",e.isDirty&&(null==e.errors?null:e.errors.minlength)),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",e.isDirty&&e.maxLengthMet&&e.focused&&!(null!=e.errors&&e.errors.maxlength)&&"picker"!==e.form.controls[e.control.key].controlType),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",(null==e.errors?null:e.errors.maxlength)&&e.focused&&!(null!=e.errors&&e.errors.maxlengthFields)),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",e.maxLengthMet&&"picker"===e.form.controls[e.control.key].controlType),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",e.isDirty&&(null==e.errors?null:e.errors.invalidEmail)),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",e.isDirty&&((null==e.errors?null:e.errors.integerTooLarge)||(null==e.errors?null:e.errors.doubleTooLarge))),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",e.isDirty&&(null==e.errors?null:e.errors.minYear)),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",e.isDirty&&(null==e.errors?null:e.errors.custom)),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",(null==e.errors?null:e.errors.maxlength)&&(null==e.errors?null:e.errors.maxlengthFields)&&e.maxlengthErrorField&&e.focused),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",e.isDirty&&e.maxlengthMetField&&e.focused&&!(null!=e.errors&&null!=e.errors.maxlengthFields&&e.errors.maxlengthFields.includes(e.maxlengthMetField))),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",e.isDirty&&(null==e.errors?null:e.errors.invalidAddress)),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",e.form.controls[e.control.ke
2303y].description),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",e.form.controls[e.control.key].warning),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",e.showCount&&"picker"!==e.form.controls[e.control.key].controlType),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",e.showCount&&"picker"===e.form.controls[e.control.key].controlType)}}function kl(e,t){if(1&e&&r["\u0275\u0275element"](0,"novo-tip-well",31),2&e){const e=r["\u0275\u0275nextContext"]();r["\u0275\u0275property"]("name",e.control.key)("tip",null==e.form.controls[e.control.key]||null==e.form.controls[e.control.key].tipWell?null:e.form.controls[e.control.key].tipWell.tip)("icon",null==e.form.controls[e.control.key]||null==e.form.controls[e.control.key].tipWell?null:e.form.controls[e.control.key].tipWell.icon)("button",null==e.form.controls[e.control.key]||null==e.form.controls[e.control.key].tipWell?null:e.form.controls[e.control.key].tipWell.button)("sanitize",null==e.form.controls[e.control.key]||null==e.form.controls[e.control.key].tipWell?null:e.form.controls[e.control.key].tipWell.sanitize)}}function xl(e,t){1&e&&(r["\u0275\u0275elementStart"](0,"i",32),r["\u0275\u0275namespaceSVG"](),r["\u0275\u0275elementStart"](1,"svg",33),r["\u0275\u0275elementStart"](2,"style",34),r["\u0275\u0275text"](3," .spinner { fill:#FFFFFF; } "),r["\u0275\u0275elementEnd"](),r["\u0275\u0275element"](4,"path",35),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"]())}function Il(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"div"),r["\u0275\u0275text"](1),r["\u0275\u0275elementEnd"]()),2&e){const e=t.form,n=t.$implicit;r["\u0275\u0275advance"](1),r["\u0275\u0275textInterpolate"](e.value[n.key])}}function Ol(e,t){if(1&e){const e=r["\u0275\u0275getCurrentView"]();r["\u0275\u0275elementStart"](0,"input",23),r["\u0275\u0275listener"]("input",(function(t){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"]().methods.emitChange(t)}))("focus",(function(t){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"]().methods.handleFocus(t)}))("blur",(function(t){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"]().methods.handleBlur(t)})),r["\u0275\u0275elementEnd"]()}if(2&e){const e=r["\u0275\u0275nextContext"]().$implicit;r["\u0275\u0275property"]("textMask",e.maskOptions)("formControlName",e.key)("id",e.key)("type",null==e?null:e.type)("placeholder",null==e?null:e.placeholder)}}function Tl(e,t){if(1&e){const e=r["\u0275\u0275getCurrentView"]();r["\u0275\u0275elementStart"](0,"input",24),r["\u0275\u0275listener"]("input",(function(t){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"]().methods.emitChange(t)}))("focus",(function(t){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"]().methods.handleFocus(t)}))("blur",(function(t){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"]().methods.handleBlur(t)})),r["\u0275\u0275elementEnd"]()}if(2&e){const e=r["\u0275\u0275nextContext"](),t=e.errors,n=e.$implicit;r["\u0275\u0275classProp"]("maxlength-error",null==t?null:t.maxlength),r["\u0275\u0275property"]("formControlName",n.key)("id",n.key)("type",null==n?null:n.type)("placeholder",null==n?null:n.placeholder)("maxlength",null==n?null:n.maxlength)}}function Al(e,t){if(1&e){const e=r["\u0275\u0275getCurrentView"]();r["\u0275\u0275elementStart"](0,"input",25,26),r["\u0275\u0275listener"]("keydown",(function(t){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"]().methods.restrictKeys(t)}))("input",(function(t){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"]().methods.emitChange(t)}))("focus",(function(t){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"]().methods.handleFocus(t)}))("blur",(function(t){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"]().methods.handleBlur(t)}))("mousewheel",(function(){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275reference"](1).blur()})),r["\u0275\u0275elementEnd"]()}if(2&e){const e=r["\u0275\u0275nextContext"](),t=e.errors,n=e.$implicit;r["\u0275\u0275classProp"]("maxlength-error",null==t?null:t.maxlength),r["\u0275\u0275property"]("formControlName",n.key)("id",n.key)("type",null==n?null:n.type)("placeholder",null==n?null:n.placeholder)("maxlength",null==n?null:n.maxlength)}}function Pl(e,t){if(1&e){const e=r["\u0275\u0275getCurrentView"]();r["\u0275\u0275elementStart"](0,"input",27,28),r["\u0275\u0275listener"]("keydown",(function(t){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"]().methods.restrictKeys(t)}))("input",(function(t){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"]().methods.handlePercentChange(t)}
2303))("focus",(function(t){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"]().methods.handleFocus(t)}))("blur",(function(t){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"]().methods.handleBlur(t)}))("mousewheel",(function(){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275reference"](1).blur()})),r["\u0275\u0275elementEnd"]()}if(2&e){const e=r["\u0275\u0275nextContext"]().$implicit;r["\u0275\u0275property"]("id",e.key)("type",null==e?null:e.type)("placeholder",null==e?null:e.placeholder)("value",null==e?null:e.percentValue)("disabled",null==e?null:e.readOnly)}}function Dl(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"label",29),r["\u0275\u0275text"](1),r["\u0275\u0275elementEnd"]()),2&e){const e=r["\u0275\u0275nextContext"]().$implicit;r["\u0275\u0275advance"](1),r["\u0275\u0275textInterpolate"](e.currencyFormat)}}function Rl(e,t){1&e&&(r["\u0275\u0275elementStart"](0,"label",29),r["\u0275\u0275text"](1,"%"),r["\u0275\u0275elementEnd"]())}function Ml(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"div",17),r["\u0275\u0275template"](1,Ol,1,5,"input",18),r["\u0275\u0275template"](2,Tl,1,7,"input",19),r["\u0275\u0275template"](3,Al,2,7,"input",20),r["\u0275\u0275template"](4,Pl,2,5,"input",21),r["\u0275\u0275template"](5,Dl,2,1,"label",22),r["\u0275\u0275template"](6,Rl,2,0,"label",22),r["\u0275\u0275elementEnd"]()),2&e){const e=t.$implicit;r["\u0275\u0275property"]("formGroup",t.form)("tooltip",null==e?null:e.tooltip)("tooltipPosition",null==e?null:e.tooltipPosition)("tooltipSize",null==e?null:e.tooltipSize)("tooltipPreline",null==e?null:e.tooltipPreline)("removeTooltipArrow",null==e?null:e.removeTooltipArrow)("tooltipAutoPosition",null==e?null:e.tooltipAutoPosition),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf","number"!==(null==e?null:e.type)&&(null==e?null:e.textMaskEnabled)),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf","number"!==(null==e?null:e.type)&&!(null!=e&&e.textMaskEnabled)),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf","number"===(null==e?null:e.type)&&"percentage"!==(null==e?null:e.subType)),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf","number"===(null==e?null:e.type)&&"percentage"===(null==e?null:e.subType)),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf","currency"===(null==e?null:e.subType)),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf","percentage"===(null==e?null:e.subType))}}function Nl(e,t){if(1&e){const e=r["\u0275\u0275getCurrentView"]();r["\u0275\u0275elementStart"](0,"div",30),r["\u0275\u0275elementStart"](1,"textarea",31),r["\u0275\u0275listener"]("input",(function(n){return r["\u0275\u0275restoreView"](e),t.methods.handleTextAreaInput(n)}))("focus",(function(n){return r["\u0275\u0275restoreView"](e),t.methods.handleFocus(n)}))("blur",(function(n){return r["\u0275\u0275restoreView"](e),t.methods.handleBlur(n)})),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"]()}if(2&e){const e=t.$implicit,n=t.errors;r["\u0275\u0275property"]("formGroup",t.form)("tooltip",null==e?null:e.tooltip)("tooltipPosition",null==e?null:e.tooltipPosition)("tooltipSize",null==e?null:e.tooltipSize)("tooltipPreline",null==e?null:e.tooltipPreline)("removeTooltipArrow",null==e?null:e.removeTooltipArrow)("tooltipAutoPosition",null==e?null:e.tooltipAutoPosition),r["\u0275\u0275advance"](1),r["\u0275\u0275classProp"]("maxlength-error",null==n?null:n.maxlength),r["\u0275\u0275property"]("name",e.key)("placeholder",e.placeholder)("formControlName",e.key)("maxlength",null==e?null:e.maxlength),r["\u0275\u0275attribute"]("id",e.key)}}function jl(e,t){if(1&e){const e=r["\u0275\u0275getCurrentView"]();r["\u0275\u0275elementStart"](0,"div",32),r["\u0275\u0275elementStart"](1,"novo-editor",33),r["\u0275\u0275listener"]("focus",(function(n){return r["\u0275\u0275restoreView"](e),t.methods.handleFocus(n)}))("blur",(function(n){return r["\u0275\u0275restoreView"](e),t.methods.handleBlur(n)})),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"]()}if(2&e){const e=t.$implicit;r["\u0275\u0275property"]("formGroup",t.form),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("name",e.key)("formControlName",e.key)("startupFocus",e.startupFocus)("minimal",e.minimal)("fileBrowserImageUploadUrl",e.fileBrowserImageUploadUrl)("config",e.config)}}function Fl(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"option",37),r["\u0275\u0275text"](1),r["\u0275\u0275elementEnd"]()),2&e){const e=r["\u0275\u0275nextContext"]().$implicit;r["\u0275\u0275advance"](1),r["\u0275\u0275textInterpolate"](e.placeholder)}}function Ll(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"option",38),r["\u0275\u0275text"](1),r["\u0275\u0275elementEnd"]()),2&e){const e=t.$implicit;r["\u0275\u0275property"]("value",e.key),r["\u0275\u0275advance"](1),r["\u0275\u0275textInterpolate"](e.value)}}function Vl(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"div",32),r["\u0275\u0275elementStart"](1,"select",34),r["\u0275\u0275template"](2,Fl,2,1,"option",35),r["\u0275\u0275template"](3,Ll,2,2,"option",36),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"]()),2&e){const e=t.$implicit;r["\u0275\u0275property"]("formGroup",t.form),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("id",e.key)("formControlName",e.key)("tooltip",e.tooltip)("tooltipPosition",e.tooltipPosition)("tooltipSize",null==e?null:e.tooltipSize)("tooltipPreline",null==e?null:e.tooltipPreline)("removeTooltipArrow",null==e?null:e.removeTooltipArrow)("tooltipAutoPosition",null==e?null:e.tooltipAutoPosition),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",e.placeholder),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngForOf",e.options)}}function Bl(e,t){if(1&e){const e=r["\u0275\u0275getCurrentView"]();r["\u0275\u0275elementStart"](0,"div",32),r["\u0275\u0275elementStart"](1,"novo-file-input",39),r["\u0275\u0275listener"]("edit",(function(n){return r["\u0275\u0275restoreView"](e),t.methods.handleEdit(n)}))("save",(function(n){return r["\u0275\u0275restoreView"](e),t.methods.handleSave(n)}))("delete",(function(n){return r["\u0275\u0275restoreView"](e),t.methods.handleDelete(n)}))("upload",(function(n){return r["\u0275\u0275restoreView"](e),t.methods.handleUpload(n)})),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"]()}if(2&e){const e=t.$implicit;r["\u0275\u0275property"]("formGroup",t.form),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("formControlName",e.key)("id",e.key)("name",e.key)("placeholder",e.placeholder)("value",e.value)("multiple",e.multiple)("layoutOptions",e.layoutOptions)("tooltip",e.tooltip)("tooltipPosition",e.tooltipPosition)("tooltipSize",null==e?null:e.tooltipSize)("tooltipPreline",null==e?null:e.tooltipPreline)("removeTooltipArrow",null==e?null:e.removeTooltipArrow)("tooltipAutoPosition",null==e?null:e.tooltipAutoPosition)}}function Ul(e,t){if(1&e){const e=r["\u0275\u0275getCurrentView"]();r["\u0275\u0275elementStart"](0,"div",32),r["\u0275\u0275elementStart"](1,"novo-tiles",40),r["\u0275\u0275listener"]("onChange",(function(n){return r["\u0275\u0275restoreView"](e),t.methods.modelChange(n)})),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"]()}if(2&e){const e=t.$implicit;r["\u0275\u0275property"]("formGroup",t.form),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("options",e.options)("formControlName",e.key)("tooltip",e.tooltip)("tooltipPosition",e.tooltipPosition)("tooltipSize",null==e?null:e.tooltipSize)("tooltipPreline",null==e?null:e.tooltipPreline)("removeTooltipArrow",null==e?null:e.removeTooltipArrow)("tooltipAutoPosition",null==e?null:e.tooltipAutoPosition)("controlDisabled",e.disabled)}}function Hl(e,t){if(1&e){const e=r["\u0275\u0275getCurrentView"]();r["\u0275\u0275elementStart"](0,"novo-picker",45),r["\u0275\u0275listener"]("select",(function(t){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"]().methods.modelChange(t)}
2303))("changed",(function(t){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"]().methods.modelChangeWithRaw(t)}))("typing",(function(t){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"]().methods.handleTyping(t)}))("focus",(function(t){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"]().methods.handleFocus(t)}))("blur",(function(t){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"]().methods.handleBlur(t)})),r["\u0275\u0275elementEnd"]()}if(2&e){const e=r["\u0275\u0275nextContext"]().$implicit;r["\u0275\u0275property"]("config",e.config)("formControlName",e.key)("placeholder",e.placeholder)("parentScrollSelector",e.parentScrollSelector)("tooltip",e.tooltip)("tooltipPosition",e.tooltipPosition)("tooltipSize",null==e?null:e.tooltipSize)("tooltipPreline",null==e?null:e.tooltipPreline)("removeTooltipArrow",null==e?null:e.removeTooltipArrow)("tooltipAutoPosition",null==e?null:e.tooltipAutoPosition)}}function Gl(e,t){if(1&e){const e=r["\u0275\u0275getCurrentView"]();r["\u0275\u0275elementStart"](0,"novo-chips",46),r["\u0275\u0275listener"]("changed",(function(t){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"]().methods.modelChangeWithRaw(t)}))("typing",(function(t){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"]().methods.handleTyping(t)}))("focus",(function(t){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"]().methods.handleFocus(t)}))("blur",(function(t){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"]().methods.handleBlur(t)})),r["\u0275\u0275elementEnd"]()}if(2&e){const e=r["\u0275\u0275nextContext"]().$implicit;r["\u0275\u0275property"]("source",e.config)("type",e.config.type)("formControlName",e.key)("placeholder",e.placeholder)("maxlength",null==e?null:e.maxlength)("closeOnSelect",e.closeOnSelect)("tooltip",e.tooltip)("tooltipPosition",e.tooltipPosition)("tooltipSize",null==e?null:e.tooltipSize)("tooltipPreline",null==e?null:e.tooltipPreline)("removeTooltipArrow",null==e?null:e.removeTooltipArrow)("tooltipAutoPosition",null==e?null:e.tooltipAutoPosition)}}function ql(e,t){if(1&e){const e=r["\u0275\u0275getCurrentView"]();r["\u0275\u0275elementStart"](0,"novo-row-chips",47),r["\u0275\u0275listener"]("changed",(function(t){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"]().methods.modelChangeWithRaw(t)}))("typing",(function(t){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"]().methods.handleTyping(t)}))("focus",(function(t){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"]().methods.handleFocus(t)}))("blur",(function(t){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"]().methods.handleBlur(t)})),r["\u0275\u0275elementEnd"]()}if(2&e){const e=r["\u0275\u0275nextContext"]().$implicit;r["\u0275\u0275property"]("source",e.config)("type",e.config.type)("formControlName",e.key)("placeholder",e.placeholder)("closeOnSelect",e.closeOnSelect)("tooltip",e.tooltip)("tooltipPosition",e.tooltipPosition)("tooltipSize",null==e?null:e.tooltipSize)("tooltipPreline",null==e?null:e.tooltipPreline)("removeTooltipArrow",null==e?null:e.removeTooltipArrow)("tooltipAutoPosition",null==e?null:e.tooltipAutoPosition)}}function Kl(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"div",41),r["\u0275\u0275template"](1,Hl,1,10,"novo-picker",42),r["\u0275\u0275template"](2,Gl,1,12,"novo-chips",43),r["\u0275\u0275template"](3,ql,1,11,"novo-row-chips",44),r["\u0275\u0275elementEnd"]()),2&e){const e=t.$implicit;r["\u0275\u0275property"]("formGroup",t.form),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",!e.multiple),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",e.multiple&&!e.config.columns),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",e.multiple&&e.config.columns)}}function zl(e,t){if(1&e){const e=r["\u0275\u0275getCurrentView"]();r["\u0275\u0275elementStart"](0,"div",32),r["\u0275\u0275elementStart"](1,"novo-select",48),r["\u0275\u0275listener"]("onSelect",(function(n){return r["\u0275\u0275restoreView"](e),t.methods.modelChange(n)})),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"]()}if(2&e){const e=t.$implicit;r["\u0275\u0275property"]("formGroup",t.form),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("options",e.options)("headerConfig",e.headerConfig)("placeholder",e.placeholder)("formControlName",e.key)("tooltip",e.tooltip)("tooltipPosition",e.tooltipPosition)("tooltipSize",null==e?null:e.tooltipSize)("tooltipPreline",null==e?null:e.tooltipPreline)("removeTooltipArrow",null==e?null:e.removeTooltipArrow)("tooltipAutoPosition",null==e?null:e.tooltipAutoPosition)}}function Yl(e,t){if(1&e&&r["\u0275\u0275element"](0,"novo-radio",50),2&e){const e=t.$implicit,n=r["\u0275\u0275nextContext"](),o=n.$implicit,i=n.form;r["\u0275\u0275property"]("name",o.key)("formControlName",o.key)("value",e.value)("label",e.label)("checked",e.value===i.value[o.key]||i.value[o.key]&&e.value===i.value[o.key].id)("tooltip",o.tooltip)("tooltipPosition",o.tooltipPosition)("tooltipSize",null==o?null:o.tooltipSize)("tooltipPreline",null==o?null:o.tooltipPreline)("removeTooltipArrow",null==o?null:o.removeTooltipArrow)("tooltipAutoPosition",null==o?null:o.tooltipAutoPosition)("button",!!e.icon)("icon",e.icon),r["\u0275\u0275attribute"]("data-automation-id",o.key+"-"+((null==e?null:e.label)||(null==e?null:e.value)))}}function $l(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"div",41),r["\u0275\u0275template"](1,Yl,1,14,"novo-radio",49),r["\u0275\u0275elementEnd"]()),2&e){const e=t.$implicit;r["\u0275\u0275property"]("formGroup",t.form),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngForOf",e.options)}}function Wl(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"div",51),r["\u0275\u0275element"](1,"novo-time-picker-input",52),r["\u0275\u0275elementEnd"]()),2&e){const e=t.$implicit;r["\u0275\u0275property"]("formGroup",t.form)("tooltip",null==e?null:e.tooltip)("tooltipPosition",null==e?null:e.tooltipPosition)("tooltipSize",null==e?null:e.tooltipSize)("tooltipPreline",null==e?null:e.tooltipPreline)("removeTooltipArrow",null==e?null:e.removeTooltipArrow)("tooltipAutoPosition",null==e?null:e.tooltipAutoPosition),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("name",e.key)("formControlName",e.key)("placeholder",e.placeholder)("military",e.military),r["\u0275\u0275attribute"]("id",e.key)}}function Zl(e,t){if(1&e){const e=r["\u0275\u0275getCurrentView"]();r["\u0275\u0275elementStart"](0,"div",51),r["\u0275\u0275elementStart"](1,"novo-date-picker-input",53),r["\u0275\u0275listener"]("focusEvent",(function(n){return r["\u0275\u0275restoreView"](e),t.methods.handleFocus(n)}))("blurEvent",(function(n){return r["\u0275\u0275restoreView"](e),t.methods.handleBlur(n)}))("changeEvent",(function(n){return r["\u0275\u0275restoreView"](e),t.methods.emitChange(n)})),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"]()}if(2&e){const e=t.$implicit;r["\u0275\u0275property"]("formGroup",t.form)("tooltip",e.tooltip)("tooltipPosition",e.tooltipPosition)("tooltipSize",null==e?null:e.tooltipSize)("tooltipPreline",null==e?null:e.tooltipPreline)("removeTooltipArrow",null==e?null:e.removeTooltipArrow)("tooltipAutoPosition",null==e?null:e.tooltipAutoPosition),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("name",e.key)("formControlName",e.key)("start",e.startDate)("end",e.endD
2303ate)("format",e.dateFormat)("allowInvalidDate",e.allowInvalidDate)("textMaskEnabled",e.textMaskEnabled)("placeholder",e.placeholder)("weekStart",e.weekStart),r["\u0275\u0275attribute"]("id",e.key)}}function Jl(e,t){if(1&e){const e=r["\u0275\u0275getCurrentView"]();r["\u0275\u0275elementStart"](0,"div",51),r["\u0275\u0275elementStart"](1,"novo-date-time-picker-input",54),r["\u0275\u0275listener"]("focusEvent",(function(n){return r["\u0275\u0275restoreView"](e),t.methods.handleFocus(n)}))("blurEvent",(function(n){return r["\u0275\u0275restoreView"](e),t.methods.handleBlur(n)}))("changeEvent",(function(n){return r["\u0275\u0275restoreView"](e),t.methods.emitChange(n)})),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"]()}if(2&e){const e=t.$implicit;r["\u0275\u0275property"]("formGroup",t.form)("tooltip",e.tooltip)("tooltipPosition",e.tooltipPosition)("tooltipSize",null==e?null:e.tooltipSize)("tooltipPreline",null==e?null:e.tooltipPreline)("removeTooltipArrow",null==e?null:e.removeTooltipArrow)("tooltipAutoPosition",null==e?null:e.tooltipAutoPosition),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("name",e.key)("formControlName",e.key)("start",e.startDate)("end",e.endDate)("placeholder",e.placeholder)("military",e.military)("weekStart",e.weekStart),r["\u0275\u0275attribute"]("id",e.key)}}function Ql(e,t){if(1&e){const e=r["\u0275\u0275getCurrentView"]();r["\u0275\u0275elementStart"](0,"div",32),r["\u0275\u0275elementStart"](1,"novo-address",55),r["\u0275\u0275listener"]("change",(function(n){return r["\u0275\u0275restoreView"](e),t.methods.handleAddressChange(n)}))("focus",(function(n){return r["\u0275\u0275restoreView"](e),t.methods.handleFocus(n.event,n.field)}))("blur",(function(n){return r["\u0275\u0275restoreView"](e),t.methods.handleBlur(n.event,n.field)}))("validityChange",(function(){return t.methods.updateValidity()})),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"]()}if(2&e){const e=t.$implicit;r["\u0275\u0275property"]("formGroup",t.form),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("formControlName",e.key)("config",null==e?null:e.config)("readOnly",null==e?null:e.readOnly)}}function Xl(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"div",32),r["\u0275\u0275element"](1,"novo-checkbox",56),r["\u0275\u0275elementEnd"]()),2&e){const e=t.$implicit;r["\u0275\u0275property"]("formGroup",t.form),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("formControlName",null==e?null:e.key)("name",null==e?null:e.key)("label",null==e?null:e.checkboxLabel)("tooltip",null==e?null:e.tooltip)("tooltipPosition",null==e?null:e.tooltipPosition)("tooltipSize",null==e?null:e.tooltipSize)("tooltipPreline",null==e?null:e.tooltipPreline)("removeTooltipArrow",null==e?null:e.removeTooltipArrow)("tooltipAutoPosition",null==e?null:e.tooltipAutoPosition)("layoutOptions",null==e?null:e.layoutOptions)}}function eu(e,t){if(1&e){const e=r["\u0275\u0275getCurrentView"]();r["\u0275\u0275elementStart"](0,"div",32),r["\u0275\u0275elementStart"](1,"novo-check-list",57),r["\u0275\u0275listener"]("onSelect",(function(n){return r["\u0275\u0275restoreView"](e),t.methods.modelChange(n)})),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"]()}if(2&e){const e=t.$implicit;r["\u0275\u0275property"]("formGroup",t.form),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("formControlName",e.key)("name",e.key)("options",null==e?null:e.options)("tooltip",null==e?null:e.tooltip)("tooltipPosition",null==e?null:e.tooltipPosition)("tooltipSize",null==e?null:e.tooltipSize)("tooltipPreline",null==e?null:e.tooltipPreline)("removeTooltipArrow",null==e?null:e.removeTooltipArrow)("tooltipAutoPosition",null==e?null:e.tooltipAutoPosition)}}function tu(e,t){if(1&e){const e=r["\u0275\u0275getCurrentView"]();r["\u0275\u0275elementStart"](0,"div",32),r["\u0275\u0275elementStart"](1,"novo-quick-note",58),r["\u0275\u0275listener"]("change",(function(n){return r["\u0275\u0275restoreView"](e),t.methods.modelChange(n)})),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"]()}if(2&e){const e=t.$implicit;r["\u0275\u0275property"]("formGroup",t.form),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("formControlName",e.key)("startupFocus",null==e?null:e.startupFocus)("placeholder",null==e?null:e.placeholder)("config",null==e?null:e.config)("tooltip",null==e?null:e.tooltip)("tooltipPosition",null==e?null:e.tooltipPosition)("tooltipSize",null==e?null:e.tooltipSize)("removeTooltipArrow",null==e?null:e.removeTooltipArrow)("tooltipAutoPosition",null==e?null:e.tooltipAutoPosition)("tooltipPreline",null==e?null:e.tooltipPreline)}}function nu(e,t){1&e&&(r["\u0275\u0275elementStart"](0,"header"),r["\u0275\u0275projection"](1,1),r["\u0275\u0275projection"](2,2),r["\u0275\u0275elementEnd"]())}const ru=["*",[["form-title"]],[["form-subtitle"]]],ou=["*","form-title","form-subtitle"],iu=function(e,t,n){return{unchecked:e,checked:t,"has-icon":n}};function au(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"button",4),r["\u0275\u0275text"](1),r["\u0275\u0275elementEnd"]()),2&e){const e=r["\u0275\u0275nextContext"]();r["\u0275\u0275property"]("ngClass",r["\u0275\u0275pureFunction3"](4,iu,!e.checked,e.checked,!!e.icon))("theme",e.theme)("icon",e.icon),r["\u0275\u0275advance"](1),r["\u0275\u0275textInterpolate"](e.label)}}const su=function(e,t){return{"bhi-radio-empty":e,"bhi-radio-filled":t}};function cu(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"div"),r["\u0275\u0275element"](1,"i",5),r["\u0275\u0275text"](2),r["\u0275\u0275projection"](3),r["\u0275\u0275elementEnd"]()),2&e){const e=r["\u0275\u0275nextContext"]();r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngClass",r["\u0275\u0275pureFunction2"](2,su,!e.checked,e.checked)),r["\u0275\u0275advance"](1),r["\u0275\u0275textInterpolate1"](" ",e.label," ")}}function lu(e,t){1&e&&r["\u0275\u0275element"](0,"novo-loading",4)}function uu(e,t){if(1&e){const e=r["\u0275\u0275getCurrentView"]();r["\u0275\u0275elementStart"](0,"novo-list-item",6),r["\u0275\u0275listener"]("click",(function(t){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"](2).selectMatch(t)}))("mouseenter",(function(){r["\u0275\u0275restoreView"](e);
2303const n=t.$implicit;return r["\u0275\u0275nextContext"](2).selectActive(n)})),r["\u0275\u0275elementStart"](1,"item-content"),r["\u0275\u0275element"](2,"p",7),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"]()}if(2&e){const e=t.$implicit,n=r["\u0275\u0275nextContext"](2);r["\u0275\u0275classProp"]("active",e===n.activeMatch),r["\u0275\u0275advance"](2),r["\u0275\u0275property"]("innerHtml",n.highlight(e.label,n.term),r["\u0275\u0275sanitizeHtml"])}}function du(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"novo-list"),r["\u0275\u0275template"](1,uu,3,3,"novo-list-item",5),r["\u0275\u0275elementEnd"]()),2&e){const e=r["\u0275\u0275nextContext"]();r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngForOf",e.matches)}}function hu(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"p",8),r["\u0275\u0275text"](1),r["\u0275\u0275elementEnd"]()),2&e){const e=r["\u0275\u0275nextContext"]();r["\u0275\u0275advance"](1),r["\u0275\u0275textInterpolate"](e.labels.quickNoteError)}}function mu(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"p",9),r["\u0275\u0275text"](1),r["\u0275\u0275elementEnd"]()),2&e){const e=r["\u0275\u0275nextContext"]();r["\u0275\u0275advance"](1),r["\u0275\u0275textInterpolate"](e.labels.quickNoteEmpty)}}const pu=["wrapper"];function fu(e,t){if(1&e&&r["\u0275\u0275element"](0,"i",5),2&e){const e=r["\u0275\u0275nextContext"](2);r["\u0275\u0275property"]("ngClass",e.icon)}}function gu(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"small"),r["\u0275\u0275text"](1),r["\u0275\u0275elementEnd"]()),2&e){const e=r["\u0275\u0275nextContext"](2);r["\u0275\u0275advance"](1),r["\u0275\u0275textInterpolate"](e.subTitle)}}function yu(e,t){if(1&e&&(r["\u0275\u0275elementContainerStart"](0),r["\u0275\u0275template"](1,fu,1,1,"i",3),r["\u0275\u0275elementStart"](2,"div",4),r["\u0275\u0275elementStart"](3,"h1"),r["\u0275\u0275text"](4),r["\u0275\u0275elementEnd"](),r["\u0275\u0275template"](5,gu,2,1,"small",1),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementContainerEnd"]()),2&e){const e=r["\u0275\u0275nextContext"]();r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",e.icon),r["\u0275\u0275advance"](3),r["\u0275\u0275textInterpolate"](e.title),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",e.subTitle)}}function vu(e,t){1&e&&(r["\u0275\u0275elementContainerStart"](0),r["\u0275\u0275projection"](1,4),r["\u0275\u0275elementStart"](2,"div",4),r["\u0275\u0275projection"](3,5),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementContainerEnd"]())}const bu=[[["section"]],[["utils"]],[["novo-action"]],"*",[["novo-icon"],["","novo-icon",""]],[["h1"],["h2"],["h3"],["h4"],["h5"],["h6"],["small"],["","novo-title",""],["","novo-subtitle",""]]],Cu=["section","utils","novo-action","*","novo-icon, [novo-icon]","h1, h2, h3, h4, h5, h6, small, [novo-title], [novo-subtitle]"];function wu(e,t){if(1&e&&r["\u0275\u0275element"](0,"i"),2&e){const e=r["\u0275\u0275nextContext"](2);r["\u0275\u0275classMapInterpolate1"]("bhi-",e.icon,""),r["\u0275\u0275attribute"]("data-automation-id","novo-tip-well-icon-"+e.name)}}function Su(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"p"),r["\u0275\u0275text"](1),r["\u0275\u0275elementEnd"]()),2&e){const e=r["\u0275\u0275nextContext"](2);r["\u0275\u0275attribute"]("data-automation-id","novo-tip-well-tip-"+e.name),r["\u0275\u0275advance"](1),r["\u0275\u0275textInterpolate"](e.tip)}}function _u(e,t){if(1&e&&r["\u0275\u0275element"](0,"p",4),2&e){const e=r["\u0275\u0275nextContext"](2);r["\u0275\u0275property"]("innerHTML",e.tipWithStyles,r["\u0275\u0275sanitizeHtml"]),r["\u0275\u0275attribute"]("data-automation-id","novo-tip-well-tip-"+e.name)}}function Eu(e,t){if(1&e){const e=r["\u0275\u0275getCurrentView"]();r["\u0275\u0275elementStart"](0,"button",5),r["\u0275\u0275listener"]("click",(function(){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"](2).hideTip()})),r["\u0275\u0275text"](1),r["\u0275\u0275elementEnd"]()}if(2&e){const e=r["\u0275\u0275nextContext"](2);r["\u0275\u0275attribute"]("data-automation-id","novo-tip-well-button-"+e.name),r["\u0275\u0275advance"](1),r["\u0275\u0275textInterpolate1"](" ",e.buttonText," ")}}function ku(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"div"),r["\u0275\u0275elementStart"](1,"div"),r["\u0275\u0275template"](2,wu,1,4,"i",1),r["\u0275\u0275template"](3,Su,2,2,"p",0),r["\u0275\u0275template"](4,_u,1,2,"p",2),r["\u0275\u0275elementEnd"](),r["\u0275\u0275template"](5,Eu,2,2,"button",3),r["\u0275\u0275elementEnd"]()),2&e){const e=r["\u0275\u0275nextContext"]();r["\u0275\u0275advance"](2),r["\u0275\u0275property"]("ngIf",e.icon),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",e.sanitize),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",!e.sanitize),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",e.button)}}let xu=(()=>{class e{constructor(){this.side="right"}set icon(e){e&&(this._icon="bhi-"+e)}get icon(){return this._icon}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=r["\u0275\u0275defineComponent"]({type:e,selectors:[["button","theme",""]],hostVars:5,hostBindings:function(e,t){2&e&&r["\u0275\u0275attribute"]("theme",t.theme)("color",t.color)("icon",t.icon)("loading",t.loading)("side",t.side)},inputs:{side:"side",icon:"icon",color:"color",theme:"theme",loading:"loading"},attrs:aa,ngContentSelectors:ua,decls:5,vars:3,consts:[[1,"flex-wrapper"],[3,"ngClass",4,"ngIf"],["class","loading",4,"ngIf"],[3,"ngClass"],[1,"loading"],["ver
2303sion","1.1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink",0,"xmlns","a","http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/","x","0px","y","0px","width","18.2px","height","18.5px","viewBox","0 0 18.2 18.5",0,"xml","space","preserve",2,"enable-background","new 0 0 18.2 18.5"],["type","text/css"],["d","M9.2,18.5C4.1,18.5,0,14.4,0,9.2S4.1,0,9.2,0c0.9,0,1.9,0.1,2.7,0.4c0.8,0.2,1.2,1.1,1,1.9\n                        c-0.2,0.8-1.1,1.2-1.9,1C10.5,3.1,9.9,3,9.2,3C5.8,3,3,5.8,3,9.2s2.8,6.2,6.2,6.2c2.8,0,5.3-1.9,6-4.7c0.2-0.8,1-1.3,1.8-1.1\n                        c0.8,0.2,1.3,1,1.1,1.8C17.1,15.7,13.4,18.5,9.2,18.5z",1,"spinner"]],template:function(e,t){1&e&&(r["\u0275\u0275projectionDef"](),r["\u0275\u0275elementStart"](0,"div",0),r["\u0275\u0275template"](1,sa,1,1,"i",1),r["\u0275\u0275projection"](2),r["\u0275\u0275template"](3,ca,1,1,"i",1),r["\u0275\u0275template"](4,la,5,0,"i",2),r["\u0275\u0275elementEnd"]()),2&e&&(r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",t.icon&&"left"===t.side&&!t.loading),r["\u0275\u0275advance"](2),r["\u0275\u0275property"]("ngIf",t.icon&&"right"===t.side&&!t.loading),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",t.loading))},directives:[i.m,i.k],encapsulation:2,changeDetection:0}),e})(),Iu=(()=>{class e{}return e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},imports:[[i.c]]}),e})(),Ou=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=r["\u0275\u0275defineComponent"]({type:e,selectors:[["novo-tooltip"]],decls:2,vars:2,consts:[[3,"ngClass","innerHTML",4,"ngIf"],[3,"ngClass",4,"ngIf"],[3,"ngClass","innerHTML"],[3,"ngClass"]],template:function(e,t){1&e&&(r["\u0275\u0275template"](0,ha,1,9,"div",0),r["\u0275\u0275template"](1,ma,2,9,"div",1)),2&e&&(r["\u0275\u0275property"]("ngIf",t.isHTML),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",!t.isHTML))},directives:[i.m,i.k],encapsulation:2,data:{animation:[Ni("state",[Li("initial, void, hidden",Fi({opacity:"0"})),Li("visible",Fi({opacity:"1"})),Vi("* => visible",[Fi({opacity:0,visibility:"visible"}),ji("0.3s ease-in")]),Vi("* => hidden",[Fi({opacity:1,visibility:"hidden"}),ji("0.3s ease-in")])])]}}),e})(),Tu=(()=>{class e{constructor(e,t,n){this.overlay=e,this.viewContainerRef=t,this.elementRef=n,this.position="top",this.type="normal",this.active=!0,this.removeArrow=!1,this.autoPosition=!1}isPosition(e){return e.toLowerCase()===(this.position||"").toLowerCase()}isType(e){return e.toLowerCase()===(this.type||"").toLowerCase()}isSize(e){return e.toLowerCase()===(this.size||"").toLowerCase()}onMouseEnter(){this.tooltip&&this.active&&!this.always&&this.show()}onMouseLeave(){this.overlayRef&&!this.always&&(this.hide(),this.overlayRef.dispose())}ngOnInit(){this.tooltip&&this.always&&this.active&&this.show()}ngOnDestroy(){this.overlayRef&&!this.always&&(this.hide(),this.overlayRef.dispose())}show(){const e=new fi;e.positionStrategy=this.getPosition(),e.scrollStrategy=this.always?this.overlay.scrollStrategies.reposition():this.overlay.scrollStrategies.close(),e.scrollStrategy.enable(),this.overlayRef=this.overlay.create(e),this.overlayRef.detach(),this.portal=this.portal||new ni(Ou,this.viewContainerRef);const t=this.overlayRef.attach(this.portal).instance;
2303t.message=this.tooltip,t.tooltipType=this.type,t.rounded=this.rounded,t.size=this.size,t.preline=this.preline,t.noAnimate=this.noAnimate,t.position=this.removeArrow?"no-arrow":this.position,t.isHTML=this.isHTML}hide(){this.overlayRef&&this.overlayRef.detach()}getPosition(){let e,t,n,r,o;switch(this.position){case"right":t={originX:"end",originY:"center"},n={overlayX:"start",overlayY:"center"},r=8,o=0;break;case"bottom":t={originX:"center",originY:"bottom"},n={overlayX:"center",overlayY:"top"},r=0,o=8;break;case"top":t={originX:"center",originY:"top"},n={overlayX:"center",overlayY:"bottom"},r=0,o=-8;break;case"left":t={originX:"start",originY:"center"},n={overlayX:"end",overlayY:"center"},r=-8,o=0;break;case"top-left":t={originX:"start",originY:"top"},n={overlayX:"end",overlayY:"bottom"},r=8,o=-8;break;case"bottom-left":t={originX:"start",originY:"bottom"},n={overlayX:"end",overlayY:"top"},r=8,o=8;break;case"top-right":t={originX:"end",originY:"top"},n={overlayX:"start",overlayY:"bottom"},r=-8,o=-8;break;case"bottom-right":t={originX:"end",originY:"bottom"},n={overlayX:"start",overlayY:"top"},r=-8,o=8}return e=this.overlay.position().connectedTo(this.elementRef,t,n).withOffsetX(r).withOffsetY(o),this.autoPosition?this.withFallbackStrategy(e):e}withFallbackStrategy(e){return e.withFallbackPosition({originX:"center",originY:"bottom"},{overlayX:"center",overlayY:"top"},0,8).withFallbackPosition({originX:"end",originY:"bottom"},{overlayX:"end",overlayY:"top"},0,8).withFallbackPosition({originX:"end",originY:"center"},{overlayX:"start",overlayY:"center"},8,0).withFallbackPosition({originX:"start",originY:"center"},{overlayX:"end",overlayY:"center"},-8,0).withFallbackPosition({originX:"center",originY:"top"},{overlayX:"center",overlayY:"bottom"},0,-8).withFallbackPosition({originX:"start",originY:"bottom"},{overlayX:"start",overlayY:"top"},0,8).withFallbackPosition({originX:"start",originY:"top"},{overlayX:"start",overlayY:"bottom"},0,-8).withFallbackPosition({originX:"end",originY:"top"},{overlayX:"end",overlayY:"bottom"},0,-8).withFallbackPosition({originX:"start",originY:"top"},{overlayX:"end",overlayY:"bottom"},8,-8).withFallbackPosition({originX:"start",originY:"bottom"},{overlayX:"end",overlayY:"top"},8,8).withFallbackPosition({originX:"end",originY:"top"},{overlayX:"start",overlayY:"bottom"},-8,-8).withFallbackPosition({originX:"end",originY:"bottom"},{overlayX:"start",overlayY:"top"},-8,8),e}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](Di),r["\u0275\u0275directiveInject"](r.ViewContainerRef),r["\u0275\u0275directiveInject"](r.ElementRef))},e.\u0275dir=r["\u0275\u0275defineDirective"]({type:e,selectors:[["","tooltip",""]],hostVars:1,hostBindings:function(e,t){1&e&&r["\u0275\u0275listener"]("mouseenter",(function(){return t.onMouseEnter()}))("mouseleave",(function(){return t.onMouseLeave()})),2&e&&r["\u0275\u0275attribute"]("data-hint",t.tooltip)},inputs:{position:["tooltipPosition","position"],type:["tooltipType","type"],active:["tooltipActive","active"],removeArrow:["removeTooltipArrow","removeArrow"],autoPosition:["tooltipAutoPosition","autoPosition"],tooltip:"tooltip",size:["tooltipSize","size"],bounce:["tooltipBounce","bounce"],noAnimate:["tooltipNoAnimate","noAnimate"],rounded:["tooltipRounded","rounded"],always:["tooltipAlways","always"],preline:["tooltipPreline","preline"],isHTML:["tooltipIsHTML","isHTML"]}}),e})(),Au=(()=>{class e{}return e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},imports:[[i.c]]}),e})();class Pu{static swallowEvent(e){e&&(e.stopPropagation(),e.preventDefault())}static interpolate(e,t){return this.isDate(t)&&(t=this.dateToObject(t)),e.replace(/\$([\w\.]+)/g,(e,n)=>{const r=n.split(".");let o=t[r.shift()];for(;r.length&&void 0!==o;){const e=r.shift();o=e?o[e]:o+"."}return void 0!==o?o:""})}static interpolateWithFallback(e,t){if(Array.isArray(e)){const n=[],r=[];return e.forEach(e=>{let o=!0;const i=e.replace(/\$([\w\.]+)/g,(e,n)=>{const r=n.split(".");let i=t[r.shift()];for(;r.length&&void 0!==i;){const e=r.shift();i=e?i[e]:i+"."}return o&&Pu.isEmpty(i)&&(o=!1),Pu.isEmpty(i)?"":i});o?n.push(i):r.push(i)}),0!==n.length?n[0]:""}return Pu.interpolate(e,t)}static validateInterpolationProps(e,t){return e.match(/\$([\w\.]+)/g).every(e=>t.hasOwnProperty(e.substr(1)))}static isObject(e){return e&&"object"==typeof e&&!Array.isArray(e)&&null!==e}static isString(e){return"string"==typeof e}static escapeString(e){return Pu.isString(e)?e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"):e}static isNumber(e,t=!1){return"string"==typeof e?e.length>0&&"."!==e&&(t?/^-{0,1}\d*\.?\d*$/:/^\d*\.?\d*$/).test(e):!isNaN(parseFloat(e))}static isBlank(e){return null==e}static isEmpty(e){return Pu.isBlank(e)||""===e||Array.isArray(e)&&0===e.length}static isFunction(e){return!!(e&&e.constructor&&e.call&&e.apply)}static isDate(e){return e instanceof Date}static convertToArray(e){return void 0===e?[]:Array.isArray(e)?e:[e]}static sortByField(e,t=!1){return(n,r)=>{if(Pu.isFunction(e))return e(t?"desc":"asc",n,r);Array.isArray(e)||(e=[e]);for(let o=0;o<e.length;o++){const i=e[o];let a=n[i]||"",s=r[i]||"";if(Pu.isDate(a)&&Pu.isDate(s)?(a=a.getTime(),s=s.getTime()):Pu.isString(a)&&Pu.isString(s)?(a=a.toLowerCase(),s=s.toLowerCase()):(a=isNaN(Number(a))?a:Number(a),s=isNaN(Number(s))?s:Number(s)),a>s)return t?-1:1;if(a<s)return t?1:-1}return 0}}static filterByField(e,t){return n=>{const r=[];let o=(i=n,new Du(i)).have(e);var i;if(t instanceof Function)r.push(t(o,n));else if(Array.isArray(t))r.push(t.includes(o));else if(t instanceof Object){o instanceof Date&&(o=o.getTime()),t.min&&r.push(o>=t.min),t.max&&r.push(o<=t.max),t.any&&Array.isArray(t.any)&&(Array.isArray(o)?r.push(t.any.some(e=>o.includes(e))):r.push(t.any.includes(o))),t.all&&Array.isArray(t.all)&&r.push(t.all.every(e=>o.includes(e))),t.not&&r.push(!Pu.filterByField(e,t.not)(n));for(const o in t)["min","max","any","all","not"].indexOf(o)<0&&r.push(Pu.filterByField(`${e}.${o}`,t[o])(n))}else r.push(JSON.stringify(o).match(new RegExp(t,"gi")));return r.every(e=>e)}}
2303static findAncestor(e,t){for(;(e=e.parentElement)&&!e.matches.call(e,t););return e}static deepClone(e){if(Array.isArray(e)){const t=[];for(let n=e.length;n-- >0;)t[n]=Pu.deepClone(e[n]);return t}if("function"==typeof e&&!/\(\) \{ \[native/.test(e.toString())&&!e.toString().startsWith("class")){let t;for(const n in e)n in e&&(t[n]=Pu.deepClone(e[n]));return t}if(e&&"object"==typeof e){const t={};for(const n in e)n in e&&(t[n]=Pu.deepClone(e[n]));return t}return e}static deepAssign(...e){if(e.length<2)throw new Error("Need two or more objects to merge");const t=Object.assign({},e[0]);for(let n=1;n<e.length;n++){const r=Object.assign({},e[n]);Object.keys(r).forEach(e=>{const n=r[e];if(Pu.isObject(n))t[e]=t.hasOwnProperty(e)&&Pu.isObject(t[e])?Pu.deepAssign(t[e],n):n;else if(Array.isArray(n))if(t.hasOwnProperty(e)&&Array.isArray(t[e])){const r=t[e];n.forEach((e,t)=>{if(t<r.length){const n=r[t];if(Object.is(n,e))return;r[t]=Pu.isObject(n)&&Pu.isObject(e)||Array.isArray(n)&&Array.isArray(e)?Pu.deepAssign(n,e):e}else r.push(e)})}else t[e]=n;else t[e]=n})}return t}static getNextElementSibling(e){if(e.nextElementSibling)return e.nextElementSibling;{let t=e.nextSibling;for(;t&&1!==t.nodeType;)t=t.nextSibling;return t}}static dateToObject(e){const t={day:"",dayPeriod:"",era:"",hour:"",minute:"",month:"",second:"",weekday:"",year:""};return Intl.DateTimeFormat("en-US",{day:"numeric",era:"short",hour:"numeric",minute:"numeric",month:"numeric",second:"numeric",weekday:"long",year:"numeric"}).formatToParts(e).forEach(e=>{"literal"!==e.type&&(t[e.type]=e.value)}),t}}class Du{constructor(e){this.obj=e}have(e){const t=e.split(".");let n=this.obj;for(let r=0;r<t.length;r++)if(n=n[t[r]],!1===this.check(n))return n;return n}check(e){return void 0!==e}}let Ru=(()=>{class e{transform(e){let t="";return Pu.isBlank(e)||"string"!=typeof e||(t=decodeURIComponent(e)),t}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=r["\u0275\u0275definePipe"]({name:"decodeURI",type:e,pure:!0}),e.\u0275prov=r["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})(),Mu=(()=>{class e{}return e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)}}),e})(),Nu=(()=>{class e{}return e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},imports:[[i.c,Iu,Au,Mu]]}),e})(),ju=(()=>{class e{constructor(e="en-US"){this.userLocale=e,this.filters="Filter",this.clear="Clear",this.sort="Sort",this.distributionListOwner="Owner",this.dateAdded="Date Added",this.emptyTableMessage="No Records to display...",this.noMatchingRecordsMessage="No Matching Records",this.erroredTableMessage="Oops! An error occurred.",this.pickerError="Oops! An error occurred.",this.pickerTextFieldEmpty="Begin typing to see results.",this.pickerEmpty="No results to display...",this.tabbedGroupPickerEmpty="No results found",this.quickNoteError="Oops! An error occurred.",this.quickNoteEmpty="No results to display...",this.required="Required",this.numberTooLarge="Number is too large",this.save="Save",this.cancel="Cancel",this.next="Next",this.itemsPerPage="Items per page:",this.select="Select...",this.selected="Selected",this.selectAllOnPage="Select all on page",this.deselectAll="Deselect all",this.refresh="Refresh",this.close="Close",this.move="Move",this.startDate="Start Date",this.endDate="End Date",this.rate="Rate",this.more="more",this.clearAll="CLEAR ALL",this.clearAllNormalCase="Clear All",this.clearSort="Clear Sort",this.clearFilter="Clear Filter",this.clearSelected="Clear Selected",this.today="Today",this.now="Now",this.isRequired="is required",this.notValidYear="is not a valid year",this.isTooLarge="is too large",this.invalidAddress="requires at least one field filled out",this.invalidEmail="requires a valid email (ex. [email protected])",this.minLength="is required to be a minimum length of",this.past1D
2303ay="Past 1 Day",this.past7Days="Past 7 Days",this.past30Days="Past 30 Days",this.past90Days="Past 90 Days",this.past1Year="Past 1 Year",this.next1Day="Next 1 Day",this.next7Days="Next 7 Days",this.next30Days="Next 30 Days",this.next90Days="Next 90 Days",this.next1Year="Next 1 Year",this.customDateRange="Custom Date Range",this.backToPresetFilters="Back to Preset Filters",this.okGotIt="Ok, Got it",this.address="Address",this.address1="Address",this.apt="Apt",this.address2="Apt",this.city="City / Locality",this.state="State / Region",this.zip="Postal Code",this.zipCode="Postal Code",this.country="Country",this.or="or",this.clickToBrowse="click to browse",this.chooseAFile="Choose a file",this.no="No",this.yes="Yes",this.search="SEARCH",this.noItems="There are no items",this.dateFormat="MM/dd/yyyy",this.dateFormatPlaceholder="MM/DD/YYYY",this.timeFormatPlaceholderAM="hh:mm AM",this.timeFormatPlaceholder24Hour="HH:mm",this.timeFormatAM="AM",this.timeFormatPM="PM",this.confirmChangesModalMessage="Are you sure you want to change this field?",this.promptModalMessage="Do you want to perform the following changes?",this.asyncFailure="Async validation was not called within the 10s threshold, you might want to reload the page to try again",this.previous="Previous",this.actions="Actions",this.all="All",this.groupedMultiPickerEmpty="No items to display",this.groupedMultiPickerSelectCategory="Select a category from the left to get started",this.add="Add",this.encryptedFieldTooltip="This data has been stored at the highest level of security",this.noStatesForCountry="No states available for the selected country",this.selectCountryFirst="Please select a country before selecting a state",this.invalidIntegerInput="Special characters are not allowed for",this.maxRecordsReached="Sorry, you have reached the maximum number of records allowed for this field",this.selectFilterOptions="Please select one or more filter options below."}maxlengthMetWithField(e,t){return`Sorry, you have reached the maximum character count of ${t} for ${e}.`}maxlengthMet(e){return`Sorry, you have reached the maximum character count of ${e} for this field.`}invalidMaxlengthWithField(e,t){return`Sorry, you have exceeded the maximum character count of ${t} for ${e}.`}invalidMaxlength(e){return`Sorry, you have exceeded the maximum character count of ${e} for this field.`}getToManyPlusMore(e){return`+${e.quantity} more`}selectedRecords(e){return e+" records are selected."}showingXofXResults(e,t){return`Showing ${e} of ${t} Results.`}totalRecords(e,t=!1){return t?`Select all ${e} records.`:`De-select remaining ${e} records.`}dateFormatString(){return this.dateFormat}tabbedGroupClearSuggestion(e){return`Clear your search to see all ${e}.`}formatDateWithFormat(e,t){const n=e instanceof Date?e:new Date(e);return n.getTime()!=n.getTime()?e:new Intl.DateTimeFormat(this.userLocale,t).format(n)}formatToTimeOnly(e){}formatToDateOnly(e){}formatTimeWithFormat(e,t){const n=e instanceof Date?e:new Date(e);if(n.getTime()!=n.getTime())return e;const r=Intl.DateTimeFormat(this.userLocale,t).formatToParts(n).reduce((e,t)=>(e[t.type]=t.value,e),{});return`${r.hour}:${r.minute}${r.dayperiod?r.dayperiod:""}`}getWeekdays(){function e(e){const t=new Date;return t.setDate(t.getDate()-t.getDay()+e)}return[e(0),e(1),e(2),e(3),e(4),e(5),e(6)].reduce((e,t)=>(e.push(new Intl.DateTimeFormat(this.userLocale,{weekday:"long"}).format(t)),e),[])}getMonths(){function e(e){return(new Date).setMonth(e,1)}return[e(0),e(1),e(2),e(3),e(4),e(5),e(6),e(7),e(8),e(9),e(10),e(11)].reduce((e,t)=>(e.push(new Intl.DateTimeFormat(this.userLocale,{month:"long"}).format(t)),e),[])}getProperty(e){return this[e]}getRangeText(e,t,n,r){if(0===n||0===t)return"Displaying 0 of "+n;const o=e*t,i=o<(n=Math.max(n,0))?Math.min(o+t,n):o+t;return r?`${o+1} - ${i}/${n}`:`Displaying ${o+1} - ${i} of ${n}`}formatCurrency(e){return new Intl.NumberFormat(this.userLocale,{style:"currency",currency:"USD"}).format(e)}formatBigDecimal(e,t){const n=Object.assign({style:"decimal",minimumFractionDigits:2,maximumFractionDigits:2,useAccountingFormat:!0},t),r=this.truncateToPrecision(e,n.maximumFractionDigits);let o=new Intl.NumberFormat(this.userLocale,n).format(r);return e<0&&(o=n.useAccountingFormat?`(${o.slice(1)})`:"-"+o.slice(1)),o}truncateToPrecision(e,t){let n=e?e.toString():"0";const r=n.indexOf(".");return r>-1&&r+t+1<n.length&&(n=n.substring(0,n.indexOf(".")+t+1)),Number(n)}formatNumber(e,t){return new Intl.NumberFormat(this.userLocale,t).format(e)}formatDateShort(e){const t=null==e||""===e?new Date:new Date(e);return new Intl.DateTimeFormat(this.userLocale,{month:"2-digit",day:"2-digit",year:"numeric",hour:"numeric",minute:"2-digit"}).format(t)}formatTime(e){const t=null==e||""===e?new Date:new Date(e);return new Intl.DateTimeFormat(this.userLocale,{hour:"numeric",minute:"2-digit"}).format(t)}formatDate(e){const t=null==e||""===e?new Date:new Date(e);return new Intl.DateTimeFormat(this.userLocale,{month:"2-digit",day:"2-digit",year:"numeric"}).format(t)}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275inject"](r.LOCALE_ID,8))},e.\u0275prov=r["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})(),Fu=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=r["\u0275\u0275defineComponent"]({type:e,selectors:[["novo-loading"]],hostVars:2,hostBindings:function(e,t){2&e&&r["\u0275\u0275classMap"](t.theme||"")},inputs:{theme:"theme"},decls:5,vars:0,consts:[[1,"dot"]],template:function(e,t){1&e&&(r["\u0275\u0275element"](0,"span",0),r["\u0275\u0275element"](1,"span",0),r["\u0275\u0275element"](2,"span",0),r["\u0275\u0275element"](3,"span",0),r["\u0275\u0275element"](4,"span",0))},encapsulation:2}),e})(),Lu=(()=>{class e{}return e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},imports:[[i.c]]}),e})(),Vu=(()=>{class e{}return e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},imports:[[i.c,Iu,Lu,Au]]}),e})(),Bu=(()=>{class e{constructor(e){this.active=!1,this.onActiveChange=new r.EventEmitter,this.element=e,this.onOutsideClick=this.handleOutsideClick.bind(this)}ngOnDestroy(){window.removeEventListener("click",this.onOutsideClick)}toggleActive(e,t){this.active=Pu.isBlank(t)?!this.active:t,this.active?window.addEventListener("click",this.onOutsideClick):window.removeEventListener("click",this.onOutsideClick),this.onActiveChange.emit(this.active)}handleOutsideClick(e){let t=!this.element.nativeElement.contains(e.target);this.otherElement&&t&&(t=!this.otherElement.nativeElement.contains(e.target)),t&&this.toggleActive(e,!1)}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275inject"](r.ElementRef))},e.\u0275prov=r["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})();const Uu={BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,RETURN:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,HASH_SYMBOL:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,AT_SYMBOL:64,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_
2303SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,DASH:189,PERIOD:190,FORWARD_SLASH:191};let Hu=(()=>{class e{}return e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},imports:[[i.c]]}),e})(),Gu=(()=>{class e{constructor(e){this.element=e}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](r.ElementRef))},e.\u0275cmp=r["\u0275\u0275defineComponent"]({type:e,selectors:[["novo-list"]],hostVars:5,hostBindings:function(e,t){2&e&&(r["\u0275\u0275attribute"]("theme",t.theme),r["\u0275\u0275classProp"]("vertical-list","vertical"===t.direction)("horizontal-list","horizontal"===t.direction))},inputs:{theme:"theme",direction:"direction"},ngContentSelectors:ua,decls:1,vars:0,template:function(e,t){1&e&&(r["\u0275\u0275projectionDef"](),r["\u0275\u0275projection"](0))},encapsulation:2}),e})(),qu=(()=>{class e{constructor(e){this.element=e,this.avatar=!1}ngOnInit(){this.avatar=!!this.element.nativeElement.querySelector("item-avatar")}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](r.ElementRef))},e.\u0275cmp=r["\u0275\u0275defineComponent"]({type:e,selectors:[["novo-list-item"]],ngContentSelectors:ga,decls:5,vars:3,consts:[[1,"list-item",3,"ngClass"]],template:function(e,t){1&e&&(r["\u0275\u0275projectionDef"](pa),r["\u0275\u0275elementStart"](0,"div",0),r["\u0275\u0275projection"](1),r["\u0275\u0275projection"](2,1),r["\u0275\u0275elementEnd"](),r["\u0275\u0275projection"](3,2),r["\u0275\u0275projection"](4,3)),2&e&&r["\u0275\u0275property"]("ngClass",r["\u0275\u0275pureFunction1"](1,fa,t.avatar))},directives:[i.k],encapsulation:2}),e})(),Ku=(()=>{class e{ngOnChanges(e){this.iconClass=this.icon?"bhi-"+this.icon:null,this.classMap=[this.iconClass,this.icon]}ngOnInit(){this.ngOnChanges()}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=r["\u0275\u0275defineComponent"]({type:e,selectors:[["item-avatar"]],inputs:{icon:"icon"},features:[r["\u0275\u0275NgOnChangesFeature"]],decls:1,vars:1,consts:[["theme","contained",3,"ngClass",4,"ngIf"],["theme","contained",3,"ngClass"]],template:function(e,t){1&e&&r["\u0275\u0275template"](0,ya,1,1,"i",0),2&e&&r["\u0275\u0275property"]("ngIf",t.iconClass)},directives:[i.m,i.k],encapsulation:2}),e})(),zu=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=r["\u0275\u0275defineComponent"]({type:e,selectors:[["item-title"]],ngContentSelectors:ua,decls:2,vars:0,template:function(e,t){1&e&&(r["\u0275\u0275projectionDef"](),r["\u0275\u0275elementStart"](0,"h6"),r["\u0275\u0275projection"](1),r["\u0275\u0275elementEnd"]())},encapsulation:2}),e})(),Yu=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=r["\u0275\u0275defineComponent"]({type:e,selectors:[["item-header"]],ngContentSelectors:ba,decls:3,vars:0,template:function(e,t){1&e&&(r["\u0275\u0275projectionDef"](va),r["\u0275\u0275projection"](0),r["\u0275\u0275projection"](1,1),r["\u0275\u0275projection"](2,2))},encapsulation:2}),e})(),$u=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=r["\u0275\u0275defineComponent"]({type:e,selectors:[["item-header-end"]],ngContentSelectors:ua,decls:1,vars:0,template:function(e,t){1&e&&(r["\u0275\u0275projectionDef"](),r["\u0275\u0275projection"](0))},encapsulation:2}),e})(),Wu=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=r["\u0275\u0275defineComponent"]({type:e,selectors:[["item-content"]],hostVars:4,hostBindings:function(e,t){2&e&&r["\u0275\u0275classProp"]("vertical-list","vertical"===t.direction)("horizontal-list","horizontal"===t.direction)},inputs:{direction:"direction"},ngContentSelectors:ua,decls:1,vars:0,template:function(e,t){1&e&&(r["\u0275\u0275projectionDef"](),r["\u0275\u0275projection"](0))},encapsulation:2}),e})(),Zu=(()=>{class e{}return e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},imports:[[i.c]]}),e})(),Ju=(()=>{class e{}return e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},imports:[[i.c,Hu,Zu]]}),e})(),Qu=(()=>{class e{constructor(e){this.componentFactoryResolver=e}
2303append(e,t,n,o){const i=this.componentFactoryResolver.resolveComponentFactory(e);return t.createComponent(i,o?0:t.length,r.Injector.create({providers:n,parent:t.injector}))}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275inject"](r.ComponentFactoryResolver))},e.\u0275prov=r["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})();const Xu={provide:Ui.NG_VALUE_ACCESSOR,useExisting:Object(r.forwardRef)(()=>td),multi:!0};let ed=(()=>{class e{constructor(){this.disabled=!1,this.select=new r.EventEmitter,this.remove=new r.EventEmitter,this.deselect=new r.EventEmitter}set type(e){this._type=e?e.toLowerCase():null}onRemove(e){return e&&(e.stopPropagation(),e.preventDefault()),this.remove.emit(e),!1}onSelect(e){return e&&(e.stopPropagation(),e.preventDefault()),this.select.emit(e),!1}onDeselect(e){return e&&(e.stopPropagation(),e.preventDefault()),this.deselect.emit(e),!1}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=r["\u0275\u0275defineComponent"]({type:e,selectors:[["chip"],["novo-chip"]],inputs:{disabled:"disabled",type:"type"},outputs:{select:"select",remove:"remove",deselect:"deselect"},ngContentSelectors:ua,decls:5,vars:3,consts:[[3,"ngClass","click","mouseenter","mouseleave"],["class","bhi-circle",4,"ngIf"],["class","bhi-close",3,"click",4,"ngIf"],[1,"bhi-circle"],[1,"bhi-close",3,"click"]],template:function(e,t){1&e&&(r["\u0275\u0275projectionDef"](),r["\u0275\u0275elementStart"](0,"span",0),r["\u0275\u0275listener"]("click",(function(e){return t.onSelect(e)}))("mouseenter",(function(e){return t.onSelect(e)}))("mouseleave",(function(e){return t.onDeselect(e)})),r["\u0275\u0275template"](1,Ca,1,0,"i",1),r["\u0275\u0275elementStart"](2,"span"),r["\u0275\u0275projection"](3),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"](),r["\u0275\u0275template"](4,wa,1,0,"i",2)),2&e&&(r["\u0275\u0275property"]("ngClass",t._type),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",t._type),r["\u0275\u0275advance"](3),r["\u0275\u0275property"]("ngIf",!t.disabled))},directives:[i.k,i.m],encapsulation:2}),e})(),td=(()=>{class e{constructor(e,t,n){this.element=e,this.componentUtils=t,this.labels=n,this.closeOnSelect=!1,this.placeholder="",this._disablePickerInput=!1,this.changed=new r.EventEmitter,this.focus=new r.EventEmitter,this.blur=new r.EventEmitter,this.typing=new r.EventEmitter,this.items=[],this.selected=null,this.config={},this._value="",this._items=new Jr(1),this.onModelChange=()=>{},this.onModelTouched=()=>{}}set disablePickerInput(e){this._disablePickerInput=xo(e)}get disablePickerInput(){return this._disablePickerInput}ngOnInit(){this.setItems()}get value(){return this._value}set value(e){this.itemToAdd="",e!==this._value&&(this._value=e,this.changed.emit({value:e,rawValue:this.items}),this.onModelChange(e))}clearValue(){this.items=[],this._items.next(this.items),this.value=null,this.changed.emit({value:this.value,rawValue:this.items}),this.onModelChange(this.value)}setItems(){if(this.items=[],this.model&&Array.isArray(this.model)){const e=[];for(const t of this.model){let n;this.source&&this.source.format&&Pu.validateInterpolationProps(this.source.format,t)&&(n=Pu.interpolate(this.source.format,t)),this.source&&n&&n!==this.source.format?this.items.push({value:t,label:n}):this.source.getLabels&&"function"==typeof this.source.getLabels?e.push(t):this.source.options&&Array.isArray(this.source.options)?this.items.push(this.getLabelFromOptions(t)):this.items.push(this.source.categoryMap&&this.source.categoryMap.size?t:{value:t,label:t})}e.length>0&&this.source&&this.source.getLabels&&"function"==typeof this.source.getLabels&&this.source.getLabels(e).then(e=>{for(const t of e)t.hasOwnProperty("label")?this.items.push({value:t,label:t.label}):this.source.options&&Array.isArray(this.source.options)?this.items.push(this.getLabelFromOptions(t)):this.items.push(t);this._items.next(this.items)})}this.changed.emit({value:this.model,rawValue:this.items}),this._items.next(this.items)}getLabelFromOptions(e){let t=e,n=this.source.options.find(t=>t.value===e);return!n&&e.hasOwnProperty("id")&&(n=this.source.options.find(t=>t.value===e.id),t=e.id),{value:t,label:n?n.label:e}}deselectAll(e){this.selected=null,this.hidePreview()}select(e,t){this.blur.emit(e),this.deselectAll(),this.selected=t,this.showPreview()}deselect(e,t){this.blur.emit(e),this.deselectAll()}onTyping(e){this.typing.emit(e)}onFocus(e){this.deselectAll(),this.element.nativeElement.classList.add("selected"),this.focus.emit(e)}add(e){if(e&&!(e instanceof Event)){this.items.push(e),this.value=this.source&&this.source.valueFormatter?this.source.valueFormatter(this.items):this.items.map(e=>e.value);const t=this.element.nativeElement.querySelector("novo-picker > input");t&&t.focus()}this._items.next(this.items)}remove(e,t){e&&(e.stopPropagation(),e.preventDefault()),this.items.splice(this.items.indexOf(t),1),this.deselectAll(),this.value=this.source&&this.source.valueFormatter?this.source.valueFormatter(this.items):this.items.map(e=>e.value),this.changed.emit({value:this.value.length?this.value:"",rawValue:this.items}),this.onModelChange(this.value.length?this.value:""),this._items.next(this.items)}onKeyDown(e){e.keyCode===Uu.BACKSPACE&&e.target&&0===e.target.value.length&&this.items.length&&(e&&(e.stopPropagation(),e.preventDefault()),this.selected?this.remove(e,this.selected):this.select(e,this.items[this.items.length-1]))}onTouched(e){this.element.nativeElement.classList.remove("selected"),this.onModelTouched(),this.blur.emit(e)}writeValue(e){this.model=e,this.setItems()}registerOnChange(e){this.onModelChange=e}registerOnTouched(e){this.onModelTouched=e}setDisabledState(e){this._disablePickerInput=e}showPreview(){this.source.previewTemplate&&(this.popup||(this.popup=this.componentUtils.append(this.source.previewTemplate,this.preview)),this.popup.instance.match=this.selected)}hidePreview(){this.popup&&(this.popup.destroy(),this.popup=null)}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](r.ElementRef),r["\u0275\u0275directiveInject"](Qu),r["\u0275\u0275directiveInject"](ju))},e.\u0275cmp=r["\u0275\u0275defineComponent"]({type:e,selectors:[["chips"],["novo-chips"]],viewQuery:function(e,t){var n;1&e&&r["\u0275\u0275viewQuery"](Sa,!0,r.ViewContainerRef),2&e&&r["\u0275\u0275queryRefresh"](n=r["\u0275\u0275loadQuery"]())&&(t.preview=n.first)},hostVars:4,hostBindings:function(e,t){2&e&&r["\u0275\u0275classProp"]("with-value",t.items.length>0)("disabled",t.disablePickerInput)},inputs:{closeOnSelect:"closeOnSelect",placeholder:"placeholder",disablePickerInput:"disablePickerInput",value:"value",source:"source",maxlength:"maxlength",type:"type"},outputs:{changed:"changed",focus:"focus",blur:"blur",typing:"typing"},features:[r["\u0275\u0275ProvidersFeature"]([Xu])],decls:9,vars:6,consts:[[1,"novo-chip-container"],[3,"type","selected","disabled","remove","select","deselect",4,"ngFor","ngForOf"],["class","chip-input-container",4,"ngIf"],[1,"preview-container"],["preview",""],["class","bhi-search",3,"has-value",4,"ngIf"],["class","clear-all",3,"click",4,"ngIf"],[3,"type","disabled","remove","select","deselect"],[1,"chip-input-container"],["clearValueOnSelect","true",3,"closeOnSelect","config","disablePickerInput","placeholder","ngModel","selected","overrideElement","ngModelChange","select","keydown","focus","typing","blur"],[1,"bhi-search"],[1,"clear-all",3,"click"],[1,"bhi-times"]],template:function(e,t){1&e&&(r["\u0275\u0275elementStart"](0,"div",0),r["\u0275\u0275template"](1,_a,2,5,"novo-chip",1),r["\u0275\u0275pipe"](2,"async"),r["\u0275\u0275elementEnd"](),r["\u0275\u0275template"](3,Ea,2,7,"div",2),r["\u0275\u0275elementStart"](4,"div",3),r["\u0275\u0275element"](5,"span",null,4),r["\u0275\u0275elementEnd"](),r["\u0275\u0275template"](7,ka,1,2,"i",5),r["\u0275\u0275template"](8,xa,3,1,"label",6)),2&e&&(r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngForOf",r["\u0275\u0275pipeBind1"](2,4,t._items)),r["\u0275\u0275advance"](2),r["\u0275\u0275property"]("ngIf",!t.maxlength||t.maxlength&&t.items.length<t.maxlength),r["\u0275\u0275advance"](4),r["\u0275\u0275property"]("ngIf",!t.disablePickerInput),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",t.items.length&&!t.disablePickerInput))},directives:function(){return[i.l,i.m,ed,ud,Ui.NgControlStatus,Ui.NgModel]},pipes:function(){return[i.b]},encapsulation:2}),e})(),nd=(()=>{class e{constructor(e,t,n,o,i){this.overlay=e,this.viewContainerRef
2303=t,this.zone=n,this.changeDetectorRef=o,this.document=i,this.id="novo-overlay-"+Date.now(),this.position="default",this.scrollStrategy="reposition",this.closeOnSelect=!0,this.select=new r.EventEmitter,this.closing=new r.EventEmitter}ngOnDestroy(){this.destroyOverlay()}get panelOpen(){return this.overlayRef&&this.overlayRef.hasAttached()}set parent(e){this._parent=e,this.checkSizes()}get parent(){return this._parent}openPanel(){this.overlayRef?this.checkSizes():this.createOverlay(this.template),this.overlayRef&&!this.overlayRef.hasAttached()&&(this.overlayRef.attach(this.portal),this.closingActionsSubscription=this.subscribeToClosingActions()),this.changeDetectorRef.markForCheck(),setTimeout(()=>{this.overlayRef&&this.overlayRef.updatePosition()})}closePanel(){this.zone.run(()=>{this.overlayRef&&this.overlayRef.hasAttached()&&(this.overlayRef.detach(),this.closingActionsSubscription.unsubscribe()),this.closing.emit(!0),this.panelOpen&&this.changeDetectorRef.markForCheck()})}onClosingAction(e){this.closePanel()}get panelClosingActions(){return Object(si.a)(this.outsideClickStream)}get outsideClickStream(){return this.document?Object(si.a)(Ao(this.document,"mousedown"),Ao(this.document,"touchend")).pipe(P(e=>{const t=e.target,n=this.panelOpen&&t!==this.getConnectedElement().nativeElement&&!this.getConnectedElement().nativeElement.contains(t)&&!!this.overlayRef&&!this.overlayRef.overlayElement.contains(t);return this.panelOpen&&this.overlayRef&&this.overlayRef.overlayElement.contains(t)&&this.closeOnSelect&&this.select.emit(e),n})):l()}subscribeToClosingActions(){const e=this.zone.onStable.asObservable().pipe(se());return Object(si.a)(e).pipe(Y(()=>this.panelClosingActions),se()).subscribe(e=>this.onClosingAction(e))}createOverlay(e){this.portal=new ri(e,this.viewContainerRef),this.overlayRef=this.overlay.create(this.getOverlayConfig()),this.overlayRef.backdropClick().subscribe(()=>this.closePanel())}destroyOverlay(){this.overlayRef&&(this.closePanel(),this.overlayRef.dispose(),this.overlayRef=void 0)}getOverlayConfig(){const e=new fi;return e.width=this.width?this.width:this.getHostWidth(),this.height&&(e.height=this.height),e.positionStrategy=this.getPosition(),e.hasBackdrop=!1,e.direction="ltr",e.scrollStrategy=this.getScrollStrategy(),e}getPosition(){if("center"===this.position)return this.overlay.position().connectedTo(this.getConnectedElement(),{originX:"start",originY:"center"},{overlayX:"start",overlayY:"center"}).withFallbackPosition({originX:"start",originY:"top"},{overlayX:"start",overlayY:"top"}).withFallbackPosition({originX:"start",originY:"bottom"},{overlayX:"start",overlayY:"bottom"});const[e,t]=this.position.includes("right")?["end","start"]:["start","end"],[n,r]=this.position.includes("top")?["top","bottom"]:["bottom","top"];let o=this.overlay.position().connectedTo(this.getConnectedElement(),{originX:e,originY:n},{overlayX:e,overlayY:r}).withDirection("ltr");return"bottom"===this.position?o=o.withFallbackPosition({originX:t,originY:"bottom"},{overlayX:t,overlayY:"top"}):("right"===this.position||"default"===this.position||this.position.includes("above-below"))&&(o=o.withFallbackPosition({originX:e,originY:"top"},{overlayX:e,overlayY:"bottom"}).withFallbackPosition({originX:t,originY:"bottom"},{overlayX:t,overlayY:"top"}).withFallbackPosition({originX:t,originY:"top"},{overlayX:t,overlayY:"bottom"}),this.position.includes("above-below")||(o=o.withFallbackPosition({originX:e,originY:"center"},{overlayX:e,overlayY:"center"}).withFallbackPosition({originX:t,originY:"center"},{overlayX:t,overlayY:"center"}))),o}getScrollStrategy(){switch(this.scrollStrategy){case"block":return this.overlay.scrollStrategies.block();case"reposition":return this.overlay.scrollStrategies.reposition();default:return this.overlay.scrollStrategies.close()}}checkSizes(){this.overlayRef&&(this.width||(this.overlayRef.getConfig().width=this.getHostWidth()),this.height&&(this.overlayRef.getConfig().height=this.height),this.overlayRef.updateSize(this.overlayRef.getConfig()),this.overlayRef.updatePosition(),this.changeDetectorRef.markForCheck())}getConnectedElement(){return this.parent}getHostWidth(){return this.getConnectedElement().nativeElement.getBoundingClientRect().width}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](Di),r["\u0275\u0275directiveInject"](r.ViewContainerRef),r["\u0275\u0275directiveInject"](r.NgZone),r["\u0275\u0275directiveInject"](r.ChangeDetectorRef),r["\u0275\u0275directiveInject"](i.e,8))},e.\u0275cmp=r["\u0275\u0275defineComponent"]({type:e,selectors:[["novo-overlay-template"]],viewQuery:function(e,t){var n;1&e&&(r["\u0275\u0275viewQuery"](r.TemplateRef,!0),r["\u0275\u0275viewQuery"](Ia,!0)),2&e&&(r["\u0275\u0275queryRefresh"](n=r["\u0275\u0275loadQuery"]())&&(t.template=n.first),r["\u0275\u0275queryRefresh"](n=r["\u0275\u0275loadQuery"]())&&(t.panel=n.first))},inputs:{position:"position",scrollStrategy:"scrollStrategy",closeOnSelect:"closeOnSelect",parent:"parent",width:"width",height:"height"},outputs:{select:"select",closing:"closing"},ngContentSelectors:ua,decls:1,vars:0,consts:[["role","listbox",1,"novo-overlay-panel",3,"id"],["panel",""]],template:function(e,t){1&e&&(r["\u0275\u0275projectionDef"](),r["\u0275\u0275template"](0,Oa,3,1,"ng-template"))},encapsulation:2,changeDetection:0}),e})(),rd=(()=>{class e{}return e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},imports:[[i.c,Ui.FormsModule,Mi,ei],ei]}),e})(),od=(()=>{class e{}return e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},imports:[[i.c,Ui.FormsModule]]}),e})(),id=(()=>{class e{constructor(e,t){this._term="",this.selected=[],this.matches=[],this.hasError=!1,this.isLoading=!1,this.isStatic=!0,this.page=0,this.lastPage=!1,this.autoSelectFirstOption=!0,this.optionsFunctionHasChanged=!1,this.selectingMatches=!1,this.element=e,this.ref=t,this.scrollHandler=this.onScrollDown.bind(this)}cleanUp(){const e=this.getListElement();e&&e.hasAttribute("scrollListener")&&(e.removeAttribute("scrollListener"),e.removeEventListener("scroll",this.scrollHandler))}onScrollDown(e){const t=e.target;t&&t.offsetHeight+t.scrollTop>=t.scrollHeight-300&&(e.stopPropagation(),this.lastPage||this.isLoading||this.processSearch())}get term(){return this._term}set term(e){this.shouldSearch(e)?(this._term=e,this.page=0,this.optionsFunctionHasChanged=!1,this.matches=[],this.processSearch(!0)):this.addScrollListener()}set config(e){this.config&&this.config.options!==e.options&&(this.optionsFunctionHasChanged=!0),this._config=e}get config(){return this._config}shouldSearch(e){return e!==this._term||0===this.page||this.optionsFunctionHasChanged}
2303addScrollListener(){if(this.config.enableInfiniteScroll){const e=this.getListElement();e&&!e.hasAttribute("scrollListener")&&(e.setAttribute("scrollListener","true"),e.addEventListener("scroll",this.scrollHandler))}}processSearch(e){this.hasError=!1,this.isLoading=!0,this.ref.markForCheck(),this.search(this.term).subscribe(t=>{e&&(this.matches=[]),this.isStatic?this.matches=this.filterData(t):(this.matches=this.matches.concat(t),this.lastPage=t&&!t.length),this.matches.length>0&&this.autoSelectFirstOption&&!this.selectingMatches&&this.nextActiveMatch(),this.isLoading=!1,this.ref.markForCheck(),setTimeout(()=>{this.overlay.updatePosition(),this.addScrollListener()})},e=>{this.hasError=this.term&&0!==this.term.length,this.isLoading=!1,this.lastPage=!0,this.term&&0!==this.term.length&&console.error(e),this.ref.markForCheck()})}search(e,t){const n=this.config.options;return Object(u.a)(new Promise((t,r)=>{if(n)if(Array.isArray(n))this.isStatic=!0,t(this.structureArray(n));else if(this.shouldCallOptionsFunction(e))if(n.hasOwnProperty("reject")&&n.hasOwnProperty("resolve")||Object.getPrototypeOf(n).hasOwnProperty("then"))this.isStatic=!1,n.then(this.structureArray.bind(this)).then(t,r);else{if("function"!=typeof n)throw r("The data provided is not an array or a promise"),new Error("The data provided is not an array or a promise");this.isStatic=!1,n(e,++this.page).then(this.structureArray.bind(this)).then(t,r)}else if(this.config.defaultOptions)if(this.isStatic=!1,"function"==typeof this.config.defaultOptions){const n=this.config.defaultOptions(e,++this.page);Object.getPrototypeOf(n).hasOwnProperty("then")?n.then(this.structureArray.bind(this)).then(t,r):t(this.structureArray(n))}else t(this.structureArray(this.config.defaultOptions));else r("No search term");else r("error")}))}shouldCallOptionsFunction(e){return this.config&&"minSearchLength"in this.config&&Number.isInteger(this.config.minSearchLength)?"string"==typeof e&&e.length>=this.config.minSearchLength:!(!e||!e.length)}structureArray(e){const t=e.data?e.data:e;return!t||"string"!=typeof t[0]&&"number"!=typeof t[0]?t.map(e=>{let t=this.config.field?e[this.config.field]:e.value||e;return this.config.valueFormat&&(t=Pu.interpolate(this.config.valueFormat,e)),{value:t,label:this.config.format?Pu.interpolate(this.config.format,e):e.label||String(t),data:e}}):e.map(e=>({value:e,label:e}))}filterData(e){return this.term&&e?e.filter(e=>~String(e.label).toLowerCase().indexOf(this.term.toLowerCase())):e}selectActiveMatch(){this.selectMatch()}prevActiveMatch(){const e=this.matches.indexOf(this.activeMatch);this.activeMatch=this.matches[e-1<0?this.matches.length-1:e-1],this.scrollToActive(),this.ref.markForCheck()}nextActiveMatch(){const e=this.matches.indexOf(this.activeMatch);this.activeMatch=this.matches[e+1>this.matches.length-1?0:e+1],this.scrollToActive(),this.ref.markForCheck()}getListElement(){return this.element.nativeElement}getChildrenOfListElement(){let e=[];return this.getListElement()&&(e=this.getListElement().children),e}scrollToActive(){const e=this.getListElement(),t=this.getChildrenOfListElement()[this.matches.indexOf(this.activeMatch)];t&&(e.scrollTop=t.offsetTop)}selectActive(e){this.activeMatch=e}isActive(e){return this.activeMatch===e}selectMatch(e,t){e&&(e.stopPropagation(),e.preventDefault());const n=this.activeMatch;return n&&this.parent&&(this.parent.value=n,this.selectingMatches=!0,this.parent.closeOnSelect&&(this.parent.hideResults(),this.selectingMatches=!1)),this.ref.markForCheck(),!1}escapeRegexp(e){return e.replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1")}highlight(e,t){return t?e.replace(new RegExp(this.escapeRegexp(t.trim()),"gi"),"<strong>$&</strong>"):e}preselected(e){if(this.config.preselected){const t=this.config.preselected;return-1!==this.selected.findIndex(n=>t(e,n))}return-1!==this.selected.findIndex(t=>{let n=!1;return t&&t.value&&e&&e.value&&(n=t.value.id&&e.value.id?t.value.id===e.value.id:t.value instanceof Object&&t.value.hasOwnProperty("value")?t.value.value===e.value:t.value===e.value),n})}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](r.ElementRef),r["\u0275\u0275directiveInject"](r.ChangeDetectorRef))},e.\u0275dir=r["\u0275\u0275defineDirective"]({type:e,inputs:{matches:"matches"}}),e})(),ad=(()=>{class e extends id{constructor(e,t,n){super(e,n),this.labels=t}get hasNonErrorMessage(){return!this.isLoading&&!this.matches.length&&!this.hasError}getEmptyMessage(){return this.shouldShowMessageForZeroLengthSearch()?this.config.emptyPickerMessage:""===this.term?this.labels.pickerTextFieldEmpty:this.labels.pickerEmpty}shouldShowMessageForZeroLengthSearch(){return this.config&&0===this.config.minSearchLength&&""===this.term&&this.config.emptyPickerMessage}getListElement(){return this.element.nativeElement.querySelector("novo-list")}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](r.ElementRef),r["\u0275\u0275directiveInject"](ju),r["\u0275\u0275directiveInject"](r.ChangeDetectorRef))},e.\u0275cmp=r["\u0275\u0275defineComponent"]({type:e,selectors:[["picker-results"]],hostAttrs:[1,"active"],features:[r["\u0275\u0275InheritDefinitionFeature"]],decls:4,vars:4,consts:[["direction","vertical",4,"ngIf"],["class","picker-loader",4,"ngIf"],["class","picker-error",4,"ngIf"],["class","picker-null-results",4,"ngIf"],["direction","vertical"],[3,"active","disabled","click","mouseenter",4,"ngFor","ngForOf"],["theme","line",4,"ngIf"],[3,"click","mouseenter"],[3,"innerHtml"],["theme","line"],[1,"picker-loader"],[1,"picker-error"],[1,"picker-null-results"]],template:function(e,t){1&e&&(r["\u0275\u0275template"](0,Pa,3,2,"novo-list",0),r["\u0275\u0275template"](1,Da,2,0,"div",1),r["\u0275\u0275template"](2,Ra,2,1,"p",2),r["\u0275\u0275template"](3,Ma,2,1,"p",3)),2&e&&(r["\u0275\u0275property"]("ngIf",t.matches.length>0),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",t.isLoading&&0===t.matches.length),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",t.hasError),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",t.hasNonErrorMessage))},directives:[i.m,Gu,i.l,qu,Wu,Fu],encapsulation:2}),e})();const sd={};
2303function cd(e){Object(r.isDevMode)()&&!(e in sd)&&(sd[e]=!0,console.warn(e))}const ld={provide:Ui.NG_VALUE_ACCESSOR,useExisting:Object(r.forwardRef)(()=>ud),multi:!0};let ud=(()=>{class e{constructor(e,t,n){this.element=e,this.componentUtils=t,this.ref=n,this.closeOnSelect=!0,this.selected=[],this.appendToBody=!1,this.parentScrollAction="close",this.side="left",this.autoSelectFirstOption=!0,this._disablePickerInput=!1,this.changed=new r.EventEmitter,this.select=new r.EventEmitter,this.focus=new r.EventEmitter,this.blur=new r.EventEmitter,this.typing=new r.EventEmitter,this.term="",this.onModelChange=()=>{},this.onModelTouched=()=>{}}set disablePickerInput(e){this._disablePickerInput=xo(e)}get disablePickerInput(){return this._disablePickerInput}ngOnInit(){this.overrideElement&&(this.element=this.overrideElement),this.appendToBody&&cd("'appendToBody' has been deprecated. Please remove this attribute."),this.resultsComponent=this.config.resultsTemplate||ad,Ao(this.input.nativeElement,"paste").pipe(Hi(250),Po()).subscribe(e=>this.onDebouncedKeyup(e),e=>this.hideResults(e)),Ao(this.input.nativeElement,"keyup").pipe(Hi(250),Po()).subscribe(e=>this.onDebouncedKeyup(e),e=>this.hideResults(e))}onDebouncedKeyup(e){[Uu.ESC,Uu.UP,Uu.DOWN,Uu.ENTER,Uu.TAB].includes(e.keyCode)||this.show(e.target.value)}openPanel(){this.container.openPanel()}closePanel(){this.container.closePanel()}get panelOpen(){return this.container&&this.container.panelOpen}show(e){this.openPanel(),this.showResults(e)}onKeyDown(e){if(this.disablePickerInput)Pu.swallowEvent(e);else if(this.panelOpen&&!this.disablePickerInput){if(e.keyCode===Uu.ESC||e.keyCode===Uu.TAB)return void this.hideResults();if(e.keyCode===Uu.UP)return this.popup.instance.prevActiveMatch(),void this.ref.markForCheck();if(e.keyCode===Uu.DOWN)return this.popup.instance.nextActiveMatch(),void this.ref.markForCheck();if(e.keyCode===Uu.ENTER){const e=this.popup.instance.activeMatch;return void(this.selected.find(t=>e&&e.value&&t.value===e.value)||(this.popup.instance.selectActiveMatch(),this.ref.markForCheck()))}e.keyCode!==Uu.BACKSPACE&&e.keyCode!==Uu.DELETE||Pu.isBlank(this._value)||(this.clearValue(!1),this.closePanel()),e.keyCode===Uu.DELETE&&Pu.isBlank(this._value)&&this.clearValue(!0)}}clearValue(e){this._value=null,this.select.emit(this._value),this.changed.emit({value:this._value,rawValue:{label:"",value:this._value}}),this.onModelChange(this._value),e&&(this.term="",this.hideResults()),this.ref.markForCheck()}onFocus(e){this.panelOpen||this.show(),this.focus.emit(e)}showResults(e){this.popup?(this.popup.instance.config=this.config,this.popup.instance.term=this.term,this.popup.instance.selected=this.selected,this.popup.instance.autoSelectFirstOption=this.autoSelectFirstOption,this.ref.markForCheck()):(this.popup=this.componentUtils.append(this.resultsComponent,this.results),this.popup.instance.parent=this,this.popup.instance.config=this.config,this.popup.instance.term=this.term,this.popup.instance.selected=this.selected,this.popup.instance.autoSelectFirstOption=this.autoSelectFirstOption,this.popup.instance.overlay=this.container.overlayRef,this.ref.markForCheck())}hideResults(e){this.closePanel(),this.ref.markForCheck()}onOverlayClosed(){this.popup&&this.popup.instance&&this.popup.instance.cleanUp&&this.popup.instance.cleanUp()}get value(){return this._value}set value(e){e?e.value!==this._value?(this.term=this.clearValueOnSelect?"":e.label,this._value=e.value,this.changed.emit({value:e.value,rawValue:{label:this.term,value:e.value}}),this.select.emit(e),this.onModelChange(e.value),this.popup&&(this.popup.instance.selected=this.selected)):(this.changed.emit({value:e.value,rawValue:{label:this.term,value:this._value}}),this.select.emit(e)):(this.term="",this._value=null,this.onModelChange(this._value)),this.ref.markForCheck()}checkTerm(e){this.typing.emit(e),e&&e.length||(this._value=null,this.onModelChange(this._value)),this.ref.markForCheck()}onTouched(e){this.onModelTouched(),this.blur.emit(e)}writeValue(e){this.clearValueOnSelect?this.term="":"string"!=typeof e||this.config.useGetLabels?e&&e.label?this.term=e.label:e&&e.firstName?this.term=`${e.firstName} ${e.lastName}
2303`:e&&e.name?this.term=e.name:"function"==typeof this.config.getLabels?this.config.getLabels(e).then(t=>{this.term=t?t.length?t[0].label||"":t.label||"":e,this.ref.markForCheck()}):this.term=e&&e.title?e.title:e||"":this.term=e,this._value=e,this.ref.markForCheck()}registerOnChange(e){this.onModelChange=e}registerOnTouched(e){this.onModelTouched=e}setDisabledState(e){this._disablePickerInput=e}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](r.ElementRef),r["\u0275\u0275directiveInject"](Qu),r["\u0275\u0275directiveInject"](r.ChangeDetectorRef))},e.\u0275cmp=r["\u0275\u0275defineComponent"]({type:e,selectors:[["novo-picker"]],viewQuery:function(e,t){var n;1&e&&(r["\u0275\u0275staticViewQuery"](Na,!0,r.ViewContainerRef),r["\u0275\u0275staticViewQuery"](nd,!0),r["\u0275\u0275staticViewQuery"](ja,!0)),2&e&&(r["\u0275\u0275queryRefresh"](n=r["\u0275\u0275loadQuery"]())&&(t.results=n.first),r["\u0275\u0275queryRefresh"](n=r["\u0275\u0275loadQuery"]())&&(t.container=n.first),r["\u0275\u0275queryRefresh"](n=r["\u0275\u0275loadQuery"]())&&(t.input=n.first))},inputs:{closeOnSelect:"closeOnSelect",selected:"selected",appendToBody:"appendToBody",parentScrollAction:"parentScrollAction",side:"side",autoSelectFirstOption:"autoSelectFirstOption",disablePickerInput:"disablePickerInput",config:"config",placeholder:"placeholder",clearValueOnSelect:"clearValueOnSelect",parentScrollSelector:"parentScrollSelector",containerClass:"containerClass",overrideElement:"overrideElement"},outputs:{changed:"changed",select:"select",focus:"focus",blur:"blur",typing:"typing"},features:[r["\u0275\u0275ProvidersFeature"]([ld])],ngContentSelectors:ua,decls:10,vars:12,consts:[["class","bhi-more",4,"ngIf"],[3,"class",4,"ngIf"],["type","text","autocomplete","off",1,"picker-input",3,"ngModel","placeholder","disabled","ngModelChange","keydown","focus","click","blur"],["input",""],["class","bhi-search",4,"ngIf"],["class","bhi-times",3,"entity-selected","click",4,"ngIf"],["position","above-below",1,"picker-results-container",3,"parent","closing"],["results",""],[1,"bhi-more"],[1,"bhi-search"],[1,"bhi-times",3,"click"]],template:function(e,t){1&e&&(r["\u0275\u0275projectionDef"](),r["\u0275\u0275template"](0,Fa,1,0,"i",0),r["\u0275\u0275template"](1,La,1,4,"i",1),r["\u0275\u0275elementStart"](2,"input",2,3),r["\u0275\u0275listener"]("ngModelChange",(function(e){return t.term=e}))("ngModelChange",(function(e){return t.checkTerm(e)}))("keydown",(function(e){return t.onKeyDown(e)}))("focus",(function(e){return t.onFocus(e)}))("click",(function(e){return t.onFocus(e)}))("blur",(function(e){return t.onTouched(e)})),r["\u0275\u0275elementEnd"](),r["\u0275\u0275template"](4,Va,1,0,"i",4),r["\u0275\u0275template"](5,Ba,1,2,"i",5),r["\u0275\u0275elementStart"](6,"novo-overlay-template",6),r["\u0275\u0275listener"]("closing",(function(){return t.onOverlayClosed()})),r["\u0275\u0275element"](7,"span",null,7),r["\u0275\u0275projection"](9),r["\u0275\u0275elementEnd"]()),2&e&&(r["\u0275\u0275property"]("ngIf",(null==t.config?null:t.config.entityIcon)&&!t._value),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",(null==t.config?null:t.config.entityIcon)&&t._value),r["\u0275\u0275advance"](1),r["\u0275\u0275classProp"]("entity-picker",null==t.config?null:t.config.entityIcon)("entity-selected",(null==t.config?null:t.config.entityIcon)&&t._value),r["\u0275\u0275property"]("ngModel",t.term)("placeholder",t.placeholder)("disabled",t.disablePickerInput),r["\u0275\u0275advance"](2),r["\u0275\u0275property"]("ngIf",(!t._value||t.clearValueOnSelect)&&!t.disablePickerInput),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",t._value&&!t.clearValueOnSelect&&!t.disablePickerInput),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("parent",t.element))},directives:[i.m,Ui.DefaultValueAccessor,Ui.NgControlStatus,Ui.NgModel,nd],encapsulation:2}),e})(),dd=(()=>{class e{constructor(e){this.labels=e}escapeRegexp(e){return e.replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1")}highlight(e,t){return t&&e?e.replace(new RegExp(this.escapeRegexp(t.trim()),"gi"),"<strong>$&</strong>"):e}getIconForResult(e){if(e)switch(e.searchEntity){case"ClientContact":return"person contact";case"ClientCorporation":return"company";case"Opportunity":return"opportunity";case"Candidate":return"candidate";case"Lead":return"lead";case"JobOrder":return"job";case"Placement":return"star placement";case"CorporateUser":return"user";case"CorporationDepartment":return"department";
2303case"JobShift":return"timetable contract";default:return""}return""}renderTimestamp(e){let t="";return e&&(t=this.labels.formatDateWithFormat(e,{year:"numeric",month:"numeric",day:"numeric"})),t}renderTimeNoOffset(e){let t="";return e&&(e=e.slice(0,19),t=this.labels.formatTime(e)),t}getNameForResult(e){if(e)switch(e.searchEntity){case"Lead":case"CorporateUser":case"ClientContact":case"Candidate":case"Person":return"firstName"in e?`${e.firstName} ${e.lastName}`.trim():(""+(e.name||"")).trim();case"ClientCorporation":return(""+(e.name||"")).trim();case"Opportunity":case"JobOrder":return`${e.id} | ${e.title||""}`.trim();case"Placement":let t=""+e.id;return(e.candidate||e.jobOrder)&&(t=e.candidate&&e.jobOrder?`${t} | ${e.candidate.firstName} ${e.candidate.lastName} - ${e.jobOrder.title}`.trim():e.jobOrder?`${t} | ${e.jobOrder.title}`.trim():`${t} | ${e.candidate.firstName} ${e.candidate.lastName}`.trim()),t;default:return(""+(e.name||"")).trim()}return""}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](ju))},e.\u0275cmp=r["\u0275\u0275defineComponent"]({type:e,selectors:[["entity-picker-result"]],inputs:{match:"match",term:"term"},decls:1,vars:1,consts:[[4,"ngIf"],[3,"icon"],[3,"innerHtml"],["direction","horizontal"],["class","company",4,"ngIf"],["class","contact",4,"ngIf"],["class","candidate",4,"ngIf"],["class","start-date",4,"ngIf"],["class","start-time",4,"ngIf"],["class","job",4,"ngIf"],["class","openings",4,"ngIf"],["class","email",4,"ngIf"],["class","phone",4,"ngIf"],["class","location",4,"ngIf"],["class","status",4,"ngIf"],["class","owner",4,"ngIf"],["class","primary-department",4,"ngIf"],["class","occupation",4,"ngIf"],[1,"company"],[1,"bhi-company"],[1,"contact"],[1,"bhi-person","contact","person"],[1,"candidate"],[1,"bhi-candidate"],[1,"start-date"],[1,"bhi-calendar"],[1,"start-time"],[1,"bhi-clock"],[1,"job"],[1,"bhi-job"],[1,"openings"],[1,"email"],[1,"bhi-email"],[1,"phone"],[1,"bhi-phone"],[1,"location"],[1,"bhi-location"],[3,"innerHtml",4,"ngIf"],[1,"status"],[1,"bhi-info"],[1,"owner"],[1,"bhi-person"],[1,"primary-department"],[1,"bhi-department"],[1,"occupation"],[1,"bhi-occupation"]],template:function(e,t){1&e&&r["\u0275\u0275template"](0,is,21,17,"novo-list-item",0),2&e&&r["\u0275\u0275property"]("ngIf",t.match.data)},directives:[i.m,qu,Yu,Ku,zu,Wu],encapsulation:2}),e})(),hd=(()=>{class e extends id{constructor(e,t,n){super(e,n),this.labels=t,this.select=new r.EventEmitter}get hasNonErrorMessage(){return!this.isLoading&&!this.matches.length&&!this.hasError}getListElement(){return this.element.nativeElement.querySelector("novo-list")}selectMatch(e,t){return this.select.next(t),super.selectMatch(e,t)}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](r.ElementRef),r["\u0275\u0275directiveInject"](ju),r["\u0275\u0275directiveInject"](r.ChangeDetectorRef))},e.\u0275cmp=r["\u0275\u0275defineComponent"]({type:e,selectors:[["entity-picker-results"]],outputs:{select:"select"},features:[r["\u0275\u0275InheritDefinitionFeature"]],decls:4,vars:4,consts:[["direction","vertical",4,"ngIf"],["class","picker-error",4,"ngIf"],["class","picker-null-results",4,"ngIf"],["direction","vertical"],[3,"match","term","ngClass","disabled","click","mouseenter",4,"ngFor","ngForOf"],["theme","line",4,"ngIf"],[3,"match","term","ngClass","click","mouseenter"],["theme","line"],[1,"picker-error"],[1,"picker-null-results"]],template:function(e,t){1&e&&(r["\u0275\u0275template"](0,ls,3,2,"novo-list",0),r["\u0275\u0275template"](1,us,2,1,"p",1),r["\u0275\u0275template"](2,ds,2,1,"p",2),r["\u0275\u0275template"](3,hs,2,1,"p",2)),2&e&&(r["\u0275\u0275property"]("ngIf",t.matches.length>0),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",t.hasError),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",t.hasNonErrorMessage&&""!==t.term),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",t.hasNonErrorMessage&&""===t.term))},directives:[i.m,Gu,i.l,dd,i.k,Fu],encapsulation:2}),e})(),md=(()=>{class e{}return e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},imports:[[i.c,Ui.FormsModule,Lu,Zu,rd,od]]}),e})();const pd={provide:Ui.NG_VALUE_ACCESSOR,useExisting:Object(r.forwardRef)(()=>yd),multi:!0};let fd=(()=>{class e extends ed{onSelect(e){return!1}}return e.\u0275fac=function(t){return gd(t||e)},e.\u0275cmp=r["\u0275\u0275defineComponent"]({type:e,selectors:[["novo-row-chip"]],features:[r["\u0275\u0275InheritDefinitionFeature"]],ngContentSelectors:ua,decls:3,vars:1,consts:[[1,"novo-row-chips-columns"],["class","bhi-delete-o",3,"click",4,"ngIf"],[1,"bhi-delete-o",3,"click"]],template:function(e,t){1&e&&(r["\u0275\u0275projectionDef"](),r["\u0275\u0275elementStart"](0,"div",0),r["\u0275\u0275projection"](1),r["\u0275\u0275template"](2,ps,1,0,"i",1),r["\u0275\u0275elementEnd"]()),2&e&&(r["\u0275\u0275advance"](2),r["\u0275\u0275property"]("ngIf",!t.disabled))},directives:[i.m],encapsulation:2}),e})();
2303const gd=r["\u0275\u0275getInheritedFactory"](fd);let yd=(()=>{class e extends td{constructor(e,t,n){super(e,t,n),this.closeOnSelect=!0}onKeyDown(e){}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](r.ElementRef),r["\u0275\u0275directiveInject"](Qu),r["\u0275\u0275directiveInject"](ju))},e.\u0275cmp=r["\u0275\u0275defineComponent"]({type:e,selectors:[["novo-row-chips"]],hostVars:2,hostBindings:function(e,t){2&e&&r["\u0275\u0275classProp"]("with-value",t.items.length>0)},inputs:{closeOnSelect:"closeOnSelect"},features:[r["\u0275\u0275ProvidersFeature"]([pd]),r["\u0275\u0275InheritDefinitionFeature"]],decls:8,vars:6,consts:[["class","novo-row-chips-columns",4,"ngIf"],["class","novo-row-chips-empty-message",4,"ngIf"],[3,"type","selected","disabled","remove","select",4,"ngFor","ngForOf"],["clearValueOnSelect","true",3,"closeOnSelect","config","disablePickerInput","hidden","placeholder","ngModel","selected","overrideElement","ngModelChange","select","keydown","focus","typing","blur",4,"ngIf"],[1,"preview-container"],["preview",""],[1,"novo-row-chips-columns"],["class","column-label",4,"ngFor","ngForOf"],[1,"column-label"],[1,"novo-row-chips-empty-message"],[3,"type","disabled","remove","select"],["class","column-data",4,"ngFor","ngForOf"],[1,"column-data"],["clearValueOnSelect","true",3,"closeOnSelect","config","disablePickerInput","hidden","placeholder","ngModel","selected","overrideElement","ngModelChange","select","keydown","focus","typing","blur"]],template:function(e,t){1&e&&(r["\u0275\u0275template"](0,gs,2,1,"div",0),r["\u0275\u0275template"](1,ys,2,1,"div",1),r["\u0275\u0275template"](2,bs,2,5,"novo-row-chip",2),r["\u0275\u0275pipe"](3,"async"),r["\u0275\u0275template"](4,Cs,
23031,8,"novo-picker",3),r["\u0275\u0275elementStart"](5,"div",4),r["\u0275\u0275element"](6,"span",null,5),r["\u0275\u0275elementEnd"]()),2&e&&(r["\u0275\u0275property"]("ngIf",t.items.length>0),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",t.source.emptyReadOnlyMessage&&t.disablePickerInput&&0===t.items.length),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngForOf",r["\u0275\u0275pipeBind1"](3,4,t._items)),r["\u0275\u0275advance"](2),r["\u0275\u0275property"]("ngIf",!t.maxlength||t.maxlength&&t.items.length<t.maxlength))},directives:[i.m,i.l,fd,ud,Ui.NgControlStatus,Ui.NgModel],pipes:[i.b],encapsulation:2}),e})(),vd=(()=>{class e{}return e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},imports:[[i.c,Ui.FormsModule,md]]}),e})();const bd={provide:Ui.NG_VALUE_ACCESSOR,useExisting:Object(r.forwardRef)(()=>Cd),multi:!0};let Cd=(()=>{class e{constructor(e){this.zone=e,this.startupFocus=!1,this.fileBrowserImageUploadUrl="",this.disabled=!1,this.change=new r.EventEmitter,this.ready=new r.EventEmitter,this.blur=new r.EventEmitter,this.focus=new r.EventEmitter,this.paste=new r.EventEmitter,this.loaded=new r.EventEmitter,this._value=""}get value(){return this._value}set value(e){e!==this._value&&(this._value=e,this.onChange(e))}ngOnDestroy(){this.instance&&(this.instance.focusManager.blur(!0),setTimeout(()=>{this.instance.removeAllListeners();const e=CKEDITOR.instances[this.instance.name];e&&e.destroy(),this.instance.destroy(),this.instance=null}))}ngAfterViewInit(){const e=Object.assign(this.getBaseConfig(),this.config);this.startupFocus&&(e.startupFocus=!0),this.disabled&&(e.readOnly=!0),this.ckeditorInit(e)}updateValue(e){this.zone.run(()=>{this.value=e,this.onChange(e),this.onTouched(),this.change.emit(e)})}ckeditorInit(e){CKEDITOR?(this.instance=CKEDITOR.replace(this.host.nativeElement,e),this.instance.setData(this.value),this.instance.on("instanceReady",e=>{this.ready.emit(e)}),this.instance.on("change",()=>{this.onTouched();const e=this.instance.getData();this.debounce?(this.debounceTimeout&&clearTimeout(this.debounceTimeout),this.debounceTimeout=setTimeout(()=>{this.updateValue(e),this.debounceTimeout=null},parseInt(this.debounce,10))):this.updateValue(e)}),this.instance.on("blur",e=>{this.blur.emit(e)}),this.instance.on("focus",e=>{this.focus.emit(e)}),this.instance.on("paste",e=>{this.paste.emit(e)}),this.instance.on("loaded",e=>{this.loaded.emit(e)})):console.error("Make sure to include CKEditor sources in your dependencies!")}getBaseConfig(){const e={enterMode:CKEDITOR.ENTER_BR,shiftEnterMode:CKEDITOR.ENTER_P,disableNativeSpellChecker:!1,removePlugins:"liststyle,tabletools,contextmenu",extraAllowedContent:"*(*){*};table tbody tr td th[*];",font_names:"Arial/Arial, Helvetica, sans-serif;Calibri/Calibri, Verdana, Geneva, sans-serif;Comic Sans MS/Comic Sans MS, cursive;Courier New/Courier New, Courier, monospace;Georgia/Georgia, serif;Lucida Sans Unicode/Lucida Sans Unicode, Lucida Grande, sans-serif;Tahoma/Tahoma, Geneva, sans-serif;Times New Roman/Times New Roman, Times, serif;Trebuchet MS/Trebuchet MS, Helvetica, sans-serif;Verdana/Verdana, Geneva, sans-serif"};return Object.assign(e,this.minimal?{toolbar:[{name:"basicstyles",items:["Styles","FontSize","Bold","Italic","Underline","TextColor","-","NumberedList","BulletedList","Outdent","Indent","Link"]}]}:{toolbar:[{name:"clipboard",items:["Paste","PasteText","PasteFromWord","Undo","Redo"]},{name:"paragraph",items:["NumberedList","BulletedList","Outdent","Indent","Blockquote","JustifyLeft","JustifyCenter","JustifyRight","JustifyBlock","BidiLtr","BidiRtl"]},{name:"links",items:["Link"]},{name:"insert",items:["Image","Table","HorizontalRule"]},{name:"tools",items:["Maximize","Source"]},"/",{name:"basicstyles",items:["Bold","Italic","Underline","Strike","Subscript","Superscript"]},{name:"styles",items:["Styles","Format","Font","FontSize"]},{name:"colors",items:["TextColor","BGColor"]}],filebrowserImageUploadUrl:this.fileBrowserImageUploadUrl})}writeValue(e){this._value=e,this.instance&&this.instance.setData(e)}onChange(e){}onTouched(e){}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this.disabled=e,this.instance&&CKEDITOR.instances[this.instance.name].setReadOnly(e)}insertText(e){const t=e.trim();this.instance.insertText(t)}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](r.NgZone))},e.\u0275cmp=r["\u0275\u0275defineComponent"]({type:e,selectors:[["novo-editor"]],viewQuery:function(e,t){var n;1&e&&r["\u0275\u0275viewQuery"](ws,!0),2&e&&r["\u0275\u0275queryRefresh"](n=r["\u0275\u0275loadQuery"]())&&(t.host=n.first)},inputs:{startupFocus:"startupFocus",fileBrowserImageUploadUrl:"fileBrowserImageUploadUrl",disabled:"disabled",value:"value",config:"config",debounce:"debounce",n
2303ame:"name",minimal:"minimal"},outputs:{change:"change",ready:"ready",blur:"blur",focus:"focus",paste:"paste",loaded:"loaded"},features:[r["\u0275\u0275ProvidersFeature"]([bd])],decls:2,vars:2,consts:[[3,"name","id"],["host",""]],template:function(e,t){1&e&&r["\u0275\u0275element"](0,"textarea",0,1),2&e&&r["\u0275\u0275property"]("name",t.name)("id",t.name)},encapsulation:2}),e})(),wd=(()=>{class e{}return e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},imports:[[i.c,Ui.FormsModule]]}),e})(),Sd=(()=>{class e{constructor(e){this.template=e}getType(){return this.name}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](r.TemplateRef))},e.\u0275dir=r["\u0275\u0275defineDirective"]({type:e,selectors:[["","novoTemplate",""]],inputs:{type:"type",name:["novoTemplate","name"]}}),e})(),_d=(()=>{class e{}return e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},imports:[[i.c]]}),e})(),Ed=(()=>{class e{constructor(){this.selectionSource=new d.a,this.paginationSource=new d.a,this.sortFilterSource=new d.a,this.resetSource=new d.a,this.expandSource=new d.a,this.dataLoaded=new d.a,this.sort=void 0,this.filter=void 0,this.page=0,this.pageSize=void 0,this.globalSearch=void 0,this.selectedRows=new Map,this.expandedRows=new Set,this.isForceRefresh=!1,this.updates=new r.EventEmitter,this.retainSelected=!1}get userFiltered(){return!!(this.filter||this.sort||this.globalSearch||this.outsideFilter)}get userFilteredInternal(){return!!(this.filter||this.sort||this.globalSearch)}get selected(){return Array.from(this.selectedRows.values())}reset(e=!0,t){t||(this.sort=void 0,this.globalSearch=void 0,this.filter=void 0),this.page=0,this.retainSelected||(this.selectedRows.clear(),this.resetSource.next()),this.onSortFilterChange(),this.retainSelected=!1,e&&this.updates.emit({sort:this.sort,filter:this.filter,globalSearch:this.globalSearch})}clearSort(e=!0){this.sort=void 0,this.page=0,this.checkRetainment("sort"),this.reset(e,!0),this.onSortFilterChange(),e&&this.updates.emit({sort:this.sort,filter:this.filter,globalSearch:this.globalSearch})}clearFilter(e=!0){this.filter=void 0,this.globalSearch=void 0,this.page=0,this.checkRetainment("filter"),this.reset(e,!0),this.onSortFilterChange(),e&&this.updates.emit({sort:this.sort,filter:this.filter,globalSearch:this.globalSearch})}clearSelected(e=!0){this.globalSearch=void 0,this.page=0,this.reset(e,!0),this.onSelectionChange(),e&&this.updates.emit({sort:this.sort,filter:this.filter,globalSearch:this.globalSearch})}onSelectionChange(){this.selectionSource.next()}onExpandChange(e){this.expandSource.next(e)}onPaginationChange(e,t){this.checkRetainment("page"),this.paginationSource.next({isPageSizeChange:e,pageSize:t})}onSortFilterChange(){this.checkRetainment("sort"),this.checkRetainment("filter"),this.sortFilterSource.next({sort:this.sort,filter:this.filter,globalSearch:this.globalSearch})}setInitialSortFilter(e){if(e&&(e.sort&&(this.sort=e.sort),e.filter)){const t=Pu.convertToArray(e.filter);t.forEach(e=>{e.value=e.selectedOption&&e.type?class{static constructFilter(e,t,n){let r=e;return e&&(t&&"date"===t&&(r=e.startDate&&e.endDate?{min:Object(Bi.startOfDay)(e.startDate.date),max:Object(Bi.startOfDay)(Object(Bi.addDays)(Object(Bi.startOfDay)(e.endDate.date),1))}:{min:e.min?Object(Bi.addDays)(Object(Bi.startOfToday)(),e.min):Object(Bi.startOfToday)(),max:e.max?Object(Bi.addDays)(Object(Bi.endOfToday)(),e.max):Object(Bi.endOfToday)()}),n&&Array.isArray(e)?r=e.map(e=>e&&e.hasOwnProperty("value")?e.value:e):r&&r.hasOwnProperty("value")&&(r=e.value)),r}}.constructFilter(e.selectedOption,e.type):e.value}),this.filter=t}}checkRetainment(e){var t;this.retainSelected=(null===(t=this.selectionOptions)||void 0===t?void 0:t.some(t=>t.label===e))||this.retainSelected}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=r["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})(),kd=(()=>{class e{constructor(e,t){this.element=e,this.ref=t,this.parentScrollAction="close",this.side="default",this.scrollStrategy="reposition",this.width=-1,this.appendToBody=!1,this.toggled=new r.EventEmitter,this.activeIndex=-1,this.filterTerm="",this.clickHandler=this.togglePanel.bind(this),this.closeHandler=this.closePanel.bind(this)}ngOnInit(){this.appendToBody&&cd("'appendToBody' has been deprecated. Please remove this attribute."),this.element.nativeElement.querySelector("button").addEventListener("click",this.clickHandler),this.parentScrollSelector&&(this.parentScrollElement=Pu.findAnce
2303stor(this.element.nativeElement,this.parentScrollSelector))}ngOnDestroy(){const e=this.element.nativeElement.querySelector("button");e&&e.removeEventListener("click",this.clickHandler),this.parentScrollElement&&"close"===this.parentScrollAction&&this.parentScrollElement.removeEventListener("scroll",this.closeHandler)}set items(e){this._items=e,this.activeIndex=-1,this._textItems=e.map(e=>e.element.nativeElement.innerText)}get panelOpen(){return this.overlay&&this.overlay.panelOpen}openPanel(){this.overlay.openPanel(),this.parentScrollElement&&"close"===this.parentScrollAction&&this.parentScrollElement.addEventListener("scroll",this.closeHandler),this.toggled.emit(!0)}closePanel(){this.overlay.closePanel(),this.parentScrollElement&&"close"===this.parentScrollAction&&this.parentScrollElement.removeEventListener("scroll",this.closeHandler),-1!==this.activeIndex&&(this._items.toArray()[this.activeIndex].active=!1),this.activeIndex=-1,this.ref.markForCheck(),this.toggled.emit(!1)}togglePanel(){this.panelOpen?this.closePanel():this.openPanel()}onKeyDown(e){if(this.panelOpen&&e.keyCode===Uu.ESC)Pu.swallowEvent(e),this.closePanel();else if(e.keyCode===Uu.ENTER)Pu.swallowEvent(e),this._items.toArray()[this.activeIndex].onClick(e);else if(e.keyCode===Uu.DOWN){for(Pu.swallowEvent(e),-1!==this.activeIndex&&(this._items.toArray()[this.activeIndex].active=!1),this.activeIndex++,this.activeIndex===this._items.length&&(this.activeIndex=0);this._items.toArray()[this.activeIndex].disabled;)this.activeIndex++,this.activeIndex===this._items.length&&(this.activeIndex=0);this._items.toArray()[this.activeIndex].active=!0,this.scrollToActive()}else if(e.keyCode===Uu.UP){for(Pu.swallowEvent(e),-1!==this.activeIndex&&(this._items.toArray()[this.activeIndex].active=!1),this.activeIndex--,this.activeIndex<0&&(this.activeIndex=this._items.length-1);this._items.toArray()[this.activeIndex].disabled;)this.activeIndex--,this.activeIndex<0&&(this.activeIndex=this._items.length-1);this._items.toArray()[this.activeIndex].active=!0,this.scrollToActive()}else if(e.keyCode>=65&&e.keyCode<=90||e.keyCode>=96&&e.keyCode<=105||e.keyCode>=48&&e.keyCode<=57||e.keyCode===Uu.SPACE){Pu.swallowEvent(e),clearTimeout(this.filterTermTimeout),this.filterTermTimeout=setTimeout(()=>{this.filterTerm=""},2e3),this.filterTerm=this.filterTerm.concat(e.key);const t=this._textItems.findIndex(e=>new RegExp("^"+this.filterTerm.toLowerCase()).test(e.trim().toLowerCase()));-1!==t&&(-1!==this.activeIndex&&(this._items.toArray()[this.activeIndex].active=!1),this.activeIndex=t,this._items.toArray()[this.activeIndex].active=!0,this.scrollToActive())}else[Uu.BACKSPACE,Uu.DELETE].includes(e.keyCode)&&(Pu.swallowEvent(e),clearTimeout(this.filterTermTimeout),this.filterTermTimeout=setTimeout(()=>{this.filterTerm=""},2e3),this.filterTerm=this.filterTerm.slice(0,-1))}onOverlayKeyDown(e){e.keyCode!==Uu.ESC&&e.keyCode!==Uu.ENTER||(Pu.swallowEvent(e),this.closePanel())}scrollToActive(){const e=this.overlay.overlayRef.overlayElement.querySelector(".dropdown-container"),t=this._items.toArray()[this.activeIndex];e&&t&&(e.scrollTop=t.element.nativeElement.offsetTop)}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](r.ElementRef),r["\u0275\u0275directiveInject"](r.ChangeDetectorRef))},e.\u0275cmp=r["\u0275\u0275defineComponent"]({type:e,selectors:[["novo-dropdown"]],viewQuery:function(e,t){var n;1&e&&r["\u0275\u0275viewQuery"](nd,!0),2&e&&r["\u0275\u0275queryRefresh"](n=r["\u0275\u0275loadQuery"]())&&(t.overlay=n.first)},hostBindings:function(e,t){1&e&&r["\u0275\u0275listener"]("keydown",(function(e){return t.onKeyDown(e)}))},inputs:{parentScrollAction:"parentScrollAction",side:"side",scrollStrategy:"scrollStrategy",width:"width",appendToBody:"appendToBody",parentScrollSelector:"parentScrollSelector",containerClass:"containerClass",height:"height"},outputs:{toggled:"toggled"},ngContentSelectors:_s,decls:4,vars:11,consts:[[3,"parent","width","position","scrollStrategy"],[3,"keydown"]],template:function(e,t){1&e&&(r["\u0275\u0275projectionDef"](Ss),r["\u0275\u0275projection"](0,0,["#trigger",""]),r["\u0275\u0275elementStart"](1,"novo-overlay-template",0),r["\u0275\u0275elementStart"](2,"div",1),r["\u0275\u0275listener"]("keydown",(function(e){return t.onOverlayKeyDown(e)})),r["\u0275\u0275projection"](3,1),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"]()),2&e&&(r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("parent",t.element)("width",t.width)("position",t.side)("scrollStrategy",t.scrollStrategy),r["\u0275\u0275advance"](1),r["\u0275\u0275classMapInterpolate1"]("dropdown-container ",t.containerClass,""),r["\u0275\u0275styleProp"]("height",t.height,"px"),r["\u0275\u0275classProp"]("has-height",!!t.height))},directives:[nd],encapsulation:2}),e})(),xd=(()=>{class e{constructor(e,t){this.dropdown=e,this.element=t,this.keepOpen=!1,this.action=new r.EventEmitter,this.active=!1}onClick(e){this.disabled||(this.keepOpen||this.dropdown.closePanel(),this.action.emit({originalEvent:e}))}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](kd),r["\u0275\u0275directiveInject"](r.ElementRef))},e.\u0275cmp=r["\u0275\u0275defineComponent"]({type:e,selectors:[["item"]],hostVars:4,hostBindings:function(e,t){1&e&&r["\u0275\u0275listener"]("click",(function(e){return t.onClick(e)})),2&e&&r["\u0275\u0275classProp"]("disabled",t.disabled)("active",t.active)},inputs:{keepOpen:"keepOpen",disabled:"disabled"},outputs:{action:"action"},ngContentSelectors:ua,decls:1,vars:0,template:function(e,t){1&e&&(r["\u0275\u0275projectionDef"](),r["\u0275\u0275projection"](0))},encapsulation:2}),e})(),Id=(()=>{class e{constructor(e){this.dropdown=e}ngAfterContentInit(){this.dropdown.items=this.items,this.items.changes.subscribe(()=>{this.dropdown.items=this.items})}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](kd))},e.\u0275cmp=r["\u0275\u0275defineComponent"]({type:e,selectors:[["list"]],contentQueries:function(e,t,n){var o;1&e&&r["\u0275\u0275contentQuery"](n,xd,!1),2&e&&r["\u0275\u0275queryRefresh"](o=r["\u0275\u0275loadQuery"]())&&(t.items=o)},ngContentSelectors:ua,decls:1,vars:0,template:function(e,t){1&e&&(r["\u0275\u0275projectionDef"](),r["\u0275\u0275projection"](0))},encapsulation:2}),e})(),Od=(()=>{class e{}return e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},imports:[[rd]]}),e})();const Td={provide:Ui.NG_VALUE_ACCESSOR,useExisting:Object(r.forwardRef)(()=>Ad),multi:!0};let Ad=(()=>{class e{constructor(e,t,n,o,i){this.element=e,this.labels=t,this.ref=n,this.focusMonitor=o,this.ngZone=i,this.placeholder="Select...",this.onSelect=new r.EventEmitter,this.selectedIndex=-1,this.empty=!0,this.header={open:!1,valid:!0,value:""},this.onModelChange=()=>{},this.onModelTouched=()=>{},this.filterTerm="",this.disabled=!1}ngOnInit(){this.focusMonitor.monitor(this.dropdown.nativeElement).subscribe(e=>this.ngZone.run(()=>
2303{"keyboard"!==e||this.disabled||this.openPanel()})),this.ngOnChanges()}ngOnChanges(e){if(this.readonly=!0===this.readonly,this.filteredOptions=this.options&&this.options.length&&"string"==typeof this.options[0]?this.options.map(e=>({value:e,label:e})):(this.options||[]).filter(e=>!e.readOnly).map(e=>Object.assign(Object.assign({},e),{active:!1})),this.model||this.createdItem)if(this.createdItem){const e=this.options.find(e=>e.label===this.createdItem),t=this.options.indexOf(e);this.select(e,t)}else this.writeValue(this.model);else this.clear();this.panelOpen&&this.openPanel()}ngOnDestroy(){this.focusMonitor.stopMonitoring(this.dropdown.nativeElement)}openPanel(){this.overlay.openPanel()}closePanel(){this.overlay.closePanel()}togglePanel(){this.panelOpen?this.closePanel():(setTimeout(()=>{this.dropdown.nativeElement.focus()}),this.openPanel())}get panelOpen(){return this.overlay&&this.overlay.panelOpen}setValueAndClose(e){var t;(null===(t=e.value)||void 0===t?void 0:t.disabled)||(e.value&&e.index>=0&&this.select(e.value,e.index),this.closePanel())}select(e,t,n=!0){this.selected&&(this.selected.active=!1),this.selectedIndex=t,this.selected=e,this.selected.active=!0,this.empty=!1,n&&(this.onModelChange(this.selected.value),this.onSelect.emit({selected:this.selected.value}))}clear(){this.selected&&(this.selected.active=!1),this.selected={label:this.placeholder,value:null,active:!1},this.header={open:!1,valid:!0,value:""},this.selectedIndex=-1,this.empty=!0}onKeyDown(e){if([Uu.UP,Uu.DOWN].includes(e.keyCode)&&e.preventDefault(),[Uu.ESC,Uu.TAB].includes(e.keyCode))this.closePanel();else if(e.keyCode===Uu.ENTER)this.header.open&&this.header.value?this.saveHeader():this.setValueAndClose({value:this.filteredOptions[this.selectedIndex],index:this.selectedIndex});else if(e.keyCode===Uu.UP)this.panelOpen||this.openPanel(),this.selectedIndex>0&&(this.selectedIndex--,this.select(this.filteredOptions[this.selectedIndex],this.selectedIndex),this.scrollToSelected());else if(e.keyCode===Uu.DOWN)this.panelOpen||this.openPanel(),this.selectedIndex<this.filteredOptions.length-1&&(this.selectedIndex++,this.select(this.filteredOptions[this.selectedIndex],this.selectedIndex),this.scrollToSelected(),this.header.open&&this.toggleHeader(null,!1));else if(e.keyCode===Uu.UP&&0===this.selectedIndex)this.panelOpen||this.openPanel(),this.selectedIndex--,this.toggleHeader(null,!0);else if(e.keyCode>=65&&e.keyCode<=90||e.keyCode===Uu.SPACE){e.keyCode===Uu.SPACE&&e.preventDefault(),this.panelOpen||this.openPanel(),clearTimeout(this.filterTermTimeout),this.filterTermTimeout=setTimeout(()=>{this.filterTerm=""},2e3),this.filterTerm=this.filterTerm.concat(e.key).toUpperCase();const t=this.filteredOptions.find(e=>0===e.label.toUpperCase().indexOf(this.filterTerm));t&&(this.select(t,this.filteredOptions.indexOf(t)),this.scrollToSelected())}else[Uu.BACKSPACE,Uu.DELETE].includes(e.keyCode)&&(clearTimeout(this.filterTermTimeout),this.filterTermTimeout=setTimeout(()=>{this.filterTerm=""},2e3),this.filterTerm=this.filterTerm.slice(0,-1))}scrollToSelected(){this.scrollToIndex(this.selectedIndex)}scrollToIndex(e){const t=this.overlay.overlayRef.overlayElement.querySelector(".novo-select-list"),n=t.querySelectorAll("li")[this.headerConfig?e+1:e];n&&(t.scrollTop=n.offsetTop)}toggleHeader(e,t=!1){e&&(e.stopPropagation(),e.preventDefault()),this.header={open:void 0!==t?t:!this.header.open,value:"",valid:!0}}highlight(e,t){return t?e.replace(new RegExp(this.escapeRegexp(t),"gi"),"<strong>$&</strong>"):e}escapeRegexp(e){return e.replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1")}saveHeader(){this.header.value?(this.headerConfig.onSave(this.header.value),this.createdItem=this.header.value,this.closePanel()):this.header.valid=!1}writeValue(e){if(this.model=e,this.options){let t=this.filteredOptions.find(t=>t.value===e||e&&t.value===e.id)||this.options.find(t=>t.value===e||e&&t.value===e.id);t||Pu.isEmpty(e)||(t={label:e,value:e},t.readOnly||this.options.unshift(t)),t?(this.select(t,this.filteredOptions.indexOf(t),!1),this.empty=!1):this.clear()}this.ref.markForCheck()}registerOnChange(e){this.onModelChange=e}registerOnTouched(e){this.onModelTouched=e}setDisabledState(e){this.disabled=e}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](r.ElementRef),r["\u0275\u0275directiveInject"](ju),r["\u0275\u0275directiveInject"](r.ChangeDetectorRef),r["\u0275\u0275directiveInject"](Ji),r["\u0275\u0275directiveInject"](r.NgZone))},e.\u0275cmp=r["\u0275\u0275defineComponent"]({type:e,selectors:[["novo-select"]],viewQuery:function(e,t){var n;1&e&&(r["\u0275\u0275staticViewQuery"](nd,!0),r["\u0275\u0275staticViewQuery"](Es,!0)),2&e&&(r["\u0275\u0275queryRefresh"](n=r["\u0275\u0275loadQuery"]())&&(t.overlay=n.first),r["\u0275\u0275queryRefresh"](n=r["\u0275\u0275loadQuery"]())&&(t.dropdown=n.first))},hostBindings:function(e,t){1&e&&r["\u0275\u0275listener"]("keydown",(function(e){return t.onKeyDown(e)}))},inputs:{placeholder:"placeholder",readonly:"readonly",name:"name",options:"options",headerConfig:"headerConfig"},outputs:{onSelect:"onSelect"},features:[r["\u0275\u0275ProvidersFeature"]([Td]),r["\u0275\u0275NgOnChangesFeature"]],ngContentSelectors:ua,decls:9,vars:11,consts:[["type","button",3,"tabIndex","click"],["dropdownElement",""],[1,"bhi-collapse"],["position","center",3,"parent","closing"],["tabIndex","-1",1,"novo-select-list"],["class","select-header",3,"open",4,"ngIf"],[3,"ngClass","tooltip","tooltipPosition","click",4,"ngFor","ngForOf"],[1,"select-header"],["tabIndex","-1","type","button","class","header",3,"click",4,"ngIf"],[3,"ngClass",4,"ngIf"],["tabIndex","-1","type","button",1,"header",3,"click"],[1,"bhi-add-thin"],[3,"ngClass"],["autofocus","","type","text","autocomplete","false",3,"placeholder","ngModel","ngClass","ngModelChange"],[3,"click"],[1,"primary",3,"click"],[3,"ngClass","tooltip","tooltipPosition","click"],[3,"innerHtml"],["class","bhi-check",4,"ngIf"],[1,"bhi-check"]],template:function(e,t){1&e&&(r["\u0275\u0275projectionDef"](),r["\u0275\u0275elementStart"](0,"div",0,1),r["\u0275\u0275listener"]("click",(function(){return t.togglePanel(),!1})),r["\u0275\u0275text"](2),r["\u0275\u0275element"](3,"i",2),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementStart"](4,"novo-overlay-template",3),r["\u0275\u0275listener"]("closing",(function(){return t.dropdown.nativeElement.focus()})),r["\u0275\u0275elementStart"](5,"ul",4),r["\u0275\u0275projection"](6),r["\u0275\u0275template"](7,Os,3,4,"li",5),r["\u0275\u0275template"](8,Ps,3,9,"li",6),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"]()),2&e&&(r["\u0275\u0275classProp"]("empty",t.empty),r["\u0275\u0275propertyInterpolate"]("tabIndex",t.disabled?-1:0),r["\u0275\u0275advance"](2),r["\u0275\u0275textInterpolate1"](" ",t.selected.label,""),r["\u0275\u0275advance"](2),r["\u0275\u0275property"]("parent",t.element),r["\u0275\u0275advance"](1),r["\u0275\u0275classProp"]("header",t.headerConfig)("active",t.panelOpen),r["\u0275\u0275advance"](2),r["\u0275\u0275property"]("ngIf",t.headerConfig),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngForOf",t.filteredOptions))},directives:[nd,i.m,i.l,i.k,Ui.DefaultValueAccessor,Ui.NgControlStatus,Ui.NgModel,Tu],encapsulation:2}),e})(),Pd=(()=>{class e{}return e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},imports:[[i.c,Ui.FormsModule,ea,rd,Au]]}),e})();
2303const Dd=[{code:"US",id:1,name:"United States",states:[{code:"AL",name:"Alabama"},{code:"AK",name:"Alaska"},{code:"AZ",name:"Arizona"},{code:"AR",name:"Arkansas"},{code:"CA",name:"California"},{code:"CO",name:"Colorado"},{code:"CT",name:"Connecticut"},{code:"DE",name:"Delaware"},{code:"DC",name:"District Of Columbia"},{code:"FL",name:"Florida"},{code:"GA",name:"Georgia"},{code:"GU",name:"Guam"},{code:"HI",name:"Hawaii"},{code:"ID",name:"Idaho"},{code:"IL",name:"Illinois"},{code:"IN",name:"Indiana"},{code:"IA",name:"Iowa"},{code:"KS",name:"Kansas"},{code:"KY",name:"Kentucky"},{code:"LA",name:"Louisiana"},{code:"ME",name:"Maine"},{code:"MH",name:"Marshall Islands"},{code:"MD",name:"Maryland"},{code:"MA",name:"Massachusetts"},{code:"MI",name:"Michigan"},{code:"MN",name:"Minnesota"},{code:"MS",name:"Mississippi"},{code:"MO",name:"Missouri"},{code:"MT",name:"Montana"},{code:"NE",name:"Nebraska"},{code:"NV",name:"Nevada"},{code:"NH",name:"New Hampshire"},{code:"NJ",name:"New Jersey"},{code:"NM",name:"New Mexico"},{code:"NY",name:"New York"},{code:"NC",name:"North Carolina"},{code:"ND",name:"North Dakota"},{code:"MP",name:"Northern Mariana Islands"},{code:"OH",name:"Ohio"},{code:"OK",name:"Oklahoma"},{code:"OR",name:"Oregon"},{code:"PW",name:"Palau"},{code:"PA",name:"Pennsylvania"},{code:"PR",name:"Puerto Rico"},{code:"RI",name:"Rhode Island"},{code:"SC",name:"South Carolina"},{code:"SD",name:"South Dakota"},{code:"TN",name:"Tennessee"},{code:"TX",name:"Texas"},{code:"UT",name:"Utah"},{code:"VT",name:"Vermont"},{code:"VI",name:"Virgin Islands"},{code:"VA",name:"Virginia"},{code:"WA",name:"Washington"},{code:"WV",name:"West Virginia"},{code:"WI",name:"Wisconsin"},{code:"WY",name:"Wyoming"}]},{code:"UK",id:2359,name:"United Kingdom",states:[{code:"ABD",name:"Aberdeenshire"},{code:"ALD",name:"Alderney"},{code:"ANS",name:"Angus"},{code:"ANN",name:"Antrim and Newtownabbey"},{code:"AGB",name:"Argyllshire"},{code:"ABC",name:"Armagh"},{code:"EAY",name:"Ayrshire"},{code:"BLA",name:"Ballymena"},{code:"BAY",name:"Ballymoney"},{code:"BNB",name:"Banbridge"},{code:"BAN",name:"Banffshire"},{code:"BDF",name:"Bedfordshire"},{code:"BFS",name:"Belfast"},{code:"BRK",name:"Berkshire"},{code:"BGW",name:"Blaenau Gwent"},{code:"SCB",name:"Borders"},{code:"BGE",name:"Bridgend"},{code:"BST",name:"Bristol"},{code:"BKM",name:"Buckinghamshire"},{code:"CAY",name:"Caerphilly"},{code:"CAI",name:"Caithness"},{code:"CAM",name:"Cambridgeshire"},{code:"CRF",name:"Cardiff"},{code:"CMN",name:"Carmarthenshire"},{code:"CKF",name:"Carrickfergus"},{code:"CAS",name:"Castlereagh"},{code:"CGN",name:"Ceredigion"},{code:"CHE",name:"Cheshire"},{code:"CLK",name:"Clackmannanshire"},{code:"CLR",name:"Coleraine"},{code:"CWY",name:"Conwy"},{code:"CKT",name:"Cookstown"},{code:"CON",name:"Cornwall"},{code:"DUR",name:"County Durham"},{code:"DRS",name:"County Londonderry"},{code:"CRA",name:"Craigavon"},{code:"CMA",name:"Cumbria"},{code:"DEN",name:"Denbighshire"},{code:"DBY",name:"Derbyshire"},{code:"DEV",name:"Devon"},{code:"DOR",name:"Dorset"},{code:"EDU",name:"Dumbartonshire"},{code:"DGY",name:"Dumfries and Galloway"},{code:"DGN",name:"Dungannon and South Tyrone"},{code:"ELN",name:"East Lothian"},{code:"ESX",name:"East Sussex"},{code:"ERY",name:"East Yorkshire"},{code:"ESS",name:"Essex"},{code:"FMO",name:"Fermanagh and Omagh"},{code:"FIF",name:"Fife"},{code:"FLN",name:"Flintshire"},{code:"GLG",name:"Glasgow"},{code:"GLS",name:"Gloucestershire"},{code:"LND",name:"Greater London"},{code:"MAN",name:"Greater Manchester"},{code:"GSY",name:"Guernsey"},{code:"GWN",name:"Gwynedd"},{code:"HAM",name:"Hampshire"},{code:"HEF",name:"Herefordshire"},{code:"HRM",name:"Herm"},{code:"HRT",name:"Hertfordshire"},{code:"HLD",name:"Highland"},{code:"INV",name:"Inverness-shire"},{code:"AGY",name:"Isle of Anglesey"},{code:"IOM",name:"Isle of Man"},{code:"IOW",name:"Isle of Wight"},{code:"JSY",name:"Jersey"},{code:"KEN",name:"Kent"},{code:"KCD",name:"Kincardineshire"},{code:"KKD",name:"Kirkcudbrightshire"},{code:"LAN",name:"Lancashire"},{code:"LRN",name:"Larne"},{code:"LEC",name:"Leicestershire"},{code:"LMV",name:"Limavady"},{code:"LIN",name:"Lincolnshire"},{code:"LBC",name:"Lisburn and Castlereagh"},{code:"MFT",name:"Magherafelt"},{code:"MER",name:"Merseyside"},{code:"MTY",name:"Merthyr Tydfil"},{code:"MLN",name:"Midlothian"},{code:"MON",name:"Monmouthshire"}
2303,{code:"MRY",name:"Morayshire"},{code:"MYL",name:"Moyle"},{code:"NAI",name:"Nairn"},{code:"NTL",name:"Neath Port Talbot"},{code:"NWP",name:"Newport"},{code:"NMD",name:"Newry, Mourne and Down"},{code:"NFK",name:"Norfolk"},{code:"AND",name:"North Down and Ards"},{code:"NLK",name:"North Lanarkshire"},{code:"NYK",name:"North Yorkshire"},{code:"NTH",name:"Northamptonshire"},{code:"NBL",name:"Northumberland"},{code:"NTT",name:"Nottinghamshire"},{code:"OMA",name:"Omagh"},{code:"ORK",name:"Orkney Islands"},{code:"OXF",name:"Oxfordshire"},{code:"PEM",name:"Pembrokeshire"},{code:"PKN",name:"Perth and Kinross"},{code:"PER",name:"Perthshire and Kinross"},{code:"POW",name:"Powys"},{code:"RCC",name:"Redcar and Cleveland"},{code:"RFW",name:"Renfrewshire"},{code:"RCT",name:"Rhondda Cynon Taff"},{code:"RUT",name:"Rutland"},{code:"SRK",name:"Sark"},{code:"ZET",name:"Shetland Islands"},{code:"SHR",name:"Shropshire"},{code:"SOM",name:"Somerset"},{code:"SLK",name:"South Lanarkshire"},{code:"SYK",name:"South Yorkshire"},{code:"STS",name:"Staffordshire"},{code:"STG",name:"Stirlingshire"},{code:"STR",name:"Strabane"},{code:"SFK",name:"Suffolk"},{code:"SRY",name:"Surrey"},{code:"SSX",name:"Sussex"},{code:"SUT",name:"Sutherland"},{code:"SWA",name:"Swansea"},{code:"TOF",name:"Torfaen"},{code:"TWR",name:"Tyne and Wear"},{code:"VGL",name:"Vale of Glamorgan"},{code:"WAR",name:"Warwickshire"},{code:"WLN",name:"West Lothian"},{code:"WMD",name:"West Midlands"},{code:"WSX",name:"West Sussex"},{code:"WRY",name:"West Yorkshire"},{code:"ELS",name:"Western Isles"},{code:"WIL",name:"Wiltshire"},{code:"WOR",name:"Worcestershire"},{code:"WRX",name:"Wrexham"}]},{code:"AF",id:2185,name:"Afghanistan",states:[{code:"AF01",name:"Badakhshan"},{code:"AF02",name:"Badghis"},{code:"AF03",name:"Baghlan"},{code:"AF30",name:"Balkh"},{code:"AF05",name:"Bamian"},{code:"AF41",name:"Daikondi"},{code:"AF06",name:"Farah"},{code:"AF07",name:"Faryab"},{code:"AF08",name:"Ghazni"},{code:"AF09",name:"Ghowr"},{code:"AF10",name:"Helmand"},{code:"AF11",name:"Herat"},{code:"AF31",name:"Jowzjan"},{code:"AF13",name:"Kabul"},{code:"AF23",name:"Kandahar"},{code:"AF14",name:"Kapisa"},{code:"AF37",name:"Khowst"},{code:"AF34",name:"Konar"},{code:"AF24",name:"Kondoz"},{code:"AF35",name:"Laghman"},{code:"AF17",name:"Lowgar"},{code:"AF18",name:"Nangarhar"},{code:"AF19",name:"Nimruz"},{code:"AF38",name:"Nurestan"},{code:"AF39",name:"Oruzgan"},{code:"AF36",name:"Paktia"},{code:"AF29",name:"Paktika"},{code:"AF42",name:"Panjshir"},{code:"AF40",name:"Parvan"},{code:"AF32",name:"Samangan"},{code:"AF33",name:"Sar-e Pol"},{code:"AF26",name:"Takhar"},{code:"AF27",name:"Vardak"},{code:"AF28",name:"Zabol"}]}
2303,{code:"AX",id:2407,name:"\xc5land Islands",states:[]},{code:"AL",id:2186,name:"Albania",states:[]},{code:"DZ",id:2187,name:"Algeria",states:[{code:"DZ.AR",name:"Adrar"},{code:"DZ.AD",name:"A\xefn Defla"},{code:"DZ.AT",name:"A\xefn T\xe9mouchent"},{code:"DZ.AL",name:"Algiers"},{code:"DZ.AN",name:"Annaba"},{code:"DZ.BT",name:"Batna"},{code:"DZ.BC",name:"B\xe9char"},{code:"DZ.BJ",name:"B\xe9ja\xefa"},{code:"DZ.BS",name:"Biskra"},{code:"DZ.BL",name:"Blida"},{code:"DZ.BB",name:"Bordj Bou Arr\xe9ridj"},{code:"DZ.BU",name:"Bouira"},{code:"DZ.BM",name:"Boumerd\xe8s"},{code:"DZ.CH",name:"Chlef"},{code:"DZ.CO",name:"Constantine"},{code:"DZ.DJ",name:"Djelfa"},{code:"DZ.EB",name:"El Bayadh"},{code:"DZ.EO",name:"El Oued"},{code:"DZ.ET",name:"El Tarf"},{code:"DZ.GR",name:"Gharda\xefa"},{code:"DZ.GL",name:"Guelma"},{code:"DZ.IL",name:"Illizi"},{code:"DZ.JJ",name:"Jijel"},{code:"DZ.KH",name:"Khenchela"},{code:"DZ.LG",name:"Laghouat"},{code:"DZ.MC",name:"Mascara"},{code:"DZ.MD",name:"M\xe9d\xe9a"},{code:"DZ.ML",name:"Mila"},{code:"DZ.MG",name:"Mostaganem"},{code:"DZ.MS",name:"Msila"},{code:"DZ.NA",name:"Naama"},{code:"DZ.OR",name:"Oran"},{code:"DZ.OG",name:"Ouargla"},{code:"DZ.OB",name:"Oum el Bouaghi"},{code:"DZ.RE",name:"Relizane"},{code:"DZ.SD",name:"Sa\xefda"},{code:"DZ.SF",name:"S\xe9tif"},{code:"DZ.SB",name:"Sidi Bel Abb\xe8s"},{code:"DZ.SK",name:"Skikda"},{code:"DZ.SA",name:"Souk Ahras"},{code:"DZ.TM",name:"Tamanrasset"},{code:"DZ.TB",name:"T\xe9bessa"},{code:"DZ.TR",name:"Tiaret"},{code:"DZ.TN",name:"Tindouf"},{code:"DZ.TP",name:"Tipaza"},{code:"DZ.TS",name:"Tissemsilt"},{code:"DZ.TO",name:"Tizi Ouzou"},{code:"DZ.TL",name:"Tlemcen"}]},{code:"AS",id:2408,name:"American Samoa",states:[]},{code:"AD",id:2188,name:"Andorra",states:[]},{code:"AO",id:2189,name:"Angola",states:[{code:"AO19",name:"Bengo"},{code:"AO01",name:"Benguela"},{code:"AO02",name:"Bi\xe9"},{code:"AO03",name:"Cabinda"},{code:"AO04",name:"Cuando Cubango"},{code:"AO05",name:"Cuanza Norte"},{code:"AO06",name:"Cuanza Sul"},{code:"AO07",name:"Cunene"},{code:"AO08",name:"Huambo"},{code:"AO09",name:"Hu\xedla"},{code:"AO20",name:"Luanda"},{code:"AO17",name:"Lunda Norte"},{code:"AO18",name:"Lunda Sul"},{code:"AO12",name:"Malanje"},{code:"AO14",name:"Moxico"},{code:"AO13",name:"Namibe"},{code:"AO15",name:"U\xedge"},{code:"AO16",name:"Zaire"}]},{code:"AI",id:2409,name:"Anguilla",states:[]},{code:"AQ",id:2190,name:"Antarctica",states:[]},{code:"AG",id:2191,name:"Antigua and Barbuda",states:[]},{code:"AR",id:2192,name:"Argentina",states:[{code:"AR01",name:"Buenos Aires"},{code:"AR02",name:"Catamarca"},{code:"AR03",name:"Chaco"},{code:"AR04",name:"Chubut"},{code:"AR07",name:"Ciudad de Buenos Aires"},{code:"AR05",name:"C\xf3rdoba"},{code:"AR06",name:"Corrientes"},{code:"AR08",name:"Entre R\xedos"},{code:"AR09",name:"Formosa"},{code:"AR10",name:"Jujuy"},{code:"AR11",name:"La Pampa"},{code:"AR12",name:"La Rioja"},{code:"AR13",name:"Mendoza"},{code:"AR14",name:"Misiones"},{code:"AR15",name:"Neuqu\xe9n"},{code:"AR16",name:"R\xedo Negro"},{code:"AR17",name:"Salta"},{code:"AR18",name:"San Juan"},{code:"AR19",name:"San Luis"},{code:"AR20",name:"Santa Cruz"},{code:"AR21",name:"Santa Fe"},{code:"AR22",name:"Santiago del Estero"},{code:"AR23",name:"Tierra del Fuego"},{code:"AR24",name:"Tucum\xe1n"}]},{code:"AM",id:2193,name:"Armenia",states:[]},{code:"AB",id:2373,name:"Aruba",states:[{code:"AW.AA",name:"Aruba"}]},{code:"AU",id:2194,name:"Australia",states:[{code:"ACT",name:"Australian Capital Territory"},{code:"NSW",name:"New South Wales"},{code:"NT",name:"Northern Territory"},{code:"QLD",name:"Queensland"},{code:"SA",name:"South Australia"},{code:"TAS",name:"Tasmania"},{code:"VIC",name:"Victoria"},{code:"WA",name:"Western Australia"}]},{code:"AT",id:2195,name:"Austria",states:[{code:"AU01",name:"Burgenland"},{code:"AU02",name:"Carinthia"},{code:"AU03",name:"Lower Austria"},{code:"AU05",name:"Salzburg"},{code:"AU06",name:"Styria"},{code:"AU07",name:"Tyrol"},{code:"AU04",name:"Upper Austria"},{code:"AU09",name:"Vienna"},{code:"AU08",name:"Vorarlberg"}]},{code:"AZ",id:2196,name:"Azerbaijan",states:[{code:"AZ-ABS",name:"Absheron"},{code:"AZ-AGM",name:"Aghdam"},{code:"AZ-AGS",name:"Aghdash"},{code:"AZ-AGC",name:"Aghjabedi"},{code:"AZ-AGA",name:"Aghstafa"},{code:"AZ-AGU",name:"Aghsu"},{code:"AZ-AB",name:"Ali-Bairamly"},{code:"AZ-AST",name:"Astara"},{code:"AZ-BAB",name:"Babek"},{code:"AZ-BA",name:"Baku"},{code:"AZ-BAL",name:"Balaken"},{code:"AZ-BAR",name:"Barda"},{code:"AZ-BEY",name:"Beilagan"},{code:"AZ-BIL",name:"Bilasuvar"},{code:"AZ-DAS",name:"Dashkesan"},{code:"AZ-DAV",name:"Devechi"},{code:"AZ-FUZ",name:"Fizuli"},{code:"AZ-QAB",name:"Gabala"},{code:"AZ-GAD",name:"Gadabey"},{code:"AZ-QAX",name:"Gakh"},{code:"AZ-GA",name:"Ganja"},{code:"AZ-QAZ",name:"Gazakh"},{code:"AZ-GOR",name:"Geranboy"},{code:"AZ-QOB",name:"Gobustan"},{code:"AZ-GOY",name:"Goychay"},{code:"AZ-QBA",name:"Guba"},{code:"AZ-QBI",name:"Gubadly"},{code:"AZ-QUS",name:"Gusar"},{code:"AZ-HAC",name:"Hacuqabul"},{code:"AZ-IMI",name:"Imishli"},{code:"AZ-ISM",name:"Ismailly"},{code:"AZ-CAL",name:"Jalilabad"},{code:"AZ-CAB",name:"Jebrail"},{code:"AZ-CUL",name:"Julfa"},{code:"AZ-KAL",name:"Kelbajar"},{code:"AZ-XAC",name:"Khachmaz"}
2303,{code:"AZ-XA",name:"Khankendy"},{code:"AZ-XAN",name:"Khanlar"},{code:"AZ-XCI",name:"Khojaly"},{code:"AZ-XVD",name:"Khojavend"},{code:"AZ-XIZ",name:"Khyzy"},{code:"AZ-KUR",name:"Kyurdamir"},{code:"AZ-LAC",name:"Lachin"},{code:"AZ-LAN",name:"Lenkaran"},{code:"AZ-LA",name:"Lenkaran"},{code:"AZ-LER",name:"Lerik"},{code:"AZ-MAS",name:"Masally"},{code:"AZ-MI",name:"Mingechevir"},{code:"AZ-NA",name:"Naftalan"},{code:"AZ-NX",name:"Nakhchivan"},{code:"AZ-NEF",name:"Neftchala"},{code:"AZ-OGU",name:"Oghuz"},{code:"AZ-ORD",name:"Ordubad"},{code:"AZ-SAT",name:"Saatly"},{code:"AZ-SAB",name:"Sabirabad"},{code:"AZ-SAL",name:"Salyan"},{code:"AZ-SMX",name:"Samuh"},{code:"AZ-SAD",name:"Sedarak"},{code:"AZ-SAH",name:"Shahbuz"},{code:"AZ-SMI",name:"Shamakhy"},{code:"AZ-SKR",name:"Shamkir"},{code:"AZ-SAK",name:"Sheki"},{code:"AZ-SA",name:"Sheki"},{code:"AZ-SAR",name:"Sherur"},{code:"AZ-SS",name:"Shusha"},{code:"AZ-SUS",name:"Shusha"},{code:"AZ-SIY",name:"Siazan"},{code:"AZ-SM",name:"Sumgayit"},{code:"AZ-TAR",name:"Terter"},{code:"AZ-TOV",name:"Tovuz"},{code:"AZ-UCA",name:"Ujar"},{code:"AZ-YAR",name:"Yardymly"},{code:"AZ-YE",name:"Yevlakh"},{code:"AZ-YEV",name:"Yevlakh"},{code:"AZ-ZAQ",name:"Zagatala"},{code:"AZ-ZAN",name:"Zangilan"},{code:"AZ-ZAR",name:"Zerdab"}]},{code:"BS",id:2197,name:"Bahamas",states:[{code:"BF24",name:"Acklins"},{code:"BF32",name:"Berry Islands"},{code:"BF05",name:"Bimini"},{code:"BF36",name:"Black Point"},{code:"BF06",name:"Cat Island"},{code:"BF37",name:"Central Abaco"},{code:"BF38",name:"Central Andros"},{code:"BF39",name:"Central Eleuthera"},{code:"BF25",name:"City of Freeport"},{code:"BF40",name:"Crooked Island"},{code:"BF41",name:"East Grand Bahama"},{code:"BF10",name:"Exuma"},{code:"BF42",name:"Grand Cay"},{code:"BS.GT\t",name:"Green Turtle Cay"},{code:"BF22",name:"Harbour Island"},{code:"BF43",name:"Hope Town"},{code:"BF13",name:"Inagua"},{code:"BF15",name:"Long Island"},{code:"BF44",name:"Mangrove Cay"},{code:"BF16",name:"Mayaguana"},{code:"BF45",name:"Moore's Island"},{code:"BS.NW",name:"New Providence"},{code:"BF46",name:"North Abaco"},{code:"BF47",name:"North Andros"},{code:"BF48",name:"North Eleuthera"},{code:"BF18",name:"Ragged Island"},{code:"BF49",name:"Rum Cay"},{code:"BF35",name:"San Salvador"},{code:"BF50",name:"South Abaco"},{code:"BF51",name:"South Andros"},{code:"BF52",name:"South Eleuthera"},{code:"BF53",name:"Spanish Wells"},{code:"BF54",name:"West Grand Bahama"}]},{code:"BH",id:2198,name:"Bahrain",states:[{code:"BA16",name:"Capital"},{code:"BA19",name:"Central"},{code:"BA15",name:"Muharraq"},{code:"BA18",name:"Northern"},{code:"BA17",name:"Southern"}]},{code:"BD",id:2199,name:"Bangladesh",states:[{code:"BG85",name:"Barisal"},{code:"BG84",name:"Chittagong"},{code:"BG81",name:"Dhaka"},{code:"BG82",name:"Khulna"},{code:"BG81",name:"Mymensingh"},{code:"BG83",name:"Rajshahi"},{code:"BG87",name:"Rangpur"},{code:"BG86",name:"Sylhet"}]},{code:"BB",id:2200,name:"Barbados",states:[{code:"BB01",name:"Christ Church"},{code:"BB02",name:"Saint Andrew"},{code:"BB03",name:"Saint George"},{code:"BB04",name:"Saint James"},{code:"BB05",name:"Saint John"},{code:"BB06",name:"Saint Joseph"},{code:"BB07",name:"Saint Lucy"},{code:"BB08",name:"Saint Michael"},{code:"BB09",name:"Saint Peter"},{code:"BB10",name:"Saint Philip"},{code:"BB11",name:"Saint Thomas"}]},{code:"BY",id:2201,name:"Belarus",states:[{code:"BO01",name:"Brest"},{code:"BO02",name:"Gomel"},{code:"BO03",name:"Grodno"},{code:"BO05",name:"Minsk"},{code:"BO04",name:"Minsk City"},{code:"BO06",name:"Mogilev"},{code:"BO07",name:"Vitebsk"}]},{code:"BE",id:2202,name:"Belgium",states:[{code:"BE01",name:"Antwerpen Province"},{code:"BE11",name:"Brussels-Capital Region"},{code:"BE12",name:"Flemish Brabant Province"},{code:"BE03",name:"Hainaut Province"},{code:"BE04",name:"Liege Province"},{code:"BE05",name:"Limburg Province"},{code:"BE06",name:"Luxembourg Province"},{code:"BE07",name:"Namur Province"},{code:"BE08",name:"Oost-Vlaanderen Province"},{code:"BE10",name:"Walloon Brabant Province"},{code:"BE09",name:"West-Vlaanderen Province"}]}
2303,{code:"BZ",id:2203,name:"Belize",states:[]},{code:"BJ",id:2204,name:"Benin",states:[{code:"BN07",name:"Alibori"},{code:"BN08",name:"Atacora"},{code:"BN09",name:"Atlantique"},{code:"BN10",name:"Borgou"},{code:"BN11",name:"Collines"},{code:"BN12",name:"Couffo"},{code:"BN13",name:"Donga"},{code:"BN14",name:"Littoral"},{code:"BN15",name:"Mono"},{code:"BN16",name:"Ou\xe9m\xe9"},{code:"BN17",name:"Plateau"},{code:"BN18",name:"Zou"}]},{code:"BU",id:2372,name:"Bermuda",states:[{code:"BM.BD",name:"Bermuda"},{code:"BD01",name:"Devonshire"},{code:"BD03",name:"Hamilton municipality"},{code:"BD02",name:"Hamilton"},{code:"BD04",name:"Paget"},{code:"BD05",name:"Pembroke"},{code:"BD06",name:"Saint George municipality"},{code:"BD07",name:"Saint George's"},{code:"BD08",name:"Sandys"},{code:"BD09",name:"Smiths"},{code:"BD10",name:"Southampton"},{code:"BD11",name:"Warwick"}]},{code:"BT",id:2205,name:"Bhutan",states:[]},{code:"BO",id:2206,name:"Bolivia; Plurinational State",states:[{code:"BL01",name:"Chuquisaca"},{code:"BL02",name:"Cochabamba"},{code:"BL03",name:"El Beni"},{code:"BL04",name:"La Paz"},{code:"BL05",name:"Oruro"},{code:"BL06",name:"Pando"},{code:"BL07",name:"Potos\xed"},{code:"BL08",name:"Santa Cruz"},{code:"BL09",name:"Tarija"}]},{code:"BQ",id:2449,name:"Bonaire",states:[{code:"BQ.BO",name:"Bonaire"},{code:"BQ.SB",name:"Saba"},{code:"BQ.SE",name:"Sint Eustatius"}]},{code:"BA",id:2207,name:"Bosnia and Herzegovina",states:[{code:"BA-05",name:"Bosansko-podrinjski kanton"},{code:"BA-BRC",name:"Brcko distrikt"},{code:"BA-BIH",name:"Federacija Bosna i Hercegovina"},{code:"BA-07",name:"Hercegovacko-neretvanski kanton"},{code:"BA-09",name:"Kanton Sarajevo"},{code:"BA-10",name:"Livanjski kanton"},{code:"BA-02",name:"Posavski kanton"},{code:"BA-SRP",name:"Republika Srpska"}
2303,{code:"BA-06",name:"Srednjobosanski kanton"},{code:"BA-03",name:"Tuzlanski kanton"},{code:"BA-01",name:"Unsko-sanski kanton"},{code:"BA-08",name:"Zapadnohercegovacki kanton"},{code:"BA-04",name:"Zenicko-dobojski kanton"}]},{code:"BW",id:2208,name:"Botswana",states:[{code:"BC01",name:"Central"},{code:"BC12",name:"Chobe"},{code:"BC13",name:"Francistown"},{code:"BC14",name:"Gaborone"},{code:"BC03",name:"Ghanzi"},{code:"BC15",name:"Jwaneng"},{code:"BC04",name:"Kgalagadi"},{code:"BC05",name:"Kgatleng"},{code:"BC06",name:"Kweneng"},{code:"BC16",name:"Lobatse"},{code:"BC08",name:"North-East"},{code:"BC11",name:"North-West"},{code:"BC17",name:"Selibe Phikwe"},{code:"BC09",name:"South East"},{code:"BC10",name:"Southern"},{code:"BC18",name:"Sowa Town"}]},{code:"BV",id:2410,name:"Bouvet Island",states:[]},{code:"BR",id:2209,name:"Brazil",states:[{code:"AC",name:"Acre"},{code:"AL",name:"Alagoas"},{code:"AP",name:"Amap\xe1"},{code:"AM",name:"Amazonas"},{code:"BA",name:"Bahia"},{code:"CE",name:"Cear\xe1"},{code:"DF",name:"Distrito Federal"},{code:"ES",name:"Esp\xedrito Santo"},{code:"GO",name:"Goi\xe1s"},{code:"MA",name:"Maranh\xe3o"},{code:"MT",name:"Mato Grosso"},{code:"MS",name:"Mato Grosso do Sul"},{code:"MG",name:"Minas Gerais"},{code:"PA",name:"Par\xe1"},{code:"PR",name:"Paran\xe1"},{code:"PB",name:"Para\xedba"},{code:"PE",name:"Pernambuco"},{code:"PI",name:"Piau\xed"},{code:"RN",name:"Rio Grande do Norte"},{code:"RS",name:"Rio Grande do Sul"},{code:"RJ",name:"Rio de Janeiro"},{code:"RO",name:"Rond\xf4nia"},{code:"RR",name:"Roraima"},{code:"SC",name:"Santa Catarina"},{code:"SP",name:"S\xe3o Paulo"},{code:"SE",name:"Sergipe"},{code:"TO",name:"Tocantins"}]},{code:"IO",id:2411,name:"British Indian Ocean Territory",states:[]},{code:"BN",id:2210,name:"Brunei Darussalam",states:[{code:"BX01",name:"Amo"},{code:"BX02",name:"Bandar Seri Begawan"},{code:"BX03",name:"Bangar"},{code:"BX04",name:"Batu Apoi"},{code:"BX05",name:"Berakas"},{code:"BX06",name:"Bokok"},{code:"BX07",name:"Bukit Sawat"},{code:"BX08",name:"Burong Pinggai Ayer"},{code:"BX09",name:"Gadong"},{code:"BX10",name:"Keriam"},{code:"BX11",name:"Kianggeh"},{code:"BX12",name:"Kilanas"},{code:"BX13",name:"Kiudang"},{code:"BX14",name:"Kota Batu"},{code:"BX15",name:"Kuala Balai"},{code:"BX16",name:"Kuala Belait"},{code:"BX17",name:"Labi"}
2303,{code:"BX18",name:"Labu"},{code:"BX19",name:"Lamunin"},{code:"BX20",name:"Liang"},{code:"BX21",name:"Lumapas"},{code:"BX22",name:"Melilas"},{code:"BX23",name:"Mentiri"},{code:"BX24",name:"Pekan Tutong"},{code:"BX25",name:"Pengkalan Batu"},{code:"BX26",name:"Peramu"},{code:"BX27",name:"Rambai"},{code:"BX28",name:"Saba"},{code:"BX29",name:"Sengkurong"},{code:"BX30",name:"Serasa"},{code:"BX31",name:"Seria"},{code:"BX32",name:"Sukang"},{code:"BX33",name:"Sungai Kebun"},{code:"BX34",name:"Sungai Kedayan"},{code:"BX35",name:"Tamoi"},{code:"BX36",name:"Tanjong Maya"},{code:"BX37",name:"Telisai"},{code:"BX38",name:"Ukong"}]},{code:"BG",id:2211,name:"Bulgaria",states:[{code:"BU38",name:"Blagoevgrad"},{code:"BU39",name:"Burgas"},{code:"BU40",name:"Dobrich"},{code:"BU41",name:"Gabrovo"},{code:"BU42",name:"Grad Sofiya"},{code:"BU43",name:"Khaskovo"},{code:"BU44",name:"Kurdzhali"},{code:"BU45",name:"Kyustendil"},{code:"BU46",name:"Lovech"},{code:"BU47",name:"Montana"},{code:"BU48",name:"Pazardzhik"},{code:"BU49",name:"Pernik"},{code:"BU50",name:"Pleven"},{code:"BU51",name:"Plovdiv"},{code:"BU52",name:"Razgrad"},{code:"BU53",name:"Ruse"},{code:"BU54",name:"Shumen"}
2303,{code:"BU55",name:"Silistra"},{code:"BU56",name:"Sliven"},{code:"BU57",name:"Smolyan"},{code:"BU58",name:"Sofiya"},{code:"BU59",name:"Stara Zagora"},{code:"BU60",name:"Turgovishte"},{code:"BU61",name:"Varna"},{code:"BU62",name:"Veliko Turnovo"},{code:"BU63",name:"Vidin"},{code:"BU64",name:"Vratsa"},{code:"BU65",name:"Yambol"}]},{code:"BF",id:2212,name:"Burkina Faso",states:[{code:"UV79",name:"Boucle du Mouhoun"},{code:"UV80",name:"Cascades"},{code:"UV82",name:"Centre Est"},{code:"UV83",name:"Centre Nord"},{code:"UV84",name:"Centre Ouest"},{code:"UV81",name:"Centre"},{code:"UV85",name:"Centre Sud"},{code:"UV86",name:"Est"},{code:"UV87",name:"Hauts Bassins"},{code:"UV88",name:"Nord"},{code:"UV89",name:"Plateau Central"},{code:"UV90",name:"Sahel"},{code:"UV91",name:"Sud-Ouest"}]},{code:"BM",id:2385,name:"Burma",states:[{code:"BM03",name:"Ayeyarwady"},{code:"BM16",name:"Bago"},{code:"BM02",name:"Chin"},{code:"BM04",name:"Kachin"},{code:"BM06",name:"Kayah"},{code:"BM05",name:"Kayin"},{code:"BM15",name:"Magway"},{code:"BM08",name:"Mandalay"},{code:"BM13",name:"Mon"},{code:"BM18",name:"Naypyidaw"},{code:"BM01",name:"Rakhine"},{code:"BM10",name:"Sagaing"},{code:"BM11",name:"Shan"},{code:"BM12",name:"Tanintharyi"},{code:"BM17",name:"Yangon"}]},{code:"BI",id:2213,name:"Burundi",states:[]},{code:"KH",id:2214,name:"Cambodia",states:[{code:"CB25",name:"B\xe2nt\xe9ay M\xe9anchey"},{code:"CB29",name:"Batd\xe2mb\xe2ng"},{code:"CB02",name:"K\xe2mp\xf3ng Cham"},{code:"CB03",name:"K\xe2mp\xf3ng Chhnang"},{code:"CB04",name:"K\xe2mp\xf3ng Sp\u0153"},{code:"CB05",name:"K\xe2mp\xf3ng Thum"},{code:"CB21",name:"K\xe2mp\xf4t"},{code:"CB07",name:"K\xe2ndal"},{code:"CB08",name:"Ka\xf4h Kong"},{code:"CB09",name:"Kr\xe2ch\xe9h"},{code:"CB26",name:"Krong Keb"},{code:"CB30",name:"Krong Pailin"},{code:"CB28",name:"Krong Preah Sihanouk"},{code:"CB10",name:"M\xf4nd\xf3l Kiri"},{code:"CB27",name:"Otd\xe2r M\xe9anchey"},{code:"CB22",name:"Phnom Penh"},{code:"CB12",name:"Pouthisat"},{code:"CB13",name:"Preah Vih\xe9ar"},{code:"CB14",name:"Prey V\xeang"},{code:"CB23",name:"R\xf4t\xe2n\xf4kiri"},{code:"CB24",name:"Siemr\xe9ab"},{code:"CB17",name:"St\u0153?ng Tr\xeang"},{code:"CB18",name:"Svay Rieng"},{code:"CB19",name:"Tak\xeav"},{code:"CB31",name:"Tbong Khmum"}]},{code:"CM",id:2215,name:"Cameroon",states:[{code:"CM10",name:"Adamaoua"},{code:"CM11",name:"Centre"},{code:"CM04",name:"Est"},{code:"CM12",name:"Extr\xeame-Nord"},{code:"CM05",name:"Littoral"},{code:"CM07",name:"Nord-Ouest"},{code:"CM13",name:"Nord"},{code:"CM08",name:"Ouest"},{code:"CM09",name:"Sud-Ouest"},{code:"CM14",name:"Sud"}]},{code:"CA",id:2216,name:"Canada",states:[{code:"AB",name:"Alberta"},{code:"BC",name:"British Columbia"},{code:"MB",name:"Manitoba"},{code:"NB",name:"New Brunswick"},{code:"NL",name:"Newfoundland and Labrador"},{code:"NT",name:"Northwest Territories"},{code:"NS",name:"Nova Scotia"},{code:"NU",name:"Nunavut"},{code:"ON",name:"Ontario"},{code:"PE",name:"Prince Edward Island"},{code:"QC",name:"Quebec"},{code:"SK",name:"Saskatchewan"},{code:"YT",name:"Yukon"}]},{code:"CV",id:2217,name:"Cape Verde",states:[]},{code:"KY",id:2379,name:"Cayman Islands",states:[{code:"KY.BT",name:"Bodden Town"},{code:"KY.CJ",name:"Cayman Islands"},{code:"KY.EE",name:"East End"},{code:"KY.GT",name:"George Town"},{code:"KY.NS",name:"North Side"},{code:"KY.SI",name:"Sister Islands"},{code:"KY.WB",name:"West Bay"}]},{code:"CF",id:2218,name:"Central African Republic",states:[{code:"CT01",name:"Bamingui-Bangoran"},{code:"CT18",name:"Bangui"},{code:"CT02",name:"Basse-Kotto"},{code:"CT05",name:"Haut-Mbomou"},{code:"CT03",name:"Haute-Kotto"},{code:"CT06",name:"K\xe9mo"},{code:"CT07",name:"Lobaye"},{code:"CT04",name:"Mamb\xe9r\xe9-Kad\xe9\xef"},{code:"CT08",name:"Mbomou"},{code:"CT15",name:"Nana-Gr\xe9bizi"},{code:"CT09",name:"Nana-Mamb\xe9r\xe9"},{code:"CT17",name:"Ombella-M'Poko"},{code:"CT11",name:"Ouaka"},{code:"CT12",name:"Ouham"},{code:"CT13",name:"Ouham-Pend\xe9"},{code:"CT16",name:"Sangha-Mba\xe9r\xe9"},{code:"CT14",name:"Vakaga"}]},{code:"TD",id:2219,name:"Chad",states:[{code:"CD22",name:"Barh el Ghazel"},{code:"CD01",name:"Batha"},{code:"CD23",name:"Borkou"},{code:"CD15",name:"Chari-Baguirmi"},{code:"CD27",name:"Ennedi Est"},{code:"CD28",name:"Ennedi Ouest"},{code:"CD05",name:"Gu\xe9ra"},{code:"CD18",name:"Hadjer-Lamis"},{code:"CD06",name:"Kanem"},{code:"CD07",name:"Lac"},{code:"CD08",name:"Logone Occidental"},{code:"CD09",name:"Logone Oriental"},{code:"CD19",name:"Mandoul"}
2303,{code:"CD16",name:"Mayo-Kebbi Est"},{code:"CD20",name:"Mayo-Kebbi Ouest"},{code:"CD17",name:"Moyen-Chari"},{code:"CD12",name:"Ouadda\xef"},{code:"CD13",name:"Salamat"},{code:"CD25",name:"Sila"},{code:"CD14",name:"Tandjil\xe9"},{code:"CD26",name:"Tibesti"},{code:"CD21",name:"Ville de N'Djamena"},{code:"CD02",name:"Wadi Fira"}]},{code:"CH99",id:2386,name:"Channel Islands",states:[]},{code:"CL",id:2220,name:"Chile",states:[{code:"CL.AI",name:"Ais\xe9n del General Carlos Ib\xe1\xf1ez del Campo"},{code:"CL.AN",name:"Antofagasta"},{code:"CL.AR",name:"Araucan\xeda"},{code:"CL.AP",name:"Arica and Parinacota"},{code:"CL.AT",name:"Atacama"},{code:"CL.BI",name:"B\xedo-B\xedo"},{code:"CL.CO",name:"Coquimbo"},{code:"CL.LI",name:"Libertador General Bernardo O'Higgins"},{code:"CL.LG",name:"Los Lagos"},{code:"CL.LR",name:"Los R\xedos"},{code:"CL.MA",name:"Magallanes y Ant\xe1rtica Chilena"},{code:"CL.ML",name:"Maule"},{code:"CL.RM",name:"Regi\xf3n Metropolitana de Santiago"},{code:"CL.TP",name:"Tarapac\xe1"},{code:"CL.VS",name:"Valpara\xedso"}]},{code:"CN",id:2221,name:"China",states:[{code:"CH01",name:"Anhui"},{code:"CH22",name:"Beijing"},{code:"CH33",name:"Chongqing"},{code:"CH07",name:"Fujian"},{code:"CH15",name:"Gansu"},{code:"CH17",name:"Guangdon"},{code:"CH30",name:"Guangdong"},{code:"CH16",name:"Guangxi"},{code:"CH18",name:"Guizhou"},{code:"CH31",name:"Hainan"},{code:"CH10",name:"Hebei"},{code:"CH08",name:"Heilongjiang"},{code:"CH09",name:"Henan"},{code:"CH34",name:"Hong Kong"},{code:"CH12",name:"Hubei"},{code:"CH11",name:"Hunan"},{code:"CH04",name:"Jiangsu"},{code:"CH03",name:"Jiangxi"},{code:"CH05",name:"Jilin"},{code:"CH19",name:"Liaoning"},{code:"CH20",name:"Nei Mongol"},{code:"CH21",name:"Ningxia"},{code:"CH06",name:"Qinghai"},{code:"CH26",name:"Shaanxi"},{code:"CH25",name:"Shandong"},{code:"CH23",name:"Shanghai"},{code:"CH24",name:"Shanxi"},{code:"CH32",name:"Sichuan"},{code:"CH27",name:"Sichuan"},{code:"CH28",name:"Tianjin"},{code:"CH13",name:"Xinjiang"},{code:"CH14",name:"Xizang"},{code:"CH29",name:"Yunnan"},{code:"CH02",name:"Zhejiang"}]},{code:"CX",id:2412,name:"Christmas Island",states:[]},{code:"CC",id:2413,name:"Cocos (Keeling) Islands",states:[]},{code:"CO",id:2222,name:"Colombia",states:[{code:"CO01",name:"Amazonas"},{code:"CO02",name:"Antioquia"},{code:"CO03",name:"Arauca"},{code:"CO04",name:"Atl\xe1ntico"},{code:"CO35",name:"Bol\xedvar"},{code:"CO36",name:"Boyac\xe1"},{code:"CO37",name:"Caldas"},{code:"CO08",name:"Caquet\xe1"},{code:"CO32",name:"Casanare"},{code:"CO09",name:"Cauca"},{code:"CO10",name:"Cesar"},{code:"CO11",name:"Choc\xf3"},{code:"CO12",name:"C\xf3rdoba"},{code:"CO33",name:"Cundinamarca"},{code:"CO34",name:"Distrito Capital"},{code:"CO15",name:"Guain\xeda"},{code:"CO14",name:"Guaviare"},{code:"CO16",name:"Huila"},{code:"CO17",name:"La Guajira"},{code:"CO38",name:"Magdalena"},{code:"CO19",name:"Meta"},{code:"CO20",name:"Nari\xf1o"},{code:"CO21",name:"Norte de Santander"},{code:"CO22",name:"Putumayo"},{code:"CO23",name:"Quind\xedo"},{code:"CO24",name:"Risaralda"},{code:"CO25",name:"San Andr\xe9s y Providencia"},{code:"CO26",name:"Santander"},{code:"CO27",name:"Sucre"},{code:"CO28",name:"Tolima"},{code:"CO29",name:"Valle del Cauca"},{code:"CO30",name:"Vaup\xe9s"},{code:"CO31",name:"Vichada"}]},{code:"KM",id:2223,name:"Comoros",states:[]},{code:"ZR",id:2368,name:"Congo; Democratic Republic of",states:[{code:"CD.BU",name:"Bas-U\xe9l\xe9"},{code:"CD.HK",name:"Haut-Katanga"},{code:"CD.HL",name:"Haut-Lomami"},{code:"CD.HU",name:"Haut-U\xe9l\xe9"},{code:"CD.IT",name:"Ituri"},{code:"CD.KS",name:"Kasa\xef"},{code:"CD.LL",name:"Kasa\xef-Central"},{code:"CD.KO",name:"Kasa\xef Oriental"},{code:"CD.KN",name:"Kinshasa"},{code:"CD.BC",name:"Kongo Central"},{code:"CD.KG",name:"Kwango"},{code:"CD.KU",name:"Kwilu"},{code:"CD.LM",name:"Lomami"},{code:"CD.LB",name:"Lualaba"},{code:"CD.MA",name:"Mai-Ndombe"},{code:"CD.MN",name:"Maniema"},{code:"CD.MO",name:"Mongala"},{code:"CD.NK",name:"Nord-Kivu"},{code:"CD.NU",name:"Nord-Ubangi"},{code:"CD.SN",name:"Sankuru"},{code:"CD.SK",name:"Sud-Kivu"},{code:"CD.SU",name:"Sud-Ubangi"},{code:"CD.TG",name:"Tanganyika"},{code:"CD.TO",name:"Tshopo"},{code:"CD.TP",name:"Tshuapa"},{code:"CD.ET",name:"\xc9quateur"}]}
2303,{code:"CG",id:2383,name:"Congo; Republic of",states:[]},{code:"CK",id:2414,name:"Cook Islands",states:[]},{code:"CR",id:2226,name:"Costa Rica",states:[{code:"CS01",name:"Alajuela"},{code:"CS02",name:"Cartago"},{code:"CS03",name:"Guanacaste"},{code:"CS04",name:"Heredia"},{code:"CS06",name:"Lim\xf3n"},{code:"CS07",name:"Puntarenas"},{code:"CS08",name:"San Jos\xe9"}]},{code:"CI",id:2227,name:"Cote D'Ivoire",states:[{code:"IV93",name:"Abidjan"},{code:"IV76",name:"Bas-Sassandra"},{code:"IV94",name:"Como\xe9"},{code:"IV77",name:"Dengu\xe9l\xe9"},{code:"IV95",name:"G\xf4h-Djiboua"},{code:"IV81",name:"Lacs"},{code:"IV82",name:"Lagunes"},{code:"IV78",name:"Montagnes"},{code:"IV96",name:"Sassandra-Marahou\xe9"},{code:"IV87",name:"Savanes"},{code:"IV90",name:"Vall\xe9e du Bandama"},{code:"IV97",name:"Woroba"},{code:"IV98",name:"Yamoussoukro"},{code:"IV92",name:"Zanzan"}]},{code:"HR",id:2228,name:"Croatia",states:[{code:"HR07",name:"Bjelovarsko-bilogorska"},{code:"HR12",name:"Brodsko-posavska"},{code:"HR19",name:"Dubrovacko-neretvanska"},{code:"HR21",name:"Grad Zagreb"},{code:"HR-18",name:"Istarska"},{code:"HR04",name:"Karlovacka"},{code:"HR06",name:"Koprivnicko-kri\u017eevacka"},{code:"HR02",name:"Krapinsko-zagorska"},{code:"HR09",name:"Licko-senjska"},{code:"HR20",name:"Medimurska"},{code:"HR14",name:"Osjecko-baranjska"},{code:"HR11",name:"Po\u017ee\u0161ko-slavonska"},{code:"HR08",name:"Primorsko-goranska"},{code:"HR15",name:"\u0160ibensko-kninska"},{code:"HR03",name:"Sisacko-moslavacka"},{code:"HR17",name:"Splitsko-dalmatinska"},{code:"HR05",name:"Vara\u017edinska"},{code:"HR10",name:"Viroviticko-podravska"},{code:"HR16",name:"Vukovarsko-srijemska"},{code:"HR13",name:"Zadarska"},{code:"HR01",name:"Zagrebacka"}]},{code:"CU",id:2229,name:"Cuba",states:[{code:"CU17",name:"Artemisa"},{code:"CU05",name:"Camag\xfcey"},{code:"CU07",name:"Ciego de \xc1vila"},{code:"CU08",name:"Cienfuegos"},{code:"CU09",name:"Granma"},{code:"CU10",name:"Guant\xe1namo"},{code:"CU12",name:"Holgu\xedn"},{code:"CU04",name:"Isla de la Juventud"},{code:"CU02",name:"La Habana"},{code:"CU13",name:"Las Tunas"},{code:"CU03",name:"Matanzas"},{code:"CU18",name:"Mayabeque"},{code:"CU01",name:"Pinar del R\xedo"},{code:"CU14",name:"Sancti Sp\xedritus"},{code:"CU15",name:"Santiago de Cuba"},{code:"CU16",name:"Villa Clara"}]},{code:"C999",id:2387,name:"Curacao",states:[{code:"CW.CU",name:"Curacao"}]},{code:"CY",id:2230,name:"Cyprus",states:[{code:"CY01",name:"Famagusta"},{code:"CY02",name:"Kyrenia"},{code:"CY03",name:"Larnaca"},{code:"CY05",name:"Limassol"},{code:"CY04",name:"Nicosia"},{code:"CY06",name:"Paphos"}]},{code:"CZ",id:2231,name:"Czech Republic",states:[{code:"JC",name:"Jihocesk\xfd kraj"},{code:"JM",name:"Jihomoravsk\xfd kraj"},{code:"KA",name:"Karlovarsk\xfd kraj"},{code:"KR",name:"Kr\xe1lov\xe9hradeck\xfd kraj"},{code:"LI",name:"Libereck\xfd kraj"},{code:"MO",name:"Moravskoslezsk\xfd kraj"},{code:"OL",name:"Olomouck\xfd kraj"},{code:"PA",name:"Pardubick\xfd kraj"},{code:"PL",name:"Plzensk\xfd kraj"},{code:"PR",name:"Praha, hlavn\xed mesto"},{code:"ST",name:"Stredocesk\xfd kraj"},{code:"VY",name:"Vysocina"},{code:"ZL",name:"Zl\xednsk\xfd kraj"},{code:"US",name:"\xdasteck\xfd kraj"}]},{code:"DK",id:2232,name:"Denmark",states:[{code:"DA01",name:"Arhus County"},{code:"DA02",name:"Bornholm Regional Municipality"},{code:"DA17",name:"Capital Region"},{code:"DA18",name:"Central Jutland Region"},{code:"DA16",name:"Frederiksberg municipal"},{code:"DA03",name:"Frederiksborg County"},{code:"DA04",name:"Fyn County"},{code:"DA06",name:"Kobenhavn County"},{code:"DA05",name:"Kobenhavn municipal"},{code:"DA07",name:"Nordjylland County"},{code:"DA19",name:"North Jutland Region"},{code:"DA08",name:"Ribe County"},{code:"DA09",name:"Ringkobing County"},{code:"DA10",name:"Roskilde County"},{code:"DA11",name:"Sonderjylland County"},{code:"DA21",name:"South Denmark Region"},{code:"DA12",name:"Storstrom County"},{code:"DA13",name:"Vejle County"},{code:"DA14",name:"Vestsjaelland County"},{code:"DA15",name:"Viborg County"},{code:"DA20",name:"Zealand Region"}]},{code:"DJ",id:2233,name:"Djibouti",states:[]}
2303,{code:"DM",id:2234,name:"Dominica",states:[]},{code:"DO",id:2235,name:"Dominican Republic",states:[{code:"DR01",name:"Azua"},{code:"DR02",name:"Bahoruco"},{code:"DR03",name:"Barahona"},{code:"DR04",name:"Dajab\xf3n"},{code:"DR34",name:"Distrito Nacional"},{code:"DR06",name:"Duarte"},{code:"DR28",name:"El Seibo"},{code:"DR11",name:"El\xedas Pi\xf1a"},{code:"DR08",name:"Espaillat"},{code:"DR29",name:"Hato Mayor"},{code:"DR19",name:"Hermanas Mirabal"},{code:"DR09",name:"Independencia"},{code:"DR10",name:"La Altagracia"},{code:"DR12",name:"La Romana"},{code:"DR30",name:"La Vega"},{code:"DR14",name:"Mar\xeda Trinidad S\xe1nchez"},{code:"DR31",name:"Monse\xf1or Nouel"},{code:"DR15",name:"Monte Cristi"},{code:"DR32",name:"Monte Plata"},{code:"DR16",name:"Pedernales"},{code:"DR35",name:"Peravia"},{code:"DR18",name:"Puerto Plata"},{code:"DR20",name:"Saman\xe1"},{code:"DR33",name:"San Crist\xf3bal"},{code:"DR36",name:"San Jos\xe9 de Ocoa"},{code:"DR23",name:"San Juan"},{code:"DR24",name:"San Pedro de Macor\xeds"},{code:"DR21",name:"S\xe1nchez Ram\xedrez"},{code:"DR25",name:"Santiago"},{code:"DR26",name:"Santiago Rodr\xedguez"},{code:"DR37",name:"Santo Domingo"},{code:"DR27",name:"Valverde"}]},{code:"EC",id:2236,name:"Ecuador",states:[{code:"EC02",name:"Azuay"},{code:"EC02",name:"Azuay"},{code:"EC03",name:"Bol\xedvar"},{code:"EC04",name:"Ca\xf1ar"},{code:"EC05",name:"Carchi"},{code:"EC06",name:"Chimborazo"},{code:"EC07",name:"Cotopaxi"},{code:"EC08",name:"El Oro"},{code:"EC09",name:"Esmeraldas"},{code:"EC01",name:"Gal\xe1pagos"},{code:"EC10",name:"Guayas"},{code:"EC11",name:"Imbabura"},{code:"EC12",name:"Loja"},{code:"EC13",name:"Los R\xedos"},{code:"EC14",name:"Manab\xed"},{code:"EC15",name:"Morona-Santiago"},{code:"EC23",name:"Napo"},{code:"EC24",name:"Orellana"},{code:"EC17",name:"Pastaza"},{code:"EC18",name:"Pichincha"},{code:"EC25",name:"Santa Elena"},{code:"EC26",name:"Santo Domingo de los Ts\xe1chilas"},{code:"EC22",name:"Sucumb\xedos"},{code:"EC19",name:"Tungurahua"},{code:"EC20",name:"Zamora-Chinchipe"}]},{code:"EG",id:2237,name:"Egypt",states:[{code:"EG01",name:"Ad Daqahliyah"},{code:"EG02",name:"Al Bahr al Ahmar"},{code:"EG03",name:"Al Buhayrah"},{code:"EG04",name:"Al Fayyum"},{code:"EG05",name:"Al Gharbiyah"},{code:"EG06",name:"Al Iskandariyah"},{code:"EG07",name:"Al Isma`iliyah"},{code:"EG08",name:"Al Jizah"},{code:"EG09",name:"Al Minufiyah"},{code:"EG10",name:"Al Minya"},{code:"EG11",name:"Al Qahirah"},{code:"EG12",name:"Al Qalyubiyah"},{code:"EG28",name:"Al Uqsur"},{code:"EG13",name:"Al Wadi al Jadid"},{code:"EG15",name:"As Suways"},{code:"EG14",name:"Ash Sharqiyah"},{code:"EG16",name:"Aswan"},{code:"EG17",name:"Asyut"},{code:"EG18",name:"Bani Suwayf"},{code:"EG19",name:"Bur Sa`id"},{code:"EG20",name:"Dumyat"},{code:"EG26",name:"Janub Sina"},{code:"EG21",name:"Kafr ash Shaykh"},{code:"EG22",name:"Matruh"},{code:"EG23",name:"Qina"},{code:"EG27",name:"Shamal Sina"},{code:"EG24",name:"Suhaj"}]},{code:"SV",id:2238,name:"El Salvador",states:[{code:"ES01",name:"Ahuachap\xe1n"},{code:"ES02",name:"Caba\xf1as"},{code:"ES03",name:"Chalatenango"},{code:"ES04",name:"Cuscatl\xe1n"},{code:"ES05",name:"La Libertad"},{code:"ES06",name:"La Paz"},{code:"ES07",name:"La Uni\xf3n"},{code:"ES08",name:"Moraz\xe1n"},{code:"ES09",name:"San Miguel"},{code:"ES10",name:"San Salvador"},{code:"ES12",name:"San Vicente"},{code:"ES11",name:"Santa Ana"},{code:"ES13",name:"Sonsonate"},{code:"ES14",name:"Usulut\xe1n"}]},{code:"GQ",id:2239,name:"Equatorial Guinea",states:[]},{code:"ER",id:2240,name:"Eritrea",states:[]},{code:"EE",id:2241,name:"Estonia",states:[{code:"EN01",name:"Harju"},{code:"EN02",name:"Hiiu"},{code:"EN03",name:"Ida-Viru"},{code:"EN04",name:"J\xe4rva"},{code:"EN05",name:"J\xf5geva"},{code:"EN07",name:"L\xe4\xe4ne"},{code:"EN08",name:"L\xe4\xe4ne-Viru"},{code:"EN11",name:"P\xe4rnu"},{code:"EN12",name:"P\xf5lva"},{code:"EN13",name:"Rapla"},{code:"EN14",name:"Saare"},{code:"EN18",name:"Tartu"},{code:"EN19",name:"Valga"},{code:"EN20",name:"Viljandi"},{code:"EN21",name:"V\xf5ru"}]},{code:"ET",id:2242,name:"Ethiopia",states:[{code:"ET44",name:"Addis Ababa"},{code:"ET45",name:"Afar"},{code:"ET46",name:"Amhara"},{code:"ET47",name:"Benshangul-Gumaz"},{code:"ET48",name:"Dire Dawa"},{code:"ET49",name:"Gambela Peoples"},{code:"ET50",name:"Harari People"},{code:"ET51",name:"Oromia"},{code:"ET52",name:"Somali"},{code:"ET54",name:"Southern Nations, Nationalities and Peoples"},{code:"ET53",name:"Tigray"}]},{code:"FK",id:2415,name:"Falkland Islands (Malvinas)",states:[]}
2303,{code:"FI99",id:2388,name:"Faroe Islands",states:[]},{code:"FJ",id:2243,name:"Fiji",states:[]},{code:"FI",id:2244,name:"Finland",states:[{code:"FI-AL",name:"Ahvenanmaan l\xe4\xe4ni"},{code:"AX",name:"Ahvenanmaa"},{code:"FI.SK",name:"Etel\xe4-Karjala"},{code:"FI.SO",name:"Etel\xe4-Pohjanmaa"},{code:"FI.SS",name:"Etel\xe4-Savo"},{code:"FI-ES",name:"Etel\xe4-Suomen l\xe4\xe4ni"},{code:"FI-IS",name:"It\xe4-Suomen l\xe4\xe4ni"},{code:"FI.KA",name:"Kainuu"},{code:"FI.KH",name:"Kanta-H\xe4me"},{code:"FI.CO",name:"Keski-Pohjanmaa"},{code:"FI.CF",name:"Keski-Suomi"},{code:"FI.KY",name:"Kymenlaakso"},{code:"FI-LS",name:"L\xe4nsi-Suomen l\xe4\xe4ni"},{code:"FI-LL",name:"Lapin l\xe4\xe4ni"},{code:"FI.LA",name:"Lappi"},{code:"FI-OL",name:"Oulun l\xe4\xe4ni"},{code:"FI.PH",name:"P\xe4ij\xe4t-H\xe4me"},{code:"FI.TR",name:"Pirkanmaa"},{code:"FI.OS",name:"Pohjanmaa"},{code:"FI.NK",name:"Pohjois-Karjala"},{code:"FI.NO",name:"Pohjois-Pohjanmaa"},{code:"FI.NS",name:"Pohjois-Savo"},{code:"FI.SA",name:"Satakunta"},{code:"FI.US",name:"Uusimaa"},{code:"FI.SF",name:"Varsinais-Suomi"}]},{code:"FR",id:2245,name:"France",states:[{code:"FRC2",name:"Ain"},{code:"FRC3",name:"Aisne"},{code:"FRC4",name:"Allier"},{code:"FRC6",name:"Alpes-Maritimes"},{code:"FRC5",name:"Alpes-de-Haute-Provence"},{code:"FRC1",name:"Alsace"},{code:"FR97",name:"Aquitaine"},{code:"FRC7",name:"Ard\xe8che"},{code:"FRC8",name:"Ardennes"},{code:"FRC9",name:"Ari\xe8ge"},{code:"FRD1",name:"Aube"},{code:"FRD2",name:"Aude"},{code:"FR.AR",name:"Auvergne-Rh\xf4ne-Alpes"},{code:"FR98",name:"Auvergne"},{code:"FRD3",name:"Aveyron"},{code:"FRD4",name:"Bas-Rhin"},{code:"FR99",name:"Basse-Normandie"},{code:"FRD5",name:"Bouches-du-Rh\xf4ne"},{code:"FR.BF",name:"Bourgogne-Franche-Comt\xe9"},{code:"FRA1",name:"Bourgogne"},{code:"FRA2",name:"Bretagne"},{code:"FRD8",name:"Calvados"},{code:"FRD9",name:"Cantal"},{code:"FRA3",name:"Centre"},{code:"FR.CN",name:"Centre-Val de Loire"},{code:"FRA4",name:"Champagne-Ardenne"},{code:"FRE1",name:"Charente-Maritime"},{code:"FRE2",name:"Charente"},{code:"FRE3",name:"Cher"},{code:"FRE4",name:"Corr\xe8ze"},{code:"FRE5",name:"Corse-du-Sud"},{code:"FR.CE",name:"Corse"},{code:"FRD6",name:"C\xf4te-d'Or"},{code:"FRD7",name:"C\xf4tes-d'Armor"},{code:"FRE6",name:"Creuse"},{code:"FRE7",name:"Deux-S\xe8vres"},{code:"FRE8",name:"Dordogne"},{code:"FRE9",name:"Doubs"},{code:"FRF1",name:"Dr\xf4me"},{code:"FRF2",name:"Essonne"},{code:"FRF3",name:"Eure-et-Loir"},{code:"FRF4",name:"Eure"},{code:"FRF5",name:"Finist\xe8re"},{code:"FRA6",name:"Franche-Comte"},{code:"FRF6",name:"Gard"},{code:"FRF7",name:"Gers"},{code:"FRF8",name:"Gironde"},{code:"FR.AO",name:"Grand Est"},{code:"FRG1",name:"Haut-Rhin"},{code:"FRG2",name:"Haute-Corse"},{code:"FRG3",name:"Haute-Garonne"},{code:"FRG4",name:"Haute-Loire"},{code:"FRG5",name:"Haute-Marne"},{code:"FRA7",name:"Haute-Normandie"},{code:"FRG6",name:"Haute-Sa\xf4ne"},{code:"FRG7",name:"Haute-Savoie"},{code:"FRG8",name:"Haute-Vienne"},{code:"FRG9",name:"Hautes-Alpes"},{code:"FRH1",name:"Hautes-Pyr\xe9n\xe9es"},{code:"FR.NC",name:"Hauts-de-France"},{code:"FRH2",name:"Hauts-de-Seine"},{code:"FRF9",name:"H\xe9rault"},{code:"FRA8",name:"Ile-de-France"},{code:"FRH3",name:"Ille-et-Vilaine"},{code:"FRH5",name:"Indre"},{code:"FRH4",name:"Indre-et-Loire"},{code:"FRH6",name:"Is\xe8re"},{code:"FRH7",name:"Jura"},{code:"FRH8",name:"Landes"},{code:"FRA9",name:"Languedoc-Roussillon"},{code:"FRB1",name:"Limousin"},{code:"FRI3",name:"Loir-et-Cher"},{code:"FRI2",name:"Loiret"},{code:"FRI1",name:"Loire"},{code:"FRH9",name:"Loire-Atlantique"},{code:"FRB2",name:"Lorraine"},{code:"FRI4",name:"Lot-et-Garonne"},{code:"FRI5",name:"Lot"},{code:"FRI6",name:"Loz\xe8re"},{code:"FRI7",name:"Maine-et-Loire"},{code:"FRI8",name:"Manche"},{code:"FRI9",name:"Marne"},{code:"FRJ1",name:"Mayenne"},{code:"FRJ2",name:"Meurthe-et-Moselle"},{code:"FRJ3",name:"Meuse"},{code:"FRB3",name:"Midi-Pyrenees"},{code:"FRJ4",name:"Morbihan"},{code:"FRJ5",name:"Moselle"},{code:"FRJ6",name:"Ni\xe8vre"},{code:"FRJ7",name:"Nord France"},{code:"FR67",name:"Nord"},{code:"FR.ND",name:"Normandie"},{code:"FR.AC",name:"Nouvelle-Aquitaine"},{code:"FR.LP",name:"Occitanie"},{code:"FRJ8",name:"Oise"},{code:"FRJ9",name:"Orne"},{code:"FRK1",name:"Paris"},{code:"FRB4",name:"Pas-de-Calais"},{code:"FRB5",name:"Pays de la Loire"},{code:"FRB6",name:"Picardie"},{code:"FRB7",name:"Poitou-Charentes"},{code:"FRB8",name:"Provence-Alpes-Cote d'Azur"},{code:"FRK2",name:"Puy-de-D\xf4me"},{code:"FRK3",name:"Pyr\xe9n\xe9es-Atlantiques"},{code:"FRK4",name:"Pyr\xe9n\xe9es-Orientales"},{code:"FRB9",name:"Rh\xf4ne"},{code:"FRK5",name:"Sa\xf4ne-et-Loire"},{code:"FRK6",name:"Sarthe"},{code:"FRK7",name:"Savoie"},{code:"FRK9",name:"Seine-Maritime"},{code:"FRL1",name:"Seine-Saint-Denis"}
2303,{code:"FRK8",name:"Seine-et-Marne"},{code:"FRL2",name:"Somme"},{code:"FRL3",name:"Tarn-et-Garonne"},{code:"FRL4",name:"Tarn"},{code:"FRL5",name:"Territoire de Belfor"},{code:"FR14",name:"Territoire de Belfort"},{code:"FRL6",name:"Val-d'Oise"},{code:"FRL7",name:"Val-de-Marne"},{code:"FRL8",name:"Var"},{code:"FRL9",name:"Vaucluse"},{code:"FRM1",name:"Vend\xe9e"},{code:"FRM2",name:"Vienne"},{code:"FR94",name:"Ville de Paris"},{code:"FRM3",name:"Vosges"},{code:"FRM4",name:"Yonne"},{code:"FRM5",name:"Yvelines"},{code:"FR.IF",name:"\xcele-de-France"}]},{code:"GF",id:2416,name:"French Guiana",states:[]},{code:"PF",id:2417,name:"French Polynesia",states:[]},{code:"TF",id:2418,name:"French Southern Territories",states:[]},{code:"GA",id:2246,name:"Gabon",states:[{code:"GB01",name:"Estuaire"},{code:"GB02",name:"Haut-Ogoou\xe9"},{code:"GB03",name:"Moyen-Ogoou\xe9"},{code:"GB04",name:"Ngouni\xe9"},{code:"GB05",name:"Nyanga"},{code:"GB06",name:"Ogoou\xe9-Ivindo"},{code:"GB07",name:"Ogoou\xe9-Lolo"},{code:"GB08",name:"Ogoou\xe9-Maritime"},{code:"GB09",name:"Woleu-Ntem"}]},{code:"GM",id:2389,name:"Gambia",states:[{code:"GA01",name:"Banjul"},{code:"GA03",name:"Central River"},{code:"GA02",name:"Lower River"},{code:"GA07",name:"North Bank"},{code:"GA04",name:"Upper River"},{code:"GA05",name:"West Coast"}]},{code:"GE",id:2248,name:"Georgia",states:[{code:"GG02",name:"Abkhazia"},{code:"GG04",name:"Ajaria"},{code:"GG65",name:"Guria"},{code:"GG66",name:"Imereti"},{code:"GG67",name:"Kakheti"},{code:"GG68",name:"Kvemo Kartli"},{code:"GG69",name:"Mtskheta-Mtianeti"},{code:"GG70",name:"Racha-Lochkhumi-Kvemo Svaneti"},{code:"GG71",name:"Samegrelo-Zemo Svaneti"},{code:"GG72",name:"Samtskhe-Javakheti"},{code:"GG73",name:"Shida Kartli"},{code:"GG51",name:"Tbilisi"}]},{code:"DE",id:2249,name:"Germany",states:[{code:"BW",name:"Baden-W\xfcrttemberg"},{code:"BY",name:"Bayern"},{code:"BE",name:"Berlin"},{code:"BB",name:"Brandenburg"},{code:"HB",name:"Bremen"},{code:"HH",name:"Hamburg"},{code:"HE",name:"Hessen"},{code:"MV",name:"Mecklenburg-Vorpommern"},{code:"NI",name:"Niedersachsen"},{code:"NW",name:"Nordrhein-Westfalen"},{code:"RP",name:"Rheinland-Pfalz"},{code:"SL",name:"Saarland"},{code:"SN",name:"Sachsen"},{code:"ST",name:"Sachsen-Anhalt"},{code:"SH",name:"Schleswig-Holstein"},{code:"TH",name:"Th\xfcringen"}]},{code:"GH",id:2250,name:"Ghana",states:[{code:"GH02",name:"Ashanti"},{code:"GH03",name:"Brong-Ahafo"},{code:"GH04",name:"Central"},{code:"GH05",name:"Eastern"},{code:"GH01",name:"Greater Accra"},{code:"GH06",name:"Northern"},{code:"GH10",name:"Upper East"},{code:"GH11",name:"Upper West"},{code:"GH08",name:"Volta"},{code:"GH09",name:"Western"}]},{code:"G999",id:2390,name:"Gibraltar",states:[{code:"GI.GI",name:"Gibraltar"}]},{code:"GR",id:2251,name:"Greece",states:[{code:"13",name:"Acha\xefa"},{code:"69",name:"Agio Oros"},{code:"01",name:"Aitolia kai Akarnania"},{code:"11",name:"Argolida"},{code:"12",name:"Arkadia"},{code:"31",name:"Arta"},{code:"A1",name:"Attiki"},{code:"64",name:"Chalkidiki"},{code:"94",name:"Chania"},{code:"85",name:"Chios"},{code:"81",name:"Dodekanisos"},{code:"52",name:"Drama"},{code:"71",name:"Evros"},{code:"05",name:"Evrytania"},{code:"04",name:"Evvoia"},{code:"63",name:"Florina"},{code:"07",name:"Fokida"},{code:"06",name:"Fthiotida"},{code:"51",name:"Grevena"},{code:"14",name:"Ileia"},{code:"53",name:"Imathia"},{code:"33",name:"Ioannina"},{code:"91",name:"Irakleio"},{code:"41",name:"Karditsa"},{code:"56",name:"Kastoria"},{code:"55",name:"Kavala"},{code:"23",name:"Kefallonia"},{code:"22",name:"Kerkyra"},{code:"57",name:"Kilkis"},{code:"15",name:"Korinthia"},{code:"58",name:"Kozani"},{code:"82",name:"Kyklades"},{code:"16",name:"Lakonia"},{code:"42",name:"Larisa"},{code:"92",name:"Lasithi"},{code:"24",name:"Lefkada"},{code:"83",name:"Lesvos"},{code:"43",name:"Magnisia"},{code:"17",name:"Messinia"},{code:"59",name:"Pella"},{code:"61",name:"Pieria"},{code:"34",name:"Preveza"},{code:"93",name:"Rethymno"},{code:"73",name:"Rodopi"},{code:"84",name:"Samos"},{code:"62",name:"Serres"},{code:"32",name:"Thesprotia"},{code:"54",name:"Thessaloniki"},{code:"44",name:"Trikala"},{code:"03",name:"Voiotia"},{code:"72",name:"Xanthi"},{code:"21",name:"Zakynthos"}]},{code:"GL",id:2252,name:"Greenland",states:[]}
2303,{code:"GD",id:2253,name:"Grenada",states:[]},{code:"GP",id:2419,name:"Guadeloupe",states:[]},{code:"GU",id:2376,name:"Guam",states:[]},{code:"GT",id:2371,name:"Guatemala",states:[{code:"GT01",name:"Alta Verapaz"},{code:"GT02",name:"Baja Verapaz"},{code:"GT03",name:"Chimaltenango"},{code:"GT04",name:"Chiquimula"},{code:"GT05",name:"El Progreso"},{code:"GT06",name:"Escuintla"},{code:"GT07",name:"Guatemala"},{code:"GT08",name:"Huehuetenango"},{code:"GT09",name:"Izabal"},{code:"GT10",name:"Jalapa"},{code:"GT11",name:"Jutiapa"},{code:"GT12",name:"Pet\xe9n"},{code:"GT13",name:"Quetzaltenango"},{code:"GT14",name:"Quich\xe9"},{code:"GT15",name:"Retalhuleu"},{code:"GT16",name:"Sacatep\xe9quez"},{code:"GT17",name:"San Marcos"},{code:"GT18",name:"Santa Rosa"},{code:"GT19",name:"Solol\xe1"},{code:"GT20",name:"Suchitep\xe9quez"},{code:"GT21",name:"Totonicap\xe1n"},{code:"GT22",name:"Zacapa"}]},{code:"GG",id:2420,name:"Guernsey",states:[]},{code:"GN",id:2255,name:"Guinea",states:[{code:"GV01",name:"Beyla"},{code:"GV02",name:"Boffa"},{code:"GV03",name:"Bok\xe9"},{code:"GV04",name:"Conakry"},{code:"GV30",name:"Coyah"},{code:"GV05",name:"Dabola"},{code:"GV06",name:"Dalaba"},{code:"GV07",name:"Dinguiraye"},{code:"GV31",name:"Dubr\xe9ka"},{code:"GV09",name:"Faranah"},{code:"GV10",name:"For\xe9cariah"},{code:"GV11",name:"Fria"},{code:"GV12",name:"Gaoual"},{code:"GV13",name:"Gu\xe9ck\xe9dou"},{code:"GV32",name:"Kankan"},{code:"GV15",name:"K\xe9rouan\xe9"},{code:"GV16",name:"Kindia"},{code:"GV17",name:"Kissidougou"},{code:"GV33",name:"Koubia"},{code:"GV18",name:"Koundara"},{code:"GV19",name:"Kouroussa"},{code:"GV34",name:"Lab\xe9"},{code:"GV35",name:"L\xe9louma"},{code:"GV36",name:"Lola"},{code:"GV21",name:"Macenta"},{code:"GV22",name:"Mali"},{code:"GV23",name:"Mamou"},{code:"GV37",name:"Mandiana"},{code:"GV38",name:"Nz\xe9r\xe9kor\xe9"},{code:"GV25",name:"Pita"},{code:"GV39",name:"Siguiri"},{code:"GV27",name:"T\xe9lim\xe9l\xe9"},{code:"GV28",name:"Tougu\xe9"},{code:"GV29",name:"Yomou"}]}
2303,{code:"GW",id:2256,name:"Guinea-Bissau",states:[{code:"PU01",name:"Bafat\xe1"},{code:"PU12",name:"Biombo"},{code:"PU11",name:"Bissau"},{code:"PU05",name:"Bolama"},{code:"PU06",name:"Cacheu"},{code:"PU10",name:"Gab\xfa"},{code:"PU04",name:"Oio"},{code:"PU02",name:"Quinara"},{code:"PU07",name:"Tombali"}]},{code:"GY",id:2257,name:"Guyana",states:[{code:"GY10",name:"Barima-Waini"},{code:"GY11",name:"Cuyuni-Mazaruni"},{code:"GY12",name:"Demerara-Mahaica"},{code:"GY13",name:"East Berbice-Corentyne"},{code:"GY14",name:"Essequibo Islands-West Demerara"},{code:"GY15",name:"Mahaica-Berbice"},{code:"GY16",name:"Pomeroon-Supenaam"},{code:"GY17",name:"Potaro-Siparuni"},{code:"GY18",name:"Upper Demerara-Berbice"},{code:"GY19",name:"Upper Takutu-Upper Essequibo"}]},{code:"HT",id:2258,name:"Haiti",states:[{code:"HA07",name:"Centre"},{code:"HA14",name:"Grand' Anse"},{code:"HA06",name:"L'Artibonite"},{code:"HA15",name:"Nippes"},{code:"HA10",name:"Nord-Est"},{code:"HA03",name:"Nord-Ouest"},{code:"HA09",name:"Nord"},{code:"HA11",name:"Ouest"},{code:"HA13",name:"Sud-Est"},{code:"HA12",name:"Sud"}]},{code:"HM",id:2421,name:"Heard and McDonald Islands",states:[]},{code:"VA",id:2362,name:"Holy See (Vatican City State)",states:[]},{code:"HN",id:2259,name:"Honduras",states:[{code:"HO01",name:"Atl\xe1ntida"},{code:"HO02",name:"Choluteca"},{code:"HO03",name:"Col\xf3n"},{code:"HO04",name:"Comayagua"},{code:"HO05",name:"Cop\xe1n"},{code:"HO06",name:"Cort\xe9s"},{code:"HO07",name:"El Para\xedso"},{code:"HO08",name:"Francisco Moraz\xe1n"},{code:"HO09",name:"Gracias a Dios"},{code:"HO10",name:"Intibuc\xe1"},{code:"HO11",name:"Islas de la Bah\xeda"},{code:"HO12",name:"La Paz"},{code:"HO13",name:"Lempira"},{code:"HO14",name:"Ocotepeque"},{code:"HO15",name:"Olancho"},{code:"HO16",name:"Santa B\xe1rbara"},{code:"HO17",name:"Valle"},{code:"HO18",name:"Yoro"}]},{code:"HK",id:2377,name:"Hong Kong",states:[{code:"HK001",name:"Hong Kong Island"},{code:"HK002",name:"Kowloon"},{code:"HK003",name:"New Territories"}]},{code:"HU",id:2260,name:"Hungary",states:[{code:"BK",name:"B\xe1cs-Kiskun"},{code:"BA",name:"Baranya"},{code:"BE",name:"B\xe9k\xe9s"},{code:"BC",name:"B\xe9k\xe9scsaba"},{code:"BZ",name:"Borsod-Aba\xfaj-Zempl\xe9n"},{code:"BU",name:"Budapest"},{code:"CS",name:"Csongr\xe1d"},{code:"DE",name:"Debrecen"},{code:"DU",name:"Duna\xfajv\xe1ros"},{code:"EG",name:"Eger"},{code:"ER",name:"Erd"},{code:"FE",name:"Fej\xe9r"},{code:"GY",name:"Gyor"},{code:"GS",name:"Gyor-Moson-Sopron"},{code:"HB",name:"Hajd\xfa-Bihar"},{code:"HE",name:"Heves"},{code:"HV",name:"H\xf3dmezov\xe1s\xe1rhely"},{code:"JN",name:"J\xe1sz-Nagykun-Szolnok"},{code:"KV",name:"Kaposv\xe1r"},{code:"KM",name:"Kecskem\xe9t"},{code:"KE",name:"Kom\xe1rom-Esztergom"},{code:"MI",name:"Miskolc"},{code:"NK",name:"Nagykanizsa"},{code:"NO",name:"N\xf3gr\xe1d"},{code:"NY",name:"Ny\xedregyh\xe1za"},{code:"PS",name:"P\xe9cs"},{code:"PE",name:"Pest"},{code:"ST",name:"Salg\xf3tarj\xe1n"},{code:"SO",name:"Somogy"},{code:"SN",name:"Sopron"},{code:"SZ",name:"Szabolcs-Szatm\xe1r-Bereg"},{code:"SD",name:"Szeged"},{code:"SF",name:"Sz\xe9kesfeh\xe9rv\xe1r"},{code:"SS",name:"Szeksz\xe1rd"},{code:"SK",name:"Szolnok"},{code:"SH",name:"Szombathely"},{code:"TB",name:"Tatab\xe1nya"},{code:"TO",name:"Tolna"},{code:"VA",name:"Vas"},{code:"VE",name:"Veszpr\xe9m"},{code:"VM",name:"Veszpr\xe9m City"},{code:"ZA",name:"Zala"},{code:"ZE",name:"Zalaegerszeg"}]},{code:"IS",id:2261,name:"Iceland",states:[{code:"7",name:"Austurland"},{code:"1",name:"H\xf6fu\xf0borgarsv\xe6\xf0i utan Reykjav\xedkur"},{code:"6",name:"Nor\xf0urland eystra"},{code:"5",name:"Nor\xf0urland vestra"},{code:"0",name:"Reykjav\xedk"},{code:"8",name:"Su\xf0urland"},{code:"2",name:"Su\xf0urnes"},{code:"4",name:"Vestfir\xf0ir"},{code:"3",name:"Vesturland"}]},{code:"IN",id:2262,name:"India",states:[{code:"AN",name:"Andaman and Nicobar Islands"},{code:"AP",name:"Andhra Pradesh"},{code:"AR",name:"Arunachal Pradesh"},{code:"AS",name:"Assam"},{code:"BR",name:"Bihar"},{code:"CH",name:"Chandigarh"},{code:"CT",name:"Chhattisgarh"},{code:"DN",name:"Dadra and Nagar Haveli"},{code:"DD",name:"Daman and Diu"},{code:"DL",name:"Delhi"},{code:"GA",name:"Goa"},{code:"GJ",name:"Gujarat"},{code:"HR",name:"Haryana"},{code:"HP",name:"Himachal Pradesh"},{code:"JK",name:"Jammu and Kashmir"},{code:"JH",name:"Jharkhand"},{code:"KA",name:"Karnataka"},{code:"KL",name:"Kerala"},{code:"LD",name:"Lakshadweep"},{code:"MP",name:"Madhya Pradesh"},{code:"MH",name:"Maharashtra"},{code:"MN",name:"Manipur"},{code:"ML",name:"Meghalaya"},{code:"MZ",name:"Mizoram"},{code:"NL",name:"Nagaland"},{code:"OR",name:"Orissa"},{code:"PY",name:"Pondicherry"},{code:"PB",name:"Punjab"}
2303,{code:"RJ",name:"Rajasthan"},{code:"SK",name:"Sikkim"},{code:"TN",name:"Tamil Nadu"},{code:"TG",name:"Telangana"},{code:"TR",name:"Tripura"},{code:"UP",name:"Uttar Pradesh"},{code:"UL",name:"Uttaranchal"},{code:"WB",name:"West Bengal"}]},{code:"ID",id:2263,name:"Indonesia",states:[{code:"AC",name:"Aceh"},{code:"BA",name:"Bali"},{code:"BB",name:"Bangka Belitung"},{code:"BT",name:"Banten"},{code:"BE",name:"Bengkulu"},{code:"GO",name:"Gorontalo"},{code:"JK",name:"Jakarta Raya"},{code:"JA",name:"Jambi"},{code:"JB",name:"Jawa Barat"},{code:"JT",name:"Jawa Tengah"},{code:"JI",name:"Jawa Timur"},{code:"KB",name:"Kalimantan Barat"},{code:"KS",name:"Kalimantan Selatan"},{code:"KT",name:"Kalimantan Tengah"},{code:"KI",name:"Kalimantan Timur"},{code:"KR",name:"Kepulauan Riau"},{code:"LA",name:"Lampung"},{code:"MA",name:"Maluku"},{code:"MU",name:"Maluku Utara"},{code:"NB",name:"Nusa Tenggara Barat"},{code:"NT",name:"Nusa Tenggara Timur"},{code:"PA",name:"Papua"},{code:"PB",name:"Papua Barat"},{code:"RI",name:"Riau"},{code:"SR",name:"Sulawesi Barat"},{code:"SN",name:"Sulawesi Selatan"},{code:"ST",name:"Sulawesi Tengah"},{code:"SG",name:"Sulawesi Tenggara"},{code:"SA",name:"Sulawesi Utara"},{code:"SB",name:"Sumatera Barat"},{code:"SS",name:"Sumatera Selatan"},{code:"SU",name:"Sumatera Utara"},{code:"YO",name:"Yogyakarta"}]},{code:"IR",id:2264,name:"Iran; Islamic Republic of",states:[{code:"IR44",name:"Alborz"},{code:"IR32",name:"Ardebil"},{code:"IR22",name:"Bushehr"},{code:"IR03",name:"Chahar Mahall and Bakhtiari"},{code:"IR33",name:"East Azarbaijan"},{code:"IR28",name:"Esfahan"},{code:"IR07",name:"Fars"},{code:"IR08",name:"Gilan"},{code:"IR37",name:"Golestan"},{code:"IR09",name:"Hamadan"},{code:"IR11",name:"Hormozgan"},{code:"IR42",name:"IRazavi Khorasan"},{code:"IR10",name:"Ilam"},{code:"IR29",name:"Kerman"},{code:"IR13",name:"Kermanshah"},{code:"IR15",name:"Khuzestan"},{code:"IR05",name:"Kohgiluyeh and Buyer Ahmad"},{code:"IR16",name:"Kordestan"},{code:"IR23",name:"Lorestan"},{code:"IR34",name:"Markazi"},{code:"IR35",name:"Mazandaran"},{code:"IR43",name:"North Khorasan"},{code:"IR38",name:"Qazvin"},{code:"IR39",name:"Qom"},{code:"IR25",name:"Semnan"},{code:"IR04",name:"Sistan and Baluchestan"},{code:"IR41",name:"South Khorasan"},{code:"IR26",name:"Tehran"},{code:"IR01",name:"West Azarbaijan"},{code:"IR40",name:"Yazd"},{code:"IR36",name:"Zanjan"}]},{code:"IQ",id:2265,name:"Iraq",states:[{code:"IZ01",name:"Al-Anbar"},{code:"IZ02",name:"Al-Basrah"},{code:"IZ03",name:"Al-Muthanna"},{code:"IZ04",name:"Al-Qadisiyah"},{code:"IZ17",name:"An-Najaf"},{code:"IZ11",name:"Arbil"},{code:"IZ05",name:"As-Sulaymaniyah"},{code:"IZ13",name:"At-Ta'mim"},{code:"IZ06",name:"Babil"},{code:"IZ07",name:"Baghdad"},{code:"IZ08",name:"Dahuk"},{code:"IZ09",name:"Dhi Qar"},{code:"IZ10",name:"Diyala"},{code:"IZ12",name:"Karbala"},{code:"IZ14",name:"Maysan"},{code:"IZ15",name:"Ninawa"},{code:"IZ18",name:"Salah ad-Din"},{code:"IZ16",name:"Wasit"}]},{code:"IE",id:2266,name:"Ireland",states:[{code:"CW",name:"Carlow"},{code:"CN",name:"Cavan"},{code:"CE",name:"Clare"},{code:"C",name:"Connacht"},{code:"CO",name:"Cork"},{code:"DL",name:"Donegal"},{code:"D",name:"Dublin"},{code:"G",name:"Galway"},{code:"KY",name:"Kerry"},{code:"KE",name:"Kildare"},{code:"KK",name:"Kilkenny"},{code:"LS",name:"Laois"},{code:"L",name:"Leinster"},{code:"LM",name:"Leitrim"},{code:"LK",name:"Limerick"},{code:"LD",name:"Longford"},{code:"LH",name:"Louth"},{code:"MO",name:"Mayo"},{code:"MH",name:"Meath"},{code:"MN",name:"Monaghan"},{code:"M",name:"Munster"},{code:"OY",name:"Offaly"},{code:"RN",name:"Roscommon"},{code:"SO",name:"Sligo"},{code:"TA",name:"Tipperary"},{code:"U",name:"Ulster"},{code:"WD",name:"Waterford"},{code:"WH",name:"Westmeath"},{code:"WX",name:"Wexford"},{code:"WW",name:"Wicklow"}]},{code:"IM",id:2445,name:"Isle of Man",states:[]},{code:"IL",id:2267,name:"Israel",states:[{code:"IS01",name:"HaDarom"},{code:"IS02",name:"HaMerkaz"},{code:"IS03",name:"HaZafon"},{code:"IS04",name:"Haifa"},{code:"IS06",name:"Jerusalem"},{code:"IS05",name:"Tel Aviv"}]},{code:"IT",id:2268,name:"Italy",states:[{code:"65",name:"Abruzzo"},{code:"AG",name:"Agrigento"},{code:"AL",name:"Alessandria"},{code:"AN",name:"Ancona"}
2303,{code:"AO",name:"Aosta"},{code:"AR",name:"Arezzo"},{code:"AP",name:"Ascoli Piceno"},{code:"AT",name:"Asti"},{code:"AV",name:"Avellino"},{code:"BA",name:"Bari"},{code:"BT",name:"Barletta-Andria-Trani"},{code:"77",name:"Basilicata"},{code:"BL",name:"Belluno"},{code:"BN",name:"Benevento"},{code:"BG",name:"Bergamo"},{code:"BI",name:"Biella"},{code:"BO",name:"Bologna"},{code:"BZ",name:"Bolzano"},{code:"BS",name:"Brescia"},{code:"BR",name:"Brindisi"},{code:"CA",name:"Cagliari"},{code:"78",name:"Calabria"},{code:"CL",name:"Caltanissetta"},{code:"72",name:"Campania"},{code:"CB",name:"Campobasso"},{code:"CI",name:"Carbonia-Iglesias"},{code:"CE",name:"Caserta"},{code:"CT",name:"Catania"},{code:"CZ",name:"Catanzaro"},{code:"CH",name:"Chieti"},{code:"CO",name:"Como"},{code:"CS",name:"Cosenza"},{code:"CR",name:"Cremona"},{code:"KR",name:"Crotone"},{code:"CN",name:"Cuneo"},{code:"45",name:"Emilia-Romagna"},{code:"EN",name:"Enna"},{code:"FM",name:"Fermo"},{code:"FE",name:"Ferrara"},{code:"FI",name:"Firenze"},{code:"FG",name:"Foggia"},{code:"FC",name:"Forli-Cesena"},{code:"36",name:"Friuli-Venezia Giulia"},{code:"FR",name:"Frosinone"},{code:"GE",name:"Genova"},{code:"GO",name:"Gorizia"},{code:"GR",name:"Grosseto"},{code:"IM",name:"Imperia"},{code:"IS",name:"Isernia"},{code:"AQ",name:"L'Aquila"},{code:"SP",name:"La Spezia"},{code:"LT",name:"Latina"},{code:"62",name:"Lazio"},{code:"LE",name:"Lecce"},{code:"LC",name:"Lecco"},{code:"42",name:"Liguria"},{code:"LI",name:"Livorno"},{code:"LO",name:"Lodi"},{code:"25",name:"Lombardia"},{code:"LU",name:"Lucca"},{code:"MC",name:"Macerata"},{code:"MN",name:"Mantova"},{code:"57",name:"Marche"},{code:"MS",name:"Massa-Carrara"},{code:"MT",name:"Matera"},{code:"VS",name:"Medio Campidano"},{code:"ME",name:"Messina"},{code:"MI",name:"Milano"},{code:"MO",name:"Modena"},{code:"67",name:"Molise"},{code:"MB",name:"Monza e Brianza"},{code:"NA",name:"Napoli"},{code:"NO",name:"Novara"},{code:"NU",name:"Nuoro"},{code:"OG",name:"Ogliastra"},{code:"OT",name:"Olbia-Tempio"},{code:"OR",name:"Oristano"},{code:"PD",name:"Padova"},{code:"PA",name:"Palermo"},{code:"PR",name:"Parma"},{code:"PV",name:"Pavia"},{code:"PG",name:"Perugia"},{code:"PU",name:"Pesaro e Urbino"},{code:"PE",name:"Pescara"},{code:"PC",name:"Piacenza"},{code:"21",name:"Piemonte"},{code:"PI",name:"Pisa"},{code:"PT",name:"Pistoia"},{code:"PN",name:"Pordenone"},{code:"PZ",name:"Potenza"},{code:"PO",name:"Prato"},{code:"75",name:"Puglia"},{code:"RG",name:"Ragusa"},{code:"RA",name:"Ravenna"},{code:"RC",name:"Reggio Calabria"},{code:"RE",name:"Reggio Emilia"},{code:"RI",name:"Rieti"},{code:"RN",name:"Rimini"},{code:"RM",name:"Roma"},{code:"RO",name:"Rovigo"},{code:"SA",name:"Salerno"},{code:"88",name:"Sardegna"},{code:"SS",name:"Sassari"},{code:"SV",name:"Savona"},{code:"82",name:"Sicilia"},{code:"SI",name:"Siena"},{code:"SR",name:"Siracusa"},{code:"SO",name:"Sondrio"},{code:"TA",name:"Taranto"},{code:"TE",name:"Teramo"},{code:"TR",name:"Terni"},{code:"TO",name:"Torino"},{code:"52",name:"Toscana"},{code:"TP",name:"Trapani"},{code:"32",name:"Trentino-Alto Adige"},{code:"TN",name:"Trento"},{code:"TV",name:"Treviso"},{code:"TS",name:"Trieste"},{code:"UD",name:"Udine"},{code:"55",name:"Umbria"},{code:"23",name:"Valle d'Aosta"},{code:"VA",name:"Varese"},{code:"34",name:"Veneto"},{code:"VE",name:"Venezia"},{code:"VB",name:"Verbano-Cusio-Ossola"},{code:"VC",name:"Vercelli"},{code:"VR",name:"Verona"},{code:"VV",name:"Vibo Valentia"},{code:"VI",name:"Vicenza"},{code:"VT",name:"Viterbo"}]},{code:"JM",id:2269,name:"Jamaica",states:[{code:"JM01",name:"Clarendon"},{code:"JM02",name:"Hanover"},{code:"JM17",name:"Kingston"},{code:"JM04",name:"Manchester"},{code:"JM07",name:"Portland"},{code:"JM08",name:"Saint Andrew"},{code:"JM09",name:"Saint Ann"},{code:"JM10",name:"Saint Catherine"},{code:"JM11",name:"Saint Elizabeth"},{code:"JM12",name:"Saint James"},{code:"JM13",name:"Saint Mary"},{code:"JM14",name:"Saint Thomas"},{code:"JM15",name:"Trelawny"},{code:"JM16",name:"Westmoreland"}]},{code:"JP",id:2270,name:"Japan",states:[{code:"JP23",name:"Aichi"},{code:"JP05",name:"Akita"},{code:"JP02",name:"Aomori"},{code:"JP12",name:"Chiba"},{code:"JP38",name:"Ehime"},{code:"JP18",name:"Fukui"},{code:"JP40",name:"Fukuoka"},{code:"JP07",name:"Fukushima"},{code:"JP21",name:"Gifu"},{code:"JP10",name:"Gunma"},{code:"JP34",name:"Hiroshima"},{code:"JP01",name:"Hokkaido"},{code:"JP28",name:"Hyogo"},{code:"JP08",name:"Ibaraki"},{code:"JP17",name:"Ishikawa"},{code:"JP03",name:"Iwate"},{code:"JP37",name:"Kagawa"},{code:"JP46",name:"Kagoshima"},{code:"JP14",name:"Kanagawa"},{code:"JP39",name:"Kochi"},{code:"JP43",name:"Kumamoto"},{code:"JP26",name:"Kyoto"},{code:"JP24",name:"Mie"},{code:"JP04",name:"Miyagi"},{code:"JP45",name:"Miyazaki"},{code:"JP20",name:"Nagano"},{code:"JP42",name:"Nagasaki"},{code:"JP29",name:"Nara"},{code:"JP15",name:"Niigata"},{code:"JP44",name:"Oita"},{code:"JP33",name:"Okayama"},{code:"JP47",name:"Okinawa"},{code:"JP27",name:"Osaka"},{code:"JP41",name:"Saga"},{code:"JP11",name:"Saitama"},{code:"JP25",name:"Shiga"},{code:"JP32",name:"Shimane"},{code:"JP22",name:"Shizuoka"},{code:"JP09",name:"Tochigi"},{code:"JP36",name:"Tokushima"},{code:"JP13",name:"Tokyo"},{code:"JP31",name:"Tottori"},{code:"JP16",name:"Toyama"},{code:"JP30",name:"Wakayama"},{code:"JP06",name:"Yamagata"},{code:"JP35",name:"Yamaguchi"},{code:"JP19",name:"Yamanashi"}]},{code:"JE",id:2422,name:"Jersey",states:[]}
2303,{code:"JO",id:2271,name:"Jordan",states:[{code:"JO01",name:"Ajlun"},{code:"JO02",name:"Amman"},{code:"JO03",name:"Aqaba"},{code:"JO04",name:"Balqa"},{code:"JO05",name:"Irbid"},{code:"JO06",name:"JarasJ"},{code:"JO07",name:"Karak"},{code:"JO08",name:"Ma'an"},{code:"JO09",name:"Madaba"},{code:"JO10",name:"Mafraq"},{code:"JO11",name:"Tafilah"},{code:"JO12",name:"Zarqa"}]},{code:"KZ",id:2272,name:"Kazakhstan",states:[{code:"KZ01",name:"Almaty"},{code:"KZ02",name:"Almaty (City)"},{code:"KZ03",name:"Aqmola"},{code:"KZ04",name:"Aqt\xf6be"},{code:"KZ05",name:"Astana"},{code:"KZ06",name:"Atyrau"},{code:"KZ08",name:"Bayqonyr"},{code:"KZ15",name:"East Kazakhstan"},{code:"KZ09",name:"Mangghystau"},{code:"KZ16",name:"North Kazakhstan"},{code:"KZ11",name:"Pavlodar"},{code:"KZ12",name:"Qaraghandy"},{code:"KZ13",name:"Qostanay"},{code:"KZ14",name:"Qyzylorda"},{code:"KZ10",name:"South Kazakhstan"},{code:"KZ07",name:"West Kazakhstan"},{code:"KZ17",name:"Zhambyl"}]},{code:"KE",id:2273,name:"Kenya",states:[{code:"KE10",name:"Baringo"},{code:"KE11",name:"Bomet"},{code:"KE12",name:"Bungoma"},{code:"KE13",name:"Busia"},{code:"KE14",name:"Elgeyo Marakwet"},{code:"KE15",name:"Embu"},{code:"KE16",name:"Garissa"},{code:"KE17",name:"Homa Bay"},{code:"KE18",name:"Isiolo"},{code:"KE19",name:"Kajiado"},{code:"KE20",name:"Kakamega"},{code:"KE21",name:"Kericho"},{code:"KE22",name:"Kiambu"},{code:"KE23",name:"Kilifi"},{code:"KE24",name:"Kirinyaga"},{code:"KE25",name:"Kisii"},{code:"KE26",name:"Kisumu"},{code:"KE27",name:"Kitui"},{code:"KE28",name:"Kwale"},{code:"KE29",name:"Laikipia"},{code:"KE30",name:"Lamu"},{code:"KE31",name:"Machakos"},{code:"KE32",name:"Makueni"},{code:"KE33",name:"Mandera"},{code:"KE34",name:"Marsabit"},{code:"KE35",name:"Meru"},{code:"KE36",name:"Migori"},{code:"KE37",name:"Mombasa"},{code:"KE38",name:"Murang"},{code:"KE05",name:"Nairobi"},{code:"KE39",name:"Nakuru"},{code:"KE40",name:"Nandi"},{code:"KE41",name:"Narok"},{code:"KE42",name:"Nyamira"},{code:"KE43",name:"Nyandarua"},{code:"KE44",name:"Nyeri"},{code:"KE45",name:"Samburu"},{code:"KE46",name:"Siaya"},{code:"KE47",name:"Taita Taveta"},{code:"KE48",name:"Tana River"},{code:"KE49",name:"Tharaka Nithi"},{code:"KE50",name:"Trans Nzoia"},{code:"KE51",name:"Turkana"},{code:"KE52",name:"Uasin Gishu"},{code:"KE53",name:"Vihiga"},{code:"KE54",name:"Wajir"},{code:"KE55",name:"West Pokot"}]},{code:"KI",id:2391,name:"Kiribati",states:[]},{code:"KP",id:2274,name:"Korea; Democratic People's Republic Of (North)",states:[{code:"KN01",name:"Chagang-do"},{code:"KN17",name:"Hamgyong-bukto"},{code:"KN03",name:"Hamgyong-namdo"},{code:"KN07",name:"Hwanghae-bukto"},{code:"KN06",name:"Hwanghae-namdo"},{code:"KN09",name:"Kangwon-do"},{code:"KN18",name:"Najin Sonbong-si"},{code:"KN11",name:"P'yongan-bukto"},{code:"KN15",name:"P'yongan-namdo"},{code:"KN12",name:"P'yongyang-si"},{code:"KN13",name:"Yanggang-do"}]},{code:"KR",id:2275,name:"Korea; Republic Of (South)",states:[{code:"KS10",name:"Busan"},{code:"KS05",name:"Chungcheongbuk-do"},{code:"KS17",name:"Chungcheongnam-do"},{code:"KS15",name:"Daegu"},{code:"KS19",name:"Daejeon"},{code:"KS06",name:"Gangwon-do"},{code:"KS18",name:"Gwangju"},{code:"KS13",name:"Gyeonggi-do"},{code:"KS14",name:"Gyeongsangbuk-do"},{code:"KS20",name:"Gyeongsangnam-do"},{code:"KS12",name:"Incheon"},{code:"KS01",name:"Jeju-do"},{code:"KS03",name:"Jeollabuk-do"},{code:"KS16",name:"Jeollanam-do"},{code:"KS22",name:"Sejong"},{code:"KS11",name:"Seoul"},{code:"KS21",name:"Ulsan"}]},{code:"KV",id:2392,name:"Kosovo",states:[]},{code:"KW",id:2276,name:"Kuwait",states:[{code:"KU04",name:"Al Ahmadi"},{code:"KU07",name:"Al Farwaniyah"},{code:"KU05",name:"Al Jahrah"},{code:"KU02",name:"Al Kuwayt"}
2303,{code:"KU08",name:"Hawalli"},{code:"KU09",name:"Mubarak Al-Kabir"}]},{code:"KG",id:2277,name:"Kyrgyzstan",states:[{code:"KG09",name:"Batken"},{code:"KG01",name:"Bishkek"},{code:"KG02",name:"Ch\xfcy"},{code:"KG03",name:"Jalal-Abad"},{code:"KG04",name:"Naryn"},{code:"KG10",name:"Osh [City]"},{code:"KG08",name:"Osh"},{code:"KG06",name:"Talas"},{code:"KG07",name:"Ysyk-K\xf6l"}]},{code:"LA",id:2278,name:"Lao People's Democratic Republic",states:[{code:"LA01",name:"Attapu"},{code:"LA22",name:"Bokeo"},{code:"LA23",name:"Bolikhamxai"},{code:"LA02",name:"Champasak"},{code:"LA03",name:"Houaphan"},{code:"LA15",name:"Khammouan"},{code:"LA16",name:"Louang Namtha"},{code:"LA17",name:"Louangphrabang"},{code:"LA07",name:"Oud\xf4mxai"},{code:"LA18",name:"Ph\xf4ngsali"},{code:"LA19",name:"Saravan"},{code:"LA20",name:"Savannakh\xe9t"},{code:"LA27",name:"Vientiane"},{code:"LA24",name:"Vientiane [prefecture]"},{code:"LA13",name:"Xaignabouri"},{code:"LA28",name:"Xais\xf4mboun"},{code:"LA26",name:"X\xe9kong"},{code:"LA14",name:"Xiangkhoang"}]},{code:"LV",id:2279,name:"Latvia",states:[{code:"LG34",name:"Ada\u017ei"},{code:"LG35",name:"Aglona"},{code:"LG36",name:"Aizkraukle"},{code:"LG37",name:"Aizpute"},{code:"LG38",name:"Akniste"},{code:"LG39",name:"Aloja"},{code:"LG40",name:"Alsunga"},{code:"LG41",name:"Aluksne"},{code:"LG42",name:"Amata"},{code:"LG43",name:"Ape"},{code:"LG44",name:"Auce"},{code:"LG45",name:"Babite"},{code:"LG46",name:"Baldone"},{code:"LG47",name:"Baltinava"},{code:"LG48",name:"Balvi"},{code:"LG49",name:"Bauska"},{code:"LG50",name:"Beverina"},{code:"LG51",name:"Broceni"},{code:"LG52",name:"Burtnieki"},{code:"LG53",name:"Carnikava"},{code:"LG54",name:"Cesis"},{code:"LG55",name:"Cesvaine"},{code:"LG56",name:"Cibla"},{code:"LG57",name:"Dagda"},{code:"LG06",name:"Daugavpils"},{code:"LG58",name:"Daugavpils"},{code:"LG59",name:"Dobele"},{code:"LG60",name:"Dundaga"},{code:"LG61",name:"Durbe"},{code:"LG62",name:"Engure"},{code:"LG63",name:"Ergli"},{code:"LG64",name:"Garkalne"},{code:"LG65",name:"Grobina"},{code:"LG66",name:"Gulbene"},{code:"LG67",name:"Iecava"},{code:"LG68",name:"Ik\u0161kile"},{code:"LG69",name:"Ilukste"},{code:"LG70",name:"Incukalns"},{code:"LG71",name:"Jaunjelgava"},{code:"LG72",name:"Jaunpiebalga"},{code:"LG73",name:"Jaunpils"},{code:"LG75",name:"Jekabpils"},{code:"LG74",name:"Jekabpils"},{code:"LG76",name:"Jelgava"},{code:"LG11",name:"Jelgava"},{code:"LG13",name:"Jurmala"},{code:"LG77",name:"Kandava"},{code:"LG78",name:"Karsava"},{code:"LG79",name:"Kegums"},{code:"LG80",name:"Kekava"},{code:"LG81",name:"Kocenu"},{code:"LG82",name:"Koknese"},{code:"LG83",name:"Kraslava"},{code:"LG84",name:"Krimulda"},{code:"LG85",name:"Krustpils"},{code:"LG86",name:"Kuldiga"},{code:"LG87",name:"Lielvarde"},{code:"LG16",name:"Liepaja"},{code:"LG88",name:"Ligatne"},{code:"LG89",name:"Limba\u017ei"},{code:"LG90",name:"Livani"},{code:"LG91",name:"Lubana"},{code:"LG92",name:"Ludza"},{code:"LG93",name:"Madona"},{code:"LG94",name:"Malpils"},{code:"LG95",name:"Marupe"},{code:"LG96",name:"Mazsalaca"},{code:"LGF1",name:"Mersraga"},{code:"LG97",name:"Nauk\u0161eni"},{code:"LG98",name:"Nereta"},{code:"LG99",name:"Nica"},{code:"LGA1",name:"Ogre"},{code:"LGA2",name:"Olaine"},{code:"LGA3",name:"Ozolnieki"},{code:"LGA4",name:"Pargauja"},{code:"LGA5",name:"Pavilosta"},{code:"LGA6",name:"Plavinas"},{code:"LGA7",name:"Preili"},{code:"LGA8",name:"Priekule"},{code:"LGA9",name:"Priekuli"},{code:"LGB1",name:"Rauna"},{code:"LGB2",name:"Rezekne"},{code:"LG23",name:"Rezekne"},{code:"LGB3",name:"Riebini"},{code:"LG25",name:"Riga"},{code:"LGB4",name:"Roja"},{code:"LGB5",name:"Ropa\u017ei"},{code:"LGB6",name:"Rucava"},{code:"LGB7",name:"Rugaji"},{code:"LGB8",name:"Rujiena"},{code:"LGB9",name:"Rundale"},{code:"LGC1",name:"Salacgriva"},{code:"LGC2",name:"Sala"},{code:"LGC3",name:"Salaspils"},{code:"LGC4",name:"Saldus"},{code:"LGC5",name:"Saulkrasti"},{code:"LGC6",name:"Seja"},{code:"LGC7",name:"Sigulda"},{code:"LGC8",name:"Skriveri"},{code:"LGC9",name:"Skrunda"},{code:"LGD1",name:"Smiltene"},{code:"LGD2",name:"Stopini"},{code:"LGD3",name:"Strenci"},{code:"LGD4",name:"Talsi"}
2303,{code:"LGD5",name:"Tervete"},{code:"LGD6",name:"Tukums"},{code:"LGD7",name:"Vainode"},{code:"LGD8",name:"Valka"},{code:"LGD9",name:"Valmiera"},{code:"LGE1",name:"Varaklani"},{code:"LGE2",name:"Varkava"},{code:"LGE3",name:"Vecpiebalga"},{code:"LGE4",name:"Vecumnieki"},{code:"LGE5",name:"Ventspils"},{code:"LG32",name:"Ventspils"},{code:"LGE6",name:"Viesite"},{code:"LGE7",name:"Vilaka"},{code:"LGE8",name:"Vilani"},{code:"LGE9",name:"Zilupe"}]},{code:"LB",id:2280,name:"Lebanon",states:[{code:"LE10",name:"Aakkar"},{code:"LE07",name:"An Nabatiyah"},{code:"LE11",name:"Baalbek-Hermel"},{code:"LE04",name:"Beirut"},{code:"LE08",name:"Beqaa"},{code:"LE05",name:"Mount Lebanon"},{code:"LE09",name:"North Lebanon"},{code:"LE06",name:"South Lebanon"}]},{code:"LS",id:2281,name:"Lesotho",states:[{code:"LT10",name:"Berea"},{code:"LT11",name:"Butha-Buthe"},{code:"LT12",name:"Leribe"},{code:"LT14",name:"Mafeteng"},{code:"LT13",name:"Mafeteng"},{code:"LT15",name:"Mohale's Hoek"},{code:"LT16",name:"Mokhotlong"},{code:"LT17",name:"Qacha's Nek"},{code:"LT18",name:"Quthing"},{code:"LT19",name:"Thaba-Tseka"}]},{code:"LR",id:2282,name:"Liberia",states:[{code:"LI15",name:"Bomi"},{code:"LI01",name:"Bong"},{code:"LI21\t",name:"Gbarpolu"},{code:"LI11",name:"Grand Bassa"},{code:"LI12",name:"Grand Cape Mount"},{code:"LI19",name:"Grand Gedeh"},{code:"LI16",name:"Grand Kru"},{code:"LI20",name:"Lofa"},{code:"LI17",name:"Margibi"},{code:"LI13",name:"Maryland"},{code:"LI14",name:"Montserrado"},{code:"LI09",name:"Nimba"},{code:"LI22",name:"River Gee"},{code:"LI18",name:"Rivercess"},{code:"LI10",name:"Sinoe"}]},{code:"LY",id:2380,name:"Libyan Arab Jamahiriya",states:[]},{code:"LI",id:2284,name:"Liechtenstein",states:[]},{code:"LT",id:2285,name:"Lithuania",states:[{code:"LH56",name:"Alytus"},{code:"LH57",name:"Kaunas"},{code:"LH58",name:"Klaipeda"},{code:"LH59",name:"Marijampole"},{code:"LH60",name:"Paneve\u017eys"},{code:"LH61",name:"Siauliai"},{code:"LH62",name:"Taurage"},{code:"LH63",name:"Tel\u0161iai"},{code:"LH64",name:"Utena"},{code:"LH65",name:"Vilnius"}]},{code:"LU",id:2286,name:"Luxembourg",states:[{code:"LU01",name:"Diekirch"},{code:"LU02",name:"Grevenmacher"},{code:"LU03",name:"Luxembourg"}]}
2303,{code:"MO",id:2287,name:"Macau",states:[]},{code:"MK",id:2288,name:"Macedonia",states:[]},{code:"YU",id:2367,name:"Macedonia; the Former Yugoslav Republic",states:[]},{code:"MG",id:2289,name:"Madagascar",states:[{code:"MA05",name:"Antananarivo"},{code:"MA01",name:"Antsiranana"},{code:"MA02",name:"Fianarantsoa"},{code:"MA03",name:"Mahajanga"},{code:"MA04",name:"Toamasina"},{code:"MA06",name:"Toliara"}]},{code:"MW",id:2290,name:"Malawi",states:[{code:"MI26",name:"Balaka"},{code:"MI24",name:"Blantyre"},{code:"MI02",name:"Chikwawa"},{code:"MI03",name:"Chiradzulu"},{code:"MI04",name:"Chitipa"},{code:"MI06",name:"Dedza"},{code:"MI07",name:"Dowa"},{code:"MI08",name:"Karonga"},{code:"MI09",name:"Kasungu"},{code:"MI27",name:"Likoma"},{code:"MI11",name:"Lilongwe"},{code:"MI28",name:"Machinga"},{code:"MI12",name:"Mangochi"},{code:"MI13",name:"Mchinji"},{code:"MI29",name:"Mulanje"},{code:"MI25",name:"Mwanza"},{code:"MI15",name:"Mzimba"},{code:"MI31",name:"Neno"},{code:"MI17",name:"Nkhata Bay"},{code:"MI18",name:"Nkhotakota"},{code:"MI19",name:"Nsanje"},{code:"MI16",name:"Ntcheu"},{code:"MI20",name:"Ntchisi"},{code:"MI30",name:"Phalombe"},{code:"MI21",name:"Rumphi"},{code:"MI22",name:"Salima"},{code:"MI05",name:"Thyolo"},{code:"MI23",name:"Zomba"}]},{code:"MY",id:2291,name:"Malaysia",states:[{code:"MY01",name:"Johor"},{code:"MY02",name:"Kedah"},{code:"MY03",name:"Kelantan"},{code:"MY04",name:"Melaka"},{code:"MY05",name:"Negeri Sembilan"},{code:"MY06",name:"Pahang"},{code:"MY08",name:"Perak"},{code:"MY09",name:"Perlis"},{code:"MY07",name:"Pulau Pinang"},{code:"MY12",name:"Sabah"},{code:"MY13",name:"Sarawak"},{code:"MY10",name:"Selangor"},{code:"MY11",name:"Terengganu"},{code:"MY14",name:"W.P. Kuala Lumpur"},{code:"MY15",name:"W.P. Labuan"},{code:"MY16",name:"W.P. Putrajaya"}]},{code:"MV",id:2384,name:"Maldives; Republic of",states:[]},{code:"ML",id:2292,name:"Mali",states:[{code:"ML01",name:"Bamako"},{code:"ML09",name:"Gao"},{code:"ML03",name:"Kayes"},{code:"ML10",name:"Kidal"},{code:"ML07",name:"Koulikoro"},{code:"ML.ME",name:"M\xe9naka"},{code:"ML04",name:"Mopti"},{code:"ML05",name:"S\xe9gou"},{code:"ML06",name:"Sikasso"},{code:"ML.TD",name:"Taoud\xe9nit"},{code:"ML08",name:"Timbuktu"}]},{code:"MT",id:2293,name:"Malta",states:[{code:"MT.CE",name:"Central"},{code:"MT.GO",name:"Gozo"},{code:"MT.NO",name:"Northern"},{code:"MT.SE",name:"South Eastern"},{code:"MT.SO",name:"Southern"}]},{code:"RM",id:2394,name:"Marshall Islands",states:[]},{code:"MQ",id:2423,name:"Martinique",states:[]},{code:"MR",id:2294,name:"Mauritania",states:[{code:"MR07",name:"Adrar"},{code:"MR03",name:"Assaba"},{code:"MR05",name:"Brakna"},{code:"MR08",name:"Dakhlet Nouadhibou"},{code:"MR04",name:"Gorgol"},{code:"MR10",name:"Guidimaka"},{code:"MR01",name:"Hodh ech Chargui"},{code:"MR02",name:"Hodh el Gharbi"},{code:"MR12",name:"Inchiri"},{code:"MR.NN",name:"Nouakchott Nord"},{code:"MR13",name:"Nouakchott Ouest"},{code:"MR.NS",name:"Nouakchott Sud"},{code:"MR09",name:"Tagant"},{code:"MR11",name:"Tiris Zemmour"},{code:"MR06",name:"Trarza"}]},{code:"MU",id:2295,name:"Mauritius",states:[{code:"MP21",name:"Agalega Islands"},{code:"MP12",name:"Black River"},{code:"MP22",name:"Cargados Carajos"},{code:"MP13",name:"Flacq"},{code:"MP14",name:"Grand Port"},{code:"MP15",name:"Moka"},{code:"MP16",name:"Pamplemousses"},{code:"MP17",name:"Plaines Wilhems"},{code:"MP18",name:"Port Louis"},{code:"MP19",name:"Rivi\xe8re du Rempart"},{code:"MP23",name:"Rodrigues"},{code:"MP20",name:"Savanne"}]},{code:"M999",id:2393,name:"Mayotte",states:[]},{code:"MX",id:2296,name:"Mexico",states:[{code:"AGU",name:"Aguascalientes"},{code:"BCS",name:"Baja California Sur"},{code:"BCN",name:"Baja California"},{code:"CAM",name:"Campeche"},{code:"CHP",name:"Chiapas"},{code:"CHH",name:"Chihuahua"},{code:"COA",name:"Coahuila"},{code:"COL",name:"Colima"},{code:"DIF",name:"Distrito Federal"},{code:"DUR",name:"Durango"},{code:"GUA",name:"Guanajuato"},{code:"GRO",name:"Guerrero"},{code:"HID",name:"Hidalgo"},{code:"JAL",name:"Jalisco"},{code:"MEX",name:"M\xe9xico"},{code:"MIC",name:"Michoac\xe1n"},{code:"MOR",name:"Morelos"},{code:"NAY",name:"Nayarit"},{code:"NLE",name:"Nuevo Le\xf3n"},{code:"OAX",name:"Oaxaca"},{code:"PUE",name:"Puebla"},{code:"QUE",name:"Quer\xe9taro"},{code:"ROO",name:"Quintana Roo"},{code:"SLP",name:"San Luis Potos\xed"}
2303,{code:"SIN",name:"Sinaloa"},{code:"SON",name:"Sonora"},{code:"TAB",name:"Tabasco"},{code:"TAM",name:"Tamaulipas"},{code:"TLA",name:"Tlaxcala"},{code:"VER",name:"Veracruz"},{code:"YUC",name:"Yucat\xe1n"},{code:"ZAC",name:"Zacatecas"}]},{code:"FM",id:2297,name:"Micronesia; Federated States of",states:[{code:"FM03",name:"Chuuk"},{code:"FM01",name:"Kosrae"},{code:"FM02",name:"Pohnpei"},{code:"FM04",name:"Yap"}]},{code:"MD",id:2395,name:"Moldova; Republic of",states:[]},{code:"MC",id:2299,name:"Monaco",states:[]},{code:"MN",id:2300,name:"Mongolia",states:[]},{code:"MJ",id:2396,name:"Montenegro",states:[{code:"ME-1",name:"Andrijevica"},{code:"ME-2",name:"Bar"},{code:"ME-3",name:"Berane"},{code:"ME-4",name:"Bijelo Polje"},{code:"ME-5",name:"Budva"},{code:"ME-6",name:"Cetinje"},{code:"ME-7",name:"Danilovgrad"},{code:"ME-8",name:"Herceg Novi"},{code:"ME-9",name:"Kola\u0161in"},{code:"ME-10",name:"Kotor"},{code:"ME-11",name:"Mojkovac"},{code:"ME-12",name:"Nik\u0161ic"},{code:"ME-13",name:"Plav"},{code:"ME-14",name:"Pljevlja"},{code:"ME-15",name:"Plu\u017eine"},{code:"ME-16",name:"Podgorica"},{code:"ME-17",name:"Ro\u017eaje"},{code:"ME-18",name:"\u0160avnik"},{code:"ME-19",name:"Tivat"},{code:"ME-20",name:"Ulcinj"},{code:"ME-21",name:"\u017dabljak"}]},{code:"MS",id:2424,name:"Montserrat",states:[]},{code:"MA",id:2301,name:"Morocco",states:[{code:"MA.BK",name:"B\xe9ni Mellal-Kh\xe9nifra"},{code:"MA.CS",name:"Casablanca-Settat"},{code:"MA.OL",name:"Dakhla-Oued Ed-Dahab"},{code:"MA.DT",name:"Dr\xe2a-Tafilalet"},{code:"MA.FK",name:"F\xe8s-Mekn\xe8s"},{code:"MA.GN",name:"Guelmim-Oued Noun"},{code:"MA.OF",name:"L'oriental"},{code:"MA.LS",name:"La\xe2youne-Sakia al Hamra"},{code:"MA.MS",name:"Marrakech-Safi"},{code:"MA.RK",name:"Rabat-Sal\xe9-K\xe9nitra"},{code:"MA.SS",name:"Souss-Massa"},{code:"MA.TC",name:"Tanger-T\xe9touan-Al Hoceima"}]},{code:"MZ",id:2302,name:"Mozambique",states:[{code:"MZ01",name:"Cabo Delgado"},{code:"MZ02",name:"Gaza"},{code:"MZ03",name:"Inhambane"},{code:"MZ10",name:"Manica"},{code:"MZ11",name:"Maputo [city]"},{code:"MZ04",name:"Maputo"}
2303,{code:"MZ06",name:"Nampula"},{code:"MZ07",name:"Niassa"},{code:"MZ05",name:"Sofala"},{code:"MZ08",name:"Tete"},{code:"MZ09",name:"Zamb\xe9zia"}]},{code:"MM",id:2303,name:"Myanmar",states:[{code:"MM.AY",name:"Ayeyarwady"},{code:"MM.BA",name:"Bago"},{code:"MM.CH",name:"Chin"},{code:"MM.KC",name:"Kachin"},{code:"MM.KH",name:"Kayah"},{code:"MM.KN",name:"Kayin"},{code:"MM.MG",name:"Magway"},{code:"MM.ML",name:"Mandalay"},{code:"MM.MO",name:"Mon"},{code:"MM.NY",name:"Naypyidaw"},{code:"MM.RA",name:"Rakhine"},{code:"MM.SA",name:"Sagaing"},{code:"MM.SH",name:"Shan"},{code:"MM.TN",name:"Tanintharyi"},{code:"MM.YA",name:"Yangon"}]},{code:"NA",id:2304,name:"Namibia",states:[{code:"WA29",name:"Erongo"},{code:"WA30",name:"Hardap"},{code:"WA31",name:"Karas"},{code:"WA40",name:"Kavango East"},{code:"WA41",name:"Kavango West"},{code:"WA21",name:"Khomas"},{code:"WA32",name:"Kunene"},{code:"WA33",name:"Ohangwena"},{code:"WA35",name:"Omaheke"},{code:"WA36",name:"Omusati"},{code:"WA37",name:"Oshana"},{code:"WA38",name:"Oshikoto"},{code:"WA39",name:"Otjozondjupa"},{code:"WA28",name:"Zambezi"}]},{code:"NR",id:2397,name:"Nauru",states:[]},{code:"NP",id:2305,name:"Nepal",states:[{code:"NP.FI",name:"Five"},{code:"NP.FO",name:"Four"},{code:"NP.ON",name:"One"},{code:"NP.SE",name:"Seven"},{code:"NP.SI",name:"Six"},{code:"NP.TH",name:"Three"},{code:"NP.TW",name:"Two"}]},{code:"NL",id:2306,name:"Netherlands",states:[{code:"DR",name:"Drenthe"},{code:"FL",name:"Flevoland"},{code:"FR",name:"Friesland"},{code:"GE",name:"Gelderland"},{code:"GR",name:"Groningen"},{code:"LI",name:"Limburg"},{code:"NB",name:"Noord-Brabant"},{code:"NH",name:"Noord-Holland"},{code:"OV",name:"Overijssel"},{code:"UT",name:"Utrecht"},{code:"ZE",name:"Zeeland"},{code:"ZH",name:"Zuid-Holland"}]},{code:"AN",id:2425,name:"Netherlands Antilles",states:[]},{code:"NC",id:2426,name:"New Caledonia",states:[]},{code:"NZ",id:2307,name:"New Zealand",states:[{code:"AUK",name:"Auckland"},{code:"BOP",name:"Bay of Plenty"},{code:"CAN",name:"Canterbury"},{code:"CIT",name:"Chatham Islands Territory"},{code:"GIS",name:"Gisborne"},{code:"HKB",name:"Hawke's Bay"},{code:"MWT",name:"Manawatu-Wanganui"},{code:"MBH",name:"Marlborough"},{code:"NSN",name:"Nelson"},{code:"N",name:"North Island"},{code:"NTL",name:"Northland"},{code:"OTA",name:"Otago"},{code:"S",name:"South Island"},{code:"STL",name:"Southland"},{code:"TKI",name:"Taranaki"},{code:"TAS",name:"Tasman District"},{code:"WKO",name:"Waikato"},{code:"WGN",name:"Wellington"},{code:"WTC",name:"West Coast"}]},{code:"NI",id:2308,name:"Nicaragua",states:[{code:"NU01",name:"Boaco"},{code:"NU02",name:"Carazo"},{code:"NU03",name:"Chinandega"},{code:"NU04",name:"Chontales"},{code:"NU05",name:"Estel\xed"},{code:"NU06",name:"Granada"},{code:"NU07",name:"Jinotega"},{code:"NU08",name:"Le\xf3n"},{code:"NU09",name:"Madriz"},{code:"NU10",name:"Managua"},{code:"NU11",name:"Masaya"},{code:"NU12",name:"Matagalpa"},{code:"NU13",name:"Nueva Segovia"},{code:"NU17",name:"Regi\xf3n Aut\xf3noma del Caribe Norte"},{code:"NU18",name:"Regi\xf3n Aut\xf3noma del Caribe Sur"},{code:"NU14",name:"R\xedo San Juan"},{code:"NU15",name:"Rivas"}]},{code:"NE",id:2309,name:"Niger",states:[{code:"NG01",name:"Agadez"},{code:"NG02",name:"Diffa"},{code:"NG03",name:"Dosso"},{code:"NG04",name:"Maradi"},{code:"NG08",name:"Niamey"},{code:"NG06",name:"Tahoua"},{code:"NG09",name:"Tillab\xe9ri"},{code:"NG07",name:"Zinder"}]},{code:"NG",id:2310,name:"Nigeria",states:[{code:"NI45",name:"Abia"},{code:"NI35",name:"Adamawa"},{code:"NI21",name:"Akwa Ibom"},{code:"NI25",name:"Anambra"},{code:"NI46",name:"Bauchi"},{code:"NI52",name:"Bayelsa"},{code:"NI26",name:"Benue"},{code:"NI27",name:"Borno"},{code:"NI22",name:"Cross River"},{code:"NI36",name:"Delta"},{code:"NI53",name:"Ebonyi"},{code:"NI37",name:"Edo"},{code:"NI54",name:"Ekiti"},{code:"NI47",name:"Enugu"},{code:"NI11",name:"Federal Capital Territory"},{code:"NI55",name:"Gombe"},{code:"NI28",name:"Imo"},{code:"NI39",name:"Jigawa"},{code:"NI23",name:"Kaduna"},{code:"NI29",name:"Kano"},{code:"NI24",name:"Katsina"},{code:"NI40",name:"Kebbi"},{code:"NI41",name:"Kogi"},{code:"NI30",name:"Kwara"},{code:"NI05",name:"Lagos"},{code:"NI56",name:"Nassarawa"},{code:"NI31",name:"Niger"},{code:"NI16",name:"Ogun"},{code:"NI48",name:"Ondo"},{code:"NI42",name:"Osun"}
2303,{code:"NI32",name:"Oyo"},{code:"NI49",name:"Plateau"},{code:"NI50",name:"Rivers"},{code:"NI51",name:"Sokoto"},{code:"NI43",name:"Taraba"},{code:"NI44",name:"Yobe"},{code:"NI57",name:"Zamfara"}]},{code:"NU",id:2427,name:"Niue",states:[]},{code:"NF",id:2428,name:"Norfolk Island",states:[]},{code:"MP",id:2429,name:"Northern Mariana Islands",states:[]},{code:"NO",id:2311,name:"Norway",states:[{code:"NO02",name:"Akershus"},{code:"NO09",name:"Aust-Agder"},{code:"NO06",name:"Buskerud"},{code:"NO20",name:"Finnmark"},{code:"NO04",name:"Hedmark"},{code:"NO12",name:"Hordaland"},{code:"NO22",name:"Jan Mayen (Arctic Region)"},{code:"NO15",name:"M\xf8re og Romsdal"},{code:"NO17",name:"Nord-Tr\xf8ndelag"},{code:"NO18",name:"Nordland"},{code:"NO05",name:"Oppland"},{code:"NO03",name:"Oslo"},{code:"NO01",name:"\xd8stfold"},{code:"NO11",name:"Rogaland"},{code:"NO14",name:"Sogn og Fjordane"},{code:"NO16",name:"S\xf8r-Tr\xf8ndelag"},{code:"NO21",name:"Svalbard (Arctic Region)"},{code:"NO08",name:"Telemark"},{code:"NO19",name:"Troms"},{code:"NO10",name:"Vest-Agder"},{code:"NO07",name:"Vestfold"}]},{code:"OM",id:2312,name:"Oman",states:[{code:"MU01",name:"Ad Dakhliyah"},{code:"MU09",name:"Adh Dhahirah"},{code:"MU11",name:"Al Batinah North"},{code:"MU02",name:"Al Batinah South"},{code:"MU10",name:"Al Buraymi"},{code:"MU03",name:"Al Wusta"},{code:"MU12",name:"Ash Sharqiyah North"},{code:"MU04",name:"Ash Sharqiyah South"},{code:"MU08",name:"Dhofar"},{code:"MU07",name:"Musandam"},{code:"MU06",name:"Muscat"}]},{code:"PK",id:2313,name:"Pakistan",states:[{code:"PK06",name:"Azad Kashmir"},{code:"PK02",name:"Balochistan"},{code:"PK01",name:"Federally Administered Tribal Areas"},{code:"PK07",name:"Gilgit-Baltistan"},{code:"PK08",name:"Islamabad"}
2303,{code:"PK03",name:"Khyber-Pakhtunkhwa"},{code:"PK04",name:"Punjab"},{code:"PK05",name:"Sindh"}]},{code:"PW",id:2314,name:"Palau",states:[]},{code:"PS",id:2430,name:"Palestinian Territory; Occupied",states:[]},{code:"PA",id:2315,name:"Panama",states:[{code:"PM01",name:"Bocas del Toro"},{code:"PM02\t",name:"Chiriqu\xed"},{code:"PM03",name:"Cocl\xe9"},{code:"PM04",name:"Cocl\xe9"},{code:"PM05",name:"Dari\xe9n"},{code:"PM11",name:"Ember\xe1"},{code:"PM06",name:"Herrera"},{code:"PM09",name:"Kuna Yala"},{code:"PM07",name:"Los Santos"},{code:"PM12",name:"Ng\xe4be Bugl\xe9"},{code:"PM13",name:"Panam\xe1 Oeste"},{code:"PM08",name:"Panam\xe1"},{code:"PM10",name:"Veraguas"}]},{code:"PG",id:2316,name:"Papua New Guinea",states:[{code:"PP07",name:"Bougainville"},{code:"PP01",name:"Central"},{code:"PP08",name:"Chimbu"},{code:"PP10",name:"East New Britain"},{code:"PP11",name:"East Sepik"},{code:"PP09",name:"Eastern Highlands"},{code:"PP19",name:"Enga"},{code:"PP02",name:"Gulf"},{code:"PP21",name:"Hela"},{code:"PP22",name:"Jiwaka"},{code:"PP12",name:"Madang"},{code:"PP13",name:"Manus"},{code:"PP03",name:"Milne Bay"},{code:"PP14",name:"Morobe"},{code:"PP20",name:"National Capital District"},{code:"PP15",name:"New Ireland"},{code:"PP04",name:"Northern"},{code:"PP18",name:"Sandaun"},{code:"PP05",name:"Southern Highlands"},{code:"PP17",name:"West New Britain"},{code:"PP06",name:"Western"},{code:"PP16",name:"Western Highlands"}]},{code:"PY",id:2317,name:"Paraguay",states:[{code:"PA23",name:"Alto Paraguay"},{code:"PA01",name:"Alto Paran\xe1"},{code:"PA02",name:"Amambay"},{code:"PA22",name:"Asunci\xf3n"},{code:"PA24",name:"Boquer\xf3n"},{code:"PA04",name:"Caaguaz\xfa"},{code:"PA05",name:"Caazap\xe1"},{code:"PA19",name:"Canindey\xfa"},{code:"PA06",name:"Central"},{code:"PA07",name:"Concepci\xf3n"},{code:"PA08",name:"Cordillera"},{code:"PA10",name:"Guair\xe1"},{code:"PA11",name:"Itap\xfaa"},{code:"PA12",name:"Misiones"},{code:"PA15",name:"Paraguar\xed"},{code:"PA16",name:"Presidente Hayes"},{code:"PA17",name:"San Pedro"},{code:"PA13",name:"\xd1eembuc\xfa"}]},{code:"PE",id:2318,name:"Peru",states:[{code:"PE01",name:"Amazonas"},{code:"PE02",name:"Ancash"},{code:"PE03",name:"Apur\xedmac"},{code:"PE04",name:"Arequipa"},{code:"PE05",name:"Ayacucho"},{code:"PE06",name:"Cajamarca"},{code:"PE07",name:"Callao"},{code:"PE08",name:"Cusco"},{code:"PE09",name:"Huancavelica"},{code:"PE10",name:"Hu\xe1nuco"},{code:"PE11",name:"Ica"},{code:"PE12",name:"Jun\xedn"},{code:"PE13",name:"La Libertad"},{code:"PE14",name:"Lambayeque"},{code:"PE15",name:"Lima"},{code:"PE26",name:"Lima [Province]"},{code:"PE16",name:"Loreto"},{code:"PE17",name:"Madre de Dios"},{code:"PE18",name:"Moquegua"},{code:"PE19",name:"Pasco"},{code:"PE20",name:"Piura"},{code:"PE21",name:"Puno"},{code:"PE22",name:"San Mart\xedn"},{code:"PE23",name:"Tacna"},{code:"PE24",name:"Tumbes"},{code:"PE25",name:"Ucayali"}]}
2303,{code:"PH",id:2319,name:"Philippines",states:[{code:"RP01",name:"Abra"},{code:"RP02",name:"Agusan del Norte"},{code:"RP03",name:"Agusan del Sur"},{code:"RP04",name:"Aklan"},{code:"RP05",name:"Albay"},{code:"RP06",name:"Antique"},{code:"RPH6",name:"Apayao"},{code:"RPG8",name:"Aurora"},{code:"RP22",name:"Basilan"},{code:"RP07",name:"Bataan"},{code:"RP08",name:"Batanes"},{code:"RP09",name:"Batangas"},{code:"RP10",name:"Benguet"},{code:"RPH9",name:"Biliran"},{code:"RP11",name:"Bohol"},{code:"RP12",name:"Bukidnon"},{code:"RP13",name:"Bulacan"},{code:"RP14",name:"Cagayan"},{code:"RP15",name:"Camarines Norte"},{code:"RP16",name:"Camarines Sur"},{code:"RP17",name:"Camiguin"},{code:"RP18",name:"Capiz"},{code:"RP19",name:"Catanduanes"},{code:"RP20",name:"Cavite"},{code:"RP21",name:"Cebu"},{code:"RPI6",name:"Compostela Valley"},{code:"RP57",name:"Cotabato"},{code:"RP26",name:"Davao Oriental"},{code:"RPI7",name:"Davao del Norte"},{code:"RP25",name:"Davao del Sur"},{code:"RPI9",name:"Dinagat Islands"},{code:"RP23",name:"Eastern Samar"},{code:"RPJ3",name:"Guimaras"},{code:"RP27",name:"Ifugao"},{code:"RP28",name:"Ilocos Norte"},{code:"RP29",name:"Ilocos Sur"},{code:"RP30",name:"Iloilo"},{code:"RP31",name:"Isabela"},{code:"RPJ7",name:"Kalinga"},{code:"RP36",name:"La Union"},{code:"RP33",name:"Laguna"},{code:"RP34",name:"Lanao del Norte"},{code:"RP35",name:"Lanao del Sur"},{code:"RP37",name:"Leyte"},{code:"RP56",name:"Maguindanao"},{code:"RP38",name:"Marinduque"},{code:"RP39",name:"Masbate"},{code:"RPD9",name:"Metropolitan Manila"},{code:"RP42",name:"Misamis Occidental"},{code:"RP43",name:"Misamis Oriental"},{code:"RP44",name:"Mountain"}
2303,{code:"RPH3",name:"Negros Occidental"},{code:"RP46",name:"Negros Oriental"},{code:"RP67",name:"Northern Samar"},{code:"RP47",name:"Nueva Ecija"},{code:"RP48",name:"Nueva Vizcaya"},{code:"RP40",name:"Occidental Mindoro"},{code:"RP41",name:"Oriental Mindoro"},{code:"RP49",name:"Palawan"},{code:"RP50",name:"Pampanga"},{code:"RP51",name:"Pangasinan"},{code:"RPH2",name:"Quezon"},{code:"RP68",name:"Quirino"},{code:"RP53",name:"Rizal"},{code:"RP54",name:"Romblon"},{code:"RP55",name:"Samar"},{code:"PH72",name:"Sarangani"},{code:"RP69",name:"Siquijor"},{code:"RP58",name:"Sorsogon"},{code:"RP70",name:"South Cotabato"},{code:"RP59",name:"Southern Leyte"},{code:"RP71",name:"Sultan Kudarat"},{code:"RP60",name:"Sulu"},{code:"RP61",name:"Surigao del Norte"},{code:"RP62",name:"Surigao del Sur"},{code:"RPO3",name:"Tarlac"},{code:"RPO4",name:"Tawi-Tawi"},{code:"RPP1",name:"Zambales"},{code:"RPG7",name:"Zamboanga del Norte"},{code:"RP65",name:"Zamboanga del Sur"},{code:"RP66",name:"Zamboanga-Sibugay"}]},{code:"PN",id:2431,name:"Pitcairn",states:[]},{code:"PL",id:2320,name:"Poland",states:[{code:"PL-DS",name:"Dolnoslaskie"},{code:"PL-KP",name:"Kujawsko-pomorskie"},{code:"PL-LD",name:"L\xf3dzkie"},{code:"PL-LU",name:"Lubelskie"},{code:"PL-LB",name:"Lubuskie"},{code:"PL-MA",name:"Malopolskie"},{code:"PL-MZ",name:"Mazowieckie"},{code:"PL-OP",name:"Opolskie"},{code:"PL-PK",name:"Podkarpackie"},{code:"PL-PD",name:"Podlaskie"},{code:"PL-PM",name:"Pomorskie"},{code:"PL-SL",name:"Slaskie"},{code:"PL-SK",name:"Swietokrzyskie"},{code:"PL-WN",name:"Warminsko-mazurskie"},{code:"PL-WP",name:"Wielkopolskie"}]},{code:"PT",id:2321,name:"Portugal",states:[{code:"PO23",name:"Acores Autonomous"},{code:"PO02",name:"Aveiro"},{code:"PO03",name:"Beja"},{code:"PO04",name:"Braga"},{code:"PO05",name:"Braganca"},{code:"PO06",name:"Castelo Branco"},{code:"PO07",name:"Coimbra"},{code:"PO08",name:"Evora"},{code:"PO09",name:"Faro"},{code:"PO11",name:"Guarda"},{code:"PO13",name:"Leiria"},{code:"PO14",name:"Lisboa"},{code:"PO10",name:"Madeira Autonomous"},{code:"PO16",name:"Portalegre"},{code:"PO17",name:"Porto"},{code:"PO18",name:"Santarem"},{code:"PO19",name:"Setubal"},{code:"PO20",name:"Viana do Castelo"},{code:"PO21",name:"Vila Real"},{code:"PO22",name:"Viseu"}]},{code:"PR",id:2374,name:"Puerto Rico",states:[{code:"PR.AJ",name:"Adjuntas"},{code:"PR.AD",name:"Aguada"},{code:"PR.AL",name:"Aguadilla"},{code:"PR.AB",name:"Aguas Buenas"},{code:"PR.AI",name:"Aibonito"},{code:"PR.AN",name:"A\xf1asco"},{code:"PR.AC",name:"Arecibo"},{code:"PR.AR",name:"Arroyo"},{code:"PR.BC",name:"Barceloneta"},{code:"PR.BQ",name:"Barranquitas"},{code:"PR.BY",name:"Bayam\xf3n"},{code:"PR.CR",name:"Cabo Rojo"},{code:"PR.CG",name:"Caguas"},{code:"PR.CA",name:"Camuy"},{code:"PR.CV",name:"Can\xf3vanas"},{code:"PR.CN",name:"Carolina"},{code:"PR.CT",name:"Cata\xf1o"},{code:"PR.CY",name:"Cayey"},{code:"PR.CB",name:"Ceiba"},{code:"PR.CL",name:"Ciales"},{code:"PR.CD",name:"Cidra"},{code:"PR.CO",name:"Coamo"},{code:"PR.CM",name:"Comer\xedo"},{code:"PR.CZ",name:"Corozal"},{code:"PR.CU",name:"Culebra"},{code:"PR.DO",name:"Dorado"},{code:"PR.FJ",name:"Fajardo"},{code:"PR.FL",name:"Florida"},{code:"PR.GC",name:"Gu\xe1nica"},{code:"PR.GM",name:"Guayama"},{code:"PR.GL",name:"Guayanilla"},{code:"PR.GB",name:"Guaynabo"},{code:"PR.GR",name:"Gurabo"},{code:"PR.HA",name:"Hatillo"},{code:"PR.HO",name:"Hormigueros"},{code:"PR.HU",name:"Humacao"},{code:"PR.IS",name:"Isabela"},{code:"PR.JY",name:"Jayuya"},{code:"PR.JD",name:"Juana D\xedaz"},{code:"PR.JC",name:"Juncos"},{code:"PR.LJ",name:"Lajas"},{code:"PR.LR",name:"Lares"},{code:"PR.LM",name:"Las Mar\xedas"},{code:"PR.LP",name:"Las Piedras"},{code:"PR.LZ",name:"Lo\xedza"},{code:"PR.LQ",name:"Luquillo"},{code:"PR.MT",name:"Manat\xed"},{code:"PR.MR",name:"Maricao"},{code:"PR.MB",name:"Maunabo"},{code:"PR.MG",name:"Mayag\xfcez"},{code:"PR.MC",name:"Moca"},{code:"PR.MV",name:"Morovis"},{code:"PR.NG",name:"Naguabo"},{code:"PR.NR",name:"Naranjito"},{code:"PR.OR",name:"Orocovis"},{code:"PR.PT",name:"Patillas"},{code:"PR.PN\t",name:"Pe\xf1uelas"},{code:"PR.PO",name:"Ponce"},{code:"PR.QB",name:"Quebradillas"},{code:"PR.RC",name:"Rinc\xf3n"},{code:"PR.RG",name:"R\xedo Grande"},{code:"PR.SB",name:"Sabana Grande"},{code:"PR.SA",name:"Salinas"},{code:"PR.SG",name:"San Germ\xe1n"},{code:"PR.SJ",name:"San Juan"},{code:"PR.SL",name:"San Lorenzo"},{code:"PR.SS",name:"San Sebasti\xe1n"},{code:"PR.SI",name:"Santa Isabel"},{code:"PR.TA",name:"Toa Alta"},{code:"PR.TB",name:"Toa Baja"},{code:"PR.TJ",name:"Trujillo Alto"},{code:"PR.UT",name:"Utuado"},{code:"PR.VA",name:"Vega Alta"},{code:"PR.VB",name:"Vega Baja"},{code:"PR.VQ",name:"Vieques"},{code:"PR.VL",name:"Villalba"},{code:"PR.YB",name:"Yabucoa"},{code:"PR.YU",name:"Yauco"}]},{code:"QA",id:2322,name:"Qatar",states:[{code:"QA01",name:"Ad Dawhah"},{code:"QA13",name:"Al Daayen"},{code:"QA04",name:"Al Khawr"},{code:"QA10",name:"Al Wakrah"},{code:"QA14",name:"Al-Shahaniya"},{code:"QA06",name:"Ar Rayyan"},{code:"QA08",name:"Madinat ach Shamal"},{code:"QA09",name:"Umm Salal"}]}
2303,{code:"R999",id:2398,name:"Reunion",states:[]},{code:"RO",id:2323,name:"Romania",states:[{code:"RO-AB",name:"Alba"},{code:"RO-AR",name:"Arad"},{code:"RO-AG",name:"Arges"},{code:"RO-BC",name:"Bacau"},{code:"RO-BH",name:"Bihor"},{code:"RO-BN",name:"Bistrita-Nasaud"},{code:"RO-BT",name:"Botosani"},{code:"RO-BR",name:"Braila"},{code:"RO-BV",name:"Brasov"},{code:"RO-B",name:"Bucuresti"},{code:"RO-BZ",name:"Buzau"},{code:"RO-CL",name:"Calarasi"},{code:"RO-CS",name:"Caras-Severin"},{code:"RO-CJ",name:"Cluj"},{code:"RO-CT",name:"Constanta"},{code:"RO-CV",name:"Covasna"},{code:"RO-DB",name:"D\xe2mbovita"},{code:"RO-DJ",name:"Dolj"},{code:"RO-GL",name:"Galati"},{code:"RO-GR",name:"Giurgiu"},{code:"RO-GJ",name:"Gorj"},{code:"RO-HR",name:"Harghita"},{code:"RO-HD",name:"Hunedoara"},{code:"RO-IL",name:"Ialomita"},{code:"RO-IS",name:"Iasi"},{code:"RO-IF",name:"Ilfov"},{code:"RO-MM",name:"Maramures"},{code:"RO-MH",name:"Mehedinti"},{code:"RO-MS",name:"Mures"},{code:"RO-NT",name:"Neamt"},{code:"RO-OT",name:"Olt"},{code:"RO-PH",name:"Prahova"}
2303,{code:"RO-SJ",name:"Salaj"},{code:"RO-SM",name:"Satu Mare"},{code:"RO-SB",name:"Sibiu"},{code:"RO-SV",name:"Suceava"},{code:"RO-TR",name:"Teleorman"},{code:"RO-TM",name:"Timis"},{code:"RO-TL",name:"Tulcea"},{code:"RO-VL",name:"V\xe2lcea"},{code:"RO-VS",name:"Vaslui"},{code:"RO-VN",name:"Vrancea"}]},{code:"RU",id:2324,name:"Russian Federation",states:[{code:"RS01",name:"Adygeya Republic"},{code:"RS02",name:"Aginskiy Buryatskiy Avtonomnyy Okrug"},{code:"RS03",name:"Altay Republic"},{code:"RS04",name:"Altayskiy Kray"},{code:"RS05",name:"Amurskaya Oblast'"},{code:"RS06",name:"Arkhangel'skaya Oblast'"},{code:"RS07",name:"Astrakhanskaya Oblast'"},{code:"RS08",name:"Bashkortostan Republic"},{code:"RS09",name:"Belgorodskaya Oblast'"},{code:"RS10",name:"Bryanskaya Oblast'"},{code:"RS11",name:"Buryatiya Republic"},{code:"RSCI",name:"Chechnya Republic"},{code:"RS13",name:"Chelyabinskaya Oblast'"},{code:"RS14",name:"Chitinskaya Oblast'"},{code:"RS15",name:"Chukotskiy Avtonomnyy Okrug"},{code:"RS16",name:"Chuvashiya Republic"},{code:"RS17",name:"Dagestan Republic"},{code:"RS18",name:"Evenkiyskiy Avtonomnyy Okrug"},{code:"RS20",name:"Irkutskaya Oblast'"},{code:"RS21",name:"Ivanovskaya Oblast'"},{code:"RS22",name:"Kabardino-Balkariya Republic"},{code:"RS23",name:"Kaliningradskaya Oblast'"},{code:"RS24",name:"Kalmykiya Republic"},{code:"RS25",name:"Kaluzhskaya Oblast'"},{code:"RS26",name:"Kamchatskaya Oblast'"},{code:"RS27",name:"Karachayevo-Cherkesiya Republic"},{code:"RS28",name:"Kareliya Republic"},{code:"RS29",name:"Kemerovskaya Oblast'"},{code:"RS30",name:"Khabarovskiy Kray"},{code:"RS31",name:"Khakasiya Republic"},{code:"RS32",name:"Khanty-Mansiyskiy Avtonomnyy Okrug"},{code:"RS33",name:"Kirovskaya Oblast'"},{code:"RS34",name:"Komi Republic"},{code:"RS36",name:"Koryakskiy Avtonomnyy Okrug"},{code:"RS37",name:"Kostromskaya Oblast'"},{code:"RS38",name:"Krasnodarskiy Kray"},{code:"RS39",name:"Krasnoyarskiy Kray"},{code:"RS40",name:"Kurganskaya Oblast'"},{code:"RS41",name:"Kurskaya Oblast'"},{code:"RS42",name:"Leningradskaya Oblast'"},{code:"RS43",name:"Lipetskaya Oblast'"},{code:"RS44",name:"Magadanskaya Oblast'"},{code:"RS45",name:"Mariy-El Republic"},{code:"RS46",name:"Mordoviya Republic"},{code:"RS47",name:"Moskovskaya Oblast'"},{code:"RS48",name:"Moskva Federal City"},{code:"RS49",name:"Murmanskaya Oblast'"},{code:"RS50",name:"Nenetskiy Avtonomnyy Okrug"},{code:"RS51",name:"Nizhegorodskaya Oblast'"},{code:"RS52",name:"Novgorodskaya Oblast'"},{code:"RS53",name:"Novosibirskaya Oblast'"},{code:"RS54",name:"Omskaya Oblast'"},{code:"RS55",name:"Orenburgskaya Oblast'"},{code:"RS56",name:"Orlovskaya Oblast'"},{code:"RS57",name:"Penzenskaya Oblast'"},{code:"RS90",name:"Permskiy Kray"},{code:"RS59",name:"Primorskiy Kray"},{code:"RS60",name:"Pskovskaya Oblast'"},{code:"RS61",name:"Rostovskaya Oblast'"},{code:"RS62",name:"Ryazanskaya Oblast'"},{code:"RS63",name:"Sakha (Yakutiya) Republic"},{code:"RS64",name:"Sakhalinskaya Oblast'"},{code:"RS65",name:"Samarskaya Oblast'"},{code:"RS66",name:"Sankt-Peterburg Federal City"},{code:"RS67",name:"Saratovskaya Oblast'"},{code:"RS68",name:"Severnaya Osetiya-Alaniya Respublika"},{code:"RS69",name:"Smolenskaya Oblast'"},{code:"RS70",name:"Stavropol'skiy Kray"},{code:"RS71",name:"Sverdlovskaya Oblast'"},{code:"RS72",name:"Tambovskaya Oblast'"},{code:"RS73",name:"Tatarstan Republic"},{code:"RS74",name:"Taymyrskiy (Dolgano-Nenetskiy) Avtonomnyy Okrug"},{code:"RS75",name:"Tomskaya Oblast'"},{code:"RS76",name:"Tul'skaya Oblast'"},{code:"RS77",name:"Tverskaya Oblast'"},{code:"RS78",name:"Tyumenskaya Oblast'"},{code:"RS79",name:"Tyva Republic"},{code:"RS80",name:"Udmurtiya Republic"},{code:"RS81",name:"Ul'yanovskaya Oblast'"},{code:"RS82",name:"Ust'-Ordynskiy Buryatskiy Avtonomnyy Okrug"},{code:"RS83",name:"Vladimirskaya Oblast'"},{code:"RS84",name:"Volgogradskaya Oblast'"},{code:"RS85",name:"Vologodskaya Oblast'"},{code:"RS86",name:"Voronezhskaya Oblast'"},{code:"RS87",name:"Yamalo-Nenetskiy Avtonomnyy Okrug"},{code:"RS88",name:"Yaroslavskaya Oblast'"},{code:"RS89",name:"Yevreyskaya Avtonomnaya Oblast'"}]}
2303,{code:"RW",id:2325,name:"Rwanda",states:[{code:"RW11",name:"Eastern"},{code:"RW12",name:"Kigali City"},{code:"RW13",name:"Northern"},{code:"RW15",name:"Southern"},{code:"RW14",name:"Western"}]},{code:"BL",id:2432,name:"Saint Barth\xe9lemy",states:[]},{code:"SH",id:2433,name:"Saint Helena; Ascension and Tristan Da Cunha",states:[]},{code:"KN",id:2399,name:"Saint Kitts and Nevis",states:[]},{code:"LC",id:2326,name:"Saint Lucia",states:[]},{code:"MF",id:2434,name:"Saint Martin",states:[{code:"MF.SM",name:"Saint Martin"}]},{code:"PM",id:2435,name:"Saint Pierre And Miquelon",states:[]},{code:"VC",id:2400,name:"Saint Vincent and Grenadines",states:[]},{code:"WS",id:2401,name:"Samoa",states:[{code:"WS01",name:"A'ana"},{code:"WS02",name:"Aiga-i-le-Tai"},{code:"WS03",name:"Atua"},{code:"WS04",name:"Fa'asaleleaga"},{code:"WS05",name:"Gaga'emauga"},{code:"WS07",name:"Gagaifomauga"},{code:"WS08",name:"Palauli"},{code:"WS09",name:"Satupa'itea"},{code:"WS10",name:"Tuamasaga"},{code:"WS06",name:"Va'a-o-Fonoti"},{code:"WS11",name:"Vaisigano"}]},{code:"SM",id:2327,name:"San Marino",states:[]},{code:"TP",id:2403,name:"Sao Tome and Principe",states:[]},{code:"SA",id:2328,name:"Saudi Arabia",states:[{code:"SA02",name:"Al Bahah"},{code:"SA15",name:"Al Hudud ash Shamaliyah"},{code:"SA20",name:"Al Jawf"},{code:"SA05",name:"Al Madinah"},{code:"SA08",name:"Al Qasim"},{code:"SA10",name:"Ar Riyad"},{code:"SA06",name:"Ash Sharqiyah"},{code:"SA11",name:"Asir"},{code:"SA13",name:"Ha'il"},{code:"SA17",name:"Jizan"},{code:"SA14",name:"Makkah"},{code:"SA16",name:"Najran"},{code:"SA19",name:"Tabuk"}]},{code:"SN",id:2329,name:"Senegal",states:[{code:"SG01",name:"Dakar"},{code:"SG03",name:"Diourbel"},{code:"SG09",name:"Fatick"},{code:"SG16",name:"Kaffrine"},{code:"SG10",name:"Kaolack"},{code:"SG17",name:"K\xe9dougou"},{code:"SG11",name:"Kolda"},{code:"SG13",name:"Louga"},{code:"SG15",name:"Matam"},{code:"SG14",name:"Saint-Louis"},{code:"SG18",name:"S\xe9dhiou"},{code:"SG05",name:"Tambacounda"},{code:"SG07",name:"Thi\xe8s"},{code:"SG12",name:"Ziguinchor"}]},{code:"RI",id:2402,name:"Serbia",states:[{code:"RS-00",name:"Belgrade"},{code:"RS-14",name:"Borski okrug"},{code:"RS-11",name:"Branicevski okrug"},{code:"RS-23",name:"Jablanicki okrug"},{code:"RS-06",name:"Ju\u017enobanatski okrug"},{code:"RS-04",name:"Ju\u017enobanatski okrug"},{code:"RS-09",name:"Kolubarski okrug"},{code:"RS-25",name:"Kosovski okrug"},{code:"RS-28",name:"Kosovsko-Mitrovacki okrug"},{code:"RS-29",name:"Kosovsko-Pomoravski okrug"},{code:"RS-08",name:"Macvanski okrug"},{code:"RS-17",name:"Moravicki okrug"},{code:"RS-20",name:"Ni\u0161avski okrug"},{code:"RS-24",name:"Pcinjski okrug"},{code:"RS-26",name:"Pecki okrug"},{code:"RS-22",name:"Pirotski okrug"},{code:"RS-10",name:"Podunavski okrug"},{code:"RS-13",name:"Pomoravski okrug"},{code:"RS-27",name:"Prizrenski okrug"},{code:"RS-19",name:"Rasinski okrug"},{code:"RS-18",name:"Ra\u0161ka okrug"},{code:"RS-01",name:"Severnobacki okrug"},{code:"RS-03",name:"Severnobanatski okrug"},{code:"RS-02",name:"Srednjebanatski okrug"},{code:"RS-07",name:"Sremski okrug"},{code:"RS-12",name:"\u0160umadijski okrug"},{code:"RS-21",name:"Topli\xe8ki okrug"},{code:"RS-15",name:"Zaje\xe8arski okrug"},{code:"RS-05",name:"Zapadnoba\xe8ki okrug"},{code:"RS-16",name:"Zlatiborski okrug"}]},{code:"SC",id:2331,name:"Seychelles",states:[]},{code:"SL",id:2332,name:"Sierra Leone",states:[{code:"SL01",name:"Eastern"},{code:"SL02",name:"Northern"},{code:"SL03",name:"Southern"},{code:"SL04",name:"Western"}]},{code:"SG",id:2333,name:"Singapore",states:[{code:"SG01",name:"Central Singapore"},{code:"SG02",name:"North East"},{code:"SG03",name:"North West"},{code:"SG04",name:"South East"},{code:"SG05",name:"South West"}]},{code:"SX",id:2448,name:"Sint Maarten",states:[{code:"SX.SM",name:"Sint Maarten"}]},{code:"SK",id:2334,name:"Slovakia",states:[{code:"SK-BC",name:"Banskobystrick\xfd kraj"},{code:"SK-BL",name:"Bratislavsk\xfd kraj"},{code:"SK-KI",name:"Ko\u0161ick\xfd kraj"},{code:"SK-NI",name:"Nitriansky kraj"},{code:"SK-PV",name:"Pre\u0161ovsk\xfd kraj"},{code:"SK-TC",name:"Trenciansky kraj"},{code:"SK-TA",name:"Trnavsk\xfd kraj"},{code:"SK-ZI",name:"\u017dilinsk\xfd kraj"}]},{code:"SI",id:2335,name:"Slovenia",states:[{code:"SI-001",name:"Ajdov\u0161cina"},{code:"SI-195",name:"Apace"},{code:"SI-002",name:"Beltinci"},{code:"SI-148",name:"Benedikt"},{code:"SI-149",name:"Bistrica ob Sotli"},{code:"SI-003",name:"Bled"},{code:"SI-150",name:"Bloke"},{code:"SI-004",name:"Bohinj"},{code:"SI-005",name:"Borovnica"},{code:"SI-006",name:"Bovec"},{code:"SI-151",name:"Braslovce"},{code:"SI-007",name:"Brda"},{code:"SI-009",name:"Bre\u017eice"}
2303,{code:"SI-008",name:"Brezovica"},{code:"SI-152",name:"Cankova"},{code:"SI-011",name:"Celje"},{code:"SI-012",name:"Cerklje na Gorenjskem"},{code:"SI-013",name:"Cerknica"},{code:"SI-014",name:"Cerkno"},{code:"SI-153",name:"Cerkvenjak"},{code:"SI-197",name:"Cirkulane"},{code:"SI-015",name:"Cren\u0161ovci"},{code:"SI-016",name:"Crna na Koro\u0161kem"},{code:"SI-017",name:"Crnomelj"},{code:"SI-018",name:"Destrnik"},{code:"SI-019",name:"Divaca"},{code:"SI-154",name:"Dobje"},{code:"SI-020",name:"Dobrepolje"},{code:"SI-155",name:"Dobrna"},{code:"SI-021",name:"Dobrova-Polhov Gradec"},{code:"SI-156",name:"Dobrovnik/Dobronak"},{code:"SI-022",name:"Dol pri Ljubljani"},{code:"SI-157",name:"Dolenjske Toplice"},{code:"SI-023",name:"Dom\u017eale"},{code:"SI-024",name:"Dornava"},{code:"SI-025",name:"Dravograd"},{code:"SI-026",name:"Duplek"},{code:"SI-027",name:"Gorenja vas-Poljane"},{code:"SI-028",name:"Gori\u0161nica"},{code:"SI-207",name:"Gorje"},{code:"SI-029",name:"Gornja Radgona"},{code:"SI-030",name:"Gornji Grad"},{code:"SI-031",name:"Gornji Petrovci"},{code:"SI-158",name:"Grad"},{code:"SI-032",name:"Grosuplje"},{code:"SI-159",name:"Hajdina"},{code:"SI-160",name:"Hoce-Slivnica"},{code:"SI-161",name:"Hodo\u0161/Hodos"},{code:"SI-162",name:"Horjul"},{code:"SI-034",name:"Hrastnik"},{code:"SI-035",name:"Hrpelje-Kozina"},{code:"SI-036",name:"Idrija"},{code:"SI-037",name:"Ig"},{code:"SI-038",name:"Ilirska Bistrica"},{code:"SI-039",name:"Ivancna Gorica"},{code:"SI-040",name:"Izola/Isola"},{code:"SI-041",name:"Jesenice"},{code:"SI-163",name:"Jezersko"},{code:"SI-042",name:"Jur\u0161inci"},{code:"SI-043",name:"Kamnik"},{code:"SI-044",name:"Kanal"},{code:"SI-045",name:"Kidricevo"},{code:"SI-046",name:"Kobarid"},{code:"SI-047",name:"Kobilje"},{code:"SI-048",name:"Kocevje"},{code:"SI-049",name:"Komen"},{code:"SI-164",name:"Komenda"},{code:"SI-050",name:"Koper/Capodistria"},{code:"SI-196",name:"Kosanjevica na Krki"},{code:"SI-165",name:"Kostel"},{code:"SI-051",name:"Kozje"},{code:"SI-052",name:"Kranj"},{code:"SI-053",name:"Kranjska Gora"},{code:"SI-166",name:"Kri\u017eevci"},{code:"SI-054",name:"Kr\u0161ko"},{code:"SI-055",name:"Kungota"},{code:"SI-056",name:"Kuzma"},{code:"SI-057",name:"La\u0161ko"},{code:"SI-058",name:"Lenart"},{code:"SI-059",name:"Lendava/Lendva"},{code:"SI-060",name:"Litija"},{code:"SI-061",name:"Ljubljana"},{code:"SI-062",name:"Ljubno"},{code:"SI-063",name:"Ljutomer"},{code:"SI-208",name:"Log-Dragomer"},{code:"SI-064",name:"Logatec"},{code:"SI-065",name:"Lo\u0161ka dolina"},{code:"SI-066",name:"Lo\u0161ki Potok"},{code:"SI-167",name:"Lovrenc na Pohorju"},{code:"SI-067",name:"Luce"},{code:"SI-068",name:"Lukovica"},{code:"SI-069",name:"Maj\u0161perk"},{code:"SI-198",name:"Makole"},{code:"SI-070",name:"Maribor"},{code:"SI-168",name:"Markovci"},{code:"SI-071",name:"Medvode"},{code:"SI-072",name:"Menge\u0161"},{code:"SI-073",name:"Metlika"},{code:"SI-074",name:"Me\u017eica"},{code:"SI-169",name:"Miklav\u017e na Dravskem polju"},{code:"SI-075",name:"Miren-Kostanjevica"},{code:"SI-170",name:"Mirna Pec"},{code:"SI-076",name:"Mislinja"},{code:"SI-199",name:"Mokronog-Trebelno"},{code:"SI-077",name:"Moravce"},{code:"SI-078",name:"Moravske Toplice"},{code:"SI-079",name:"Mozirje"},{code:"SI-080",name:"Murska Sobota"},{code:"SI-081",name:"Muta"},{code:"SI-082",name:"Naklo"},{code:"SI-083",name:"Nazarje"},{code:"SI-084",name:"Nova Gorica"},{code:"SI-085",name:"Novo mesto"},{code:"SI-086",name:"Odranci"},{code:"SI-171",name:"Oplotnica"},{code:"SI-087",name:"Ormo\u017e"},{code:"SI-088",name:"Osilnica"},{code:"SI-089",name:"Pesnica"},{code:"SI-090",name:"Piran/Pirano"},{code:"SI-091",name:"Pivka"},{code:"SI-092",name:"Podcetrtek"},{code:"SI-172",name:"Podlehnik"},{code:"SI-093",name:"Podvelka"},{code:"SI-200",name:"Poljcane"},{code:"SI-173",name:"Polzela"},{code:"SI-094",name:"Postojna"},{code:"SI-174",name:"Prebold"},{code:"SI-095",name:"Preddvor"},{code:"SI-175",name:"Prevalje"},{code:"SI-096",name:"Ptuj"},{code:"SI-097",name:"Puconci"},{code:"SI-098",name:"Race-Fram"},{code:"SI-099",name:"Radece"},{code:"SI-100",name:"Radenci"},{code:"SI-101",name:"Radlje ob Dravi"},{code:"SI-102",name:"Radovljica"},{code:"SI-103",name:"Ravne na Koro\u0161kem"},{code:"SI-176",name:"Razkri\u017eje"},{code:"SI-209",name:"Recica ob Savinji"},{code:"SI-201",name:"Rence-Vogrsko"},{code:"SI-177",name:"Ribnica na Pohorju"},{code:"SI-104",name:"Ribnica"},{code:"SI-106",name:"Roga\u0161ka Slatina"},{code:"SI-105",name:"Roga\u0161ovci"},{code:"SI-107",name:"Rogatec"}
2303,{code:"SI-108",name:"Ru\u0161e"},{code:"SI-033",name:"\u0160alovci"},{code:"SI-178",name:"Selnica ob Dravi"},{code:"SI-109",name:"Semic"},{code:"SI-183",name:"\u0160empeter-Vrtojba"},{code:"SI-117",name:"\u0160encur"},{code:"SI-118",name:"\u0160entilj"},{code:"SI-119",name:"\u0160entjernej"},{code:"SI-120",name:"\u0160entjur pri Celju"},{code:"SI-211",name:"\u0160entrupert"},{code:"SI-110",name:"Sevnica"},{code:"SI-111",name:"Se\u017eana"},{code:"SI-121",name:"\u0160kocjan"},{code:"SI-122",name:"\u0160kofja Loka"},{code:"SI-123",name:"\u0160kofljica"},{code:"SI-112",name:"Slovenj Gradec"},{code:"SI-113",name:"Slovenska Bistrica"},{code:"SI-114",name:"Slovenske Konjice"},{code:"SI-124",name:"\u0160marje pri Jel\u0161ah"},{code:"SI-206",name:"\u0160marje\u0161ke Toplice"},{code:"SI-125",name:"\u0160martno ob Paki"},{code:"SI-194",name:"\u0160martno pri Litiji"},{code:"SI-194",name:"\u0160martno pri Litiji"},{code:"SI-179",name:"Sodra\u017eica"},{code:"SI-180",name:"Solcava"},{code:"SI-126",name:"\u0160o\u0161tanj"},{code:"SI-202",name:"Sredi\u0161ce ob Dravi"},{code:"SI-115",name:"Star\u0161e"},{code:"SI-127",name:"\u0160tore"}
2303,{code:"SI-203",name:"Stra\u017ea"},{code:"SI-181",name:"Sveta Ana"},{code:"SI-204",name:"Sveta Trojica v Slovenskih Goricah"},{code:"SI-182",name:"Sveti Andra\u017e v Slovenskih goricah"},{code:"SI-116",name:"Sveti Jurij"},{code:"SI-210",name:"Sveti Jurij v Slovenskih Goricah"},{code:"SI-205",name:"Sveti Toma\u017e"},{code:"SI-184",name:"Tabor"},{code:"SI-010",name:"Ti\u0161ina"},{code:"SI-128",name:"Tolmin"},{code:"SI-129",name:"Trbovlje"},{code:"SI-130",name:"Trebnje"},{code:"SI-185",name:"Trnovska vas"},{code:"SI-131",name:"Tr\u017eic"},{code:"SI-186",name:"Trzin"},{code:"SI-132",name:"Turni\u0161ce"},{code:"SI-133",name:"Velenje"},{code:"SI-187",name:"Velika Polana"},{code:"SI-134",name:"Velike La\u0161ce"},{code:"SI-188",name:"Ver\u017eej"},{code:"SI-135",name:"Videm"},{code:"SI-136",name:"Vipava"},{code:"SI-137",name:"Vitanje"},{code:"SI-138",name:"Vodice"},{code:"SI-139",name:"Vojnik"},{code:"SI-189",name:"Vransko"},{code:"SI-140",name:"Vrhnika"},{code:"SI-141",name:"Vuzenica"},{code:"SI-142",name:"Zagorje ob Savi"},{code:"SI-190",name:"\u017dalec"},{code:"SI-143",name:"Zavrc"},{code:"SI-146",name:"\u017delezniki"},{code:"SI-191",name:"\u017detale"},{code:"SI-147",name:"\u017diri"},{code:"SI-192",name:"\u017dirovnica"},{code:"SI-144",name:"Zrece"},{code:"SI-193",name:"\u017du\u017eemberk"}]},{code:"SB",id:2336,name:"Solomon Islands",states:[]},{code:"SO",id:2337,name:"Somalia",states:[{code:"SO21",name:"Awdal"},{code:"SO01",name:"Bakool"},{code:"SO02",name:"Banaadir"},{code:"SO03",name:"Bari"},{code:"SO04",name:"Bay"},{code:"SO05",name:"Galguduud"},{code:"SO06",name:"Gedo"},{code:"SO07",name:"Hiiraan"},{code:"SO08",name:"Jubbada Dhexe"},{code:"SO09",name:"Jubbada Hoose"},{code:"SO10",name:"Mudug"},{code:"SO18",name:"Nugaal"},{code:"SO12",name:"Sanaag"},{code:"SO13",name:"Shabeellaha Dhexe"},{code:"SO14",name:"Shabeellaha Hoose"},{code:"SO22",name:"Sool"},{code:"SO19",name:"Togdheer"},{code:"SO20",name:"Woqooyi Galbeed"}]},{code:"ZA",id:2338,name:"South Africa",states:[{code:"SF01",name:"Cape Province"},{code:"SF05",name:"Eastern Cape"},{code:"SF03",name:"Free State"},{code:"SF06",name:"Gauteng"},{code:"SF02",name:"KwaZulu-Natal"},{code:"SF09",name:"Limpopo"},{code:"SF07",name:"Mpumalanga"},{code:"SF10",name:"North-West"},{code:"SF08",name:"Northern Cape"},{code:"SF04",name:"Transvaal"},{code:"SF11",name:"Western Cape"}]},{code:"GS",id:2436,name:"South Georgia and the South Sandwich Islands",states:[]},{code:"SS",id:2447,name:"South Sudan",states:[{code:"OD01",name:"Central Equatoria"},{code:"OD02",name:"East Equatoria"},{code:"OD03",name:"Jungoli"},{code:"OD04",name:"Lakes"},{code:"OD05",name:"North Bahr-al-Ghazal"},{code:"OD06",name:"Unity"},{code:"OD07",name:"Upper Nile"},{code:"OD08",name:"Warap"},{code:"OD09",name:"West Bahr-al-Ghazal"},{code:"OD10",name:"West Equatoria"}]},{code:"ES",id:2339,name:"Spain",states:[{code:"SP23",name:"A Coru\xf1a"},{code:"SP01",name:"Alava"},{code:"SP02",name:"Albacete"},{code:"SP03",name:"Alicante"},{code:"SP04",name:"Almeria"},{code:"SP51",name:"Andalucia"},{code:"SP52",name:"Aragon"},{code:"SP34",name:"Asturias"},{code:"SP05",name:"Avila"},{code:"SP06",name:"Badajoz"},{code:"SP08",name:"Barcelona"},{code:"SP09",name:"Burgos"},{code:"SP10",name:"Caceres"},{code:"SP11",name:"Cadiz"},{code:"SP53",name:"Canarias"},{code:"SP39",name:"Cantabria"},{code:"SP12",name:"Castellon"},{code:"SP55",name:"Castilla y Leon"},{code:"SP54",name:"Castilla-La Mancha"},{code:"SP56",name:"Cataluna"},{code:"SP13",name:"Ciudad Real"},{code:"SP14",name:"Cordoba"},{code:"SP15",name:"Cuenca"},{code:"SP57",name:"Extremadura"},{code:"SP58",name:"Galicia"},{code:"SP16",name:"Gerona"},{code:"SP17",name:"Granada"},{code:"SP18",name:"Guadalajara"},{code:"SP19",name:"Guipuzcoa"},{code:"SP20",name:"Huelva"},{code:"SP21",name:"Huesca"},{code:"SP07",name:"Islas Baleares"},{code:"SP22",name:"Jaen"},{code:"SP23",name:"La Coruna"},{code:"SP27",name:"La Rioja"},{code:"SP24",name:"Las Palmas"},{code:"SP25",name:"Leon"},{code:"SP26",name:"Lerida"},{code:"SP28",name:"Lugo"},{code:"SP29",name:"Madrid"},{code:"SP30",name:"Malaga"},{code:"SP31",name:"Murcia"},{code:"SP32",name:"Navarra"},{code:"SP33",name:"Orense"},{code:"SP59",name:"Pais Vasco"},{code:"SP35",name:"Palencia"},{code:"SP36",name:"Pontevedra"},{code:"SP37",name:"Salamanca"},{code:"SP38",name:"Santa Cruz de Tenerife"},{code:"SP40",name:"Segovia"},{code:"SP41",name:"Sevilla"},{code:"SP42",name:"Soria"},{code:"SP43",name:"Tarragona"},{code:"SP44",name:"Teruel"},{code:"SP45",name:"Toledo"},{code:"SP46",name:"Valencia"},{code:"SP60",name:"Valenciana"},{code:"SP47",name:"Valladolid"},{code:"SP48",name:"Vizcaya"},{code:"SP49",name:"Zamora"},{code:"SP50",name:"Zaragoza"}]},{code:"LK",id:2340,name:"Sri Lanka",states:[]}
2303,{code:"SD",id:2341,name:"Sudan",states:[{code:"SU42",name:"Blue Nile"},{code:"SU61",name:"Central Darfur"},{code:"SU60",name:"East Darfur"},{code:"SU39",name:"Gedarif"},{code:"SU38",name:"Gezira"},{code:"SU52",name:"Kassala"},{code:"SU29",name:"Khartoum"},{code:"SU55",name:"North Darfur"},{code:"SU56",name:"North Kordofan"},{code:"SU43",name:"Northern"},{code:"SU36",name:"Red Sea"},{code:"SU53",name:"River Nile"},{code:"SU58",name:"Sennar"},{code:"SU49",name:"South Darfur"},{code:"SU50",name:"South Kordofan"},{code:"SU47",name:"West Darfur"},{code:"SU62",name:"West Kordofan"},{code:"SU41",name:"White Nile"}]},{code:"SR",id:2342,name:"Suriname",states:[{code:"NS10",name:"Brokopondo"},{code:"NS11",name:"Commewijne"},{code:"NS12",name:"Coronie"},{code:"NS13",name:"Marowijne"},{code:"NS14",name:"Nickerie"},{code:"NS16",name:"Paramaribo"},{code:"NS15",name:"Para"},{code:"NS17",name:"Saramacca"},{code:"NS18",name:"Sipaliwini"},{code:"NS19",name:"Wanica"}]},{code:"SJ",id:2437,name:"Svalbard And Jan Mayen",states:[]},{code:"SZ",id:2343,name:"Swaziland",states:[{code:"WZ01",name:"Hhohho"},{code:"WZ02",name:"Lubombo"},{code:"WZ03",name:"Manzini"},{code:"WZ04",name:"Shiselweni"}]},{code:"SE",id:2344,name:"Sweden",states:[{code:"SE-K",name:"Blekinge l\xe4n"},{code:"SE-W",name:"Dalarnas l\xe4n"},{code:"SE-X",name:"G\xe4vleborgs l\xe4n"},{code:"SE-I",name:"Gotlands l\xe4n"},{code:"SE-N",name:"Hallands l\xe4n"},{code:"SE-Z",name:"J\xe4mtlands l\xe4n"},{code:"SE-F",name:"J\xf6nk\xf6pings l\xe4n"},{code:"SE-H",name:"Kalmar l\xe4n"},{code:"SE-G",name:"Kronobergs l\xe4n"},{code:"SE-BD",name:"Norrbottens l\xe4n"},{code:"SE-M",name:"Sk\xe5ne l\xe4n"},{code:"SE-D",name:"S\xf6dermanlands l\xe4n"},{code:"SE-AB",name:"Stockholms l\xe4n"},{code:"SE-C",name:"Uppsala l\xe4n"},{code:"SE-S",name:"V\xe4rmlands l\xe4n"},{code:"SE-AC",name:"V\xe4sterbottens l\xe4n"},{code:"SE-Y",name:"V\xe4sternorrlands l\xe4n"},{code:"SE-U",name:"V\xe4stmanlands l\xe4n"},{code:"SE-O",name:"V\xe4stra G\xf6talands l\xe4n"},{code:"SE-T",name:"\xd6rebro l\xe4n"},{code:"SE-E",name:"\xd6sterg\xf6tlands l\xe4n"}]},{code:"CH",id:2345,name:"Switzerland",states:[{code:"AG",name:"Aargau"},{code:"AR",name:"Appenzell Ausserrhoden"},{code:"AI",name:"Appenzell Innerrhoden"},{code:"BL",name:"Basel-Landschaft"},{code:"BS",name:"Basel-Stadt"},{code:"BE",name:"Bern"},{code:"FR",name:"Fribourg"},{code:"GE",name:"Gen\xe8ve"},{code:"GL",name:"Glarus"},{code:"GR",name:"Graub\xfcnden"},{code:"JU",name:"Jura"},{code:"LU",name:"Luzern"},{code:"NE",name:"Neuch\xe2tel"},{code:"NW",name:"Nidwalden"},{code:"OW",name:"Obwalden"},{code:"SG",name:"Sankt Gallen"},{code:"SH",name:"Schaffhausen"},{code:"SZ",name:"Schwyz"},{code:"SO",name:"Solothurn"},{code:"TG",name:"Thurgau"},{code:"TI",name:"Ticino"},{code:"UR",name:"Uri"},{code:"VS",name:"Valais"},{code:"VD",name:"Vaud"},{code:"ZG",name:"Zug"},{code:"ZH",name:"Z\xfcrich"}]},{code:"SY",id:2381,name:"Syrian Arab Republic",states:[{code:"SY01",name:"Al Hasakah"},{code:"SY09",name:"Aleppo"},{code:"SY04",name:"Ar Raqqah"},{code:"SY05",name:"As Suwayda'"},{code:"SY13",name:"Damascus"},{code:"SY06",name:"Dar`a"},{code:"SY07",name:"Dayr az Zawr"},{code:"SY10",name:"Hama"},{code:"SY11",name:"Hims"},{code:"SY12",name:"Idlib"},{code:"SY02",name:"Latakia"},{code:"SY03",name:"Quneitra"},{code:"SY08",name:"Rif Dimashq"},{code:"SY14",name:"Tartus"}]},{code:"TW",id:2375,name:"Taiwan",states:[{code:"TW02",name:"Kaohsiung"},{code:"TW03",name:"Taipei"}]},{code:"TJ",id:2348,name:"Tajikistan",states:[{code:"TI01",name:"Badakhshoni Kuni"},{code:"TI04",name:"Dushanbe"},{code:"TI02",name:"Khatlon"},{code:"TI05",name:"Regions of Republican Subordination"},{code:"TI03",name:"Sogd"}]},{code:"TZ",id:2349,name:"Tanzania",states:[{code:"TZ26",name:"Arusha"},{code:"TZ23",name:"Dar es Salaam"},{code:"TZ03",name:"Dodoma"},{code:"TZ28",name:"Geita"},{code:"TZ04",name:"Iringa"},{code:"TZ19",name:"Kagera"},{code:"TZ29",name:"Katavi"},{code:"TZ05",name:"Kigoma"},{code:"TZ06",name:"Kilimanjaro"},{code:"TZ07",name:"Lindi"},{code:"TZ27",name:"Manyara"},{code:"TZ08",name:"Mara"},{code:"TZ09",name:"Mbeya"},{code:"TZ10",name:"Morogoro"},{code:"TZ11",name:"Mtwara"},{code:"TZ12",name:"Mwanza"},{code:"TZ30",name:"Njombe"},{code:"TZ13",name:"Pemba North"},{code:"TZ20",name:"Pemba South"},{code:"TZ02",name:"Pwani"},{code:"TZ24",name:"Rukwa"},{code:"TZ14",name:"Ruvuma"},{code:"TZ15",name:"Shinyanga"},{code:"TZ31",name:"Simiyu"},{code:"TZ16",name:"Singida"},{code:"TZ17",name:"Tabora"},{code:"TZ18",name:"Tanga"},{code:"TZ22",name:"Zanzibar North"},{code:"TZ21",name:"Zanzibar South and Central"},{code:"TZ25",name:"Zanzibar West"}]}
2303,{code:"TH",id:2350,name:"Thailand",states:[{code:"TH77",name:"Amnat Charoen"},{code:"TH35",name:"Ang Thong"},{code:"TH40",name:"Bangkok Metropolis"},{code:"TH81",name:"Bueng Kan"},{code:"TH28",name:"Buri Ram"},{code:"TH44",name:"Chachoengsao"},{code:"TH32",name:"Chai Nat"},{code:"TH26",name:"Chaiyaphum"},{code:"TH48",name:"Chanthaburi"},{code:"TH02",name:"Chiang Mai"},{code:"TH03",name:"Chiang Rai"},{code:"TH46",name:"Chon Buri"},{code:"TH58",name:"Chumphon"},{code:"TH23",name:"Kalasin"},{code:"TH11",name:"Kamphaeng Phet"},{code:"TH50",name:"Kanchanaburi"},{code:"TH22",name:"Khon Kaen"},{code:"TH63",name:"Krabi"},{code:"TH06",name:"Lampang"},{code:"TH05",name:"Lamphun"},{code:"TH18",name:"Loei"},{code:"TH34",name:"Lop Buri"},{code:"TH01",name:"Mae Hong Son"},{code:"TH24",name:"Maha Sarakham"},{code:"TH78",name:"Mukdahan"},{code:"TH43",name:"Nakhon Nayok"},{code:"TH53",name:"Nakhon Pathom"},{code:"TH73",name:"Nakhon Phanom"},{code:"TH27",name:"Nakhon Ratchasima"},{code:"TH16",name:"Nakhon Sawan"},{code:"TH64",name:"Nakhon Si Thammarat"},{code:"TH04",name:"Nan"},{code:"TH31",name:"Narathiwat"},{code:"TH79",name:"Nong Bua Lam Phu"},{code:"TH17",name:"Nong Khai"},{code:"TH38",name:"Nonthaburi"},{code:"TH39",name:"Pathum Thani"},{code:"TH69",name:"Pattani"},{code:"TH61",name:"Phangnga"},{code:"TH66",name:"Phatthalung"},{code:"TH41",name:"Phayao"},{code:"TH14",name:"Phetchabun"},{code:"TH56",name:"Phetchaburi"},{code:"TH13",name:"Phichit"},{code:"TH12",name:"Phitsanulok"},{code:"TH36",name:"Phra Nakhon Si Ayutthaya"},{code:"TH07",name:"Phrae"},{code:"TH62",name:"Phuket"},{code:"TH74",name:"Prachin Buri"},{code:"TH57",name:"Prachuap Khiri Khan"},{code:"TH59",name:"Ranong"},{code:"TH52",name:"Ratchaburi"},{code:"TH47",name:"Rayong"},{code:"TH25",name:"Roi Et"},{code:"TH80",name:"Sa Kaeo"},{code:"TH20",name:"Sakon Nakhon"},{code:"TH42",name:"Samut Prakan"},{code:"TH55",name:"Samut Sakhon"},{code:"TH54",name:"Samut Songkhram"},{code:"TH37",name:"Saraburi"},{code:"TH67",name:"Satun"},{code:"TH30",name:"Si Sa Ket"},{code:"TH33",name:"Sing Buri"},{code:"TH68",name:"Songkhla"},{code:"TH09",name:"Sukhothai"},{code:"TH51",name:"Suphan Buri"},{code:"TH60",name:"Surat Thani"},{code:"TH29",name:"Surin"},{code:"TH08",name:"Tak"},{code:"TH65",name:"Trang"},{code:"TH49",name:"Trat"},{code:"TH75",name:"Ubon Ratchathani"},{code:"TH76",name:"Udon Thani"},{code:"TH15",name:"Uthai Thani"},{code:"TH10",name:"Uttaradit"},{code:"TH70",name:"Yala"},{code:"TH72",name:"Yasothon"}]},{code:"TL",id:2404,name:"Timor-Leste",states:[]},{code:"TG",id:2351,name:"Togo",states:[{code:"TO22",name:"Centrale"},{code:"TO23",name:"Kara"},{code:"TO24",name:"Maritime"},{code:"TO25",name:"Plateaux"},{code:"TO26",name:"Savanes"}]},{code:"TK",id:2438,name:"Tokelau",states:[]},{code:"TO",id:2405,name:"Tonga",states:[]},{code:"TT",id:2352,name:"Trinidad and Tobago",states:[{code:"TD01",name:"Arima"},{code:"TD13",name:"Chaguanas"},{code:"TD14",name:"Couva/Tabaquite/Talparo"},{code:"TD15",name:"Diego Martin"},{code:"TD11",name:"Eastern Tobago"},{code:"TD16",name:"Mayaro/Rio Claro"},{code:"TD17",name:"Penal/Debe"},{code:"TD18",name:"Point Fortin"},{code:"TD05",name:"Port of Spain"},{code:"TD19",name:"Princes Town"},{code:"TD10",name:"San Fernando"},{code:"TD20",name:"San Juan/Laventille"},{code:"TD21",name:"Sangre Grande"},{code:"TD22",name:"Siparia"},{code:"TD23",name:"Tunapuna/Piarco"},{code:"TD11",name:"Western Tobago"}]},{code:"TN",id:2353,name:"Tunisia",states:[{code:"TS38",name:"Ariana"},{code:"TS17",name:"B\xe9ja"},{code:"TS27",name:"Ben Arous"},{code:"TS18",name:"Bizerte"},{code:"TS29",name:"Gab\xe8s"},{code:"TS30",name:"Gafsa"},{code:"TS06",name:"Jendouba"},{code:"TS03",name:"Kairouan"},{code:"TS02",name:"Kass\xe9rine"},{code:"TS31",name:"Kebili"},{code:"TS14",name:"Le Kef"},{code:"TS15",name:"Mahdia"},{code:"TS39",name:"Manouba"},{code:"TS28",name:"M\xe9denine"},{code:"TS16",name:"Monastir"},{code:"TS19",name:"Nabeul"},{code:"TS32",name:"Sfax"},{code:"TS33",name:"Sidi Bou Zid"},{code:"TS22",name:"Siliana"},{code:"TS23",name:"Sousse"},{code:"TS34",name:"Tataouine"},{code:"TS35",name:"Tozeur"},{code:"TS36",name:"Tunis"},{code:"TS37",name:"Zaghouan"}]},{code:"TR",id:2354,name:"Turkey",states:[{code:"TU81",name:"Adana"},{code:"TU02",name:"Adiyaman"},{code:"TU03",name:"Afyonkarahisar"},{code:"TU04",name:"Agri"},{code:"TU75",name:"Aksaray"},{code:"TU05",name:"Amasya"},{code:"TU68",name:"Ankara"},{code:"TU07",name:"Antalya"},{code:"TU86",name:"Ardahan"},{code:"TU08",name:"Artvin"},{code:"TU09",name:"Aydin"},{code:"TU10",name:"Balikesir"},{code:"TU87",name:"Bartin"},{code:"TU76",name:"Batman"},{code:"TU77",name:"Bayburt"},{code:"TU11",name:"Bilecik"},{code:"TU12",name:"Bing\xf6l"},{code:"TU13",name:"Bitlis"},{code:"TU14",name:"Bolu"},{code:"TU15",name:"Burdur"},{code:"TU16",name:"Bursa"},{code:"TU17",name:"\xc7anakkale"}
2303,{code:"TU82",name:"\xc7ankiri"},{code:"TU19",name:"\xc7orum"},{code:"TU20",name:"Denizli"},{code:"TU21",name:"Diyarbakir"},{code:"TU93",name:"D\xfczce"},{code:"TU22",name:"Edirne"},{code:"TU23",name:"Elazig"},{code:"TU24",name:"Erzincan"},{code:"TU25",name:"Erzurum"},{code:"TU26",name:"Eskisehir"},{code:"TU83",name:"Gaziantep"},{code:"TU28",name:"Giresun"},{code:"TU69",name:"G\xfcm\xfcshane"},{code:"TU70",name:"Hakkari"},{code:"TU31",name:"Hatay"},{code:"TU88",name:"Igdir"},{code:"TU33",name:"Isparta"},{code:"TU34",name:"Istanbul"},{code:"TU35",name:"Izmir"},{code:"TU46",name:"Kahramanmaras"},{code:"TU89",name:"Karab\xfck"},{code:"TU78",name:"Karaman"},{code:"TU84",name:"Kars"},{code:"TU37",name:"Kastamonu"},{code:"TU38",name:"Kayseri"},{code:"TU90",name:"Kilis"},{code:"TU79",name:"Kirikkale"},{code:"TU39",name:"Kirklareli"},{code:"TU40",name:"Kirsehir"},{code:"TU41",name:"Kocaeli"},{code:"TU71",name:"Konya"},{code:"TU43",name:"K\xfctahya"},{code:"TU44",name:"Malatya"},{code:"TU45",name:"Manisa"},{code:"TU72",name:"Mardin"},{code:"TU32",name:"Mersin"},{code:"TU48",name:"Mugla"},{code:"TU49",name:"Mus"},{code:"TU50",name:"Nevsehir"},{code:"TU73",name:"Nigde"},{code:"TU52",name:"Ordu"},{code:"TU91",name:"Osmaniye"},{code:"TU53",name:"Rize"},{code:"TU54",name:"Sakarya"},{code:"TU55",name:"Samsun"},{code:"TU63",name:"Sanliurfa"},{code:"TU74",name:"Siirt"},{code:"TU57",name:"Sinop"},{code:"TU80",name:"Sirnak"},{code:"TU58",name:"Sivas"},{code:"TU59",name:"Tekirdag"},{code:"TU60",name:"Tokat"},{code:"TU61",name:"Trabzon"},{code:"TU62",name:"Tunceli"},{code:"TU64",name:"Usak"},{code:"TU65",name:"Van"},{code:"TU92",name:"Yalova"},{code:"TU66",name:"Yozgat"},{code:"TU85",name:"Zonguldak"}]},{code:"TM",id:2355,name:"Turkmenistan",states:[{code:"TX01",name:"Ahal"},{code:"TM.AB",name:"Ashgabat"},{code:"TX02",name:"Balkan"},{code:"TX03",name:"Dashoguz"},{code:"TX04",name:"Lebap"},{code:"TX05",name:"Mary"}]},{code:"TC",id:2439,name:"Turks and Caicos Islands",states:[]},{code:"TV",id:2440,name:"Tuvalu",states:[]},{code:"UG",id:2356,name:"Uganda",states:[{code:"UG.AI",name:"Abim"},{code:"UG.AD",name:"Adjumani"},{code:"UG.AG",name:"Agago"},{code:"UG.AL",name:"Alebtong"},{code:"UG.AT",name:"Amolatar"},{code:"UG.AZ",name:"Amudat"},{code:"UG.AM",name:"Amuria"},{code:"UG.AY",name:"Amuru"},{code:"UG.AQ",name:"Apac"},{code:"UG.AX",name:"Arua"},{code:"UG.BD",name:"Budaka"},{code:"UG.BA",name:"Bududa"},{code:"UG.BI",name:"Bugiri"},{code:"UG.BH",name:"Buhweju"},{code:"UG.BZ",name:"Buikwe"},{code:"UG.BE",name:"Bukedea"},{code:"UG.BM",name:"Bukomansimbi"},{code:"UG.BW",name:"Bukwo"},{code:"UG.BB",name:"Bulambuli"},{code:"UG.BL",name:"Buliisa"},{code:"UG.BX",name:"Bundibugyo"},{code:"UG.BC",name:"Bushenyi"},{code:"UG.BU",name:"Busia"},{code:"UG.BJ",name:"Butaleja"},{code:"UG.BT",name:"Butambala"},{code:"UG.BV",name:"Buvuma"},{code:"UG.BY",name:"Buyende"},{code:"UG.DO",name:"Dokolo"},{code:"UG.GM",name:"Gomba"},{code:"UG.GL",name:"Gulu"},{code:"UG.HO",name:"Hoima"},{code:"UG.IB",name:"Ibanda"},{code:"UG.IC",name:"Iganga"},{code:"UG.NG",name:"Isingiro"},{code:"UG.JI",name:"Jinja"},{code:"UG.AB",name:"Kaabong"},{code:"UG.KA",name:"Kabale"},{code:"UG.BR",name:"Kabarole"},{code:"UG.KD",name:"Kaberamaido"},{code:"UG.KN",name:"Kalangala"},{code:"UG.RO",name:"Kaliro"},{code:"UG.QA",name:"Kalungu"},{code:"UG.KM",name:"Kampala"},{code:"UG.QU",name:"Kamuli"},{code:"UG.KE",name:"Kamwenge"},{code:"UG.UU",name:"Kanungu"},{code:"UG.QP",name:"Kapchorwa"},{code:"UG.KS",name:"Kasese"},{code:"UG.KK",name:"Katakwi"},{code:"UG.KY",name:"Kayunga"},{code:"UG.KI",name:"Kibaale"},{code:"UG.QO",name:"Kiboga"},{code:"UG.QB",name:"Kibuku"},{code:"UG.KH",name:"Kiruhuura"},{code:"UG.QD",name:"Kiryandongo"},{code:"UG.KR",name:"Kisoro"},{code:"UG.QT",name:"Kitgum"},{code:"UG.OK",name:"Koboko"},{code:"UG.QL",name:"Kole"},{code:"UG.KF",name:"Kotido"},{code:"UG.QM",name:"Kumi"},{code:"UG.QW",name:"Kween"},{code:"UG.QZ",name:"Kyankwanzi"},{code:"UG.QG",name:"Kyegegwa"},{code:"UG.QJ",name:"Kyenjojo"},{code:"UG.LM",name:"Lamwo"},{code:"UG.LL",name:"Lira"},{code:"UG.LK",name:"Luuka"},{code:"UG.LW",name:"Luwero"},{code:"UG.LE",name:"Lwengo"},{code:"UG.LY",name:"Lyantonde"},{code:"UG.MW",name:"Manafwa"},{code:"UG.MQ",name:"Masaka"},{code:"UG.MZ",name:"Masindi"},{code:"UG.MG",name:"Mayuge"},{code:"UG.ME",name:"Mbale"},{code:"UG.RR",name:"Mbarara"},{code:"UG.MM",name:"Mitoma"},{code:"UG.TY",name:"Mityana"},{code:"UG.MX",name:"Moroto"},{code:"UG.MY",name:"Moyo"},{code:"UG.MJ",name:"Mpigi"},{code:"UG.MD",name:"Mubende"},{code:"UG.MV",name:"Mukono"},{code:"UG.NI",name:"Nakapiripirit"},{code:"UG.NK",name:"Nakaseke"},{code:"UG.NA",name:"Nakasongola"},{code:"UG.NY",name:"Namayingo"},{code:"UG.BK",name:"Namutumba"},{code:"UG.NQ",name:"Napak"},{code:"UG.NB",name:"Nebbi"},{code:"UG.NR",name:"Ngora"},{code:"UG.NO",name:"Ntoroko"},{code:"UG.NT",name:"Ntungamo"},{code:"UG.NW",name:"Nwoya"},{code:"UG.MH",name:"Nyadri"},{code:"UG.OT",name:"Otuke"},{code:"UG.OY",name:"Oyam"},{code:"UG.PR",name:"Pader"},{code:"UG.PS",name:"Pallisa"},{code:"UG.RI",name:"Rakai"},{code:"UG.RZ",name:"Rubirizi"},{code:"UG.RK",name:"Rukungiri"},{code:"UG.SE",name:"Sembabule"},{code:"UG.SX",name:"Serere"},{code:"UG.SH",name:"Sheema"},{code:"UG.SK",name:"Sironko"},{code:"UG.ST",name:"Soroti"},{code:"UG.TR",name:"Tororo"},{code:"UG.WA",name:"Wakiso"},{code:"UG.YU",name:"Yumbe"},{code:"UG.ZO",name:"Zombo"}]},{code:"UA",id:2357,name:"Ukraine",states:[{code:"UP01",name:"Cherkasy"},{code:"UP02",name:"Chernihiv"},{code:"UP03",name:"Chernivtsi"},{code:"UP11",name:"Crimea"},{code:"UP04",name:"Dnipropetrovs'k"},{code:"UP05",name:"Donets'k"},{code:"UP06",name:"Ivano-Frankivs'k"},{code:"UP07",name:"Kharkiv"},{code:"UP08",name:"Kherson"},{code:"UP09",name:"Khmel'nyts'kyy"},{code:"UP13",name:"Kiev"},{code:"UP12",name:"Kiev City"},{code:"UP10",name:"Kirovohrad"},{code:"UP15",name:"L'viv"},{code:"UP14",name:"Luhans'k"},{code:"UP16",name:"Mykolayiv"},{code:"UP17",name:"Odessa"},{code:"UP18",name:"Poltava"},{code:"UP19",name:"Rivne"},{code:"UP20",name:"Sevastopol' City"},{code:"UP21",name:"Sumy"},{code:"UP22",name:"Ternopil'"},{code:"UP25",name:"Transcarpathia"},{code:"UP23",name:"Vinnytsya"},{code:"UP24",name:"Volyn"},{code:"UP26",name:"Zaporizhzhya"},{code:"UP27",name:"Zhytomyr"}]}
2303,{code:"AE",id:2358,name:"United Arab Emirates",states:[{code:"AE02",name:"'Ajman"},{code:"AE01",name:"Abu Dhabi"},{code:"AE04",name:"Al Fujayrah"},{code:"AE03",name:"Dubai"},{code:"AE05",name:"Ra's al Khaymah"},{code:"AE06",name:"Sharjah"},{code:"AE07",name:"Umm al Qaywayn"}]},{code:"UM",id:2441,name:"United States Minor Outlying Islands",states:[]},{code:"UY",id:2360,name:"Uruguay",states:[]},{code:"UZ",id:2361,name:"Uzbekistan",states:[{code:"UZ01",name:"Andijon"},{code:"UZ02",name:"Buxoro"},{code:"UZ03",name:"Farg`ona"},{code:"UZ15",name:"Jizzax"},{code:"UZ09",name:"Karakalpakstan"},{code:"UZ08",name:"Kashkadarya"},{code:"UZ06",name:"Namangan"},{code:"UZ07",name:"Navoi"},{code:"UZ10",name:"Samarkand"},{code:"UZ16",name:"Sirdaryo"},{code:"UZ12",name:"Surxondaryo"},{code:"UZ13",name:"Tashkent City"},{code:"UZ14",name:"Tashkent"},{code:"UZ05",name:"Xorazm"}]},{code:"NH",id:2406,name:"Vanuatu",states:[]},{code:"VE",id:2363,name:"Venezuela; Bolivarian Republic of",states:[{code:"VE01",name:"Amazonas"},{code:"VE02",name:"Anzo\xe1tegui"},{code:"VE03",name:"Apure"},{code:"VE04",name:"Aragua"},{code:"VE05",name:"Barinas"},{code:"VE06",name:"Bol\xedvar"},{code:"VE07",name:"Carabobo"}
2303,{code:"VE08",name:"Cojedes"},{code:"VE09",name:"Delta Amacuro"},{code:"VE24",name:"Dependencias Federales"},{code:"VE25",name:"Distrito Capital"},{code:"VE11",name:"Falc\xf3n"},{code:"VE12",name:"Gu\xe1rico"},{code:"VE13",name:"Lara"},{code:"VE14",name:"M\xe9rida"},{code:"VE15",name:"Miranda"},{code:"VE16",name:"Monagas"},{code:"VE17",name:"Nueva Esparta"},{code:"VE18",name:"Portuguesa"},{code:"VE19",name:"Sucre"},{code:"VE20",name:"T\xe1chira"},{code:"VE21",name:"Trujillo"},{code:"VE26",name:"Vargas"},{code:"VE22",name:"Yaracuy"},{code:"VE23",name:"Zulia"}]},{code:"VN",id:2364,name:"Vietnam",states:[{code:"VM01",name:"An Giang"},{code:"VM45",name:"Ba Ria-Vung Tau"},{code:"VM72",name:"Bac Can"},{code:"VM71",name:"Bac Giang"},{code:"VM73",name:"Bac Lieu"},{code:"VM74",name:"Bac Ninh"},{code:"VM03",name:"Ben Tre"},{code:"VM46",name:"Binh Dinh"},{code:"VM75",name:"Binh Duong"},{code:"VM76",name:"Binh Phuoc"},{code:"VM47",name:"Binh Thuan"},{code:"VM77",name:"Ca Mau"},{code:"VM87",name:"Can Tho"},{code:"VM05",name:"Cao Bang"},{code:"VM78",name:"Da Nang"},{code:"VM88",name:"Dac Lac"},{code:"VM91",name:"Dac Nong"},{code:"VM92",name:"Dien Bien"},{code:"VM43",name:"Dong Nai"},{code:"VM09",name:"Dong Thap"},{code:"VM49",name:"Gia Lai"},{code:"VM50",name:"Ha Giang"},{code:"VM80",name:"Ha Nam"},{code:"VM52",name:"Ha Tinh"},{code:"VM79",name:"Hai Duong"},{code:"VM13",name:"Haiphong"},{code:"VM44",name:"Hanoi"},{code:"VM93",name:"Hau Giang"},{code:"VM20",name:"Ho Chi Minh"},{code:"VM53",name:"Hoa Binh"},{code:"VM81",name:"Hung Yen"},{code:"VM54",name:"Khanh Hoa"},{code:"VM21",name:"Kien Giang"},{code:"VM55",name:"Kon Tum"},{code:"VM89",name:"Lai Chau"},{code:"VM23",name:"Lam Dong"},{code:"VM39",name:"Lang Son"},{code:"VM90",name:"Lao Cai"},{code:"VM24",name:"Long An"},{code:"VM82",name:"Nam Dinh"},{code:"VM58",name:"Nghe An"},{code:"VM59",name:"Ninh Binh"},{code:"VM60",name:"Ninh Thuan"},{code:"VM83",name:"Phu Tho"},{code:"VM61",name:"Phu Yen"},{code:"VM62",name:"Quang Binh"},{code:"VM84",name:"Quang Nam"},{code:"VM63",name:"Quang Ngai"},{code:"VM30",name:"Quang Ninh"},{code:"VM64",name:"Quang Tri"},{code:"VM65",name:"Soc Trang"},{code:"VM32",name:"Son La"},{code:"VM33",name:"Tay Ninh"},{code:"VM35",name:"Thai Binh"},{code:"VM85",name:"Thai Nguyen"},{code:"VM34",name:"Thanh Hoa"},{code:"VM66",name:"Thua Thien-Hue"},{code:"VM37",name:"Tien Giang"},{code:"VM67",name:"Tra Vinh"},{code:"VM68",name:"Tuyen Quang"},{code:"VM69",name:"Vinh Long"},{code:"VM86",name:"Vinh Phuc"},{code:"VM70",name:"Yen Bai"}]},{code:"VG",id:2446,name:"Virgin Islands; British",states:[{code:"VG.VI",name:"British Virgin Islands"}]},{code:"VI",id:2442,name:"Virgin Islands; U.S.",states:[{code:"010",name:"Saint Croix"},{code:"020",name:"Saint John"},{code:"030",name:"Saint Thomas"}]},{code:"WF",id:2443,name:"Wallis and Futuna",states:[]},{code:"EH",id:2444,name:"Western Sahara",states:[]},{code:"YE",id:2382,name:"Yemen",states:[{code:"YM01",name:"Abyan"},{code:"YM20",name:"Al Bayda'"},{code:"YM18",name:"Al Dali'"},{code:"YM08",name:"Al Hudaydah"},{code:"YM21",name:"Al Jawf"},{code:"YM03",name:"Al Mahrah"},{code:"YM10",name:"Al Mahwit"},{code:"YM19",name:"Amran"},{code:"YM11",name:"Dhamar"},{code:"YM04",name:"Hadramawt"},{code:"YM22",name:"Hajjah"},{code:"YM23",name:"Ibb"},{code:"YM24",name:"Lahij"},{code:"YM14",name:"Ma'rib"},{code:"YM27",name:"Raymah"},{code:"YM15",name:"Sa`dah"},{code:"YM16",name:"San`a'"},{code:"YM26",name:"San`a' [City]"},{code:"YM05",name:"Shabwah"},{code:"YM28",name:"Socotra"},{code:"YM25",name:"Ta`izz"},{code:"YM02",name:"`Adan"}]},{code:"ZM",id:2369,name:"Zambia",states:[{code:"ZA02",name:"Central"},{code:"ZA08",name:"Copperbelt"},{code:"ZA03",name:"Eastern"},{code:"ZA04",name:"Luapula"},{code:"ZA09",name:"Lusaka"},{code:"ZA10",name:"Muchinga"},{code:"ZA06",name:"North-Western"},{code:"ZA05",name:"Northern"},{code:"ZA07",name:"Southern"},{code:"ZA01",name:"Western"}]},{code:"ZW",id:2370,name:"Zimbabwe",states:[{code:"ZI09",name:"Bulawayo"},{code:"ZI10",name:"Harare"},{code:"ZI01",name:"Manicaland"},{code:"ZI03",name:"Mashonaland Central"},{code:"ZI04",name:"Mashonaland East"},{code:"ZI05",name:"Mashonaland West"},{code:"ZI08",name:"Masvingo"},{code:"ZI06",name:"Matabeleland North"},{code:"ZI07",name:"Matabeleland South"},{code:"ZI02",name:"Midlands"}]},{code:"NONE",id:2378,name:"- None Specified -",states:[]}];function Rd(e){return Dd.find(t=>
2303t.id===e)}const Md={provide:Ui.NG_VALUE_ACCESSOR,useExisting:Object(r.forwardRef)(()=>Nd),multi:!0};let Nd=(()=>{class e{constructor(e){this.labels=e,this._readOnly=!1,this.states=[],this.fieldList=["address1","address2","city","state","zip","countryID"],this.onModelChange=()=>{},this.onModelTouched=()=>{},this.focused={},this.invalid={},this.disabled={},this.invalidMaxlength={},this.valid={},this.tooltip={},this.initComplete=!1,this.change=new r.EventEmitter,this.focus=new r.EventEmitter,this.blur=new r.EventEmitter,this.validityChange=new r.EventEmitter}set readOnly(e){this._readOnly=e,this.fieldList.forEach(e=>{this.disabled[e]=this._readOnly}),this.model&&this.updateStates()}get readOnly(){return this._readOnly}ngOnInit(){this.config||(this.config={}),this.model?(this.writeValue(this.model),this.updateControl()):this.model||(this.model={}),this.initConfig(),Pu.isBlank(this.model.countryID)&&this.updateStates()}initConfig(){this.fieldList.forEach(e=>{this.config.hasOwnProperty(e)||(this.config[e]={hidden:!0}),this.config[e].hasOwnProperty("label")||(this.config[e].label=this.labels[e]),this.config.required&&(this.config[e].required=!0),(this.config[e].readOnly||this.config.readOnly)&&(this.config[e].readOnly=!0,this.disabled[e]=!0),"countryID"===e&&(this.config[e].pickerConfig||(this.config.countryID.pickerConfig=this.getDefaultCountryConfig()),this.config[e].pickerConfig.defaultOptions=this.config.countryID.pickerConfig.options),"state"===e&&(this.config[e].pickerConfig||(this.config.state.pickerConfig=this.getDefaultStateConfig(),this.config[e].pickerConfig.defaultOptions=this.config[e].pickerConfig.options),this.stateOptions=this.config[e].pickerConfig.options,this.config[e].pickerConfig.options=(e="")=>this.stateOptions(e,this.model.countryID),this.config[e].pickerConfig.defaultOptions=this.stateOptions)})}isValid(e){let t=!0;(!this.config[e].required||!Pu.isBlank(this.model[e])&&!Pu.isEmpty(this.model[e]))&&this.config[e].required||"countryID"===e&&this.config[e].required&&!Pu.isBlank(this.model.countryID)||"state"===e&&this.config[e].required&&(!Pu.isEmpty(this.model.state)||(Pu.isBlank(this.model.state)||Pu.isEmpty(this.model.state))&&!Pu.isBlank(this.model.countryName)&&this.config.state.pickerConfig&&this.config.state.pickerConfig.defaultOptions&&0===this.config.state.pickerConfig.defaultOptions.length)?!Pu.isEmpty(this.model[e])&&!Pu.isBlank(this.config[e].maxlength)&&this.config[e].maxlength<this.model[e].length&&(t=!1):t=!1,this.valid[e]=t}isInvalid(e){let t=!1,n=!1;"countryID"!==e&&"state"!==e&&this.config[e].required&&Pu.isEmpty(this.model[e])&&!Pu.isBlank(this.model[e])||"countryID"===e&&this.config[e].required&&Pu.isBlank(this.model.countryName)&&this.config[e].updated||"state"===e&&this.config[e].required&&(Pu.isBlank(this.model.state)||Pu.isEmpty(this.model.state))&&!Pu.isBlank(this.model.countryID)&&this.config[e].updated&&this.config.state.pickerConfig&&this.config.state.pickerConfig.defaultOptions&&this.config.state.pickerConfig.defaultOptions.length>0?t=!0:!Pu.isEmpty(this.model[e])&&!Pu.isBlank(this.config[e].maxlength)&&this.config[e].maxlength<this.model[e].length&&(t=!0,n=!0),this.invalid[e]=t,this.invalidMaxlength[e]=n}onInput(e,t){this.isInvalid(t),this.isValid(t),e&&this.change.emit({value:this.model[t],field:t})}isFocused(e,t){this.focused[t]=!0,this.focus.emit({event:e,field:t})}isBlurred(e,t){this.focused[t]=!1,this.blur.emit({event:e,field:t})}onCountryChange(e){const t=e&&e.rawValue?e.rawValue:null;let n,r=!1;this.config.countryID.updated=!0,this.config.countryID.pickerConfig&&(n=this.config.countryID.pickerConfig.field),t&&n&&!Pu.isBlank(t[n])&&this.model.countryID!==t[n]?(this.model.countryID=t[n],this.model.countryName=Pu.interpolate(this.config.countryID.pickerConfig.format,t),this.disabled.state=!1,this.tooltip.state=void 0,r=!0):(Pu.isBlank(t)||Pu.isBlank(t[n]))&&(this.model.countryID=void 0,this.model.countryName=void 0,this.disabled.state=!0,this.tooltip.state=this.labels.selectCountryFirst,this.invalid.state=!1,r=!0),r&&(this.model.state=void 0,this.updateStates()),this.updateControl(),this.onInput(null,"countryID"),this.onInput(null,"state")}onStateChange(e){const t=e&&e.value?e.value:null;this.config.state.updated=!0,this.model.state=t,this.updateControl(),this.onInput(null,"state")}setStateLabel(e){const t=e.state;Pu.isBlank(t)?(this.model.state=void 0,this.config.state.required&&(this.valid.state=!1)):(this.config.state.required&&(this.valid.state=!0),this.model.state=t)}updateStates(){this.config.state.pickerConfig.options&&!Pu.isBlank(this.model.countryID)?(this.config.state.pickerConfig.options=(e="")=>this.stateOptions(e,this.model.countryID),this.stateOptions("",this.model.countryID).then(e=>{this.config.state.pickerConfig.defaultOptions=e,e.length?(this.tooltip.state=void 0,this.disabled.state=this._readOnly,this.setStateLabel(this.model)):(this.disabled.state=!0,this.tooltip.state=this.labels.noStatesForCountry,this.config.state.required&&(this.valid.state=!0)),this.validityChange.emit(),this.onInput(null,"state")})):(this.config.state.pickerConfig.defaultOptions=[],this.disabled.state=!0,this.tooltip.state=this.labels.selectCountryFirst,this.config.state.required&&(this.valid.state=!1))}getStateOptions(e="",t){if(t){const n=function(e){if(e){const t=Dd.find(t=>t.name===e.trim());return t&&t.states||[]}return[]}(Rd(t).name).map(e=>e.name);return e?n.filter(t=>new RegExp(""+e,"gi").test(t)):n}return[]}updateControl(){this.onModelChange(this.model),this.onInput(null,"countryID"),this.onInput(null,"state")}writeValue(e){let t=!1;if(e){let n;if(e.countryName&&e.countryID)n=e.countryName;else if(e.countryID&&this.config.countryID.pickerConfig&&this.config.countryID.pickerConfig.getLabels&&Pu.isFunction(this.config.countryID.pickerConfig.getLabels)){const r=this.config.countryID.pickerConfig.getLabels(e.countryID);t=!0,r.then&&r.then(r=>{t=!1,n=Pu.interpolateWithFallback(this.config.countryID.pickerConfig.format,r),this.model=Object.assign(e,{countryName:n}),this.updateStates()})}n?(n=n.trim(),e.state=e.state||"",this.model=Object.assign(e,{countryName:n})):this.model=e,t||Pu.isBlank(this.model.countryID)||this.updateStates()}
2303this.fieldList.forEach(e=>{this.onInput(null,e)})}registerOnChange(e){this.onModelChange=e}registerOnTouched(e){this.onModelTouched=e}getDefaultStateConfig(){return{field:"value",format:"$label",options:(e="",t)=>Promise.resolve(this.getStateOptions(e,t)),getLabels:e=>Promise.resolve(e)}}getDefaultCountryConfig(){return{field:"value",format:"$label",options:(e="")=>new Promise(t=>{let n=Dd;return e&&(n=n.filter(t=>new RegExp(""+e,"gi").test(t.name))),t(n.map(e=>({value:e.id,label:e.name})))}),getLabels:e=>new Promise(t=>{const n=Rd(e);t(n?{value:n.id,label:n.name}:"")})}}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](ju))},e.\u0275cmp=r["\u0275\u0275defineComponent"]({type:e,selectors:[["novo-address"]],inputs:{readOnly:"readOnly",config:"config"},outputs:{change:"change",focus:"focus",blur:"blur",validityChange:"validityChange"},features:[r["\u0275\u0275ProvidersFeature"]([Md])],decls:6,vars:6,consts:[["class","street-address",3,"invalid","focus","disabled",4,"ngIf"],["class","apt suite",3,"invalid","focus","disabled",4,"ngIf"],["class","city locality",3,"invalid","focus","disabled",4,"ngIf"],["class","state region",3,"invalid","focus","disabled","tooltip",4,"ngIf"],["class","zip postal-code",3,"invalid","focus","disabled",4,"ngIf"],["class","country-name",3,"invalid","focus","disabled",4,"ngIf"],[1,"street-address"],["class","required-indicator address1",3,"ngClass",4,"ngIf"],["type","text","id","address1","name","address1","autocomplete","shipping street-address address-line-1",3,"placeholder","maxlength","ngModel","ngModelChange","focus","blur","input"],[1,"required-indicator","address1",3,"ngClass"],[1,"apt","suite"],["class","required-indicator address2",3,"ngClass",4,"ngIf"],["type","text","id","address2","name","address2","autocomplete","shipping address-line-2",3,"placeholder","maxlength","ngModel","ngModelChange","focus","blur","input"],[1,"required-indicator","address2",3,"ngClass"],[1,"city","locality"],["class","required-indicator",3,"ngClass",4,"ngIf"],["type","text","id","city","name","city","autocomplete","shipping city locality",3,"placeholder","maxlength","ngModel","ngModelChange","focus","blur","input"],[1,"required-indicator",3,"ngClass"],[1,"state","region",3,"tooltip"],["autocomplete","shipping region",3,"config","placeholder","ngModel","disablePickerInput","changed","ngModelChange"],[1,"zip","postal-code"],["type","text","id","zip","name","zip","autocomplete","shipping postal-code",3,"placeholder","maxlength","ngModel","ngModelChange","focus","blur","input"],[1,"country-name"],["autocomplete","shipping country",3,"config","placeholder","ngModel","disablePickerInput","changed","ngModelChange"]],template:function(e,t){1&e&&(r["\u0275\u0275template"](0,Ms,3,12,"span",0),r["\u0275\u0275template"](1,js,3,12,"span",1),r["\u0275\u0275template"](2,Ls,3,12,"span",2),r["\u0275\u0275template"](3,Bs,3,12,"span",3),r["\u0275\u0275template"](4,Hs,3,12,"span",4),r["\u0275\u0275template"](5,qs,3,11,"span",5)),2&e&&(r["\u0275\u0275property"]("ngIf",!(null!=t.config&&null!=t.config.address1&&t.config.address1.hidden)),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",!(null!=t.config&&null!=t.config.address2&&t.config.address2.hidden)),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",!(null!=t.config&&null!=t.config.city&&t.config.city.hidden)),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",!(null!=t.config&&null!=t.config.state&&t.config.state.hidden)),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",!(null!=t.config&&null!=t.config.zip&&t.config.zip.hidden)),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",!(null!=t.config&&null!=t.config.countryID&&t.config.countryID.hidden)))},directives:[i.m,Ui.DefaultValueAccessor,Ui.MaxLengthValidator,Ui.NgControlStatus,Ui.NgModel,i.k,Tu,ud],encapsulation:2}),e})();const jd={provide:Ui.NG_VALUE_ACCESSOR,useExisting:Object(r.forwardRef)(()=>Ld),multi:!0},Fd={iconStyle:"box"};let Ld=(()=>{class e{constructor(e){this.ref=e,this.indeterminate=!1,this.disabled=!1,this.onSelect=new r.EventEmitter,this.boxIcon=!0,this.onModelChange=()=>{},this.onModelTouched=()=>{}}ngOnInit(){this.layoutOptions=Object.assign({},Fd,this.layoutOptions),this.boxIcon="box"===this.layoutOptions.iconStyle}select(e){Pu.swallowEvent(e),this.disabled||(this.model=!this.model,this.onModelChange(this.model),this.onSelect.emit({originalEvent:e,value:this.model}))}writeValue(e){this.model=e,this.ref.markForCheck()}registerOnChange(e){this.onModelChange=e}registerOnTouched(e){this.onModelTouched=e}setDisabledState(e){this.disabled=e}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](r.ChangeDetectorRef))},e.\u0275cmp=r["\u0275\u0275defineComponent"]({type:e,selectors:[["novo-checkbox"]],inputs:{indeterminate:"indeterminate",disabled:"disabled",layoutOptions:"layoutOptions",name:"name",label:"label"},outputs:{onSelect:"onSelect"},features:[r["\u0275\u0275ProvidersFeature"]([jd])],decls:5,vars:24,consts:[[1,"check-box-group"],["type","checkbox",3,"name","ngModel","disabled","ngModelChange"],[3,"click"],[4,"ngIf"]],template:function(e,t){1&e&&(r["\u0275\u0275elementStart"](0,"div",0),r["\u0275\u0275elementStart"](1,"input",1),r["\u0275\u0275listener"]("ngModelChange",(function(e){return t.model=e})),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementStart"](2,"label",2),r["\u0275\u0275listener"]("click",(function(e){return t.select(e)})),r["\u0275\u0275element"](3,"i"),r["\u0275\u0275template"](4,Ks,2,1,"span",3),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"]()),2&e&&(r["\u0275\u0275classProp"]("checked",t.model)("disabled",t.disabled),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("name",t.name)("ngModel",t.model)("disabled",t.disabled),r["\u0275\u0275attribute"]("id",t.name),r["\u0275\u0275advance"](1),r["\u0275\u0275classProp"]("disabled",t.disabled),r["\u0275\u0275attribute"]("for",t.name),r["\u0275\u0275advance"](1),r["\u0275\u0275classProp"]("bhi-checkbox-empty",!t.model&&!t.indeterminate&&t.boxIcon)("bhi-checkbox-filled",t.model&&!t.indeterminate&&t.boxIcon)("bhi-checkbox-indeterminate",t.indeterminate&&t.boxIcon)("bhi-circle-o",!t.model&&!t.indeterminate&&!t.boxIcon)("bhi-check",t.model&&!t.indeterminate&&!t.boxIcon)("bhi-circle",t.indeterminate&&!t.boxIcon),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",t.label))},directives:[Ui.CheckboxControlValueAccessor,Ui.NgControlStatus,Ui.NgModel,i.m],encapsulation:2}),e})();const Vd={provide:Ui.NG_VALUE_ACCESSOR,useExisting:Object(r.forwardRef)(()=>Bd),multi:!0};let Bd=(()=>{class e{constructor(){this.onSelect=new r.EventEmitter,this.onModelChange=()=>{},this.onModelTouched=()=>{}}ngOnInit(){this.setModel(),this.setupOptions()}select(e,t){Pu.swallowEvent(e),this.disabled||(t.checked=!t.checked,this.model=this._options.filter(e=>e.checked).map(e=>e.value),this.onModelChange(this.model.length>0?this.model:""),this.onSelect.emit({selected:this.model}))}setupOptions(){this.options=this.options||[],this._options=[],this.options.forEach(this.options.length&&!this.options[0].value?e=>{const t={value:e,label:e,checked:this.model&&this.model.length&&-1!==this.model.indexOf(e.value)};this._options.push(t)}:e=>{const t=e;t.checked=this.model&&this.model.length&&-1!==this.model.indexOf(e.value),this._options.push(t)})}setModel(){const e=this.options.filter(e=>e.checked).map(e=>e.value);this.writeValue(e)}writeValue(e){this.model=e||[],e&&this.setupOptions()}registerOnChange(e){this.onModelChange=e}registerOnTouched(e){this.onModelTouched=e}setDisabledState(e){this.disabled=e}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=r["\u0275\u0275defineComponent"]({type:e,selectors:[["novo-check-list"]],inputs:{options:"options",disabled:"disabled",name:"name"},outputs:{onSelect:"onSelect"},features:[r["\u0275\u0275ProvidersFeature"]([Vd])],decls:1,vars:1,consts:[["class","check-box-group",3,"ngClass","disabled",4,"ngFor","ngForOf"],[1,"check-box-group",3,"ngClass"],["type","checkbox",3,"name","ngModel","value","disabled","change"],[3,"click"],[3,"ngClass"]],template:function(e,t){1&e&&r["\u0275\u0275template"](0,Ys,6,17,"div",0),2&e&&r["\u0275\u0275property"]("ngForOf",t._options)},directives:[i.l,i.k,Ui.CheckboxControlValueAccessor,Ui.NgControlStatus,Ui.NgModel],encapsulation:2}),e})();class Ud{constructor(e){this.name="",this.contentType="",this.lastModified=0,this.size=0,this.loaded=!1,this.reader=new FileReader,this.name=""+encodeURIComponent(e.name||""),this.contentType=e.type,this.lastModified=e.lastModified,this.size=e.size,this.file=e,this.reader.onload=e=>{this.fileContents=e.target.result.split(",")[1],this.dataURL=e.target.result,this.loaded=!0,this.readPromise&&this.readPromise(this)}}read(){return new Promise(e=>
2303{this.readPromise=e,this.reader.readAsDataURL(this.file)})}toJSON(){return{name:this.name,contentType:this.type,lastModified:this.lastModified,size:this.size,fileContents:this.fileContents}}}const Hd={provide:Ui.NG_VALUE_ACCESSOR,useExisting:Object(r.forwardRef)(()=>qd),multi:!0},Gd={order:"default",download:!0,removable:!0,labelStyle:"default",draggable:!1};let qd=(()=>{class e{constructor(e,t){this.element=e,this.labels=t,this.multiple=!1,this.disabled=!1,this.value=[],this.edit=new r.EventEmitter,this.save=new r.EventEmitter,this.delete=new r.EventEmitter,this.upload=new r.EventEmitter,this.elements=[],this.files=[],this.active=!1,this.onModelChange=()=>{},this.onModelTouched=()=>{},this.commands={dragenter:this.dragEnterHandler.bind(this),dragleave:this.dragLeaveHandler.bind(this),dragover:this.dragOverHandler.bind(this),drop:this.dropHandler.bind(this)}}ngOnInit(){["dragenter","dragleave","dragover","drop"].forEach(e=>{this.element.nativeElement.addEventListener(e,this.commands[e])}),this.updateLayout(),this.setInitialFileList(),this.dataFeatureId=this.dataFeatureId?this.dataFeatureId:this.name}ngOnDestroy(){["dragenter","dragleave","dragover","drop"].forEach(e=>{this.element.nativeElement.removeEventListener(e,this.commands[e])})}ngOnChanges(e){this.onModelChange(this.model)}updateLayout(){this.layoutOptions=Object.assign({},Gd,this.layoutOptions),this.insertTemplatesBasedOnLayout()}insertTemplatesBasedOnLayout(){let e;switch(this.layoutOptions.order){case"displayFilesBelow":e=["fileInput","fileOutput"];break;default:e=["fileOutput","fileInput"]}return e.forEach(e=>{this.container.createEmbeddedView(this[e],0)}),e}setInitialFileList(){this.value&&(this.files=this.value)}dragEnterHandler(e){e.preventDefault(),e.dataTransfer.dropEffect="copy",this.target=e.target,this.active=!0}dragLeaveHandler(e){e.preventDefault(),this.target===e.target&&(this.active=!1)}dragOverHandler(e){e.preventDefault()}dropHandler(e){if(e.preventDefault(),this.visible=!1,"Files"!==e.dataTransfer.types[0])return;const t=this.layoutOptions,n=Array.from(e.dataTransfer.files);t.customActions?this.upload.emit(this.multiple?n:[n[0]]):this.process(this.multiple?n:[n[0]]),this.active=!1}writeValue(e){this.model=e}registerOnChange(e){this.onModelChange=e}registerOnTouched(e){this.onModelTouched=e}check(e){this.process(Array.from(e.target.files))}validate(e){let t=!0;return this.layoutOptions.customValidation&&this.layoutOptions.customValidation.filter(e=>"upload"===e.action).forEach(n=>{t=n.fn(e)&&t}),t}process(e){this.validate(e)&&Promise.all(e.map(e=>this.readFile(e))).then(e=>{this.multiple?this.files.push(...e):this.files=e,this.model=this.files,this.onModelChange(this.model)})}download(e){window.open(e.dataURL,"_blank")}remove(e){this.files.splice(this.files.findIndex(t=>t.name===e.name&&t.size===e.size),1),this.model=this.files,this.onModelChange(this.model)}readFile(e){return new Ud(e).read()}customEdit(e){this.edit.emit(e)}customSave(e){this.save.emit(e)}customDelete(e){this.delete.emit(e)}customCheck(e){this.upload.emit(e)}setDisabledState(e){this.disabled=e}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](r.ElementRef),r["\u0275\u0275directiveInject"](ju))},e.\u0275cmp=r["\u0275\u0275defineComponent"]({type:e,selectors:[["novo-file-input"]],viewQuery:function(e,t){var n;1&e&&(r["\u0275\u0275staticViewQuery"]($s,!0),r["\u0275\u0275staticViewQuery"](Ws,!0),r["\u0275\u0275staticViewQuery"](Zs,!0,r.ViewContainerRef)),2&e&&(r["\u0275\u0275queryRefresh"](n=r["\u0275\u0275loadQuery"]())&&(t.fileInput=n.first),r["\u0275\u0275queryRefresh"](n=r["\u0275\u0275loadQuery"]())&&(t.fileOutput=n.first),r["\u0275\u0275queryRefresh"](n=r["\u0275\u0275loadQuery"]())&&(t.container=n.first))},inputs:{multiple:"multiple",disabled:"disabled",value:"value",dataFeatureId:"dataFeatureId",layoutOptions:"layoutOptions",name:"name",placeholder:"placeholder"},outputs:{edit:"edit",save:"save",delete:"delete",upload:"upload"},features:[r["\u0275\u0275ProvidersFeature"]([Hd]),r["\u0275\u0275NgOnChangesFeature"]],decls:6,vars:0,consts:[["container",""],["fileInput",""],["fileOutput",""],[1,"file-input-group"],["type","file","tabindex","-1",3,"name","change",4,"ngIf"],[3,"ngSwitch"],["class","no-box",4,"ngSwitchCase"],["class","boxed",4,"ngSwitchDefault"],["type","file","tabindex","-1",3,"name","change"],[1,"no-box"],[1,"bhi-dropzone"],[1,"link"],[1,"boxed"],[1,"file-output-group"],["class","file-item",3,"disabled",4,"ngFor","ngForOf"],[1,"file-item"],["class","bhi-move",4,"ngIf"],[4,"ngIf"],["class","actions",4,"ngIf"],[1,"bhi-move"],["target","_blank",3,"href"],[1,"actions"],["type","button","theme","icon","icon","save","tabindex","-1",3,"click",4,"ngIf"],["type","button","theme","icon","icon","close","tabindex","-1",3,"click",4,"ngIf"],["type","button","theme","icon","icon","save","tabindex","-1",3,"click"],["type","button","theme","icon","icon","close","tabindex","-1",3,"click"],["type","button","theme","icon","icon","edit","tabindex","-1",3,"click",4,"ngIf"],["type","button","theme","icon","icon","edit","tabindex","-1",3,"click"]],template:function(e,t){1&e&&(r["\u0275\u0275element"](0,"div",null,0),r["\u0275\u0275template"](2,tc,6,8,"ng-template",null,1,r["\u0275\u0275templateRefExtractor"]),r["\u0275\u0275template"](4,gc,2,1,"ng-template",null,2,r["\u0275\u0275templateRefExtractor"]))},directives:[i.m,i.o,i.p,i.q,i.l,xu,Fu],pipes:[Ru],encapsulation:2}),e})(),Kd=(()=>{class e{}return e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},imports:[[i.c,Ui.FormsModule,Mu,Iu,Pd,md,Lu,Au]]}),e})();const zd={provide:Ui.NG_VALUE_ACCESSOR,useExisting:Object(r.forwardRef)(()=>Yd),multi:!0};let Yd=(()=>{class e{constructor(e,t){this.element=e,this.ref=t,this.name=(new Date).getTime().toString(),this.disabled=!1,this.onChange=new r.EventEmitter,this.onSelectedOptionClick=new r.EventEmitter,this.onDisabledOptionClick=new r.EventEmitter,this._options=[],this.activeTile=null,this.focused=!1,this.onModelChange=()=>{},this.onModelTouched=()=>{}}setFocus(e){this.focused=e}ngAfterContentInit(){this.name=this.name||"",this.setupOptions()}ngOnChanges(e){e.options&&e.options.currentValue&&!e.options.firstChange&&(this.name=this.name||"",this._options=[],this.setupOptions())}setupOptions(){this._options=this.options.map(this.options&&this.options.length&&null==this.options[0].value?e=>{const t={value:e,label:e,checked:this.model===e};return t.checked&&this.setTile(t),t}:e=>(e.checked=this.model===e.value||this.model&&this.model.id===e.value,e.checked&&this.setTile(e),e)),this.ref.markForCheck()}select(e,t){if(e&&(e.stopPropagation(),e.preventDefault()),t.disabled)this.onDisabledOptionClick.emit(t);else{if(t.checked)return void this.onSelectedOptionClick.emit(t);for(const e of this._options)e.checked=!1;t.checked=!t.checked,this.onChange.emit(t.value),this.onModelChange(t.value),this.setTile(t),this.model=t.value}this.ref.markForCheck()}setTile(e){e&&(this.activeTile=e.value,this.ref.markForCheck())}writeValue(e){this.model=e,Pu.isBlank(e)||this.setupOptions()}registerOnChange(e){this.onModelChange=e}registerOnTouched(e){this.onModelTouched=e}setDisabledState(e){this.disabled=e}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](r.ElementRef),r["\u0275\u0275directiveInject"](r.ChangeDetectorRef))},e.\u0275cmp=r["\u0275\u0275defineComponent"]({type:e,selectors:[["novo-tiles"]],inputs:{name:"name",disabled:["controlDisabled","disabled"],options:"options",required:"required"},outputs:{onChange:"onChange",onSelectedOptionClick:"onSelectedOptionClick",onDisabledOptionClick:"onDisabledOptionClick"},features:[r["\u0275\u0275ProvidersFeature"]([zd]),r["\u0275\u0275NgOnChangesFeature"]],decls:2,vars:5,consts:[[1,"tile-container"],["class","tile",3,"ngClass","click",4,"ngFor","ngForOf"],[1,"tile",3,"ngClass","click"],["type","radio",1,"tiles-input",3,"name","value","disabled","change","focus","blur"]],template:function(e,t){1&e&&(r["\u0275\u0275elementStart"](0,"div",0),r["\u0275\u0275template"](1,yc,4,12,"div",1),r["\u0275\u0275elementEnd"]()),2&e&&(r["\u0275\u0275classProp"]("active",t.focused)("disabled",t.disabled),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngForOf",t._options))},directives:[i.l,i.k],encapsulation:2,changeDetection:0}),e})(),$d=(()=>{class e{}return e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},imports:[[i.c,Ui.ReactiveFormsModule]]}),e})();const Wd={provide:Ui.NG_VALUE_ACCESSOR,useExisting:Object(r.forwardRef)(()=>Zd),multi:!0};let Zd=(()=>{class e{constructor(e,t,n,o){this.element=e,this.labels=t,this._changeDetectorRef=n,this._zone=o,this.icon="search",this.placeholder="Search...",this.alwaysOpen=!1,this.theme="positive",this.closeOnSelect=!0,this.searchChanged=new r.EventEmitter,this.focused=!1,this._onChange=()=>{},this._onTouched=()=>{}}showSearch(e,t=!1){this.panelOpen||setTimeout(()=>{const e=this.input.nativeElement;e&&e.focus()},10)}onFocus(){this._zone.run(()=>
2303{this.focused=!0,this.openPanel()})}onBlur(){this.focused=!1}openPanel(){this.overlay.openPanel()}closePanel(){this.overlay.closePanel()}get panelOpen(){return this.overlay&&this.overlay.panelOpen}get active(){return this.panelOpen||this.alwaysOpen}_handleKeydown(e){27!==e.keyCode&&13!==e.keyCode&&9!==e.keyCode||!this.panelOpen||(this.closePanel(),e.stopPropagation())}_handleInput(e){document.activeElement===e.target&&(this._onChange(e.target.value),this.debounceSearchChange&&clearTimeout(this.debounceSearchChange),this.debounceSearchChange=setTimeout(()=>{this.searchChanged.emit(e.target.value)},400))}writeValue(e){this._setValue(e)}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}_setValue(e){this.value=e;let t=e;e&&this.displayField&&(t=e.hasOwnProperty(this.displayField)?e[this.displayField]:e),this.displayValue=t||"",this.input.nativeElement.value=this.displayValue,this._changeDetectorRef.markForCheck()}setValueAndClose(e){e&&e.value&&(this._setValue(e.value),this._onChange(e.value)),this.closePanel()}clearValue(e){this.writeValue(null),this._onChange(null)}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](r.ElementRef),r["\u0275\u0275directiveInject"](ju),r["\u0275\u0275directiveInject"](r.ChangeDetectorRef),r["\u0275\u0275directiveInject"](r.NgZone))},e.\u0275cmp=r["\u0275\u0275defineComponent"]({type:e,selectors:[["novo-search"]],viewQuery:function(e,t){var n;1&e&&(r["\u0275\u0275viewQuery"](nd,!0),r["\u0275\u0275staticViewQuery"](ja,!0)),2&e&&(r["\u0275\u0275queryRefresh"](n=r["\u0275\u0275loadQuery"]())&&(t.overlay=n.first),r["\u0275\u0275queryRefresh"](n=r["\u0275\u0275loadQuery"]())&&(t.input=n.first))},hostVars:4,hostBindings:function(e,t){2&e&&r["\u0275\u0275classProp"]("focused",t.focused)("active",t.active)},inputs:{icon:"icon",placeholder:"placeholder",alwaysOpen:"alwaysOpen",theme:"theme",closeOnSelect:"closeOnSelect",displayValue:"displayValue",name:"name",displayField:"displayField",hint:"hint"},outputs:{searchChanged:"searchChanged"},features:[r["\u0275\u0275ProvidersFeature"]([Wd])],ngContentSelectors:ua,decls:5,vars:8,consts:[["theme","fab","tooltipPosition","bottom","data-automation-id","novo-search-fab",3,"color","icon","tooltip","click"],["type","text","data-automation-id","novo-search-input",3,"focus","blur","keydown","input"],["input",""],["position","above-below",3,"parent","closeOnSelect","select","closing"]],template:function(e,t){1&e&&(r["\u0275\u0275projectionDef"](),r["\u0275\u0275elementStart"](0,"button",0),r["\u0275\u0275listener"]("click",(function(){return t.showSearch()})),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementStart"](1,"input",1,2),r["\u0275\u0275listener"]("focus",(function(){return t.onFocus()}))("blur",(function(){return t.onBlur()}))("keydown",(function(e){return t._handleKeydown(e)}))("input",(function(e){return t._handleInput(e)})),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementStart"](3,"novo-overlay-template",3),r["\u0275\u0275listener"]("select",(function(){return t.closePanel()}))("closing",(function(){return t.onBlur()})),r["\u0275\u0275projection"](4),r["\u0275\u0275elementEnd"]()),2&e&&(r["\u0275\u0275property"]("color",t.theme)("icon",t.icon)("tooltip",t.hint),r["\u0275\u0275advance"](1),r["\u0275\u0275attribute"]("name",t.name)("value",t.displayValue)("placeholder",t.placeholder),r["\u0275\u0275advance"](2),r["\u0275\u0275property"]("parent",t.element)("closeOnSelect",t.closeOnSelect))},directives:[xu,Tu,nd],encapsulation:2,changeDetection:0}),e})(),Jd=(()=>{class e{}return e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},imports:[[i.c,Iu,md,Au,rd]]}),e})();const Qd={provide:Ui.NG_VALUE_ACCESSOR,useExisting:Object(r.forwardRef)(()=>Xd),multi:!0};let Xd=(()=>{class e{constructor(e,t){this.labels=e,this.element=t,this.weekStart=0,this.onSelect=new r.EventEmitter(!1),this.weekdays=[],this.months=[],this.years=[],this.view="days",this.rangeSelectMode="startDate",this._onChange=()=>{},this._onTouched=()=>{}}ngOnInit(){const e=new Date,t=this.minYear?Number(this.minYear):e.getFullYear()-100,n=this.maxYear?Number(this.maxYear):e.getFullYear()+10;for(let r=t;r<=n;r++)this.years.push(r);this.weekdays=this.setupWeekdays(),this.months=this.labels.getMonths(),this.selectedLabel=this.labels.startDate,this.selected2Label=this.labels.endDate,this.updateView(this.model,!1,!0)}ngOnChanges(e){const t=e.weekRangeSelect;t&&t.currentValue!==t.previousValue&&!t.firstChange&&this.clearRange();const n=e.weekStart;n&&n.currentValue!==n.previousValue&&!n.firstChange&&(this.weekdays=this.setupWeekdays(),this.updateView(this.model,!1,!1))}setupWeekdays(){let e=this.labels.getWeekdays();if(!Pu.isBlank(this.weekStart)&&this.weekStart>0&&this.weekStart<=6){const t=e.splice(this.weekStart);e=[...t,...e]}return e}isSelectingRange(e,t,n,r,o,i,a){if(e&&!a){const e="endDate"===i&&n&&r&&Object(Bi.isAfter)(t,r)&&Object(Bi.isBefore)(t,o),a="startDate"===i&&n&&r&&Object(Bi.isBefore)(t,n)&&Object(Bi.isAfter)(t,o),s=!n&&r&&Object(Bi.isBefore)(t,r)&&Object(Bi.isAfter)(t,o);return n&&!r&&Object(Bi.isAfter)(t,n)&&Object(Bi.isBefore)(t,o)||s||a||e}return!1}isEndFill(e,t,n,r){return!!(e&&r&&n)&&!Object(Bi.isSameDay)(n,r)&&Object(Bi.isSameDay)(t,r)&&Object(Bi.isAfter)(t,n)}isStartFill(e,t,n,r){return!!(e&&r&&n)&&!Object(Bi.isSameDay)(n,r)&&Object(Bi.isSameDay)(t,n)&&Object(Bi.isBefore)(t,r)}isFiller(e,t,n,r){return!!(e&&r&&n)&&(Object(Bi.isAfter)(t,n)&&Object(Bi.isBefore)(t,r)||Object(Bi.isSameDay)(t,n)||Object(Bi.isSameDay)(t,r))}isSelected(e,t,n,r){return e?t&&(n&&t.getDate()===n.getDate()&&t.getMonth()===n.getMonth()&&t.getFullYear()===n.getFullYear()||r&&t.getDate()===r.getDate()&&t.getMonth()===r.getMonth()&&t.getFullYear()===r.getFullYear()):t.getDate()===n.getDate()&&t.getMonth()===n.getMonth()&&t.getFullYear()===n.getFullYear()}isDisabled(e,t,n){return Object(Bi.isBefore)(e,t)||Object(Bi.isAfter)(e,n)}updateView(e,t,n){if(e&&null===e.startDate)this.clearRange();else{e||this.clearRange();let r=e?new Date(e):new Date;r=this.removeTime(r),this.month=new Date(r),this.monthLabel=this.labels.formatDateWithFormat(this.month,{month:"short"});const o=new Date(r.getTime());o.setDate(1),this.removeTime(o.setDate(1)),this.buildMonth(o,this.month),n&&this.select(null,{date:r},t)}}setToday(){const e=new Date;this.updateView(e,!0,!0),this.open(null,"days")}clearRange(){this.selected=null,this.selectedLabel=this.labels.startDate,this.selected2=null,this.selected2Label=this.labels.endDate}setMonth(e){const t=this.month?this.month:new Date,n=Object(Bi.setMonth)(t,e);this.updateView(n,!0,!1),this.open(null,"days")}setYear(e){const t=this.month?this.month:new Date,n=Object(Bi.setYear)(t,e);this.updateView(n,!0,!1),this.open(null,"days")}select(e,t,n){Pu.swallowEvent(e),this.range?this.weekRangeSelect?(this.selected=Object(Bi.startOfWeek)(t.date,{weekStartsOn:this.weekStart}),this.selected2=Object(Bi.endOfWeek)(t.date,{weekStartsOn:this.weekStart}),this.selectedLabel=this.labels.formatDateWithFormat(this.selected,{month:"short",day:"2-digit",year:"numeric"}),this.selected2Label=this.labels.formatDateWithFormat(this.selected2,{month:"short",day:"2-digit",year:"numeric"}),!n&&this.weekRangeSelect&&this.fireRangeSelect()):"startDate"===this.rangeSelectMode?(this.selected=Object(Bi.startOfDay)(t.date),this.selectedLabel=this.labels.formatDateWithFormat(this.selected,{month:"short",day:"2-digit",year:"numeric"}),this.selected2&&Object(Bi.isAfter)(t.date,this.selected2)&&(this.selected2=null,this.selected2Label=this.labels.endDate),e&&(this.rangeSelectMode="endDate")):"endDate"===this.rangeSelectMode&&(this.selected2=Object(Bi.endOfDay)(t.date),this.selected2Label=this.labels.formatDateWithFormat(this.selected2,{month:"short",day:"2-digit",year:"numeric"}),this.selected&&Object(Bi.isBefore)(t.date,this.selected)&&(this.selected=null,this.selectedLabel=this.labels.startDate),e&&(this.rangeSelectMode="startDate")):(this.selected=t.date,this.selectedLabel=this.labels.formatDateWithFormat(this.selected,{month:"short",day:"2-digit",year:"numeric"}),this.updateHeading()),n&&this.selected&&(this.range&&this.selected&&this.selected2&&(this.fireRangeSelect(),this._onChange({startDate:this.selected,endDate:this.selected2?this.selected2:null}),this.model={startDate:this.selected,endDate:this.selected2?this.selected2:null}),this.range||(this.onSelect.next({month:this.labels.formatDateWithFormat(this.selected,{month:"long"}),year:this.selected.getFullYear(),day:this.labels.formatDateWithFormat(this.selected,{weekday:"long"}),date:this.selected}),this._onChange(this.selected),this.model=this.selected))}fireRangeSelect(){Object(Bi.isBefore)(this.selected,this.selected2)&&this.onSelect.next({startDate:{month:this.labels.formatDateWithFormat(this.selected,{month:"long"}),year:this.selected.getFullYear(),day:this.labels.formatDateWithFormat(this.selected,{weekday:"long"}),date:this.selected},endDate:{month:this.labels.formatDateWithFormat(this.selected2,{month:"long"}),year:this.selected2.getFullYear(),day:this.labels.formatDateWithFormat(this.selected2,{weekday:"long"}),date:this.selected2}}
2303)}open(e,t){Pu.swallowEvent(e),this.view=t===this.view?"days":t,"years"!==this.view&&"months"!==this.view||setTimeout(()=>{const e=this.element.nativeElement.querySelector(".calendar-content."+this.view),t=this.element.nativeElement.querySelector(`.calendar-content.${this.view} .${"years"===this.view?"year":"month"}.selected`);e&&t&&(e.scrollTop=t.offsetTop-100)}),this.updateHeading()}prevMonth(e){Pu.swallowEvent(e);const t=Object(Bi.subMonths)(this.month,1);this.updateView(t,!1,!1)}nextMonth(e){Pu.swallowEvent(e);const t=Object(Bi.addMonths)(this.month,1);this.updateView(t,!1,!1)}updateHeading(){this.selected&&(this.heading={month:this.labels.formatDateWithFormat(this.selected,{month:"long"}),year:this.selected.getFullYear(),day:this.labels.formatDateWithFormat(this.selected,{weekday:"long"}),date:this.selected.getDate()})}removeTime(e){const t=new Date(e);return t.setHours(12),t.setSeconds(0),t.setMilliseconds(0),t}buildMonth(e,t){this.weeks=[];let n=!1,r=Object(Bi.startOfWeek)(e,{weekStartsOn:this.weekStart}),o=r.getMonth(),i=0;for(;!n;)this.weeks.push({days:this.buildWeek(new Date(r.getTime()),t)}),r=Object(Bi.addDays)(r,7),n=i++>2&&o!==r.getMonth(),o=r.getMonth()}buildWeek(e,t){const n=[];for(let r=0;r<7;r++)n.push({name:this.weekdays[r],number:e.getDate(),isToday:Object(Bi.isToday)(e),date:e}),e=Object(Bi.addDays)(e,1);return n}toggleRangeSelect(e){this.rangeSelectMode=e}rangeHover(e,t){this.hoverDay=t.date}writeValue(e){this.model=e,Pu.isDate(e)&&this.updateView(e,!1,!0)}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](ju),r["\u0275\u0275directiveInject"](r.ElementRef))},e.\u0275cmp=r["\u0275\u0275defineComponent"]({type:e,selectors:[["novo-date-picker"]],inputs:{weekStart:"weekStart",minYear:"minYear",maxYear:"maxYear",start:"start",end:"end",inline:"inline",range:"range",weekRangeSelect:"weekRangeSelect"},outputs:{onSelect:"onSelect"},features:[r["\u0275\u0275ProvidersFeature"]([Qd]),r["\u0275\u0275NgOnChangesFeature"]],decls:24,vars:12,consts:[[1,"calendar"],["class","calendar-top",4,"ngIf"],["class","date-range-tabs",3,"week-select-mode",4,"ngIf"],[1,"calendar-header"],["data-automation-id","calendar-previous",1,"previous",3,"click"],[1,"heading"],["data-automation-id","header-month",1,"month",3,"click"],["data-automation-id","header-year",1,"year",3,"click"],["data-automation-id","calendar-next",1,"next",3,"click"],["cellspacing","0","cellpadding","0",1,"calendar-content","days",3,"hidden"],["class","weekday",3,"title",4,"ngFor","ngForOf"],[4,"ngFor","ngForOf"],[1,"calendar-content","months",3,"hidden"],[3,"click",4,"ngFor","ngForOf"],[1,"calendar-content","years",3,"hidden"],[1,"calendar-footer"],["data-automation-id","calendar-today",1,"today",3,"click"],[1,"calendar-top"],[1,"day"],[1,"month"],[1,"date"],[1,"year"],[1,"date-range-tabs"],["data-automation-id","calendar-start-date",1,"range-tab",3,"click"],["data-automation-id","calendar-end-date",1,"range-tab",3,"click"],[1,"indicator"],[1,"weekday",3,"title"],[3,"ngClass","mouseover",4,"ngFor","ngForOf"],[3,"ngClass","mouseover"],[1,"day",3,"disabled","click"],[3,"click"],[1,"month",3,"ngClass"],[1,"year",3,"ngClass"]],template:function(e,t){1&e&&(r["\u0275\u0275elementStart"](0,"div",0),r["\u0275\u0275template"](1,vc,9,8,"div",1),r["\u0275\u0275template"](2,bc,6,7,"div",2),r["\u0275\u0275elementStart"](3,"div",3),r["\u0275\u0275elementStart"](4,"span",4),r["\u0275\u0275listener"]("click",(function(e){return t.prevMonth(e)})),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementStart"](5,"span",5),r["\u0275\u0275elementStart"](6,"span",6),r["\u0275\u0275listener"]("click",(function(e){return t.open(e,"months")})),r["\u0275\u0275text"](7),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementStart"](8,"span",7),r["\u0275\u0275listener"]("click",(function(e){return t.open(e,"years")})),r["\u0275\u0275text"](9),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementStart"](10,"span",8),r["\u0275\u0275listener"]("click",(function(e){return t.nextMonth(e)})),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementStart"](11,"table",9),r["\u0275\u0275elementStart"](12,"thead"),r["\u0275\u0275elementStart"](13,"tr"),r["\u0275\u0275template"](14,Cc,2,3,"th",10),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementStart"](15,"tbody"),r["\u0275\u0275template"](16,_c,2,1,"tr",11),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementStart"](17,"section",12),r["\u0275\u0275template"](18,kc,3,5,"div",13),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementStart"](19,"section",14),r["\u0275\u0275template"](20,xc,3,5,"div",13),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementStart"](21,"div",15),r["\u0275\u0275elementStart"](22,"span",16),r["\u0275\u0275listener"]("click",(function(){return t.setToday()})),r["\u0275\u0275text"](23),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"]()),2&e&&(r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",!t.inline&&!t.range),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",t.range),r["\u0275\u0275advance"](5),r["\u0275\u0275textInterpolate"](t.monthLabel),r["\u0275\u0275advance"](2),r["\u0275\u0275textInterpolate"](null==t.month?null:t.month.getFullYear()),r["\u0275\u0275advance"](2),r["\u0275\u0275property"]("hidden",!("days"==t.view)),r["\u0275\u0275advance"](3),r["\u0275\u0275property"]("ngForOf",t.weekdays),r["\u0275\u0275advance"](2),r["\u0275\u0275property"]("ngForOf",t.weeks),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("hidden","months"!==t.view),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngForOf",t.months),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("hidden","years"!==t.view),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngForOf",t.years),r["\u0275\u0275advance"](3),r["\u0275\u0275textInterpolate"](t.labels.today))},directives:[i.m,i.l,i.k],encapsulation:2,data:{animation:[Ni("startDateTextState",[Li("startDate",Fi({opacity:"1.0"})),Li("endDate",Fi({opacity:"0.6"})),Vi("startDate <=> endDate",ji("200ms ease-in"))]),Ni("endDateTextState",[Li("startDate",Fi({opacity:"0.6"})),Li("endDate",Fi({opacity:"1.0"})),Vi("startDate <=> endDate",ji("200ms ease-in"))]),Ni("indicatorState",[Li("startDate",Fi({transform:"translateX(0%)"})),Li("endDate",Fi({transform:"translateX(100%)"})),Vi("startDate <=> endDate",ji("200ms ease-in"))])]}}),e})(),eh=(()=>{class e{constructor(e){this.labels=e}getTimeMask(e){let t=[/\d/,/\d/,/:/,/\d/,/\d/],n=[];const r=this.labels.timeFormatPlaceholderAM.toLowerCase();if(e)return t;if(n=r.split("hh:mm"),n&&n.length){t=[];for(const e of n)if(""===e)t=t.concat([/\d/,/\d|:/,/:|\d/,/\d|\w|\s/,/\d|\s|\w/]);else if(e.length)for(let n=0;n<e.length;n++)t.push(/\s|\w|\d|\./)}return t}getDateMask(){return[/\d/,/\d|\/|\.|\-/,/\/|\.|\-|\d/,/\d|\/|\.|\-/,/\d|\/|\.|\-/,/\d|\/|\.|\-/,/\d|\/|\.|\-/,/\d|\/|\.|\-/,/\d/,/\d/]}getDateTimeMask(e=!1){return[...this.getDateMask(),/\,?/,/\s/,...this.getTimeMask(e)]}getTimePlaceHolder(e){return e?this.labels.timeFormatPlaceholder24Hour:this.labels.timeFormatPlaceholderAM}parseDateString(e){let t,n,r,o,i,a=this.labels.dateFormatString(),s=new Date;if(a=Pu.isEmpty(a)?"mm/dd/yyyy":a.toLowerCase(),t=/(\w+)[\/|\.|\-](\w+)[\/|\.|\-](\w+)/gi.exec(a),n=/(\d+)[\/|\.|\-](\d+)[\/|\.|\-](\d+)/gi.exec(e),t&&4===t.length&&n&&4===n.length){for(let e=1;e<4;e++)t[e].includes("m")?o=parseInt(n[e],10)-1:t[e].includes("d")?i=parseInt(n[e],10):r=parseInt(n[e],10);o>=0&&o<=11&&r>1900&&i>0&&i<=31&&(s=new Date(r,o,i))}else if(t&&4===t.length&&e.length>=1){const n=/\d{1,4}(\/|\.|\-)(\d{1,2})/.exec(e),r=/^(\d{1,4})$/.exec(e),o=/\w+(\/|\.|\-)\w+[\/|\.|\-]\w+/gi.exec(a),i=e[e.length-1].match(/\/|\.|\-/);(n&&3===n.length&&this.isValidDatePart(n[2],t[2])&&!i||r&&2===r.length&&this.isValidDatePart(r[1],t[1])&&!i)&&(e=`${e}${o[1]}`)}return[s,e]}parseTimeString(e,t){const n=new Date;let r,o=this.labels.timeFormatAM,i=this.labels.timeFormatPM;if(!e||!e.includes(":"))return[n,e];if(!t&&o&&i){let t=[],a=!1;if(o=this.labels.timeFormatAM.toLowerCase(),i=this.labels.timeFormatPM.toLowerCase(),(e=e.toLowerCase()).includes(o)?t=e.split(o):e.includes(i)&&(t=e.split(i),a=!0),t&&t.length)for(const e of t)e&&e.trim().includes(":")&&(r=e.trim().split(":"));if(r&&r.length&&2===r.length){let e=parseInt(r[0],10);12===e&&a?e=12:a?e+=12:12===e&&(e=0),n.setHours(e),n.setMinutes(parseInt(r[1],10)),n.setSeconds(0)}}else r=/(\d{1,2}):(\d{2})/.exec(e),r&&r.length&&3===r.length&&(n.setHours(parseInt(r[1],10)),n.setMinutes(parseInt(r[2],10)),n.setSeconds(0));return[n,e]}parseString(e,t,n){switch(n){case"datetime":const n=e.replace(/-/g,"/").split(" "),[r,o]=this.parseDateString(n[0]);if(n.length>1){const[e,i]=this.parseTimeString(n[1],t);return[new Date(r.setHours(e.getHours(),e.getMinutes())),`${o} ${i}`]}return[r,o];case"date":return this.parseDateString(e);case"time":return this.parseTimeString(e,t);default:return}}isValidDatePart(e,t){const n=parseInt(e,10);return!(!t.includes("m")||!(n>=2||2===e.length))||!(!t.includes("d")||!(n>=4||2===e.length))||!!(t.includes("y")&&n>=1e3)}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275inject"](ju))},e.\u0275prov=r["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})();const th={provide:Ui.NG_VALUE_ACCESSOR,useExisting:Object(r.forwardRef)(()=>nh),multi:!0};let nh=(()=>{class e{constructor(e,t,n,o){this.element=e,this.labels=t,this._changeDetectorRef=n,this.dateFormatService=o,this.formattedValue="",this._onChange=()=>{},this._onTouched=()=>{},this.textMaskEnabled=!0,this.allowInvalidDate=!1,this.disabled=!1,this.weekStart=0,this.blurEvent=ne
2303w r.EventEmitter,this.focusEvent=new r.EventEmitter,this.changeEvent=new r.EventEmitter,this.placeholder=this.labels.dateFormatString().toUpperCase()||this.labels.dateFormatPlaceholder}ngOnInit(){this.userDefinedFormat=!!this.format&&!this.format.match(/^(DD\/MM\/YYYY|MM\/DD\/YYYY)$/g),this.maskOptions=this.userDefinedFormat||!this.textMaskEnabled||this.allowInvalidDate?{mask:!1}:this.maskOptions||{mask:this.dateFormatService.getDateMask(),pipe:ra()(this.format||this.labels.dateFormatString().toLowerCase()),keepCharPositions:!1,guide:!0}}openPanel(){this.disabled||this.overlay.openPanel()}closePanel(){this.overlay.closePanel()}get panelOpen(){return this.overlay&&this.overlay.panelOpen}_handleKeydown(e){27!==e.keyCode&&13!==e.keyCode&&9!==e.keyCode||!this.panelOpen||(this._handleEvent(e,!0),this.closePanel(),e.stopPropagation())}_handleInput(e){document.activeElement===e.target&&this._handleEvent(e,!1)}_handleBlur(e){this.blurEvent.emit(e)}_handleFocus(e){this.openPanel(),this.focusEvent.emit(e)}_handleEvent(e,t){const n=e.target.value;""===n?(this.clearValue(),this.closePanel()):(this.formatDate(n,t),this.openPanel())}formatDate(e,t){try{const[n,r]=this.dateFormatService.parseString(e,!1,"date");if(isNaN(n.getUTCDate()))this.dispatchOnChange(null,t);else{const e=new Date(n);this.dispatchOnChange(e,t)}}catch(n){}}writeValue(e){Promise.resolve(null).then(()=>this._setTriggerValue(e))}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}dispatchOnChange(e,t=!1,n=!1){e!==this.value&&(this._onChange(e),this.changeEvent.emit(e),t?!n&&this.writeValue(e):!n&&this._setCalendarValue(e))}_setTriggerValue(e){this._setCalendarValue(e),this._setFormValue(e),this._changeDetectorRef.markForCheck()}_setCalendarValue(e){e instanceof Date&&this.value instanceof Date&&(e=new Date(e).setHours(0,0,0,0)),this.value=e}_setFormValue(e){if(this.value){const e=this.formatDateValue(this.value);this.formattedValue=e}else this.formattedValue=""}setValueAndClose(e){e&&e.date&&this.dispatchOnChange(e.date,!0),this.closePanel()}clearValue(){this.formattedValue="",this.dispatchOnChange(null)}formatDateValue(e){const t=e;try{return e?this.userDefinedFormat&&Object(Bi.isValid)(e)?Object(Bi.format)(e,this.format):(e instanceof Date||(e=new Date(e)),isNaN(e.valueOf())&&this.allowInvalidDate?t:this.labels.formatDateWithFormat(e,{month:"2-digit",day:"2-digit",year:"numeric"})):""}catch(n){return""}}get hasValue(){return!Pu.isEmpty(this.value)}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](r.ElementRef),r["\u0275\u0275directiveInject"](ju),r["\u0275\u0275directiveInject"](r.ChangeDetectorRef),r["\u0275\u0275directiveInject"](eh))},e.\u0275cmp=r["\u0275\u0275defineComponent"]({type:e,selectors:[["novo-date-picker-input"]],viewQuery:function(e,t){var n;1&e&&r["\u0275\u0275viewQuery"](nd,!0),2&e&&r["\u0275\u0275queryRefresh"](n=r["\u0275\u0275loadQuery"]())&&(t.overlay=n.first)},hostVars:2,hostBindings:function(e,t){2&e&&r["\u0275\u0275classProp"]("disabled",t.disabled)},inputs:{textMaskEnabled:"textMaskEnabled",allowInvalidDate:"allowInvalidDate",disabled:"disabled",weekStart:"weekStart",placeholder:"placeholder",maskOptions:"maskOptions",name:"name",start:"start",end:"end",format:"format"},outputs:{blurEvent:"blurEvent",focusEvent:"focusEvent",changeEvent:"changeEvent"},features:[r["\u0275\u0275ProvidersFeature"]([th])],decls:6,vars:12,consts:[["type","text","data-automation-id","date-input",3,"name","ngModel","textMask","placeholder","disabled","ngModelChange","focus","keydown","input","blur"],["input",""],["class","bhi-calendar",3,"click",4,"ngIf"],["class","bhi-times",3,"click",4,"ngIf"],["position","above-below",3,"parent"],["inline","true",3,"start","end","ngModel","weekStart","onSelect"],[1,"bhi-calendar",3,"click"],[1,"bhi-times",3,"click"]],template:function(e,t){1&e&&(r["\u0275\u0275elementStart"](0,"input",0,1),r["\u0275\u0275listener"]("ngModelChange",(function(e){return t.formattedValue=e}))("focus",(function(e){return t._handleFocus(e)}))("keydown",(function(e){return t._handleKeydown(e)}))("input",(function(e){return t._handleInput(e)}))("blur",(function(e){return t._handleBlur(e)})),r["\u0275\u0275elementEnd"](),r["\u0275\u0275template"](2,Ic,1,0,"i",2),r["\u0275\u0275template"](3,Oc,1,0,"i",3),r["\u0275\u0275elementStart"](4,"novo-overlay-template",4),r["\u0275\u0275elementStart"](5,"novo-date-picker",5),r["\u0275\u0275listener"]("onSelect",(function(e){return t.setValueAndClose(e)})),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"]()),2&e&&(r["\u0275\u0275property"]("name",t.name)("ngModel",t.formattedValue)("textMask",t.maskOptions)("placeholder",t.placeholder)("disabled",t.disabled),r["\u0275\u0275advance"](2),r["\u0275\u0275property"]("ngIf",!t.hasValue),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",t.hasValue),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("parent",t.element),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("start",t.start)("end",t.end)("ngModel",t.value)("weekStart",t.weekStart))},directives:[Ui.DefaultValueAccessor,Ui.NgControlStatus,Ui.NgModel,ta.MaskedInputDirective,i.m,nd,Xd],encapsulation:2}),e})(),rh=(()=>{class e{}return e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},imports:[[i.c,Ui.FormsModule,rd,ta.TextMaskModule]]}),e})(),oh=(()=>{class e{constructor(e){this.sanitizer=e,this.theme="danger",this.icon="caution",this.hasDialogue=!1,this.isCloseable=!1,this.closed=new r.EventEmitter,this.show=!1,this.animate=!1,this.parent=null,this.launched=!1}set message(e){this._message=this.sanitizer.bypassSecurityTrustHtml(e)}ngOnInit(){this.launched||(this.position=null,this.time=null,this.iconClass="bhi-"+this.icon,this.alertTheme=this.theme+" toast-container embedded",this.hasDialogue&&(this.alertTheme+=" dialogue"))}ngOnChanges(e){this.iconClass="bhi-"+this.icon,this.alertTheme=this.theme+" toast-container embedded",this.hasDialogue&&(this.alertTheme+=" dialogue")}clickHandler(e){this.isCloseable||(e&&(e.stopPropagation(),e.preventDefault()),this.parent?this.parent.hide(this):this.closed.emit
2303({closed:!0}))}close(e){e&&(e.stopPropagation(),e.preventDefault()),this.parent?this.parent.hide(this):this.closed.emit({closed:!0})}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](o.DomSanitizer))},e.\u0275cmp=r["\u0275\u0275defineComponent"]({type:e,selectors:[["novo-toast"]],hostVars:8,hostBindings:function(e,t){1&e&&r["\u0275\u0275listener"]("click",(function(e){return!t.isCloseable&&t.clickHandler(e)})),2&e&&(r["\u0275\u0275classMap"](t.alertTheme),r["\u0275\u0275classProp"]("show",t.show)("animate",t.animate)("embedded",t.embedded))},inputs:{theme:"theme",icon:"icon",hasDialogue:"hasDialogue",isCloseable:"isCloseable",message:"message",title:"title",link:"link"},outputs:{closed:"closed"},features:[r["\u0275\u0275NgOnChangesFeature"]],ngContentSelectors:ua,decls:9,vars:5,consts:[[1,"toast-icon"],[3,"ngClass"],[1,"toast-content"],[4,"ngIf"],[3,"message-only","innerHtml",4,"ngIf"],["class","link-generated",4,"ngIf"],[1,"dialogue"],["class","close-icon",3,"click",4,"ngIf"],[3,"innerHtml"],[1,"link-generated"],["type","text","onfocus","this.select();",3,"value"],[1,"close-icon",3,"click"],[1,"bhi-times"]],template:function(e,t){1&e&&(r["\u0275\u0275projectionDef"](),r["\u0275\u0275elementStart"](0,"div",0),r["\u0275\u0275element"](1,"i",1),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementStart"](2,"div",2),r["\u0275\u0275template"](3,Tc,2,1,"h5",3),r["\u0275\u0275template"](4,Ac,1,3,"p",4),r["\u0275\u0275template"](5,Pc,2,1,"div",5),r["\u0275\u0275elementStart"](6,"div",6),r["\u0275\u0275projection"](7),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"](),r["\u0275\u0275template"](8,Dc,2,0,"div",7)),2&e&&(r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngClass",t.iconClass),r["\u0275\u0275advance"](2),r["\u0275\u0275property"]("ngIf",t.title),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",t._message),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",t.link),r["\u0275\u0275advance"](3),r["\u0275\u0275property"]("ngIf",t.isCloseable))},directives:[i.k,i.m],encapsulation:2}),e})(),ih=(()=>{class e{constructor(e){this.componentUtils=e,this.references=[],this.icons={default:"bell",success:"check",info:"info",warning:"warning",danger:"remove"},this.defaults={hideDelay:3500,position:"growlTopRight",theme:"default"}}set parentViewContainer(e){this._parentViewContainer=e}alert(e,t=oh){return new Promise(n=>{if(!this._parentViewContainer)return void console.error("No parent view container specified for the ToastService. Set it inside your main application. \nthis.toastService.parentViewContainer = view (ViewContainerRef)");const r=this.componentUtils.append(t,this._parentViewContainer);this.references.push(r),this.handleAlert(r.instance,e),n(r)})}isVisible(e){return e.show}hide(e){e.animate=!1,setTimeout(()=>{e.show=!1;const t=this.references.filter(t=>t.instance===e)[0];t&&(this.references.splice(this.references.indexOf(t),1),t.destroy())},300)}handleAlert(e,t){this.setToastOnSession(e,t),setTimeout(()=>{this.show(e)},20),e.isCloseable||this.toastTimer(e)}setToastOnSession(e,t){const n="object"==typeof t?t:{};e.parent=this,e.title=n.title||"",e.message=n.message||"",e.hideDelay=n.hideDelay||this.defaults.hideDelay,e.link=n.link||"",e.isCloseable=n.isCloseable||!1;const r=n.customClass||"",o=n.theme||this.defaults.theme,i=n.position||this.defaults.position;e.iconClass="bhi-"+(n.icon||this.icons.default),e.launched=!0,e.alertTheme=`${o} ${i} ${r} toast-container launched`}show(e){e.show=!0,setTimeout((function(){e.animate=!0}),25)}toastTimer(e){e.hideDelay<0||setTimeout(()=>{this.hide(e)},e.hideDelay)}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275inject"](Qu))},e.\u0275prov=r["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})(),ah=(()=>{class e{}return e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},providers:[Ed],imports:[[rh,zi,i.c,Ui.FormsModule,Iu,Od,Kd,Lu,$d,Jd,_d,Pd,Au]]}),e})();const sh={provide:Ui.NG_VALUE_ACCESSOR,useExisting:Object(r.forwardRef)(()=>ch),multi:!0};let ch=(()=>{class e{constructor(e,t,n){this.element=e,this.labels=t,this._changeDetectorRef=n,this._onChange=()=>{},this._onTouched=()=>{},this.military=!1,this.disabled=!1,this.weekStart=0,this.blurEvent=ne
2303w r.EventEmitter,this.focusEvent=new r.EventEmitter,this.changeEvent=new r.EventEmitter}writeValue(e){this.datePart=Object(Bi.isDate)(e)?Object(Bi.parse)(e):e,this.timePart=Object(Bi.isDate)(e)?Object(Bi.parse)(e):e,Promise.resolve(null).then(()=>this._setTriggerValue(e))}updateDate(e){this.datePart=e,this.checkParts()}updateTime(e){this.timePart=e,this.checkParts()}handleBlur(e){this.blurEvent.emit(e),this.changeEvent.emit(e)}handleFocus(e){this.focusEvent.emit(e)}checkParts(){try{this.datePart instanceof Date&&this.timePart instanceof Date?this.dispatchOnChange(new Date(this.datePart.getFullYear(),this.datePart.getMonth(),this.datePart.getDate(),this.timePart.getHours(),this.timePart.getMinutes())):this.datePart instanceof Date?(this.timePart=new Date(this.datePart.getFullYear(),this.datePart.getMonth(),this.datePart.getDate(),12,0),this.dispatchOnChange(new Date(this.datePart.getFullYear(),this.datePart.getMonth(),this.datePart.getDate(),this.timePart.getHours(),this.timePart.getMinutes()))):this.dispatchOnChange(null)}catch(e){this.dispatchOnChange(null)}}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}dispatchOnChange(e){e!==this.value&&(this._onChange(e),this._setTriggerValue(e))}_setTriggerValue(e){this.value=e,this._changeDetectorRef.markForCheck()}setValue(e){e&&e.date&&this.dispatchOnChange(e.date)}setValueAndClose(e){this.setValue(e)}clearValue(){this.dispatchOnChange(null)}get hasValue(){return!Pu.isEmpty(this.value)}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](r.ElementRef),r["\u0275\u0275directiveInject"](ju),r["\u0275\u0275directiveInject"](r.ChangeDetectorRef))},e.\u0275cmp=r["\u0275\u0275defineComponent"]({type:e,selectors:[["novo-date-time-picker-input"]],inputs:{military:"military",disabled:"disabled",weekStart:"weekStart",name:"name",start:"start",end:"end",placeholder:"placeholder",maskOptions:"maskOptions",format:"format"},outputs:{blurEvent:"blurEvent",focusEvent:"focusEvent",changeEvent:"changeEvent"},features:[r["\u0275\u0275ProvidersFeature"]([sh])],decls:2,vars:9,consts:[[3,"ngModel","start","end","maskOptions","disabled","weekStart","ngModelChange","blurEvent","focusEvent"],[3,"ngModel","military","disabled","ngModelChange","blurEvent","focusEvent"]],template:function(e,t){1&e&&(r["\u0275\u0275elementStart"](0,"novo-date-picker-input",0),r["\u0275\u0275listener"]("ngModelChange",(function(e){return t.updateDate(e)}))("blurEvent",(function(e){return t.handleBlur(e)}))("focusEvent",(function(e){return t.handleFocus(e)})),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementStart"](1,"novo-time-picker-input",1),r["\u0275\u0275listener"]("ngModelChange",(function(e){return t.updateTime(e)}))("blurEvent",(function(e){return t.handleBlur(e)}))("focusEvent",(function(e){return t.handleFocus(e)})),r["\u0275\u0275elementEnd"]()),2&e&&(r["\u0275\u0275property"]("ngModel",t.datePart)("start",t.start)("end",t.end)("maskOptions",t.maskOptions)("disabled",t.disabled)("weekStart",t.weekStart),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngModel",t.timePart)("military",t.military)("disabled",t.disabled))},directives:function(){return[nh,Ui.NgControlStatus,Ui.NgModel,hh]},encapsulation:2}),e})();const lh={provide:Ui.NG_VALUE_ACCESSOR,useExisting:Object(r.forwardRef)(()=>uh),multi:!0};let uh=(()=>{class e{constructor(){this.military=!1,this.analog=!1,this.inline=!1,this.onSelect=new r.EventEmitter,this.hours=12,this.minutes=0,this.value=null,this.increments=[],this.MERIDIANS=["am","pm"],this.MINUTES=["05","10","15","20","25","30","35","40","45","50","55","00"],this.HOURS=["1","2","3","4","5","6","7","8","9","10","11","12"],this._onChange=()=>{},this._onTouched=()=>{}}flatten(e){return Array.prototype.concat(...e)}ngOnInit(){if(this.military)this.HOURS=["0",...this.HOURS,"13","14","15","16","17","18","19","20","21","22","23"],this.increments=this.flatten([...this.HOURS.map(e=>[e+":00",e+":15",e+":30",e+":45"])]);else{const e=["12","1","2","3","4","5","6","7","8","9","10","11"];this.increments=this.flatten([...e.map(e=>[e+":00 AM",e+":15 AM",e+":30 AM",e+":45 AM"]),...e.map(e=>[e+":00 PM",e+":15 PM",e+":30 PM",e+":45 PM"])])}this.ngOnChanges()}ngOnChanges(e){this.model?this.init(this.model,!1):(this.selected=null,this.init(new Date,!1))}init(e,t){const n=new Date(e);let r=n.getHours(),o=n.getMinutes();this.military||(this.meridian=r>=12?"pm":"am",r%=12,r=r||12),o=o<10?"0"+o:o,this.setHours(null,r,t),this.setMinutes(null,o,t),this.checkBetween(o)}checkBetween(e){this.inBetween=this.MINUTES.indexOf(String(e))<0}setValue(e,t){Pu.swallowEvent(e),this.selected=t;const[n,r]=t.split(" "),[o,i]=n.split(":");this.hours=o,this.minutes=i,this.meridian=r,this.dispatchChange()}setHours(e,t,n){Pu.swallowEvent(e),this.hours=t,this.hoursClass="hour-"+t,this.activeHour=t,n&&this.dispatchChange()}
2303setMinutes(e,t,n){Pu.swallowEvent(e),this.minutes=t,this.minutesClass="min-"+t,this.activeMinute=t,this.checkBetween(t),n&&this.dispatchChange()}setPeriod(e,t,n){Pu.swallowEvent(e),this.meridian=t,n&&this.dispatchChange()}dispatchChange(){let e=Number(this.hours);this.military||(e="pm"===this.meridian.toLowerCase()?e+12:e,"pm"===this.meridian.toLowerCase()&&24===e?e=12:"am"===this.meridian.toLowerCase()&&12===e&&(e=0));const t=new Date;t.setHours(e),t.setMinutes(this.minutes),t.setSeconds(0),this.value=`${this.hours}:${this.minutes} ${this.meridian}`,this.onSelect.next({hours:e,minutes:this.minutes,meridian:this.meridian,date:t,text:this.value}),this._onChange(t)}writeValue(e){this.model=e,Pu.isDate(e)&&this.init(e,!1)}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=r["\u0275\u0275defineComponent"]({type:e,selectors:[["novo-time-picker"]],hostVars:2,hostBindings:function(e,t){2&e&&r["\u0275\u0275classProp"]("military",t.military)},inputs:{military:"military",analog:"analog",inline:"inline"},outputs:{onSelect:"onSelect"},features:[r["\u0275\u0275ProvidersFeature"]([lh]),r["\u0275\u0275NgOnChangesFeature"]],decls:6,vars:8,consts:[[1,"digital"],[1,"digital--inner"],["class","digital--clock",4,"ngIf"],["class","control-block",4,"ngIf"],["class","increments",4,"ngIf"],["class","analog",4,"ngIf"],[1,"digital--clock"],["data-automation-id","novo-time-picker-hours",1,"hours"],["data-automation-id","novo-time-picker-minutes",1,"minutes"],[1,"control-block"],["class","digital--period",3,"active","click",4,"ngFor","ngForOf"],[1,"digital--period",3,"click"],[1,"increments"],["direction","vertical","data-automation-id","novo-time-picker-increments"],[3,"active","click",4,"ngFor","ngForOf"],[3,"click"],["class","bhi-check",4,"ngIf"],[1,"bhi-check"],[1,"analog"],[1,"analog--inner"],[1,"analog--face"],[1,"analog--center"],[1,"analog--hand--hours",3,"ngClass"],[1,"analog--ball"],[1,"analog--hand--minutes",3,"ngClass"],[1,"analog--ball",3,"ngClass"],[1,"analog--hours"],["class","analog--hour",3,"ngClass","click",4,"ngFor","ngForOf"],[1,"analog--minutes"],["class","analog--minute",3,"ngClass","click",4,"ngFor","ngForOf"],[1,"analog--hour",3,"ngClass","click"],[1,"analog--minute",3,"ngClass","click"]],template:function(e,t){1&e&&(r["\u0275\u0275elementStart"](0,"div",0),r["\u0275\u0275elementStart"](1,"div",1),r["\u0275\u0275template"](2,Rc,6,2,"span",2),r["\u0275\u0275template"](3,Nc,2,1,"div",3),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"](),r["\u0275\u0275template"](4,Lc,3,1,"div",4),r["\u0275\u0275template"](5,Hc,12,7,"div",5)),2&e&&(r["\u0275\u0275classProp"]("inline",t.inline)("military",t.military),r["\u0275\u0275advance"](2),r["\u0275\u0275property"]("ngIf",!t.inline),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",!t.military),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",!t.analog),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",t.analog))},directives:[i.m,i.l,Gu,qu,Wu,i.k],encapsulation:2}),e})();const dh={provide:Ui.NG_VALUE_ACCESSOR,useExisting:Object(r.forwardRef)(()=>hh),multi:!0};let hh=(()=>{class e{constructor(e,t,n,o){this.element=e,this.labels=t,this.dateFormatService=n,this._changeDetectorRef=o,this.formattedValue="",this._onChange=()=>{},this._onTouched=()=>{},this.military=!1,this.disabled=!1,this.blurEvent=new r.EventEmitter,this.focusEvent=new r.EventEmitter}ngOnInit(){this.placeholder=this.military?this.labels.timeFormatPlaceholder24Hour:this.labels.timeFormatPlaceholderAM,this.maskOptions={mask:this.military?[/\d/,/\d/,":",/\d/,/\d/]:[/\d/,/\d/,":",/\d/,/\d/," ",/[aApP\u4e0a\u4e0b]/,/[mM\u5348]/],pipe:this.military?ra()("HH:MM"):ra()("mm:MM"),keepCharPositions:!1,guide:!0}}openPanel(){if(!this.overlay.panelOpen){this.overlay.openPanel();const e=(new Date).getHours();Promise.resolve(null).then(()=>this.scrollToIndex(4*e))}}closePanel(){this.overlay.closePanel()}get panelOpen(){return this.overlay&&this.overlay.panelOpen}_handleKeydown(e){27!==e.keyCode&&13!==e.keyCode&&9!==e.keyCode||!this.panelOpen||(this.closePanel(),e.stopPropagation(),e.stopImmediatePropagation())}_handleInput(e){if(document.activeElement===e.target){const t=e.target.value;if(this.military?5===t.replace(/_/g,"").length:8===t.replace(/_/g,"").length){const[e,n]=this.dateFormatService.parseString(t,this.military,"time");this.dispatchOnChange(e)}else this.dispatchOnChange(null);
2303this.openPanel();const n=Number(t.split(":")[0]);this.scrollToIndex(4*n)}}_handleBlur(e){this.blurEvent.emit(e)}_handleFocus(e){this.openPanel(),this.focusEvent.emit(e)}writeValue(e){Promise.resolve(null).then(()=>this._setTriggerValue(e))}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}dispatchOnChange(e,t=!1){e!==this.value&&(this._onChange(e),!t&&this.writeValue(e))}_setTriggerValue(e){this._setCalendarValue(e),this._setFormValue(e),this._changeDetectorRef.markForCheck()}_setCalendarValue(e){e instanceof Date&&this.value instanceof Date&&(e=new Date(e.setFullYear(this.value.getFullYear(),this.value.getMonth(),this.value.getDate()))),this.value=e}_setFormValue(e){if(this.value){const e=this.formatDateValue(this.value);this.formattedValue=e}else this.formattedValue=""}setValue(e){e&&e.date&&this.dispatchOnChange(e.date)}setValueAndClose(e){this.setValue(e),this.closePanel()}clearValue(){this.formattedValue="",this.dispatchOnChange(null)}formatDateValue(e){if(!e)return"";const t=this.labels.formatTimeWithFormat(e,{hour:"numeric",minute:"2-digit",hour12:!this.military});return 1===t.split(":")[0].length?"0"+t:t}get hasValue(){return!Pu.isEmpty(this.value)}scrollToIndex(e){const t=this.overlay.overlayRef.overlayElement.querySelector(".increments"),n=t.querySelectorAll("novo-list-item")[e];n&&(t.scrollTop=n.offsetTop)}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](r.ElementRef),r["\u0275\u0275directiveInject"](ju),r["\u0275\u0275directiveInject"](eh),r["\u0275\u0275directiveInject"](r.ChangeDetectorRef))},e.\u0275cmp=r["\u0275\u0275defineComponent"]({type:e,selectors:[["novo-time-picker-input"]],viewQuery:function(e,t){var n;1&e&&r["\u0275\u0275viewQuery"](nd,!0),2&e&&r["\u0275\u0275queryRefresh"](n=r["\u0275\u0275loadQuery"]())&&(t.overlay=n.first)},hostVars:2,hostBindings:function(e,t){2&e&&r["\u0275\u0275classProp"]("disabled",t.disabled)},inputs:{military:"military",disabled:"disabled",placeholder:"placeholder",maskOptions:"maskOptions",name:"name"},outputs:{blurEvent:"blurEvent",focusEvent:"focusEvent"},features:[r["\u0275\u0275ProvidersFeature"]([dh])],decls:6,vars:10,consts:[["type","text","data-automation-id","time-input",3,"name","ngModel","textMask","placeholder","disabled","ngModelChange","focus","keydown","input","blur"],["input",""],["class","bhi-clock",3,"click",4,"ngIf"],["class","bhi-times",3,"click",4,"ngIf"],["position","above-below",3,"parent"],["inline","true",3,"ngModel","military","onSelect"],[1,"bhi-clock",3,"click"],[1,"bhi-times",3,"click"]],template:function(e,t){1&e&&(r["\u0275\u0275elementStart"](0,"input",0,1),r["\u0275\u0275listener"]("ngModelChange",(function(e){return t.formattedValue=e}))("focus",(function(e){return t._handleFocus(e)}))("keydown",(function(e){return t._handleKeydown(e)}))("input",(function(e){return t._handleInput(e)}))("blur",(function(e){return t._handleBlur(e)})),r["\u0275\u0275elementEnd"](),r["\u0275\u0275template"](2,Gc,1,0,"i",2),r["\u0275\u0275template"](3,qc,1,0,"i",3),r["\u0275\u0275elementStart"](4,"novo-overlay-template",4),r["\u0275\u0275elementStart"](5,"novo-time-picker",5),r["\u0275\u0275listener"]("onSelect",(function(e){return t.setValue(e)})),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"]()),2&e&&(r["\u0275\u0275property"]("name",t.name)("ngModel",t.formattedValue)("textMask",t.maskOptions)("placeholder",t.placeholder)("disabled",t.disabled),r["\u0275\u0275advance"](2),r["\u0275\u0275property"]("ngIf",!t.hasValue),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",t.hasValue),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("parent",t.element),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngModel",t.value)("military",t.military))},directives:[Ui.DefaultValueAccessor,Ui.NgControlStatus,Ui.NgModel,ta.MaskedInputDirective,i.m,nd,uh],encapsulation:2}),e})(),mh=(()=>{class e{}return e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},imports:[[i.c,Ui.FormsModule,ta.TextMaskModule,rd,Zu]]}),e}
2303)(),ph=(()=>{class e{}return e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},imports:[[i.c,Ui.FormsModule,rh,mh,ta.TextMaskModule,rd]]}),e})(),fh=(()=>{class e{}return e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},imports:[[i.c,oa,ai]]}),e})();class gh extends class{constructor(){this.isEmbedded=!1,this.isInlineEmbedded=!1,this.highlighted=!1}}{constructor(e="BaseControl",t={}){super(),this.__type="BaseControl",this.__type=e,this.__config=t,this.validators=t.validators||[],this.asyncValidators=t.asyncValidators||[],this.value=t.value,this.key=t.key||"",this.label=t.label||"",this.checkboxLabel=t.checkboxLabel,this.name=t.name||"",this.required=!!t.required,this.hidden=!!t.hidden,this.encrypted=!!t.encrypted,this.sortOrder=void 0===t.sortOrder?1:t.sortOrder,this.controlType=t.controlType||"",this.type=t.type,this.subType=t.subType,this.metaType=t.metaType,this.placeholder=t.placeholder||"",this.config=t.config||null,this.dirty=!(null==t.value),this.multiple=!!t.multiple,this.headerConfig=t.headerConfig||null,this.currencyFormat=t.currencyFormat||null,this.associatedEntity=t.associatedEntity||null,this.optionsType=t.optionsType||null,this.options=t.options||[],this.forceClear=new r.EventEmitter,this.readOnly=!!t.readOnly||!!t.disabled,this.disabled=!!t.disabled,this.layoutOptions=t.layoutOptions||{},this.military=!!t.military,this.dateFormat=t.dateFormat,this.textMaskEnabled=t.textMaskEnabled,this.maskOptions=t.maskOptions,this.allowInvalidDate=t.allowInvalidDate,this.startDate=t.startDate,this.endDate=t.endD
2303ate,this.restrictFieldInteractions=!!t.restrictFieldInteractions,this.highlighted=!!t.highlighted,Pu.isEmpty(t.warning)||(this.warning=t.warning),this.required&&this.validators.push(Ui.Validators.required),Pu.isBlank(t.maxlength)||(this.maxlength=t.maxlength,this.validators.push(Ui.Validators.maxLength(this.maxlength))),Pu.isBlank(t.minlength)||(this.minlength=t.minlength,this.validators.push(Ui.Validators.minLength(this.minlength))),this.closeOnSelect=!!t.closeOnSelect,this.interactions=t.interactions,this.dataSpecialization=t.dataSpecialization,this.dataType=t.dataType,this.appendToBody=!!t.appendToBody,this.appendToBody&&cd("'appendToBody' has been deprecated. Please remove this attribute."),this.parentScrollSelector=t.parentScrollSelector,this.description=t.description,t.tooltip&&(this.tooltip=t.tooltip,this.tooltipPosition=t.tooltipPosition,this.tooltipSize=t.tooltipSize,this.tooltipPreline=t.tooltipPreline,this.removeTooltipArrow=t.removeTooltipArrow,this.tooltipAutoPosition=t.tooltipAutoPosition),this.template=t.template,this.customControlConfig=t.customControlConfig,this.tipWell=t.tipWell,this.width=t.width,this.startupFocus=!!t.startupFocus,t.fileBrowserImageUploadUrl&&(this.fileBrowserImageUploadUrl=t.fileBrowserImageUploadUrl),t.isEmpty&&(this.isEmpty=t.isEmpty),this.weekStart=t.weekStart||0}}class yh{showStateRequiredFlag(e,t){return"state"===e&&!Pu.isEmpty(t.config.state)&&t.config.state.required&&Pu.isBlank(t.value.state)&&t.config.state.updated&&!Pu.isBlank(t.value.countryName)&&t.config.state.pickerConfig&&t.config.state.pickerConfig.defaultOptions&&t.config.state.pickerConfig.defaultOptions.length>0}static maxInteger(e){return e.value<2147483647?null:{integerTooLarge:!0}}static minYear(e){return e.value?e.value>=1753?null:{minYear:!0}:null}static maxDouble(e){return e.value<Number.MAX_SAFE_INTEGER?null:{doubleTooLarge:!0}}static isEmail(e){return!e.value||/^[a-z0-9!#$%&'*+\/=?^_`{|}~.-]+@[a-z0-9]([a-z0-9-]*[a-z0-9])?(\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)*$/i.test(e.value)?null:{invalidEmail:!0}}static isValidAddress(e){const t=[],n=[];let r=null,o=!1;if(e.value&&e.config){let i=!0,a=!0;return["address1","address2","city","state","zip","countryID"].forEach(r=>{Pu.isEmpty(e.config[r])||((-1===["countryID","state"].indexOf(r)&&e.config[r].required&&!Pu.isBlank(e.value[r])&&Pu.isEmpty(e.value[r])||((e,t)=>"countryID"===e&&!Pu.isEmpty(t.config.countryID)&&t.config.countryID.required&&Pu.isBlank(t.value.countryName)&&t.config.countryID.updated)(r,e)||((e,t)=>"state"===e&&!Pu.isEmpty(t.config.state)&&t.config.state.required&&Pu.isBlank(t.value.state)&&t.config.state.updated&&!Pu.isBlank(t.value.countryName)&&t.config.state.pickerConfig&&t.config.state.pickerConfig.defaultOptions&&t.config.state.pickerConfig.defaultOptions.length>0)(r,e))&&(i=!1,t.push(e.config[r].label)),!("countryID"!==r&&e.config[r].required&&Pu.isEmpty(e.value[r])||"countryID"===r&&!Pu.isEmpty(e.config.countryID)&&e.config.countryID.required&&Pu.isEmpty(e.value.countryName))||"state"===r&&!Pu.isBlank(e.value.countryName)&&e.config.state.pickerConfig&&e.config.state.pickerConfig.defaultOptions&&0===e.config.state.pickerConfig.defaultOptions.length||(a=!1),!Pu.isEmpty(e.config[r].maxlength)&&!Pu.isEmpty(e.value[r])&&e.value[r].length>e.config[r].maxlength&&(o=!0,n.push(r),a=!1))}),i&&a&&!o||(r={}),i||(r.invalidAddress=!0,r.invalidAddressFields=t),a||(r.invali
2303dAddressForForm=!0),o&&(r.maxlength=!0,r.maxlengthFields=n),r}return null}}class vh extends gh{constructor(e){super("AddressControl",e),this.controlType="address",this.validators.push(yh.isValidAddress)}}class bh extends gh{constructor(e){super("CheckListControl",e),this.controlType="checklist",this.options=e.options||[]}}class Ch extends gh{constructor(e){super("CheckboxControl",e),this.controlType="checkbox"}}class wh extends gh{constructor(e){super("DateControl",e),this.controlType="date"}}class Sh extends gh{constructor(e){super("DateTimeControl",e),this.controlType="date-time"}}class _h extends gh{constructor(e){super("EditorControl",e),this.controlType="editor",this.minimal=!1}}class Eh extends gh{constructor(e){super("FileControl",e),this.controlType="file",this.placeholder=e.placeholder,this.multiple=e.multiple}}class kh extends gh{constructor(e){super("PickerControl",e),this.controlType="picker",this.options=[],this.options=e.options||[]}}class xh extends gh{constructor(e){super("RadioControl",e),this.controlType="radio",this.options=[],this.options=e.options||[]}}class Ih extends gh{constructor(e){super("SelectControl",e),this.controlType="select",this.options=[],this.options=e.options||[],this.placeholder=e.placeholder||""}}class Oh extends gh{constructor(e){super("TextAreaControl",e),this.controlType="text-area"}}class Th extends gh{constructor(e){super("TextBoxControl",e),this.controlType="textbox",this.type=this.getTextboxType(e.type)||"",this.subType=e.type||"",this.setValidators(this.subType)}setValidators(e){switch(e){case"email":this.validators.push(yh.isEmail);break;case"number":case"currency":this.validators.push(yh.maxInteger);break;case"float":case"percentage":this.validators.push(yh.maxDouble);break;case"year":this.validators.push(yh.minYear)}}getTextboxType(e){switch(e){case"percentage":case"currency":case"float":case"year":return"number";default:return e}}}class Ah extends gh{constructor(e){super("TilesControl",e),this.controlType="tiles",this.options=[],this.options=e.options||[]}}class Ph extends gh{constructor(e){super("TimeControl",e),this.controlType="time"}}class Dh extends gh{constructor(e){super(e.template,e),this.controlType="custom",this.controlType=e.template}}class Rh extends Ui.FormControl{constructor(e,t){super(e,t.validators,t.asyncValidators),this.displayValueChanges=new r.EventEmitter,this.valueHistory=[],this.validators=t.validators,this.initialValue=e,this.valueHistory.push(e),this.key=t.key,this.label=t.label,this.readOnly=t.readOnly,this.hidden=t.hidden,this.encrypted=t.encrypted,this.config=t.config,this.type=t.type,this.subType=t.subType,this.required=t.required,this.hasRequiredValidator=this.required,this.tooltip=t.tooltip,this.tooltipPosition=t.tooltipPosition,this.tooltipSize=t.tooltipSize,this.tooltipPreline=t.tooltipPreline,this.removeTooltipArrow=t.removeTooltipArrow,this.tooltipAutoPosition=t.tooltipAutoPosition,this.label=t.label,this.name=t.name,this.required=t.required,this.sortOrder=t.sortOrder,this.controlType=t.controlType,this.placeholder=t.placeholder,this.minimal=t.minimal,this.multiple=t.multiple,this.headerConfig=t.headerConfig,this.optionsType=t.optionsType,this.readOnly=t.readOnly,this.layoutOptions=t.layoutOptions,this.military=t.military,this.dateFormat=t.dateFormat,this.currencyFormat=t.currencyFormat,this.startDate=t.startDate,this.endDate=t.endD
2303ate,this.weekStart=t.weekStart,this.textMaskEnabled=t.textMaskEnabled,this.textMaskEnabled=t.textMaskEnabled,this.maskOptions=t.maskOptions,this.allowInvalidDate=t.allowInvalidDate,this.maxlength=t.maxlength,this.minlength=t.minlength,this.closeOnSelect=t.closeOnSelect,this.interactions=t.interactions,this.checkboxLabel=t.checkboxLabel,this.restrictFieldInteractions=t.restrictFieldInteractions,this.appendToBody=t.appendToBody,this.appendToBody&&cd("'appendToBody' has been deprecated. Please remove this attribute."),this.parentScrollSelector=t.parentScrollSelector,this.description=t.description,this.options=t.options,this.tipWell=t.tipWell,this.customControlConfig=t.customControlConfig,this.warning=t.warning,this.readOnly?this.disable():this.enable()}hide(e=!0){this.hidden=!0,e&&this.setValue(null)}show(){this.hidden=!1}setRequired(e){if(this.required=e,this.required&&!this.hasRequiredValidator){const e=[...this.validators];e.push(Ui.Validators.required),this.setValidators(e),this.updateValueAndValidity({emitEvent:!1}),this.hasRequiredValidator=this.required}else if(!this.required&&this.hasRequiredValidator){let e=[...this.validators];e=e.filter(e=>e!==Ui.Validators.required),this.setValidators(e),this.updateValueAndValidity({emitEvent:!1}),this.hasRequiredValidator=this.required}}setValue(e,{onlySelf:t,emitEvent:n,emitModelToViewChange:r,emitViewToModelChange:o}={}){this.markAsDirty(),this.markAsTouched(),this.displayValueChanges.emit(e),super.setValue(e,{onlySelf:t,emitEvent:n,emitModelToViewChange:r,emitViewToModelChange:o}),clearTimeout(this.historyTimeout),this.historyTimeout=setTimeout(()=>{this.valueHistory.push(e)},300)}setReadOnly(e){this.readOnly=e,this.readOnly?this.disable():this.enable()}disable(e={emitEvent:!1}){void 0===e.emitEvent&&(e.emitEvent=!1),super.disable(e)}enable(e={emitEvent:!1}){void 0===e.emitEvent&&(e.emitEvent=!1),super.enable(e)}markAsInvalid(e){this.markAsDirty(),this.markAsTouched(),this.setErrors(Object.assign({},this.errors,{custom:e}))}markAsValid(){this.setErrors(null)}}class Mh extends Ui.FormGroup{constructor(){super(...arguments),this.fieldInteractionEvents=new r.EventEmitter}get value(){return this.getRawValue()}set value(e){this._value=e}enableAllControls(){for(const e in this.controls)this.controls[e].readOnly&&(this.controls[e].readOnly=!1,this.controls[e].enable())}disableAllControls(){for(const e in this.controls)this.controls[e].readOnly||(this.controls[e].readOnly=!0,this.controls[e].disable())}}let Nh=(()=>{class e{constructor(){}getOptionsConfig(e,t,n){return{field:"value",format:"$label",options:n=>new Promise((r,o)=>{n&&n.length?e.get(`${t.optionsUrl}?filter=${n||""}`).subscribe(r,o):r([])})}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=r["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})(),jh=(()=>{class e{constructor(e,t){this.labels=e,this.optionsService=t,this.ASSOCIATED_ENTITY_LIST=["Candidate","ClientContact","ClientCorporation","CorporationDepartment","Lead","Opportunity","JobOrder","CorporateUser","Person","Placement"],this.ENTITY_PICKER_LIST=["Candidate","CandidateText","Client","ClientText","ClientContact","ClientContactText","ClientCorporation","ClientCorporationText","Lead","LeadText","Opportunity","OpportunityText","JobOrder","JobOrderText","CorporateUser","CorporateUserText","Person","PersonText","Placement"]}toFormGroup(e){const t={};return e.forEach(e=>{const n=Pu.isBlank(e.value)?"":e.value;t[e.key]=new Rh(n,e)}),new Mh(t)}emptyFormGroup(){return new Mh({})}addControls(e,t){t.forEach(t=>{const n=Pu.isBlank(t.value)?"":t.value,r=new Rh(n,t);e.addControl(t.key,r)})}removeControls(e,t){t.forEach(t=>{e.removeControl(t.key)})}toFormGroupFromFieldset(e){const t=[];return e.forEach(e=>{t.push(...e.controls)}),this.toFormGroup(t)}hasAssociatedEntity(e){return!(!e.associatedEntity||!~this.ASSOCIATED_ENTITY_LIST.indexOf(e.associatedEntity.entity))}determineInputType(e){let t;const n={DATETIME:"datetime",TIME:"time",MONEY:"currency",PERCENTAGE:"percentage",HTML:"editor","HTML-MINIMAL":"editor-minimal",YEAR:"year",WORKFLOW_OPTIONS:"select",SPECIALIZED_OPTIONS:"select",ALL_WORKFLOW_OPTIONS:"select",WorkflowOptionsLookup:"select",SpecializedOptionsLookup:"select",SimplifiedOptionsLookup:"select",AllWorkflowOptionsLookup:"select"},r={Timestamp:"date",Date:"date",Boolean:"tiles"},o={CHECKBOX:"radio",RADIO:"radio",SELECT:"select",TILES:"tiles"},i={CHECKBOX:"checklist",RADIO:"checklist",SELECT:"chips"},a={file:"file",COMPOSITE:"address"}
2303,s={Double:"float",BigDecimal:"float",Integer:"number"};return"TO_MANY"===e.type?t=this.hasAssociatedEntity(e)?!1===e.multiValue?"entitypicker":"entitychips":!1===e.multiValue?"picker":"chips":"TO_ONE"===e.type?t="SYSTEM"===e.dataSpecialization&&["WorkflowOptionsLookup","SpecializedOptionsLookup","AllWorkflowOptionsLookup"].includes(e.dataType)?n[e.dataType]:["WORKFLOW_OPTIONS","SPECIALIZED_OPTIONS","ALL_WORKFLOW_OPTIONS"].includes(e.dataSpecialization)?n[e.dataSpecialization]:["SimplifiedOptionsLookup","SpecializedOptionsLookup"].includes(e.dataType)?e.options&&Object.keys(o).indexOf(e.inputType)>-1&&!e.multiValue?o[e.inputType]:e.options&&Object.keys(i).indexOf(e.inputType)>-1&&e.multiValue?i[e.inputType]:n[e.dataType]:this.hasAssociatedEntity(e)?"entitypicker":"picker":e.optionsUrl&&"SELECT"===e.inputType?t=e.optionsType&&~this.ENTITY_PICKER_LIST.indexOf(e.optionsType)?"entitypicker":"picker":Object.keys(n).indexOf(e.dataSpecialization)>-1?t=n[e.dataSpecialization]:Object.keys(r).indexOf(e.dataType)>-1?t=r[e.dataType]:"TEXTAREA"===e.inputType?t="textarea":e.options&&Object.keys(o).indexOf(e.inputType)>-1&&!e.multiValue?t=o[e.inputType]:e.options&&Object.keys(i).indexOf(e.inputType)>-1&&e.multiValue?t=i[e.inputType]:Object.keys(a).indexOf(e.type)>-1?t=a[e.type]:Object.keys(s).indexOf(e.dataType)>-1&&(t=s[e.dataType]),t}isFieldEncrypted(e){return e.indexOf("customEncrypted")>-1}getControlForField(e,t,n,r,o=!1,i){let a,s=this.determineInputType(e)||e.type;const c={metaType:e.type,type:s,key:e.name,label:e.label,placeholder:e.hint||"",required:e.required||e.systemRequired,hidden:!e.required,encrypted:this.isFieldEncrypted(e.name?e.name.toString():""),value:e.value||e.defaultValue,sortOrder:e.sortOrder,associatedEntity:e.associatedEntity,optionsType:e.optionsType,multiple:e.multiValue,readOnly:!!e.disabled||!!e.readOnly,disabled:e.disabled,maxlength:e.maxLength,interactions:e.interactions,dataSpecialization:e.dataSpecialization,dataType:e.dataType,description:e.description||"",tooltip:e.tooltip,tooltipPosition:e.tooltipPosition,customControl:e.customControl,template:e.template,customControlConfig:e.customControlConfig,restrictFieldInteractions:e.restrictFieldInteractions,validators:e.validators,warning:e.warning,config:e.config||{},closeOnSelect:e.closeOnSelect,layoutOptions:e.layoutOptions};this.inferStartDate(c,e);const l=this.getControlOptions(e,t,n,i);let u;switch(Array.isArray(l)&&"chips"!==s&&"picker"!==s?c.options=l:!Array.isArray(l)||"chips"!==s&&"picker"!==s?l&&(c.config=Object.assign(Object.assign({},l),c&&c.config)):c.config={options:l},"year"===s&&(c.maxlength=4),r&&r[e.name]&&(r[e.name].resultsTemplate&&(u=r[e.name].resultsTemplate,c.config.resultsTemplate=u,delete r[e.name].resultsTemplate),r[e.name].overridePreviewTemplate&&(u=r[e.name].overridePreviewTemplate,c.config.overridePreviewTemplate=u,delete r[e.name].overridePreviewTemplate),r[e.name].pickerCallback&&(c.config.callback=r[e.name].pickerCallback),r[e.name].type&&(s=r[e.name].type),r[e.name].columns&&(c.config.columns=r[e.name].columns,c.closeOnSelect=!0,delete c.label),r[e.name].warning&&(c.warning=r[e.name].warning),Object.assign(c,r[e.name])),s){case"entitychips":c.multiple=!0,c.config.resultsTemplate=u||hd,c.config.previewTemplate=dd,a=new kh(c);break;case"chips":c.multiple=!0,a=new kh(c);break;case"entitypicker":c.config.resultsTemplate=u||hd,a=new kh(c);break;case"picker":a=new kh(c);break;case"datetime":c.military=!!n&&!!n.military,c.weekStart=n&&n.weekStart?n.weekStart:0,a=new Sh(c);break;case"date":c.dateFormat=e.dateFormat,c.textMaskEnabled=e.textMaskEnabled,c.allowInvalidDate=e.allowInvalidDate,c.military=!!n&&!!n.military,c.weekStart=n&&n.weekStart?n.weekStart:0,a=new wh(c);break;case"time":c.military=!!n&&!!n.military,a=new Ph(c);break;case"currency":case"money":case"email":case"percentage":case"float":case"number":case"year":"money"===s&&(s="currency"),c.type=s,a=new Th(c);break;case"text":a=new Th(c);break;case"textarea":a=new Oh(c);break;case"editor":a=new _h(c);break;case"editor-minimal":a=new _h(c),a.minimal=!0;break;case"tiles":a=new Ah(c);break;case"checkbox":c.checkboxLabel=e.checkboxLabel,a=new Ch(c);break;case"checklist":a=new bh(c);break;case"radio":a=new xh(c);break;case"select":a=new Ih(c);break;case"address":if(c.required=e.required||!1,Pu.isBlank(c.config)&&(c.config={}
2303),c.config.required=e.required,c.config.readOnly=c.readOnly,e.fields&&e.fields.length)for(const r of e.fields)c.config[r.name]={required:!!r.required,hidden:!!r.readOnly},Pu.isEmpty(r.label)||(c.config[r.name].label=r.label),Pu.isEmpty(r.maxLength)||(c.config[r.name].maxlength=r.maxLength),c.required=c.required||r.required,r.defaultValue?(Pu.isBlank(c.value)&&(c.value={}),c.value[r.name]=r.defaultValue):"countryID"===r.name&&(Pu.isBlank(c.value)&&(c.value={}),c.value[r.name]=1),"state"!==r.name&&"countryID"!==r.name||("countryID"===r.name&&(r.optionsType="Country"),r.optionsUrl||(r.optionsUrl="options/"+r.optionsType),c.config[r.name].pickerConfig=this.getControlOptions(r,t,n,i));c.isEmpty=this.isAddressEmpty,a=new vh(c);break;case"file":a=new Eh(c);break;case"custom":a=new Dh(c);break;default:a=new Th(c)}return a}shouldCreateControl(e){return e.systemRequired&&(e.readOnly=!1),"id"!==e.name&&(!["SYSTEM","SECTION_HEADER"].includes(e.dataSpecialization)||["address","billingAddress","secondaryAddress"].includes(e.name))&&
2303!e.readOnly}toControls(e,t,n,r,o,i=!1){const a=[];return e&&e.fields&&e.fields.forEach(e=>{if(this.shouldCreateControl(e)){const s=this.getControlForField(e,n,r,o,i);"currency"===s.subType&&(s.currencyFormat=t),a.push(s)}}),a}toTableControls(e,t,n,r,o){const i=this.toControls(e,t,n,r,o,!0),a={};return i.forEach(e=>{a[e.key]={editorType:e.__type,editorConfig:e.__config}}),a}toFieldSets(e,t,n,r,o,i){const a=[];let s=[];return e&&e.fields&&(s=this.getFormFields(e),s.forEach(e=>{if(this.isHeader(e))e.enabled&&this.insertHeaderToFieldsets(a,e);else if(this.isEmbeddedField(e))this.insertHeaderToFieldsets(a,e),this.getEmbeddedFields(e).forEach(s=>{if(this.shouldCreateControl(s)){let c=this.createControl(s,i,n,r,o,t);c=this.markControlAsEmbedded(c,e.dataSpecialization?e.dataSpecialization.toLowerCase():null),a[a.length-1].controls.push(c)}else this.isHeader(s)&&this.insertHeaderToFieldsets(a,s)});else if(this.shouldCreateControl(e)){let s=this.createControl(e,i,n,r,o,t);e.inlineEmbeddedAssociatedEntityField&&(s=this.markControlAsEmbedded(s,"inline_embedded")),0===a.length&&a.push({controls:[]}),a[a.length-1].controls.push(s)}})),a.length>0?a:[{controls:this.toControls(e,t,n,r)}]}isEmbeddedField(e){return e.dataSpecialization&&["embedded"].includes(e.dataSpecialization.toLowerCase())&&!e.readOnly}createControl(e,t,n,r,o,i){const a=this.isEmbeddedFieldData(e,t)?this.getEmbeddedFieldData(e,t):this.getFieldData(e,t),s=this.getControlForField(e,n,r,o,void 0,a);return"currency"===s.subType&&(s.currencyFormat=i),s}isEmbeddedFieldData(e,t){return t&&e.name.includes(".")}getFieldData(e,t){return t&&t[e.name]||null}getEmbeddedFieldData(e,t){const[n,r]=e.name.split(".");return t&&t[n]&&t[n][r]||null}getFormFields(e){const t=e.sectionHeaders?e.sectionHeaders.map(e=>(e.isSectionHeader=!0,e)):[];let n=e.fields.map(e=>(e.hasOwnProperty("sortOrder")||(e.sortOrder=Number.MAX_SAFE_INTEGER-1),e));const r=this.getInlineEmbeddedFields(n);return n=n.filter(e=>!e.dataSpecialization||"inline_embedded"!==e.dataSpecialization.toLowerCase()),[...t,...n,...r].sort(Pu.sortByField(["sortOrder","name"]))}getInlineEmbeddedFields(e){let t=[];return e.filter(e=>e.dataSpecialization&&"inline_embedded"===e.dataSpecialization.toLowerCase()).forEach(e=>{t=[...t,...this.getAssociatedFieldsForInlineEmbedded(e)]}),t}getAssociatedFieldsForInlineEmbedded(e){let t=[];return t=this.getEmbeddedFields(e).map(e=>(e.inlineEmbeddedAssociatedEntityField=!0,e)),t}getEmbeddedFields(e){return e.associatedEntity.fields.filter(e=>"id"!==e.name).map(t=>(t.name.startsWith(e.name+".")||(t.name=`${e.name}.${t.name}`),t)).sort(Pu.sortByField(["sortOrder","name"]))}isHeader(e){return!Pu.isBlank(e)&&(e.hasOwnProperty("isSectionHeader")&&e.isSectionHeader||e.dataSpecialization&&"section_header"===e.dataSpecialization.toLowerCase())}insertHeaderToFieldsets(e,t){const n={controls:[],isEmbedded:t.dataSpecialization&&"embedded"===t.dataSpecialization.toLowerCase(),isInlineEmbedded:t.dataSpecialization&&"inline_embedded"===t.dataSpecialization.toLowerCase(),key:t.name};t.name&&t.name.startsWith("customObject")&&t.associatedEntity&&t.associatedEntity.label?e.push(Object.assign({title:t.associatedEntity.label||t.label,icon:t.icon||"bhi-card-expand"},n)):e.push(Object.assign({title:t.label,icon:t.icon||"bhi-section"},n))}markControlAsEmbedded(e,t){return Pu.isBlank(e.config)&&(e.config={}),e.config.embedded=!0,e.isEmbedded="embedded"===t,e.isInlineEmbedded="inline_embedded"===t,e}getControlOptions(e,t,n,r){return"Boolean"!==e.dataType||e.options?"ALL_WORKFLOW_OPTIONS"===e.dataSpecialization&&e.options?e.options:e.workflowOptions?this.getWorkflowOptions(e.workflowOptions,r):"SPECIALIZED_OPTIONS"===e.dataSpecialization||e.options&&["SpecializedOptionsLookup","SimplifiedOptionsLookup"].includes(e.dataType)?e.options:e.optionsUrl?this.optionsService.getOptionsConfig(t,e,n):Array.isArray(e.options)&&"chips"===e.type?{field:"value",format:"$label",options:e.options}:e.options?e.options:null:[{value:!1,label:this.labels.no},{value:!0,label:this.labels.yes}]}getWorkflowOptions(e,t){let n=null,r="initial";(null==t?void 0:t.id)&&(n=Object.assign(Object.assign({},t),{value:t.id,label:t.label||t.id}),r=t.id);const o=e[r]||[];return n&&!o.find(e=>e.value===n.value)&&o.unshift(n),o}setInitialValues(e,t,n,r){for(let o=0;o<e.length;o++){const i=e[o];let a=t[r?i.key.replace(r,""):i.key];Pu.isBlank(a)||Array.isArray(a)&&0===a.length||Array.isArray(a)&&a.length>0&&(a=a.filter(e=>!(0===Object.keys(e).length&&e.constructor===Object)),0===a.length)||a.data&&0===a.data.length||0===Object.keys(a).length&&a.constructor===Object||("Date"===i.dataType&&"string"==typeof a&&"skipConversion"!==i.optionsType&&(a=Object(Bi.startOfDay)(a)),i.value=a,i.dirty=!n)}}
2303setInitialValuesFieldsets(e,t,n){e.forEach(e=>{this.setInitialValues(e.controls,t,n)})}forceShowAllControls(e){e.forEach(e=>{e.hidden=!1})}forceShowAllControlsInFieldsets(e){e.forEach(e=>{e.controls.forEach(e=>{e.hidden=!1})})}forceValidation(e){Object.keys(e.controls).forEach(t=>{const n=e.controls[t];n.required&&Pu.isBlank(e.value[n.key])&&(n.markAsDirty(),n.markAsTouched())})}isAddressEmpty(e){let t=!0;return e.value&&e.config&&["address1","address2","city","state","zip","countryID"].forEach(n=>{!("countryID"!==n&&!Pu.isEmpty(e.config[n])&&e.config[n].required&&(Pu.isBlank(e.value[n])||Pu.isEmpty(e.value[n]))||"countryID"===n&&!Pu.isEmpty(e.config.countryID)&&e.config.countryID.required&&Pu.isEmpty(e.value.countryName))||"state"===n&&!Pu.isBlank(e.value.countryName)&&e.config.state.pickerConfig&&e.config.state.pickerConfig.defaultOptions&&0===e.config.state.pickerConfig.defaultOptions.length||(t=!1)}),t}getStartDateFromRange(e){return e.minDate?Object(Bi.parse)(e.minDate):e.minOffset?Object(Bi.addDays)(Object(Bi.startOfToday)(),e.minOffset):void 0}
2303getStartDate(e){return e.allowedDateRange?this.getStartDateFromRange(e.allowedDateRange):null}inferStartDate(e,t){if("Date"===t.dataType){const n=this.getStartDate(t);return n&&(e.startDate=n),n}}inflateEmbeddedProperties(e){return e&&Object.keys(e).filter(e=>e.includes(".")).forEach(t=>{const[n,r]=t.split(".");e[n]||(e[n]={}),e[n][r]=e[t],delete e[t]}),e}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275inject"](ju),r["\u0275\u0275inject"](Nh))},e.\u0275prov=r["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})();class Fh{}let Lh=(()=>{class e{constructor(){this.component=null,this.contentRef=null,this.containerRef=null,this.isClosed=!1,this._onClosed=function(){const e={},t=new Promise((t,n)=>{e.resolve=t,e.reject=n});return t.resolve=e.resolve,t.reject=e.reject,t}()}get onClosed(){return this._onClosed}open(){document.body.classList.add("modal-open")}close(e){document.body.classList.remove("modal-open"),this.contentRef&&this.contentRef.destroy(),this.containerRef&&this.containerRef.destroy(),this._onClosed.resolve(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=r["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})(),Vh=(()=>{class e{constructor(e,t){this.modalRef=e,this.componentUtils=t}ngAfterViewInit(){setTimeout(()=>{this.modalRef.contentRef=this.componentUtils.append(this.modalRef.component,this.container)})}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](Lh),r["\u0275\u0275directiveInject"](Qu))},e.\u0275cmp=r["\u0275\u0275defineComponent"]({type:e,selectors:[["novo-modal-container"]],viewQuery:function(e,t){var n;1&e&&r["\u0275\u0275viewQuery"](Zs,!0,r.ViewContainerRef),2&e&&r["\u0275\u0275queryRefresh"](n=r["\u0275\u0275loadQuery"]())&&(t.container=n.first)},decls:2,vars:0,consts:[["container",""]],template:function(e,t){1&e&&r["\u0275\u0275element"](0,"span",null,0)},encapsulation:2}),e})(),Bh=(()=>{class e{constructor(e){this.modalRef=e}close(){this.modalRef.close()}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](Lh))},e.\u0275cmp=r["\u0275\u0275defineComponent"]({type:e,selectors:[["novo-modal"]],ngContentSelectors:zc,decls:4,vars:0,template:function(e,t){1&e&&(r["\u0275\u0275projectionDef"](Kc),r["\u0275\u0275projection"](0),r["\u0275\u0275projection"](1,1),r["\u0275\u0275elementStart"](2,"footer"),r["\u0275\u0275projection"](3,2),r["\u0275\u0275elementEnd"]())},encapsulation:2}),e})(),Uh=(()=>{class e{constructor(e){this.modalRef=e,this.cancel=new r.EventEmitter,this.modalRef=e}close(){this.cancel.emit(),this.modalRef.close()}ngOnInit(){switch(this.type){case"success":this.iconType="bhi-check";break;case"warning":case"error":this.iconType="bhi-caution-o";break;case"custom":this.iconType="bhi-"+this.icon}}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](Lh))},e.\u0275cmp=r["\u0275\u0275defineComponent"]({type:e,selectors:[["novo-notification"]],inputs:{type:"type",icon:"icon"},outputs:{cancel:"cancel"},ngContentSelectors:Wc,decls:10,vars:1,consts:[["theme","icon","icon","times",1,"modal-close",3,"click"],[1,"notification-body"],["class","indicator",3,"ngClass",4,"ngIf"],[1,"indicator",3,"ngClass"]],template:function(e,t){1&e&&(r["\u0275\u0275projectionDef"]($c),r["\u0275\u0275elementStart"](0,"button",0),r["\u0275\u0275listener"]("click",(function(){return t.close()})),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementStart"](1,"header"),r["\u0275\u0275projection"](2),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementStart"](3,"section",1),r["\u0275\u0275template"](4,Yc,1,1,"i",2),r["\u0275\u0275projection"](5,1),r["\u0275\u0275projection"](6,2),r["\u0275\u0275projection"](7,3),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementStart"](8,"footer"),r["\u0275\u0275projection"](9,4),r["\u0275\u0275elementEnd"]()),2&e&&(r["\u0275\u0275advance"](4),r["\u0275\u0275property"]("ngIf",t.iconType))},directives:[xu,i.m,i.k],encapsulation:2}),e})(),Hh=(()=>{class e{constructor(e){this.componentUtils=e}set parentViewContainer(e){this._parentViewContainer=e}open(e,t={}){if(!this._parentViewContainer)throw new Error("No parent view container specified for the ModalService. Set it inside your main application. \nthis.modalService.parentViewContainer = view (ViewContainerRef)");const n=new Lh;
2303return n.component=e,n.open(),n.containerRef=this.componentUtils.append(Vh,this._parentViewContainer,[{provide:Lh,useValue:n},{provide:Fh,useValue:t}]),n}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275inject"](Qu))},e.\u0275prov=r["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})(),Gh=(()=>{class e{constructor(e,t,n){this.modalRef=e,this.params=t,this.labels=n}close(e){this.modalRef.close(e)}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](Lh),r["\u0275\u0275directiveInject"](Fh),r["\u0275\u0275directiveInject"](ju))},e.\u0275cmp=r["\u0275\u0275defineComponent"]({type:e,selectors:[["control-confirm-modal"]],decls:9,vars:8,consts:[["type","warning"],[4,"ngIf"],["theme","standard",3,"click"],["theme","primary","icon","check","autofocus","",3,"click"],[1,"bhi-arrow-right"]],template:function(e,t){1&e&&(r["\u0275\u0275elementStart"](0,"novo-notification",0),r["\u0275\u0275elementStart"](1,"h1"),r["\u0275\u0275text"](2),r["\u0275\u0275elementEnd"](),r["\u0275\u0275template"](3,Zc,6,3,"h2",1),r["\u0275\u0275template"](4,Jc,2,1,"h2",1),r["\u0275\u0275elementStart"](5,"button",2),r["\u0275\u0275listener"]("click",(function(){return t.close(!1)})),r["\u0275\u0275text"](6),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementStart"](7,"button",3),r["\u0275\u0275listener"]("click",(function(){return t.close(!0)})),r["\u0275\u0275text"](8),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"]()),2&e&&(r["\u0275\u0275attribute"]("data-automation-id","field-interaction-modal-"+t.params.key),r["\u0275\u0275advance"](2),r["\u0275\u0275textInterpolate"](t.labels.confirmChangesModalMessage),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",!t.params.message),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",t.params.message),r["\u0275\u0275advance"](1),r["\u0275\u0275attribute"]("data-automation-id","field-interaction-modal-cancel"+t.params.key),r["\u0275\u0275advance"](1),r["\u0275\u0275textInterpolate"](t.labels.cancel),r["\u0275\u0275advance"](1),r["\u0275\u0275attribute"]("data-automation-id","field-interaction-modal-save-"+t.params.key),r["\u0275\u0275advance"](1),r["\u0275\u0275textInterpolate"](t.labels.save))},directives:[Uh,i.m,xu],encapsulation:2}),e})(),qh=(()=>{class e{constructor(e,t,n){this.modalRef=e,this.params=t,this.labels=n}close(e){this.modalRef.close(e)}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](Lh),r["\u0275\u0275directiveInject"](Fh),r["\u0275\u0275directiveInject"](ju))},e.\u0275cmp=r["\u0275\u0275defineComponent"]({type:e,selectors:[["control-prompt-modal"]],decls:8,vars:7,consts:[["type","warning"],[4,"ngFor","ngForOf"],["theme","standard",3,"click"],["theme","primary","icon","check","autofocus","",3,"click"]],template:function(e,t){1&e&&(r["\u0275\u0275elementStart"](0,"novo-notification",0),r["\u0275\u0275elementStart"](1,"h1"),r["\u0275\u0275text"](2),r["\u0275\u0275elementEnd"](),r["\u0275\u0275template"](3,Qc,2,1,"p",1),r["\u0275\u0275elementStart"](4,"button",2),r["\u0275\u0275listener"]("click",(function(){return t.close(!1)})),r["\u0275\u0275text"](5),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementStart"](6,"button",3),r["\u0275\u0275listener"]("click",(function(){return t.close(!0)})),r["\u0275\u0275text"](7),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"]()),2&e&&(r["\u0275\u0275attribute"]("data-automation-id","field-interaction-modal-"+t.params.key),r["\u0275\u0275advance"](2),r["\u0275\u0275textInterpolate"](t.labels.promptModalMessage),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngForOf",t.params.changes),r["\u0275\u0275advance"](1),r["\u0275\u0275attribute"]("data-automation-id","field-interaction-modal-cancel"+t.params.key),r["\u0275\u0275advance"](1),r["\u0275\u0275textInterpolate"](t.labels.cancel),r["\u0275\u0275advance"](1),r["\u0275\u0275attribute"]("data-automation-id","field-interaction-modal-yes-"+t.params.key),r["\u0275\u0275advance"](1),r["\u0275\u0275textInterpolate"](t.labels.yes))},directives:[Uh,i.l,xu],encapsulation:2}),e})();class Kh{constructor(e){this.http=e,this.mapFn=e=>e}get(e,t){return this.url=e,this.options=t,this}map(e){return this.mapFn=e,this}subscribe(e,t){return this.http.get(this.url,this.options).pipe(Object(O.a)(this.mapFn)).subscribe(e,t)}}let zh=(()=>{class e{constructor(e,t,n,r,o){this.toaster=e,this.modalService=t,this.formUtils=n,this.http=r,this.labels=o,this._isInvokedOnInit=!1,this.getOptionsConfig=(e,t,n,r)=>
2303{if(n||"optionsUrl"in e||"optionsUrlBuilder"in e||"optionsPromise"in e){const o="format"in e&&e.format||r;return Object.assign(Object.assign({options:this.createOptionsFunction(e,t,n)},"emptyPickerMessage"in e&&{emptyPickerMessage:e.emptyPickerMessage}),o&&{format:o})}return"options"in e&&Array.isArray(e.options)?{options:[...e.options]}:void 0},this.createOptionsFunction=(e,t,n)=>(r,o)=>"optionsPromise"in e&&e.optionsPromise?e.optionsPromise(r,new Kh(this.http),o):"optionsUrlBuilder"in e&&e.optionsUrlBuilder||"optionsUrl"in e&&e.optionsUrl?new Promise((n,o)=>{const i="optionsUrlBuilder"in e?e.optionsUrlBuilder(r):`${e.optionsUrl}?filter=${r||""}`;this.http.get(i).pipe(Object(O.a)(e=>t?e.map(t):e)).subscribe(n,o)}):n?"where"in e?n(e.where)(r,o):n()(r,o):void 0}get associations(){return this.form.hasOwnProperty("associations")?this.form.associations:{}}get currentEntity(){return this.form.hasOwnProperty("currentEntity")?this.form.currentEntity:void 0}get currentEntityId(){return this.form.hasOwnProperty("currentEntityId")?this.form.currentEntityId:void 0}get isEdit(){return!!this.form.hasOwnProperty("edit")&&this.form.edit}get isAdd(){return!!this.form.hasOwnProperty("edit")&&!this.form.edit}set globals(e){this._globals=e}get globals(){return this._globals}set currentKey(e){this._currentKey=e}get currentKey(){return this._currentKey}set isInvokedOnInit(e){this._isInvokedOnInit=e}get isInvokedOnInit(){return this._isInvokedOnInit}isActiveControlValid(){return!!this.getValue(this.currentKey)}getActiveControl(){return this.getControl(this.currentKey)}getActiveKey(){return this.currentKey}getActiveValue(){return this.getValue(this.currentKey)}getActiveInitialValue(){return this.getInitialValue(this.currentKey)}getFieldSet(e,t){return e?(t||this.form).fieldsets.find(t=>t.key&&t.key.toLowerCase()===e.toLowerCase())||(console.error("[FieldInteractionAPI] - could not find a fieldset in the form by the key --",e),null):(console.error('[FieldInteractionAPI] - invalid or missing "key"'),null)}getControl(e,t){return e?(t||this.form).controls[e]||(console.error("[FieldInteractionAPI] - could not find a control in the form by the key --",e),null):(console.error('[FieldInteractionAPI] - invalid or missing "key"'),null)}getFormGroupArray(e,t){if(!e)return console.error('[FieldInteractionAPI] - invalid or missing "key"'),null;const n=(t||this.form).controls[e];return n&&n.controls?n.controls:(console.error("[FieldInteractionAPI] - could not find a form array in the form by the key --",e),null)}getValue(e,t){const n=this.getControl(e,t);return n?n.value:null}getRawValue(e,t){const n=this.getControl(e,t);return n?n.rawValue:null}getInitialValue(e,t){const n=this.getControl(e,t);return n?n.initialValue:null}setValue(e,t,n,r){const o=this.getControl(e,r);o&&!o.restrictFieldInteractions&&(o.setValue(t,n),this.triggerEvent({controlKey:e,prop:"value",value:t},r))}patchValue(e,t,n,r){const o=this.getControl(e,r);o&&!o.restrictFieldInteractions&&(o.setValue(t,n),this.triggerEvent({controlKey:e,prop:"value",value:t},r))}setReadOnly(e,t,n){const r=this.getControl(e,n);r&&!r.restrictFieldInteractions&&(r.setReadOnly(t),this.triggerEvent({controlKey:e,prop:"readOnly",value:t},n))}setRequired(e,t,n){const r=this.getControl(e,n);r&&!r.restrictFieldInteractions&&(r.setRequired(t),this.triggerEvent({controlKey:e,prop:"required",value:t},n))}highlight(e,t,n){const r=this.getControl(e,n);r&&!r.restrictFieldInteractions&&(r.highlighted=t,this.triggerEvent({controlKey:e,prop:"highlight",value:t},n))}hide(e,t=!0,n){const r=this.getControl(e,n);return r&&!r.restrictFieldInteractions&&(r.hide(t),this.disable(e,{emitEvent:!1}),this.triggerEvent({controlKey:e,prop:"hidden",value:!0},n)),r}show(e,t){const n=this.getControl(e,t);n&&!n.restrictFieldInteractions&&(n.show(),this.enable(e,{emitEvent:!1}),this.triggerEvent({controlKey:e,prop:"hidden",value:!1},t))}hideFieldSetHeader(e){const t=this.getFieldSet(e);t&&(t.hidden=!0)}showFieldSetHeader(e){const t=this.getFieldSet(e);t&&(t.hidden=!1)}disable(e,t,n){const r=this.getControl(e,n);r&&!r.restrictFieldInteractions&&(r.disable(t),this.triggerEvent({controlKey:e,prop:"readOnly",value:!0},n))}enable(e,t,n){const r=this.getControl(e,n);r&&!r.restrictFieldInteractions&&(r.enable(t),this.triggerEvent({controlKey:e,prop:"readOnly",value:!1},n))}markAsInvalid(e,t,n){const r=this.getControl(e,n);r&&r&&!r.restrictFieldInteractions&&(r.markAsInvalid(t),this.triggerEvent({controlKey:e,prop:"errors",value:t},n))}markAsValid(e,t){const n=this.getControl(e,t);n&&n&&!n.restrictFieldInteractions&&(n.markAsValid(),this.triggerEvent({controlKey:e,prop:"errors",value:null},t))}markAsDirty(e,t,n){const r=this.getControl(e,n);r&&!r.restrictFieldInteractions&&r.markAsDirty(t)}markAsPending(e,t,n){const r=this.getControl(e,n);r&&!r.restrictFieldInteractions&&r.markAsPending(t)}
2303markAsPristine(e,t,n){const r=this.getControl(e,n);r&&!r.restrictFieldInteractions&&r.markAsPristine(t)}markAsTouched(e,t,n){const r=this.getControl(e,n);r&&!r.restrictFieldInteractions&&r.markAsTouched(t)}markAsUntouched(e,t,n){const r=this.getControl(e,n);r&&!r.restrictFieldInteractions&&r.markAsUntouched(t)}updateValueAndValidity(e,t,n){const r=this.getControl(e,n);r&&!r.restrictFieldInteractions&&r.updateValueAndValidity(t)}displayToast(e){this.toaster&&this.toaster.alert(e)}displayTip(e,t,n,r,o,i){const a=this.getControl(e,i);a&&!a.restrictFieldInteractions&&(a.tipWell={tip:t,icon:n,button:r,sanitize:!1!==o},this.triggerEvent({controlKey:e,prop:"tipWell",value:t},i))}clearTip(e,t){const n=this.getControl(e,t);n&&!n.restrictFieldInteractions&&(n.tipWell=null,this.triggerEvent({controlKey:e,prop:"tipWell",value:null},t))}setTooltip(e,t,n){const r=this.getControl(e,n);r&&!r.restrictFieldInteractions&&(r.tooltip=t,t.length>=40&&t.length<=400?(r.tooltipSize="large",r.tooltipPreline=!0):t.length>400&&(r.tooltipSize="extra-large"),this.triggerEvent({controlKey:e,prop:"tooltip",value:t},n))}confirmChanges(e,t){const n=this.getProperty(e,"valueHistory"),r=n[n.length-2],o=this.getValue(e),i=this.getProperty(e,"label");return document.activeElement.blur(),this.modalService.open(Gh,{oldValue:r,newValue:o,label:i,message:t,key:e}).onClosed.then(t=>{t||this.setValue(e,r,{emitEvent:!1})})}promptUser(e,t){return document.activeElement.blur(),this.modalService.open(qh,{changes:t,key:e}).onClosed}setProperty(e,t,n,r){const o=this.getControl(e,r);o&&!o.restrictFieldInteractions&&(o[t]=n,this.triggerEvent({controlKey:e,prop:t,value:n},r))}getProperty(e,t,n){const r=this.getControl(e,n);return r&&!r.restrictFieldInteractions?r[t]:null}isValueEmpty(e){const t=this.getValue(e);return Pu.isEmpty(t)}isValueBlank(e){const t=this.getValue(e);return Pu.isBlank(t)}hasField(e,t){return!!(t||this.form).controls[e]}addStaticOption(e,t,n){const r=this.getControl(e,n);let o=t,i=!0;if(r&&!r.restrictFieldInteractions){let r=this.getProperty(e,"options");
2303if(r&&r.length)r[0].value&&!o.value&&(o={value:t,label:t}),r.forEach(e=>{(e.value&&e.value===o.value||e===o)&&(i=!1)}),i&&this.setProperty(e,"options",[...r,o]);else{const n=this.getProperty(e,"config");n&&(r=n.options,r&&Array.isArray(r)&&(r[0].value&&!o.value&&(o={value:t,label:t}),n.options=[...r,o],this.setProperty(e,"config",n)))}i&&this.triggerEvent({controlKey:e,prop:"options",value:[...r,o]},n)}}removeStaticOption(e,t,n){const r=this.getControl(e,n);if(r&&!r.restrictFieldInteractions){let o=this.getProperty(e,"options",n);if(o&&o.length){let r=-1;o.forEach((e,n)=>{e.value||e.label?e.value!==t&&e.label!==t||(r=n):e===t&&(r=n)}),-1!==r&&o.splice(r,1),this.setProperty(e,"options",[...o],n)}else{const r=this.getProperty(e,"config",n);if(r&&(o=r.options,o&&Array.isArray(o))){let i=-1;o.forEach((e,n)=>{e.value||e.label?e.value!==t&&e.label!==t||(i=n):e===t&&(i=n)}),-1!==i&&o.splice(i,1),r.options=[...o],this.setProperty(e,"config",r,n)}}this.triggerEvent({controlKey:e,prop:"options",value:r.options},n)}}modifyPickerConfig(e,t,n){this.mutatePickerConfig(e,t,n)}mutatePickerConfig(e,t,n,r){const o=this.getControl(e,r);if(o&&!o.restrictFieldInteractions){const{minSearchLength:i,enableInfiniteScroll:a,filteredOptionsCreator:s,format:c,getLabels:l,emptyPickerMessage:u}=o.config,d=this.getOptionsConfig(t,n,s,c),h=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},u&&{emptyPickerMessage:u}),Number.isInteger(i)&&{minSearchLength:i}),a&&{enableInfiniteScroll:a}),s&&{filteredOptionsCreator:s}),l&&{getLabels:l}),d&&d),{resultsTemplate:o.config.resultsTemplate||"resultsTemplateType"in t&&this.getAppropriateResultsTemplate(t.resultsTemplateType)});this.setProperty(e,"config",h),this.triggerEvent({controlKey:e,prop:"pickerConfig",value:t},r)}}addPropertiesToPickerConfig(e,t,n){const r=this.getControl(e,n);if(!r||r.restrictFieldInteractions)return;const o=Object.assign(Object.assign({},r.config),t);this.setProperty(e,"config",o),this.triggerEvent({controlKey:e,prop:"pickerConfig",value:t},n)}getAppropriateResultsTemplate(e){switch(e){case"entity-picker":return hd;default:return}}setLoading(e,t,n){const r=n||this.form,o=this.getControl(e,n);o&&!o.restrictFieldInteractions&&(t?(r.controls[e].fieldInteractionloading=!0,o.setErrors({loading:!0}),clearTimeout(this.asyncBlockTimeout),this.asyncBlockTimeout=setTimeout(()=>{this.setLoading(e,!1),this.displayTip(e,this.labels.asyncFailure,"info",!1),this.setProperty(e,"_displayedAsyncFailure",!0)},1e4)):(r.controls[e].fieldInteractionloading=!1,clearTimeout(this.asyncBlockTimeout),o.setErrors({loading:null}),o.updateValueAndValidity({emitEvent:!1}),this.getProperty(e,"_displayedAsyncFailure")&&this.setProperty(e,"tipWell",null)),this.triggerEvent({controlKey:e,prop:"loading",value:t},n))}addControl(t,n,r=e.FIELD_POSITIONS.ABOVE_FIELD,o,i){if(!n.key&&!n.name)return console.error('[FieldInteractionAPI] - missing "key" in meta for new field'),null;n.key||(n.key=n.name);const a=i||this.form;if(a.controls[n.key])return null;let s,c;if(a.controls[t]){switch(s=-1,c=-1,a.fieldsets.forEach((e,n)=>{e.controls.forEach((e,r)=>{e.key===t&&(s=n,c=r)})}),r){case e.FIELD_POSITIONS.ABOVE_FIELD:break;case e.FIELD_POSITIONS.BELOW_FIELD:c+=1;break;case e.FIELD_POSITIONS.TOP_OF_FORM:c=0,s=0;break;case e.FIELD_POSITIONS.BOTTOM_OF_FORM:s=a.fieldsets.length-1,c=a.fieldsets[s].controls.length}if(-1!==s&&-1!==c){const e=this.formUtils.getControlForField(n,this.http,{});e.hidden=!1;const r=new Rh(o,e);a.addControl(e.key,r),a.fieldsets[s].controls.splice(c,0,e),this.triggerEvent({controlKey:t,prop:"addControl",value:r},i)}}}removeControl(e,t){const n=t||this.form;if(!n.controls[e])return null;const r=this.getControl(e,t);if(r&&!r.restrictFieldInteractions){let r=-1,o=-1;n.fieldsets.forEach((t,n)=>{t.controls.forEach((t,i)=>{t.key===e&&(r=n,o=i)})}),-1!==r&&-1!==o&&(n.removeControl(e),n.fieldsets[r].controls.splice(o,1),this.triggerEvent({controlKey:e,prop:"removeControl",value:e},t))}}debounce(e,t=50){let n;clearTimeout(n),n=setTimeout(()=>e(),t)}getParent(e){return(e||this.form).parent}getIndex(e){const t=e||this.form;return t.associations&&t.associations.hasOwnProperty("index")?t.associations.index:null}triggerEvent(e,t){const n=t||this.form;n&&n.fieldInteractionEvents&&n.fieldInteractionEvents.emit(e)}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275inject"](ih),r["\u0275\u0275inject"](Hh),r["\u0275\u0275inject"](jh),r["\u0275\u0275inject"](Sr),r["\u0275\u0275inject"](ju))},e.\u0275prov=r["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e.FIELD_POSITIONS={ABOVE_FIELD:"ABOVE_FIELD",BELOW_FIELD:"BELOW_FIELD",TOP_OF_FORM:"TOP_OF_FORM",BOTTOM_OF_FORM:"BOTTOM_OF_FORM"},e})(),Yh=(()=>{class e{constructor(){this.templates={default:{},custom:{}}}getAll(){const e={},t=Object.keys(this.templates.custom);return Object.keys(this.templates.default).forEach(t=>{e[t]=this.templates.default[t]}),t.forEach(t=>{e[t]=this.templates.custom[t]}),e}addDefault(e,t){this.templates.default[e]=t}addCustom(e,t){this.templates.custom[e]=t}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=r["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})(),$h=(()=>{class e{constructor(e){this.element=e}onInput(e){this.adjust()}ngAfterContentInit(){setTimeout(()=>{this.adjust()})}adjust(){const e=this.element.nativeElement;e.style.height=e.style.minHeight,e.style.height=e.scrollHeight+"px"}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](r.ElementRef))},e.\u0275dir=r["\u0275\u0275defineDirective"]({type:e,selectors:[["textarea","autosize",""]],hostBindings:function(e,t){1&e&&r["\u0275\u0275listener"]("input",(function(e){return t.onInput(e.target)}))}}),e})(),Wh=(()=>{class e extends Bu{constructor(e,t,n,o,i,a,s="en-US"){super(e),this.labels=t,this.dateFormatService=n,this.fieldInteractionApi=o,this.templateService=i,this.changeDetectorRef=a,this.locale=s,this.condensed=!1,this.autoFocus=!1,this.change=new r.EventEmitter,this.edit=new r.EventEmitter,this.save=new r.EventEmitter,this.delete=new r.EventEmitter,this.upload=new r.EventEmitter,this.formattedValue="",this.maxLengthMet=!1,this.itemCount=0,this._blurEmitter=new r.EventEmitter,this._focusEmitter=new r.EventEmitter,this._focused=!1,this._enteredText="",this._showCount=!1,this.maxLengthMetErrorfields=[],this.templates={},this.loading=!1}get onBlur(){return this._blurEmitter.asObservable()}get onFocus(){return this._focusEmitter.asObservable()}get maxlengthMetField(){return this.maxLengthMetErrorfields&&this.maxLengthMetErrorfields.length&&this.maxLengthMetErrorfields.find(e=>e===this.focusedField)||""}get maxlengthErrorField(){return this.errors&&this.errors.maxlengthFields&&this.errors.maxlengthFields.length&&this.errors.maxlengthFields.find(e=>e===this.focusedField)||""}get showFieldMessage(){return!this.errors&&!this.maxLengthMet&&Pu.isBlank(this.control.description)}get showMaxLengthMetMessage(){return this.isDirty&&this.maxLengthMet&&this.focused&&(!this.errors||this.errors&&!this.errors.maxlength)||this.isDirty&&this.maxlengthMetField&&this.focused&&(!this.errors||this.errors&&!this.errors.maxlengthFields.includes(this.maxlengthMetField))}get showErrorState(){return this.isDirty&&this.errors||this.focused&&this.errors&&this.errors.maxlength&&this.errors.maxlengthFields||this.focused&&this.errors&&this.errors.maxlength&&this.errors.maxlengthFields&&this.maxlengthErrorField}get showCount(){const e=this.focused&&!!this.form.controls[this.control.ke
2303y].maxlength&&["textbox","picker","text-area"].includes(this.form.controls[this.control.key].controlType);return this._showCount||e}set showCount(e){this._showCount=e}get showMessages(){return this.showCount||!Pu.isEmpty(this.form.controls[this.control.key].warning)||!Pu.isEmpty(this.form.controls[this.control.key].description)}get decimalSeparator(){return new Intl.NumberFormat(this.locale).format(1.2)[1]}ngAfterViewInit(){this.autoFocus&&!["picker","time","date","date-time"].includes(this.control.controlType)&&setTimeout(()=>{const e=this.element.nativeElement.querySelector("input");e&&e.focus()})}ngAfterContentInit(){if(this.control.interactions&&!this.form.controls[this.control.key].restrictFieldInteractions)for(const e of this.control.interactions){switch(e.event){case"blur":this.valueChangeSubscription=this.onBlur.pipe(Hi(300)).subscribe(()=>{this.form.controls[this.control.key].restrictFieldInteractions||this.executeInteraction(e)});break;case"focus":this.valueChangeSubscription=this.onFocus.pipe(Hi(300)).subscribe(()=>{this.form.controls[this.control.key].restrictFieldInteractions||this.executeInteraction(e)});break;case"change":this.valueChangeSubscription=this.form.controls[this.control.key].valueChanges.pipe(Hi(300)).subscribe(()=>{this.form.controls[this.control.key].restrictFieldInteractions||this.executeInteraction(e)});break;case"init":e.invokeOnInit=!0}e.invokeOnInit&&(this.form.controls[this.control.key].restrictFieldInteractions||this.executeInteraction(e,!0))}setTimeout(()=>{this.templates=this.templateService.getAll(),this.loading=!1,this.changeDetectorRef.markForCheck()})}ngOnInit(){this.loading=!0,this.control&&this.form.controls[this.control.key].value&&("textbox"!==this.form.controls[this.control.key].controlType&&"text-area"!==this.form.controls[this.control.key].controlType||(this.itemCount=this.form.controls[this.control.key].value.length)),this.control&&(this.forceClearSubscription=this.control.forceClear.subscribe(()=>{this.clearValue()}),this.statusChangeSubscription=this.form.controls[this.control.key].statusChanges.subscribe(e=>{this.form.controls[this.control.key]=this.templateContext.$implicit,"PENDING"!==e&&this.form.updateValueAndValidity&&this.form.updateValueAndValidity()})),this.templateContext={$implicit:this.form.controls[this.control.key],methods:{restrictKeys:this.restrictKeys.bind(this),emitChange:this.emitChange.bind(this),handleFocus:this.handleFocus.bind(this),handlePercentChange:this.handlePercentChange.bind(this),handleBlur:this.handleBlur.bind(this),handleTextAreaInput:this.handleTextAreaInput.bind(this),handleEdit:this.handleEdit.bind(this),handleSave:this.handleSave.bind(this),handleDelete:this.handleDelete.bind(this),handleUpload:this.handleUpload.bind(this),modelChange:this.modelChange.bind(this),modelChangeWithRaw:this.modelChangeWithRaw.bind(this),handleAddressChange:this.handleAddressChange.bind(this),handleTyping:this.handleTyping.bind(this),updateValidity:this.updateValidity.bind(this),toggleActive:this.toggleActive.bind(this),validateIntegerInput:this.validateIntegerInput.bind(this),validateNumberOnBlur:this.validateNumberOnBlur.bind(this)},form:this.form},this.templateContext.$implicit.tooltipPosition=this.tooltipPosition,this.templateContext.$implicit.tooltip=this.tooltip,this.templateContext.$implicit.tooltipSize=this.tooltipSize,this.templateContext.$implicit.tooltipPreline=this.tooltipPreline,this.templateContext.$implicit.removeTooltipArrow=this.removeTooltipArrow,this.templateContext.$implicit.startupFocus=this.form.controls[this.control.key].startupFocus,this.templateContext.$implicit.fileBrowserImageUploadUrl=this.form.controls[this.control.key].fileBrowserImageUploadUrl,this.templateContext.$implicit.minimal=this.form.controls[this.control.key].minimal,this.templateContext.$implicit.currencyFormat=this.form.controls[this.control.key].currencyFormat,this.templateContext.$implicit.percentValue=this.form.controls[this.control.key].percentValue,this.templateContext.$implicit.config=this.form.controls[this.control.key].config,this.form.controls[this.control.ke
2303y]&&"percentage"===this.form.controls[this.control.key].subType&&(Pu.isEmpty(this.form.controls[this.control.key].value)||(this.templateContext.$implicit.percentValue=Number((100*this.form.controls[this.control.key].value).toFixed(6).replace(/\.?0*$/,""))),this.percentChangeSubscription=this.form.controls[this.control.key].displayValueChanges.subscribe(e=>{Pu.isEmpty(e)||isNaN(e)?Pu.isEmpty(e)&&(this.templateContext.$implicit.percentValue=void 0):this.templateContext.$implicit.percentValue=Number((100*e).toFixed(6).replace(/\.?0*$/,""))}))}ngOnDestroy(){this.valueChangeSubscription&&this.valueChangeSubscription.unsubscribe(),this.forceClearSubscription&&this.forceClearSubscription.unsubscribe(),this.percentChangeSubscription&&this.percentChangeSubscription.unsubscribe(),this.dateChangeSubscription&&this.dateChangeSubscription.unsubscribe(),this.statusChangeSubscription&&this.statusChangeSubscription.unsubscribe(),super.ngOnDestroy()}get errors(){return this.form.controls[this.control.key].errors}get isValid(){return this.form.controls[this.control.key].valid}get isDirty(){return this.form.controls[this.control.key].dirty||this.control.dirty}get hasValue(){return!Pu.isEmpty(this.form.value[this.control.key])}get focused(){return this._focused}get tooltip(){return this.form.controls[this.control.key].tooltip}get tooltipPosition(){return Pu.isBlank(this.form.controls[this.control.key].tooltipPosition)?"right":this.form.controls[this.control.key].tooltipPosition}get tooltipSize(){return Pu.isBlank(this.form.controls[this.control.key].tooltipSize)?"":this.form.controls[this.control.key].tooltipSize}get tooltipPreline(){return!Pu.isBlank(this.form.controls[this.control.key].tooltipPreline)&&this.form.controls[this.control.key].tooltipPreline}get removeTooltipArrow(){return!Pu.isBlank(this.form.controls[this.control.key].removeTooltipArrow)&&this.form.controls[this.control.key].removeTooltipArrow}get alwaysActive(){return!("picker"!==this.form.controls[this.control.key].controlType||!this._enteredText.length)||-1!==["tiles","checklist","checkbox","date","time","date-time","address","file","editor","radio","text-area","quick-note"].indexOf(this.form.controls[this.control.key].controlType)}get requiresExtraSpacing(){return!("picker"!==this.form.controls[this.control.key].controlType||!this.form.controls[this.control.key].multiple||!this.hasValue)}executeInteraction(e,t=!1){e.script&&Pu.isFunction(e.script)&&setTimeout(()=>{this.fieldInteractionApi.form=this.form,this.fieldInteractionApi.currentKey=this.control.key,this.fieldInteractionApi.isInvokedOnInit=t;try{e.script(this.fieldInteractionApi,this.control.key)}catch(n){console.info("Field Interaction Error!",this.control.key),console.error(n)}})}handleTyping(e){this._focused=e&&e.length,this._enteredText=e}handleFocus(e,t){this._focused=!0,this.focusedField=t,Pu.isBlank(this.characterCountField)||this.characterCountField!==t?"address"!==this.form.controls[this.control.key].controlType||!t||Pu.isEmpty(this.form.value[this.control.key])||Pu.isBlank(this.form.value[this.control.key][t])||this.handleAddressChange({value:this.form.value[this.control.key][t],field:t}):this.showCount=!0,this._focusEmitter.emit(e)}handleBlur(e){this._focused=!1,this.focusedField="",this.showCount=!1,this._blurEmitter.emit(e)}clearValue(){this.form.controls[this.control.key].setValue(null),this.formattedValue=null}handleTextAreaInput(e){this.emitChange(e),this.restrictKeys(e)}checkMaxLength(e){this.control&&this.form.controls[this.control.key].maxlength&&(this.itemCount=e.target.value.length,this.maxLengthMet=e.target.value.length>=this.form.controls[this.control.key].maxlength)}modelChangeWithRaw(e){Pu.isEmpty(e.value)&&(this._focused=!1,this._enteredText=""),"picker"===this.form.controls[this.control.key].controlType&&this.form.controls[this.control.key].maxlength&&(this.itemCount=e.value?e.value.length:0,this.maxLengthMet=this.itemCount>=this.form.controls[this.control.key].maxlength),this.form.controls[this.control.key].rawValue=e.rawValue,this.change.emit(e.value)}modelChange(e){Pu.isEmpty(e)&&(this._focused=!1,this._enteredText=""),this.change.emit(e)}validateNumberOnBlur(e){this._focused=!1,this.focusedField="",this.showCount=!1,"number"===this.form.controls[this.control.ke
2303y].subType&&this.validateIntegerInput(),this._blurEmitter.emit(e)}validateIntegerInput(){this.form.controls[this.control.key].value&&!/^[\d\-]\d*$/.test(this.form.controls[this.control.key].value)&&this.form.controls[this.control.key].markAsInvalid(`${this.labels.invalidIntegerInput} ${this.form.controls[this.control.key].label.toUpperCase()}`)}restrictKeys(e){const t=["Backspace","Delete","ArrowLeft","ArrowRight","Tab"],n=e.key;"number"!==this.form.controls[this.control.key].subType||/[0-9\-]/.test(n)||t.includes(n)?["currency","float","percentage"].includes(this.form.controls[this.control.key].subType)&&!("."===this.decimalSeparator&&/[0-9\.\-]/.test(n)||","===this.decimalSeparator&&/[0-9\.\,\-]/.test(n)||t.includes(n))&&e.preventDefault():e.preventDefault(),this.form.controls[this.control.key].maxlength&&e.target.value.length>=this.form.controls[this.control.key].maxlength&&e.preventDefault()}handlePercentChange(e){const t=e.target.value||e.data,n=Pu.isEmpty(t)||isNaN(t)?t:Number((t/100).toFixed(6).replace(/\.?0*$/,""));Pu.isEmpty(n)?(this.change.emit(null),this.form.controls[this.control.key].setValue(null)):(this.change.emit(n),this.form.controls[this.control.key].setValue(n))}handleTabForPickers(e){this.active&&e&&e.keyCode&&(e.keyCode!==Uu.ESC&&e.keyCode!==Uu.TAB||this.toggleActive(e,!1))}emitChange(e){this.change.emit(e),this.checkMaxLength(e)}handleEdit(e){this.edit.emit(e)}handleSave(e){this.save.emit(e)}handleDelete(e){this.delete.emit(e)}handleUpload(e){this.upload.emit(e)}handleAddressChange(e){e&&!Pu.isBlank(e.value)&&e.field&&this.control.config[e.field]&&!Pu.isEmpty(this.control.config[e.field].maxlength)&&(this.itemCount=e.value.length,this.characterCountField=e.field,this.maxLength=this.control.config[e.field].maxlength,this.showCount=!0,this.maxLength===this.itemCount?this.maxLengthMetErrorfields.push(e.field):this.maxLengthMetErrorfields=this.maxLengthMetErrorfields.filter(t=>t!==e.field))}updateValidity(e){this.form.controls[this.control.key].updateValueAndValidity({emitEvent:!!e})}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](r.ElementRef),r["\u0275\u0275directiveInject"](ju),r["\u0275\u0275directiveInject"](eh),r["\u0275\u0275directiveInject"](zh),r["\u0275\u0275directiveInject"](Yh),r["\u0275\u0275directiveInject"](r.ChangeDetectorRef),r["\u0275\u0275directiveInject"](r.LOCALE_ID))},e.\u0275cmp=r["\u0275\u0275defineComponent"]({type:e,selectors:[["novo-control"]],hostVars:12,hostBindings:function(e,t){2&e&&(r["\u0275\u0275attribute"]("data-control-type",t.form.controls[t.control.key].controlType)("data-control-key",t.control.key),r["\u0275\u0275classMap"](t.form.controls[t.control.key].controlType),r["\u0275\u0275classProp"]("disabled",t.form.controls[t.control.key].readOnly)("hidden",t.form.controls[t.control.key].hidden)("inline-embedded",t.control.isInlineEmbedded)("embedded",t.control.isEmbedded))},inputs:{condensed:"condensed",autoFocus:"autoFocus",control:"control",form:"form"},outputs:{change:"change",edit:"edit",save:"save",delete:"delete",upload:"upload",onBlur:"blur",onFocus:"focus"},features:[r["\u0275\u0275InheritDefinitionFeature"]],decls:15,vars:26,consts:[[1,"novo-control-container",3,"hidden"],[3,"tooltip","tooltipPosition"],[1,"bhi-lock",3,"hidden"],[3,"ngClass",4,"ngIf"],[1,"novo-control-outer-container"],["class","novo-control-label",3,"novo-control-empty","novo-control-focused","novo-control-filled","novo-control-always-active","novo-control-extra-spacing",4,"ngIf"],[1,"novo-control-inner-container"],[1,"novo-control-inner-input-container"],[3,"hidden","class","ngClass",4,"ngIf"],[4,"ngIf"],[3,"class","has-tip","ngClass",4,"ngIf"],[3,"name","tip","icon","button","sanitize",4,"ngIf"],["class","loading",4,"ngIf"],[3,"ngClass"],[1,"novo-control-label"],[3,"hidden","ngClass"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"novo-control-input-container","novo-control-input-with-label"],["type","text"],[1,"messages",3,"ngClass"],["class","error-text",4,"ngIf"],["class","description",4,"ngIf"],["class","warning-text",4,"ngIf"],["class","character-count",3,"error",4,"ngIf"],["class","record-count",3,"zero-count","row-picker",4,"ngIf"],[1,"error-text"],["class","error-text",4,"ngFor","ngForOf"],[1,"description"],[1,"warning-text"],[1,"character-count"],[1,"record-count"],[3,"name","tip","icon","button","sanitize"],[1,"loading"],["ver
2303sion","1.1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink",0,"xmlns","a","http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/","x","0px","y","0px","width","18.2px","height","18.5px","viewBox","0 0 18.2 18.5",0,"xml","space","preserve",2,"enable-background","new 0 0 18.2 18.5"],["type","text/css"],["d","M9.2,18.5C4.1,18.5,0,14.4,0,9.2S4.1,0,9.2,0c0.9,0,1.9,0.1,2.7,0.4c0.8,0.2,1.2,1.1,1,1.9\n                            c-0.2,0.8-1.1,1.2-1.9,1C10.5,3.1,9.9,3,9.2,3C5.8,3,3,5.8,3,9.2s2.8,6.2,6.2,6.2c2.8,0,5.3-1.9,6-4.7c0.2-0.8,1-1.3,1.8-1.1\n                            c0.8,0.2,1.3,1,1.1,1.8C17.1,15.7,13.4,18.5,9.2,18.5z",1,"spinner"]],template:function(e,t){1&e&&(r["\u0275\u0275elementStart"](0,"div",0),r["\u0275\u0275elementStart"](1,"span",1),r["\u0275\u0275element"](2,"i",2),r["\u0275\u0275elementEnd"](),r["\u0275\u0275template"](3,el,2,5,"label",3),r["\u0275\u0275elementStart"](4,"div",4),r["\u0275\u0275template"](5,tl,2,12,"label",5),r["\u0275\u0275elementStart"](6,"div",6),r["\u0275\u0275elementStart"](7,"div",7),r["\u0275\u0275template"](8,nl,1,8,"i",8),r["\u0275\u0275elementStart"](9,"div"),r["\u0275\u0275template"](10,ol,2,2,"ng-container",9),r["\u0275\u0275template"](11,il,3,0,"ng-container",9),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"](),r["\u0275\u0275template"](12,El,19,24,"div",10),r["\u0275\u0275template"](13,kl,1,5,"novo-tip-well",11),r["\u0275\u0275elementEnd"](),r["\u0275\u0275template"](14,xl,5,0,"i",12),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"]()),2&e&&(r["\u0275\u0275property"]("hidden",t.form.controls[t.control.key].hidden||"hidden"===t.form.controls[t.control.key].type||"hidden"===t.form.controls[t.control.key].controlType),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("tooltip",t.labels.encryptedFieldTooltip)("tooltipPosition","right"),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("hidden",!t.form.controls[t.control.key].encrypted),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf","vertical"!==t.form.layout&&t.form.controls[t.control.key].label&&!t.condensed),r["\u0275\u0275advance"](2),r["\u0275\u0275property"]("ngIf","vertical"===t.form.layout&&t.form.controls[t.control.key].label&&!t.condensed),r["\u0275\u0275advance"](1),r["\u0275\u0275classProp"]("required",t.form.controls[t.control.key].required&&!t.form.controls[t.control.key].readOnly),r["\u0275\u0275advance"](1),r["\u0275\u0275classProp"]("novo-control-filled",t.hasValue)("novo-control-empty",!t.hasValue),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",!t.condensed||t.form.controls[t.control.key].required),r["\u0275\u0275advance"](1),r["\u0275\u0275classMapInterpolate1"]("novo-control-input ",t.form.controls[t.control.key].controlType,""),r["\u0275\u0275classProp"]("control-disabled",t.form.controls[t.control.key].disabled)("highlighted",t.form.controls[t.control.key].highlighted),r["\u0275\u0275attribute"]("data-automation-id",t.control.key),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",t.templates),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",!t.templates||t.loading),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",!t.condensed),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",t.form.controls[t.control.key].tipWell),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",t.form.controls[t.control.key].fieldInteractionloading))},directives:function(){return[Tu,i.m,i.k,i.r,i.l,um]},pipes:function(){return[i.w]},encapsulation:2}),e})(),Zh=(()=>{class e{constructor(e){this.templates=e}ngAfterViewInit(){this.defaultTemplates&&this.defaultTemplates.length&&this.defaultTemplates.forEac
2303h(e=>{this.templates.addDefault(e.name,e.template)})}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](Yh))},e.\u0275cmp=r["\u0275\u0275defineComponent"]({type:e,selectors:[["novo-control-templates"]],viewQuery:function(e,t){var n;1&e&&r["\u0275\u0275viewQuery"](Sd,!0),2&e&&r["\u0275\u0275queryRefresh"](n=r["\u0275\u0275loadQuery"]())&&(t.defaultTemplates=n)},decls:17,vars:0,consts:[["novoTemplate","read-only"],["novoTemplate","textbox"],["novoTemplate","text-area"],["novoTemplate","editor"],["novoTemplate","native-select"],["novoTemplate","file"],["novoTemplate","tiles"],["novoTemplate","picker"],["novoTemplate","select"],["novoTemplate","radio"],["novoTemplate","time"],["novoTemplate","date"],["novoTemplate","date-time"],["novoTemplate","address"],["novoTemplate","checkbox"],["novoTemplate","checklist"],["novoTemplate","quick-note"],[1,"novo-control-input-container","novo-control-input-with-label",3,"formGroup","tooltip","tooltipPosition","tooltipSize","tooltipPreline","removeTooltipArrow","tooltipAutoPosition"],["autocomplete","",3,"textMask","formControlName","id","type","placeholder","input","focus","blur",4,"ngIf"],["autocomplete","",3,"maxlength-error","formControlName","id","type","placeholder","maxlength","input","focus","blur",4,"ngIf"],["step","any",3,"maxlength-error","formControlName","id","type","placeholder","maxlength","keydown","input","focus","blur","mousewheel",4,"ngIf"],["step","any",3,"id","type","placeholder","value","disabled","keydown","input","focus","blur","mousewheel",4,"ngIf"],["class","input-label",4,"ngIf"],["autocomplete","",3,"textMask","formControlName","id","type","placeholder","input","focus","blur"],["autocomplete","",3,"formControlName","id","type","placeholder","maxlength","input","focus","blur"],["step","any",3,"formControlName","id","type","placeholder","maxlength","keydown","input","focus","blur","mousewheel"],["numberInput",""],["step","any",3,"id","type","placeholder","value","disabled","keydown","input","focus","blur","mousewheel"],["percentInput",""],[1,"input-label"],[1,"textarea-container",3,"formGroup","tooltip","tooltipPosition","tooltipSize","tooltipPreline","removeTooltipArrow","tooltipAutoPosition"],["autosize","",3,"name","placeholder","formControlName","maxlength","input","focus","blur"],[3,"formGroup"],[3,"name","formControlName","startupFocus","minimal","fileBrowserImageUploadUrl","config","focus","blur"],[3,"id","formControlName","tooltip","tooltipPosition","tooltipSize","tooltipPreline","removeTooltipArrow","tooltipAutoPosition"],["value","","disabled","","selected","","hidden","",4,"ngIf"],[3,"value",4,"ngFor","ngForOf"],["value","","disabled","","selected","","hidden",""],[3,"value"],[3,"formControlName","id","name","placeholder","value","multiple","layoutOptions","tooltip","tooltipPosition","tooltipSize","tooltipPreline","removeTooltipArrow","tooltipAutoPosition","edit","save","delete","upload"],[3,"options","formControlName","tooltip","tooltipPosition","tooltipSize","tooltipPreline","removeTooltipArrow","tooltipAutoPosition","controlDisabled","onChange"],[1,"novo-control-input-container",3,"formGroup"],[3,"config","formControlName","placeholder","parentScrollSelector","tooltip","tooltipPosition","tooltipSize","tooltipPreline","removeTooltipArrow","tooltipAutoPosition","select","changed","typing","focus","blur",4,"ngIf"],[3,"source","type","formControlName","placeholder","maxlength","closeOnSelect","tooltip","tooltipPosition","tooltipSize","tooltipPreline","removeTooltipArrow","tooltipAutoPosition","changed","typing","focus","blur",4,"ngIf"],[3,"source","type","formControlName","placeholder","closeOnSelect","tooltip","tooltipPosition","tooltipSize","tooltipPreline","removeTooltipArrow","tooltipAutoPosition","changed","typing","focus","blur",4,"ngIf"],[3,"config","formControlName","placeholder","parentScrollSelector","tooltip","tooltipPosition","tooltipSize","tooltipPreline","removeTooltipArrow","tooltipAutoPosition","select","changed","typing","focus","blur"],[3,"source","type","formControlName","placeholder","maxlength","closeOnSelect","tooltip","tooltipPosition","tooltipSize","tooltipPreline","removeTooltipArrow","tooltipAutoPosition","changed","typing","focus","blur"],[3,"source","type","formControlName","placeholder","closeOnSelect","tooltip","tooltipPosition","tooltipSize","tooltipPreline","removeTooltipArrow","tooltipAutoPosition","changed","typing","focus","blur"],[3,"options","headerConfig","placeholder","formControlName","tooltip","tooltipPosition","tooltipSize","tooltipPreline","removeTooltipArrow","tooltipAutoPosition","onSelect"],[3,"name","formControlName","value","label","checked","tooltip","tooltipPosition","tooltipSize","tooltipPreline","removeTooltipArrow","tooltipAutoPosition","button","icon",4,"ngFor","ngForOf"],[3,"name","formControlName","value","label","checked","tooltip","tooltipPosition","tooltipSize","tooltipPreline","removeTooltipArrow","tooltipAutoPosition","button","icon"],[1,"n
2303ovo-control-input-container",3,"formGroup","tooltip","tooltipPosition","tooltipSize","tooltipPreline","removeTooltipArrow","tooltipAutoPosition"],[3,"name","formControlName","placeholder","military"],[3,"name","formControlName","start","end","format","allowInvalidDate","textMaskEnabled","placeholder","weekStart","focusEvent","blurEvent","changeEvent"],[3,"name","formControlName","start","end","placeholder","military","weekStart","focusEvent","blurEvent","changeEvent"],[3,"formControlName","config","readOnly","change","focus","blur","validityChange"],[3,"formControlName","name","label","tooltip","tooltipPosition","tooltipSize","tooltipPreline","removeTooltipArrow","tooltipAutoPosition","layoutOptions"],[3,"formControlName","name","options","tooltip","tooltipPosition","tooltipSize","tooltipPreline","removeTooltipArrow","tooltipAutoPosition","onSelect"],[3,"formControlName","startupFocus","placeholder","config","tooltip","tooltipPosition","tooltipSize","removeTooltipArrow","tooltipAutoPosition","tooltipPreline","change"]],template:function(e,t){1&e&&(r["\u0275\u0275template"](0,Il,2,1,"ng-template",0),r["\u0275\u0275template"](1,Ml,7,13,"ng-template",1),r["\u0275\u0275template"](2,Nl,2,14,"ng-template",2),r["\u0275\u0275template"](3,jl,2,7,"ng-template",3),r["\u0275\u0275template"](4,Vl,4,11,"ng-template",4),r["\u0275\u0275template"](5,Bl,2,14,"ng-template",5),r["\u0275\u0275template"](6,Ul,2,10,"ng-template",6),r["\u0275\u0275template"](7,Kl,4,4,"ng-template",7),r["\u0275\u0275template"](8,zl,2,11,"ng-template",8),r["\u0275\u0275template"](9,$l,2,2,"ng-template",9),r["\u0275\u0275template"](10,Wl,2,12,"ng-template",10),r["\u0275\u0275template"](11,Zl,2,17,"ng-template",11),r["\u0275\u0275template"](12,Jl,2,15,"ng-template",12),r["\u0275\u0275template"](13,Ql,2,4,"ng-template",13),r["\u0275\u0275template"](14,Xl,2,11,"ng-template",14),r["\u0275\u0275template"](15,eu,2,10,"ng-template",15),r["\u0275\u0275template"](16,tu,2,11,"ng-template",16))},directives:function(){return[Sd,Ui.NgControlStatusGroup,Ui.FormGroupDirective,Tu,i.m,Ui.DefaultValueAccessor,ta.MaskedInputDirective,Ui.NgControlStatus,Ui.FormControlName,Ui.MaxLengthValidator,$h,Cd,Ui.SelectControlValueAccessor,i.l,Ui.NgSelectOption,Ui["\u0275angular_packages_forms_forms_x"],qd,Yd,ud,td,yd,Ad,em,hh,nh,ch,Nd,Ld,Bd,om]},encapsulation:2}),e})(),Jh=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=r["\u0275\u0275defineComponent"]({type:e,selectors:[["novo-fieldset-header"]],inputs:{title:"title",icon:"icon"},decls:3,vars:3,template:function(e,t){1&e&&(r["\u0275\u0275elementStart"](0,"h6"),r["\u0275\u0275element"](1,"i"),r["\u0275\u0275text"](2),r["\u0275\u0275elementEnd"]()),2&e&&(r["\u0275\u0275advance"](1),r["\u0275\u0275classMap"](t.icon||"bhi-section"),r["\u0275\u0275advance"](1),r["\u0275\u0275textInterpolate"](t.title))},encapsulation:2}),e})(),Qh=(()=>{class e{constructor(e){this.templates=e,this.hideHeader=!1,this.showingAllFields=!1,this.showingRequiredFields=!0}get value(){return this.form.getRawValue()}get isValid(){return this.form.valid}ngOnInit(){this.form.layout=this.layout}ngAfterContentInit(){this.customTemplates&&this.customTemplates.length&&this.customTemplates.forEac
2303h(e=>{this.templates.addCustom(e.name,e.template)})}showAllFields(){Object.keys(this.form.controls).forEach(e=>{this.form.controls[e].hidden=!1}),this.showingAllFields=!0,this.showingRequiredFields=!1}showOnlyRequired(e){Object.keys(this.form.controls).forEach(t=>{this.form.controls[t].required||(this.form.controls[t].hidden=!0),e&&!Pu.isBlank(this.form.value[t])&&(this.form.controls[t].hidden=!0),this.form.controls[t].errors&&(this.form.controls[t].hidden=!1)}),this.showingAllFields=!1,this.showingRequiredFields=!0,this.forceValidation()}forceValidation(){Object.keys(this.form.controls).forEach(e=>{const t=this.form.controls[e];t.required&&Pu.isBlank(this.form.value[t.key])&&(t.markAsDirty(),t.markAsTouched())})}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](Yh))},e.\u0275cmp=r["\u0275\u0275defineComponent"]({type:e,selectors:[["novo-form"]],contentQueries:function(e,t,n){var o;1&e&&r["\u0275\u0275contentQuery"](n,Sd,!1),2&e&&r["\u0275\u0275queryRefresh"](o=r["\u0275\u0275loadQuery"]())&&(t.customTemplates=o)},inputs:{hideHeader:"hideHeader",form:"form",layout:"layout"},features:[r["\u0275\u0275ProvidersFeature"]([Yh])],ngContentSelectors:ou,decls:5,vars:2,consts:[[1,"novo-form-container"],[4,"ngIf"],[1,"novo-form",3,"formGroup"]],template:function(e,t){1&e&&(r["\u0275\u0275projectionDef"](ru),r["\u0275\u0275element"](0,"novo-control-templates"),r["\u0275\u0275elementStart"](1,"div",0),r["\u0275\u0275template"](2,nu,3,0,"header",1),r["\u0275\u0275elementStart"](3,"form",2),r["\u0275\u0275projection"](4),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"]()),2&e&&(r["\u0275\u0275advance"](2),r["\u0275\u0275property"]("ngIf",!t.hideHeader),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("formGroup",t.form))},directives:[Zh,i.m,Ui["\u0275angular_packages_forms_forms_y"],Ui.NgControlStatusGroup,Ui.FormGroupDirective],encapsulation:2}),e})();const Xh={provide:Ui.NG_VALUE_ACCESSOR,useExisting:Object(r.forwardRef)(()=>em),multi:!0};let em=(()=>{class e{constructor(e){this.ref=e,this.button=!1,this.theme="secondary",this.disabled=!1,this.change=new r.EventEmitter,this.onModelChange=()=>{},this.onModelTouched=()=>{}}select(e){Pu.swallowEvent(e),this.checked||(this.checked=!this.checked,this.change.emit(this.value),this.onModelChange(this.value),this.ref.markForCheck())}writeValue(e){this.model=e,this.ref.markForCheck()}registerOnChange(e){this.onModelChange=e}registerOnTouched(e){this.onModelTouched=e}setDisabledState(e){this.disabled=e}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](r.ChangeDetectorRef))},e.\u0275cmp=r["\u0275\u0275defineComponent"]({type:e,selectors:[["novo-radio"]],hostVars:2,hostBindings:function(e,t){2&e&&r["\u0275\u0275classProp"]("vertical",t.vertical)},inputs:{button:"button",theme:"theme",disabled:"disabled",checked:"checked",name:"name",value:"value",vertical:"vertical",label:"label",icon:"icon"},outputs:{change:"change"},features:[r["\u0275\u0275ProvidersFeature"]([Xh])],ngContentSelectors:ua,decls:4,vars:9,consts:[["type","radio",3,"name","checked","disabled","change"],[3,"click"],[3,"ngClass","theme","icon",4,"ngIf"],[4,"ngIf"],[3,"ngClass","theme","icon"],[3,"ngClass"]],template:function(e,t){1&e&&(r["\u0275\u0275projectionDef"](),r["\u0275\u0275elementStart"](0,"input",0),r["\u0275\u0275listener"]("change",(function(e){return t.select(e)})),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementStart"](1,"label",1),r["\u0275\u0275listener"]("click",(function(e){return t.select(e)})),r["\u0275\u0275template"](2,au,2,8,"button",2),r["\u0275\u0275template"](3,cu,4,5,"div",3),r["\u0275\u0275elementEnd"]()),2&e&&(r["\u0275\u0275property"]("name",t.name)("checked",t.checked)("disabled",t.disabled),r["\u0275\u0275attribute"]("id",t.name),r["\u0275\u0275advance"](1),r["\u0275\u0275classProp"]("disabled",t.disabled),r["\u0275\u0275attribute"]("for",t.name),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",t.button),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",!t.button))},directives:[i.m,xu,i.k],encapsulation:2}),e})(),tm=(()=>{class e{}return e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},imports:[[i.c,Iu]]}),e})(),nm=(()=>{class e extends ad{constructor(e,t,n){super(e,t,n),this.labels=t,this.taggingMode=""}get term(){return this._term}set term(e){this._term=e.searchTerm,this.taggingMode=e.taggingMode,this.hasError=!1,this.isLoading=!0,this.search(e,this.taggingMode).subscribe(e=>{this.matches=this.isStatic?this.filterData(e):e,this.isLoading=!1},()=>{this.hasError=!0,this.isLoading=!1})}search(e,t){const n=this.config.options[t];return Object(u.a)(new Promise((t,r)=>{if(n)if(Array.isArray(n))this.isStatic=!0,t(this.structureArray(n));else if(n.hasOwnProperty("reject")&&n.hasOwnProperty("resolve")||Object.getPrototypeOf(n).hasOwnProperty("then"))this.isStatic=!1,n.then(this.structureArray.bind(this)).then(t,r);else{if("function"!=typeof n)throw r("The data provided is not an array or a promise"),new Error("The data provided is not an array or a promise");this.isStatic=!1,n(e).then(this.structureArray.bind(this)).then(t,r)}else r("error")}))}structureArray(e){return e.map(!e||"string"!=typeof e[0]&&"number"!=typeof e[0]?e=>{const t=this.config.field?e[this.config.field[this.taggingMode]]:e.value||e;return{value:t,label:this.config.format?Pu.interpolate(this.config.format[this.taggingMode],e):e.label||String(t),data:e}}:e=>({value:e,label:e}))}selectMatch(e){e&&(e.stopPropagation(),e.preventDefault());const t=this.activeMatch;return t&&(this.parent.onSelected(this.taggingMode,t),this.parent.hideResults()),!1}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](r.ElementRef),r["\u0275\u0275directiveInject"](ju),r["\u0275\u0275directiveInject"](r.ChangeDetectorRef))},e.\u0275cmp=r["\u0275\u0275defineComponent"]({type:e,selectors:[["quick-note-results"]],hostAttrs:[1,"active"],features:[r["\u0275\u0275InheritDefinitionFeature"]],decls:4,vars:4,consts:[["theme","line",4,"ngIf"],[4,"ngIf"],["class","picker-error",4,"ngIf"],["class","picker-null",4,"ngIf"],["theme","line"],[3,"active","click","mouseenter",4,"ngFor","ngForOf"],[3,"click","mouseenter"],[3,"innerHtml"],[1,"picker-error"],[1,"picker-null"]],template:function(e,t){1&e&&(r["\u0275\u0275template"](0,lu,1,0,"novo-loading",0),r["\u0275\u0275template"](1,du,2,1,"novo-list",1),r["\u0275\u0275template"](2,hu,2,1,"p",2),r["\u0275\u0275template"](3,mu,2,1,"p",3)),2&e&&(r["\u0275\u0275property"]("ngIf",t.isLoading&&!t.matches.length),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",t.matches.length>0),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",t.hasError),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",!t.isLoading&&!t.matches.length&&!t.hasError))},directives:[i.m,Fu,Gu,i.l,qu,Wu],encapsulation:2}),e})();const rm={provide:Ui.NG_VALUE_ACCESSOR,useExisting:Object(r.forwardRef)(()=>om),multi:!0};let om=(()=>{class e extends Bu{constructor(e,t,n){super(t),this.zone=e,this.componentUtils=n,this.startupFocus=!1,this.focus=new r.EventEmitter,this.blur=new r.EventEmitter,this.change=new r.EventEmitter,this.placeholderVisible=!1,this._placeholderElement=null,this.onModelChange=()=>{},this.onModelTouched=()=>{},this.onActiveChange.subscribe(e=>{e||setTimeout(()=>{this.hideResults()})})}ngOnInit(){if(!this.config)throw new Error("No config set for QuickNote!");if(!this.config.triggers)throw new Error("QuickNote config must supply triggers!");if(!this.config.options)throw new Error("QuickNote config must supply options!");this.resultsComponent=this.config.resultsTemplate||nm}ngOnDestroy(){this.ckeInstance&&(this.ckeInstance.focusManager.blur(!0),setTimeout(()=>{this.ckeInstance.removeAllListeners(),CKEDITOR.instances[this.ckeInstance.name].destroy(),this.ckeInstance.destroy(),this.ckeInstance=null}))}ngAfterViewInit(){CKEDITOR?(this.ckeInstance=CKEDITOR.replace(this.host.nativeElement,this.getCKEditorConfig()),this.writeValue(this.model),this.ckeInstance.on("key",e=>{this.onKey(e.data.domEvent.$)||e.cancel()}),this.ckeInstance.on("change",()=>{this.debounceTimeout&&clearTimeout(this.debounceTimeout),this.debounceTimeout=setTimeout(()=>{this.zone.run(()=>{this.onValueChange()}),this.debounceTimeout=null},250)}),this.ckeInstance.on("blur",e=>{this.showPlaceholder(),this.blur.emit(e)}),this.ckeInstance.on("focus",e=>{this.hidePlaceholder(),this.focus.emit(e)}),this.ckeInstance.on("instanceReady",e=>{this.showPlaceholder(),this.config.readOnly&&this.ckeInstance.setReadOnly(this.config.readOnly)})):console.error("Make sure to include CKEditor sources in your dependencies!")}onTouched(e){this.onModelTouched()}writeValue(e){this.model=e&&(e.references||e.note)?{note:e.note||"",references:e.references||{}}:{note:e,references:{}},this.ckeInstance&&this.ckeInstance.setData(this.model.note)}registerOnChange(e){this.onModelChange=e}registerOnTouched(e){this.onModelTouched=e}static defaultRenderer(e,t){return`<a>${e}${t.label}</a>`}getRenderer(t){return this.config.renderer?this.config.renderer[t]:e.defaultRenderer}onKey(e){if(e.key)if(this.quickNoteResults){if(e.keyCode===Uu.ESC)return this.zone.run(()=>{this.hideResults()}),!1;if(e.keyCode===Uu.UP)return this.zone.run(()=>{this.quickNoteResults.instance.prevActiveMatch()}),!1;if(e.keyCode===Uu.DOWN)return this.zone.run(()=>{this.quickNoteResults.instance.nextActiveMatch()}),!1;if(e.keyCode===Uu.ENTER)return this.zone.run(()=>{this.quickNoteResults.instance.selectActiveMatch()}),!1}else{const t=this.config.triggers||{};Object.keys(t).forEach(n=>{e.key===(t[n]||{})&&(this.isTagging=!0,this.taggingMode=n)})}return!0}onValueChange(){let e=this.ckeInstance.getData();const t=new RegExp(String.fromCharCode(8203),"g");e=e.replace(t,""),this.validateReferences(),this.showResults();let n=null;e&&(n={note:e,references:this.model.references}),this.onModelChange(n),this.change.emit(n),this.onTouched()}showResults(){if(this.isTagging){const e=this.getSearchTerm();e.length?this.quickNoteResults?this.quickNoteResults.instance.term={searchTerm:e,taggingMode:this.taggingMode}:(this.quickNoteResults=this.componentUtils.append(this.resultsComponent,this.results),this.quickNoteResults.instance.parent=this,this.quickNoteResults.instance.config=this.config,this.quickNoteResults.instance.term={searchTerm:e,taggingMode:this.taggingMode},this.positionResultsDropdown()):this.quickNoteResults&&(this.quickNoteResults.destroy(),this.quickNoteResults=null),this.toggleActive(null,!0)}}hideResults(){this.isTagging=!1,this.quickNoteResults&&(this.quickNoteResults.destroy(),this.quickNoteResults=null)}onSelected(e,t){this.isTagging=!1;const n=this.config.triggers[e],r=this.getRenderer(e)(n,t);
2303this.replaceWordAtCursor(r),this.model.references=this.model.references||{},this.model.references[e]=this.model.references[e]||[],0===this.model.references[e].filter(e=>JSON.stringify(e)===JSON.stringify(t)).length&&this.model.references[e].push(t),this.onValueChange()}getSearchTerm(){let e=this.getWordAtCursor().trim();if(this.isTagging){const t=this.config.triggers[this.taggingMode];if(!e.includes(t))return this.hideResults(),"";e=e.slice(e.indexOf(t)+t.length)}return e}getWordAtCursor(){const e=this.ckeInstance.getSelection().getRanges()[0],t=e.startContainer;if(t.type===CKEDITOR.NODE_TEXT&&e.startOffset){const n=t.getText();let r=n.lastIndexOf(this.config.triggers[this.taggingMode],e.startOffset-1);if(r>0){const e=n.charAt(r-1);if("\u200b"!==e&&/\S/.test(e))return""}else if(t.hasPrevious()&&/\S$/.test(t.getPrevious().getText()))return"";let o=n.indexOf(" ",e.startOffset+1);return-1===r&&(r=0),-1===o&&(o=n.length),n.substring(r,o)}return""}replaceWordAtCursor(e){const t=this.getWordAtCursor().trim(),n=this.ckeInstance.getSelection().getRanges()[0],r=n.startContainer,o=r.getParent();if(r.type===CKEDITOR.NODE_TEXT&&o){const r=o.getHtml(),i=r.lastIndexOf(t);if(i>=0){const a=r.substring(0,i)+e+" "+r.substring(i+t.length);o.setHtml(a),n.moveToPosition(o,CKEDITOR.POSITION_BEFORE_END),this.ckeInstance.getSelection().selectRanges([n])}}}validateReferences(){let e=this.ckeInstance.document.getBody().getHtml();const t=new RegExp("&amp;","g");e=e.replace(t,"&"),Object.keys(this.model.references).forEach(t=>{const n=this.model.references[t]||[],r=this.config.triggers[t],o=this.getRenderer(t);this.model.references[t]=n.filter(t=>{const n=o(r,t);return e.includes(n)}),0===this.model.references[t].length&&delete this.model.references[t]})}getCKEditorConfig(){const t=this.wrapper.nativeElement.clientHeight-e.TOOLBAR_HEIGHT;return this.wrapper.nativeElement.style.setProperty("height","100%"),{enterMode:CKEDITOR.ENTER_BR,shiftEnterMode:CKEDITOR.ENTER_P,disableNativeSpellChecker:!1,height:t,startupFocus:this.startupFocus,removePlugins:"liststyle,tabletools,contextmenu",toolbar:[{name:"basicstyles",items:["Styles","FontSize","Bold","Italic","Underline","TextColor","-","NumberedList","BulletedList","Outdent","Indent","Link"]}]}}getCursorPosition(){const e=this.ckeInstance.getSelection().getRanges()[0].startContainer.$.parentElement,t=this.ckeInstance.editable().$,n=document.createElement("img");n.setAttribute("src","null"),n.setAttribute("width","0"),n.setAttribute("height","0"),e.a
2303ppendChild(n);const r={top:n.offsetTop-t.scrollTop,left:n.offsetLeft-t.scrollLeft};return n.remove(),r}positionResultsDropdown(){const t=2*e.TOOLBAR_HEIGHT,n=this.getContentHeight()+e.TOOLBAR_HEIGHT;let r=this.getCursorPosition().top+e.TOOLBAR_HEIGHT;r=Math.max(r,t),r=Math.min(r,n),this.quickNoteResults.instance.element.nativeElement.style.setProperty("margin-top",r+"px")}getContentHeight(){let e=0;if(this.ckeInstance.ui&&this.ckeInstance.ui.contentsElement&&this.ckeInstance.ui.contentsElement.$&&this.ckeInstance.ui.contentsElement.$.style){const t=this.ckeInstance.ui.contentsElement.$.style.cssText;if(-1!==t.indexOf("height: ")){let n=t.split("height: ")[1];n=n.split("px")[0],e=parseInt(n,10)}}return e}showPlaceholder(){this.ckeInstance.getData()||this.startupFocus||(this.ckeInstance.editable().getParent().$.appendChild(this.placeholderElement),this.placeholderVisible=!0)}hidePlaceholder(){this.placeholderVisible&&(this.ckeInstance.editable().getParent().$.removeChild(this.placeholderElement),this.placeholderVisible=!1)}get placeholderElement(){return this._placeholderElement||(this._placeholderElement=document.createElement("div"),this._placeholderElement.className="placeholder",this._placeholderElement.style.cssText="margin: 20px; color: #AAAAAA; font-family: sans-serif; font-size: 13px; line-height: 20px; position: absolute; top: 0",this._placeholderElement.textContent=this.placeholder),this._placeholderElement}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](r.NgZone),r["\u0275\u0275directiveInject"](r.ElementRef),r["\u0275\u0275directiveInject"](Qu))},e.\u0275cmp=r["\u0275\u0275defineComponent"]({type:e,selectors:[["novo-quick-note"]],viewQuery:function(e,t){var n;1&e&&(r["\u0275\u0275staticViewQuery"](pu,!0),r["\u0275\u0275staticViewQuery"](ws,!0),r["\u0275\u0275staticViewQuery"](Na,!0,r.ViewContainerRef)),2&e&&(r["\u0275\u0275queryRefresh"](n=r["\u0275\u0275loadQuery"]())&&(t.wrapper=n.first),r["\u0275\u0275queryRefresh"](n=r["\u0275\u0275loadQuery"]())&&(t.host=n.first),r["\u0275\u0275queryRefresh"](n=r["\u0275\u0275loadQuery"]())&&(t.results=n.first))},inputs:{startupFocus:"startupFocus",config:"config",placeholder:"placeholder"},outputs:{focus:"focus",blur:"blur",change:"change"},features:[r["\u0275\u0275ProvidersFeature"]([rm]),r["\u0275\u0275InheritDefinitionFeature"]],decls:6,vars:0,consts:[[1,"quick-note-wrapper"],["wrapper",""],["host",""],["results",""]],template:function(e,t){1&e&&(r["\u0275\u0275elementStart"](0,"div",0,1),r["\u0275\u0275element"](2,"textarea",null,2),r["\u0275\u0275element"](4,"span",null,3),r["\u0275\u0275elementEnd"]())},encapsulation:2}),e.TOOLBAR_HEIGHT=40,e})(),im=(()=>{class e{}return e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},imports:[[i.c,Ui.FormsModule,Lu,Zu]]}),e})(),am=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=r["\u0275\u0275defineComponent"]({type:e,selectors:[["utils"]],ngContentSelectors:ua,decls:1,vars:0,template:function(e,t){1&e&&(r["\u0275\u0275projectionDef"](),r["\u0275\u0275projection"](0))},encapsulation:2}),e})(),sm=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=r["\u0275\u0275defineComponent"]({type:e,selectors:[["util-action"],["novo-action"]],inputs:{icon:"icon",inverse:"inverse",disabled:"disabled"},ngContentSelectors:ua,decls:2,vars:3,consts:[["theme","icon",3,"icon","disabled"]],template:function(e,t){1&e&&(r["\u0275\u0275projectionDef"](),r["\u0275\u0275elementStart"](0,"button",0),r["\u0275\u0275projection"](1),r["\u0275\u0275elementEnd"]()),2&e&&(r["\u0275\u0275property"]("icon",t.icon)("disabled",t.disabled),r["\u0275\u0275attribute"]("inverse",t.inverse))},directives:[xu],encapsulation:2}),e})(),cm=(()=>{class e{constructor(){this.headerClass="novo-header",this.condensed=!1,this.inverse="inverse"}set theme(e){this._theme=e,this.inverse="white"===e||"off-white"===e||"light"===e?void 0:"inverse"}get theme(){return this._theme}set icon(e){this._icon="bhi-"+e}get icon(){return this._icon}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=r["\u0275\u0275defineComponent"]({type:e,selectors:[["header","theme",""]],hostVars:5,hostBindings:function(e,t){2&e&&(r["\u0275\u0275attribute"]("theme",t.theme),r["\u0275\u0275classMap"](t.headerClass),r["\u0275\u0275classProp"]("condensed",t.condensed))},inputs:{condensed:"condensed",theme:"theme",icon:"icon",title:"title",subTitle:"subTitle"},attrs:aa,ngContentSelectors:Cu,decls:9,vars:2,consts:[[1,"header-title"],[4,"ngIf"],["flex",""],["class","header-icon",3,"ngClass",4,"ngIf"],[1,"header-titles"],[1,"header-icon",3,"ngClass"]],template:function(e,t){1&e&&(r["\u0275\u0275projectionDef"](bu),r["\u0275\u0275elementStart"](0,"section"),r["\u0275\u0275elementStart"](1,"div",0),r["\u0275\u0275template"](2,yu,6,3,"ng-container",1),r["\u0275\u0275template"](3,vu,4,0,"ng-container",1),r["\u0275\u0275elementEnd"](),r["\u0275\u0275projection"](4),r["\u0275\u0275element"](5,"span",2),r["\u0275\u0275projection"](6,1),r["\u0275\u0275projection"](7,2),r["\u0275\u0275elementEnd"](),r["\u0275\u0275projection"](8,3)),2&e&&(r["\u0275\u0275advance"](2),r["\u0275\u0275property"]("ngIf",t.title),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",!t.title))},directives:[i.m,i.k],encapsulation:2}),e})(),lm=(()=>{class e{}return e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},imports:[[i.c,Iu]]}),e})(),um=(()=>{class e{constructor(e,t){this.labels=e,this.sanitizer=t,this.button=!0,this.sanitize=!0,this.confirmed=new r.EventEmitter,this.isActive=!0,this.isActive=!0,this.isLocalStorageEnabled=(()=>{let e=!1;if("object"==typeof localStorage)try{localStorage.setItem("lsTest","1"),localStorage.removeItem("lsTest"),e=!0}catch(t){console.warn('This web browser does not support storing settings locally. In Safari, the most common cause of this is using "Private Browsing Mode". Some settings may not save or some features may not work properly for you.')}return e})()}get tipWithStyles(){return this._tipWithStyles&&this._lastTipStyled===this.tip||(this._tipWithStyles=this.sanitizer.bypassSecurityTrustHtml(this.tip),this._lastTipStyled=this.tip),this._tipWithStyles}ngOnInit(){if(this.tip=this.tip||"",this.buttonText=this.buttonText||this.labels.okGotIt,this.button="string"==typeof this.button?"true"===this.button:this.button,this.icon=this.icon||null,this.name=this.name||Math.round(100*Math.random()),this.localStorageKey="novo-tw_"+this.name,this.isLocalStorageEnabled){const e=JSON.parse(localStorage.getItem(this.localStorageKey));this.isActive=!1!==e}}hideTip(){this.isLocalStorageEnabled&&localStorage.setItem(this.localStorageKey,JSON.stringify(!1)),this.isActive=!1,this.confirmed.emit()}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](ju),r["\u0275\u0275directiveInject"](o.DomSanitizer))},e.\u0275cmp=r["\u0275\u0275defineComponent"]({type:e,selectors:[["novo-tip-well"]],hostVars:2,hostBindings:function(e,t){2&e&&r["\u0275\u0275classProp"]("active",t.isActive)},inputs:{button:"button",sanitize:"sanitize",tip:"tip",buttonText:"buttonText",icon:"icon",name:"name"},outputs:{confirmed:"confirmed"},decls:1,vars:1,consts:[[4,"ngIf"],[3,"class",4,"ngIf"],[3,"innerHTML",4,"ngIf"],["theme","dialogue",3,"click",4,"ngIf"],[3,"innerHTML"],["theme","dialogue",3,"click"]],template:function(e,t){1&e&&r["\u0275\u0275template"](0,ku,6,4,"div",0),2&e&&r["\u0275\u0275property"]("ngIf",t.isActive)},directives:[i.m,xu],encapsulation:2}),e})(),dm=(()=>{class e{}return e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},imports:[[i.c,Iu]]}),e})(),hm=(()=>{class e{}return e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},imports:[[i.c,Iu]]}),e})(),mm=(()=>{class e{}return e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},providers:[Yh],imports:[[i.c,Ui.ReactiveFormsModule,tm,$d,Pd,md,vd,rh,mh,wd,Kd,im,ph,lm,Au,ta.TextMaskModule,dm,hm,Iu,_d]]}),e})(),pm=(()=>{class e{}return e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)}}),e})(),fm=(()=>{class e{}return e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},imports:[[i.c,Ui.FormsModule,md,vd]]}),e})();class gm{}let ym=(()=>{class e extends gm{get nativeGlobal(){return window}
2303}return e.\u0275fac=function(t){return vm(t||e)},e.\u0275prov=r["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})();const vm=r["\u0275\u0275getInheritedFactory"](ym);let bm=(()=>{class e{setItem(e,t){localStorage.setItem(e,t)}getItem(e){return localStorage.getItem(e)}removeItem(e){localStorage.removeItem(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=r["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})(),Cm=(()=>{class e{constructor(e,t,n,r){this._http=e,this.platformId=t,this._global=n,this._localStorageService=r}getPredictions(e,t){return new Promise(n=>{this._http.get(e+"?query="+t).subscribe(e=>{n(e||!1)})})}getLatLngDetail(e,t,n){return new Promise(r=>{this._http.get(e+"?lat="+t+"&lng="+n).subscribe(e=>{r(e||!1)})})}getPlaceDetails(e,t){return new Promise(n=>{this._http.get(e+"?query="+t).subscribe(e=>{n(e||!1)})})}getGeoCurrentLocation(){return new Promise(e=>{if(Object(i.y)(this.platformId)){const t=this._global.nativeGlobal;t.navigator.geolocation?t.navigator.geolocation.getCurrentPosition(t=>{const n={lat:parseFloat(t.coords.latitude+""),lng:parseFloat(t.coords.longitude+"")};e(n)}):e(!1)}else e(!1)})}getGeoLatLngDetail(e){return new Promise(t=>{Object(i.y)(this.platformId)?(new this._global.nativeGlobal.google.maps.Geocoder).geocode({location:e},(e,n)=>{"OK"===n?this.getGeoPlaceDetail(e[0].place_id).then(e=>{t(e||!1)}):t(!1)}):t(!1)})}getGeoPrediction(e){return new Promise(t=>{if(Object(i.y)(this.platformId)){const n=this._global.nativeGlobal,r=new n.google.maps.places.AutocompleteService;let o={};const i=[];if(o=e.countryRestriction.length?{input:e.query,componentRestrictions:{country:e.countryRestriction}}:{input:e.query},e.geoLocation&&(o.location=new n.google.maps.LatLng(parseFloat(e.geoLocation[0]),parseFloat(e.geoLocation[1])),o.radius=e.radius),e.geoTypes.length)for(let t=0;t<e.geoTypes.length;t++){const n=o;n.types=new Array(e.geoTypes[t]),i.push(this.geoPredictionCall(r,n))}else i.push(this.geoPredictionCall(r,o));Promise.all(i).then(e=>{const n=e;if(n.length>1){let e=[];for(let t=0;t<n.length;t++)n[t]&&n[t].length&&(e=e.concat(n[t]));e=this.getUniqueResults(e),t(e)}else t(e[0])})}else t(!1)})}getGeoPlaceDetail(e){return new Promise(t=>{Object(i.y)(this.platformId)?new this._global.nativeGlobal.google.maps.places.PlacesService(document.createElement("div")).getDetails({placeId:e},(e,n)=>{null===e||0===e.length?this.getGeoPaceDetailByReferance(e.referance).then(e=>{t(e||!1)}):t(e)}):t(!1)})}getGeoPaceDetailByReferance(e){return new Promise(t=>{if(Object(i.y)(this.platformId)){const n=this._global.nativeGlobal;(new n.google.maps.places.PlacesService).getDetails({reference:e},(e,r)=>{t(r===n.google.maps.places.PlacesServiceStatus.OK&&e)})}else t(!1)})}addRecentList(e,t,n){this.getRecentList(e).then(r=>{if(r){for(let e=0;e<r.length;e++)if(r[e].description===t.description){r.splice(e,1);break}r.unshift(t),r.length>n&&r.pop(),this._localStorageService.setItem(e,JSON.stringify(r))}})}getRecentList(e){return new Promise(t=>{let n=this._localStorageService.getItem(e);n=n?JSON.parse(n):[],t(n)})}getUniqueResults(e){return Array.from(e.reduce((e,t)=>e.set(t.place_id,t),new Map).values())}geoPredictionCall(e,t){const n=this._global.nativeGlobal;return new Promise(r=>{e.getPlacePredictions(t,(e,t)=>{r(t===n.google.maps.places.PlacesServiceStatus.OK&&e)})})}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275inject"](Sr),r["\u0275\u0275inject"](r.PLATFORM_ID),r["\u0275\u0275inject"](gm),r["\u0275\u0275inject"](bm))},e.\u0275prov=r["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})(),wm=(()=>{class e{}return e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},providers:[Cm],imports:[[i.c,Fr,Ui.FormsModule,Zu]]}),e})(),Sm=(()=>{class e{}return e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)}}),e})(),_m=(()=>{class e{constructor(){this.id=Math.random(),this.sort=void 0,this.filter=void 0,this.page=0,this.pageSize=void 0,this.globalSearch=void 0,this.selectedRows=new Map,this.updates=new r.EventEmitter,this.onReset=new r.EventEmitter}get userFiltered(){return!!(this.filter||this.sort||this.globalSearch||this.outsideFilter)}reset(e=!0,t){t||(this.sort=void 0,this.globalSearch=void 0,this.filter=void 0),this.page=0,this.selectedRows.clear(),this.onReset.emit(!0),e&&this.updates.emit({sort:this.sort,filter:this.filter,globalSearch:this.globalSearch})}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=r["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})(),Em=(()=>{class e{}return e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},providers:[_m],imports:[[rh,zi,i.c,Ui.FormsModule,Iu,Od,Kd,Lu,$d,Jd]]}),e})(),km=(()=>{class e{}return e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},imports:[[i.c,Iu]]}),e})(),xm=(()=>{class e{}return e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},imports:[[i.c,ai,Iu,ia,pm,ea]]}),e})(),Im=(()=>{class e{}return e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},providers:[ju],imports:[[i.c,Ui.FormsModule,ei,Hu,Zu,Kd,Iu,Od]]}),e})(),Om=(()=>{class e{}return e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},imports:[[i.c,Ui.FormsModule,Pd,Od,Iu]]}),e})(),Tm=(()=>{class e{}return e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},imports:[[i.c]]}),e})(),Am=(()=>{class e{}return e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},imports:[[i.c,Ui.FormsModule,mm,Om,Tm,Iu,Au,Od,Lu,rh,Kd,ta.TextMaskModule]]}),e})(),Pm=(()=>{class e{}return e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},imports:[[i.c]]}),e})(),Dm=(()=>{class e{}return e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},imports:[[i.c]]}),e})(),Rm=(()=>{class e{}return e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},providers:[{provide:Qu,useClass:Qu},{provide:eh,useClass:eh},{provide:ju,useClass:ju},{provide:Cm,useClass:Cm},{provide:gm,useClass:ym},{provide:bm,useClass:bm},{provide:Nh,useClass:Nh},{provide:jh,useClass:jh}],imports:[[Ui.ReactiveFormsModule],Mu,Iu,Lu,Vu,Nu,Tm,Au,lm,Hu,$d,hm,im,tm,Od,Pd,Zu,od,km,md,vd,rh,mh,ph,wd,dm,Em,Am,Om,mm,Kd,Ju,fm,Sm,ah,Jd,rd,wm,Dm,pm,fh,Pm,_d,xm,ei,Im]}),e})(),Mm=(()=>{class e{constructor(e,t,n,r,o){this.router=e,this.meta=t,this.ref=n,this.toastService=r,this.modalService=o,this.title=ko.settings.companyName,ko.settings.integrations.googleSiteVerification&&this.meta.updateTag({name:"google-site-verification",content:ko.settings.integrations.googleSiteVerification.verificationCode});let i="";ko.settings.integrations.googleAnalytics&&(i=ko.settings.integrations.googleAnalytics.trackingId),i&&!ko.isServer&&this.router.events.subscribe(e=>{e instanceof ve&&(window.ga("create",i,"auto"),window.ga("set","page",e.urlAfterRedirects),window.ga("send","pageview"))})}ngOnInit(){this.toastService.parentViewContainer=this.ref,this.modalService.parentViewContainer=this.ref}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](Rn),r["\u0275\u0275directiveInject"](o.Meta),r["\u0275\u0275directiveInject"](r.ViewContainerRef),r["\u0275\u0275directiveInject"](ih),r["\u0275\u0275directiveInject"](Hh))},e.\u0275cmp=r["\u0275\u0275defineComponent"]({type:e,selectors:[["app-root"]],decls:4,vars:1,consts:[["icon","company","theme","neutral","condensed","true",3,"title"],["novo-title","",1,"entity-header"]],template:function(e,t){1&e&&(r["\u0275\u0275elementStart"](0,"header",0),r["\u0275\u0275element"](1,"div",1),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementStart"](2,"div"),r["\u0275\u0275element"](3,"router-outlet"),r["\u0275\u0275elementEnd"]()),2&e&&r["\u0275\u0275property"]("title",t.title)},directives:[cm,Fn],styles:[""]}),e})(),Nm=(()=>{class e{constructor(){ko.settings.integrations.googleAnalytics&&(this.trackingId=ko.settings.integrations.googleAnalytics.trackingId)}trackEvent(e){this.trackingId&&!ko.isServer&&window.ga("send",{hitType:"event",eventCategory:"Career Portal",eventAction:e,eventLabel:e})}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=r["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})(),jm=(()=>{class e{constructor(e,t){this.http=e,this.settings=t}get baseUrl(){var e;let t=null===(e=ko.settings)||void 0===e?void 0:e.service,n=(null==t?void 0:t.port)?t.port:443;return`${"http"+(443===n?"s":"")}://public-rest${null==t?void 0:t.swimlane}.bullhornstaffing.com:${n}/rest-services/${null==t?void 0:t.corpToken}`}getjobs(e,t={},n=30){let r=[];t.query=`(isOpen:1) AND (isDeleted:0)${this.formatAdditionalCriteria(!0)}${this.formatFilter(e,!0)}`,t.fields=ko.settings.service.fields,t.count=n,t.sort=ko.settings.additionalJobCriteria.sort,t.showTotalMatched=!0;for(let i in t)r.push(`${i}=${t[i]}`);let o=r.join("&");return this.http.get(`${this.baseUrl}/search/JobOrder?${o}`)}openJob(e){var t,n;return this.http.get(`${this.baseUrl}/query/JobBoardPost?where=(id=${e})&fields=${null===(n=null===(t=ko.settings)||void 0===t?void 0:t.service)||void 0===n?void 0:n.fields}`)}getCurrentJobIds(e,t){let n=[],r={};r.query=`(isOpen:1) AND (isDeleted:0)${this.formatAdditionalCriteria(!0)}${this.formatFilter(e,!0,t)}`,r.count="500",r.fields="id",r.sort="id";for(let i in r)n.push(`${i}=${r[i]}`);let o=n.join("&");return this.http.get(`${this.baseUrl}/search/JobOrder?${o}`)}getAvailableFilterOptions(e,t){let n={},r=[];if(e.length>0){switch(n.where=`id IN (${e.toString()})`,n.count="500",n.fields=t+",count(id)",n.groupBy=t,t){case"publishedCategory(id,name)":n.orderBy="publishedCategory.name";break;case"address(state)":n.orderBy="address.state";break;case"address(city)":n.orderBy="address.city";break;default:n.orderBy="-count.id"}for(let e in n)r.push(`${e}=${n[e]}`);let o=r.join("&");return this.http.get(`${this.baseUrl}/query/JobBoardPost?${o}`)}return l({count:0,start:0,data:[]})}formatAdditionalCriteria(e){let t=ko.settings.additionalJobCriteria.field,n=ko.settings.additionalJobCriteria.values,r="",o=e?'"':"'",i=e?":":"=";if(t&&n.length>0&&"[ FILTER FIELD HERE ]"!==t&&"[ FILTER VALUE HERE ]"!==n[0]){for(let e=0;e<n.length;e++)r+=e>0?" OR ":" AND (",r+=`${t}${i}${o}${n[e]}${o}`;r+=")"}return r}formatFilter(e,t,n=[]){let r="";for(let o in e)if(!n.includes(o)){let t=e[o];"string"==typeof t?r+=` AND (${t})`:t.length&&(r+=` AND (${t.join(" OR ")})`)}return r.replace(/{\?\^\^equals}/g,t?":":"=").replace(/{\?\^\^delimiter}/g,t?'"':"'")}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275inject"](Sr),r["\u0275\u0275inject"](ko))},e.\u0275prov=r["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})(),Fm=(()=>
2303{class e{constructor(){this.requestParams={additionalEmailInfo:e=>"?subject="+encodeURIComponent(e.title)+"&body="+this.description(e,window.location.href)+this.additionalEmailInfo(e),facebook:()=>"?display=popup&app_id="+this.config.keys.facebook+"&href="+encodeURIComponent(window.location.href)+"&redirect_uri="+encodeURIComponent("https://www.facebook.com/")+"&source=facebook",twitter:e=>"?text="+encodeURIComponent(this.description(e))+"&url="+encodeURIComponent(window.location.href)+"&source=twitter",linkedin:e=>"?mini=true&source=Bullhorn%20Career%20Portal&title="+encodeURIComponent(this.description(e))+"&url="+encodeURIComponent(window.location.href)+"&source=linkedin",email:e=>"?subject="+encodeURIComponent(e.title)+"&body="+this.description(e,window.location.href)}}get config(){return{url:{facebook:"https://www.facebook.com/dialog/share",twitter:"https://twitter.com/intent/tweet",linkedin:"https://www.linkedin.com/shareArticle"},keys:{facebook:"1439597326343190"}}}emailLink(e){return"mailto:"+this.requestParams.email(e)}facebook(e){window.open(this.config.url.facebook+this.requestParams.facebook(e))}linkedin(e){window.open(this.config.url.linkedin+this.requestParams.linkedin(e))}sendEmailLink(e,t){return"mailto:"+(t=t||"")+this.requestParams.additionalEmailInfo(e)}twitter(e){window.open(this.config.url.twitter+this.requestParams.twitter(e))}additionalEmailInfo(e){let t="\n";if(e.title&&(t+="\nTitle: Jobs"),e.publishedCategory&&e.publishedCategory.name&&(t+="\nCategory: "+e.publishedCategory.name),e.address){let n="\nLocation: ";e.address.city&&e.address.state?t+=n+e.address.city+", "+e.address.state+"\n":e.address.city?t+=n+e.address.city+"\n":e.address.state&&(t+=n+e.address.state+"\n")}return encodeURIComponent(t)}description(e,t){return t?"Check out this "+encodeURIComponent(e.title)+" job: "+encodeURIComponent(t):"Check out this "+encodeURIComponent(e.title)+" job!"}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=r["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})(),Lm=(()=>{class e{constructor(e,t){this.http=e,this.settings=t}get baseUrl(){let e=ko.settings.service,t=e.port?e.port:443;return`${"http"+(443===t?"s":"")}://public-rest${e.swimlane}.bullhornstaffing.com:${t}/rest-services/${e.corpToken}/apply`}apply(e,t,n){let r=this.assembleParams(t);return this.http.post(`${this.baseUrl}/${e}/raw?${r}`,n)}assembleParams(e){let t=[];t.push("externalID=Resume"),t.push("type=Resume");for(let n in e)e.hasOwnProperty(n)&&e[n]&&t.push(`${n}=${e[n]}`);return t.join("&")}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275inject"](Sr),r["\u0275\u0275inject"](ko))},e.\u0275prov=r["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})();var Vm=n("FGiv");let Bm=(()=>{class e{constructor(e){this.response=e}getHeader(e){return this.response.getHeader(e)}setHeader(e,t){return this.response&&this.response.header(e,t),this}appendHeader(e,t,n=","){if(this.response){const r=this.getHeader(e);if(!r)return this.setHeader(e,t);const o=[...r.split(n),t].filter((e,t,n)=>t===n.indexOf(e)).join(n);this.response.header(e,o)}return this}setHeaders(e){return this.response&&Object.keys(e).forEach(t=>this.setHeader(t,e[t])),this}setStatus(e,t){return this.response&&(this.response.statusCode=e,t&&(this.response.statusMessage=t)),this}setNotFound(e="not found"){return ko.isServer&&(this.response.status(404),this.response.statusMessage=e),this}setUnauthorized(e="Unauthorized"){return this.response&&(this.response.statusCode=401,this.response.statusMessage=e),this}setCachePrivate(){return this.response&&this.setCache("private"),this}setCacheNone(){return this.response&&(this.setHeader("Cache-Control","no-cache, no-store, must-revalidate"),this.setHeader("Pragma","no-cache")),this}setCache(e,t,n){return this.response&&(this.setHeader("Cache-Control",n?`${e}, max-age=${t?Vm(t)/1e3:0}, s-maxage=${Vm(n)/1e3}`:`${e}, max-age=${t?Vm(t)/1e3:0}`),this.setHeader("Expires",t?new Date(Date.now()+Vm(t)).toUTCString():new Date(Date.now()).toUTCString())),this}setError(e="internal server error"){return this.response&&(this.response.statusCode=500,this.response.statusMessage=e),this}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275inject"](rr,8))},e.\u0275prov=r["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),Um=(()=>{class e{constructor(e,t,n){this.searchService=e,this.serverResponse=t,this.settingsService=n}resolve(e){return t=this,void 0,r=function*(){return ko.loaded||(yield this.settingsService.load()),yield this.searchService.openJob(e.paramMap.get("id")).pipe(ne(()=>(this.serverResponse.setNotFound(),console.error("invalid job id"),l({jobs:[]})))).toPromise()}
2303,new((n=void 0)||(n=Promise))((function(e,o){function i(e){try{s(r.next(e))}catch(t){o(t)}}function a(e){try{s(r.throw(e))}catch(t){o(t)}}function s(t){var r;t.done?e(t.value):(r=t.value,r instanceof n?r:new n((function(e){e(r)}))).then(i,a)}s((r=r.apply(t,[])).next())}));var t,n,r}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275inject"](jm),r["\u0275\u0275inject"](Bm),r["\u0275\u0275inject"](ko))},e.\u0275prov=r["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})();var Hm=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{c(r.next(e))}catch(t){i(t)}}function s(e){try{c(r.throw(e))}catch(t){i(t)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))};let Gm=(()=>{class e{constructor(e,t){this.http=e,this.transferState=t}getTranslation(e){const t=(e.split("-")[0]||"").toLowerCase();return Object(u.a)(this.getLanguageAndLocale(t,e))}translationFetcher(e){return Hm(this,void 0,void 0,(function*(){return yield this.http.get(`i18n/${e}.json`).toPromise()}))}getLanguageAndLocale(e,t){return Hm(this,void 0,void 0,(function*(){const n=Object(o.makeStateKey)("transfer-translate-"+e),r=Object(o.makeStateKey)("transfer-translate-"+t);let i={},a={};try{i=this.transferState.get(r,null),i||(i=yield this.translationFetcher(e))}catch(s){i={}}try{a=this.transferState.get(n,null),a||(a=yield this.translationFetcher(t))}catch(s){a={}}return Object.assign(Object.assign({},i),a)}))}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275inject"](Sr),r["\u0275\u0275inject"](o.TransferState))},e.\u0275prov=r["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})();function qm(e,t){1&e&&r["\u0275\u0275element"](0,"novo-loading")}function Km(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"novo-form",3),r["\u0275\u0275elementStart"](1,"div",4),r["\u0275\u0275element"](2,"novo-control",5),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"]()),2&e){const e=r["\u0275\u0275nextContext"]();r["\u0275\u0275property"]("form",e.form),r["\u0275\u0275advance"](2),r["\u0275\u0275property"]("form",e.form)("control",e.control)}}let zm=(()=>{class e{constructor(e,t){this.service=e,this.formUtils=t,this.checkboxFilter=new r.EventEmitter,this.loading=!0,this.viewAllOptions=!1}ngOnChanges(e){switch(this.field){case"publishedCategory(id,name)":this.fieldName="publishedCategory";break;default:this.fieldName=this.field}this.getFilterOptions()}toggleAllOptions(){this.viewAllOptions=!this.viewAllOptions}getFilterOptions(){this.loading=!0,this.service.getCurrentJobIds(this.filter,[this.fieldName]).subscribe(this.handleJobIdsOnSuccess.bind(this))}handleJobIdsOnSuccess(e){let t=e.data.map(e=>e.id);this.service.getAvailableFilterOptions(t,this.field).subscribe(this.setFieldOptionsOnSuccess.bind(this))}setFieldOptionsOnSuccess(e){let t;switch(this.field){case"address(city)":this.options=e.data.map(e=>({value:e.address.city,label:`${e.address.city} (${e.idCount})`})).filter(e=>e.value),t=e=>{let t=[];this.lastSetValue=e.getActiveValue(),e.getActiveValue()&&(t=e.getActiveValue().map(e=>`address.city{?^^equals}{?^^delimiter}${e}{?^^delimiter}`)),this.checkboxFilter.emit(t)};break;case"address(state)":this.options=e.data.map(e=>({value:e.address.state,label:`${e.address.state} (${e.idCount})`})).filter(e=>e.value),t=e=>{let t=[];this.lastSetValue=e.getActiveValue(),e.getActiveValue()&&(t=e.getActiveValue().map(e=>`address.state{?^^equals}{?^^delimiter}${e}{?^^delimiter}`)),this.checkboxFilter.emit(t)};break;case"publishedCategory(id,name)":this.options=e.data.filter(e=>!!e.publishedCategory).map(e=>({value:e.publishedCategory.id,label:`${e.publishedCategory.name} (${e.idCount})`})),t=e=>{let t=[];this.lastSetValue=e.getActiveValue(),e.getActiveValue()&&(t=e.getActiveValue().map(e=>"publishedCategory.id{?^^equals}"+e)),this.checkboxFilter.emit(t)}}this.control=new bh({key:"checklist",options:this.options,interactions:[{event:"change",script:t.bind(this),invokeOnInit:!1}]}),this.formUtils.setInitialValues([this.control],{checklist:this.lastSetValue}),this.form=this.formUtils.toFormGroup([this.control]),this.loading=!1}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](jm),r["\u0275\u0275directiveInject"](jh))},e.\u0275cmp=r["\u0275\u0275defineComponent"]({type:e,selectors:[["app-sidebar-filter"]],inputs:{filter:"filter",field:"field",title:"title"},outputs:{checkboxFilter:"checkboxFilter"},features:[r["\u0275\u0275NgOnChangesFeature"]],decls:6,vars:6,consts:[[1,"filter-header"],[4,"ngIf"],[3,"form",4,"ngIf"],[3,"form"],[1,"novo-form-row"],[3,"form","control"]],template:function(e,t){1&e&&(r["\u0275\u0275elementStart"](0,"div",0),r["\u0275\u0275elementStart"](1,"span"),r["\u0275\u0275text"](2),r["\u0275\u0275pipe"](3,"translate"),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"](),r["\u0275\u0275template"](4,qm,1,0,"novo-loading",1),r["\u0275\u0275template"](5,Km,3,3,"novo-form",2)),2&e&&(r["\u0275\u0275advance"](2),r["\u0275\u0275textInterpolate2"]("",r["\u0275\u0275pipeBind1"](3,4,"FILTER_BY")," ",t.title,""),r["\u0275\u0275advance"](2),r["\u0275\u0275property"]("ngIf",t.loading),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",!t.loading))},directives:[i.m,Fu,Qh,Wh],pipes:[wo],styles:["[_nghost-%COMP%]   .filter-header[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:space-between;padding:0 25px;color:#2f384f;margin-bottom:20px;font-weight:500}"]}),e})();function Ym(e,t){1&e&&r["\u0275\u0275element"](0,"novo-loading")}function $m(e,t){if(1&e){const e=r["\u0275\u0275getCurrentView"]();r["\u0275\u0275elementContainerStart"](0),r["\u0275\u0275elementStart"](1,"div",10),r["\u0275\u0275elementStart"](2,"app-sidebar-filter",11),r["\u0275\u0275listener"]("checkboxFilter",(function(t){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"]().updateFilter("publishedCategory",t)})),r["\u0275\u0275pipe"](3,"translate"),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementStart"](4,"app-sidebar-filter",12),r["\u0275\u0275listener"]("checkboxFilter",(function(t){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"]().updateFilter("address(state)",t)})),r["\u0275\u0275pipe"](5,"translate"),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementStart"](6,"app-sidebar-filter",13),r["\u0275\u0275listener"]("checkboxFilter",(function(t){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"]().updateFilter("address(city)",t)})),r["\u0275\u0275pipe"](7,"translate"),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementContainerEnd"]()}if(2&e){const e=r["\u0275\u0275nextContext"]();r["\u0275\u0275advance"](2),r["\u0275\u0275propertyInterpolate"]("title",r["\u0275\u0275pipeBind1"](3,6,"CATEGORY")),r["\u0275\u0275property"]("filter",e.filter),r["\u0275\u0275advance"](2),r["\u0275\u0275propertyInterpolate"]("title",r["\u0275\u0275pipeBind1"](5,8,"STATE")),r["\u0275\u0275property"]("filter",e.filter),r["\u0275\u0275advance"](2),r["\u0275\u0275propertyInterpolate"]("title",r["\u0275\u0275pipeBind1"](7,10,"CITY")),r["\u0275\u0275property"]("filter",e.filter)}}function Wm(e,t){if(1&e){const e=r["\u0275\u0275getCurrentView"]();r["\u0275\u0275elementStart"](0,"item",17),r["\u0275\u0275listener"]("click",(function(){r["\u0275\u0275restoreView"](e);
2303const n=t.$implicit;return r["\u0275\u0275nextContext"](2).setPreferredLanguage(n.localeCode)})),r["\u0275\u0275text"](1),r["\u0275\u0275elementEnd"]()}if(2&e){const e=t.$implicit;r["\u0275\u0275advance"](1),r["\u0275\u0275textInterpolate1"](" ",e.name," ")}}function Zm(e,t){if(1&e&&(r["\u0275\u0275elementContainerStart"](0),r["\u0275\u0275elementStart"](1,"novo-dropdown",14),r["\u0275\u0275elementStart"](2,"button",15),r["\u0275\u0275text"](3),r["\u0275\u0275pipe"](4,"translate"),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementStart"](5,"list"),r["\u0275\u0275template"](6,Wm,2,1,"item",16),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementContainerEnd"]()),2&e){const e=r["\u0275\u0275nextContext"]();r["\u0275\u0275advance"](3),r["\u0275\u0275textInterpolate1"](" ",r["\u0275\u0275pipeBind1"](4,2,"PREFERRED_LANGUAGE")," "),r["\u0275\u0275advance"](3),r["\u0275\u0275property"]("ngForOf",e.availableLocales)}}function Jm(e,t){if(1&e){const e=r["\u0275\u0275getCurrentView"]();r["\u0275\u0275elementStart"](0,"a",18),r["\u0275\u0275listener"]("click",(function(){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"]().viewPrivacyPolicy()})),r["\u0275\u0275text"](1),r["\u0275\u0275pipe"](2,"translate"),r["\u0275\u0275elementEnd"]()}2&e&&(r["\u0275\u0275advance"](1),r["\u0275\u0275textInterpolate"](r["\u0275\u0275pipeBind1"](2,1,"PRIVACY_POLICY")))}let Qm=(()=>{class e{constructor(e,t){var n,o,i;this.searchService=e,this.router=t,this.newFilter=new r.EventEmitter,this.toggleSidebar=new r.EventEmitter,this.display=!1,this.controls=[],this.keyword="",this.loading=!1,this.filter={},this.showPrivacyPolicy=ko.settings.privacyConsent.sidebarLink,this.languageDropdownEnabled=(null===(n=ko.settings.languageDropdownOptions)||void 0===n?void 0:n.enabled)&&!ko.isServer,this.availableLocales=(null===(i=null===(o=ko.settings)||void 0===o?void 0:o.languageDropdownOptions)||void 0===i?void 0:i.choices)||[]}searchOnDelay(){const e=ko.settings.service.keywordSearchFields;this.timeout&&clearTimeout(this.timeout),this.timeout=setTimeout(()=>{let t="";this.keyword.trim()&&e.forEach((e,n)=>{n>0&&(t+=" OR "),t+=`${e}{?^^equals}${this.keyword.trim()?this.keyword.trim()+"*":""}`}),delete this.filter.ids,t?this.filter.keyword=t:delete this.filter.keyword,this.searchService.getCurrentJobIds(this.filter,[]).subscribe(this.handleJobIdsOnSuccess.bind(this))},250)}updateFilter(e,t){delete this.filter.keyword,this.filter[e]=t;let n={};Object.assign(n,this.filter),this.filter=n,this.newFilter.emit(this.filter)}hideSidebar(){this.toggleSidebar.emit(!1)}viewPrivacyPolicy(){const e=ko.settings.privacyConsent.privacyPolicyUrl;"/privacy"===e?this.router.navigate([e]):window.open(e)}setPreferredLanguage(e){localStorage.setItem("preferredLanguage",e),location.reload()}handleJobIdsOnSuccess(e){let t=e.data.map(e=>"id{?^^equals}"+e.id);0===t.length&&t.push("id{?^^equals}0"),this.updateFilter("ids",t)}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](jm),r["\u0275\u0275directiveInject"](Rn))},e.\u0275cmp=r["\u0275\u0275defineComponent"]({type:e,selectors:[["app-sidebar"]],hostVars:2,hostBindings:function(e,t){2&e&&r["\u0275\u0275classProp"]("active",t.display)},inputs:{display:"display"},outputs:{newFilter:"newFilter",toggleSidebar:"toggleSidebar"},decls:13,vars:5,consts:[[1,"header"],[1,"close-filter-container"],["theme","icon","icon","times",3,"click"],["placeholder","Keyword Search","alwaysOpen","true",3,"ngModel","ngModelChange"],[4,"ngIf"],["class","privacy-policy-link",3,"click",4,"ngIf"],[1,"credits"],[1,"powered-by"],["target","_blank","href","http://www.bullhorn.com/"],["src","assets/logo.svg",1,"bullhorn"],[1,"filters"],["field","publishedCategory(id,name)","data-automation-id","category",3,"title","filter","checkboxFilter"],["field","address(state)","data-automation-id","state",3,"title","filter","checkboxFilter"],["field","address(city)","data-automation-id","city",3,"title","filter","checkboxFilter"],["side","left","side","above-below",1,"preferredLanguageDropdown"],["type","button","theme","dialogue","icon","collapse","inverse",""],[3,"click",4,"ngFor","ngForOf"],[3,"click"],[1,"privacy-policy-link",3,"click"]],template:function(e,t){1&e&&(r["\u0275\u0275elementStart"](0,"div",0),r["\u0275\u0275elementStart"](1,"div",1),r["\u0275\u0275elementStart"](2,"button",2),r["\u0275\u0275listener"]("click",(function(){return t.hide
2303Sidebar()})),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementStart"](3,"novo-search",3),r["\u0275\u0275listener"]("ngModelChange",(function(e){return t.keyword=e}))("ngModelChange",(function(){return t.searchOnDelay()})),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"](),r["\u0275\u0275template"](4,Ym,1,0,"novo-loading",4),r["\u0275\u0275template"](5,$m,8,12,"ng-container",4),r["\u0275\u0275template"](6,Zm,7,4,"ng-container",4),r["\u0275\u0275template"](7,Jm,3,3,"a",5),r["\u0275\u0275elementStart"](8,"section",6),r["\u0275\u0275elementStart"](9,"span",7),r["\u0275\u0275text"](10,"Powered By"),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementStart"](11,"a",8),r["\u0275\u0275element"](12,"img",9),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"]()),2&e&&(r["\u0275\u0275advance"](3),r["\u0275\u0275property"]("ngModel",t.keyword),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",t.loading),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",!t.loading),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",t.languageDropdownEnabled),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",t.showPrivacyPolicy))},directives:[xu,Zd,Ui.NgControlStatus,Ui.NgModel,i.m,Fu,zm,kd,Id,i.l,xd],pipes:[wo],styles:["[_nghost-%COMP%]{background-color:#f4f4f4}[_nghost-%COMP%]::-webkit-scrollbar{background-color:#fff;height:4px;width:4px}[_nghost-%COMP%]::-webkit-scrollbar-track{background-color:#fff}[_nghost-%COMP%]::-webkit-scrollbar-thumb{background-color:#babac0;border-radius:4px}[_nghost-%COMP%]   novo-form[_ngcontent-%COMP%]{margin-top:30px;padding-right:20px}[_nghost-%COMP%] > section.credits[_ngcontent-%COMP%]{padding:27px 0 0 20px}[_nghost-%COMP%] > section.credits[_ngcontent-%COMP%]   span.powered-by[_ngcontent-%COMP%]{font-size:1em;font-weight:600;color:#202945}[_nghost-%COMP%] > section.credits[_ngcontent-%COMP%]   .bullhorn[_ngcontent-%COMP%]{display:block;position:relative;bottom:20px;margin:0}@media only screen and (max-width:768px){[_nghost-%COMP%]{position:absolute;left:-80%;transition:all .2s ease-in-out}.active[_nghost-%COMP%]{position:static;left:0}}@media only screen and (min-width:768px){[_nghost-%COMP%]   .header[_ngcontent-%COMP%]   .close-filter-container[_ngcontent-%COMP%]{display:none}[_nghost-%COMP%]   .header[_ngcontent-%COMP%] > header[_ngcontent-%COMP%]{color:#b56}[_nghost-%COMP%]   .header[_ngcontent-%COMP%] > header[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{color:#d9dadc}}[_nghost-%COMP%]   .close-filter-container[_ngcontent-%COMP%]{flex-direction:row-reverse;display:flex}[_nghost-%COMP%]   a.privacy-policy-link[_ngcontent-%COMP%]{padding:0 20px}.preferredLanguageDropdown[_ngcontent-%COMP%]{margin:10px}"]}),e})();function Xm(e,t){1&e&&(r["\u0275\u0275elementStart"](0,"span"),r["\u0275\u0275text"](1,",\xa0"),r["\u0275\u0275elementEnd"]())}function ep(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"span",2),r["\u0275\u0275element"](1,"i",3),r["\u0275\u0275text"](2),r["\u0275\u0275template"](3,Xm,2,0,"span",4),r["\u0275\u0275text"](4),r["\u0275\u0275elementEnd"]()),2&e){const e=r["\u0275\u0275nextContext"]();r["\u0275\u0275advance"](2),r["\u0275\u0275textInterpolate1"](" ",e.job.address.city,""),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",(null==e.job.address?null:e.job.address.city)&&(null==e.job.address?null:e.job.address.state)),r["\u0275\u0275advance"](1),r["\u0275\u0275textInterpolate1"]("",e.job.address.state,"\n")}}function tp(e,t){if(1&e&&(r["\u0275\u0275elementContainerStart"](0),r["\u0275\u0275text"](1),r["\u0275\u0275elementContainerEnd"]()),2&e){const e=r["\u0275\u0275nextContext"](2).$implicit,t=r["\u0275\u0275nextContext"]();r["\u0275\u0275advance"](1),r["\u0275\u0275textInterpolate1"](" ",t.job[null==e?null:e.field]||t.job[e]," ")}}function np(e,t){if(1&e&&(r["\u0275\u0275elementContainerStart"](0),r["\u0275\u0275text"](1),r["\u0275\u0275pipe"](2,"date"),r["\u0275\u0275elementContainerEnd"]()),2&e){const e=r["\u0275\u0275nextContext"](2).$implicit,t=r["\u0275\u0275nextContext"]();r["\u0275\u0275advance"](1),r["\u0275\u0275textInterpolate1"](" ",r["\u0275\u0275pipeBind2"](2,1,t.job[null==e?null:e.field],"mediumDate")," ")}}function rp(e,t){if(1&e&&(r["\u0275\u0275elementContainerStart"](0),r["\u0275\u0275text"](1),r["\u0275\u0275pipe"](2,"date"),r["\u0275\u0275elementContainerEnd"]()),2&e){const e=r["\u0275\u0275nextContext"](2).$implicit,t=r["\u0275\u0275nextContext"]();r["\u0275\u0275advance"](1),r["\u0275\u0275textInterpolate1"](" ",r["\u0275\u0275pipeBind2"](2,1,t.job[null==e?null:e.field],"medium")," ")}}function op(e,t){if(1&e&&(r["\u0275\u0275elementContainerStart"](0),r["\u0275\u0275text"](1),r["\u0275\u0275pipe"](2,"currency"),r["\u0275\u0275elementContainerEnd"]()),2&e){const e=r["\u0275\u0275nextContext"](2).$implicit,t=r["\u0275\u0275nextContext"]();r["\u0275\u0275advance"](1),r["\u0275\u0275textInterpolate1"](" ",r["\u0275\u0275pipeBind2"](2,1,t.job[null==e?null:e.field],"USD")," ")}}function ip(e,t){if(1&e&&(r["\u0275\u0275elementContainerStart"](0),r["\u0275\u0275text"](1),r["\u0275\u0275pipe"](2,"currency"),r["\u0275\u0275elementContainerEnd"]()),2&e){const e=r["\u0275\u0275nextContext"](2).$implicit,t=r["\u0275\u0275nextContext"]();r["\u0275\u0275advance"](1),r["\u0275\u0275textInterpolate1"](" ",r["\u0275\u0275pipeBind2"](2,1,t.job[null==e?null:e.field],"GBP")," ")}}function ap(e,t){if(1&e&&(r["\u0275\u0275elementContainerStart"](0),r["\u0275\u0275text"](1),r["\u0275\u0275pipe"](2,"currency"),r["\u0275\u0275elementContainerEnd"]()),2&e){const e=r["\u0275\u0275nextContext"](2).$implicit,t=r["\u0275\u0275nextContext"]();r["\u0275\u0275advance"](1),r["\u0275\u0275textInterpolate1"](" ",r["\u0275\u0275pipeBind2"](2,1,t.job[null==e?null:e.field],"EUR")," ")}}function sp(e,t){if(1&e&&(r["\u0275\u0275elementContainerStart"](0),r["\u0275\u0275text"](1),r["\u0275\u0275elementContainerEnd"]()),2&e){const e=r["\u0275\u0275nextContext"](2).$implicit,t=r["\u0275\u0275nextContext"]();r["\u0275\u0275advance"](1),r["\u0275\u0275textInterpolate1"](" ",t.job[null==e?null:e.field]||t.job[e]," ")}}function cp(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"span",7),r["\u0275\u0275template"](1,tp,2,1,"ng-container",8),r["\u0275\u0275template"](2,np,3,4,"ng-container",8),r["\u0275\u0275template"](3,rp,3,4,"ng-container",8),r["\u0275\u0275template"](4,op,3,4,"ng-container",8),r["\u0275\u0275template"](5,ip,3,4,"ng-container",8),r["\u0275\u0275template"](6,ap,3,4,"ng-container",8),r["\u0275\u0275template"](7,sp,2,1,"ng-container",9),r["\u0275\u0275elementEnd"]()),2&e){const e=r["\u0275\u0275nextContext"]().$implicit;r["\u0275\u0275attribute"]("data-automation-id","chip-"+(null==e?null:e.field)||!1),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngSwitchCase","string"),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngSwitchCase","mediumDate"),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngSwitchCase","dateTime"),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngSwitchCase","USD"),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngSwitchCase","GBP"),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngSwitchCase","EUR")}}function lp(e,t){if(1&e&&(r["\u0275\u0275elementContainerStart"](0,5),r["\u0275\u0275template"](1,cp,8,7,"span",6),r["\u0275\u0275elementContainerEnd"]()),2&e){const e=t.$implicit,n=r["\u0275\u0275nextContext"]();r["\u0275\u0275property"]("ngSwitch",e.type||"string"),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",n.job[e]||n.job[null==e?null:e.field])}}let up=(()=>
2303{class e{constructor(){this.jobInfoChips=ko.settings.service.jobInfoChips}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=r["\u0275\u0275defineComponent"]({type:e,selectors:[["app-info-chips"]],inputs:{job:"job"},decls:2,vars:2,consts:[["class","chip","data-automation-id","chip-address",4,"ngIf"],[3,"ngSwitch",4,"ngFor","ngForOf"],["data-automation-id","chip-address",1,"chip"],[1,"bhi-location"],[4,"ngIf"],[3,"ngSwitch"],["class","chip",4,"ngIf"],[1,"chip"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"]],template:function(e,t){1&e&&(r["\u0275\u0275template"](0,ep,5,3,"span",0),r["\u0275\u0275template"](1,lp,2,2,"ng-container",1)),2&e&&(r["\u0275\u0275property"]("ngIf",t.job.address.city||t.job.address.state),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngForOf",t.jobInfoChips))},directives:[i.m,i.l,i.o,i.p,i.q],pipes:[i.f,i.d],styles:[".chip[_ngcontent-%COMP%]{color:#0b344f;padding:10px;margin:5px;background-color:#f4f4f4;border-radius:8px;align-self:center}.chip[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{font-size:1em}"],changeDetection:0}),e})();var dp=n("ktc5");let hp=(()=>{class e{transform(e,t){return Object(dp.decode)(e.replace(/<.*?>/g,""))}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=r["\u0275\u0275definePipe"]({name:"stripHtml",type:e,pure:!0}),e})();function mp(e,t){1&e&&r["\u0275\u0275element"](0,"novo-loading")}function pp(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"span",15),r["\u0275\u0275text"](1),r["\u0275\u0275elementEnd"]()),2&e){const e=r["\u0275\u0275nextContext"]().$implicit;r["\u0275\u0275advance"](1),r["\u0275\u0275textInterpolate1"](" ",null==e.publishedCategory?null:e.publishedCategory.name," ")}}function fp(e,t){if(1&e){const e=r["\u0275\u0275getCurrentView"]();r["\u0275\u0275elementStart"](0,"div",10),r["\u0275\u0275listener"]("click",(function(){r["\u0275\u0275restoreView"](e);const n=t.$implicit;return r["\u0275\u0275nextContext"](2).loadJob(n.id)})),r["\u0275\u0275elementStart"](1,"novo-list-item"),r["\u0275\u0275elementStart"](2,"item-header"),r["\u0275\u0275elementStart"](3,"item-title"),r["\u0275\u0275elementStart"](4,"a",11),r["\u0275\u0275text"](5),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementStart"](6,"item-header-end"),r["\u0275\u0275element"](7,"app-info-chips",12),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"](),r["\u0275\u0275template"](8,pp,2,1,"span",13),r["\u0275\u0275elementStart"](9,"span",14),r["\u0275\u0275text"](10),r["\u0275\u0275pipe"](11,"stripHtml"),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"]()}if(2&e){const e=t.$implicit,n=r["\u0275\u0275nextContext"](2);r["\u0275\u0275property"]("routerLink","jobs/"+e.id),r["\u0275\u0275advance"](4),r["\u0275\u0275property"]("href","jobs/"+e.id,r["\u0275\u0275sanitizeUrl"])("routerLink","jobs/"+e.id),r["\u0275\u0275advance"](1),r["\u0275\u0275textInterpolate"](e.title),r["\u0275\u0275advance"](2),r["\u0275\u0275property"]("job",e),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",e.publishedCategory&&n.showCategory),r["\u0275\u0275advance"](2),r["\u0275\u0275textInterpolate1"](" ",r["\u0275\u0275pipeBind1"](11,7,e.publicDescription)," ")}}function gp(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"novo-list",8),r["\u0275\u0275template"](1,fp,12,9,"div",9),r["\u0275\u0275elementEnd"]()),2&e){const e=r["\u0275\u0275nextContext"]();r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngForOf",e.jobs)}}function yp(e,t){if(1&e){const e=r["\u0275\u0275getCurrentView"]();r["\u0275\u0275elementStart"](0,"div",16),r["\u0275\u0275elementStart"](1,"button",17),r["\u0275\u0275listener"]("click",(function(){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"]().loadMore()})),r["\u0275\u0275text"](2,"Load More"),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"]()}}function vp(e,t){1&e&&(r["\u0275\u0275elementStart"](0,"div",18),r["\u0275\u0275element"](1,"i",19),r["\u0275\u0275text"](2),r["\u0275\u0275pipe"](3,"translate"),r["\u0275\u0275elementEnd"]()),2&e&&(r["\u0275\u0275advance"](2),r["\u0275\u0275textInterpolate1"](" ",r["\u0275\u0275pipeBind1"](3,1,"NO_MATCHING_JOBS "),"\n"))}let bp=(()=>{class e{constructor(e,t,n,o,i){this.http=e,this.titleService=t,this.meta=n,this.router=o,this.translate=i,this.sidebarVisible=!1,this.displaySidebar=ne
2303w r.EventEmitter,this.showLoading=new r.EventEmitter,this.showError=new r.EventEmitter,this.jobs=[],this._loading=!0,this.moreAvailable=!0,this.total="...",this.showCategory=ko.settings.service.showCategory,this.start=0}ngOnChanges(e){this.getData()}getData(e=!1){this.start=e?this.start+30:0,this.titleService.setTitle(ko.settings.companyName+" - Careers");let t=this.translate.instant("PAGE_DESCRIPTION");this.meta.updateTag({name:"og:description",content:t}),this.meta.updateTag({name:"twitter:description",content:t}),this.meta.updateTag({name:"description",content:t}),this.http.getjobs(this.filter,{start:this.start}).subscribe(this.onSuccess.bind(this),this.onFailure.bind(this))}loadMore(){this.getData(!0)}openSidebar(){this.displaySidebar.emit(!0)}loadJob(e){this.router.navigate(["jobs/"+e]),this.loading=!0}get loading(){return this._loading}set loading(e){this.showLoading.emit(e),this._loading=e}onSuccess(e){this.jobs=this.start>0?this.jobs.concat(e.data):e.data,this.total=e.total,this.moreAvailable=30===e.count,this.loading=!1}onFailure(e){this.loading=!1,this.jobs=[],this.total=0,this.moreAvailable=!1,this.showError.emit(!0)}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](jm),r["\u0275\u0275directiveInject"](o.Title),r["\u0275\u0275directiveInject"](o.Meta),r["\u0275\u0275directiveInject"](Rn),r["\u0275\u0275directiveInject"](Co))},e.\u0275cmp=r["\u0275\u0275defineComponent"]({type:e,selectors:[["app-job-list"]],inputs:{filter:"filter",filterCount:"filterCount",sidebarVisible:"sidebarVisible"},outputs:{displaySidebar:"displaySidebar",showLoading:"showLoading",showError:"showError"},features:[r["\u0275\u0275NgOnChangesFeature"]],decls:12,vars:11,consts:[[4,"ngIf"],[1,"mobile-filter-container"],["theme","secondary","icon","filter","side","left",3,"click"],[1,"open-positions"],[1,"open-positions-text"],["direction","vertical",4,"ngIf"],["class","load-more-button",4,"ngIf"],["class","empty-list",4,"ngIf"],["direction","vertical"],["class","job-card",3,"routerLink","click",4,"ngFor","ngForOf"],[1,"job-card",3,"routerLink","click"],[3,"href","routerLink"],[3,"job"],["class","category",4,"ngIf"],[1,"description"],[1,"category"],[1,"load-more-button"],["theme","secondary","inverse","",3,"click"],[1,"empty-list"],[1,"bhi-search-question"]],template:function(e,t){1&e&&(r["\u0275\u0275template"](0,mp,1,0,"novo-loading",0),r["\u0275\u0275elementStart"](1,"div",1),r["\u0275\u0275elementStart"](2,"button",2),r["\u0275\u0275listener"]("click",(function(){return t.openSidebar()})),r["\u0275\u0275text"](3),r["\u0275\u0275pipe"](4,"translate"),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementStart"](5,"div",3),r["\u0275\u0275elementStart"](6,"span",4),r["\u0275\u0275text"](7),r["\u0275\u0275pipe"](8,"translate"),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"](),r["\u0275\u0275template"](9,gp,2,1,"novo-list",5),r["\u0275\u0275template"](10,yp,3,0,"div",6),r["\u0275\u0275template"](11,vp,4,3,"div",7)),2&e&&(r["\u0275\u0275property"]("ngIf",t.loading),r["\u0275\u0275advance"](3),r["\u0275\u0275textInterpolate"](r["\u0275\u0275pipeBind1"](4,7,"FILTER")),r["\u0275\u0275advance"](4),r["\u0275\u0275textInterpolate2"]("",r["\u0275\u0275pipeBind1"](8,9,"OPEN_POSITIONS")," (",t.total,")"),r["\u0275\u0275advance"](2),r["\u0275\u0275property"]("ngIf",!t.loading&&t.jobs.length>0),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",!t.loading&&t.moreAvailable),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",!t.loading&&0===t.jobs.length))},directives:[i.m,xu,Fu,Gu,i.l,Mn,qu,Yu,zu,Nn,$u,up],pipes:[wo,hp],styles:["[_nghost-%COMP%]   div.open-positions[_ngcontent-%COMP%]{font-weight:600;font-size:1.5em}[_nghost-%COMP%]   div.mobile-filter-container[_ngcontent-%COMP%], [_nghost-%COMP%]   div.open-positions[_ngcontent-%COMP%]{margin:30px 34px 22px 35px}novo-list[_ngcontent-%COMP%]{overflow:auto;min-height:61.3vh}novo-list[_ngcontent-%COMP%]   .job-card[_ngcontent-%COMP%]{margin:12px 35px;box-shadow:0 0 8px 0 rgba(0,0,0,.1);padding-bottom:10px;cursor:pointer}novo-list[_ngcontent-%COMP%]   .job-card[_ngcontent-%COMP%]   .description[_ngcontent-%COMP%]{display:inline-block;word-wrap:break-word;overflow:hidden;max-height:3.6em;line-height:1.8em;padding:0 15px 15px;width:100%}novo-list[_ngcontent-%COMP%]   .job-card[_ngcontent-%COMP%]   .category[_ngcontent-%COMP%]{padding:0 15px 10px;font-weight:600;display:inline-block;word-wrap:break-word;overflow:hidden}@media only screen and (max-width:768px){novo-list[_ngcontent-%COMP%]   .job-card[_ngcontent-%COMP%]   .category[_ngcontent-%COMP%]{display:none}}novo-list[_ngcontent-%COMP%]   .job-card[_ngcontent-%COMP%]   novo-list-item[_ngcontent-%COMP%]   item-content[_ngcontent-%COMP%]   b[_ngcontent-%COMP%], novo-list[_ngcontent-%COMP%]   .job-card[_ngcontent-%COMP%]   novo-list-item[_ngcontent-%COMP%]   item-content[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:rgba(67,67,67,.65)}novo-list[_ngcontent-%COMP%]   .job-card[_ngcontent-%COMP%]   novo-list-item[_ngcontent-%COMP%]   item-content[_ngcontent-%COMP%]   .bhi-next[_ngcontent-%COMP%]{color:#39d}novo-list[_ngcontent-%COMP%]   .job-card[_ngcontent-%COMP%]   novo-list-item[_ngcontent-%COMP%]   item-header[_ngcontent-%COMP%]   item-title[_ngcontent-%COMP%]{color:#4a89dc}novo-list[_ngcontent-%COMP%]   .job-card[_ngcontent-%COMP%]   novo-list-item[_ngcontent-%COMP%]   item-header-end[_ngcontent-%COMP%]{flex-wrap:wrap;display:block}novo-list[_ngcontent-%COMP%]   .job-card[_ngcontent-%COMP%]   novo-list-item[_ngcontent-%COMP%]   item-header-end[_ngcontent-%COMP%]   .mid-card[_ngcontent-%COMP%]{color:#0b344f;padding:10px;margin-right:5px;background-color:#f4f4f4;border-radius:8px;align-self:center}novo-list[_ngcontent-%COMP%]   .job-card[_ngcontent-%COMP%]   novo-list-item[_ngcontent-%COMP%]   item-header-end[_ngcontent-%COMP%]   .mid-card[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{font-size:1em}@media only screen and (min-width:768px){[_nghost-%COMP%]   .mobile-filter-container[_ngcontent-%COMP%]{display:none}}@media only screen and (max-width:768px){[_nghost-%COMP%]   div.open-positions[_ngcontent-%COMP%]{font-weight:600;font-size:1.5em}[_nghost-%COMP%]   div.mobile-filter-container[_ngcontent-%COMP%], [_nghost-%COMP%]   div.open-positions[_ngcontent-%COMP%]{margin:30px 34px 22px 15px}
2303[_nghost-%COMP%]   div.job-card[_ngcontent-%COMP%]{margin:12px 15px}[_nghost-%COMP%]   div.job-card[_ngcontent-%COMP%]   novo-list-item[_ngcontent-%COMP%]{flex-direction:inherit}[_nghost-%COMP%]   div.job-card[_ngcontent-%COMP%]   novo-list-item[_ngcontent-%COMP%]   item-header-end[_ngcontent-%COMP%]{display:flex}[_nghost-%COMP%]   div.job-card[_ngcontent-%COMP%]   novo-list-item[_ngcontent-%COMP%]   item-header-end[_ngcontent-%COMP%]   .mid-card[_ngcontent-%COMP%]{margin-top:5px}}.empty-list[_ngcontent-%COMP%]{height:200px;display:flex;align-items:center;justify-content:center;color:#999;font-size:1.7em}.empty-list[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{margin-right:15px}.load-more-button[_ngcontent-%COMP%]{padding:10px 0;background-color:#4f5361;text-align:center}"]}),e})();function Cp(e,t){1&e&&r["\u0275\u0275element"](0,"novo-loading")}function wp(e,t){1&e&&(r["\u0275\u0275elementStart"](0,"div",6),r["\u0275\u0275element"](1,"i",7),r["\u0275\u0275elementStart"](2,"span"),r["\u0275\u0275text"](3),r["\u0275\u0275pipe"](4,"translate"),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"]()),2&e&&(r["\u0275\u0275advance"](3),r["\u0275\u0275textInterpolate"](r["\u0275\u0275pipeBind1"](4,1,"ERROR_HAS_OCCURED")))}const Sp=function(e){return{display:e}};let _p=(()=>{class e{constructor(){this.filterCount=1,this.listFilter={},this.displaySidebar=!1,this.loading=!0,this.error=!1,this.sidebarCss={}}onSidebarFilter(e){this.listFilter=e,this.filterCount++}toggleSidebar(e){this.displaySidebar=e,this.sidebarCss=e?{position:"absolute",width:"60%","max-width":"unset"}:{}}handleListLoad(e){this.loading=e}handleError(e){this.error=e}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=r["\u0275\u0275defineComponent"]({type:e,selectors:[["app-main-page"]],decls:6,vars:10,consts:[[4,"ngIf"],["class","error-state",4,"ngIf"],[1,"frame",3,"ngStyle"],[3,"display","ngStyle","newFilter","toggleSidebar"],[1,"list"],[3,"filterCount","filter","sidebarVisible","displaySidebar","showLoading","showError"],[1,"error-state"],[1,"bhi-caution"]],template:function(e,t){1&e&&(r["\u0275\u0275template"](0,Cp,1,0,"novo-loading",0),r["\u0275\u0275template"](1,wp,5,3,"div",1),r["\u0275\u0275elementStart"](2,"div",2),r["\u0275\u0275elementStart"](3,"app-sidebar",3),r["\u0275\u0275listener"]("newFilter",(function(e){return t.onSidebarFilter(e)}))("toggleSidebar",(function(e){return t.toggleSidebar(e)})),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementStart"](4,"div",4),r["\u0275\u0275elementStart"](5,"app-job-list",5),r["\u0275\u0275listener"]("displaySidebar",(function(e){return t.toggleSidebar(e)}))("showLoading",(function(e){return t.handleListLoad(e)}))("showError",(function(e){return t.handleError(e)})),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"]()),2&e&&(r["\u0275\u0275property"]("ngIf",t.loading&&!t.error),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",t.error),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngStyle",r["\u0275\u0275pureFunction1"](8,Sp,t.loading||t.error?"none":"flex")),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("display",t.displaySidebar)("ngStyle",t.sidebarCss),r["\u0275\u0275advance"](2),r["\u0275\u0275property"]("filterCount",t.filterCount)("filter",t.listFilter)("sidebarVisible",t.displaySidebar))},directives:[i.m,i.n,Qm,bp,Fu],pipes:[wo],styles:[".frame[_ngcontent-%COMP%]{display:flex;flex-direction:row}.frame[_ngcontent-%COMP%]   app-sidebar[_ngcontent-%COMP%]{width:30%;flex-grow:0;max-width:300px;min-width:250px;overflow-x:hidden;box-shadow:0 6px 7px 0 rgba(0,0,0,.1)}.frame[_ngcontent-%COMP%]   .list[_ngcontent-%COMP%], .frame[_ngcontent-%COMP%]   app-sidebar[_ngcontent-%COMP%]{height:calc(100vh - 55px);overflow-y:auto}.frame[_ngcontent-%COMP%]   .list[_ngcontent-%COMP%]{width:80%;flex-grow:1000}@media only screen and (min-width:768px){.frame[_ngcontent-%COMP%]   app-sidebar[_ngcontent-%COMP%]{position:unset!important;width:30%!important;max-width:300px!important;box-shadow:unset}}div.error-state[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100%;position:absolute;align-items:center;width:100%;justify-content:center}div.error-state[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{font-size:6em;margin-bottom:.3em}div.error-state[_ngcontent-%COMP%]   i.bhi-caution[_ngcontent-%COMP%]{color:#da4453}div.error-state[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-size:1.4em}"]}),e})();function Ep(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"div",3),r["\u0275\u0275text"](1),r["\u0275\u0275elementEnd"]()),2&e){const e=r["\u0275\u0275nextContext"]();r["\u0275\u0275advance"](1),r["\u0275\u0275textInterpolate"](null==e.job.publishedCategory?null:e.job.publishedCategory.name)}}function kp(e,t){1&e&&(r["\u0275\u0275elementStart"](0,"span"),r["\u0275\u0275text"](1,",\xa0"),r["\u0275\u0275elementEnd"]())}function xp(e,t){1&e&&(r["\u0275\u0275elementStart"](0,"span",10),r["\u0275\u0275text"](1,"|"),r["\u0275\u0275elementEnd"]())}function Ip(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"div",17),r["\u0275\u0275element"](1,"novo-control",18),r["\u0275\u0275elementEnd"]()),2&e){const e=t.$implicit,n=r["\u0275\u0275nextContext"](2);r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("form",n.form)("control",e)}}function Op(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"div",17),r["\u0275\u0275element"](1,"novo-control",18),r["\u0275\u0275elementEnd"]()),2&e){const e=t.$implicit,n=r["\u0275\u0275nextContext"](3);r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("form",n.form)("control",e)}}function Tp(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"div",19),r["\u0275\u0275element"](1,"novo-fieldset-header",20),r["\u0275\u0275pipe"](2,"translate"),r["\u0275\u0275template"](3,Op,2,2,"div",13),r["\u0275\u0275elementEnd"]()),2&e){const e=r["\u0275\u0275nextContext"](2);r["\u0275\u0275advance"](1),r["\u0275\u0275propertyInterpolate"]("title",r["\u0275\u0275pipeBind1"](2,2,"EEOC.EEOC_FORM_DESCRIPTION")),r["\u0275\u0275advance"](2),r["\u0275\u0275property"]("ngForOf",e.eeocControls)}}function Ap(e,t){if(1&e){const e=r["\u0275\u0275getCurrentView"]();r["\u0275\u0275elementStart"](0,"div",21),r["\u0275\u0275element"](1,"novo-control",18),r["\u0275\u0275elementStart"](2,"label",22),r["\u0275\u0275text"](3),r["\u0275\u0275pipe"](4,"translate"),r["\u0275\u0275elementStart"](5,"a",23),r["\u0275\u0275listener"]("click",(function(){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"](2).viewPrivacyPolicy()})),r["\u0275\u0275text"](6),r["\u0275\u0275pipe"](7,"translate"),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"]()}if(2&e){const e=r["\u0275\u0275nextContext"](2);r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("form",e.form)("control",e.consentControl),r["\u0275\u0275advance"](2),r["\u0275\u0275textInterpolate1"]("",r["\u0275\u0275pipeBind1"](4,4,"BY_CHECKING_THIS_BOX")," "),r["\u0275\u0275advance"](3),r["\u0275\u0275textInterpolate"](r["\u0275\u0275pipeBind1"](7,6,"PRIVACY_POLICY"))}}function Pp(e,t){1&e&&(r["\u0275\u0275elementStart"](0,"span",24),r["\u0275\u0275text"](1),r["\u0275\u0275pipe"](2,"translate"),r["\u0275\u0275elementEnd"]()),2&e&&(r["\u0275\u0275advance"](1),r["\u0275\u0275textInterpolate"](r["\u0275\u0275pipeBind1"](2,1,"ERROR_WHILE_APPLYING")))}const Dp=function(e){return{ios:e}};function Rp(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"section",11),r["\u0275\u0275elementStart"](1,"novo-form",12),r["\u0275\u0275template"](2,Ip,2,2,"div",13),r["\u0275\u0275template"](3,Tp,4,4,"div",14),r["\u0275\u0275template"](4,Ap,8,8,"div",15),r["\u0275\u0275elementEnd"](),r["\u0275\u0275template"](5,Pp,3,3,"span",16),r["\u0275\u0275elementEnd"]()),2&e){const e=r["\u0275\u0275nextContext"]();r["\u0275\u0275property"]("ngClass",r["\u0275\u0275pureFunction1"](6,Dp,e.isIos)),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("form",e.form),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngForOf",e.formControls),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",e.eeocControls.length),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",e.consentCheckbox),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",e.hasError)}}let Mp=(()=>{class e{constructor(e,t,n,r,o,i,a,s){this.formUtils=e,this.params=t,this.modalRef=n,this.applyService=r,this.analytics=o,this.toaster=i,this.router=a,this.translate=s,this.loading=!0,this.hasError=!1,this.formControls=[],this.eeocControls=[],this.applying=!1,this.consentCheckbox=ko.settings.privacyConsent.consentCheckbox,this.showCategory=ko.settings.service.showCategory,this.isIos=ko.isIos,this.APPLIED_JOBS_KEY="APP
2303LIED_JOBS_KEY",this.toaster.parentViewContainer=this.params.viewContainer}ngOnInit(){this.job=this.params.job,this.source=this.params.source,this.setupForm()}setupForm(){this.firstName=new Th({key:"firstName",label:this.translate.instant("FIRST_NAME"),required:!0,hidden:!1,value:""}),this.lastName=new Th({key:"lastName",label:this.translate.instant("LAST_NAME"),required:!0,hidden:!1,value:""}),this.email=new Th({key:"email",label:this.translate.instant("EMAIL"),type:"email",required:!0,hidden:!1,value:""}),this.phoneNumber=new Th({key:"phone",label:this.translate.instant("PHONE"),type:"tel",required:!1,hidden:!1,value:""}),this.genderRaceEthnicity=[new Ih({key:"gender",label:this.translate.instant("EEOC.GENDER_LABEL"),required:ko.settings.eeoc.genderRaceEthnicity,hidden:!1,options:[{value:"M",label:this.translate.instant("EEOC.GENDER_MALE")},{value:"F",label:this.translate.instant("EEOC.GENDER_FEMALE")},{value:"D",label:this.translate.instant("EEOC.GENDER_ND")}]}),new kh({key:"ethnicity",label:this.translate.instant("EEOC.RACE_ETHNICITY_LABEL"),required:ko.settings.eeoc.genderRaceEthnicity,hidden:!1,multiple:!0,placeholder:this.translate.instant("EEOC.SELECT_ALL"),config:{options:[{value:"HL",label:this.translate.instant("EEOC.RACE_ETHNICITY_HL")},{value:"WH",label:this.translate.instant("EEOC.RACE_ETHNICITY_WH")},{value:"BL",label:this.translate.instant("EEOC.RACE_ETHNICITY_BL")},{value:"AS",label:this.translate.instant("EEOC.RACE_ETHNICITY_AS")},{value:"NP",label:this.translate.instant("EEOC.RACE_ETHNICITY_NP")},{value:"IA",label:this.translate.instant("EEOC.RACE_ETHNICITY_IA")},{value:"DN",label:this.translate.instant("EEOC.RACE_ETHNICITY_DN")}]}})],this.veteran=[new Ih({key:"veteran",label:this.translate.instant("EEOC.VETERAN_LABEL"),description:this.translate.instant("EEOC.VETERAN_DESCRIPTION"),required:ko.settings.eeoc.veteran,hidden:!1,options:[{value:"P",label:this.translate.instant("EEOC.VETERAN_P")},{value:"V",label:this.translate.instant("EEOC.VETERAN_V")},{value:"N",label:this.translate.instant("EEOC.VETERAN_N")},{value:"D",label:this.translate.instant("EEOC.VETERAN_D")}]})],this.disability=[new Ih({key:"disability",label:this.translate.instant("EEOC.DISABILITY_LABEL"),description:this.translate.instant("EEOC.DISABILITY_DESCRIPTION"),required:ko.settings.eeoc.disability,hidden:!1,options:[{value:"Y",label:this.translate.instant("EEOC.DISABILITY_Y")},{value:"N",label:this.translate.instant("EEOC.DISABILITY_N")},{value:"D",label:this.translate.instant("EEOC.DISABILITY_D")}]})],this.resume=new Eh({key:"resume",required:!0,hidden:!1,description:`${this.translate.instant("ACCEPTED_RESUME")} ${ko.settings.acceptedResumeTypes.toString()}`}),this.formControls=[this.firstName,this.lastName,this.email,this.phoneNumber,this.resume];let e=ko.settings.eeoc;for(let t in e)e[t]&&this.eeocControls.push(...this[t]);this.consentControl=new Ch({key:"consent",required:ko.settings.privacyConsent.consentCheckbox,hidden:!1,interactions:[{event:"change",script:e=>{e.getValue("consent")||e.markAsInvalid("consent")}}]}),this.form=this.formUtils.toFormGroup([...this.formControls,...this.eeocControls,this.consentControl]),this.loading=!1}close(e=!1){this.analytics.trackEvent(e?"Success applying to job "+this.job.id:"Close apply form without applying for job "+this.job.id),this.modalRef.close(void 0)}save(){if(this.form.valid){this.applying=!0,this.analytics.trackEvent("Apply to Job: "+this.job.id);let e={firstName:encodeURIComponent(this.form.value.firstName),lastName:encodeURIComponent(this.form.value.lastName),email:encodeURIComponent(this.form.value.email),phone:encodeURIComponent(this.form.value.phone||""),format:this.form.value.resume[0].name.substring(this.form.value.resume[0].name.lastIndexOf(".")+1)};this.form.value.gender&&(e.gender=encodeURIComponent(this.form.value.gender)),this.form.value.ethnicity&&(e.ethnicity=encodeURIComponent(this.form.value.ethnicity)),this.form.value.veteran&&(e.veteran=encodeURIComponent(this.form.value.veteran)),this.form.value.disability&&(e.disability=encodeURIComponent(this.form.value.disability)),this.source&&(e.source=this.source);let t=new FormData;t.append("resume",this.form.value.resume[0].file),this.applyService.apply(this.job.id,e,t).subscribe(this.applyOnSuccess.bind(this),this.applyOnFailure.bind(this))}}viewPrivacyPolicy(){const e=ko.settings.privacyConsent.privacyPolicyUrl;"/privacy"===e?this.router.navigate([e]):window.open(e)}applyOnSuccess(e){let t={theme:"success",icon:"check",title:this.translate.instant("THANK_YOU"),message:this.translate.instant("YOU_WILL_BE_CONTACTED"),position:"growlTopRight",hideDelay:3e3};this.toaster.alert(t);let n=sessionStorage.getItem(this.APPLIED_JOBS_KEY);if(n){let e=JSON.parse(n);e.push(this.job.id),sessionStorage.setItem(this.APPLIED_JOBS_KEY,JSON.stringify(e))}else sessionStorage.setItem(this.APPLIED_JOBS_KEY,JSON.stringify([this.job.id]));this.applying=!1,this.close(!0)}applyOnFailure(e){this.hasError=!0,this.applying=!1}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](jh),r["\u0275\u0275directiveInject"](Fh),r["\u0275\u0275directiveInject"](Lh),r["\u0275\u0275directiveInject"](Lm),r["\u0275\u0275directiveInject"](Nm),r["\u0275\u0275directiveInject"](ih),r["\u0275\u0275directiveInject"](Rn),r["\u0275\u0275directiveInject"](Co))},e.\u0275cmp=r["\u0275\u0275defineComponent"]({type:e,selectors:[["app-apply-modal"]],decls:19,vars:16,consts:[["theme","neutral",1,"apply-modal-header",3,"title"],["icon","times",3,"click"],["class","job-details",4,"ngIf"],[1,"job-details"],[4,"ngIf"],["class","separator",4,"ngIf"],[1,"type"],[3,"ngClass",4,"ngIf"],["theme","standard","data-automation-id","create-modal-cancel",3,"click"],["theme","primary","icon","check","data-automation-id","apply-modal-save",3,"disabled","loading","click"],[1,"separator"],[3,"ngClass"],["layout","vertical",3,"form"],["class","novo-form-row",4,"ngFor","ngForOf"],["class","eeoc-form",4,"ngIf"],["class","consent-form novo-form-row",4,"ngIf"],["class","error",4,"ngIf"],[1,"novo-form-row"],[3,"form","control"],[1,"eeoc-form"],[3,"title"],[1,"consent-form","novo-form-row"],[1,"consent-checkbox-label"],[3,"click"],[1,"error"]],template:function(e,t){1&e&&(r["\u0275\u0275elementStart"](0,"novo-modal"),r["\u0275\u0275elementStart"](1,"header",0),r["\u0275\u0275elementStart"](2,"utils"),r["\u0275\u0275elementStart"](3,"util-action",1),r["\u0275\u0275listener"]("click",(function(){return t.close()})),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"](),r["\u0275\u0275template"](4,Ep,2,1,"div",2),r["\u0275\u0275elementStart"](5,"div",3),r["\u0275\u0275text"](6),r["\u0275\u0275template"](7,kp,2,0,"span",4),r["\u0275\u0275text"](8),r["\u0275\u0275template"](9,xp,2,0,"span",5),r["\u0275\u0275elementStart"](10,"span",6),r["\u0275\u0275text"](11),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"](),r["\u0275\u0275template"](12,R
2303p,6,8,"section",7),r["\u0275\u0275elementStart"](13,"button",8),r["\u0275\u0275listener"]("click",(function(){return t.close()})),r["\u0275\u0275text"](14),r["\u0275\u0275pipe"](15,"translate"),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementStart"](16,"button",9),r["\u0275\u0275listener"]("click",(function(){return t.save()})),r["\u0275\u0275text"](17),r["\u0275\u0275pipe"](18,"translate"),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"]()),2&e&&(r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("title",t.job.title),r["\u0275\u0275advance"](3),r["\u0275\u0275property"]("ngIf",t.job.publishedCategory&&t.showCategory),r["\u0275\u0275advance"](2),r["\u0275\u0275textInterpolate"](t.job.address.city),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",(null==t.job.address?null:t.job.address.city)&&(null==t.job.address?null:t.job.address.state)),r["\u0275\u0275advance"](1),r["\u0275\u0275textInterpolate1"]("",t.job.address.state," "),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",((null==t.job.address?null:t.job.address.city)||(null==t.job.address?null:t.job.address.state))&&t.job.employmentType),r["\u0275\u0275advance"](2),r["\u0275\u0275textInterpolate"](t.job.employmentType),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",!t.loading),r["\u0275\u0275advance"](2),r["\u0275\u0275textInterpolate"](r["\u0275\u0275pipeBind1"](15,12,"CANCEL")),r["\u0275\u0275advance"](2),r["\u0275\u0275property"]("disabled",!t.form.valid)("loading",t.applying),r["\u0275\u0275advance"](1),r["\u0275\u0275textInterpolate1"](" ",r["\u0275\u0275pipeBind1"](18,14,"APPLY")," "))},directives:[Bh,cm,am,sm,i.m,xu,i.k,Qh,i.l,Wh,Jh],pipes:[wo],styles:["[_nghost-%COMP%]{min-width:600px}[_nghost-%COMP%]   .job-details[_ngcontent-%COMP%]{padding:0 0 5px 15px}[_nghost-%COMP%]   .job-details[_ngcontent-%COMP%]   .separator[_ng
2303content-%COMP%]{padding:0 5px}[_nghost-%COMP%]   novo-form[_ngcontent-%COMP%]{padding:10px 0}[_nghost-%COMP%]   novo-form[_ngcontent-%COMP%]   .eeoc-form[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{padding-bottom:10px}[_nghost-%COMP%]   span.error[_ngcontent-%COMP%]{color:#da4453;font-weight:800}@media (max-height:700px),only screen and (max-width:768px){[_nghost-%COMP%]{max-width:100vw;min-width:unset;align-self:start}[_nghost-%COMP%]   novo-form[_ngcontent-%COMP%]{max-height:calc(100vh - 113px)}[_nghost-%COMP%]   section[_ngcontent-%COMP%]{height:calc(100vh - 230px);width:100vw}[_nghost-%COMP%]   section.ios[_ngcontent-%COMP%]{max-height:calc(100vh - (230px + 150px))}}"]}),e})(),Np=(()=>{class e{constructor(e,t){this.params=e,this.modalRef=t}ngOnInit(){}close(){this.modalRef.close()}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](Fh),r["\u0275\u0275directiveInject"](Lh))},e.\u0275cmp=r["\u0275\u0275defineComponent"]({type:e,selectors:[["error-modal"]],decls:8,vars:5,consts:[["type","error","data-automation-id","error-modal"],["theme","primary","data-automation-id","error-modal-confirm","icon","check",3,"click"]],template:function(e,t){1&e&&(r["\u0275\u0275elementStart"](0,"novo-notification",0),r["\u0275\u0275elementStart"](1,"h1"),r["\u0275\u0275text"](2),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementStart"](3,"h2"),r["\u0275\u0275text"](4),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementStart"](5,"button",1),r["\u0275\u0275listener"]("click",(function(){return t.close()})),r["\u0275\u0275text"](6),r["\u0275\u0275pipe"](7,"translate"),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"]()),2&e&&(r["\u0275\u0275advance"](2),r["\u0275\u0275textInterpolate"](t.params.title),r["\u0275\u0275advance"](2),r["\u0275\u0275textInterpolate"](t.params.message),r["\u0275\u0275advance"](2),r["\u0275\u0275textInterpolate"](r["\u0275\u0275pipeBind1"](7,3,"OKAY")))},directives:[Uh,xu],pipes:[wo],styles:[""]}),e})(),jp=(()=>{class e{constructor(e,t,n,r){this._renderer2=e,this.datePipe=t,this._document=n,this.sanitizer=r}ngOnChanges(){let e={"@context":"https://schema.org/","@type":"JobPosting",title:this.jobData.title,description:this.jobData.publicDescription,datePosted:this.datePipe.transform(this.jobData.dateLastPublished,"long"),hiringOrganization:{"@type":"Organization",name:ko.settings.companyName,sameAs:ko.settings.companyUrl,logo:ko.settings.companyLogoPath},jobLocation:{"@type":"Place",address:{"@type":"PostalAddress",addressLocality:this.jobData.address.city,addressRegion:this.jobData.address.state,postalCode:this.jobData.address.zip}},baseSalary:{"@type":"MonetaryAmount",value:{"@type":"QuantitativeValue",value:this.jobData.salary,unitText:this.jobData.salaryUnit}}},t=this._renderer2.createElement("script");t.type="application/ld+json",t.text=JSON.stringify(e),ko.isServer&&this._renderer2.appendChild(this._document.body,t)}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](r.Renderer2),r["\u0275\u0275directiveInject"](i.f),r["\u0275\u0275directiveInject"](i.e),r["\u0275\u0275directiveInject"](o.DomSanitizer))},e.\u0275cmp=r["\u0275\u0275defineComponent"]({type:e,selectors:[["app-structured-seo"]],hostVars:1,hostBindings:function(e,t){2&e&&r["\u0275\u0275hostProperty"]("innerHTML",t.html,r["\u0275\u0275sanitizeHtml"])},inputs:{jobData:"jobData"},features:[r["\u0275\u0275NgOnChangesFeature"]],decls:0,vars:0,template:function(e,t){},styles:["[_nghost-%COMP%]{display:none}"]}),e})();function Fp(e,t){1&e&&r["\u0275\u0275element"](0,"novo-loading")}function Lp(e,t){if(1&e&&r["\u0275\u0275element"](0,"app-structured-seo",3),2&e){const e=r["\u0275\u0275nextContext"]();r["\u0275\u0275property"]("jobData",e.job)}}function Vp(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"span",22),r["\u0275\u0275text"](1),r["\u0275\u0275elementEnd"]()),2&e){const e=r["\u0275\u0275nextContext"](2);r["\u0275\u0275advance"](1),r["\u0275\u0275textInterpolate1"](" ",null==e.job.publishedCategory?null:e.job.publishedCategory.name," ")}}function Bp(e,t){if(1&e){const e=r["\u0275\u0275getCurrentView"]();r["\u0275\u0275elementStart"](0,"button",23),r["\u0275\u0275listener"]("click",(function(){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"](2).apply()})),r["\u0275\u0275text"](1),r["\u0275\u0275pipe"](2,"translate"),r["\u0275\u0275elementEnd"]()}2&e&&(r["\u0275\u0275advance"](1),r["\u0275\u0275textInterpolate"](r["\u0275\u0275pipeBind1"](2,1,"APPLY_NOW")))}function Up(e,t){1&e&&(r["\u0275\u0275elementStart"](0,"button",24),r["\u0275\u0275text"](1),r["\u0275\u0275pipe"](2,"translate"),r["\u0275\u0275elementEnd"]()),2&e&&(r["\u0275\u0275advance"](1),r["\u0275\u0275textInterpolate"](r["\u0275\u0275pipeBind1"](2,1,"ALREADY_APPLIED")))}function Hp(e,t){if(1&e){const e=r["\u0275\u0275getCurrentView"]();r["\u0275\u0275elementStart"](0,"button",25),r["\u0275\u0275listener"]("click",(function(){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"](2).emailLink()})),r["\u0275\u0275elementEnd"]()}}function Gp(e,t){if(1&e){const e=r["\u0275\u0275getCurrentView"]();r["\u0275\u0275elementStart"](0,"button",26),r["\u0275\u0275listener"]("click",(function(){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"](2).shareTwitter()})),r["\u0275\u0275elementEnd"]()}}function qp(e,t){if(1&e){const e=r["\u0275\u0275getCurrentView"]();r["\u0275\u0275elementStart"](0,"button",27),r["\u0275\u0275listener"]("click",(function(){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"](2).shareFacebook()})),r["\u0275\u0275elementEnd"]()}}function Kp(e,t){if(1&e){const e=r["\u0275\u0275getCurrentView"]();r["\u0275\u0275elementStart"](0,"button",28),r["\u0275\u0275listener"]("click",(function(){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"](2).shareLinkedin()})),r["\u0275\u0275elementEnd"]()}}function zp(e,t){if(1&e){const e=r["\u0275\u0275getCurrentView"]();r["\u0275\u0275elementStart"](0,"button",29),r["\u0275\u0275listener"]("click",(function(){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"](2).toggleShareButtons()})),r["\u0275\u0275text"](1),r["\u0275\u0275pipe"](2,"translate"),r["\u0275\u0275elementEnd"]()}2&e&&(r["\u0275\u0275advance"](1),r["\u0275\u0275textInterpolate"](r["\u0275\u0275pipeBind1"](2,1,"SHARE_POST")))}const Yp=function(e){return{"safari-scroll":e}};function $p(e,t){if(1&e){const e=r["\u0275\u0275getCurrentView"]();r["\u0275\u0275elementStart"](0,"div",4),r["\u0275\u0275elementStart"](1,"div",5),r["\u0275\u0275elementStart"](2,"button",6),r["\u0275\u0275listener"]("click",(function(){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"]().goToJobList(
2303)})),r["\u0275\u0275text"](3),r["\u0275\u0275pipe"](4,"translate"),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementStart"](5,"div",7),r["\u0275\u0275elementStart"](6,"span",8),r["\u0275\u0275text"](7),r["\u0275\u0275elementEnd"](),r["\u0275\u0275element"](8,"br"),r["\u0275\u0275template"](9,Vp,2,1,"span",9),r["\u0275\u0275elementStart"](10,"div",10),r["\u0275\u0275element"](11,"app-info-chips",11),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"](),r["\u0275\u0275element"](12,"div",12),r["\u0275\u0275elementStart"](13,"div",13),r["\u0275\u0275template"](14,Bp,3,3,"button",14),r["\u0275\u0275template"](15,Up,3,3,"button",15),r["\u0275\u0275template"](16,Hp,1,0,"button",16),r["\u0275\u0275template"](17,Gp,1,0,"button",17),r["\u0275\u0275template"](18,qp,1,0,"button",18),r["\u0275\u0275template"](19,Kp,1,0,"button",19),r["\u0275\u0275template"](20,zp,3,3,"button",20),r["\u0275\u0275elementStart"](21,"button",21),r["\u0275\u0275listener"]("click",(function(){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"]().print()})),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"]()}if(2&e){const e=r["\u0275\u0275nextContext"]();r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngClass",r["\u0275\u0275pureFunction1"](15,Yp,e.isSafariAgent)),r["\u0275\u0275advance"](2),r["\u0275\u0275textInterpolate"](r["\u0275\u0275pipeBind1"](4,13,"BACK")),r["\u0275\u0275advance"](4),r["\u0275\u0275textInterpolate"](e.job.title),r["\u0275\u0275advance"](2),r["\u0275\u0275property"]("ngIf",e.job.publishedCategory&&e.showCategory),r["\u0275\u0275advance"](2),r["\u0275\u0275property"]("job",e.job),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("innerHTML",e.job.publicDescription,r["\u0275\u0275sanitizeHtml"]),r["\u0275\u0275advance"](2),r["\u0275\u0275property"]("ngIf",!e.alreadyApplied),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",e.alreadyApplied),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",e.showShareButtons),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",e.showShareButtons),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",e.showShareButtons),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",e.showShareButtons),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",!e.showShareButtons)}}function Wp(e,t){if(1&e&&r["\u0275\u0275element"](0,"div",2),2&e){const e=r["\u0275\u0275nextContext"]();r["\u0275\u0275property"]("innerHTML",e.data,r["\u0275\u0275sanitizeHtml"])}}function Zp(e,t){1&e&&r["\u0275\u0275element"](0,"novo-loading")}const Jp=[{path:"",component:_p},{path:"jobs/:id",component:(()=>{class e{constructor(e,t,n,r,o,i,a,s,c,l,u){this.service=e,this.shareService=t,this.route=n,this.router=r,this.analytics=o,this.modalService=i,this.viewContainerRef=a,this.titleService=s,this.meta=c,this.serverResponse=l,this.translate=u,this.loading=!0,this.showShareButtons=!1,this.alreadyApplied=!1,this.showCategory=ko.settings.service.showCategory,this.isSafariAgent=!1,this.APPLIED_JOBS_KEY="APP
2303LIED_JOBS_KEY",this.modalService.parentViewContainer=this.viewContainerRef}ngOnInit(){ko.isServer||(this.isSafariAgent=-1!==navigator.userAgent.indexOf("Safari")&&-1===navigator.userAgent.indexOf("Chrome")),this.loading=!0,this.id=this.route.snapshot.paramMap.get("id"),this.source=this.route.snapshot.queryParams.source,this.analytics.trackEvent("Open Job: "+this.id),this.checkSessionStorage(),this.setJob()}checkSessionStorage(){if(!ko.isServer){let e=sessionStorage.getItem(this.APPLIED_JOBS_KEY);if(e){let t=JSON.parse(e);this.alreadyApplied=-1!==t.indexOf(parseInt(this.id))}}}getRelatedJobs(){this.job&&this.job.publishedCategory&&this.service.getjobs({"publishedCategory.id":[this.job.publishedCategory.id]},{},ko.settings.service.batchSize).subscribe(e=>{this.relatedJobs=e.data})}apply(){this.analytics.trackEvent("Open Apply Form "+this.job.id),this.modalService.open(Mp,{job:this.job,source:this.source,viewContainer:this.viewContainerRef}).onClosed.then(this.checkSessionStorage.bind(this))}toggleShareButtons(){this.showShareButtons=!this.showShareButtons}shareFacebook(){this.shareService.facebook(this.job),this.analytics.trackEvent(`Shared Job: ${this.id} via Facebook`)}shareTwitter(){this.shareService.twitter(this.job),this.analytics.trackEvent(`Shared Job: ${this.id} via Twitter`)}shareLinkedin(){this.shareService.linkedin(this.job),this.analytics.trackEvent(`Shared Job: ${this.id} via LinkedIn`)}emailLink(){window.open(this.shareService.emailLink(this.job)),this.analytics.trackEvent(`Shared Job: ${this.id} via Email`)}print(){window.print()}goToJobList(){this.router.navigate(["/"])}setJob(){let e=this.route.snapshot.data.message;e.data&&e.data.length>0?(this.job=e.data[0],this.titleService.setTitle(this.job.title),this.meta.updateTag({name:"og:title",content:this.job.title}),this.meta.updateTag({name:"titter:title",content:this.job.title}),this.meta.updateTag({name:"og:image",content:ko.settings.companyLogoPath}),this.meta.updateTag({name:"og:url",content:`${ko.urlRoot}${this.router.url}`}),this.meta.updateTag({name:"og:description",content:this.job.publicDescription}),this.meta.updateTag({name:"twitter:description",content:this.job.publicDescription}),this.meta.updateTag({name:"description",content:this.job.publicDescription}),this.loading=!1):(this.serverResponse.setNotFound(),this.modalService.open(Np,{title:this.translate.instant("ERROR"),message:this.translate.instant("MISSING_JOB_ERROR")}).onClosed.then(this.goToJobList.bind(this)))}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](jm),r["\u0275\u0275directiveInject"](Fm),r["\u0275\u0275directiveInject"](yt),r["\u0275\u0275directiveInject"](Rn),r["\u0275\u0275directiveInject"](Nm),r["\u0275\u0275directiveInject"](Hh),r["\u0275\u0275directiveInject"](r.ViewContainerRef),r["\u0275\u0275directiveInject"](o.Title),r["\u0275\u0275directiveInject"](o.Meta),r["\u0275\u0275directiveInject"](Bm),r["\u0275\u0275directiveInject"](Co))},e.\u0275cmp=r["\u0275\u0275defineComponent"]({type:e,selectors:[["app-job-details"]],decls:3,vars:3,consts:[[4,"ngIf"],[3,"jobData",4,"ngIf"],["class","background",4,"ngIf"],[3,"jobData"],[1,"background"],[1,"job-container",3,"ngClass"],["theme","dialogue","icon","previous","side","left","data-automation-id","back-button",3,"click"],[1,"job-header"],[1,"job-title"],["class","category",4,"ngIf"],[1,"job-info-container"],[3,"job"],[1,"job-description-text",3,"innerHTML"],[1,"share"],["theme","primary","data-automation-id","apply-button",3,"click",4,"ngIf"],["theme","primary","disabled","true","data-automation-id","applied-button",4,"ngIf"],["theme","icon","icon","email",3,"click",4,"ngIf"],["theme","icon","icon","twitter",3,"click",4,"ngIf"],["theme","icon","icon","facebook",3,"click",4,"ngIf"],["theme","icon","icon","linkedin",3,"click",4,"ngIf"],["theme","dialogue","icon","share",3,"click",4,"ngIf"],["theme","icon","icon","print",3,"click"],[1,"category"],["theme","primary","data-automation-id","apply-button",3,"click"],["theme","primary","disabled","true","data-automation-id","applied-button"],["theme","icon","icon","email",3,"click"],["theme","icon","icon","twitter",3,"click"],["theme","icon","icon","facebook",3,"click"],["theme","icon","icon","linkedin",3,"click"],["theme","dialogue","icon","share",3,"click"]],template:function(e,t){1&e&&(r["\u0275\u0275template"](0,Fp,1,0,"novo-loading",0),r["\u0275\u0275template"](1,Lp,1,1,"app-structured-seo",1),r["\u0275\u0275template"](2,$p,22,17,"div",2)),2&e&&(r["\u0275\u0275property"]("ngIf",t.loading),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",!t.loading),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",!t.loading))},directives:[i.m,Fu,jp,i.k,xu,up],pipes:[wo],styles:[".background[_ngcontent-%COMP%]{overflow-x:hidden;background-color:#f4f4f4;max-height:calc(100vh - 55px);height:calc(100vh - 55px)}.background[_ngcontent-%COMP%]   .job-container[_ngcontent-%COMP%]{margin:0 10%;padding:5%;background-color:#fff}.background[_ngcontent-%COMP%]   .job-container.safari-scroll[_ngcontent-%COMP%]{height:100%;overflow-y:scroll;-webkit-overflow-scrolling:touch}.background[_ngcontent-%COMP%]   .job-container[_ngcontent-%COMP%] > button[theme=dialogue][_ngcontent-%COMP%]{margin:-10px -15px 20px}.background[_ngcontent-%COMP%]   .job-container[_ngcontent-%COMP%]   .job-description-text[_ngcontent-%COMP%]{word-break:break-word}.background[_ngcontent-%COMP%]   .job-container[_ngcontent-%COMP%]   .job-header[_ngcontent-%COMP%]   div.j
2303ob-info-container[_ngcontent-%COMP%]{margin:30px 0;display:flex;width:100%;flex-wrap:wrap}.background[_ngcontent-%COMP%]   .job-container[_ngcontent-%COMP%]   .job-header[_ngcontent-%COMP%]   .job-title[_ngcontent-%COMP%]{font-size:2em;font-weight:600}.background[_ngcontent-%COMP%]   .job-container[_ngcontent-%COMP%]   .share[_ngcontent-%COMP%]{display:flex;margin-top:50px;margin-bottom:100px}.background[_ngcontent-%COMP%]   .job-container[_ngcontent-%COMP%]   .share[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{margin-right:20px}.background[_ngcontent-%COMP%]   .job-container[_ngcontent-%COMP%]   .category[_ngcontent-%COMP%]{font-weight:600;display:inline-block;font-size:1.3em;word-wrap:break-word;overflow:hidden;color:#4a89dc;padding-top:15px}@media only screen and (max-width:768px){[_nghost-%COMP%]   .background[_ngcontent-%COMP%] > .job-container[_ngcontent-%COMP%]{margin:0}}novo-loading[_ngcontent-%COMP%]{padding:20px;font-size:13px;display:flex;flex-direction:column;height:100%;position:absolute;align-items:center;width:100%;justify-content:center}"]}),e})(),resolve:{message:Um}},{path:"jobs",component:_p},{path:"privacy",component:(()=>{class e{constructor(e,t){this.http=e,this.domSanitize=t,this.loading=!0}ngOnInit(){this.http.get("./static/privacy-policy.html",{responseType:"text"}).subscribe(this.handlePolicyOnSuccess.bind(this))}handlePolicyOnSuccess(e){this.data=this.domSanitize.bypassSecurityTrustHtml(e),this.loading=!1}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](Sr),r["\u0275\u0275directiveInject"](o.DomSanitizer))},e.\u0275cmp=r["\u0275\u0275defineComponent"]({type:e,selectors:[["app-privacy-policy"]],decls:2,vars:2,consts:[[3,"innerHTML",4,"ngIf"],[4,"ngIf"],[3,"innerHTML"]],template:function(e,t){1&e&&(r["\u0275\u0275template"](0,Wp,1,1,"div",0),r["\u0275\u0275template"](1,Zp,1,0,"novo-loading",1)),2&e&&(r["\u0275\u0275property"]("ngIf",!t.loading),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",t.loading))},directives:[i.m,Fu],styles:["novo-loading[_ngcontent-%COMP%]{padding:20px;font-size:13px;display:flex;height:100%;position:absolute;align-items:center;width:100%;justify-content:center}"]}),e})()},{path:"**",redirectTo:"/"}];let Qp=(()=>{class e{}return e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},imports:[[Yn.forRoot(Jp,{enableTracing:!1,useHash:!0,initialNavigation:"enabled"})],Yn]}),e})();function Xp(e){return()=>e.load()}let ef=(()=>{class e{}return e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e,bootstrap:[Mm]}),e.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},providers:[{provide:r.APP_INITIALIZER,useFactory:Xp,deps:[ko],multi:!0},ko,jm,Fm,zh,Hh,ih,Lm,Nm,i.f,Um,Bm],imports:[[o.BrowserModule.withServerTransition({appId:"serverApp"}),Qp,Fr,Rm,Zu,lm,o.BrowserTransferStateModule,hm,Ui.FormsModule,Od,Iu,So.forRoot({loader:{provide:eo,useClass:Gm}})]]}),e})();Object(r.enableProdMode)(),document.addEventListener("DOMContentLoaded",()=>{o.platformBrowser().bootstrapModule(ef).catch(e=>{console.log(e);const t=document.querySelector("novo-loading");let n="Application initialization failed, please check your app.json file";e&&(n=e.message?n+": "+e.message:n+": "+e),t.textContent=n})})},zj0I:function(e,t,n){var r=n("yNUO");e.exports=function(e){var t=r(e),n=t.getMonth();return t.setMonth(n-n%3+3,0),t.setHours(0,0,0,0),t}},zx2A:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return c}));var r=n("7o/Q"),o=n("HDdC"),i=n("SeVD");class a extends r.a{constructor(e){super(),this.parent=e}_next(e){this.parent.notifyNext(e)}_error(e){this.parent.notifyError(e),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class s extends r.a{notifyNext(e){this.destination.next(e)}notifyError(e){this.destination.error(e)}notifyComplete(){this.destination.complete()}}function c(e,t){if(t.closed)return;if(e instanceof o.a)return e.subscribe(t);let n;try{n=Object(i.a)(e)(t)}catch(r){t.error(r)}return n}}},[[0,0]]]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.